Versions in this module Expand all Collapse all v2 v2.0.5 Jun 16, 2022 v2.0.4 Apr 7, 2022 Changes in this version + var ContextAPIKey = contextKey("apikey") + var ContextAccessToken = contextKey("accesstoken") + var ContextBasicAuth = contextKey("basic") + var ContextOAuth2 = contextKey("token") + func CacheExpires(r *http.Response) time.Time + type APIClient struct + AccountApi *AccountApiService + AttributesApi *AttributesApiService + ContactsApi *ContactsApiService + EmailCampaignsApi *EmailCampaignsApiService + FoldersApi *FoldersApiService + ListsApi *ListsApiService + ProcessApi *ProcessApiService + ResellerApi *ResellerApiService + SMSCampaignsApi *SMSCampaignsApiService + SendersApi *SendersApiService + TransactionalEmailsApi *TransactionalEmailsApiService + TransactionalSMSApi *TransactionalSMSApiService + WebhooksApi *WebhooksApiService + func NewAPIClient(cfg *Configuration) *APIClient + func (c *APIClient) ChangeBasePath(path string) + type APIKey struct + Key string + Prefix string + type APIResponse struct + Message string + Method string + Operation string + Payload []byte + RequestURL string + func NewAPIResponse(r *http.Response) *APIResponse + func NewAPIResponseWithError(errorMessage string) *APIResponse + type AbTestCampaignResult struct + ClickRate string + ClickedLinks *AbTestCampaignResultClickedLinks + OpenRate string + Statistics *AbTestCampaignResultStatistics + WinningCriteria string + WinningSubjectLine string + WinningVersion string + WinningVersionRate string + type AbTestCampaignResultClickedLinks struct + VersionA *[]AbTestVersionClicksInner + VersionB *[]AbTestVersionClicksInner + type AbTestCampaignResultStatistics struct + Clicks *AbTestVersionStats + Complaints *AbTestVersionStats + HardBounces *AbTestVersionStats + Openers *AbTestVersionStats + SoftBounces *AbTestVersionStats + Unsubscribed *AbTestVersionStats + type AbTestVersionClicksInner struct + ClickRate string + ClicksCount float64 + Link string + type AbTestVersionStats struct + VersionA string + VersionB string + type AccountApiService service + func (a *AccountApiService) GetAccount(ctx context.Context) (GetAccount, *http.Response, error) + type AddChildDomain struct + Domain string + type AddContactToList struct + Emails []string + Ids []int64 + type AddCredits struct + Email int64 + Sms int64 + type AllOfgetChildrenListChildrenItems struct + ApiKeys *GetChildInfoApiKeys + Credits *GetChildInfoCredits + Id int64 + Ips []string + Password string + Statistics *GetChildInfoStatistics + type AllOfgetContactsContactsItems struct + Attributes *interface{} + CreatedAt string + Email string + EmailBlacklisted bool + Id int64 + ListIds []int64 + ListUnsubscribed []int64 + ModifiedAt string + SmsBlacklisted bool + type AllOfgetEmailCampaignsCampaignsItems struct + CreatedAt string + Footer string + Header string + HtmlContent string + InlineImageActivation bool + MirrorActive bool + ModifiedAt string + Recipients *interface{} + Recurring bool + ReplyTo string + ReturnBounce int64 + Sender *GetExtendedCampaignOverviewSender + SentDate string + ShareLink string + Statistics *interface{} + Tag string + TestSent bool + ToField string + type AllOfgetExtendedCampaignStatsCampaignStatsItems struct + Clickers int64 + Complaints int64 + Deferred int64 + Delivered int64 + HardBounces int64 + ListId int64 + ReturnBounce int64 + Sent int64 + SoftBounces int64 + UniqueClicks int64 + UniqueViews int64 + Unsubscriptions int64 + Viewed int64 + type AllOfgetExtendedCampaignStatsGlobalStats struct + Clickers int64 + Complaints int64 + Deferred int64 + Delivered int64 + HardBounces int64 + ListId int64 + ReturnBounce int64 + Sent int64 + SoftBounces int64 + UniqueClicks int64 + UniqueViews int64 + Unsubscriptions int64 + Viewed int64 + type AllOfgetFolderListsListsItems struct + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + type AllOfgetFoldersFoldersItems struct + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + UniqueSubscribers int64 + type AllOfgetListsListsItems struct + FolderId int64 + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + type AllOfgetSmsCampaignsCampaignsItems struct + Content string + CreatedAt string + Id int64 + ModifiedAt string + Name string + Recipients *interface{} + ScheduledAt string + Sender string + Statistics *interface{} + Status string + type AllOfgetWebhooksWebhooksItems struct + CreatedAt string + Description string + Events []string + Id int64 + ModifiedAt string + Type_ string + Url string + type AttributesApiService service + func (a *AttributesApiService) CreateAttribute(ctx context.Context, body CreateAttribute, attributeCategory string, ...) (*http.Response, error) + func (a *AttributesApiService) DeleteAttribute(ctx context.Context, attributeCategory string, attributeName string) (*http.Response, error) + func (a *AttributesApiService) GetAttributes(ctx context.Context) (GetAttributes, *http.Response, error) + func (a *AttributesApiService) UpdateAttribute(ctx context.Context, body UpdateAttribute, attributeCategory string, ...) (*http.Response, error) + type BasicAuth struct + Password string + UserName string + type BlockDomain struct + Domain string + type Configuration struct + BasePath string + DefaultHeader map[string]string + HTTPClient *http.Client + Host string + Scheme string + UserAgent string + func NewConfiguration() *Configuration + func (c *Configuration) AddDefaultHeader(key string, value string) + type ContactsApiGetContactStatsOpts struct + EndDate optional.String + StartDate optional.String + type ContactsApiGetContactsFromListOpts struct + Limit optional.Int64 + ModifiedSince optional.String + Offset optional.Int64 + Sort optional.String + type ContactsApiGetContactsOpts struct + Limit optional.Int64 + ModifiedSince optional.String + Offset optional.Int64 + Sort optional.String + type ContactsApiGetFolderListsOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type ContactsApiGetFoldersOpts struct + Sort optional.String + type ContactsApiGetListsOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type ContactsApiService service + func (a *ContactsApiService) AddContactToList(ctx context.Context, body AddContactToList, listId int64) (PostContactInfo, *http.Response, error) + func (a *ContactsApiService) CreateAttribute(ctx context.Context, body CreateAttribute, attributeCategory string, ...) (*http.Response, error) + func (a *ContactsApiService) CreateContact(ctx context.Context, body CreateContact) (CreateUpdateContactModel, *http.Response, error) + func (a *ContactsApiService) CreateDoiContact(ctx context.Context, body CreateDoiContact) (*http.Response, error) + func (a *ContactsApiService) CreateFolder(ctx context.Context, body CreateUpdateFolder) (CreateModel, *http.Response, error) + func (a *ContactsApiService) CreateList(ctx context.Context, body CreateList) (CreateModel, *http.Response, error) + func (a *ContactsApiService) DeleteAttribute(ctx context.Context, attributeCategory string, attributeName string) (*http.Response, error) + func (a *ContactsApiService) DeleteContact(ctx context.Context, identifier string) (*http.Response, error) + func (a *ContactsApiService) DeleteFolder(ctx context.Context, folderId int64) (*http.Response, error) + func (a *ContactsApiService) DeleteList(ctx context.Context, listId int64) (*http.Response, error) + func (a *ContactsApiService) GetAttributes(ctx context.Context) (GetAttributes, *http.Response, error) + func (a *ContactsApiService) GetContactInfo(ctx context.Context, identifier string) (GetExtendedContactDetails, *http.Response, error) + func (a *ContactsApiService) GetContactStats(ctx context.Context, identifier string, ...) (GetContactCampaignStats, *http.Response, error) + func (a *ContactsApiService) GetContacts(ctx context.Context, localVarOptionals *ContactsApiGetContactsOpts) (GetContacts, *http.Response, error) + func (a *ContactsApiService) GetContactsFromList(ctx context.Context, listId int64, ...) (GetContacts, *http.Response, error) + func (a *ContactsApiService) GetFolder(ctx context.Context, folderId int64) (GetFolder, *http.Response, error) + func (a *ContactsApiService) GetFolderLists(ctx context.Context, folderId int64, ...) (GetFolderLists, *http.Response, error) + func (a *ContactsApiService) GetFolders(ctx context.Context, limit int64, offset int64, ...) (GetFolders, *http.Response, error) + func (a *ContactsApiService) GetList(ctx context.Context, listId int64) (GetExtendedList, *http.Response, error) + func (a *ContactsApiService) GetLists(ctx context.Context, localVarOptionals *ContactsApiGetListsOpts) (GetLists, *http.Response, error) + func (a *ContactsApiService) ImportContacts(ctx context.Context, body RequestContactImport) (CreatedProcessId, *http.Response, error) + func (a *ContactsApiService) RemoveContactFromList(ctx context.Context, body RemoveContactFromList, listId int64) (PostContactInfo, *http.Response, error) + func (a *ContactsApiService) RequestContactExport(ctx context.Context, body RequestContactExport) (CreatedProcessId, *http.Response, error) + func (a *ContactsApiService) UpdateAttribute(ctx context.Context, body UpdateAttribute, attributeCategory string, ...) (*http.Response, error) + func (a *ContactsApiService) UpdateContact(ctx context.Context, body UpdateContact, identifier string) (*http.Response, error) + func (a *ContactsApiService) UpdateFolder(ctx context.Context, body CreateUpdateFolder, folderId int64) (*http.Response, error) + func (a *ContactsApiService) UpdateList(ctx context.Context, body UpdateList, listId int64) (*http.Response, error) + type CreateAttribute struct + Enumeration []CreateAttributeEnumeration + Type_ string + Value string + type CreateAttributeEnumeration struct + Label string + Value int32 + type CreateChild struct + CompanyName string + Email string + FirstName string + Language string + LastName string + Password string + type CreateContact struct + Attributes map[string]string + Email string + EmailBlacklisted bool + ListIds []int64 + SmsBlacklisted bool + SmtpBlacklistSender []string + UpdateEnabled bool + type CreateDoiContact struct + Attributes *interface{} + Email string + ExcludeListIds []int64 + IncludeListIds []int64 + RedirectionUrl string + TemplateId int64 + type CreateEmailCampaign struct + AbTesting bool + AttachmentUrl string + Footer string + Header string + HtmlContent string + HtmlUrl string + IncreaseRate int64 + InitialQuota int64 + InlineImageActivation bool + IpWarmupEnable bool + MirrorActive bool + Name string + Params *interface{} + Recipients *CreateEmailCampaignRecipients + ReplyTo string + ScheduledAt string + SendAtBestTime bool + Sender *CreateEmailCampaignSender + SplitRule int64 + Subject string + SubjectA string + SubjectB string + Tag string + TemplateId int64 + ToField string + UtmCampaign string + WinnerCriteria string + WinnerDelay int64 + type CreateEmailCampaignRecipients struct + ExclusionListIds []int64 + ListIds []int64 + type CreateEmailCampaignSender struct + Email string + Id int64 + Name string + type CreateList struct + FolderId int64 + Name string + type CreateModel struct + Id int64 + type CreateReseller struct + AuthKey string + Id int64 + type CreateSender struct + Email string + Ips []CreateSenderIps + Name string + type CreateSenderIps struct + Domain string + Ip string + Weight int64 + type CreateSenderModel struct + DkimError bool + Id int64 + SpfError bool + type CreateSmsCampaign struct + Content string + Name string + Recipients *CreateSmsCampaignRecipients + ScheduledAt string + Sender string + type CreateSmsCampaignRecipients struct + ExclusionListIds []int64 + ListIds []int64 + type CreateSmtpEmail struct + MessageId string + MessageIds []string + type CreateSmtpTemplate struct + AttachmentUrl string + HtmlContent string + HtmlUrl string + IsActive bool + ReplyTo string + Sender *CreateSmtpTemplateSender + Subject string + Tag string + TemplateName string + ToField string + type CreateSmtpTemplateSender struct + Email string + Id int64 + Name string + type CreateUpdateContactModel struct + Id int64 + type CreateUpdateFolder struct + Name string + type CreateWebhook struct + Description string + Events []string + Type_ string + Url string + type CreatedProcessId struct + ProcessId int64 + type DeleteHardbounces struct + ContactEmail string + EndDate string + StartDate string + type EmailCampaignsApiEmailExportRecipientsOpts struct + Body optional.Interface + type EmailCampaignsApiGetEmailCampaignsOpts struct + EndDate optional.String + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + StartDate optional.String + Status optional.String + Type_ optional.String + type EmailCampaignsApiService service + func (a *EmailCampaignsApiService) CreateEmailCampaign(ctx context.Context, body CreateEmailCampaign) (CreateModel, *http.Response, error) + func (a *EmailCampaignsApiService) DeleteEmailCampaign(ctx context.Context, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) EmailExportRecipients(ctx context.Context, campaignId int64, ...) (CreatedProcessId, *http.Response, error) + func (a *EmailCampaignsApiService) GetAbTestCampaignResult(ctx context.Context, campaignId int64) (AbTestCampaignResult, *http.Response, error) + func (a *EmailCampaignsApiService) GetEmailCampaign(ctx context.Context, campaignId int64) (GetEmailCampaign, *http.Response, error) + func (a *EmailCampaignsApiService) GetEmailCampaigns(ctx context.Context, localVarOptionals *EmailCampaignsApiGetEmailCampaignsOpts) (GetEmailCampaigns, *http.Response, error) + func (a *EmailCampaignsApiService) GetSharedTemplateUrl(ctx context.Context, campaignId int64) (GetSharedTemplateUrl, *http.Response, error) + func (a *EmailCampaignsApiService) SendEmailCampaignNow(ctx context.Context, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) SendReport(ctx context.Context, body SendReport, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) SendTestEmail(ctx context.Context, body SendTestEmail, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) UpdateCampaignStatus(ctx context.Context, body UpdateCampaignStatus, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) UpdateEmailCampaign(ctx context.Context, body UpdateEmailCampaign, campaignId int64) (*http.Response, error) + func (a *EmailCampaignsApiService) UploadImageToGallery(ctx context.Context, body UploadImageToGallery) (*http.Response, error) + type EmailExportRecipients struct + NotifyURL string + RecipientsType string + type ErrorModel struct + Code string + Message string + type FoldersApiGetFolderListsOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type FoldersApiGetFoldersOpts struct + Sort optional.String + type FoldersApiService service + func (a *FoldersApiService) CreateFolder(ctx context.Context, body CreateUpdateFolder) (CreateModel, *http.Response, error) + func (a *FoldersApiService) DeleteFolder(ctx context.Context, folderId int64) (*http.Response, error) + func (a *FoldersApiService) GetFolder(ctx context.Context, folderId int64) (GetFolder, *http.Response, error) + func (a *FoldersApiService) GetFolderLists(ctx context.Context, folderId int64, ...) (GetFolderLists, *http.Response, error) + func (a *FoldersApiService) GetFolders(ctx context.Context, limit int64, offset int64, ...) (GetFolders, *http.Response, error) + func (a *FoldersApiService) UpdateFolder(ctx context.Context, body CreateUpdateFolder, folderId int64) (*http.Response, error) + type GenericSwaggerError struct + func (e GenericSwaggerError) Body() []byte + func (e GenericSwaggerError) Error() string + func (e GenericSwaggerError) Model() interface{} + type GetAccount struct + Address *GetExtendedClientAddress + MarketingAutomation *GetAccountMarketingAutomation + Plan []GetAccountPlan + Relay *GetAccountRelay + type GetAccountMarketingAutomation struct + Enabled bool + Key string + type GetAccountPlan struct + Credits float32 + CreditsType string + EndDate string + StartDate string + Type_ string + UserLimit int32 + type GetAccountRelay struct + Data *GetAccountRelayData + Enabled bool + type GetAccountRelayData struct + Port int32 + Relay string + UserName string + type GetAggregatedReport struct + Blocked int64 + Clicks int64 + Delivered int64 + HardBounces int64 + Invalid int64 + Opens int64 + Range_ string + Requests int64 + SoftBounces int64 + SpamReports int64 + UniqueClicks int64 + UniqueOpens int64 + Unsubscribed int64 + type GetAttributes struct + Attributes []GetAttributesAttributes + type GetAttributesAttributes struct + CalculatedValue string + Category string + Enumeration []GetAttributesEnumeration + Name string + Type_ string + type GetAttributesEnumeration struct + Label string + Value int64 + type GetBlockedDomains struct + Domains []string + type GetCampaignOverview struct + AbTesting bool + Id int64 + Name string + ScheduledAt string + SendAtBestTime bool + SplitRule int32 + Status string + Subject string + SubjectA string + SubjectB string + Type_ string + WinnerCriteria string + WinnerDelay int32 + type GetCampaignRecipients struct + ExclusionLists []int64 + Lists []int64 + type GetCampaignStats struct + Clickers int64 + Complaints int64 + Deferred int64 + Delivered int64 + HardBounces int64 + ListId int64 + ReturnBounce int64 + Sent int64 + SoftBounces int64 + UniqueClicks int64 + UniqueViews int64 + Unsubscriptions int64 + Viewed int64 + type GetChildAccountCreationStatus struct + ChildAccountCreated bool + type GetChildDomain struct + Active bool + Domain string + type GetChildInfo struct + ApiKeys *GetChildInfoApiKeys + CompanyName string + Credits *GetChildInfoCredits + Email string + FirstName string + Ips []string + LastName string + Password string + Statistics *GetChildInfoStatistics + type GetChildInfoApiKeys struct + V2 []GetChildInfoApiKeysV2 + V3 []GetChildInfoApiKeysV3 + type GetChildInfoApiKeysV2 struct + Key string + Name string + type GetChildInfoApiKeysV3 struct + Key string + Name string + type GetChildInfoCredits struct + EmailCredits int64 + SmsCredits int64 + type GetChildInfoStatistics struct + CurrentMonthTotalSent int64 + PreviousMonthTotalSent int64 + TotalSent int64 + type GetChildrenList struct + Children []AllOfgetChildrenListChildrenItems + Count int64 + type GetClient struct + CompanyName string + Email string + FirstName string + LastName string + type GetContactCampaignStats struct + Clicked []GetContactCampaignStatsClicked + Complaints []GetExtendedContactDetailsStatisticsMessagesSent + HardBounces []GetExtendedContactDetailsStatisticsMessagesSent + MessagesSent []GetExtendedContactDetailsStatisticsMessagesSent + Opened []GetContactCampaignStatsOpened + SoftBounces []GetExtendedContactDetailsStatisticsMessagesSent + TransacAttributes []GetContactCampaignStatsTransacAttributes + Unsubscriptions *GetContactCampaignStatsUnsubscriptions + type GetContactCampaignStatsClicked struct + CampaignId int64 + Links []GetExtendedContactDetailsStatisticsLinks + type GetContactCampaignStatsOpened struct + CampaignId int64 + Count int64 + EventTime string + Ip string + type GetContactCampaignStatsTransacAttributes struct + OrderDate string + OrderId int64 + OrderPrice float32 + type GetContactCampaignStatsUnsubscriptions struct + AdminUnsubscription []GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription + UserUnsubscription []GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription + type GetContactDetails struct + Attributes *interface{} + CreatedAt string + Email string + EmailBlacklisted bool + Id int64 + ListIds []int64 + ListUnsubscribed []int64 + ModifiedAt string + SmsBlacklisted bool + type GetContacts struct + Contacts []AllOfgetContactsContactsItems + Count int64 + type GetDeviceBrowserStats struct + Clickers int64 + UniqueClicks int64 + UniqueViews int64 + Viewed int64 + type GetEmailCampaign struct + CreatedAt string + Footer string + Header string + HtmlContent string + InlineImageActivation bool + MirrorActive bool + ModifiedAt string + Recipients *interface{} + Recurring bool + ReplyTo string + ReturnBounce int64 + Sender *GetExtendedCampaignOverviewSender + SentDate string + ShareLink string + Statistics *interface{} + Tag string + TestSent bool + ToField string + type GetEmailCampaigns struct + Campaigns []AllOfgetEmailCampaignsCampaignsItems + Count int64 + type GetEmailEventReport struct + Events []GetEmailEventReportEvents + type GetEmailEventReportEvents struct + Date string + Email string + Event string + From string + Ip string + Link string + MessageId string + Reason string + Subject string + Tag string + TemplateId int64 + type GetExtendedCampaignOverview struct + AbTesting bool + CreatedAt string + Footer string + Header string + HtmlContent string + Id int64 + InlineImageActivation bool + MirrorActive bool + ModifiedAt string + Name string + Recurring bool + ReplyTo string + ReturnBounce int64 + ScheduledAt string + SendAtBestTime bool + Sender *GetExtendedCampaignOverviewSender + SentDate string + ShareLink string + SplitRule int32 + Status string + Subject string + SubjectA string + SubjectB string + Tag string + TestSent bool + ToField string + Type_ string + WinnerCriteria string + WinnerDelay int32 + type GetExtendedCampaignOverviewSender struct + Email string + Id string + Name string + type GetExtendedCampaignStats struct + CampaignStats []AllOfgetExtendedCampaignStatsCampaignStatsItems + GlobalStats *AllOfgetExtendedCampaignStatsGlobalStats + LinksStats *interface{} + MirrorClick int64 + Remaining int64 + StatsByBrowser *map[string]GetDeviceBrowserStats + StatsByDevice *GetStatsByDevice + StatsByDomain *map[string]GetCampaignStats + type GetExtendedClient struct + Address *GetExtendedClientAddress + CompanyName string + Email string + FirstName string + LastName string + type GetExtendedClientAddress struct + City string + Country string + Street string + ZipCode string + type GetExtendedContactDetails struct + Attributes *interface{} + CreatedAt string + Email string + EmailBlacklisted bool + Id int64 + ListIds []int64 + ListUnsubscribed []int64 + ModifiedAt string + SmsBlacklisted bool + Statistics *GetExtendedContactDetailsStatistics + type GetExtendedContactDetailsStatistics struct + Clicked []GetExtendedContactDetailsStatisticsClicked + Complaints []GetExtendedContactDetailsStatisticsMessagesSent + HardBounces []GetExtendedContactDetailsStatisticsMessagesSent + MessagesSent []GetExtendedContactDetailsStatisticsMessagesSent + Opened []GetExtendedContactDetailsStatisticsOpened + SoftBounces []GetExtendedContactDetailsStatisticsMessagesSent + TransacAttributes []interface{} + Unsubscriptions *GetExtendedContactDetailsStatisticsUnsubscriptions + type GetExtendedContactDetailsStatisticsClicked struct + CampaignId int64 + Links []GetExtendedContactDetailsStatisticsLinks + type GetExtendedContactDetailsStatisticsLinks struct + Count int64 + EventTime string + Ip string + Url string + type GetExtendedContactDetailsStatisticsMessagesSent struct + CampaignId int64 + EventTime string + type GetExtendedContactDetailsStatisticsOpened struct + CampaignId int64 + Count int64 + EventTime string + Ip string + type GetExtendedContactDetailsStatisticsUnsubscriptions struct + AdminUnsubscription []GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription + UserUnsubscription []GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription + type GetExtendedContactDetailsStatisticsUnsubscriptionsAdminUnsubscription struct + EventTime string + Ip string + type GetExtendedContactDetailsStatisticsUnsubscriptionsUserUnsubscription struct + CampaignId int64 + EventTime string + Ip string + type GetExtendedList struct + CampaignStats []GetExtendedListCampaignStats + CreatedAt string + DynamicList bool + FolderId int64 + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + type GetExtendedListCampaignStats struct + CampaignId int64 + Stats *GetCampaignStats + type GetFolder struct + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + UniqueSubscribers int64 + type GetFolderLists struct + Count int64 + Lists []AllOfgetFolderListsListsItems + type GetFolders struct + Count int64 + Folders []AllOfgetFoldersFoldersItems + type GetIp struct + Active bool + Domain string + Id int64 + Ip string + type GetIpFromSender struct + Domain string + Id int64 + Ip string + Weight int64 + type GetIps struct + Ips []GetIp + type GetIpsFromSender struct + Ips []GetIpFromSender + type GetList struct + Id int64 + Name string + TotalBlacklisted int64 + TotalSubscribers int64 + type GetLists struct + Count int64 + Lists []AllOfgetListsListsItems + type GetProcess struct + ExportUrl string + Id int64 + Name string + Status string + type GetProcesses struct + Count int64 + Processes []GetProcess + type GetReports struct + Reports []GetReportsReports + type GetReportsReports struct + Blocked int64 + Clicks int64 + Date string + Delivered int64 + HardBounces int64 + Invalid int64 + Opens int64 + Requests int64 + SoftBounces int64 + SpamReports int64 + UniqueClicks int64 + UniqueOpens int64 + Unsubscribed int64 + type GetSendersList struct + Senders []GetSendersListSenders + type GetSendersListIps struct + Domain string + Ip string + Weight int64 + type GetSendersListSenders struct + Active bool + Email string + Id int64 + Ips []GetSendersListIps + Name string + type GetSharedTemplateUrl struct + SharedUrl string + type GetSmsCampaign struct + Content string + CreatedAt string + Id int64 + ModifiedAt string + Name string + Recipients *interface{} + ScheduledAt string + Sender string + Statistics *interface{} + Status string + type GetSmsCampaignOverview struct + Content string + CreatedAt string + Id int64 + ModifiedAt string + Name string + ScheduledAt string + Sender string + Status string + type GetSmsCampaignStats struct + Answered int64 + Delivered int64 + HardBounces int64 + Processing int64 + Sent int64 + SoftBounces int64 + Unsubscriptions int64 + type GetSmsCampaigns struct + Campaigns []AllOfgetSmsCampaignsCampaignsItems + Count int64 + type GetSmsEventReport struct + Events []GetSmsEventReportEvents + type GetSmsEventReportEvents struct + Date string + Event string + MessageId string + PhoneNumber string + Reason string + Reply string + Tag string + type GetSmtpTemplateOverview struct + CreatedAt string + DoiTemplate bool + HtmlContent string + Id int64 + IsActive bool + ModifiedAt string + Name string + ReplyTo string + Sender *GetSmtpTemplateOverviewSender + Subject string + Tag string + TestSent bool + ToField string + type GetSmtpTemplateOverviewSender struct + Email string + Id string + Name string + type GetSmtpTemplates struct + Count int64 + Templates []GetSmtpTemplateOverview + type GetSsoToken struct + Token string + type GetStatsByDevice struct + Desktop map[string]GetDeviceBrowserStats + Mobile map[string]GetDeviceBrowserStats + Tablet map[string]GetDeviceBrowserStats + Unknown map[string]GetDeviceBrowserStats + type GetTransacAggregatedSmsReport struct + Accepted int64 + Blocked int64 + Delivered int64 + HardBounces int64 + Range_ string + Rejected int64 + Replied int64 + Requests int64 + SoftBounces int64 + Unsubscribed int64 + type GetTransacBlockedContacts struct + Contacts []GetTransacBlockedContactsContacts + Count int64 + type GetTransacBlockedContactsContacts struct + BlockedAt string + Email string + Reason *GetTransacBlockedContactsReason + SenderEmail string + type GetTransacBlockedContactsReason struct + Code string + Message string + type GetTransacEmailContent struct + AttachmentCount int64 + Body string + Date string + Email string + Events []GetTransacEmailContentEvents + Subject string + TemplateId int64 + type GetTransacEmailContentEvents struct + Name string + Time string + type GetTransacEmailsList struct + TransactionalEmails []GetTransacEmailsListTransactionalEmails + type GetTransacEmailsListTransactionalEmails struct + Date string + Email string + From string + MessageId string + Subject string + Tags []string + TemplateId int64 + Uuid string + type GetTransacSmsReport struct + Reports []GetTransacSmsReportReports + type GetTransacSmsReportReports struct + Accepted int64 + Blocked int64 + Date string + Delivered int64 + HardBounces int64 + Rejected int64 + Replied int64 + Requests int64 + SoftBounces int64 + Unsubscribed int64 + type GetWebhook struct + CreatedAt string + Description string + Events []string + Id int64 + ModifiedAt string + Type_ string + Url string + type GetWebhooks struct + Webhooks []AllOfgetWebhooksWebhooksItems + type ListsApiGetContactsFromListOpts struct + Limit optional.Int64 + ModifiedSince optional.String + Offset optional.Int64 + Sort optional.String + type ListsApiGetFolderListsOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type ListsApiGetListsOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type ListsApiService service + func (a *ListsApiService) AddContactToList(ctx context.Context, body AddContactToList, listId int64) (PostContactInfo, *http.Response, error) + func (a *ListsApiService) CreateList(ctx context.Context, body CreateList) (CreateModel, *http.Response, error) + func (a *ListsApiService) DeleteList(ctx context.Context, listId int64) (*http.Response, error) + func (a *ListsApiService) GetContactsFromList(ctx context.Context, listId int64, ...) (GetContacts, *http.Response, error) + func (a *ListsApiService) GetFolderLists(ctx context.Context, folderId int64, ...) (GetFolderLists, *http.Response, error) + func (a *ListsApiService) GetList(ctx context.Context, listId int64) (GetExtendedList, *http.Response, error) + func (a *ListsApiService) GetLists(ctx context.Context, localVarOptionals *ListsApiGetListsOpts) (GetLists, *http.Response, error) + func (a *ListsApiService) RemoveContactFromList(ctx context.Context, body RemoveContactFromList, listId int64) (PostContactInfo, *http.Response, error) + func (a *ListsApiService) UpdateList(ctx context.Context, body UpdateList, listId int64) (*http.Response, error) + type ManageIp struct + Ip string + type PostContactInfo struct + Contacts *PostContactInfoContacts + type PostContactInfoContacts struct + Failure []string + ProcessId int64 + Success []string + Total int64 + type PostSendFailed struct + BlackListedEmails []string + Code int64 + Message string + UnexistingEmails []string + WithoutListEmails []string + type PostSendSmsTestFailed struct + Code int64 + Message string + UnexistingSms []string + WithoutListSms []string + type ProcessApiGetProcessesOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + type ProcessApiService service + func (a *ProcessApiService) GetProcess(ctx context.Context, processId int64) (GetProcess, *http.Response, error) + func (a *ProcessApiService) GetProcesses(ctx context.Context, localVarOptionals *ProcessApiGetProcessesOpts) (GetProcesses, *http.Response, error) + type RemainingCreditModel struct + Child *RemainingCreditModelChild + Reseller *RemainingCreditModelReseller + type RemainingCreditModelChild struct + Email float64 + Sms float64 + type RemainingCreditModelReseller struct + Email float64 + Sms float64 + type RemoveContactFromList struct + All bool + Emails []string + Ids []int64 + type RemoveCredits struct + Email int64 + Sms int64 + type RequestContactExport struct + ContactFilter *interface{} + CustomContactFilter *RequestContactExportCustomContactFilter + ExportAttributes []string + NotifyUrl string + type RequestContactExportCustomContactFilter struct + ActionForContacts string + ActionForEmailCampaigns string + ActionForSmsCampaigns string + EmailCampaignId int64 + ListId int64 + SmsCampaignId int64 + type RequestContactImport struct + EmailBlacklist bool + EmptyContactsAttributes bool + FileBody string + FileUrl string + ListIds []int64 + NewList *RequestContactImportNewList + NotifyUrl string + SmsBlacklist bool + UpdateExistingContacts bool + type RequestContactImportNewList struct + FolderId int64 + ListName string + type RequestSmsRecipientExport struct + NotifyURL string + RecipientsType string + type ResellerApiCreateResellerChildOpts struct + Body optional.Interface + type ResellerApiGetResellerChildsOpts struct + Limit optional.Int64 + Offset optional.Int64 + type ResellerApiService service + func (a *ResellerApiService) AddCredits(ctx context.Context, body AddCredits, childIdentifier string) (RemainingCreditModel, *http.Response, error) + func (a *ResellerApiService) AssociateIpToChild(ctx context.Context, body ManageIp, childIdentifier string) (*http.Response, error) + func (a *ResellerApiService) CreateChildDomain(ctx context.Context, body AddChildDomain, childIdentifier string) (*http.Response, error) + func (a *ResellerApiService) CreateResellerChild(ctx context.Context, localVarOptionals *ResellerApiCreateResellerChildOpts) (CreateReseller, *http.Response, error) + func (a *ResellerApiService) DeleteChildDomain(ctx context.Context, childIdentifier string, domainName string) (*http.Response, error) + func (a *ResellerApiService) DeleteResellerChild(ctx context.Context, childIdentifier string) (*http.Response, error) + func (a *ResellerApiService) DissociateIpFromChild(ctx context.Context, body ManageIp, childIdentifier string) (*http.Response, error) + func (a *ResellerApiService) GetChildAccountCreationStatus(ctx context.Context, childIdentifier string) (GetChildAccountCreationStatus, *http.Response, error) + func (a *ResellerApiService) GetChildDomains(ctx context.Context, childIdentifier string) ([]string, *http.Response, error) + func (a *ResellerApiService) GetChildInfo(ctx context.Context, childIdentifier string) (GetChildInfo, *http.Response, error) + func (a *ResellerApiService) GetResellerChilds(ctx context.Context, localVarOptionals *ResellerApiGetResellerChildsOpts) (GetChildrenList, *http.Response, error) + func (a *ResellerApiService) GetSsoToken(ctx context.Context, childIdentifier string) (GetSsoToken, *http.Response, error) + func (a *ResellerApiService) RemoveCredits(ctx context.Context, body RemoveCredits, childIdentifier string) (RemainingCreditModel, *http.Response, error) + func (a *ResellerApiService) UpdateChildAccountStatus(ctx context.Context, body UpdateChildAccountStatus, childIdentifier string) (*http.Response, error) + func (a *ResellerApiService) UpdateChildDomain(ctx context.Context, body UpdateChildDomain, childIdentifier string, ...) (*http.Response, error) + func (a *ResellerApiService) UpdateResellerChild(ctx context.Context, body UpdateChild, childIdentifier string) (*http.Response, error) + type SMSCampaignsApiGetSmsCampaignsOpts struct + EndDate optional.String + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + StartDate optional.String + Status optional.String + type SMSCampaignsApiRequestSmsRecipientExportOpts struct + Body optional.Interface + type SMSCampaignsApiService service + func (a *SMSCampaignsApiService) CreateSmsCampaign(ctx context.Context, body CreateSmsCampaign) (CreateModel, *http.Response, error) + func (a *SMSCampaignsApiService) DeleteSmsCampaign(ctx context.Context, campaignId int64) (*http.Response, error) + func (a *SMSCampaignsApiService) GetSmsCampaign(ctx context.Context, campaignId int64) (GetSmsCampaign, *http.Response, error) + func (a *SMSCampaignsApiService) GetSmsCampaigns(ctx context.Context, localVarOptionals *SMSCampaignsApiGetSmsCampaignsOpts) (GetSmsCampaigns, *http.Response, error) + func (a *SMSCampaignsApiService) RequestSmsRecipientExport(ctx context.Context, campaignId int64, ...) (CreatedProcessId, *http.Response, error) + func (a *SMSCampaignsApiService) SendSmsCampaignNow(ctx context.Context, campaignId int64) (*http.Response, error) + func (a *SMSCampaignsApiService) SendSmsReport(ctx context.Context, body SendReport, campaignId int64) (*http.Response, error) + func (a *SMSCampaignsApiService) SendTestSms(ctx context.Context, body SendTestSms, campaignId int64) (*http.Response, error) + func (a *SMSCampaignsApiService) UpdateSmsCampaign(ctx context.Context, body UpdateSmsCampaign, campaignId int64) (*http.Response, error) + func (a *SMSCampaignsApiService) UpdateSmsCampaignStatus(ctx context.Context, body UpdateCampaignStatus, campaignId int64) (*http.Response, error) + type SendEmail struct + Attachment []SendEmailAttachment + AttachmentUrl string + Attributes *interface{} + EmailBcc []string + EmailCc []string + EmailTo []string + Headers *interface{} + ReplyTo string + Tags []string + type SendEmailAttachment struct + Content string + Name string + type SendReport struct + Email *SendReportEmail + Language string + type SendReportEmail struct + Body string + To []string + type SendSms struct + MessageId int64 + Reference string + RemainingCredits float32 + SmsCount int64 + UsedCredits float32 + type SendSmtpEmail struct + Attachment []SendSmtpEmailAttachment + Bcc []SendSmtpEmailBcc + Cc []SendSmtpEmailCc + Headers *interface{} + HtmlContent string + MessageVersions []SendSmtpEmailMessageVersions + Params *interface{} + ReplyTo *SendSmtpEmailReplyTo + Sender *SendSmtpEmailSender + Subject string + Tags []string + TemplateId int64 + TextContent string + To []SendSmtpEmailTo + type SendSmtpEmailAttachment struct + Content string + Name string + Url string + type SendSmtpEmailBcc struct + Email string + Name string + type SendSmtpEmailCc struct + Email string + Name string + type SendSmtpEmailMessageVersions struct + Bcc []SendSmtpEmailBcc + Cc []SendSmtpEmailCc + Params map[string]interface{} + ReplyTo *SendSmtpEmailReplyTo1 + Subject string + To []SendSmtpEmailTo1 + type SendSmtpEmailReplyTo struct + Email string + Name string + type SendSmtpEmailReplyTo1 struct + Email string + Name string + type SendSmtpEmailSender struct + Email string + Id int64 + Name string + type SendSmtpEmailTo struct + Email string + Name string + type SendSmtpEmailTo1 struct + Email string + Name string + type SendTemplateEmail struct + MessageId string + type SendTestEmail struct + EmailTo []string + type SendTestSms struct + PhoneNumber string + type SendTransacSms struct + Content string + Recipient string + Sender string + Tag string + Type_ string + WebUrl string + type SendersApiCreateSenderOpts struct + Body optional.Interface + type SendersApiGetSendersOpts struct + Domain optional.String + Ip optional.String + type SendersApiService service + func (a *SendersApiService) CreateSender(ctx context.Context, localVarOptionals *SendersApiCreateSenderOpts) (CreateSenderModel, *http.Response, error) + func (a *SendersApiService) DeleteSender(ctx context.Context, senderId int64) (*http.Response, error) + func (a *SendersApiService) GetIps(ctx context.Context) (GetIps, *http.Response, error) + func (a *SendersApiService) GetIpsFromSender(ctx context.Context, senderId int64) (GetIpsFromSender, *http.Response, error) + func (a *SendersApiService) GetSenders(ctx context.Context, localVarOptionals *SendersApiGetSendersOpts) (GetSendersList, *http.Response, error) + func (a *SendersApiService) UpdateSender(ctx context.Context, senderId int64, ...) (*http.Response, error) + type SendersApiUpdateSenderOpts struct + Body optional.Interface + type TransactionalEmailsApiDeleteHardbouncesOpts struct + Body optional.Interface + type TransactionalEmailsApiGetAggregatedSmtpReportOpts struct + Days optional.Int64 + EndDate optional.String + StartDate optional.String + Tag optional.String + type TransactionalEmailsApiGetEmailEventReportOpts struct + Days optional.Int64 + Email optional.String + EndDate optional.String + Event optional.String + Limit optional.Int64 + MessageId optional.String + Offset optional.Int64 + Sort optional.String + StartDate optional.String + Tags optional.String + TemplateId optional.Int64 + type TransactionalEmailsApiGetSmtpReportOpts struct + Days optional.Int64 + EndDate optional.String + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + StartDate optional.String + Tag optional.String + type TransactionalEmailsApiGetSmtpTemplatesOpts struct + Limit optional.Int64 + Offset optional.Int64 + Sort optional.String + TemplateStatus optional.Bool + type TransactionalEmailsApiGetTransacBlockedContactsOpts struct + EndDate optional.String + Limit optional.Int64 + Offset optional.Int64 + Senders optional.Interface + Sort optional.String + StartDate optional.String + type TransactionalEmailsApiGetTransacEmailsListOpts struct + Email optional.String + EndDate optional.String + MessageId optional.String + Sort optional.String + StartDate optional.String + TemplateId optional.Int64 + type TransactionalEmailsApiService service + func (a *TransactionalEmailsApiService) BlockNewDomain(ctx context.Context, body BlockDomain) (*http.Response, error) + func (a *TransactionalEmailsApiService) CreateSmtpTemplate(ctx context.Context, body CreateSmtpTemplate) (CreateModel, *http.Response, error) + func (a *TransactionalEmailsApiService) DeleteBlockedDomain(ctx context.Context, domain string) (*http.Response, error) + func (a *TransactionalEmailsApiService) DeleteHardbounces(ctx context.Context, ...) (*http.Response, error) + func (a *TransactionalEmailsApiService) DeleteSmtpTemplate(ctx context.Context, templateId int64) (*http.Response, error) + func (a *TransactionalEmailsApiService) GetAggregatedSmtpReport(ctx context.Context, ...) (GetAggregatedReport, *http.Response, error) + func (a *TransactionalEmailsApiService) GetBlockedDomains(ctx context.Context) (GetBlockedDomains, *http.Response, error) + func (a *TransactionalEmailsApiService) GetEmailEventReport(ctx context.Context, ...) (GetEmailEventReport, *http.Response, error) + func (a *TransactionalEmailsApiService) GetSmtpReport(ctx context.Context, ...) (GetReports, *http.Response, error) + func (a *TransactionalEmailsApiService) GetSmtpTemplate(ctx context.Context, templateId int64) (GetSmtpTemplateOverview, *http.Response, error) + func (a *TransactionalEmailsApiService) GetSmtpTemplates(ctx context.Context, ...) (GetSmtpTemplates, *http.Response, error) + func (a *TransactionalEmailsApiService) GetTransacBlockedContacts(ctx context.Context, ...) (GetTransacBlockedContacts, *http.Response, error) + func (a *TransactionalEmailsApiService) GetTransacEmailContent(ctx context.Context, uuid string) (GetTransacEmailContent, *http.Response, error) + func (a *TransactionalEmailsApiService) GetTransacEmailsList(ctx context.Context, ...) (GetTransacEmailsList, *http.Response, error) + func (a *TransactionalEmailsApiService) SendTemplate(ctx context.Context, body SendEmail, templateId int64) (SendTemplateEmail, *http.Response, error) + func (a *TransactionalEmailsApiService) SendTestTemplate(ctx context.Context, body SendTestEmail, templateId int64) (*http.Response, error) + func (a *TransactionalEmailsApiService) SendTransacEmail(ctx context.Context, body SendSmtpEmail) (CreateSmtpEmail, *http.Response, error) + func (a *TransactionalEmailsApiService) SmtpBlockedContactsEmailDelete(ctx context.Context, email string) (*http.Response, error) + func (a *TransactionalEmailsApiService) SmtpLogMessageIdDelete(ctx context.Context, messageId string) (*http.Response, error) + func (a *TransactionalEmailsApiService) UpdateSmtpTemplate(ctx context.Context, body UpdateSmtpTemplate, templateId int64) (*http.Response, error) + type TransactionalSMSApiGetSmsEventsOpts struct + Days optional.Int64 + EndDate optional.String + Event optional.String + Limit optional.Int64 + Offset optional.Int64 + PhoneNumber optional.String + Sort optional.String + StartDate optional.String + Tags optional.String + type TransactionalSMSApiGetTransacAggregatedSmsReportOpts struct + Days optional.Int64 + EndDate optional.String + StartDate optional.String + Tag optional.String + type TransactionalSMSApiGetTransacSmsReportOpts struct + Days optional.Int64 + EndDate optional.String + Sort optional.String + StartDate optional.String + Tag optional.String + type TransactionalSMSApiService service + func (a *TransactionalSMSApiService) GetSmsEvents(ctx context.Context, localVarOptionals *TransactionalSMSApiGetSmsEventsOpts) (GetSmsEventReport, *http.Response, error) + func (a *TransactionalSMSApiService) GetTransacAggregatedSmsReport(ctx context.Context, ...) (GetTransacAggregatedSmsReport, *http.Response, error) + func (a *TransactionalSMSApiService) GetTransacSmsReport(ctx context.Context, ...) (GetTransacSmsReport, *http.Response, error) + func (a *TransactionalSMSApiService) SendTransacSms(ctx context.Context, body SendTransacSms) (SendSms, *http.Response, error) + type UpdateAttribute struct + Enumeration []UpdateAttributeEnumeration + Value string + type UpdateAttributeEnumeration struct + Label string + Value int32 + type UpdateCampaignStatus struct + Status string + type UpdateChild struct + CompanyName string + Email string + FirstName string + LastName string + Password string + type UpdateChildAccountStatus struct + MarketingAutomation bool + SmsCampaign bool + TransactionalEmail bool + TransactionalSms bool + type UpdateChildDomain struct + Domain string + type UpdateContact struct + Attributes *interface{} + EmailBlacklisted bool + ListIds []int64 + SmsBlacklisted bool + SmtpBlacklistSender []string + UnlinkListIds []int64 + type UpdateEmailCampaign struct + AbTesting bool + AttachmentUrl string + Footer string + Header string + HtmlContent string + HtmlUrl string + IncreaseRate int64 + InitialQuota int64 + InlineImageActivation bool + IpWarmupEnable bool + MirrorActive bool + Name string + Params *interface{} + Recipients *UpdateEmailCampaignRecipients + Recurring bool + ReplyTo string + ScheduledAt string + SendAtBestTime bool + Sender *UpdateEmailCampaignSender + SplitRule int64 + Subject string + SubjectA string + SubjectB string + Tag string + ToField string + UtmCampaign string + WinnerCriteria string + WinnerDelay int64 + type UpdateEmailCampaignRecipients struct + ExclusionListIds []int64 + ListIds []int64 + type UpdateEmailCampaignSender struct + Email string + Id int64 + Name string + type UpdateList struct + FolderId int64 + Name string + type UpdateSender struct + Email string + Ips []CreateSenderIps + Name string + type UpdateSmsCampaign struct + Content string + Name string + Recipients *CreateSmsCampaignRecipients + ScheduledAt string + Sender string + type UpdateSmtpTemplate struct + AttachmentUrl string + HtmlContent string + HtmlUrl string + IsActive bool + ReplyTo string + Sender *UpdateSmtpTemplateSender + Subject string + Tag string + TemplateName string + ToField string + type UpdateSmtpTemplateSender struct + Email string + Id int64 + Name string + type UpdateWebhook struct + Description string + Events []string + Url string + type UploadImageToGallery struct + ImageUrl string + Name string + type WebhooksApiGetWebhooksOpts struct + Type_ optional.String + type WebhooksApiService service + func (a *WebhooksApiService) CreateWebhook(ctx context.Context, body CreateWebhook) (CreateModel, *http.Response, error) + func (a *WebhooksApiService) DeleteWebhook(ctx context.Context, webhookId int64) (*http.Response, error) + func (a *WebhooksApiService) GetWebhook(ctx context.Context, webhookId int64) (GetWebhook, *http.Response, error) + func (a *WebhooksApiService) GetWebhooks(ctx context.Context, localVarOptionals *WebhooksApiGetWebhooksOpts) (GetWebhooks, *http.Response, error) + func (a *WebhooksApiService) UpdateWebhook(ctx context.Context, body UpdateWebhook, webhookId int64) (*http.Response, error) Other modules containing this package bitbucket.org/schoters/APIv3-go-library