smppjs
Version:
Modern approach to smpp protocol.
46 lines • 1.3 kB
TypeScript
import { DTO, DTOFunction, InterfaceVersion, SystemType } from '../index';
export interface BindTransceiver 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 BindTransceiverParams = {
systemId: string;
password: string;
systemType?: SystemType | (string & {});
interfaceVersion?: InterfaceVersion;
addrTon?: number;
addrNpi?: number;
addressRange?: string;
};
export interface BindTransceiverFunction extends DTOFunction<BindTransceiverParams, BindTransceiver> {
({ systemId, password, interfaceVersion, systemType, addressRange }: BindTransceiverParams): BindTransceiver;
}
//# sourceMappingURL=bind_transceiver.d.ts.map