v1

package
v0.0.0-...-5430d50 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataProvider

type DataProvider struct {
	Provider string
	Name     string
}

DataProvider ...

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 DynamoItemResponse

type DynamoItemResponse struct {
	ID   string `json:"id"`
	Data string `json:"data"`
	// History         interface{} `json:"history"`
	History         []string `json:"history"`
	ReceiverAddress string   `json:"receiverAddress"`
	StatusText      string   `json:"statusText"`
	Type            string   `json:"type"`
}

DynamoItemResponse ..

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
	Description string
	TimeAt      time.Time
}

type PayloadPostNotificationRequest

type PayloadPostNotificationRequest struct {
	OTP    bool   `json:"otp"`
	Msisdn string `json:"msisdn"`
	Text   string `json:"text"`
}

PayloadPostNotificationRequest ...

type PostNotificationRequest

type PostNotificationRequest struct {
	Type    string                          `json:"type"`
	UUID    string                          `json:"uuid"`
	Payload *PayloadPostNotificationRequest `json:"payload"`
}

PostNotificationRequest ...

type PostNotificationResponse

type PostNotificationResponse struct {
	ID     string `json:"id"`
	Status string `json:"status"`
}

PostNotificationResponse ..

type PriceChildInfobip

type PriceChildInfobip struct {
	PricePerMessages string `json:"pricePerMessages"`
	Currency         string `json:"currency"`
}

PriceChildInfobip ...

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 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"`
	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 ...

type WavecelllCallBackRequest

type WavecelllCallBackRequest struct {
	UmID            string `json:"umid"`
	Timestamp       string `json:"timestamp"`
	Status          string `json:"status"`
	StatusCode      string `json:"statusCode"`
	Error           string `json:"error"`
	ErrorCode       uint   `json:"errorCode"`
	Source          string `json:"Source"`
	SubAccountID    string `json:"subAccountId"`
	Version         string `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"`
}

WavecelllCallBackRequest ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL