Websms.Schema.Read (websms v1.0.0-alpha.1) View Source
TODO
Link to this section Summary
Types
E164 formatted MSISDNs – see Wikipedia https://en.wikipedia.org/wiki/MSISDN
Allowed values are default and voice. When using the message type default, the outgoing message type is determined based on account settings. Using the message type voice triggers a voice call.
Link to this section Types
Specs
address_type() :: String.t()
Specs
binary_sms_send_request() :: %{
optional(:clientMessageId) => map(),
optional(:contentCategory) => String.t(),
optional(:messageContent) => [String.t()],
optional(:notificationCallbackUrl) => String.t(),
optional(:priority) => integer(),
:recipientAddressList => [e164()],
optional(:sendAsFlashSms) => boolean(),
optional(:senderAddress) => String.t(),
optional(:senderAddressType) => String.t(),
optional(:test) => boolean(),
optional(:userDataHeaderPresent) => boolean(),
optional(:validityPeriode) => integer()
}
Specs
content_category() :: String.t()
Specs
e164() :: String.t()
E164 formatted MSISDNs – see Wikipedia https://en.wikipedia.org/wiki/MSISDN
Specs
message_type() :: String.t()
Allowed values are default and voice. When using the message type default, the outgoing message type is determined based on account settings. Using the message type voice triggers a voice call.
Specs
receive_message_type() :: String.t()
Specs
Specs
Specs
receive_sms_request() ::
%{
optional(:clientMessageId) => String.t(),
optional(:deliveredAs) => String.t(),
optional(:deliveredOn) => String.t(),
:deliveryReportMessageStatus => String.t(),
:messageType => String.t(),
optional(:sentOn) => String.t(),
:transferId => String.t()
}
| %{
binaryMessageContent: [String.t()],
messageFlashSms: boolean(),
messageType: String.t(),
recipientAddressType: String.t(),
senderAddressType: String.t(),
userDataHeaderPresent: boolean()
}
| %{
messageFlashSms: boolean(),
messageType: String.t(),
recipientAddressType: String.t(),
senderAddressType: String.t(),
textMessageContent: String.t()
}
Specs
Specs
Specs
simple_sms_send_request() :: %{
optional(:clientMessageId) => map(),
optional(:contentCategory) => String.t(),
optional(:maxSmsPerMessage) => integer(),
:messageContent => String.t(),
optional(:messageType) => String.t(),
optional(:notificationCallbackUrl) => String.t(),
optional(:priority) => integer(),
:recipientAddressList => [e164()],
optional(:sendAsFlashSms) => boolean(),
optional(:senderAddress) => String.t(),
optional(:senderAddressType) => String.t(),
optional(:test) => boolean(),
optional(:validityPeriode) => integer()
}
Specs
Specs
text_sms_send_request() :: %{
optional(:clientMessageId) => map(),
optional(:contentCategory) => String.t(),
optional(:maxSmsPerMessage) => integer(),
:messageContent => String.t(),
optional(:messageType) => String.t(),
optional(:notificationCallbackUrl) => String.t(),
optional(:priority) => integer(),
:recipientAddressList => [e164()],
optional(:sendAsFlashSms) => boolean(),
optional(:senderAddress) => String.t(),
optional(:senderAddressType) => String.t(),
optional(:test) => boolean(),
optional(:validityPeriode) => integer()
}