83176f53b0
* Regression tests for the messaging mode on sendSms() * Let sendSms() name the esm_class messaging mode * Document the messaging mode option and the decision behind it * Name the constants move for migrating consumers and share the refusal's value naming * Cover the messaging-mode refusals through submitSms() * Refuse transaction mode and a report under datagram mode on sendSms() * Narrow the mode checker and name the default mode once
75 lines
2.5 KiB
TypeScript
75 lines
2.5 KiB
TypeScript
export { client } from './client.ts';
|
|
export { server, SmppServer } from './server.ts';
|
|
export { Session } from './session.ts';
|
|
|
|
export { cmds, cmdsById, commandNameById, isCommandName } from './defs/commands.ts';
|
|
export { consts, constsById } from './defs/constants.ts';
|
|
export { detect, encodingByDataCoding, encodings } from './defs/encodings.ts';
|
|
export { errorNameById, errors, errorsById, isErrorName } from './defs/errors.ts';
|
|
export { tlvs, tlvsById } from './defs/tlvs.ts';
|
|
export { types } from './defs/types.ts';
|
|
|
|
export {
|
|
isCommand,
|
|
isResp,
|
|
maxSeqNr,
|
|
objToPdu,
|
|
pduReturn,
|
|
pduToObj,
|
|
} from './pdu.ts';
|
|
|
|
export { maxPduLength, PduRefusedError } from './pdu-refusal.ts';
|
|
|
|
export {
|
|
bitCount,
|
|
decodeMessage,
|
|
encodeMessage,
|
|
smppDate,
|
|
smppTime,
|
|
splitMessage,
|
|
} from './message.ts';
|
|
|
|
export { dlrFromPdu, parseReceipt, receiptCodes } from './dlr.ts';
|
|
export { messageOctets } from './message-body.ts';
|
|
export { concatOf } from './concat.ts';
|
|
export { concatInfo } from './udh.ts';
|
|
export { PduFramer } from './pdu-framer.ts';
|
|
export { uuidv7 } from './uuid.ts';
|
|
|
|
export type { BindType, ClientOptions } from './client.ts';
|
|
export type { Dlr, Receipt } from './dlr.ts';
|
|
export type { SendDlrResult, SendRespOptions, Sms, SmsInput } from './sms.ts';
|
|
export type { Concat } from './concat.ts';
|
|
export type { ConcatInfo } from './udh.ts';
|
|
export type { Result, VoidResult } from './result.ts';
|
|
export type { SmppLog } from './log.ts';
|
|
export type { SmsIdFormat, SmsIdNotation } from './sms-id.ts';
|
|
export type {
|
|
AuthenticateInput,
|
|
AuthenticateResult,
|
|
ServerEvents,
|
|
ServerOptions,
|
|
} from './server.ts';
|
|
export type {
|
|
CloseOptions,
|
|
MessageDlr,
|
|
ReconnectOptions,
|
|
SendOptions,
|
|
SendSmsOptions,
|
|
SendSmsResult,
|
|
SessionEvents,
|
|
SessionOptions,
|
|
} from './session.ts';
|
|
export type { CommandName, PduParams, PduParamsInput } from './defs/commands.ts';
|
|
export type { ConstGroup, MessageState, SubmitMessagingMode } from './defs/constants.ts';
|
|
export type { Encoding, EncodingName } from './defs/encodings.ts';
|
|
export type { ErrorName } from './defs/errors.ts';
|
|
export type { PduObject, PduObjectInput, TlvInput } from './pdu.ts';
|
|
export type { PduHeader } from './pdu-refusal.ts';
|
|
export type { SplitOptions } from './message.ts';
|
|
export type { Tlv, TlvDefinition, TlvName } from './defs/tlvs.ts';
|
|
export type { DestAddress, ParamValue, UnsuccessSme, WireType } from './defs/types.ts';
|
|
|
|
/** The spec tables, grouped the way `larvitsmpp.defs` was in 0.4.0. */
|
|
export { defs } from './defs/index.ts';
|