smppjs
Version:
Modern approach to smpp protocol.
46 lines • 1.29 kB
TypeScript
import { DTO, DTOFunction, InterfaceVersion, SystemType } from '../index';
export interface BindReceiver extends DTO {
command: {
system_id: {
type: 'Cstring';
value: string;
};
password: {
type: 'Cstring';
value: string;
};
system_type: {
type: 'Cstring';
value: SystemType | (string & {});
};
interface_version: {
type: 'Int8';
value: InterfaceVersion;
};
addr_ton: {
type: 'Int8';
value: number;
};
addr_npi: {
type: 'Int8';
value: number;
};
address_range: {
type: 'Cstring';
value: string;
};
};
}
export type BindReceiverParams = {
systemId: string;
password: string;
systemType?: SystemType | (string & {});
interfaceVersion?: InterfaceVersion;
addrTon?: number;
addrNpi?: number;
addressRange?: string;
};
export interface BindReceiverFunction extends DTOFunction<BindReceiverParams, BindReceiver> {
({ systemId, password, systemType, interfaceVersion, addrTon, addrNpi, addressRange }: BindReceiverParams): BindReceiver;
}
//# sourceMappingURL=bind_receiver.d.ts.map