Documentation ¶
Index ¶
- type ContentData
- type DataProvider
- type DataReceiveSelection
- type DynamoItem
- type DynamoItemEmail
- type DynamoItemHistory
- type DynamoItemResponse
- type EmailHistoryItem
- type ErrorChildInfobip
- type HistoryItem
- type InfobipCallbackRequest
- type InfobipDestination
- type InfobipMessages
- type InfobipRequestChild
- type InfobipRequestPayload
- type Logging
- type PayloadPostNotificationRequest
- type PayloadRequestEmail
- type PersonalizationData
- type PostNotificationRequest
- type PostNotificationRequestEmail
- type PostNotificationRequestPush
- type PostNotificationResponse
- type PriceChildInfobip
- type SendPayload
- type SenderFrom
- type SenderTo
- type StateFullFormatKafka
- type StateFullKinesis
- type StatusChildInfobip
- type TemplateResponse
- type TwilioCallbackRequest
- type VersionTemplates
- type WavecellCallBackRequest
- type WavecellCallbackMessages
- type WavecellCallbackRequest
- type WavecellCallbackStatus
- type WavecellRequest
- type WavecellResponse
- type WavecellResponseStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentData ¶
ContentData ...
type DataReceiveSelection ¶
type DataReceiveSelection struct {
Type string `json:""type"`
}
DataReceiveSelection ..
type DynamoItem ¶
type DynamoItem struct { ID string `json:"id"` Data string `json:"data"` History map[string]*HistoryItem `json:"history"` ReceiverAddress string `json:"receiverAddress"` StatusText string `json:"statusText"` Type string `json:"type"` }
DynamoItem ..
type DynamoItemEmail ¶
type DynamoItemEmail struct { ID string `json:"id"` Data string `json:"data"` History map[string]*EmailHistoryItem `json:"history"` ReceiverAddress string `json:"receiverAddress"` StatusText string `json:"statusText"` Type string `json:"type"` }
DynamoItemEmail ..
type DynamoItemHistory ¶
type DynamoItemHistory struct { ID string `json:"id"` Data string `json:"data"` History interface{} `json:"history"` ReceiverAddress string `json:"receiverAddress"` StatusText string `json:"statusText"` Type string `json:"type"` }
DynamoItemHistory ..
type DynamoItemResponse ¶
type DynamoItemResponse struct { ID string `json:"id"` Data string `json:"data"` History []string `json:"history"` ReceiverAddress string `json:"receiverAddress"` StatusText string `json:"statusText"` Type string `json:"type"` }
DynamoItemResponse ..
type EmailHistoryItem ¶
type EmailHistoryItem struct { Provider string `json:"provider"` DeliveryReport string `json:"delivery_report"` Response string `json:"response"` Payload *PayloadRequestEmail `json:"payload"` }
EmailHistoryItem ...
type ErrorChildInfobip ¶
type ErrorChildInfobip struct { GroupID uint `json:"groupId"` GroupName string `json:"groupName"` ID uint `json:"id"` Name string `json:"name"` Description string `json:"description"` Permanent bool `json:"permanent"` }
ErrorChildInfobip ...
type HistoryItem ¶
type HistoryItem struct { Provider string `json:"provider"` DeliveryReport string `json:"delivery_report"` Response string `json:"response"` CallbackData string `json:"callback_data"` Payload *PayloadPostNotificationRequest `json:"payload"` }
HistoryItem ...
type InfobipCallbackRequest ¶
type InfobipCallbackRequest struct {
Results []InfobipRequestChild `json:"results"`
}
InfobipCallbackRequest ...
type InfobipDestination ¶
type InfobipDestination struct {
To string `json:"to"`
}
InfobipDestination ...
type InfobipMessages ¶
type InfobipMessages struct { From string `json:"from"` Destinations []InfobipDestination `json:"destinations"` Text string `json:"text"` NotifyURL string `json:"notifyUrl"` NotifyContenType string `json:"notifyContentType"` CallbackData string `json:"callbackData"` }
InfobipMessages .../
type InfobipRequestChild ¶
type InfobipRequestChild struct { BulkID string `json:"bulkId"` MessagesID string `json:"messageId"` To string `json:"to"` SentAt string `json:"sentAt"` DoneAt string `json:"doneAt"` SmsCount uint `json:"smsCount"` MccMnc string `json:"mccMnc"` Price PriceChildInfobip `json:"price"` Status StatusChildInfobip `json:"status"` Error ErrorChildInfobip `json:"error"` CallbackData string `json:"callbackData"` }
InfobipRequestChild ...
type InfobipRequestPayload ¶
type InfobipRequestPayload struct {
Messages []InfobipMessages `json:"messages"`
}
InfobipRequestPayload ...
type Logging ¶
type Logging struct { Name string `json:"name"` Description interface{} `json:"description"` TimeAt time.Time `json:"time"` }
Logging ...
type PayloadPostNotificationRequest ¶
type PayloadPostNotificationRequest struct { OTP bool `json:"otp"` Msisdn string `json:"msisdn"` Text string `json:"text"` }
PayloadPostNotificationRequest ...
type PayloadRequestEmail ¶
type PayloadRequestEmail struct { To string `json:"to"` From string `json:"from"` Subject string `json:"subject"` TemplateID string `json:"template_id"` Data map[string]string `json:"data"` }
PayloadRequestEmail ...
type PersonalizationData ¶
type PersonalizationData struct { Subject string `json:"subject"` To []SenderTo `json:"to"` Substitutions map[string]string `json:"substitutions"` }
PersonalizationData ...
type PostNotificationRequest ¶
type PostNotificationRequest struct { Type string `json:"type"` UUID string `json:"uuid"` Payload *PayloadPostNotificationRequest `json:"payload"` }
PostNotificationRequest ...
type PostNotificationRequestEmail ¶
type PostNotificationRequestEmail struct { Type string `json:"type"` UUID string `json:"uuid"` Payload *PayloadRequestEmail `json:"payload"` }
PostNotificationRequestEmail ...
type PostNotificationRequestPush ¶
PostNotificationRequestPush ...
type PostNotificationResponse ¶
PostNotificationResponse ..
type PriceChildInfobip ¶
type PriceChildInfobip struct { PricePerMessages string `json:"pricePerMessages"` Currency string `json:"currency"` }
PriceChildInfobip ...
type SendPayload ¶
type SendPayload struct { Personalization []PersonalizationData `json:"personalizations"` From *SenderFrom `json:"from"` TemplateID string `json:"template_id"` }
SendPayload ...
type StateFullFormatKafka ¶
type StateFullFormatKafka struct { UUID string `json:"__uuid" bson:"__uuid"` Action string `json:"__action" bson:"__action"` Data map[string]string `json:"data" bson:"data"` CreatedAt *time.Time `json:"created_at" bson:"created_at"` }
StateFullFormatKafka ...
type StateFullKinesis ¶
type StateFullKinesis struct { Data *DynamoItem `json:"data"` Status string `json:"queue"` Stack string `json:"stack"` }
StateFullKinesis ...
type StatusChildInfobip ¶
type StatusChildInfobip struct { GroupID uint `json:"groupId"` GroupName string `json:"groupName"` ID uint `json:"id"` Name string `json:"name"` Description string `json:"description"` }
StatusChildInfobip ..
type TemplateResponse ¶
type TemplateResponse struct { ID string `json:"id"` Name string `json:"name"` Generation string `json:"generation"` UpdateAt string `json:"updated_at"` Versions []VersionTemplates `json:"versions"` }
TemplateResponse ..
type TwilioCallbackRequest ¶
type TwilioCallbackRequest struct{}
type VersionTemplates ¶
type VersionTemplates struct { ID string `json:"id"` UserID uint `json:"user_id"` TemplateID string `json:"template_id"` Active uint `json:"active"` Name string `json:"name"` HTMLContent string `json:"html_content"` PlainContent string `json:"plain_content"` GeneratePlainContent bool `json:"generate_plain_content"` Subject string `json:"subject"` UpdateAt string `json:"updated_at"` Editor string `json:"editor"` ThumbnailURI string `json:"thumbnail_url"` }
VersionTemplates ..
type WavecellCallBackRequest ¶
type WavecellCallBackRequest struct { UmID string `json:"umid"` Timestamp string `json:"timestamp"` Status string `json:"status"` StatusCode uint `json:"statusCode"` Error string `json:"error"` ErrorCode uint `json:"errorCode"` Source string `json:"Source"` SubAccountID string `json:"subAccountId"` Version uint `json:"version"` Destination string `json:"destination"` BatchID string `json:"batchId"` ClientMessageID string `json:"clientMessageId"` ClientBatchID string `json:"ClientBatchId"` Price struct { Total float32 `json:"total"` PerSMS float32 `json:"perSms"` Currency string `json:"currency"` } `json:"price"` SmsCount uint `json:"smsCount"` }
WavecellCallBackRequest ...
type WavecellCallbackMessages ¶
type WavecellCallbackMessages struct { To string `json:"to"` Status []WavecellResponseStatus `json:"status"` MessageID string `json:"messageId"` }
WavecellCallbackMessages ...
type WavecellCallbackRequest ¶
type WavecellCallbackRequest struct {
Messages []WavecellCallbackMessages `json:"messages"`
}
WavecellCallbackRequest ...
type WavecellCallbackStatus ¶
type WavecellCallbackStatus struct { GroupID uint `json:"groupId"` GroupName string `json:"groupName"` ID uint `json:"id"` Name string `json:"name"` Description string `json:"description"` }
WavecellCallbackStatus ...
type WavecellRequest ¶
type WavecellRequest struct { Source string `json:"source"` Destination string `json:"destination"` Text string `json:"text"` ClientMessageID string `json:"clientMessageId"` DLRCallback string `json:"dlrCallbackUrl"` }
WavecellRequest ...
type WavecellResponse ¶
type WavecellResponse struct { UMID string `json:"umid"` ClientMessagesID string `json:"clientMessageId"` Destination string `json:"destination"` Encoding string `json:"encoding"` Status *WavecellResponseStatus `json:"status"` }
WavecellResponse ...
type WavecellResponseStatus ¶
type WavecellResponseStatus struct { Code string `json:"code"` Description string `json:"description"` }
WavecellResponseStatus ...