smppjs
Version:
Modern approach to smpp protocol.
17 lines • 1.03 kB
TypeScript
/// <reference types="node" />
import { DTOFunction, BindTransceiverFunction, BindTransceiverRespFunction, SubmitSmFunction, EnquireLinkFunction, DataSmFunction, QuerySmFunction, CancelSmFunction, ReplaceSmFunction, DeliverSmFunction, DeliverSmRespFunction } from '../types';
declare const getDTO: <T extends BindTransceiverFunction | BindTransceiverRespFunction | SubmitSmFunction | EnquireLinkFunction | DTOFunction<unknown, {
command: Record<string, {
type: "Cstring" | "Int8";
value: string | number | Buffer;
encode?: import("../types").Encode | undefined;
setLength?: boolean | undefined;
}>;
tlvs?: Record<string, {
type: "Cstring" | "Int8";
value: string | number | Buffer | undefined;
encode?: import("../types").Encode | undefined;
}> | undefined;
}> | DataSmFunction | QuerySmFunction | CancelSmFunction | ReplaceSmFunction | DeliverSmFunction | DeliverSmRespFunction>(name: string) => T;
export { getDTO };
//# sourceMappingURL=index.d.ts.map