v1

package
v0.0.0-...-928d55a Latest Latest
Warning

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

Go to latest
Published: Jun 1, 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 ContentData

type ContentData struct {
	Type  string `json:"type"`
	Value string `json:"value"`
}

ContentData ...

type DataProvider

type DataProvider struct {
	Provider string
	Name     string
}

DataProvider ...

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

type PostNotificationRequestPush struct {
	Type string `json:"type"`
	UUID string `json:"uuid"`
}

PostNotificationRequestPush ...

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 SendPayload

type SendPayload struct {
	Personalization []PersonalizationData `json:"personalizations"`
	From            *SenderFrom           `json:"from"`
	TemplateID      string                `json:"template_id"`
}

SendPayload ...

type SenderFrom

type SenderFrom struct {
	Email string `json:"email"`
}

SenderFrom ...

type SenderTo

type SenderTo struct {
	Email string `json:"email"`
}

SenderTo ..

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

Jump to

Keyboard shortcuts

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