Documentation ¶
Index ¶
- func Stringify(instance interface{}) string
- type AnalyticsGenerateQuery
- type AnalyticsGenerateQueryDate
- type AnalyticsGenerateQueryDateDay
- type AnalyticsGenerateQueryDateDays
- type BucketService
- type BucketURLRequest
- type BucketURLRequestFile
- type BucketURLRequestResource
- type Client
- func (client *Client) Authenticate(username string, password string)
- func (client *Client) AuthenticateTier(tier string, username string, password string)
- func (client *Client) Do(req *http.Request, v interface{}) (*Response, error)
- func (client *Client) NewRequest(method, urlStr string, body interface{}) (*http.Request, error)
- type ClientConfig
- type Conversation
- type ConversationActive
- type ConversationAllMessageNewOriginal
- type ConversationAllMessageNewReference
- type ConversationAllMessageNewUser
- type ConversationAnimationMessageNew
- type ConversationAnimationMessageNewContent
- type ConversationAnimationMessageUpdate
- type ConversationAssigned
- type ConversationAudioMessageNew
- type ConversationAudioMessageNewContent
- type ConversationAudioMessageUpdate
- type ConversationBlock
- type ConversationBlockData
- type ConversationBlockUpdate
- type ConversationBrowsing
- type ConversationBrowsingAction
- type ConversationBrowsingAssist
- type ConversationBrowsingAssistClick
- type ConversationBrowsingAssistMouse
- type ConversationBrowsingAssistScroll
- type ConversationBrowsingData
- type ConversationCall
- type ConversationCallData
- type ConversationCallPayload
- type ConversationCallSignalingPayload
- type ConversationCarouselMessageNew
- type ConversationCarouselMessageNewContent
- type ConversationCarouselMessageNewContentTarget
- type ConversationCarouselMessageNewContentTargetAction
- type ConversationCarouselMessageUpdate
- type ConversationCompose
- type ConversationComposeAtom
- type ConversationComposeAtomUser
- type ConversationComposeMessageNew
- type ConversationData
- type ConversationDeliveredMessageMark
- type ConversationEvent
- type ConversationEventMessageNew
- type ConversationEventMessageNewContent
- type ConversationEventMessageUpdate
- type ConversationEventsData
- type ConversationFieldMessageNew
- type ConversationFieldMessageNewContent
- type ConversationFieldMessageUpdate
- type ConversationFile
- type ConversationFileMessageNew
- type ConversationFileMessageNewContent
- type ConversationFileMessageUpdate
- type ConversationFilesData
- type ConversationInboxUpdate
- type ConversationListData
- type ConversationMessage
- type ConversationMessageAnimationContent
- type ConversationMessageAudioContent
- type ConversationMessageCarouselContent
- type ConversationMessageCarouselContentTarget
- type ConversationMessageCarouselContentTargetAction
- type ConversationMessageData
- type ConversationMessageDispatched
- type ConversationMessageDispatchedData
- type ConversationMessageEventContent
- type ConversationMessageFieldContent
- type ConversationMessageFileContent
- type ConversationMessageIgnored
- type ConversationMessageNoteContent
- type ConversationMessageOriginal
- type ConversationMessagePickerContent
- type ConversationMessagePickerContentChoice
- type ConversationMessagePickerContentChoiceAction
- type ConversationMessagePreview
- type ConversationMessagePreviewInformation
- type ConversationMessageReference
- type ConversationMessageTextContent
- type ConversationMessageUser
- type ConversationMessagesData
- type ConversationMeta
- type ConversationMetaConnection
- type ConversationMetaData
- type ConversationMetaDevice
- type ConversationMetaDeviceGeolocation
- type ConversationMetaDeviceGeolocationCoordinates
- type ConversationMetaDeviceSystem
- type ConversationMetaDeviceSystemBrowser
- type ConversationMetaDeviceSystemEngine
- type ConversationMetaDeviceSystemOS
- type ConversationMetaUpdate
- type ConversationMetaUpdateDevice
- type ConversationMetaUpdateDeviceGeolocation
- type ConversationMetaUpdateDeviceGeolocationCoordinates
- type ConversationMetaUpdateDeviceSystem
- type ConversationMetaUpdateDeviceSystemBrowser
- type ConversationMetaUpdateDeviceSystemEngine
- type ConversationMetaUpdateDeviceSystemOS
- type ConversationNew
- type ConversationNewData
- type ConversationNoteMessageNew
- type ConversationNoteMessageUpdate
- type ConversationOpenUpdate
- type ConversationOriginal
- type ConversationOriginalData
- type ConversationPage
- type ConversationPagesData
- type ConversationParticipant
- type ConversationParticipants
- type ConversationParticipantsData
- type ConversationParticipantsSave
- type ConversationPickerMessageNew
- type ConversationPickerMessageNewContent
- type ConversationPickerMessageNewContentChoice
- type ConversationPickerMessageNewContentChoiceAction
- type ConversationPickerMessageUpdate
- type ConversationPreviewMessage
- type ConversationReadMessageMark
- type ConversationReminderPayload
- type ConversationReportPayload
- type ConversationRoutingAssign
- type ConversationRoutingAssignAssigned
- type ConversationRoutingAssignData
- type ConversationRoutingAssignUpdate
- type ConversationRoutingAssignUpdateAssigned
- type ConversationSpam
- type ConversationSpamContent
- type ConversationSpamContentData
- type ConversationSpamData
- type ConversationSpamDecision
- type ConversationState
- type ConversationStateData
- type ConversationStateUpdate
- type ConversationSuggestedData
- type ConversationSuggestedDataData
- type ConversationSuggestedDataDelete
- type ConversationSuggestedSegment
- type ConversationSuggestedSegmentData
- type ConversationSuggestedSegmentDelete
- type ConversationTextMessageNew
- type ConversationTextMessageUpdate
- type ConversationTranscriptRequest
- type ConversationUnread
- type ConversationVerify
- type ConversationVerifyData
- type ConversationVerifyUpdate
- type ConversationWidgetAction
- type ConversationWidgetActionData
- type ConversationWidgetActionStrategy
- type ConversationWidgetButtonPayload
- type ConversationWidgetDataEditPayload
- type ConversationWidgetDataFetchPayload
- type EventsBrowsingGeneric
- type EventsBrowsingRequestInitiated
- type EventsBrowsingRequestRejected
- type EventsCallGeneric
- type EventsCallRequestInitiated
- type EventsCallRequestRejected
- type EventsCampaignDispatched
- type EventsCampaignGeneric
- type EventsCampaignProgress
- type EventsCampaignRunning
- type EventsGeneric
- type EventsImportGeneric
- type EventsMode
- type EventsPayloadHook
- type EventsPeopleBindSession
- type EventsPeopleGeneric
- type EventsPeopleImportDone
- type EventsPeopleImportProgress
- type EventsPeopleImportProgressCount
- type EventsPeopleImportProgressItem
- type EventsPeopleSyncProfile
- type EventsPluginGeneric
- type EventsPullEndpoints
- type EventsPullEndpointsData
- type EventsPullEndpointsSocket
- type EventsReceiveAnimationMessage
- type EventsReceiveAnimationMessageContent
- type EventsReceiveAudioMessage
- type EventsReceiveAudioMessageContent
- type EventsReceiveAuthenticationUnauthorized
- type EventsReceiveBucketURLAvatarGenerated
- type EventsReceiveBucketURLCampaignGenerated
- type EventsReceiveBucketURLHelpdeskGenerated
- type EventsReceiveBucketURLProcessingGenerated
- type EventsReceiveBucketURLStatusGenerated
- type EventsReceiveBucketURLUploadGenerated
- type EventsReceiveBucketURLUploadGeneratedPolicy
- type EventsReceiveBucketURLUploadGeneratedResource
- type EventsReceiveBucketURLUploadGeneratedURL
- type EventsReceiveBucketURLWebsiteGenerated
- type EventsReceiveCarouselMessage
- type EventsReceiveCarouselMessageContent
- type EventsReceiveCarouselMessageContentTarget
- type EventsReceiveCarouselMessageContentTargetAction
- type EventsReceiveCommonMessageOriginal
- type EventsReceiveCommonMessageReference
- type EventsReceiveCommonMessageUser
- type EventsReceiveEmailSubscribe
- type EventsReceiveEmailTrackView
- type EventsReceiveEventMessage
- type EventsReceiveEventMessageContent
- type EventsReceiveFieldMessage
- type EventsReceiveFieldMessageContent
- type EventsReceiveFileMessage
- type EventsReceiveFileMessageContent
- type EventsReceiveGenericMessage
- type EventsReceiveGenericMessageType
- type EventsReceiveMediaAnimationListed
- type EventsReceiveMediaAnimationListedResult
- type EventsReceiveMessageAcknowledge
- type EventsReceiveMessageAcknowledgeDetails
- type EventsReceiveMessageComposeReceive
- type EventsReceiveMessageComposeReceiveUser
- type EventsReceiveMessageComposeSend
- type EventsReceiveMessageNotify
- type EventsReceiveMessageRemoved
- type EventsReceiveMessageUpdated
- type EventsReceiveNoteMessage
- type EventsReceivePeopleProfileCreated
- type EventsReceivePeopleProfileRemoved
- type EventsReceivePeopleProfileUpdated
- type EventsReceivePickerMessage
- type EventsReceivePickerMessageContent
- type EventsReceivePickerMessageContentChoice
- type EventsReceivePickerMessageContentChoiceAction
- type EventsReceivePluginChannel
- type EventsReceivePluginEvent
- type EventsReceivePluginSettingsSaved
- type EventsReceiveSessionError
- type EventsReceiveSessionRemoved
- type EventsReceiveSessionRequestInitiated
- type EventsReceiveSessionSetAddress
- type EventsReceiveSessionSetAvatar
- type EventsReceiveSessionSetBlock
- type EventsReceiveSessionSetClosed
- type EventsReceiveSessionSetData
- type EventsReceiveSessionSetEmail
- type EventsReceiveSessionSetInbox
- type EventsReceiveSessionSetMentions
- type EventsReceiveSessionSetNickname
- type EventsReceiveSessionSetOpenStateOperator
- type EventsReceiveSessionSetOpened
- type EventsReceiveSessionSetParticipants
- type EventsReceiveSessionSetParticipantsOne
- type EventsReceiveSessionSetPhone
- type EventsReceiveSessionSetRouting
- type EventsReceiveSessionSetSegments
- type EventsReceiveSessionSetState
- type EventsReceiveSessionSetSubject
- type EventsReceiveSessionSyncCapabilities
- type EventsReceiveSessionSyncCapabilitiesData
- type EventsReceiveSessionSyncEvents
- type EventsReceiveSessionSyncEventsOne
- type EventsReceiveSessionSyncGeolocation
- type EventsReceiveSessionSyncGeolocationData
- type EventsReceiveSessionSyncGeolocationDataCoordinates
- type EventsReceiveSessionSyncLocales
- type EventsReceiveSessionSyncLocalesData
- type EventsReceiveSessionSyncNetwork
- type EventsReceiveSessionSyncNetworkData
- type EventsReceiveSessionSyncNetworkDataConnection
- type EventsReceiveSessionSyncPages
- type EventsReceiveSessionSyncPagesOne
- type EventsReceiveSessionSyncRating
- type EventsReceiveSessionSyncRatingData
- type EventsReceiveSessionSyncSystem
- type EventsReceiveSessionSyncSystemData
- type EventsReceiveSessionSyncSystemDataBrowser
- type EventsReceiveSessionSyncSystemDataEngine
- type EventsReceiveSessionSyncSystemDataOS
- type EventsReceiveSessionSyncTimezone
- type EventsReceiveSessionSyncTimezoneData
- type EventsReceiveSessionSyncTopic
- type EventsReceiveSessionUpdateAvailability
- type EventsReceiveSessionUpdateVerify
- type EventsReceiveTextMessage
- type EventsReceiveWebsiteUpdateOperatorsAvailability
- type EventsReceiveWebsiteUpdateOperatorsAvailabilityItself
- type EventsReceiveWebsiteUpdateVisitorsCount
- type EventsReceiveWebsiteUsersAvailable
- type EventsRegister
- type EventsSendAuthentication
- type EventsSendBind
- type EventsService
- func (service *EventsService) BindPopSocket(events []string)
- func (service *EventsService) BindPushSocket(events []string)
- func (service *EventsService) BindSocket(events []string)
- func (service *EventsService) Listen(mode EventsMode, events []string, handleBound func(*EventsRegister), ...) error
- func (service *EventsService) RebindSocket()
- func (service *EventsService) ReceiveHook(payload *[]byte) (bool, error)
- func (service *EventsService) VerifyHook(localSecret string, remotePayload *[]byte, remoteRawTimestamp string, ...) bool
- type EventsSessionGeneric
- type EventsSessionGenericUnbound
- type EventsSpamDecision
- type EventsSpamMessage
- type EventsStatusHealthChanged
- type EventsStatusHealthChangedNode
- type EventsUserGeneric
- type EventsWebsiteGeneric
- type EventsWidgetActionProcessed
- type Helpdesk
- type HelpdeskCreate
- type HelpdeskData
- type HelpdeskDomain
- type HelpdeskDomainChangeRequest
- type HelpdeskDomainData
- type HelpdeskDomainSetupFlow
- type HelpdeskDomainSetupFlowData
- type HelpdeskDomainSetupFlowSetup
- type HelpdeskDomainSetupFlowSetupRecord
- type HelpdeskLocale
- type HelpdeskLocaleAdd
- type HelpdeskLocaleArticle
- type HelpdeskLocaleArticleAdd
- type HelpdeskLocaleArticleAlternate
- type HelpdeskLocaleArticleAlternateData
- type HelpdeskLocaleArticleAlternateListData
- type HelpdeskLocaleArticleAlternateSave
- type HelpdeskLocaleArticleCategory
- type HelpdeskLocaleArticleCategoryData
- type HelpdeskLocaleArticleCategoryListData
- type HelpdeskLocaleArticleCategoryNew
- type HelpdeskLocaleArticleCategoryNewData
- type HelpdeskLocaleArticleCategoryUpdate
- type HelpdeskLocaleArticleData
- type HelpdeskLocaleArticleListData
- type HelpdeskLocaleArticleNew
- type HelpdeskLocaleArticleNewData
- type HelpdeskLocaleArticlePage
- type HelpdeskLocaleArticlePageData
- type HelpdeskLocaleArticlePublish
- type HelpdeskLocaleArticlePublishData
- type HelpdeskLocaleCategoryAdd
- type HelpdeskLocaleData
- type HelpdeskLocaleExternalImport
- type HelpdeskLocaleFeedbackItem
- type HelpdeskLocaleFeedbackItemArticle
- type HelpdeskLocaleFeedbackItemSession
- type HelpdeskLocaleFeedbackItemSessionAssigned
- type HelpdeskLocaleFeedbackItemSessionGeolocation
- type HelpdeskLocaleFeedbackItemSessionGeolocationCoordinates
- type HelpdeskLocaleFeedbackListData
- type HelpdeskLocaleFeedbackRatings
- type HelpdeskLocaleFeedbackRatingsData
- type HelpdeskLocaleFeedbackRatingsRatings
- type HelpdeskLocaleListData
- type HelpdeskLocaleSection
- type HelpdeskLocaleSectionAdd
- type HelpdeskLocaleSectionData
- type HelpdeskLocaleSectionListData
- type HelpdeskLocaleSectionNew
- type HelpdeskLocaleSectionNewData
- type HelpdeskRedirection
- type HelpdeskRedirectionAdd
- type HelpdeskRedirectionData
- type HelpdeskRedirectionListData
- type HelpdeskRedirectionNew
- type HelpdeskRedirectionNewData
- type HelpdeskRemove
- type HelpdeskRemoveVerify
- type HelpdeskSettings
- type HelpdeskSettingsAccess
- type HelpdeskSettingsAppearance
- type HelpdeskSettingsAppearanceLogos
- type HelpdeskSettingsBehavior
- type HelpdeskSettingsData
- type HelpdeskSettingsInclude
- type MediaService
- type PeopleCampaign
- type PeopleCampaignsData
- type PeopleConversationsData
- type PeopleData
- type PeopleDataData
- type PeopleEvent
- type PeopleEventAdd
- type PeopleEventsData
- type PeopleFilter
- type PeopleProfile
- type PeopleProfileCard
- type PeopleProfileCardActive
- type PeopleProfileCardCompany
- type PeopleProfileCardCompanyMetrics
- type PeopleProfileCardGeolocation
- type PeopleProfileCardGeolocationCoordinates
- type PeopleProfileCardPerson
- type PeopleProfileCardPersonEmployment
- type PeopleProfileCardPersonProfile
- type PeopleProfileData
- type PeopleProfileImport
- type PeopleProfileImportData
- type PeopleProfileImportSetup
- type PeopleProfileImportSetupMapping
- type PeopleProfileImportSetupOptions
- type PeopleProfileListData
- type PeopleProfileNew
- type PeopleProfileNewData
- type PeopleProfileUpdateCard
- type PeopleStatistics
- type PeopleStatisticsData
- type PeopleSubscription
- type PeopleSubscriptionData
- type PeopleSubscriptionUpdate
- type PeopleSuggestedData
- type PeopleSuggestedDataData
- type PeopleSuggestedDataDelete
- type PeopleSuggestedEvent
- type PeopleSuggestedEventData
- type PeopleSuggestedEventDelete
- type PeopleSuggestedSegment
- type PeopleSuggestedSegmentData
- type PeopleSuggestedSegmentDelete
- type PluginConnectAccount
- type PluginConnectAccountData
- type PluginConnectAllWebsites
- type PluginConnectAllWebsitesData
- type PluginConnectEndpoints
- type PluginConnectEndpointsData
- type PluginConnectEndpointsSocket
- type PluginConnectWebsitesSince
- type PluginConnectWebsitesSinceData
- type PluginService
- func (service *PluginService) CheckConnectSessionValidity() (*Response, error)
- func (service *PluginService) ClearBlockedVisitorsInRule(websiteID string, rule string) (*Response, error)
- func (service *PluginService) DispatchPluginEvent(websiteID string, pluginID string, payload PluginSubscriptionEventDispatch) (*Response, error)
- func (service *PluginService) ForwardPluginPayloadToChannel(websiteID string, pluginID string, payload PluginSubscriptionChannelForward) (*Response, error)
- func (service *PluginService) GetConnectAccount() (*PluginConnectAccount, *Response, error)
- func (service *PluginService) GetConnectEndpoints() (*PluginConnectEndpoints, *Response, error)
- func (service *PluginService) GetPluginUsageBills(websiteID string, pluginID string) (*Response, error)
- func (service *PluginService) GetSubscriptionDetails(websiteID string, pluginID string) (*PluginSubscription, *Response, error)
- func (service *PluginService) GetSubscriptionSettings(websiteID string, pluginID string) (*PluginSubscriptionSettings, *Response, error)
- func (service *PluginService) ListAllActiveSubscriptions() (*[]PluginSubscription, *Response, error)
- func (service *PluginService) ListAllConnectWebsites(pageNumber uint, filterConfigured bool) (*[]PluginConnectAllWebsites, *Response, error)
- func (service *PluginService) ListConnectWebsitesSince(dateSince time.Time, filterConfigured bool) (*[]PluginConnectWebsitesSince, *Response, error)
- func (service *PluginService) ListSubscriptionsForWebsite(websiteID string) (*[]PluginSubscription, *Response, error)
- func (service *PluginService) ReportPluginUsageToBill(websiteID string, pluginID string, usage PluginSubscriptionBillUsageReport) (*Response, error)
- func (service *PluginService) SaveSubscriptionSettings(websiteID string, pluginID string, settings interface{}) (*Response, error)
- func (service *PluginService) SubscribeWebsiteToPlugin(websiteID string, pluginID string) (*Response, error)
- func (service *PluginService) UnsubscribePluginFromWebsite(websiteID string, pluginID string) (*Response, error)
- func (service *PluginService) UpdateSubscriptionSettings(websiteID string, pluginID string, settings interface{}) (*Response, error)
- type PluginSubscription
- type PluginSubscriptionBillUsageReport
- type PluginSubscriptionChannelForward
- type PluginSubscriptionCreate
- type PluginSubscriptionData
- type PluginSubscriptionEventDispatch
- type PluginSubscriptionListData
- type PluginSubscriptionPlan
- type PluginSubscriptionSettings
- type PluginSubscriptionSettingsData
- type Response
- type Website
- type WebsiteAnalyticsGenerateData
- type WebsiteAnalyticsGeneratePoint
- type WebsiteAvailabilityOperator
- type WebsiteAvailabilityOperatorTime
- type WebsiteAvailabilityOperatorsData
- type WebsiteAvailabilityStatus
- type WebsiteAvailabilityStatusData
- type WebsiteBatchConversationsOperation
- type WebsiteBatchPeopleOperation
- type WebsiteBatchPeopleOperationInner
- type WebsiteBatchPeopleOperationInnerSearch
- type WebsiteCampaignExcerpt
- type WebsiteCampaignExcerptsData
- type WebsiteCampaignItem
- type WebsiteCampaignItemData
- type WebsiteCampaignItemFlow
- type WebsiteCampaignItemOptions
- type WebsiteCampaignItemRecipients
- type WebsiteCampaignItemSender
- type WebsiteCampaignItemStatistics
- type WebsiteCampaignNew
- type WebsiteCampaignNewData
- type WebsiteCampaignNewItem
- type WebsiteCampaignRecipient
- type WebsiteCampaignRecipientPerson
- type WebsiteCampaignRecipientsData
- type WebsiteCampaignStatistic
- type WebsiteCampaignStatisticProfile
- type WebsiteCampaignStatisticProfilePerson
- type WebsiteCampaignStatisticProfilePersonGeolocation
- type WebsiteCampaignStatisticProfilePersonGeolocationCoordinates
- type WebsiteCampaignStatisticsData
- type WebsiteCampaignTagsData
- type WebsiteCampaignTemplateExcerpt
- type WebsiteCampaignTemplateExcerptsData
- type WebsiteCampaignTemplateItem
- type WebsiteCampaignTemplateItemData
- type WebsiteCampaignTemplateNew
- type WebsiteCampaignTemplateNewData
- type WebsiteCampaignTemplateNewItem
- type WebsiteCreate
- type WebsiteData
- type WebsiteFilter
- type WebsiteOperator
- type WebsiteOperatorData
- type WebsiteOperatorEdit
- type WebsiteOperatorEmail
- type WebsiteOperatorEmailTarget
- type WebsiteOperatorInvite
- type WebsiteOperatorInviteVerify
- type WebsiteOperatorListData
- type WebsiteOperatorListOne
- type WebsiteOperatorsLastActiveListData
- type WebsiteOperatorsLastActiveListOne
- type WebsiteRemove
- type WebsiteRemoveVerify
- type WebsiteService
- func (service *WebsiteService) AbortOngoingCallSessionForConversation(websiteID string, sessionID string, callID string) (*Response, error)
- func (service *WebsiteService) AbortWebsiteDeletion(websiteID string) (*Response, error)
- func (service *WebsiteService) AddHelpdeskLocale(websiteID string, locale string) (*Response, error)
- func (service *WebsiteService) AddHelpdeskLocaleCategory(websiteID string, locale string, name string) (*HelpdeskLocaleArticleCategoryNew, *Response, error)
- func (service *WebsiteService) AddHelpdeskLocaleSection(websiteID string, locale string, categoryId string, name string) (*HelpdeskLocaleSectionNew, *Response, error)
- func (service *WebsiteService) AddHelpdeskRedirection(websiteID string, redirectionPath string, redirectionTarget string) (*HelpdeskRedirectionNew, *Response, error)
- func (service *WebsiteService) AddNewHelpdeskLocaleArticle(websiteID string, locale string, title string) (*HelpdeskLocaleArticleNew, *Response, error)
- func (service *WebsiteService) AddNewPeopleProfile(websiteID string, peopleProfile PeopleProfileUpdateCard) (*PeopleProfileNew, *Response, error)
- func (service *WebsiteService) AddPeopleEvent(websiteID string, peopleID string, peopleEvent PeopleEventAdd) (*Response, error)
- func (service *WebsiteService) AssignConversationRouting(websiteID string, sessionID string, assign ConversationRoutingAssignUpdate) (*Response, error)
- func (service *WebsiteService) AssistExistingBrowsingSession(websiteID string, sessionID string, browsingID string, ...) (*Response, error)
- func (service *WebsiteService) BatchReadConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
- func (service *WebsiteService) BatchRemoveConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
- func (service *WebsiteService) BatchRemovePeople(websiteID string, people WebsiteBatchPeopleOperationInner) (*Response, error)
- func (service *WebsiteService) BatchResolveConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
- func (service *WebsiteService) BlockIncomingMessagesForConversation(websiteID string, sessionID string, blocked bool) (*Response, error)
- func (service *WebsiteService) ChangeConversationState(websiteID string, sessionID string, state string) (*Response, error)
- func (service *WebsiteService) ChangeOperatorMembership(websiteID string, userID string, role string, title *string) (*Response, error)
- func (service *WebsiteService) CheckCampaignExists(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) CheckCampaignTemplateExists(websiteID string, templateID string) (*Response, error)
- func (service *WebsiteService) CheckConversationExists(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskExists(websiteID string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskLocaleArticleAlternateExists(websiteID string, locale string, articleId string, localeLinked string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskLocaleArticleExists(websiteID string, locale string, articleId string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskLocaleCategoryExists(websiteID string, locale string, categoryId string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskLocaleExists(websiteID string, locale string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskLocaleSectionExists(websiteID string, locale string, categoryId string, sectionId string) (*Response, error)
- func (service *WebsiteService) CheckHelpdeskRedirectionExists(websiteID string, redirectionId string) (*Response, error)
- func (service *WebsiteService) CheckPeopleProfileExists(websiteID string, peopleID string) (*Response, error)
- func (service *WebsiteService) CheckWebsiteExists(domain string) (*Response, error)
- func (service *WebsiteService) ComposeMessageInConversation(websiteID string, sessionID string, compose ConversationComposeMessageNew) (*Response, error)
- func (service *WebsiteService) CountBlockedVisitors(websiteID string) (*[]WebsiteVisitorsBlocked, *Response, error)
- func (service *WebsiteService) CountBlockedVisitorsInRule(websiteID string, rule string) (*WebsiteVisitorsBlocked, *Response, error)
- func (service *WebsiteService) CountVisitors(websiteID string) (*WebsiteVisitorCount, *Response, error)
- func (service *WebsiteService) CreateNewCampaign(websiteID string, campaignType string, campaignName string) (*WebsiteCampaignNew, *Response, error)
- func (service *WebsiteService) CreateNewCampaignTemplate(websiteID string, templateFormat string, templateName string) (*WebsiteCampaignTemplateNew, *Response, error)
- func (service *WebsiteService) CreateNewConversation(websiteID string) (*ConversationNew, *Response, error)
- func (service *WebsiteService) CreateWebsite(websiteData WebsiteCreate) (*Website, *Response, error)
- func (service *WebsiteService) DeleteHelpdesk(websiteID string, verify HelpdeskRemoveVerify) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskLocale(websiteID string, locale string) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskLocaleCategory(websiteID string, locale string, categoryId string) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string) (*Response, error)
- func (service *WebsiteService) DeleteHelpdeskRedirection(websiteID string, redirectionId string) (*Response, error)
- func (service *WebsiteService) DeleteSuggestedConversationDataKey(websiteID string, key string) (*Response, error)
- func (service *WebsiteService) DeleteSuggestedConversationSegment(websiteID string, segment string) (*Response, error)
- func (service *WebsiteService) DeleteSuggestedPeopleDataKey(websiteID string, key string) (*Response, error)
- func (service *WebsiteService) DeleteSuggestedPeopleEvent(websiteID string, text string) (*Response, error)
- func (service *WebsiteService) DeleteSuggestedPeopleSegment(websiteID string, segment string) (*Response, error)
- func (service *WebsiteService) DeleteWebsite(websiteID string, verify WebsiteRemoveVerify) (*Response, error)
- func (service *WebsiteService) DeliverWidgetButtonActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, ...) (*ConversationWidgetAction, *Response, error)
- func (service *WebsiteService) DeliverWidgetDataEditActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, ...) (*ConversationWidgetAction, *Response, error)
- func (service *WebsiteService) DeliverWidgetDataFetchActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, ...) (*ConversationWidgetAction, *Response, error)
- func (service *WebsiteService) DispatchCampaign(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) ExportHelpdeskLocaleArticles(websiteID string, locale string) (*Response, error)
- func (service *WebsiteService) ExportPeopleProfiles(websiteID string) (*Response, error)
- func (service *WebsiteService) FilterCampaignTemplates(websiteID string, pageNumber uint, searchName string, filterTypeStatic bool, ...) (*[]WebsiteCampaignTemplateExcerpt, *Response, error)
- func (service *WebsiteService) FilterCampaigns(websiteID string, pageNumber uint, searchName string, filterTag string, ...) (*[]WebsiteCampaignExcerpt, *Response, error)
- func (service *WebsiteService) FilterConversations(websiteID string, pageNumber uint, filterInboxID string, filterUnread bool, ...) (*[]Conversation, *Response, error)
- func (service *WebsiteService) FilterPeopleConversations(websiteID string, peopleID string, pageNumber uint, filterUnread bool, ...) ([]string, *Response, error)
- func (service *WebsiteService) FlushLastActiveWebsiteOperators(websiteID string) (*Response, error)
- func (service *WebsiteService) GenerateAnalytics(websiteID string, query AnalyticsGenerateQuery) (*[]WebsiteAnalyticsGeneratePoint, *Response, error)
- func (service *WebsiteService) GenerateHelpdeskDomainSetupFlow(websiteID string, custom string) (*HelpdeskDomainSetupFlow, *Response, error)
- func (service *WebsiteService) GetBlockStatusForConversation(websiteID string, sessionID string) (*ConversationBlock, *Response, error)
- func (service *WebsiteService) GetCampaign(websiteID string, campaignID string) (*WebsiteCampaignItem, *Response, error)
- func (service *WebsiteService) GetCampaignTemplate(websiteID string, templateID string) (*WebsiteCampaignTemplateItem, *Response, error)
- func (service *WebsiteService) GetConversation(websiteID string, sessionID string) (*Conversation, *Response, error)
- func (service *WebsiteService) GetConversationMetas(websiteID string, sessionID string) (*ConversationMeta, *Response, error)
- func (service *WebsiteService) GetConversationParticipants(websiteID string, sessionID string) (*ConversationParticipants, *Response, error)
- func (service *WebsiteService) GetConversationRoutingAssign(websiteID string, sessionID string) (*ConversationRoutingAssign, *Response, error)
- func (service *WebsiteService) GetConversationState(websiteID string, sessionID string) (*ConversationState, *Response, error)
- func (service *WebsiteService) GetMessageInConversation(websiteID string, sessionID string, fingerprint int) (*ConversationMessage, *Response, error)
- func (service *WebsiteService) GetMessagesInConversationBefore(websiteID string, sessionID string, timestampBefore uint) (*[]ConversationMessage, *Response, error)
- func (service *WebsiteService) GetMessagesInConversationLast(websiteID string, sessionID string) (*[]ConversationMessage, *Response, error)
- func (service *WebsiteService) GetOngoingCallSessionForConversation(websiteID string, sessionID string) (*ConversationCall, *Response, error)
- func (service *WebsiteService) GetOriginalMessageInConversation(websiteID string, sessionID string, originalID string) (*ConversationOriginal, *Response, error)
- func (service *WebsiteService) GetPeopleData(websiteID string, peopleID string) (*PeopleData, *Response, error)
- func (service *WebsiteService) GetPeopleProfile(websiteID string, peopleID string) (*PeopleProfile, *Response, error)
- func (service *WebsiteService) GetPeopleStatistics(websiteID string) (*PeopleStatistics, *Response, error)
- func (service *WebsiteService) GetPeopleSubscriptionStatus(websiteID string, peopleID string) (*PeopleSubscription, *Response, error)
- func (service *WebsiteService) GetSessionIdentifierFromToken(websiteID string, tokenID string) (*WebsiteVisitorsToken, *Response, error)
- func (service *WebsiteService) GetVerifyKey(websiteID string) (*WebsiteVerifyKey, *Response, error)
- func (service *WebsiteService) GetVerifySettings(websiteID string) (*WebsiteVerifySettings, *Response, error)
- func (service *WebsiteService) GetVerifyStatusForConversation(websiteID string, sessionID string) (*ConversationVerify, *Response, error)
- func (service *WebsiteService) GetWebsite(websiteID string) (*Website, *Response, error)
- func (service *WebsiteService) GetWebsiteAvailabilityStatus(websiteID string) (*WebsiteAvailabilityStatus, *Response, error)
- func (service *WebsiteService) GetWebsiteOperator(websiteID string, userID string) (*WebsiteOperator, *Response, error)
- func (service *WebsiteService) GetWebsiteSettings(websiteID string) (*WebsiteSettings, *Response, error)
- func (service *WebsiteService) ImportExternalHelpdeskToLocale(websiteID string, locale string, helpdeskUrl string) (*Response, error)
- func (service *WebsiteService) ImportPeopleProfiles(websiteID string, profileImportSetup PeopleProfileImportSetup) (*PeopleProfileImport, *Response, error)
- func (service *WebsiteService) InitializeHelpdesk(websiteID string, name string, domainBasic string) (*Response, error)
- func (service *WebsiteService) InitiateBrowsingSessionForConversation(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) InitiateConversationWithExistingSession(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) InitiateNewCallSessionForConversation(websiteID string, sessionID string, mode string) (*ConversationCall, *Response, error)
- func (service *WebsiteService) InviteWebsiteOperator(websiteID string, email string, role string, ...) (*Response, error)
- func (service *WebsiteService) ListAnimationMedias(pageNumber uint, listID int, searchQuery string) (*Response, error)
- func (service *WebsiteService) ListBrowsingSessionsForConversation(websiteID string, sessionID string) (*[]ConversationBrowsing, *Response, error)
- func (service *WebsiteService) ListCampaignRecipients(websiteID string, campaignID string, pageNumber uint) (*[]WebsiteCampaignRecipient, *Response, error)
- func (service *WebsiteService) ListCampaignStatistics(websiteID string, campaignID string, action string, pageNumber uint) (*[]WebsiteCampaignStatistic, *Response, error)
- func (service *WebsiteService) ListCampaignTags(websiteID string) (*[]string, *Response, error)
- func (service *WebsiteService) ListCampaignTemplates(websiteID string, pageNumber uint) (*[]WebsiteCampaignTemplateExcerpt, *Response, error)
- func (service *WebsiteService) ListCampaigns(websiteID string, pageNumber uint) (*[]WebsiteCampaignExcerpt, *Response, error)
- func (service *WebsiteService) ListConversationEvents(websiteID string, sessionID string, pageNumber uint) (*[]ConversationEvent, *Response, error)
- func (service *WebsiteService) ListConversationFiles(websiteID string, sessionID string, pageNumber uint) (*[]ConversationFile, *Response, error)
- func (service *WebsiteService) ListConversationPages(websiteID string, sessionID string, pageNumber uint) (*[]ConversationPage, *Response, error)
- func (service *WebsiteService) ListConversations(websiteID string, pageNumber uint) (*[]Conversation, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocaleArticleAlternates(websiteID string, locale string, articleId string) (*[]HelpdeskLocaleArticleAlternate, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocaleArticles(websiteID string, locale string, pageNumber uint) (*[]HelpdeskLocaleArticle, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocaleCategories(websiteID string, locale string, pageNumber uint) (*[]HelpdeskLocaleArticleCategory, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocaleFeedbacks(websiteID string, locale string, pageNumber uint, filterDateStart string, ...) (*[]HelpdeskLocaleFeedbackItem, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocaleSections(websiteID string, locale string, categoryId string, pageNumber uint) (*[]HelpdeskLocaleSection, *Response, error)
- func (service *WebsiteService) ListHelpdeskLocales(websiteID string, pageNumber uint) (*[]HelpdeskLocale, *Response, error)
- func (service *WebsiteService) ListHelpdeskRedirections(websiteID string, pageNumber uint) (*[]HelpdeskRedirection, *Response, error)
- func (service *WebsiteService) ListLastActiveWebsiteOperators(websiteID string) (*[]WebsiteOperatorsLastActiveListOne, *Response, error)
- func (service *WebsiteService) ListPeopleCampaigns(websiteID string, peopleID string, pageNumber uint) (*[]PeopleCampaign, *Response, error)
- func (service *WebsiteService) ListPeopleConversations(websiteID string, peopleID string, pageNumber uint) ([]string, *Response, error)
- func (service *WebsiteService) ListPeopleEvents(websiteID string, peopleID string, pageNumber uint) (*[]PeopleEvent, *Response, error)
- func (service *WebsiteService) ListPeopleProfiles(websiteID string, pageNumber uint, searchField string, searchOrder string, ...) (*[]PeopleProfile, *Response, error)
- func (service *WebsiteService) ListSpamConversations(websiteID string, pageNumber uint) (*[]ConversationSpam, *Response, error)
- func (service *WebsiteService) ListSuggestedConversationDataKeys(websiteID string, pageNumber uint) (*[]ConversationSuggestedData, *Response, error)
- func (service *WebsiteService) ListSuggestedConversationSegments(websiteID string, pageNumber uint) (*[]ConversationSuggestedSegment, *Response, error)
- func (service *WebsiteService) ListSuggestedPeopleDataKeys(websiteID string, pageNumber uint) (*[]PeopleSuggestedData, *Response, error)
- func (service *WebsiteService) ListSuggestedPeopleEvents(websiteID string, pageNumber uint) (*[]PeopleSuggestedEvent, *Response, error)
- func (service *WebsiteService) ListSuggestedPeopleSegments(websiteID string, pageNumber uint) (*[]PeopleSuggestedSegment, *Response, error)
- func (service *WebsiteService) ListVisitors(websiteID string, pageNumber uint) (*[]WebsiteVisitor, *Response, error)
- func (service *WebsiteService) ListWebsiteOperatorAvailabilities(websiteID string) (*[]WebsiteAvailabilityOperator, *Response, error)
- func (service *WebsiteService) ListWebsiteOperators(websiteID string) (*[]WebsiteOperatorListOne, *Response, error)
- func (service *WebsiteService) MapHelpdeskLocaleFeedbackRatings(websiteID string, locale string, filterDateStart string, filterDateEnd string) (*HelpdeskLocaleFeedbackRatings, *Response, error)
- func (service *WebsiteService) MarkMessagesDeliveredInConversation(websiteID string, sessionID string, delivered ConversationDeliveredMessageMark) (*Response, error)
- func (service *WebsiteService) MarkMessagesReadInConversation(websiteID string, sessionID string, read ConversationReadMessageMark) (*Response, error)
- func (service *WebsiteService) PauseCampaign(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) PinpointVisitorsOnMapArea(websiteID string, centerLongitude float32, centerLatitude float32, ...) (*[]WebsiteVisitorsMapPoint, *Response, error)
- func (service *WebsiteService) PinpointVisitorsOnMapWide(websiteID string) (*[]WebsiteVisitorsMapPoint, *Response, error)
- func (service *WebsiteService) PublishHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticlePublish, *Response, error)
- func (service *WebsiteService) RemoveCampaign(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) RemoveCampaignTemplate(websiteID string, templateID string) (*Response, error)
- func (service *WebsiteService) RemoveConversation(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) RemoveMessageInConversation(websiteID string, sessionID string, fingerprint int) (*Response, error)
- func (service *WebsiteService) RemovePeopleProfile(websiteID string, peopleID string) (*Response, error)
- func (service *WebsiteService) ReportConversation(websiteID string, sessionID string, flag string) (*Response, error)
- func (service *WebsiteService) RequestChatboxBindingPurgeForConversation(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) RequestEmailTranscriptForConversation(websiteID string, sessionID string, to string, email string) (*Response, error)
- func (service *WebsiteService) RequestHelpdeskDomainChange(websiteID string, basic *string, custom *string) (*Response, error)
- func (service *WebsiteService) RequestUserFeedbackForConversation(websiteID string, sessionID string) (*Response, error)
- func (service *WebsiteService) ResolveHelpdesk(websiteID string) (*Helpdesk, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskDomain(websiteID string) (*HelpdeskDomain, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocale(websiteID string, locale string) (*HelpdeskLocale, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticle, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string) (*HelpdeskLocaleArticleAlternate, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleArticleCategory(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticleCategory, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleArticlePage(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticlePage, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleCategory(websiteID string, locale string, categoryId string) (*HelpdeskLocaleArticleCategory, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string) (*HelpdeskLocaleSection, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskRedirection(websiteID string, redirectionId string) (*HelpdeskRedirection, *Response, error)
- func (service *WebsiteService) ResolveHelpdeskSettings(websiteID string) (*HelpdeskSettings, *Response, error)
- func (service *WebsiteService) ResolveSpamConversationContent(websiteID string, spamID string) (*ConversationSpamContent, *Response, error)
- func (service *WebsiteService) ResumeCampaign(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) RollVerifyKey(websiteID string) (*Response, error)
- func (service *WebsiteService) SaveCampaign(websiteID string, campaignID string, websiteCampaignItem WebsiteCampaignItem) (*Response, error)
- func (service *WebsiteService) SaveCampaignTemplate(websiteID string, templateID string, ...) (*Response, error)
- func (service *WebsiteService) SaveConversationParticipants(websiteID string, sessionID string, participants ConversationParticipantsSave) (*Response, error)
- func (service *WebsiteService) SaveHelpdeskLocaleArticle(websiteID string, locale string, articleId string, ...) (*Response, error)
- func (service *WebsiteService) SaveHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string, ...) (*Response, error)
- func (service *WebsiteService) SaveHelpdeskLocaleCategory(websiteID string, locale string, categoryId string, ...) (*Response, error)
- func (service *WebsiteService) SaveHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string, ...) (*Response, error)
- func (service *WebsiteService) SaveHelpdeskSettings(websiteID string, settings HelpdeskSettings) (*Response, error)
- func (service *WebsiteService) SavePeopleData(websiteID string, peopleID string, peopleData interface{}) (*Response, error)
- func (service *WebsiteService) SavePeopleProfile(websiteID string, peopleID string, peopleProfile PeopleProfileUpdateCard) (*Response, error)
- func (service *WebsiteService) ScheduleReminderForConversation(websiteID string, sessionID string, date string, note string) (*Response, error)
- func (service *WebsiteService) SearchConversations(websiteID string, pageNumber uint, searchQuery string, searchType string) (*[]Conversation, *Response, error)
- func (service *WebsiteService) SendActionToExistingBrowsingSession(websiteID string, sessionID string, browsingID string, action string) (*Response, error)
- func (service *WebsiteService) SendAnimationMessageInConversation(websiteID string, sessionID string, message ConversationAnimationMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendAudioMessageInConversation(websiteID string, sessionID string, message ConversationAudioMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendCarouselMessageInConversation(websiteID string, sessionID string, message ConversationCarouselMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendEmailToWebsiteOperators(websiteID string, email WebsiteOperatorEmail) (*Response, error)
- func (service *WebsiteService) SendEventMessageInConversation(websiteID string, sessionID string, message ConversationEventMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendFieldMessageInConversation(websiteID string, sessionID string, message ConversationFieldMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendFileMessageInConversation(websiteID string, sessionID string, message ConversationFileMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendNoteMessageInConversation(websiteID string, sessionID string, message ConversationNoteMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendPickerMessageInConversation(websiteID string, sessionID string, message ConversationPickerMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SendTextMessageInConversation(websiteID string, sessionID string, message ConversationTextMessageNew) (*ConversationMessageDispatched, *Response, error)
- func (service *WebsiteService) SubmitSpamConversationDecision(websiteID string, spamID string, action string) (*Response, error)
- func (service *WebsiteService) TestCampaign(websiteID string, campaignID string) (*Response, error)
- func (service *WebsiteService) TransmitSignalingOnOngoingCallSession(websiteID string, sessionID string, callID string, ...) (*Response, error)
- func (service *WebsiteService) UnlinkOperatorFromWebsite(websiteID string, userID string) (*Response, error)
- func (service *WebsiteService) UnpublishHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*Response, error)
- func (service *WebsiteService) UpdateAnimationMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateAudioMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateCampaign(websiteID string, campaignID string, websiteCampaignItem WebsiteCampaignItem) (*Response, error)
- func (service *WebsiteService) UpdateCampaignTemplate(websiteID string, templateID string, ...) (*Response, error)
- func (service *WebsiteService) UpdateCarouselMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateConversationInbox(websiteID string, sessionID string, inboxID *string) (*Response, error)
- func (service *WebsiteService) UpdateConversationMetas(websiteID string, sessionID string, metas ConversationMetaUpdate) (*Response, error)
- func (service *WebsiteService) UpdateConversationOpenState(websiteID string, sessionID string, opened bool) (*Response, error)
- func (service *WebsiteService) UpdateEventMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateFieldMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateFileMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateHelpdeskLocaleArticle(websiteID string, locale string, articleId string, ...) (*Response, error)
- func (service *WebsiteService) UpdateHelpdeskLocaleArticleCategory(websiteID string, locale string, articleId string, categoryId string, ...) (*Response, error)
- func (service *WebsiteService) UpdateHelpdeskLocaleCategory(websiteID string, locale string, categoryId string, ...) (*Response, error)
- func (service *WebsiteService) UpdateHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string, ...) (*Response, error)
- func (service *WebsiteService) UpdateNoteMessageInConversation(websiteID string, sessionID string, fingerprint int, content string) (*Response, error)
- func (service *WebsiteService) UpdatePeopleData(websiteID string, peopleID string, peopleData interface{}) (*Response, error)
- func (service *WebsiteService) UpdatePeopleProfile(websiteID string, peopleID string, peopleProfile PeopleProfileUpdateCard) (*Response, error)
- func (service *WebsiteService) UpdatePeopleSubscriptionStatus(websiteID string, peopleID string, peopleSubscription PeopleSubscriptionUpdate) (*Response, error)
- func (service *WebsiteService) UpdatePickerMessageInConversation(websiteID string, sessionID string, fingerprint int, ...) (*Response, error)
- func (service *WebsiteService) UpdateTextMessageInConversation(websiteID string, sessionID string, fingerprint int, content string) (*Response, error)
- func (service *WebsiteService) UpdateVerifySettings(websiteID string, settings WebsiteVerifySettingsUpdate) (*Response, error)
- func (service *WebsiteService) UpdateVerifyStatusForConversation(websiteID string, sessionID string, verified bool) (*Response, error)
- func (service *WebsiteService) UpdateWebsiteSettings(websiteID string, settings WebsiteSettingsUpdate) (*Response, error)
- type WebsiteSettings
- type WebsiteSettingsAudit
- type WebsiteSettingsChatbox
- type WebsiteSettingsContact
- type WebsiteSettingsData
- type WebsiteSettingsEmails
- type WebsiteSettingsInbox
- type WebsiteSettingsUpdate
- type WebsiteSettingsUpdateAudit
- type WebsiteSettingsUpdateChatbox
- type WebsiteSettingsUpdateContact
- type WebsiteSettingsUpdateEmails
- type WebsiteSettingsUpdateInbox
- type WebsiteVerifyKey
- type WebsiteVerifyKeyData
- type WebsiteVerifySettings
- type WebsiteVerifySettingsData
- type WebsiteVerifySettingsUpdate
- type WebsiteVisitor
- type WebsiteVisitorCount
- type WebsiteVisitorCountData
- type WebsiteVisitorGeolocation
- type WebsiteVisitorGeolocationCoordinates
- type WebsiteVisitorLastPage
- type WebsiteVisitorListData
- type WebsiteVisitorsBlocked
- type WebsiteVisitorsBlockedAllData
- type WebsiteVisitorsBlockedRuleData
- type WebsiteVisitorsMapPoint
- type WebsiteVisitorsMapPointGeolocation
- type WebsiteVisitorsMapPointGeolocationCoordinates
- type WebsiteVisitorsMapPointVisitors
- type WebsiteVisitorsMapPointVisitorsSession
- type WebsiteVisitorsMapPointsData
- type WebsiteVisitorsToken
- type WebsiteVisitorsTokenData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AnalyticsGenerateQuery ¶
type AnalyticsGenerateQuery struct { Metric string `json:"metric"` Type string `json:"type"` Aggregator *string `json:"aggregator,omitempty"` SplitBy *string `json:"split_by,omitempty"` Filter *string `json:"filter,omitempty"` Date AnalyticsGenerateQueryDate `json:"date"` RawExport *bool `json:"raw_export,omitempty"` }
AnalyticsGenerateQuery mapping
type AnalyticsGenerateQueryDate ¶
type AnalyticsGenerateQueryDate struct { From string `json:"from"` To string `json:"to"` Split string `json:"split"` Timezone string `json:"timezone"` Days *AnalyticsGenerateQueryDateDays `json:"days,omitempty"` }
AnalyticsGenerateQueryDate mapping
type AnalyticsGenerateQueryDateDay ¶
type AnalyticsGenerateQueryDateDay struct { HourFrom string `json:"hour_from"` HourTo string `json:"hour_to"` }
AnalyticsGenerateQueryDateDay mapping
type AnalyticsGenerateQueryDateDays ¶
type AnalyticsGenerateQueryDateDays struct { Monday *AnalyticsGenerateQueryDateDay `json:"monday,omitempty"` Tuesday *AnalyticsGenerateQueryDateDay `json:"tuesday,omitempty"` Wednesday *AnalyticsGenerateQueryDateDay `json:"wednesday,omitempty"` Thursday *AnalyticsGenerateQueryDateDay `json:"thursday,omitempty"` Friday *AnalyticsGenerateQueryDateDay `json:"friday,omitempty"` Saturday *AnalyticsGenerateQueryDateDay `json:"saturday,omitempty"` Sunday *AnalyticsGenerateQueryDateDay `json:"sunday,omitempty"` }
AnalyticsGenerateQueryDateDays mapping
type BucketService ¶
type BucketService service
BucketService service
func (*BucketService) GenerateBucketURL ¶
func (service *BucketService) GenerateBucketURL(bucketData BucketURLRequest) (*Response, error)
GenerateBucketURL generates a bucket URL.
type BucketURLRequest ¶
type BucketURLRequest struct { Namespace string `json:"namespace,omitempty"` ID string `json:"id,omitempty"` File BucketURLRequestFile `json:"file,omitempty"` Resource *BucketURLRequestResource `json:"resource,omitempty"` }
BucketURLRequest mapping
type BucketURLRequestFile ¶
type BucketURLRequestFile struct { Name string `json:"name,omitempty"` Type string `json:"type,omitempty"` }
BucketURLRequestFile mapping
type BucketURLRequestResource ¶
type BucketURLRequestResource struct { Type string `json:"type,omitempty"` ID string `json:"id,omitempty"` }
BucketURLRequestResource mapping
type Client ¶
type Client struct { BaseURL *url.URL UserAgent string Bucket *BucketService Media *MediaService Plugin *PluginService Website *WebsiteService Events *EventsService // contains filtered or unexported fields }
Client maps an API client
func NewWithConfig ¶
func NewWithConfig(config ClientConfig) *Client
NewWithConfig returns a new API client
func (*Client) Authenticate ¶
Authenticate saves authentication parameters for user (default)
func (*Client) AuthenticateTier ¶
AuthenticateTier saves authentication parameters for tier
type ClientConfig ¶
type ClientConfig struct { HTTPClient *http.Client HTTPHeaders *map[string]string RestEndpointURL string }
ClientConfig mapping
type Conversation ¶
type Conversation struct { SessionID *string `json:"session_id,omitempty"` WebsiteID *string `json:"website_id,omitempty"` InboxID *string `json:"inbox_id,omitempty"` PeopleID *string `json:"people_id,omitempty"` State *string `json:"state,omitempty"` Status *uint8 `json:"status,omitempty"` IsVerified *bool `json:"is_verified,omitempty"` IsBlocked *bool `json:"is_blocked,omitempty"` Availability *string `json:"availability,omitempty"` Active *ConversationActive `json:"active,omitempty"` LastMessage *string `json:"last_message,omitempty"` PreviewMessage *ConversationPreviewMessage `json:"preview_message,omitempty"` Topic *string `json:"topic,omitempty"` Participants *[]ConversationParticipant `json:"participants,omitempty"` Mentions *[]string `json:"mentions,omitempty"` Compose *ConversationCompose `json:"compose,omitempty"` Unread *ConversationUnread `json:"unread,omitempty"` Assigned *ConversationAssigned `json:"assigned,omitempty"` Meta *ConversationMeta `json:"meta,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` WaitingSince *uint64 `json:"waiting_since,omitempty"` }
Conversation mapping
func (Conversation) String ¶
func (instance Conversation) String() string
String returns the string representation of Conversation
type ConversationActive ¶
type ConversationActive struct { Now *bool `json:"now,omitempty"` Last *uint64 `json:"last,omitempty"` }
ConversationActive mapping
type ConversationAllMessageNewOriginal ¶
type ConversationAllMessageNewOriginal struct { Type string `json:"type,omitempty"` Content string `json:"content,omitempty"` }
ConversationAllMessageNewOriginal mapping
type ConversationAllMessageNewReference ¶
type ConversationAllMessageNewReference struct { Type string `json:"type,omitempty"` Name string `json:"name,omitempty"` Target string `json:"target,omitempty"` }
ConversationAllMessageNewReference mapping
type ConversationAllMessageNewUser ¶
type ConversationAllMessageNewUser struct { Type string `json:"type,omitempty"` Nickname string `json:"nickname,omitempty"` Avatar string `json:"avatar,omitempty"` }
ConversationAllMessageNewUser mapping
type ConversationAnimationMessageNew ¶
type ConversationAnimationMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationAnimationMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationAnimationMessageNew mapping
type ConversationAnimationMessageNewContent ¶
type ConversationAnimationMessageNewContent struct { URL string `json:"url,omitempty"` Type string `json:"type,omitempty"` }
ConversationAnimationMessageNewContent mapping
type ConversationAnimationMessageUpdate ¶
type ConversationAnimationMessageUpdate struct {
Content ConversationAnimationMessageNewContent `json:"content,omitempty"`
}
ConversationAnimationMessageUpdate mapping
type ConversationAssigned ¶
type ConversationAssigned struct {
UserID *string `json:"user_id,omitempty"`
}
ConversationAssigned mapping
type ConversationAudioMessageNew ¶
type ConversationAudioMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationAudioMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationAudioMessageNew mapping
type ConversationAudioMessageNewContent ¶
type ConversationAudioMessageNewContent struct { URL string `json:"url,omitempty"` Type string `json:"type,omitempty"` Duration uint16 `json:"duration,omitempty"` }
ConversationAudioMessageNewContent mapping
type ConversationAudioMessageUpdate ¶
type ConversationAudioMessageUpdate struct {
Content ConversationAudioMessageNewContent `json:"content,omitempty"`
}
ConversationAudioMessageUpdate mapping
type ConversationBlock ¶
type ConversationBlock struct {
Blocked *bool `json:"blocked,omitempty"`
}
ConversationBlock mapping
func (ConversationBlock) String ¶
func (instance ConversationBlock) String() string
String returns the string representation of ConversationBlock
type ConversationBlockData ¶
type ConversationBlockData struct {
Data *ConversationBlock `json:"data,omitempty"`
}
ConversationBlockData mapping
type ConversationBlockUpdate ¶
type ConversationBlockUpdate struct {
Blocked *bool `json:"blocked,omitempty"`
}
ConversationBlockUpdate mapping
type ConversationBrowsing ¶
type ConversationBrowsing struct { BrowsingID *string `json:"browsing_id,omitempty"` BrowsingToken *string `json:"browsing_token,omitempty"` Useragent *string `json:"useragent,omitempty"` }
ConversationBrowsing mapping
func (ConversationBrowsing) String ¶
func (instance ConversationBrowsing) String() string
String returns the string representation of ConversationBrowsing
type ConversationBrowsingAction ¶
type ConversationBrowsingAction struct {
Action *string `json:"action,omitempty"`
}
ConversationBrowsingAction mapping
type ConversationBrowsingAssist ¶
type ConversationBrowsingAssist struct { Action *string `json:"action,omitempty"` Mouse *ConversationBrowsingAssistMouse `json:"mouse,omitempty"` Click *ConversationBrowsingAssistClick `json:"click,omitempty"` Scroll *ConversationBrowsingAssistScroll `json:"scroll,omitempty"` }
ConversationBrowsingAssist mapping
type ConversationBrowsingAssistClick ¶
type ConversationBrowsingAssistClick struct { X *uint16 `json:"x,omitempty"` Y *uint16 `json:"y,omitempty"` }
ConversationBrowsingAssistClick mapping
type ConversationBrowsingAssistMouse ¶
type ConversationBrowsingAssistMouse struct { X *uint16 `json:"x,omitempty"` Y *uint16 `json:"y,omitempty"` }
ConversationBrowsingAssistMouse mapping
type ConversationBrowsingAssistScroll ¶
type ConversationBrowsingAssistScroll struct { X *uint16 `json:"x,omitempty"` Y *uint16 `json:"y,omitempty"` }
ConversationBrowsingAssistScroll mapping
type ConversationBrowsingData ¶
type ConversationBrowsingData struct {
Data *[]ConversationBrowsing `json:"data,omitempty"`
}
ConversationBrowsingData mapping
type ConversationCall ¶
type ConversationCall struct {
CallID *string `json:"call_id,omitempty"`
}
ConversationCall mapping
func (ConversationCall) String ¶
func (instance ConversationCall) String() string
String returns the string representation of ConversationCall
type ConversationCallData ¶
type ConversationCallData struct {
Data *ConversationCall `json:"data,omitempty"`
}
ConversationCallData mapping
type ConversationCallPayload ¶
type ConversationCallPayload struct {
Mode string `json:"mode,omitempty"`
}
ConversationCallPayload mapping
type ConversationCallSignalingPayload ¶
type ConversationCallSignalingPayload struct { Type string `json:"type,omitempty"` Payload interface{} `json:"payload,omitempty"` }
ConversationCallSignalingPayload mapping
type ConversationCarouselMessageNew ¶
type ConversationCarouselMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationCarouselMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationCarouselMessageNew mapping
type ConversationCarouselMessageNewContent ¶
type ConversationCarouselMessageNewContent struct { Text string `json:"text,omitempty"` Targets []ConversationCarouselMessageNewContentTarget `json:"targets,omitempty"` }
ConversationCarouselMessageNewContent mapping
type ConversationCarouselMessageNewContentTarget ¶
type ConversationCarouselMessageNewContentTarget struct { Title string `json:"title,omitempty"` Description string `json:"description,omitempty"` Image *string `json:"image,omitempty"` Actions []ConversationCarouselMessageNewContentTargetAction `json:"actions,omitempty"` }
ConversationCarouselMessageNewContentTarget mapping
type ConversationCarouselMessageNewContentTargetAction ¶
type ConversationCarouselMessageNewContentTargetAction struct { Label string `json:"label,omitempty"` URL string `json:"url,omitempty"` }
ConversationCarouselMessageNewContentTargetAction mapping
type ConversationCarouselMessageUpdate ¶
type ConversationCarouselMessageUpdate struct {
Content ConversationCarouselMessageNewContent `json:"content,omitempty"`
}
ConversationCarouselMessageUpdate mapping
type ConversationCompose ¶
type ConversationCompose struct { Operator *ConversationComposeAtom `json:"operator,omitempty"` Visitor *ConversationComposeAtom `json:"visitor,omitempty"` }
ConversationCompose mapping
type ConversationComposeAtom ¶
type ConversationComposeAtom struct { Type *string `json:"type,omitempty"` Excerpt *string `json:"excerpt,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` User *ConversationComposeAtomUser `json:"user,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationComposeAtom mapping
type ConversationComposeAtomUser ¶
type ConversationComposeAtomUser struct { UserID *string `json:"user_id,omitempty"` Nickname *string `json:"nickname,omitempty"` Avatar *string `json:"avatar,omitempty"` }
ConversationComposeAtomUser mapping
type ConversationComposeMessageNew ¶
type ConversationComposeMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Excerpt string `json:"excerpt,omitempty"` Stealth *bool `json:"stealth,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationComposeMessageNew mapping
type ConversationData ¶
type ConversationData struct {
Data *Conversation `json:"data,omitempty"`
}
ConversationData mapping
type ConversationDeliveredMessageMark ¶
type ConversationDeliveredMessageMark ConversationReadMessageMark
ConversationDeliveredMessageMark mapping
type ConversationEvent ¶
type ConversationEvent struct { Text *string `json:"text,omitempty"` Data *interface{} `json:"data,omitempty"` Color *string `json:"color,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
ConversationEvent mapping
func (ConversationEvent) String ¶
func (instance ConversationEvent) String() string
String returns the string representation of ConversationEvent
type ConversationEventMessageNew ¶
type ConversationEventMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationEventMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationEventMessageNew mapping
type ConversationEventMessageNewContent ¶
type ConversationEventMessageNewContent struct { Namespace string `json:"namespace,omitempty"` Text *string `json:"text,omitempty"` }
ConversationEventMessageNewContent mapping
type ConversationEventMessageUpdate ¶
type ConversationEventMessageUpdate struct {
Content ConversationEventMessageNewContent `json:"content,omitempty"`
}
ConversationEventMessageUpdate mapping
type ConversationEventsData ¶
type ConversationEventsData struct {
Data *[]ConversationEvent `json:"data,omitempty"`
}
ConversationEventsData mapping
type ConversationFieldMessageNew ¶
type ConversationFieldMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationFieldMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationFieldMessageNew mapping
type ConversationFieldMessageNewContent ¶
type ConversationFieldMessageNewContent struct { ID string `json:"id,omitempty"` Text string `json:"text,omitempty"` Explain string `json:"explain,omitempty"` Value string `json:"value,omitempty"` Required *bool `json:"required,omitempty"` }
ConversationFieldMessageNewContent mapping
type ConversationFieldMessageUpdate ¶
type ConversationFieldMessageUpdate struct {
Content ConversationFieldMessageNewContent `json:"content,omitempty"`
}
ConversationFieldMessageUpdate mapping
type ConversationFile ¶
type ConversationFile struct { Name *string `json:"name,omitempty"` Type *string `json:"type,omitempty"` URL *string `json:"url,omitempty"` Fingerprint *int `json:"fingerprint,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
ConversationFile mapping
func (ConversationFile) String ¶
func (instance ConversationFile) String() string
String returns the string representation of ConversationFile
type ConversationFileMessageNew ¶
type ConversationFileMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationFileMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationFileMessageNew mapping
type ConversationFileMessageNewContent ¶
type ConversationFileMessageNewContent struct { Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` Type string `json:"type,omitempty"` }
ConversationFileMessageNewContent mapping
type ConversationFileMessageUpdate ¶
type ConversationFileMessageUpdate struct {
Content ConversationFileMessageNewContent `json:"content,omitempty"`
}
ConversationFileMessageUpdate mapping
type ConversationFilesData ¶
type ConversationFilesData struct {
Data *[]ConversationFile `json:"data,omitempty"`
}
ConversationFilesData mapping
type ConversationInboxUpdate ¶
type ConversationInboxUpdate struct {
InboxID *string `json:"inbox_id,omitempty"`
}
ConversationInboxUpdate mapping
type ConversationListData ¶
type ConversationListData struct {
Data *[]Conversation `json:"data,omitempty"`
}
ConversationListData mapping
type ConversationMessage ¶
type ConversationMessage struct { SessionID *string `json:"session_id,omitempty"` WebsiteID *string `json:"website_id,omitempty"` Type *string `json:"type,omitempty"` From *string `json:"from,omitempty"` Origin *string `json:"origin,omitempty"` Content *interface{} `json:"content,omitempty"` Preview *[]ConversationMessagePreview `json:"preview,omitempty"` Mentions *[]string `json:"mentions,omitempty"` Read *string `json:"read,omitempty"` Delivered *string `json:"delivered,omitempty"` Ignored *map[string]ConversationMessageIgnored `json:"ignored,omitempty"` Edited *bool `json:"edited,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` Fingerprint *int `json:"fingerprint,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` User *ConversationMessageUser `json:"user,omitempty"` References *[]ConversationMessageReference `json:"references,omitempty"` Original *ConversationMessageOriginal `json:"original,omitempty"` }
ConversationMessage mapping
func (ConversationMessage) String ¶
func (instance ConversationMessage) String() string
String returns the string representation of ConversationMessage
type ConversationMessageAnimationContent ¶
type ConversationMessageAnimationContent struct { URL *string `json:"url"` Type *string `json:"type"` }
ConversationMessageAnimationContent mapping
type ConversationMessageAudioContent ¶
type ConversationMessageAudioContent struct { URL *string `json:"url"` Type *string `json:"type"` Duration *uint16 `json:"duration"` }
ConversationMessageAudioContent mapping
type ConversationMessageCarouselContent ¶
type ConversationMessageCarouselContent struct { Text *string `json:"text"` Targets *[]ConversationMessageCarouselContentTarget `json:"targets"` }
ConversationMessageCarouselContent mapping
type ConversationMessageCarouselContentTarget ¶
type ConversationMessageCarouselContentTarget struct { Title *string `json:"title"` Description *string `json:"description"` Image *string `json:"image,omitempty"` Actions *[]ConversationMessageCarouselContentTargetAction `json:"actions"` }
ConversationMessageCarouselContentTarget mapping
type ConversationMessageCarouselContentTargetAction ¶
type ConversationMessageCarouselContentTargetAction struct { Label *string `json:"label"` URL *string `json:"url"` }
ConversationMessageCarouselContentTargetAction mapping
type ConversationMessageData ¶
type ConversationMessageData struct {
Data *ConversationMessage `json:"data,omitempty"`
}
ConversationMessageData mapping
type ConversationMessageDispatched ¶
type ConversationMessageDispatched struct {
Fingerprint *int `json:"fingerprint,omitempty"`
}
ConversationMessageDispatched mapping
type ConversationMessageDispatchedData ¶
type ConversationMessageDispatchedData struct {
Data *ConversationMessageDispatched `json:"data,omitempty"`
}
ConversationMessageDispatchedData mapping
type ConversationMessageEventContent ¶
type ConversationMessageEventContent struct { Namespace *string `json:"namespace"` Text *string `json:"text,omitempty"` }
ConversationMessageEventContent mapping
type ConversationMessageFieldContent ¶
type ConversationMessageFieldContent struct { ID *string `json:"id"` Text *string `json:"text"` Explain *string `json:"explain"` Value *string `json:"value"` Required *bool `json:"required,omitempty"` }
ConversationMessageFieldContent mapping
type ConversationMessageFileContent ¶
type ConversationMessageFileContent struct { Name *string `json:"name"` URL *string `json:"url"` Type *string `json:"type"` }
ConversationMessageFileContent mapping
type ConversationMessageIgnored ¶
type ConversationMessageIgnored struct { Type *string `json:"type,omitempty"` Reason *string `json:"reason,omitempty"` }
ConversationMessageIgnored mapping
type ConversationMessageNoteContent ¶
type ConversationMessageNoteContent string
ConversationMessageNoteContent mapping
type ConversationMessageOriginal ¶
type ConversationMessageOriginal struct {
OriginalID *string `json:"original_id,omitempty"`
}
ConversationMessageOriginal mapping
type ConversationMessagePickerContent ¶
type ConversationMessagePickerContent struct { ID *string `json:"id"` Text *string `json:"text"` Choices *[]ConversationMessagePickerContentChoice `json:"choices"` Required *bool `json:"required,omitempty"` }
ConversationMessagePickerContent mapping
type ConversationMessagePickerContentChoice ¶
type ConversationMessagePickerContentChoice struct { Value *string `json:"value"` Icon *string `json:"icon,omitempty"` Label *string `json:"label"` Selected *bool `json:"selected"` Action *ConversationMessagePickerContentChoiceAction `json:"action,omitempty"` }
ConversationMessagePickerContentChoice mapping
type ConversationMessagePickerContentChoiceAction ¶
type ConversationMessagePickerContentChoiceAction struct { Type *string `json:"type"` Target *string `json:"target"` }
ConversationMessagePickerContentChoiceAction mapping
type ConversationMessagePreview ¶
type ConversationMessagePreview struct { URL *string `json:"url,omitempty"` Website *string `json:"website,omitempty"` Title *string `json:"title,omitempty"` Preview *ConversationMessagePreviewInformation `json:"preview,omitempty"` Stamped *bool `json:"stamped,omitempty"` }
ConversationMessagePreview mapping
type ConversationMessagePreviewInformation ¶
type ConversationMessagePreviewInformation struct { Excerpt *string `json:"excerpt,omitempty"` Image *string `json:"image,omitempty"` Embed *string `json:"embed,omitempty"` }
ConversationMessagePreviewInformation mapping
type ConversationMessageReference ¶
type ConversationMessageReference struct { Type *string `json:"type,omitempty"` Name *string `json:"name,omitempty"` Target *string `json:"target,omitempty"` }
ConversationMessageReference mapping
type ConversationMessageTextContent ¶
type ConversationMessageTextContent string
ConversationMessageTextContent mapping
type ConversationMessageUser ¶
type ConversationMessageUser struct { Type *string `json:"type,omitempty"` UserID *string `json:"user_id,omitempty"` Nickname *string `json:"nickname,omitempty"` Avatar *string `json:"avatar,omitempty"` }
ConversationMessageUser mapping
type ConversationMessagesData ¶
type ConversationMessagesData struct {
Data *[]ConversationMessage `json:"data,omitempty"`
}
ConversationMessagesData mapping
type ConversationMeta ¶
type ConversationMeta struct { Nickname *string `json:"nickname,omitempty"` Email *string `json:"email,omitempty"` Phone *string `json:"phone,omitempty"` Address *string `json:"address,omitempty"` Subject *string `json:"subject,omitempty"` IP *string `json:"ip,omitempty"` Connection *ConversationMetaConnection `json:"connection,omitempty"` Data *interface{} `json:"data,omitempty"` Avatar *string `json:"avatar,omitempty"` Device *ConversationMetaDevice `json:"device,omitempty"` Segments *[]string `json:"segments,omitempty"` }
ConversationMeta mapping
func (ConversationMeta) String ¶
func (instance ConversationMeta) String() string
String returns the string representation of ConversationMeta
type ConversationMetaConnection ¶
type ConversationMetaConnection struct { ISP *string `json:"isp,omitempty"` ASN *string `json:"asn,omitempty"` }
ConversationMetaConnection mapping
type ConversationMetaData ¶
type ConversationMetaData struct {
Data *ConversationMeta `json:"data,omitempty"`
}
ConversationMetaData mapping
type ConversationMetaDevice ¶
type ConversationMetaDevice struct { Capabilities *[]string `json:"capabilities,omitempty"` Geolocation *ConversationMetaDeviceGeolocation `json:"geolocation,omitempty"` System *ConversationMetaDeviceSystem `json:"system,omitempty"` Timezone *int16 `json:"timezone,omitempty"` Locales *[]string `json:"locales,omitempty"` }
ConversationMetaDevice mapping
type ConversationMetaDeviceGeolocation ¶
type ConversationMetaDeviceGeolocation struct { Coordinates *ConversationMetaDeviceGeolocationCoordinates `json:"coordinates,omitempty"` City *string `json:"city,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` }
ConversationMetaDeviceGeolocation mapping
type ConversationMetaDeviceGeolocationCoordinates ¶
type ConversationMetaDeviceGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
ConversationMetaDeviceGeolocationCoordinates mapping
type ConversationMetaDeviceSystem ¶
type ConversationMetaDeviceSystem struct { OS *ConversationMetaDeviceSystemOS `json:"os,omitempty"` Engine *ConversationMetaDeviceSystemEngine `json:"engine,omitempty"` Browser *ConversationMetaDeviceSystemBrowser `json:"browser,omitempty"` Useragent *string `json:"useragent,omitempty"` }
ConversationMetaDeviceSystem mapping
type ConversationMetaDeviceSystemBrowser ¶
type ConversationMetaDeviceSystemBrowser struct { Major *string `json:"major,omitempty"` Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
ConversationMetaDeviceSystemBrowser mapping
type ConversationMetaDeviceSystemEngine ¶
type ConversationMetaDeviceSystemEngine struct { Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
ConversationMetaDeviceSystemEngine mapping
type ConversationMetaDeviceSystemOS ¶
type ConversationMetaDeviceSystemOS struct { Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
ConversationMetaDeviceSystemOS mapping
type ConversationMetaUpdate ¶
type ConversationMetaUpdate struct { Nickname string `json:"nickname,omitempty"` Email string `json:"email,omitempty"` Avatar string `json:"avatar,omitempty"` IP string `json:"ip,omitempty"` Phone string `json:"phone,omitempty"` Address string `json:"address,omitempty"` Subject string `json:"subject,omitempty"` Segments []string `json:"segments,omitempty"` Data interface{} `json:"data,omitempty"` Device *ConversationMetaUpdateDevice `json:"device,omitempty"` }
ConversationMetaUpdate mapping
type ConversationMetaUpdateDevice ¶
type ConversationMetaUpdateDevice struct { Capabilities []string `json:"capabilities,omitempty"` Geolocation *ConversationMetaUpdateDeviceGeolocation `json:"geolocation,omitempty"` System *ConversationMetaUpdateDeviceSystem `json:"system,omitempty"` Timezone int16 `json:"timezone,omitempty"` Locales []string `json:"locales,omitempty"` }
ConversationMetaUpdateDevice mapping
type ConversationMetaUpdateDeviceGeolocation ¶
type ConversationMetaUpdateDeviceGeolocation struct { Coordinates ConversationMetaUpdateDeviceGeolocationCoordinates `json:"coordinates,omitempty"` City string `json:"city,omitempty"` Region string `json:"region,omitempty"` Country string `json:"country,omitempty"` }
ConversationMetaUpdateDeviceGeolocation mapping
type ConversationMetaUpdateDeviceGeolocationCoordinates ¶
type ConversationMetaUpdateDeviceGeolocationCoordinates struct { Latitude float32 `json:"latitude,omitempty"` Longitude float32 `json:"longitude,omitempty"` }
ConversationMetaUpdateDeviceGeolocationCoordinates mapping
type ConversationMetaUpdateDeviceSystem ¶
type ConversationMetaUpdateDeviceSystem struct { OS ConversationMetaUpdateDeviceSystemOS `json:"os,omitempty"` Engine ConversationMetaUpdateDeviceSystemEngine `json:"engine,omitempty"` Browser ConversationMetaUpdateDeviceSystemBrowser `json:"browser,omitempty"` Useragent string `json:"useragent,omitempty"` }
ConversationMetaUpdateDeviceSystem mapping
type ConversationMetaUpdateDeviceSystemBrowser ¶
type ConversationMetaUpdateDeviceSystemBrowser struct { Major string `json:"major,omitempty"` Version string `json:"version,omitempty"` Name string `json:"name,omitempty"` }
ConversationMetaUpdateDeviceSystemBrowser mapping
type ConversationMetaUpdateDeviceSystemEngine ¶
type ConversationMetaUpdateDeviceSystemEngine struct { Version string `json:"version,omitempty"` Name string `json:"name,omitempty"` }
ConversationMetaUpdateDeviceSystemEngine mapping
type ConversationMetaUpdateDeviceSystemOS ¶
type ConversationMetaUpdateDeviceSystemOS struct { Version string `json:"version,omitempty"` Name string `json:"name,omitempty"` }
ConversationMetaUpdateDeviceSystemOS mapping
type ConversationNew ¶
type ConversationNew struct {
SessionID *string `json:"session_id,omitempty"`
}
ConversationNew mapping
func (ConversationNew) String ¶
func (instance ConversationNew) String() string
String returns the string representation of ConversationNew
type ConversationNewData ¶
type ConversationNewData struct {
Data *ConversationNew `json:"data,omitempty"`
}
ConversationNewData mapping
type ConversationNoteMessageNew ¶
type ConversationNoteMessageNew ConversationTextMessageNew
ConversationNoteMessageNew mapping
type ConversationNoteMessageUpdate ¶
type ConversationNoteMessageUpdate ConversationTextMessageUpdate
ConversationNoteMessageUpdate mapping
type ConversationOpenUpdate ¶
type ConversationOpenUpdate struct {
Opened *bool `json:"blocked,omitempty"`
}
ConversationOpenUpdate mapping
type ConversationOriginal ¶
type ConversationOriginal struct { WebsiteID *string `json:"website_id,omitempty"` SessionID *string `json:"session_id,omitempty"` OriginalID *string `json:"original_id,omitempty"` Type *string `json:"type,omitempty"` Headers *interface{} `json:"headers,omitempty"` Content *string `json:"content,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
ConversationOriginal mapping
func (ConversationOriginal) String ¶
func (instance ConversationOriginal) String() string
String returns the string representation of ConversationOriginal
type ConversationOriginalData ¶
type ConversationOriginalData struct {
Data *ConversationOriginal `json:"data,omitempty"`
}
ConversationOriginalData mapping
type ConversationPage ¶
type ConversationPage struct { PageTitle *string `json:"page_title,omitempty"` PageURL *string `json:"page_url,omitempty"` PageReferrer *string `json:"page_referrer,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
ConversationPage mapping
func (ConversationPage) String ¶
func (instance ConversationPage) String() string
String returns the string representation of ConversationPage
type ConversationPagesData ¶
type ConversationPagesData struct {
Data *[]ConversationPage `json:"data,omitempty"`
}
ConversationPagesData mapping
type ConversationParticipant ¶
type ConversationParticipant struct { Type *string `json:"type,omitempty"` Target *string `json:"target,omitempty"` }
ConversationParticipant mapping
type ConversationParticipants ¶
type ConversationParticipants struct {
Participants *[]ConversationParticipant `json:"participants,omitempty"`
}
ConversationParticipants mapping
func (ConversationParticipants) String ¶
func (instance ConversationParticipants) String() string
String returns the string representation of ConversationParticipants
type ConversationParticipantsData ¶
type ConversationParticipantsData struct {
Data *ConversationParticipants `json:"data,omitempty"`
}
ConversationParticipantsData mapping
type ConversationParticipantsSave ¶
type ConversationParticipantsSave struct {
Participants *[]ConversationParticipant `json:"participants,omitempty"`
}
ConversationParticipantsSave mapping
type ConversationPickerMessageNew ¶
type ConversationPickerMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content ConversationPickerMessageNewContent `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationPickerMessageNew mapping
type ConversationPickerMessageNewContent ¶
type ConversationPickerMessageNewContent struct { ID string `json:"id,omitempty"` Text string `json:"text,omitempty"` Choices []ConversationPickerMessageNewContentChoice `json:"choices,omitempty"` Required *bool `json:"required,omitempty"` }
ConversationPickerMessageNewContent mapping
type ConversationPickerMessageNewContentChoice ¶
type ConversationPickerMessageNewContentChoice struct { Value string `json:"value,omitempty"` Icon *string `json:"icon,omitempty"` Label string `json:"label,omitempty"` Selected bool `json:"selected"` Action *ConversationPickerMessageNewContentChoiceAction `json:"action,omitempty"` }
ConversationPickerMessageNewContentChoice mapping
type ConversationPickerMessageNewContentChoiceAction ¶
type ConversationPickerMessageNewContentChoiceAction struct { Type string `json:"type"` Target string `json:"target"` }
ConversationPickerMessageNewContentChoiceAction mapping
type ConversationPickerMessageUpdate ¶
type ConversationPickerMessageUpdate struct {
Content ConversationPickerMessageNewContent `json:"content,omitempty"`
}
ConversationPickerMessageUpdate mapping
type ConversationPreviewMessage ¶
type ConversationPreviewMessage struct { Type *string `json:"type,omitempty"` From *string `json:"from,omitempty"` Excerpt *string `json:"excerpt,omitempty"` Fingerprint *int `json:"fingerprint,omitempty"` }
ConversationPreviewMessage mapping
type ConversationReadMessageMark ¶
type ConversationReadMessageMark struct { From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Fingerprints []int `json:"fingerprints,omitempty"` }
ConversationReadMessageMark mapping
type ConversationReminderPayload ¶
type ConversationReminderPayload struct { Date string `json:"date,omitempty"` Note string `json:"note,omitempty"` }
ConversationReminderPayload mapping
type ConversationReportPayload ¶
type ConversationReportPayload struct {
Flag string `json:"flag,omitempty"`
}
ConversationReportPayload mapping
type ConversationRoutingAssign ¶
type ConversationRoutingAssign struct {
Assigned *ConversationRoutingAssignAssigned `json:"assigned,omitempty"`
}
ConversationRoutingAssign mapping
func (ConversationRoutingAssign) String ¶
func (instance ConversationRoutingAssign) String() string
String returns the string representation of ConversationRoutingAssign
type ConversationRoutingAssignAssigned ¶
type ConversationRoutingAssignAssigned struct {
UserID *string `json:"user_id,omitempty"`
}
ConversationRoutingAssignAssigned mapping
type ConversationRoutingAssignData ¶
type ConversationRoutingAssignData struct {
Data *ConversationRoutingAssign `json:"data,omitempty"`
}
ConversationRoutingAssignData mapping
type ConversationRoutingAssignUpdate ¶
type ConversationRoutingAssignUpdate struct { Assigned *ConversationRoutingAssignUpdateAssigned `json:"assigned"` Silent *bool `json:"silent,omitempty"` }
ConversationRoutingAssignUpdate mapping
type ConversationRoutingAssignUpdateAssigned ¶
type ConversationRoutingAssignUpdateAssigned struct {
UserID string `json:"user_id,omitempty"`
}
ConversationRoutingAssignUpdateAssigned mapping
type ConversationSpam ¶
type ConversationSpam struct { SpamID *string `json:"spam_id,omitempty"` Type *string `json:"type,omitempty"` Reason *string `json:"reason,omitempty"` Metadata *interface{} `json:"metadata,omitempty"` Headers *interface{} `json:"headers,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
ConversationSpam mapping
func (ConversationSpam) String ¶
func (instance ConversationSpam) String() string
String returns the string representation of ConversationSpam
type ConversationSpamContent ¶
type ConversationSpamContent struct { ConversationSpam Content *interface{} `json:"content,omitempty"` }
ConversationSpamContent mapping
func (ConversationSpamContent) String ¶
func (instance ConversationSpamContent) String() string
String returns the string representation of ConversationSpamContent
type ConversationSpamContentData ¶
type ConversationSpamContentData struct {
Data *ConversationSpamContent `json:"data,omitempty"`
}
ConversationSpamContentData mapping
type ConversationSpamData ¶
type ConversationSpamData struct {
Data *[]ConversationSpam `json:"data,omitempty"`
}
ConversationSpamData mapping
type ConversationSpamDecision ¶
type ConversationSpamDecision struct {
Action *string `json:"action,omitempty"`
}
ConversationSpamDecision mapping
type ConversationState ¶
type ConversationState struct {
State *string `json:"state,omitempty"`
}
ConversationState mapping
func (ConversationState) String ¶
func (instance ConversationState) String() string
String returns the string representation of ConversationState
type ConversationStateData ¶
type ConversationStateData struct {
Data *ConversationState `json:"data,omitempty"`
}
ConversationStateData mapping
type ConversationStateUpdate ¶
type ConversationStateUpdate struct {
State *string `json:"state,omitempty"`
}
ConversationStateUpdate mapping
type ConversationSuggestedData ¶
type ConversationSuggestedData struct { Key *string `json:"key,omitempty"` Count *int32 `json:"count,omitempty"` }
ConversationSuggestedData mapping
func (ConversationSuggestedData) String ¶
func (instance ConversationSuggestedData) String() string
String returns the string representation of ConversationSuggestedData
type ConversationSuggestedDataData ¶
type ConversationSuggestedDataData struct {
Data *[]ConversationSuggestedData `json:"data,omitempty"`
}
ConversationSuggestedDataData mapping
type ConversationSuggestedDataDelete ¶
type ConversationSuggestedDataDelete struct {
Key string `json:"key,omitempty"`
}
ConversationSuggestedDataDelete mapping
type ConversationSuggestedSegment ¶
type ConversationSuggestedSegment struct { Segment *string `json:"segment,omitempty"` Count *int32 `json:"count,omitempty"` }
ConversationSuggestedSegment mapping
func (ConversationSuggestedSegment) String ¶
func (instance ConversationSuggestedSegment) String() string
String returns the string representation of ConversationSuggestedSegment
type ConversationSuggestedSegmentData ¶
type ConversationSuggestedSegmentData struct {
Data *[]ConversationSuggestedSegment `json:"data,omitempty"`
}
ConversationSuggestedSegmentData mapping
type ConversationSuggestedSegmentDelete ¶
type ConversationSuggestedSegmentDelete struct {
Segment string `json:"segment,omitempty"`
}
ConversationSuggestedSegmentDelete mapping
type ConversationTextMessageNew ¶
type ConversationTextMessageNew struct { Type string `json:"type,omitempty"` From string `json:"from,omitempty"` Origin string `json:"origin,omitempty"` Content string `json:"content,omitempty"` Mentions []string `json:"mentions,omitempty"` Fingerprint int `json:"fingerprint,omitempty"` User ConversationAllMessageNewUser `json:"user,omitempty"` References *[]ConversationAllMessageNewReference `json:"references,omitempty"` Original *ConversationAllMessageNewOriginal `json:"original,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` Stealth *bool `json:"stealth,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
ConversationTextMessageNew mapping
type ConversationTextMessageUpdate ¶
type ConversationTextMessageUpdate struct {
Content string `json:"content,omitempty"`
}
ConversationTextMessageUpdate mapping
type ConversationTranscriptRequest ¶
type ConversationTranscriptRequest struct { To *string `json:"to,omitempty"` Email *string `json:"email,omitempty"` }
ConversationTranscriptRequest mapping
type ConversationUnread ¶
type ConversationUnread struct { Operator *uint16 `json:"operator,omitempty"` Visitor *uint16 `json:"visitor,omitempty"` }
ConversationUnread mapping
type ConversationVerify ¶
type ConversationVerify struct {
Verified *bool `json:"verified,omitempty"`
}
ConversationVerify mapping
func (ConversationVerify) String ¶
func (instance ConversationVerify) String() string
String returns the string representation of ConversationVerify
type ConversationVerifyData ¶
type ConversationVerifyData struct {
Data *ConversationVerify `json:"data,omitempty"`
}
ConversationVerifyData mapping
type ConversationVerifyUpdate ¶
type ConversationVerifyUpdate struct {
Verified *bool `json:"verified,omitempty"`
}
ConversationVerifyUpdate mapping
type ConversationWidgetAction ¶
type ConversationWidgetAction struct { CorrelationID *string `json:"correlation_id,omitempty"` Strategy *ConversationWidgetActionStrategy `json:"strategy,omitempty"` }
ConversationWidgetAction mapping
func (ConversationWidgetAction) String ¶
func (instance ConversationWidgetAction) String() string
String returns the string representation of ConversationWidgetAction
type ConversationWidgetActionData ¶
type ConversationWidgetActionData struct {
Data *ConversationWidgetAction `json:"data,omitempty"`
}
ConversationWidgetActionData mapping
type ConversationWidgetActionStrategy ¶
type ConversationWidgetActionStrategy struct { Attempts *uint8 `json:"attempts,omitempty"` Exhaustion *uint16 `json:"exhaustion,omitempty"` }
ConversationWidgetActionStrategy mapping
type ConversationWidgetButtonPayload ¶
type ConversationWidgetButtonPayload struct { SectionID string `json:"section_id,omitempty"` ItemID string `json:"item_id,omitempty"` Data interface{} `json:"data,omitempty"` Value *interface{} `json:"value,omitempty"` }
ConversationWidgetButtonPayload mapping
type ConversationWidgetDataEditPayload ¶
type ConversationWidgetDataEditPayload struct { SectionID string `json:"section_id,omitempty"` ItemID string `json:"item_id,omitempty"` Action string `json:"action,omitempty"` Value string `json:"value,omitempty"` }
ConversationWidgetDataEditPayload mapping
type ConversationWidgetDataFetchPayload ¶
type ConversationWidgetDataFetchPayload struct { SectionID string `json:"section_id,omitempty"` ItemID string `json:"item_id,omitempty"` Action string `json:"action,omitempty"` Data interface{} `json:"data,omitempty"` }
ConversationWidgetDataFetchPayload mapping
type EventsBrowsingGeneric ¶
type EventsBrowsingGeneric struct { EventsSessionGeneric BrowsingID *string `json:"browsing_id"` }
EventsBrowsingGeneric maps a generic browsing
type EventsBrowsingRequestInitiated ¶
type EventsBrowsingRequestInitiated struct { EventsGeneric EventsBrowsingGeneric BrowsingToken *string `json:"browsing_token"` }
EventsBrowsingRequestInitiated maps browsing:request:initiated
func (EventsBrowsingRequestInitiated) String ¶
func (evt EventsBrowsingRequestInitiated) String() string
String returns the string representation of EventsBrowsingRequestInitiated
type EventsBrowsingRequestRejected ¶
type EventsBrowsingRequestRejected struct { EventsGeneric EventsSessionGeneric }
EventsBrowsingRequestRejected maps browsing:request:rejected
func (EventsBrowsingRequestRejected) String ¶
func (evt EventsBrowsingRequestRejected) String() string
String returns the string representation of EventsBrowsingRequestRejected
type EventsCallGeneric ¶
type EventsCallGeneric struct { EventsSessionGeneric CallID *string `json:"call_id"` }
EventsCallGeneric maps a generic call
type EventsCallRequestInitiated ¶
type EventsCallRequestInitiated struct { EventsGeneric EventsCallGeneric }
EventsCallRequestInitiated maps call:request:initiated
func (EventsCallRequestInitiated) String ¶
func (evt EventsCallRequestInitiated) String() string
String returns the string representation of EventsCallRequestInitiated
type EventsCallRequestRejected ¶
type EventsCallRequestRejected struct { EventsGeneric EventsCallGeneric }
EventsCallRequestRejected maps call:request:rejected
func (EventsCallRequestRejected) String ¶
func (evt EventsCallRequestRejected) String() string
String returns the string representation of EventsCallRequestRejected
type EventsCampaignDispatched ¶
type EventsCampaignDispatched struct { EventsGeneric EventsCampaignGeneric }
EventsCampaignDispatched maps campaign:dispatched
func (EventsCampaignDispatched) String ¶
func (evt EventsCampaignDispatched) String() string
String returns the string representation of EventsCampaignDispatched
type EventsCampaignGeneric ¶
type EventsCampaignGeneric struct { EventsWebsiteGeneric CampaignID *string `json:"campaign_id"` }
EventsCampaignGeneric maps a generic campaign
type EventsCampaignProgress ¶
type EventsCampaignProgress struct { EventsGeneric EventsCampaignGeneric Progress *uint8 `json:"progress"` }
EventsCampaignProgress maps campaign:progress
func (EventsCampaignProgress) String ¶
func (evt EventsCampaignProgress) String() string
String returns the string representation of EventsCampaignProgress
type EventsCampaignRunning ¶
type EventsCampaignRunning struct { EventsGeneric EventsCampaignGeneric Running *bool `json:"running"` }
EventsCampaignRunning maps campaign:running
func (EventsCampaignRunning) String ¶
func (evt EventsCampaignRunning) String() string
String returns the string representation of EventsCampaignRunning
type EventsGeneric ¶
type EventsGeneric struct {
RoutingIDs *[]string `json:"routing_ids,omitempty"`
}
EventsGeneric maps a generic event
type EventsImportGeneric ¶
type EventsImportGeneric struct {
ImportID *string `json:"import_id"`
}
EventsImportGeneric maps a generic import
type EventsMode ¶
type EventsMode uint8
EventsMode mode
const ( EventsModeWebSockets EventsMode = 0 EventsModeWebHooks EventsMode = 1 )
type EventsPayloadHook ¶
type EventsPayloadHook struct { Event string `json:"event"` Data *json.RawMessage `json:"data"` }
EventsPayloadHook model mapping
type EventsPeopleBindSession ¶
type EventsPeopleBindSession struct { EventsGeneric EventsPeopleGeneric EventsSessionGenericUnbound }
EventsPeopleBindSession maps people:bind:session
func (EventsPeopleBindSession) String ¶
func (evt EventsPeopleBindSession) String() string
String returns the string representation of EventsPeopleBindSession
type EventsPeopleGeneric ¶
type EventsPeopleGeneric struct { EventsWebsiteGeneric PeopleID *string `json:"people_id"` }
EventsPeopleGeneric maps a generic people
type EventsPeopleImportDone ¶
type EventsPeopleImportDone struct { EventsGeneric EventsImportGeneric Error *bool `json:"error"` }
EventsPeopleImportDone maps people:import:done
func (EventsPeopleImportDone) String ¶
func (evt EventsPeopleImportDone) String() string
String returns the string representation of EventsPeopleImportDone
type EventsPeopleImportProgress ¶
type EventsPeopleImportProgress struct { EventsGeneric EventsImportGeneric Progress *uint8 `json:"progress"` Count *EventsPeopleImportProgressCount `json:"count"` Items *[]EventsPeopleImportProgressItem `json:"items"` }
EventsPeopleImportProgress maps people:import:progress
func (EventsPeopleImportProgress) String ¶
func (evt EventsPeopleImportProgress) String() string
String returns the string representation of EventsPeopleImportProgress
type EventsPeopleImportProgressCount ¶
type EventsPeopleImportProgressCount struct { Total *uint32 `json:"total"` Skipped *uint32 `json:"skipped"` Remaining *uint32 `json:"remaining"` }
EventsPeopleImportProgressCount maps people:import:progress/count
type EventsPeopleImportProgressItem ¶
type EventsPeopleImportProgressItem struct { Identifier *string `json:"identifier,omitempty"` Reason *string `json:"reason"` }
EventsPeopleImportProgressItem maps people:import:progress/items
type EventsPeopleSyncProfile ¶
type EventsPeopleSyncProfile struct { EventsGeneric EventsPeopleGeneric EventsSessionGenericUnbound Identity *PeopleProfileCard `json:"identity"` }
EventsPeopleSyncProfile maps people:sync:profile
func (EventsPeopleSyncProfile) String ¶
func (evt EventsPeopleSyncProfile) String() string
String returns the string representation of EventsPeopleSyncProfile
type EventsPluginGeneric ¶
type EventsPluginGeneric struct {
PluginID *string `json:"plugin_id"`
}
EventsPluginGeneric maps a generic plugin
type EventsPullEndpoints ¶
type EventsPullEndpoints struct {
Socket *EventsPullEndpointsSocket `json:"socket,omitempty"`
}
EventsPullEndpoints model mapping
type EventsPullEndpointsData ¶
type EventsPullEndpointsData struct {
Data *EventsPullEndpoints `json:"data,omitempty"`
}
EventsPullEndpointsData model mapping
type EventsPullEndpointsSocket ¶
type EventsPullEndpointsSocket struct {
App *string `json:"app,omitempty"`
}
EventsPullEndpointsSocket model mapping
type EventsReceiveAnimationMessage ¶
type EventsReceiveAnimationMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveAnimationMessageContent `json:"content"` }
EventsReceiveAnimationMessage maps message:{send,received} (animation type)
func (EventsReceiveAnimationMessage) String ¶
func (evt EventsReceiveAnimationMessage) String() string
String returns the string representation of EventsReceiveAnimationMessage
type EventsReceiveAnimationMessageContent ¶
type EventsReceiveAnimationMessageContent struct { URL string `json:"url"` Type string `json:"type"` }
EventsReceiveAnimationMessageContent maps message:{send,received}/content (animation type)
type EventsReceiveAudioMessage ¶
type EventsReceiveAudioMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveAudioMessageContent `json:"content"` }
EventsReceiveAudioMessage maps message:{send,received} (audio type)
func (EventsReceiveAudioMessage) String ¶
func (evt EventsReceiveAudioMessage) String() string
String returns the string representation of EventsReceiveAudioMessage
type EventsReceiveAudioMessageContent ¶
type EventsReceiveAudioMessageContent struct { URL string `json:"url"` Type string `json:"type"` Duration uint16 `json:"duration"` }
EventsReceiveAudioMessageContent maps message:{send,received}/content (audio type)
type EventsReceiveAuthenticationUnauthorized ¶
type EventsReceiveAuthenticationUnauthorized struct {
}EventsReceiveAuthenticationUnauthorized maps unauthorized
type EventsReceiveBucketURLAvatarGenerated ¶
type EventsReceiveBucketURLAvatarGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLAvatarGenerated maps bucket:url:avatar:generated
func (EventsReceiveBucketURLAvatarGenerated) String ¶
func (evt EventsReceiveBucketURLAvatarGenerated) String() string
String returns the string representation of EventsReceiveBucketURLAvatarGenerated
type EventsReceiveBucketURLCampaignGenerated ¶
type EventsReceiveBucketURLCampaignGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLCampaignGenerated maps bucket:url:campaign:generated
func (EventsReceiveBucketURLCampaignGenerated) String ¶
func (evt EventsReceiveBucketURLCampaignGenerated) String() string
String returns the string representation of EventsReceiveBucketURLCampaignGenerated
type EventsReceiveBucketURLHelpdeskGenerated ¶
type EventsReceiveBucketURLHelpdeskGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLHelpdeskGenerated maps bucket:url:helpdesk:generated
func (EventsReceiveBucketURLHelpdeskGenerated) String ¶
func (evt EventsReceiveBucketURLHelpdeskGenerated) String() string
String returns the string representation of EventsReceiveBucketURLHelpdeskGenerated
type EventsReceiveBucketURLProcessingGenerated ¶
type EventsReceiveBucketURLProcessingGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLProcessingGenerated maps bucket:url:processing:generated
func (EventsReceiveBucketURLProcessingGenerated) String ¶
func (evt EventsReceiveBucketURLProcessingGenerated) String() string
String returns the string representation of EventsReceiveBucketURLProcessingGenerated
type EventsReceiveBucketURLStatusGenerated ¶
type EventsReceiveBucketURLStatusGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLStatusGenerated maps bucket:url:status:generated
func (EventsReceiveBucketURLStatusGenerated) String ¶
func (evt EventsReceiveBucketURLStatusGenerated) String() string
String returns the string representation of EventsReceiveBucketURLStatusGenerated
type EventsReceiveBucketURLUploadGenerated ¶
type EventsReceiveBucketURLUploadGenerated struct { EventsGeneric Type *string `json:"type"` From *string `json:"from"` Identifier *string `json:"identifier"` ID *string `json:"id"` Resource *EventsReceiveBucketURLUploadGeneratedResource `json:"resource"` URL *EventsReceiveBucketURLUploadGeneratedURL `json:"url"` Policy *EventsReceiveBucketURLUploadGeneratedPolicy `json:"policy"` }
EventsReceiveBucketURLUploadGenerated maps bucket:url:upload:generated
func (EventsReceiveBucketURLUploadGenerated) String ¶
func (evt EventsReceiveBucketURLUploadGenerated) String() string
String returns the string representation of EventsReceiveBucketURLUploadGenerated
type EventsReceiveBucketURLUploadGeneratedPolicy ¶
type EventsReceiveBucketURLUploadGeneratedPolicy struct {
SizeLimit *uint64 `json:"size_limit"`
}
EventsReceiveBucketURLUploadGeneratedPolicy maps bucket:url:upload:generated/policy
type EventsReceiveBucketURLUploadGeneratedResource ¶
type EventsReceiveBucketURLUploadGeneratedResource struct { Type *string `json:"type"` ID *string `json:"id"` }
EventsReceiveBucketURLUploadGeneratedResource maps bucket:url:upload:generated/resource
type EventsReceiveBucketURLUploadGeneratedURL ¶
type EventsReceiveBucketURLUploadGeneratedURL struct { Resource *string `json:"resource"` Signed *string `json:"signed"` }
EventsReceiveBucketURLUploadGeneratedURL maps bucket:url:upload:generated/url
type EventsReceiveBucketURLWebsiteGenerated ¶
type EventsReceiveBucketURLWebsiteGenerated EventsReceiveBucketURLUploadGenerated
EventsReceiveBucketURLWebsiteGenerated maps bucket:url:website:generated
func (EventsReceiveBucketURLWebsiteGenerated) String ¶
func (evt EventsReceiveBucketURLWebsiteGenerated) String() string
String returns the string representation of EventsReceiveBucketURLWebsiteGenerated
type EventsReceiveCarouselMessage ¶
type EventsReceiveCarouselMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveCarouselMessageContent `json:"content"` }
EventsReceiveCarouselMessage maps message:{send,received} (carousel type)
func (EventsReceiveCarouselMessage) String ¶
func (evt EventsReceiveCarouselMessage) String() string
String returns the string representation of EventsReceiveCarouselMessage
type EventsReceiveCarouselMessageContent ¶
type EventsReceiveCarouselMessageContent struct { Text string `json:"text"` Targets *[]EventsReceiveCarouselMessageContentTarget `json:"targets"` }
EventsReceiveCarouselMessageContent maps message:{send,received}/content (carousel type)
type EventsReceiveCarouselMessageContentTarget ¶
type EventsReceiveCarouselMessageContentTarget struct { Title string `json:"title"` Description string `json:"description"` Image *string `json:"image,omitempty"` Actions *[]EventsReceiveCarouselMessageContentTargetAction `json:"actions"` }
EventsReceiveCarouselMessageContentTarget maps message:{send,received}/content/targets (carousel type)
type EventsReceiveCarouselMessageContentTargetAction ¶
type EventsReceiveCarouselMessageContentTargetAction struct { Label string `json:"label"` URL string `json:"url"` }
EventsReceiveCarouselMessageContentTargetAction maps message:{send,received}/content/targets/actions (carousel type)
type EventsReceiveCommonMessageOriginal ¶
type EventsReceiveCommonMessageOriginal struct {
OriginalID *string `json:"original_id"`
}
EventsReceiveCommonMessageOriginal maps a message original
type EventsReceiveCommonMessageReference ¶
type EventsReceiveCommonMessageReference struct { Type *string `json:"type"` Name *string `json:"name"` Target *string `json:"target"` }
EventsReceiveCommonMessageReference maps a message reference
type EventsReceiveCommonMessageUser ¶
type EventsReceiveCommonMessageUser struct { Type *string `json:"type"` UserID *string `json:"user_id"` Nickname *string `json:"nickname"` Avatar *string `json:"avatar"` }
EventsReceiveCommonMessageUser maps a message user
type EventsReceiveEmailSubscribe ¶
type EventsReceiveEmailSubscribe struct { EventsGeneric EventsWebsiteGeneric Email *string `json:"email"` Subscribed *bool `json:"subscribed"` }
EventsReceiveEmailSubscribe maps email:subscribe
func (EventsReceiveEmailSubscribe) String ¶
func (evt EventsReceiveEmailSubscribe) String() string
String returns the string representation of EventsReceiveEmailSubscribe
type EventsReceiveEmailTrackView ¶
type EventsReceiveEmailTrackView struct { EventsGeneric EventsWebsiteGeneric Type *string `json:"type"` Identifier *string `json:"identifier"` Mode *string `json:"mode"` }
EventsReceiveEmailTrackView maps email:track:view
func (EventsReceiveEmailTrackView) String ¶
func (evt EventsReceiveEmailTrackView) String() string
String returns the string representation of EventsReceiveEmailTrackView
type EventsReceiveEventMessage ¶
type EventsReceiveEventMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveEventMessageContent `json:"content"` }
EventsReceiveEventMessage maps message:{send,received} (event type)
func (EventsReceiveEventMessage) String ¶
func (evt EventsReceiveEventMessage) String() string
String returns the string representation of EventsReceiveEventMessage
type EventsReceiveEventMessageContent ¶
type EventsReceiveEventMessageContent struct { Namespace string `json:"namespace"` Text *string `json:"text,omitempty"` }
EventsReceiveEventMessageContent maps message:{send,received}/content (event type)
type EventsReceiveFieldMessage ¶
type EventsReceiveFieldMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveFieldMessageContent `json:"content"` }
EventsReceiveFieldMessage maps message:{send,received} (field type)
func (EventsReceiveFieldMessage) String ¶
func (evt EventsReceiveFieldMessage) String() string
String returns the string representation of EventsReceiveFieldMessage
type EventsReceiveFieldMessageContent ¶
type EventsReceiveFieldMessageContent struct { ID string `json:"id"` Text string `json:"text"` Explain string `json:"explain"` Value string `json:"value"` Required *bool `json:"required,omitempty"` }
EventsReceiveFieldMessageContent maps message:{send,received}/content (field type)
type EventsReceiveFileMessage ¶
type EventsReceiveFileMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceiveFileMessageContent `json:"content"` }
EventsReceiveFileMessage maps message:{send,received} (file type)
func (EventsReceiveFileMessage) String ¶
func (evt EventsReceiveFileMessage) String() string
String returns the string representation of EventsReceiveFileMessage
type EventsReceiveFileMessageContent ¶
type EventsReceiveFileMessageContent struct { Name string `json:"name"` URL string `json:"url"` Type string `json:"type"` }
EventsReceiveFileMessageContent maps message:{send,received}/content (file type)
type EventsReceiveGenericMessage ¶
type EventsReceiveGenericMessage struct { EventsReceiveGenericMessageType EventsSessionGeneric From *string `json:"from"` Origin *string `json:"origin"` Mentions *[]string `json:"mentions"` Stamped *bool `json:"stamped"` Timestamp *uint64 `json:"timestamp"` Fingerprint *int `json:"fingerprint"` User *EventsReceiveCommonMessageUser `json:"user"` References *[]EventsReceiveCommonMessageReference `json:"references,omitempty"` Original *EventsReceiveCommonMessageOriginal `json:"original,omitempty"` Edited *bool `json:"edited,omitempty"` Translated *bool `json:"translated,omitempty"` Automated *bool `json:"automated,omitempty"` }
EventsReceiveGenericMessage maps a generic message
type EventsReceiveGenericMessageType ¶
type EventsReceiveGenericMessageType struct {
Type *string `json:"type"`
}
EventsReceiveGenericMessageType receive a generic message type
type EventsReceiveMediaAnimationListed ¶
type EventsReceiveMediaAnimationListed struct { EventsGeneric ID *int `json:"id"` Results *[]EventsReceiveMediaAnimationListedResult `json:"results"` }
EventsReceiveMediaAnimationListed maps media:animation:listed
func (EventsReceiveMediaAnimationListed) String ¶
func (evt EventsReceiveMediaAnimationListed) String() string
String returns the string representation of EventsReceiveMediaAnimationListed
type EventsReceiveMediaAnimationListedResult ¶
type EventsReceiveMediaAnimationListedResult struct { Type *string `json:"type"` URL *string `json:"url"` }
EventsReceiveMediaAnimationListedResult maps media:animation:listed/results
type EventsReceiveMessageAcknowledge ¶
type EventsReceiveMessageAcknowledge struct { EventsGeneric EventsSessionGeneric Origin *string `json:"origin"` Fingerprints *[]int `json:"fingerprints"` Details *EventsReceiveMessageAcknowledgeDetails `json:"details,omitempty"` }
EventsReceiveMessageAcknowledge maps message:acknowledge:*
func (EventsReceiveMessageAcknowledge) String ¶
func (evt EventsReceiveMessageAcknowledge) String() string
String returns the string representation of EventsReceiveMessageAcknowledge
type EventsReceiveMessageAcknowledgeDetails ¶
type EventsReceiveMessageAcknowledgeDetails struct { Type *string `json:"type"` Reason *string `json:"reason"` }
EventsReceiveMessageAcknowledgeDetails maps message:acknowledge:*/details
type EventsReceiveMessageComposeReceive ¶
type EventsReceiveMessageComposeReceive struct { EventsGeneric EventsSessionGeneric Type *string `json:"type"` Excerpt *string `json:"excerpt"` Timestamp *uint64 `json:"timestamp"` User *EventsReceiveMessageComposeReceiveUser `json:"user"` Automated *bool `json:"automated,omitempty"` }
EventsReceiveMessageComposeReceive maps message:compose:receive
func (EventsReceiveMessageComposeReceive) String ¶
func (evt EventsReceiveMessageComposeReceive) String() string
String returns the string representation of EventsReceiveMessageComposeReceive
type EventsReceiveMessageComposeReceiveUser ¶
type EventsReceiveMessageComposeReceiveUser struct { UserID *string `json:"user_id"` Nickname *string `json:"nickname"` Avatar *string `json:"avatar"` }
EventsReceiveMessageComposeReceiveUser maps message:compose:receive/user
type EventsReceiveMessageComposeSend ¶
type EventsReceiveMessageComposeSend struct { EventsGeneric EventsSessionGeneric Type *string `json:"type"` Excerpt *string `json:"excerpt"` Timestamp *uint64 `json:"timestamp"` Automated *bool `json:"automated,omitempty"` }
EventsReceiveMessageComposeSend maps message:compose:send
func (EventsReceiveMessageComposeSend) String ¶
func (evt EventsReceiveMessageComposeSend) String() string
String returns the string representation of EventsReceiveMessageComposeSend
type EventsReceiveMessageNotify ¶
type EventsReceiveMessageNotify struct { EventsGeneric EventsSessionGeneric }
EventsReceiveMessageNotify maps message:notify:*
func (EventsReceiveMessageNotify) String ¶
func (evt EventsReceiveMessageNotify) String() string
String returns the string representation of EventsReceiveMessageNotify
type EventsReceiveMessageRemoved ¶
type EventsReceiveMessageRemoved struct { EventsGeneric EventsSessionGeneric Fingerprint *int `json:"fingerprint"` }
EventsReceiveMessageRemoved maps message:removed
func (EventsReceiveMessageRemoved) String ¶
func (evt EventsReceiveMessageRemoved) String() string
String returns the string representation of EventsReceiveMessageRemoved
type EventsReceiveMessageUpdated ¶
type EventsReceiveMessageUpdated struct { EventsGeneric EventsSessionGeneric Fingerprint *int `json:"fingerprint"` Content *interface{} `json:"content"` }
EventsReceiveMessageUpdated maps message:updated
func (EventsReceiveMessageUpdated) String ¶
func (evt EventsReceiveMessageUpdated) String() string
String returns the string representation of EventsReceiveMessageUpdated
type EventsReceiveNoteMessage ¶
type EventsReceiveNoteMessage EventsReceiveTextMessage
EventsReceiveNoteMessage maps message:{send,received} (note type)
func (EventsReceiveNoteMessage) String ¶
func (evt EventsReceiveNoteMessage) String() string
String returns the string representation of EventsReceiveNoteMessage
type EventsReceivePeopleProfileCreated ¶
type EventsReceivePeopleProfileCreated struct { EventsGeneric EventsPeopleGeneric Email *string `json:"email"` }
EventsReceivePeopleProfileCreated maps people:profile:created
func (EventsReceivePeopleProfileCreated) String ¶
func (evt EventsReceivePeopleProfileCreated) String() string
String returns the string representation of EventsReceivePeopleProfileCreated
type EventsReceivePeopleProfileRemoved ¶
type EventsReceivePeopleProfileRemoved EventsReceivePeopleProfileCreated
EventsReceivePeopleProfileRemoved maps people:profile:removed
func (EventsReceivePeopleProfileRemoved) String ¶
func (evt EventsReceivePeopleProfileRemoved) String() string
String returns the string representation of EventsReceivePeopleProfileRemoved
type EventsReceivePeopleProfileUpdated ¶
type EventsReceivePeopleProfileUpdated struct { EventsGeneric EventsPeopleGeneric Email *string `json:"email"` Update *PeopleProfileCard `json:"update"` }
EventsReceivePeopleProfileUpdated maps people:profile:updated
func (EventsReceivePeopleProfileUpdated) String ¶
func (evt EventsReceivePeopleProfileUpdated) String() string
String returns the string representation of EventsReceivePeopleProfileUpdated
type EventsReceivePickerMessage ¶
type EventsReceivePickerMessage struct { EventsGeneric EventsReceiveGenericMessage Content *EventsReceivePickerMessageContent `json:"content"` }
EventsReceivePickerMessage maps message:{send,received} (picker type)
func (EventsReceivePickerMessage) String ¶
func (evt EventsReceivePickerMessage) String() string
String returns the string representation of EventsReceivePickerMessage
type EventsReceivePickerMessageContent ¶
type EventsReceivePickerMessageContent struct { ID string `json:"id"` Text string `json:"text"` Choices *[]EventsReceivePickerMessageContentChoice `json:"choices"` Required *bool `json:"required,omitempty"` }
EventsReceivePickerMessageContent maps message:{send,received}/content (picker type)
type EventsReceivePickerMessageContentChoice ¶
type EventsReceivePickerMessageContentChoice struct { Value string `json:"value"` Icon *string `json:"icon,omitempty"` Label string `json:"label"` Selected bool `json:"selected"` Action *EventsReceivePickerMessageContentChoiceAction `json:"action,omitempty"` }
EventsReceivePickerMessageContentChoice maps message:{send,received}/content/choices (picker type)
type EventsReceivePickerMessageContentChoiceAction ¶
type EventsReceivePickerMessageContentChoiceAction struct { Type string `json:"type"` Target string `json:"target"` }
EventsReceivePickerMessageContentChoiceAction maps message:{send,received}/content/choices/action (picker type)
type EventsReceivePluginChannel ¶
type EventsReceivePluginChannel struct { EventsGeneric EventsWebsiteGeneric EventsPluginGeneric Namespace *string `json:"namespace"` Identifier *string `json:"identifier,omitempty"` Payload *interface{} `json:"payload"` }
EventsReceivePluginChannel maps plugin:channel
func (EventsReceivePluginChannel) String ¶
func (evt EventsReceivePluginChannel) String() string
String returns the string representation of EventsReceivePluginChannel
type EventsReceivePluginEvent ¶
type EventsReceivePluginEvent struct { EventsGeneric EventsWebsiteGeneric EventsPluginGeneric URN *string `json:"urn"` Name *string `json:"name"` Data *interface{} `json:"data"` }
EventsReceivePluginEvent maps plugin:event
func (EventsReceivePluginEvent) String ¶
func (evt EventsReceivePluginEvent) String() string
String returns the string representation of EventsReceivePluginEvent
type EventsReceivePluginSettingsSaved ¶
type EventsReceivePluginSettingsSaved struct { EventsGeneric EventsWebsiteGeneric EventsPluginGeneric Settings *interface{} `json:"settings"` }
EventsReceivePluginSettingsSaved maps plugin:settings:saved
func (EventsReceivePluginSettingsSaved) String ¶
func (evt EventsReceivePluginSettingsSaved) String() string
String returns the string representation of EventsReceivePluginSettingsSaved
type EventsReceiveSessionError ¶
type EventsReceiveSessionError struct { EventsGeneric EventsSessionGeneric Type *string `json:"type"` Value *string `json:"value"` PreviousValue *string `json:"previous_value,omitempty"` }
EventsReceiveSessionError maps session:error
func (EventsReceiveSessionError) String ¶
func (evt EventsReceiveSessionError) String() string
String returns the string representation of EventsReceiveSessionError
type EventsReceiveSessionRemoved ¶
type EventsReceiveSessionRemoved struct { EventsGeneric EventsSessionGeneric }
EventsReceiveSessionRemoved maps session:removed
func (EventsReceiveSessionRemoved) String ¶
func (evt EventsReceiveSessionRemoved) String() string
String returns the string representation of EventsReceiveSessionRemoved
type EventsReceiveSessionRequestInitiated ¶
type EventsReceiveSessionRequestInitiated struct { EventsGeneric EventsSessionGeneric }
EventsReceiveSessionRequestInitiated maps session:request:initiated
func (EventsReceiveSessionRequestInitiated) String ¶
func (evt EventsReceiveSessionRequestInitiated) String() string
String returns the string representation of EventsReceiveSessionRequestInitiated
type EventsReceiveSessionSetAddress ¶
type EventsReceiveSessionSetAddress struct { EventsGeneric EventsSessionGeneric Address *string `json:"address"` }
EventsReceiveSessionSetAddress maps session:set_address
type EventsReceiveSessionSetAvatar ¶
type EventsReceiveSessionSetAvatar struct { EventsGeneric EventsSessionGeneric Avatar *string `json:"avatar"` }
EventsReceiveSessionSetAvatar maps session:set_avatar
func (EventsReceiveSessionSetAvatar) String ¶
func (evt EventsReceiveSessionSetAvatar) String() string
String returns the string representation of EventsReceiveSessionSetAvatar
type EventsReceiveSessionSetBlock ¶
type EventsReceiveSessionSetBlock struct { EventsGeneric EventsSessionGeneric IsBlocked *bool `json:"is_blocked"` }
EventsReceiveSessionSetBlock maps session:set_block
func (EventsReceiveSessionSetBlock) String ¶
func (evt EventsReceiveSessionSetBlock) String() string
String returns the string representation of EventsReceiveSessionSetBlock
type EventsReceiveSessionSetClosed ¶
type EventsReceiveSessionSetClosed struct { EventsGeneric EventsSessionGeneric Operator *EventsReceiveSessionSetOpenStateOperator `json:"operator"` }
EventsReceiveSessionSetClosed maps session:set_closed
func (EventsReceiveSessionSetClosed) String ¶
func (evt EventsReceiveSessionSetClosed) String() string
String returns the string representation of EventsReceiveSessionSetClosed
type EventsReceiveSessionSetData ¶
type EventsReceiveSessionSetData struct { EventsGeneric EventsSessionGeneric Data *interface{} `json:"data"` }
EventsReceiveSessionSetData maps session:set_data
func (EventsReceiveSessionSetData) String ¶
func (evt EventsReceiveSessionSetData) String() string
String returns the string representation of EventsReceiveSessionSetData
type EventsReceiveSessionSetEmail ¶
type EventsReceiveSessionSetEmail struct { EventsGeneric EventsSessionGeneric Email *string `json:"email"` }
EventsReceiveSessionSetEmail maps session:set_email
func (EventsReceiveSessionSetEmail) String ¶
func (evt EventsReceiveSessionSetEmail) String() string
String returns the string representation of EventsReceiveSessionSetEmail
type EventsReceiveSessionSetInbox ¶
type EventsReceiveSessionSetInbox struct { EventsGeneric EventsSessionGeneric InboxID *string `json:"inbox_id"` PreviousInboxID *string `json:"previous_inbox_id,omitempty"` }
EventsReceiveSessionSetInbox maps session:set_inbox
func (EventsReceiveSessionSetInbox) String ¶
func (evt EventsReceiveSessionSetInbox) String() string
String returns the string representation of EventsReceiveSessionSetInbox
type EventsReceiveSessionSetMentions ¶
type EventsReceiveSessionSetMentions struct { EventsGeneric EventsSessionGeneric Mentions *[]string `json:"mentions"` }
EventsReceiveSessionSetMentions maps session:set_mentions
func (EventsReceiveSessionSetMentions) String ¶
func (evt EventsReceiveSessionSetMentions) String() string
String returns the string representation of EventsReceiveSessionSetMentions
type EventsReceiveSessionSetNickname ¶
type EventsReceiveSessionSetNickname struct { EventsGeneric EventsSessionGeneric Nickname *string `json:"nickname"` }
EventsReceiveSessionSetNickname maps session:set_nickname
func (EventsReceiveSessionSetNickname) String ¶
func (evt EventsReceiveSessionSetNickname) String() string
String returns the string representation of EventsReceiveSessionSetNickname
type EventsReceiveSessionSetOpenStateOperator ¶
type EventsReceiveSessionSetOpenStateOperator struct {
EventsUserGeneric
}
EventsReceiveSessionSetOpenStateOperator maps session:set_{opened,closed}/operator
type EventsReceiveSessionSetOpened ¶
type EventsReceiveSessionSetOpened struct { EventsGeneric EventsSessionGeneric Operator *EventsReceiveSessionSetOpenStateOperator `json:"operator"` }
EventsReceiveSessionSetOpened maps session:set_opened
func (EventsReceiveSessionSetOpened) String ¶
func (evt EventsReceiveSessionSetOpened) String() string
String returns the string representation of EventsReceiveSessionSetOpened
type EventsReceiveSessionSetParticipants ¶
type EventsReceiveSessionSetParticipants struct { EventsGeneric EventsSessionGeneric Participants *[]EventsReceiveSessionSetParticipantsOne `json:"participants"` }
EventsReceiveSessionSetParticipants maps session:set_participants
func (EventsReceiveSessionSetParticipants) String ¶
func (evt EventsReceiveSessionSetParticipants) String() string
String returns the string representation of EventsReceiveSessionSetParticipants
type EventsReceiveSessionSetParticipantsOne ¶
type EventsReceiveSessionSetParticipantsOne struct { Type *string `json:"type"` Target *string `json:"target"` }
EventsReceiveSessionSetParticipantsOne maps session:set_participants/participants
type EventsReceiveSessionSetPhone ¶
type EventsReceiveSessionSetPhone struct { EventsGeneric EventsSessionGeneric Phone *string `json:"phone"` }
EventsReceiveSessionSetPhone maps session:set_phone
type EventsReceiveSessionSetRouting ¶
type EventsReceiveSessionSetRouting struct { EventsGeneric EventsSessionGeneric RoutingID *string `json:"routing_id"` }
EventsReceiveSessionSetRouting maps session:set_routing
func (EventsReceiveSessionSetRouting) String ¶
func (evt EventsReceiveSessionSetRouting) String() string
String returns the string representation of EventsReceiveSessionSetRouting
type EventsReceiveSessionSetSegments ¶
type EventsReceiveSessionSetSegments struct { EventsGeneric EventsSessionGeneric Segments *[]string `json:"segments"` }
EventsReceiveSessionSetSegments maps session:set_segments
func (EventsReceiveSessionSetSegments) String ¶
func (evt EventsReceiveSessionSetSegments) String() string
String returns the string representation of EventsReceiveSessionSetSegments
type EventsReceiveSessionSetState ¶
type EventsReceiveSessionSetState struct { EventsGeneric EventsSessionGeneric State *string `json:"state"` }
EventsReceiveSessionSetState maps session:set_state
func (EventsReceiveSessionSetState) String ¶
func (evt EventsReceiveSessionSetState) String() string
String returns the string representation of EventsReceiveSessionSetState
type EventsReceiveSessionSetSubject ¶
type EventsReceiveSessionSetSubject struct { EventsGeneric EventsSessionGeneric Subject *string `json:"subject"` }
EventsReceiveSessionSetSubject maps session:set_subject
type EventsReceiveSessionSyncCapabilities ¶
type EventsReceiveSessionSyncCapabilities struct { EventsGeneric EventsSessionGeneric Capabilities *EventsReceiveSessionSyncCapabilitiesData `json:"capabilities"` }
EventsReceiveSessionSyncCapabilities maps session:sync:capabilities
func (EventsReceiveSessionSyncCapabilities) String ¶
func (evt EventsReceiveSessionSyncCapabilities) String() string
String returns the string representation of EventsReceiveSessionSyncCapabilities
type EventsReceiveSessionSyncCapabilitiesData ¶
type EventsReceiveSessionSyncCapabilitiesData struct {
Capabilities *[]string `json:"capabilities,omitempty"`
}
EventsReceiveSessionSyncCapabilitiesData maps session:sync:capabilities/capabilities
type EventsReceiveSessionSyncEvents ¶
type EventsReceiveSessionSyncEvents struct { EventsGeneric EventsSessionGeneric Events *[]EventsReceiveSessionSyncEventsOne `json:"events"` }
EventsReceiveSessionSyncEvents maps session:sync:events
func (EventsReceiveSessionSyncEvents) String ¶
func (evt EventsReceiveSessionSyncEvents) String() string
String returns the string representation of EventsReceiveSessionSyncEvents
type EventsReceiveSessionSyncEventsOne ¶
type EventsReceiveSessionSyncEventsOne struct { Text *string `json:"text"` Data *interface{} `json:"data,omitempty"` Color *string `json:"color,omitempty"` Timestamp *uint64 `json:"timestamp"` }
EventsReceiveSessionSyncEventsOne maps session:sync:events/events
type EventsReceiveSessionSyncGeolocation ¶
type EventsReceiveSessionSyncGeolocation struct { EventsGeneric EventsSessionGeneric Geolocation *EventsReceiveSessionSyncGeolocationData `json:"geolocation"` }
EventsReceiveSessionSyncGeolocation maps session:sync:geolocation
func (EventsReceiveSessionSyncGeolocation) String ¶
func (evt EventsReceiveSessionSyncGeolocation) String() string
String returns the string representation of EventsReceiveSessionSyncGeolocation
type EventsReceiveSessionSyncGeolocationData ¶
type EventsReceiveSessionSyncGeolocationData struct { Coordinates *EventsReceiveSessionSyncGeolocationDataCoordinates `json:"coordinates,omitempty"` City *string `json:"city,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` }
EventsReceiveSessionSyncGeolocationData maps session:sync:geolocation/geolocation
type EventsReceiveSessionSyncGeolocationDataCoordinates ¶
type EventsReceiveSessionSyncGeolocationDataCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
EventsReceiveSessionSyncGeolocationDataCoordinates maps session:sync:geolocation/geolocation/coordinates
type EventsReceiveSessionSyncLocales ¶
type EventsReceiveSessionSyncLocales struct { EventsGeneric EventsSessionGeneric Locales *EventsReceiveSessionSyncLocalesData `json:"locales"` }
EventsReceiveSessionSyncLocales maps session:sync:locales
func (EventsReceiveSessionSyncLocales) String ¶
func (evt EventsReceiveSessionSyncLocales) String() string
String returns the string representation of EventsReceiveSessionSyncLocales
type EventsReceiveSessionSyncLocalesData ¶
type EventsReceiveSessionSyncLocalesData struct {
Locales *[]string `json:"locales,omitempty"`
}
EventsReceiveSessionSyncLocalesData maps session:sync:locales/locales
type EventsReceiveSessionSyncNetwork ¶
type EventsReceiveSessionSyncNetwork struct { EventsGeneric EventsSessionGeneric Network *EventsReceiveSessionSyncNetworkData `json:"network"` }
EventsReceiveSessionSyncNetwork maps session:sync:network
func (EventsReceiveSessionSyncNetwork) String ¶
func (evt EventsReceiveSessionSyncNetwork) String() string
String returns the string representation of EventsReceiveSessionSyncNetwork
type EventsReceiveSessionSyncNetworkData ¶
type EventsReceiveSessionSyncNetworkData struct { IP *string `json:"ip,omitempty"` Connection *EventsReceiveSessionSyncNetworkDataConnection `json:"connection,omitempty"` }
EventsReceiveSessionSyncNetworkData maps session:sync:network/network
type EventsReceiveSessionSyncNetworkDataConnection ¶
type EventsReceiveSessionSyncNetworkDataConnection struct { ISP *string `json:"isp,omitempty"` ASN *string `json:"asn,omitempty"` }
EventsReceiveSessionSyncNetworkDataConnection maps session:sync:network/network/connection
type EventsReceiveSessionSyncPages ¶
type EventsReceiveSessionSyncPages struct { EventsGeneric EventsSessionGeneric Pages *[]EventsReceiveSessionSyncPagesOne `json:"pages"` }
EventsReceiveSessionSyncPages maps session:sync:pages
func (EventsReceiveSessionSyncPages) String ¶
func (evt EventsReceiveSessionSyncPages) String() string
String returns the string representation of EventsReceiveSessionSyncPages
type EventsReceiveSessionSyncPagesOne ¶
type EventsReceiveSessionSyncPagesOne struct { PageTitle *string `json:"page_title"` PageURL *string `json:"page_url"` PageReferrer *string `json:"page_referrer"` Timestamp *uint64 `json:"timestamp"` }
EventsReceiveSessionSyncPagesOne maps session:sync:pages/pages
type EventsReceiveSessionSyncRating ¶
type EventsReceiveSessionSyncRating struct { EventsGeneric EventsSessionGeneric Rating *EventsReceiveSessionSyncRatingData `json:"rating"` }
EventsReceiveSessionSyncRating maps session:sync:rating
func (EventsReceiveSessionSyncRating) String ¶
func (evt EventsReceiveSessionSyncRating) String() string
String returns the string representation of EventsReceiveSessionSyncRating
type EventsReceiveSessionSyncRatingData ¶
type EventsReceiveSessionSyncRatingData struct { Stars uint8 `json:"stars"` Comment *string `json:"comment"` }
EventsReceiveSessionSyncRatingData maps session:sync:rating/rating
type EventsReceiveSessionSyncSystem ¶
type EventsReceiveSessionSyncSystem struct { EventsGeneric EventsSessionGeneric System *EventsReceiveSessionSyncSystemData `json:"system"` }
EventsReceiveSessionSyncSystem maps session:sync:system
func (EventsReceiveSessionSyncSystem) String ¶
func (evt EventsReceiveSessionSyncSystem) String() string
String returns the string representation of EventsReceiveSessionSyncSystem
type EventsReceiveSessionSyncSystemData ¶
type EventsReceiveSessionSyncSystemData struct { OS *EventsReceiveSessionSyncSystemDataOS `json:"os,omitempty"` Engine *EventsReceiveSessionSyncSystemDataEngine `json:"engine,omitempty"` Browser *EventsReceiveSessionSyncSystemDataBrowser `json:"browser,omitempty"` Useragent *string `json:"useragent,omitempty"` }
EventsReceiveSessionSyncSystemData maps session:sync:system/system
type EventsReceiveSessionSyncSystemDataBrowser ¶
type EventsReceiveSessionSyncSystemDataBrowser struct { Major *string `json:"major,omitempty"` Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
EventsReceiveSessionSyncSystemDataBrowser maps session:sync:system/system/browser
type EventsReceiveSessionSyncSystemDataEngine ¶
type EventsReceiveSessionSyncSystemDataEngine struct { Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
EventsReceiveSessionSyncSystemDataEngine maps session:sync:system/system/engine
type EventsReceiveSessionSyncSystemDataOS ¶
type EventsReceiveSessionSyncSystemDataOS struct { Version *string `json:"version,omitempty"` Name *string `json:"name,omitempty"` }
EventsReceiveSessionSyncSystemDataOS maps session:sync:system/system/os
type EventsReceiveSessionSyncTimezone ¶
type EventsReceiveSessionSyncTimezone struct { EventsGeneric EventsSessionGeneric Timezone *EventsReceiveSessionSyncTimezoneData `json:"timezone"` }
EventsReceiveSessionSyncTimezone maps session:sync:timezone
func (EventsReceiveSessionSyncTimezone) String ¶
func (evt EventsReceiveSessionSyncTimezone) String() string
String returns the string representation of EventsReceiveSessionSyncTimezone
type EventsReceiveSessionSyncTimezoneData ¶
type EventsReceiveSessionSyncTimezoneData struct {
Offset *int16 `json:"offset,omitempty"`
}
EventsReceiveSessionSyncTimezoneData maps session:sync:timezone/timezone
type EventsReceiveSessionSyncTopic ¶
type EventsReceiveSessionSyncTopic struct { EventsGeneric EventsSessionGeneric Topic *string `json:"topic"` }
EventsReceiveSessionSyncTopic maps session:sync:topic
func (EventsReceiveSessionSyncTopic) String ¶
func (evt EventsReceiveSessionSyncTopic) String() string
String returns the string representation of EventsReceiveSessionSyncTopic
type EventsReceiveSessionUpdateAvailability ¶
type EventsReceiveSessionUpdateAvailability struct { EventsGeneric EventsSessionGeneric Availability *string `json:"availability"` }
EventsReceiveSessionUpdateAvailability maps session:update_availability
func (EventsReceiveSessionUpdateAvailability) String ¶
func (evt EventsReceiveSessionUpdateAvailability) String() string
String returns the string representation of EventsReceiveSessionUpdateAvailability
type EventsReceiveSessionUpdateVerify ¶
type EventsReceiveSessionUpdateVerify struct { EventsGeneric EventsSessionGeneric IsVerified *bool `json:"is_verified"` }
EventsReceiveSessionUpdateVerify maps session:update_verify
func (EventsReceiveSessionUpdateVerify) String ¶
func (evt EventsReceiveSessionUpdateVerify) String() string
String returns the string representation of EventsReceiveSessionUpdateVerify
type EventsReceiveTextMessage ¶
type EventsReceiveTextMessage struct { EventsGeneric EventsReceiveGenericMessage Content *string `json:"content"` }
EventsReceiveTextMessage maps message:{send,received} (text type)
func (EventsReceiveTextMessage) String ¶
func (evt EventsReceiveTextMessage) String() string
String returns the string representation of EventsReceiveTextMessage
type EventsReceiveWebsiteUpdateOperatorsAvailability ¶
type EventsReceiveWebsiteUpdateOperatorsAvailability struct { EventsGeneric EventsWebsiteGeneric EventsUserGeneric Availability *EventsReceiveWebsiteUpdateOperatorsAvailabilityItself `json:"availability"` }
EventsReceiveWebsiteUpdateOperatorsAvailability maps website:update_operators_availability
func (EventsReceiveWebsiteUpdateOperatorsAvailability) String ¶
func (evt EventsReceiveWebsiteUpdateOperatorsAvailability) String() string
String returns the string representation of EventsReceiveWebsiteUpdateOperatorsAvailability
type EventsReceiveWebsiteUpdateOperatorsAvailabilityItself ¶
type EventsReceiveWebsiteUpdateOperatorsAvailabilityItself struct {
Type *string `json:"type"`
}
EventsReceiveWebsiteUpdateOperatorsAvailabilityItself maps website:update_operators_availability/availability
type EventsReceiveWebsiteUpdateVisitorsCount ¶
type EventsReceiveWebsiteUpdateVisitorsCount struct { EventsGeneric EventsWebsiteGeneric VisitorsCount *uint32 `json:"visitors_count"` }
EventsReceiveWebsiteUpdateVisitorsCount maps website:update_visitors_count
func (EventsReceiveWebsiteUpdateVisitorsCount) String ¶
func (evt EventsReceiveWebsiteUpdateVisitorsCount) String() string
String returns the string representation of EventsReceiveWebsiteUpdateVisitorsCount
type EventsReceiveWebsiteUsersAvailable ¶
type EventsReceiveWebsiteUsersAvailable struct { EventsGeneric EventsWebsiteGeneric Available *bool `json:"available"` }
EventsReceiveWebsiteUsersAvailable maps website:users:available
func (EventsReceiveWebsiteUsersAvailable) String ¶
func (evt EventsReceiveWebsiteUsersAvailable) String() string
String returns the string representation of EventsReceiveWebsiteUsersAvailable
type EventsRegister ¶
type EventsRegister struct {
// contains filtered or unexported fields
}
EventsRegister stores event handlers
func (*EventsRegister) On ¶
func (register *EventsRegister) On(eventName string, handler interface{}) error
On registers an event handler on event name
type EventsSendAuthentication ¶
type EventsSendAuthentication struct { Tier string `json:"tier"` Username string `json:"username"` Password string `json:"password"` Events []string `json:"events"` }
EventsSendAuthentication sends authentication
type EventsSendBind ¶
type EventsSendBind struct {
Events []string `json:"events"`
}
EventsSendBind sends bind
type EventsService ¶
type EventsService service
EventsService service
func (*EventsService) BindPopSocket ¶
func (service *EventsService) BindPopSocket(events []string)
BindPop emits a socket bind pop event which removes allowed events from socket (used for WebSockets)
func (*EventsService) BindPushSocket ¶
func (service *EventsService) BindPushSocket(events []string)
BindPush emits a socket bind push event which adds allowed events to socket (used for WebSockets)
func (*EventsService) BindSocket ¶
func (service *EventsService) BindSocket(events []string)
Bind emits a socket bind event which associates the socket to its channels, with allowed events (used for WebSockets)
func (*EventsService) Listen ¶
func (service *EventsService) Listen(mode EventsMode, events []string, handleBound func(*EventsRegister), handleUnbound func(), handleError func(err error)) error
Listen starts listening for incoming realtime events (used for both WebSockets and Web Hooks)
func (*EventsService) RebindSocket ¶
func (service *EventsService) RebindSocket()
Rebind emits an empty socket bind event which associates the socket to its channels, without modifying allowed events (used for WebSockets)
func (*EventsService) ReceiveHook ¶
func (service *EventsService) ReceiveHook(payload *[]byte) (bool, error)
Receive receives a raw event and dispatches it to the listener (used for Web Hooks)
func (*EventsService) VerifyHook ¶
func (service *EventsService) VerifyHook(localSecret string, remotePayload *[]byte, remoteRawTimestamp string, remoteSignature string) bool
Verify verifies an event string and checks that signatures match (used for Web Hooks)
type EventsSessionGeneric ¶
type EventsSessionGeneric struct { EventsWebsiteGeneric EventsSessionGenericUnbound InboxID *string `json:"inbox_id,omitempty"` }
EventsSessionGeneric maps a generic session
type EventsSessionGenericUnbound ¶
type EventsSessionGenericUnbound struct {
SessionID *string `json:"session_id"`
}
EventsSessionGenericUnbound maps a generic session (unbound from website)
type EventsSpamDecision ¶
type EventsSpamDecision struct { EventsGeneric EventsWebsiteGeneric Action *string `json:"action"` }
EventsSpamDecision maps spam:decision
func (EventsSpamDecision) String ¶
func (evt EventsSpamDecision) String() string
String returns the string representation of EventsSpamDecision
type EventsSpamMessage ¶
type EventsSpamMessage struct { EventsGeneric EventsWebsiteGeneric SpamID *string `json:"spam_id"` Type *string `json:"type"` Reason *string `json:"reason"` Metadata *interface{} `json:"metadata,omitempty"` Headers *interface{} `json:"headers,omitempty"` Timestamp *uint64 `json:"timestamp"` }
EventsSpamMessage maps spam:message
func (EventsSpamMessage) String ¶
func (evt EventsSpamMessage) String() string
String returns the string representation of EventsSpamMessage
type EventsStatusHealthChanged ¶
type EventsStatusHealthChanged struct { EventsGeneric EventsWebsiteGeneric Health *string `json:"health"` Nodes *[]EventsStatusHealthChangedNode `json:"nodes"` }
EventsStatusHealthChanged maps status:health:changed
type EventsStatusHealthChangedNode ¶
type EventsStatusHealthChangedNode struct { Label *string `json:"label,omitempty"` Replica *string `json:"replica,omitempty"` }
EventsStatusHealthChangedNode maps status:health:changed/nodes
type EventsUserGeneric ¶
type EventsUserGeneric struct {
UserID *string `json:"user_id"`
}
EventsUserGeneric maps a generic user
type EventsWebsiteGeneric ¶
type EventsWebsiteGeneric struct {
WebsiteID *string `json:"website_id"`
}
EventsWebsiteGeneric maps a generic website
type EventsWidgetActionProcessed ¶
type EventsWidgetActionProcessed struct { EventsGeneric EventsSessionGeneric EventsPluginGeneric CorrelationID *string `json:"correlation_id"` Outcome *string `json:"outcome"` Result *interface{} `json:"result,omitempty"` }
EventsWidgetActionProcessed maps widget:action:processed
func (EventsWidgetActionProcessed) String ¶
func (evt EventsWidgetActionProcessed) String() string
String returns the string representation of EventsWidgetActionProcessed
type HelpdeskCreate ¶
HelpdeskCreate mapping
type HelpdeskData ¶
type HelpdeskData struct {
Data *Helpdesk `json:"data,omitempty"`
}
HelpdeskData mapping
type HelpdeskDomain ¶
type HelpdeskDomain struct { Root *string `json:"root,omitempty"` Basic *string `json:"basic,omitempty"` Custom *string `json:"custom,omitempty"` Verified *bool `json:"verified,omitempty"` }
HelpdeskDomain mapping
func (HelpdeskDomain) String ¶
func (instance HelpdeskDomain) String() string
String returns the string representation of HelpdeskDomain
type HelpdeskDomainChangeRequest ¶
type HelpdeskDomainChangeRequest struct { Basic *string `json:"basic,omitempty"` Custom *string `json:"custom,omitempty"` }
HelpdeskDomainChangeRequest mapping
type HelpdeskDomainData ¶
type HelpdeskDomainData struct {
Data *HelpdeskDomain `json:"data,omitempty"`
}
HelpdeskDomainData mapping
type HelpdeskDomainSetupFlow ¶
type HelpdeskDomainSetupFlow struct { Custom *string `json:"custom,omitempty"` Setup *HelpdeskDomainSetupFlowSetup `json:"setup,omitempty"` }
HelpdeskDomainSetupFlow mapping
func (HelpdeskDomainSetupFlow) String ¶
func (instance HelpdeskDomainSetupFlow) String() string
String returns the string representation of HelpdeskDomainSetupFlow
type HelpdeskDomainSetupFlowData ¶
type HelpdeskDomainSetupFlowData struct {
Data *HelpdeskDomainSetupFlow `json:"data,omitempty"`
}
HelpdeskDomainSetupFlowData mapping
type HelpdeskDomainSetupFlowSetup ¶
type HelpdeskDomainSetupFlowSetup struct {
Records *[]HelpdeskDomainSetupFlowSetupRecord `json:"records,omitempty"`
}
HelpdeskDomainSetupFlowSetup mapping
type HelpdeskDomainSetupFlowSetupRecord ¶
type HelpdeskDomainSetupFlowSetupRecord struct { Type *string `json:"type,omitempty"` Query *string `json:"query,omitempty"` Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
HelpdeskDomainSetupFlowSetupRecord mapping
type HelpdeskLocale ¶
type HelpdeskLocale struct { LocaleID *string `json:"locale_id,omitempty"` Locale *string `json:"locale,omitempty"` URL *string `json:"url,omitempty"` Articles *uint16 `json:"articles,omitempty"` Categories *uint16 `json:"categories,omitempty"` }
HelpdeskLocale mapping
func (HelpdeskLocale) String ¶
func (instance HelpdeskLocale) String() string
String returns the string representation of HelpdeskLocale
type HelpdeskLocaleAdd ¶
type HelpdeskLocaleAdd struct {
Locale string `json:"locale"`
}
HelpdeskLocaleAdd mapping
type HelpdeskLocaleArticle ¶
type HelpdeskLocaleArticle struct { ArticleID *string `json:"article_id,omitempty"` Title *string `json:"title,omitempty"` Description *string `json:"description,omitempty"` Content *string `json:"content,omitempty"` Status *string `json:"status,omitempty"` Visibility *string `json:"visibility,omitempty"` Visits *uint32 `json:"visits,omitempty"` Order *uint16 `json:"order,omitempty"` URL *string `json:"url,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` PublishedAt *uint64 `json:"published_at,omitempty"` }
HelpdeskLocaleArticle mapping
func (HelpdeskLocaleArticle) String ¶
func (instance HelpdeskLocaleArticle) String() string
String returns the string representation of HelpdeskLocaleArticle
type HelpdeskLocaleArticleAdd ¶
type HelpdeskLocaleArticleAdd struct {
Title string `json:"title"`
}
HelpdeskLocaleArticleAdd mapping
type HelpdeskLocaleArticleAlternate ¶
type HelpdeskLocaleArticleAlternate struct { Locale *string `json:"locale,omitempty"` ArticleID *string `json:"article_id,omitempty"` }
HelpdeskLocaleArticleAlternate mapping
func (HelpdeskLocaleArticleAlternate) String ¶
func (instance HelpdeskLocaleArticleAlternate) String() string
String returns the string representation of HelpdeskLocaleArticleAlternate
type HelpdeskLocaleArticleAlternateData ¶
type HelpdeskLocaleArticleAlternateData struct {
Data *HelpdeskLocaleArticleAlternate `json:"data,omitempty"`
}
HelpdeskLocaleArticleAlternateData mapping
type HelpdeskLocaleArticleAlternateListData ¶
type HelpdeskLocaleArticleAlternateListData struct {
Data *[]HelpdeskLocaleArticleAlternate `json:"data,omitempty"`
}
HelpdeskLocaleArticleAlternateListData mapping
type HelpdeskLocaleArticleAlternateSave ¶
type HelpdeskLocaleArticleAlternateSave struct {
ArticleID string `json:"article_id"`
}
HelpdeskLocaleArticleAlternateSave mapping
type HelpdeskLocaleArticleCategory ¶
type HelpdeskLocaleArticleCategory struct { CategoryID *string `json:"category_id,omitempty"` SectionID *string `json:"section_id,omitempty"` }
HelpdeskLocaleArticleCategory mapping
func (HelpdeskLocaleArticleCategory) String ¶
func (instance HelpdeskLocaleArticleCategory) String() string
String returns the string representation of HelpdeskLocaleArticleCategory
type HelpdeskLocaleArticleCategoryData ¶
type HelpdeskLocaleArticleCategoryData struct {
Data *HelpdeskLocaleArticleCategory `json:"data,omitempty"`
}
HelpdeskLocaleArticleCategoryData mapping
type HelpdeskLocaleArticleCategoryListData ¶
type HelpdeskLocaleArticleCategoryListData struct {
Data *[]HelpdeskLocaleArticleCategory `json:"data,omitempty"`
}
HelpdeskLocaleArticleCategoryListData mapping
type HelpdeskLocaleArticleCategoryNew ¶
type HelpdeskLocaleArticleCategoryNew struct {
CategoryID *string `json:"category_id,omitempty"`
}
HelpdeskLocaleArticleCategoryNew mapping
func (HelpdeskLocaleArticleCategoryNew) String ¶
func (instance HelpdeskLocaleArticleCategoryNew) String() string
String returns the string representation of HelpdeskLocaleArticleCategoryNew
type HelpdeskLocaleArticleCategoryNewData ¶
type HelpdeskLocaleArticleCategoryNewData struct {
Data *HelpdeskLocaleArticleCategoryNew `json:"data,omitempty"`
}
HelpdeskLocaleArticleCategoryNewData mapping
type HelpdeskLocaleArticleCategoryUpdate ¶
type HelpdeskLocaleArticleCategoryUpdate struct { CategoryID string `json:"category_id"` SectionID *string `json:"section_id,omitempty"` }
HelpdeskLocaleArticleCategoryUpdate mapping
type HelpdeskLocaleArticleData ¶
type HelpdeskLocaleArticleData struct {
Data *HelpdeskLocaleArticle `json:"data,omitempty"`
}
HelpdeskLocaleArticleData mapping
type HelpdeskLocaleArticleListData ¶
type HelpdeskLocaleArticleListData struct {
Data *[]HelpdeskLocaleArticle `json:"data,omitempty"`
}
HelpdeskLocaleArticleListData mapping
type HelpdeskLocaleArticleNew ¶
type HelpdeskLocaleArticleNew struct {
ArticleID *string `json:"article_id,omitempty"`
}
HelpdeskLocaleArticleNew mapping
func (HelpdeskLocaleArticleNew) String ¶
func (instance HelpdeskLocaleArticleNew) String() string
String returns the string representation of HelpdeskLocaleArticleNew
type HelpdeskLocaleArticleNewData ¶
type HelpdeskLocaleArticleNewData struct {
Data *HelpdeskLocaleArticleNew `json:"data,omitempty"`
}
HelpdeskLocaleArticleNewData mapping
type HelpdeskLocaleArticlePage ¶
type HelpdeskLocaleArticlePage struct { Title *string `json:"title,omitempty"` URL *string `json:"url,omitempty"` }
HelpdeskLocaleArticlePage mapping
func (HelpdeskLocaleArticlePage) String ¶
func (instance HelpdeskLocaleArticlePage) String() string
String returns the string representation of HelpdeskLocaleArticlePage
type HelpdeskLocaleArticlePageData ¶
type HelpdeskLocaleArticlePageData struct {
Data *HelpdeskLocaleArticlePage `json:"data,omitempty"`
}
HelpdeskLocaleArticlePageData mapping
type HelpdeskLocaleArticlePublish ¶
type HelpdeskLocaleArticlePublish struct {
URL *string `json:"url,omitempty"`
}
HelpdeskLocaleArticlePublish mapping
func (HelpdeskLocaleArticlePublish) String ¶
func (instance HelpdeskLocaleArticlePublish) String() string
String returns the string representation of HelpdeskLocaleArticlePublish
type HelpdeskLocaleArticlePublishData ¶
type HelpdeskLocaleArticlePublishData struct {
Data *HelpdeskLocaleArticlePublish `json:"data,omitempty"`
}
HelpdeskLocaleArticlePublishData mapping
type HelpdeskLocaleCategoryAdd ¶
type HelpdeskLocaleCategoryAdd struct {
Name string `json:"name"`
}
HelpdeskLocaleCategoryAdd mapping
type HelpdeskLocaleData ¶
type HelpdeskLocaleData struct {
Data *HelpdeskLocale `json:"data,omitempty"`
}
HelpdeskLocaleData mapping
type HelpdeskLocaleExternalImport ¶
type HelpdeskLocaleExternalImport struct {
HelpdeskURL string `json:"helpdesk_url"`
}
HelpdeskLocaleExternalImport mapping
type HelpdeskLocaleFeedbackItem ¶
type HelpdeskLocaleFeedbackItem struct { Rating *string `json:"rating,omitempty"` Comment *string `json:"comment,omitempty"` Article *HelpdeskLocaleFeedbackItemArticle `json:"article,omitempty"` Session *HelpdeskLocaleFeedbackItemSession `json:"session,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` }
HelpdeskLocaleFeedbackItem mapping
func (HelpdeskLocaleFeedbackItem) String ¶
func (instance HelpdeskLocaleFeedbackItem) String() string
String returns the string representation of HelpdeskLocaleFeedbackItem
type HelpdeskLocaleFeedbackItemArticle ¶
type HelpdeskLocaleFeedbackItemArticle struct { ArticleID *string `json:"article_id,omitempty"` Title *string `json:"title,omitempty"` URL *string `json:"url,omitempty"` }
HelpdeskLocaleFeedbackItemArticle mapping
type HelpdeskLocaleFeedbackItemSession ¶
type HelpdeskLocaleFeedbackItemSession struct { SessionID *string `json:"session_id,omitempty"` Nickname *string `json:"nickname,omitempty"` Email *string `json:"email,omitempty"` Avatar *string `json:"avatar,omitempty"` Geolocation *HelpdeskLocaleFeedbackItemSessionGeolocation `json:"geolocation,omitempty"` Assigned *HelpdeskLocaleFeedbackItemSessionAssigned `json:"assigned,omitempty"` }
HelpdeskLocaleFeedbackItemSession mapping
type HelpdeskLocaleFeedbackItemSessionAssigned ¶
type HelpdeskLocaleFeedbackItemSessionAssigned struct {
UserID *string `json:"user_id,omitempty"`
}
HelpdeskLocaleFeedbackItemSessionAssigned mapping
type HelpdeskLocaleFeedbackItemSessionGeolocation ¶
type HelpdeskLocaleFeedbackItemSessionGeolocation struct { Country *string `json:"country,omitempty"` Region *string `json:"region,omitempty"` City *string `json:"city,omitempty"` Coordinates *HelpdeskLocaleFeedbackItemSessionGeolocationCoordinates `json:"coordinates,omitempty"` }
HelpdeskLocaleFeedbackItemSessionGeolocation mapping
type HelpdeskLocaleFeedbackItemSessionGeolocationCoordinates ¶
type HelpdeskLocaleFeedbackItemSessionGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
HelpdeskLocaleFeedbackItemSessionGeolocationCoordinates mapping
type HelpdeskLocaleFeedbackListData ¶
type HelpdeskLocaleFeedbackListData struct {
Data *[]HelpdeskLocaleFeedbackItem `json:"data,omitempty"`
}
HelpdeskLocaleFeedbackListData mapping
type HelpdeskLocaleFeedbackRatings ¶
type HelpdeskLocaleFeedbackRatings struct {
Ratings *HelpdeskLocaleFeedbackRatingsRatings `json:"ratings,omitempty"`
}
HelpdeskLocaleFeedbackRatings mapping
func (HelpdeskLocaleFeedbackRatings) String ¶
func (instance HelpdeskLocaleFeedbackRatings) String() string
String returns the string representation of HelpdeskLocaleFeedbackRatings
type HelpdeskLocaleFeedbackRatingsData ¶
type HelpdeskLocaleFeedbackRatingsData struct {
Data *HelpdeskLocaleFeedbackRatings `json:"data,omitempty"`
}
HelpdeskLocaleFeedbackRatingsData mapping
type HelpdeskLocaleFeedbackRatingsRatings ¶
type HelpdeskLocaleFeedbackRatingsRatings struct { Helpful *uint32 `json:"helpful,omitempty"` Unhelpful *uint32 `json:"unhelpful,omitempty"` }
HelpdeskLocaleFeedbackRatingsRatings mapping
type HelpdeskLocaleListData ¶
type HelpdeskLocaleListData struct {
Data *[]HelpdeskLocale `json:"data,omitempty"`
}
HelpdeskLocaleListData mapping
type HelpdeskLocaleSection ¶
type HelpdeskLocaleSection struct { SectionID *string `json:"section_id,omitempty"` Name *string `json:"name,omitempty"` Order *uint16 `json:"order,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` }
HelpdeskLocaleSection mapping
func (HelpdeskLocaleSection) String ¶
func (instance HelpdeskLocaleSection) String() string
String returns the string representation of HelpdeskLocaleSection
type HelpdeskLocaleSectionAdd ¶
type HelpdeskLocaleSectionAdd struct {
Name string `json:"name"`
}
HelpdeskLocaleSectionAdd mapping
type HelpdeskLocaleSectionData ¶
type HelpdeskLocaleSectionData struct {
Data *HelpdeskLocaleSection `json:"data,omitempty"`
}
HelpdeskLocaleSectionData mapping
type HelpdeskLocaleSectionListData ¶
type HelpdeskLocaleSectionListData struct {
Data *[]HelpdeskLocaleSection `json:"data,omitempty"`
}
HelpdeskLocaleSectionListData mapping
type HelpdeskLocaleSectionNew ¶
type HelpdeskLocaleSectionNew struct {
SectionID *string `json:"section_id,omitempty"`
}
HelpdeskLocaleSectionNew mapping
func (HelpdeskLocaleSectionNew) String ¶
func (instance HelpdeskLocaleSectionNew) String() string
String returns the string representation of HelpdeskLocaleSectionNew
type HelpdeskLocaleSectionNewData ¶
type HelpdeskLocaleSectionNewData struct {
Data *HelpdeskLocaleSectionNew `json:"data,omitempty"`
}
HelpdeskLocaleSectionNewData mapping
type HelpdeskRedirection ¶
type HelpdeskRedirection struct { RedirectionID *string `json:"redirection_id,omitempty"` Path *string `json:"path,omitempty"` Target *string `json:"target,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` }
HelpdeskRedirection mapping
func (HelpdeskRedirection) String ¶
func (instance HelpdeskRedirection) String() string
String returns the string representation of HelpdeskRedirection
type HelpdeskRedirectionAdd ¶
HelpdeskRedirectionAdd mapping
type HelpdeskRedirectionData ¶
type HelpdeskRedirectionData struct {
Data *HelpdeskRedirection `json:"data,omitempty"`
}
HelpdeskRedirectionData mapping
type HelpdeskRedirectionListData ¶
type HelpdeskRedirectionListData struct {
Data *[]HelpdeskRedirection `json:"data,omitempty"`
}
HelpdeskRedirectionListData mapping
type HelpdeskRedirectionNew ¶
type HelpdeskRedirectionNew struct {
RedirectionID *string `json:"redirection_id,omitempty"`
}
HelpdeskRedirectionNew mapping
func (HelpdeskRedirectionNew) String ¶
func (instance HelpdeskRedirectionNew) String() string
String returns the string representation of HelpdeskRedirectionNew
type HelpdeskRedirectionNewData ¶
type HelpdeskRedirectionNewData struct {
Data *HelpdeskRedirectionNew `json:"data,omitempty"`
}
HelpdeskRedirectionNewData mapping
type HelpdeskRemove ¶
type HelpdeskRemove struct {
Verify *HelpdeskRemoveVerify `json:"verify,omitempty"`
}
HelpdeskRemove mapping
type HelpdeskRemoveVerify ¶
HelpdeskRemoveVerify mapping
type HelpdeskSettings ¶
type HelpdeskSettings struct { Name *string `json:"name,omitempty"` Appearance *HelpdeskSettingsAppearance `json:"appearance,omitempty"` Behavior *HelpdeskSettingsBehavior `json:"behavior,omitempty"` Include *HelpdeskSettingsInclude `json:"include,omitempty"` Access *HelpdeskSettingsAccess `json:"access,omitempty"` }
HelpdeskSettings mapping
func (HelpdeskSettings) String ¶
func (instance HelpdeskSettings) String() string
String returns the string representation of HelpdeskSettings
type HelpdeskSettingsAccess ¶
type HelpdeskSettingsAccess struct {
Password *string `json:"password,omitempty"`
}
HelpdeskSettingsAccess mapping
type HelpdeskSettingsAppearance ¶
type HelpdeskSettingsAppearance struct { Logos *HelpdeskSettingsAppearanceLogos `json:"logos,omitempty"` Banner *string `json:"banner,omitempty"` }
HelpdeskSettingsAppearance mapping
type HelpdeskSettingsAppearanceLogos ¶
type HelpdeskSettingsAppearanceLogos struct { Header *string `json:"header,omitempty"` }
HelpdeskSettingsAppearanceLogos mapping
type HelpdeskSettingsBehavior ¶
type HelpdeskSettingsBehavior struct { FrequentlyRead *bool `json:"frequently_read,omitempty"` ShowCategoryImages *bool `json:"show_category_images,omitempty"` ShowChatbox *bool `json:"show_chatbox,omitempty"` AskFeedback *bool `json:"ask_feedback,omitempty"` LocalePicker *bool `json:"locale_picker,omitempty"` ReferLink *bool `json:"refer_link,omitempty"` ForbidIndexing *bool `json:"forbid_indexing,omitempty"` StatusHealthDead *bool `json:"status_health_dead,omitempty"` }
HelpdeskSettingsBehavior mapping
type HelpdeskSettingsData ¶
type HelpdeskSettingsData struct {
Data *HelpdeskSettings `json:"data,omitempty"`
}
HelpdeskSettingsData mapping
type HelpdeskSettingsInclude ¶
type HelpdeskSettingsInclude struct {
HTML *string `json:"html,omitempty"`
}
HelpdeskSettingsInclude mapping
type PeopleCampaign ¶
type PeopleCampaign struct { CampaignID *string `json:"campaign_id,omitempty"` Type *string `json:"type,omitempty"` Name *string `json:"name,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` DispatchedAt *uint64 `json:"dispatched_at,omitempty"` OccurredAt *uint64 `json:"occurred_at,omitempty"` Statistics *[]string `json:"statistics,omitempty"` }
PeopleCampaign mapping
func (PeopleCampaign) String ¶
func (instance PeopleCampaign) String() string
String returns the string representation of PeopleCampaign
type PeopleCampaignsData ¶
type PeopleCampaignsData struct {
Data *[]PeopleCampaign `json:"data,omitempty"`
}
PeopleCampaignsData mapping
type PeopleConversationsData ¶
type PeopleConversationsData struct {
Data []string `json:"data,omitempty"`
}
PeopleConversationsData mapping
type PeopleData ¶
type PeopleData struct {
Data *interface{} `json:"data,omitempty"`
}
PeopleData mapping
func (PeopleData) String ¶
func (instance PeopleData) String() string
String returns the string representation of PeopleData
type PeopleDataData ¶
type PeopleDataData struct {
Data *PeopleData `json:"data,omitempty"`
}
PeopleDataData mapping
type PeopleEvent ¶
type PeopleEvent struct { Text *string `json:"text,omitempty"` Data *interface{} `json:"data,omitempty"` Color *string `json:"color,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
PeopleEvent mapping
func (PeopleEvent) String ¶
func (instance PeopleEvent) String() string
String returns the string representation of PeopleEvent
type PeopleEventAdd ¶
type PeopleEventAdd struct { Text string `json:"text,omitempty"` Data interface{} `json:"data,omitempty"` Color string `json:"color,omitempty"` }
PeopleEventAdd mapping
type PeopleEventsData ¶
type PeopleEventsData struct {
Data *[]PeopleEvent `json:"data,omitempty"`
}
PeopleEventsData mapping
type PeopleFilter ¶
type PeopleFilter struct { Model string `json:"model,omitempty"` Criterion string `json:"criterion,omitempty"` Operator string `json:"operator,omitempty"` Query []string `json:"query,omitempty"` }
PeopleFilter mapping
type PeopleProfile ¶
type PeopleProfile struct { PeopleProfileCard PeopleID *string `json:"people_id,omitempty"` }
PeopleProfile mapping
func (PeopleProfile) String ¶
func (instance PeopleProfile) String() string
String returns the string representation of PeopleProfile
type PeopleProfileCard ¶
type PeopleProfileCard struct { Email *string `json:"email,omitempty"` Person *PeopleProfileCardPerson `json:"person,omitempty"` Company *PeopleProfileCardCompany `json:"company,omitempty"` Segments *[]string `json:"segments,omitempty"` Notepad *string `json:"notepad,omitempty"` Active *PeopleProfileCardActive `json:"active,omitempty"` Score *uint8 `json:"score,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` }
PeopleProfileCard mapping
type PeopleProfileCardActive ¶
type PeopleProfileCardActive struct { Now *bool `json:"now,omitempty"` Last *uint64 `json:"last,omitempty"` }
PeopleProfileCardActive mapping
type PeopleProfileCardCompany ¶
type PeopleProfileCardCompany struct { Name *string `json:"name,omitempty"` LegalName *string `json:"legal_name,omitempty"` Domain *string `json:"domain,omitempty"` URL *string `json:"url,omitempty"` Description *string `json:"description,omitempty"` Timezone *int16 `json:"timezone,omitempty"` Phones *[]string `json:"phones,omitempty"` Emails *[]string `json:"emails,omitempty"` Geolocation *PeopleProfileCardGeolocation `json:"geolocation,omitempty"` Metrics *PeopleProfileCardCompanyMetrics `json:"metrics,omitempty"` Tags *[]string `json:"tags,omitempty"` }
PeopleProfileCardCompany mapping
type PeopleProfileCardCompanyMetrics ¶
type PeopleProfileCardCompanyMetrics struct { Employees *uint32 `json:"employees,omitempty"` MarketCap *uint32 `json:"market_cap,omitempty"` Raised *uint32 `json:"raised,omitempty"` ARR *uint32 `json:"arr,omitempty"` }
PeopleProfileCardCompanyMetrics mapping
type PeopleProfileCardGeolocation ¶
type PeopleProfileCardGeolocation struct { Country *string `json:"country,omitempty"` Region *string `json:"region,omitempty"` City *string `json:"city,omitempty"` Coordinates *PeopleProfileCardGeolocationCoordinates `json:"coordinates,omitempty"` }
PeopleProfileCardGeolocation mapping
type PeopleProfileCardGeolocationCoordinates ¶
type PeopleProfileCardGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
PeopleProfileCardGeolocationCoordinates mapping
type PeopleProfileCardPerson ¶
type PeopleProfileCardPerson struct { Nickname *string `json:"nickname,omitempty"` Avatar *string `json:"avatar,omitempty"` Gender *string `json:"gender,omitempty"` Phone *string `json:"phone,omitempty"` Address *string `json:"address,omitempty"` Description *string `json:"description,omitempty"` Website *string `json:"website,omitempty"` Timezone *int16 `json:"timezone,omitempty"` Profiles *[]PeopleProfileCardPersonProfile `json:"profiles,omitempty"` Employment *PeopleProfileCardPersonEmployment `json:"employment,omitempty"` Geolocation *PeopleProfileCardGeolocation `json:"geolocation,omitempty"` Locales *[]string `json:"locales,omitempty"` }
PeopleProfileCardPerson mapping
type PeopleProfileCardPersonEmployment ¶
type PeopleProfileCardPersonEmployment struct { Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Title *string `json:"title,omitempty"` Role *string `json:"role,omitempty"` Seniority *string `json:"seniority,omitempty"` }
PeopleProfileCardPersonEmployment mapping
type PeopleProfileCardPersonProfile ¶
type PeopleProfileCardPersonProfile struct { Type *string `json:"type,omitempty"` Handle *string `json:"handle,omitempty"` }
PeopleProfileCardPersonProfile mapping
type PeopleProfileData ¶
type PeopleProfileData struct {
Data *PeopleProfile `json:"data,omitempty"`
}
PeopleProfileData mapping
type PeopleProfileImport ¶
type PeopleProfileImport struct {
ImportID *string `json:"import_id,omitempty"`
}
PeopleProfileImport mapping
func (PeopleProfileImport) String ¶
func (instance PeopleProfileImport) String() string
String returns the string representation of PeopleProfileImport
type PeopleProfileImportData ¶
type PeopleProfileImportData struct {
Data *PeopleProfileImport `json:"data,omitempty"`
}
PeopleProfileImportData mapping
type PeopleProfileImportSetup ¶
type PeopleProfileImportSetup struct { URL string `json:"url,omitempty"` Mapping *[]PeopleProfileImportSetupMapping `json:"mapping,omitempty"` Options *PeopleProfileImportSetupOptions `json:"options,omitempty"` }
PeopleProfileImportSetup mapping
type PeopleProfileImportSetupMapping ¶
type PeopleProfileImportSetupMapping struct { Column uint8 `json:"column,omitempty"` Field string `json:"field,omitempty"` }
PeopleProfileImportSetupMapping mapping
type PeopleProfileImportSetupOptions ¶
type PeopleProfileImportSetupOptions struct { ColumnSeparator string `json:"column_separator,omitempty"` SkipHeader bool `json:"skip_header,omitempty"` }
PeopleProfileImportSetupOptions mapping
type PeopleProfileListData ¶
type PeopleProfileListData struct {
Data *[]PeopleProfile `json:"data,omitempty"`
}
PeopleProfileListData mapping
type PeopleProfileNew ¶
type PeopleProfileNew struct {
PeopleID *string `json:"people_id,omitempty"`
}
PeopleProfileNew mapping
type PeopleProfileNewData ¶
type PeopleProfileNewData struct {
Data *PeopleProfileNew `json:"data,omitempty"`
}
PeopleProfileNewData mapping
type PeopleProfileUpdateCard ¶
type PeopleProfileUpdateCard struct { Email string `json:"email,omitempty"` Person *PeopleProfileCardPerson `json:"person,omitempty"` Company *PeopleProfileCardCompany `json:"company,omitempty"` Segments []string `json:"segments,omitempty"` Notepad string `json:"notepad,omitempty"` Active uint64 `json:"active,omitempty"` }
PeopleProfileUpdateCard mapping
type PeopleStatistics ¶
type PeopleStatistics struct {
Total *uint64 `json:"total,omitempty"`
}
PeopleStatistics mapping
func (PeopleStatistics) String ¶
func (instance PeopleStatistics) String() string
String returns the string representation of PeopleStatistics
type PeopleStatisticsData ¶
type PeopleStatisticsData struct {
Data *PeopleStatistics `json:"data,omitempty"`
}
PeopleStatisticsData mapping
type PeopleSubscription ¶
type PeopleSubscription struct {
Email *bool `json:"email,omitempty"`
}
PeopleSubscription mapping
func (PeopleSubscription) String ¶
func (instance PeopleSubscription) String() string
String returns the string representation of PeopleSubscription
type PeopleSubscriptionData ¶
type PeopleSubscriptionData struct {
Data *PeopleSubscription `json:"data,omitempty"`
}
PeopleSubscriptionData mapping
type PeopleSubscriptionUpdate ¶
type PeopleSubscriptionUpdate struct {
Email bool `json:"email,omitempty"`
}
PeopleSubscriptionUpdate mapping
type PeopleSuggestedData ¶
type PeopleSuggestedData struct { Key *string `json:"key,omitempty"` Count *int32 `json:"count,omitempty"` }
PeopleSuggestedData mapping
func (PeopleSuggestedData) String ¶
func (instance PeopleSuggestedData) String() string
String returns the string representation of PeopleSuggestedData
type PeopleSuggestedDataData ¶
type PeopleSuggestedDataData struct {
Data *[]PeopleSuggestedData `json:"data,omitempty"`
}
PeopleSuggestedDataData mapping
type PeopleSuggestedDataDelete ¶
type PeopleSuggestedDataDelete struct {
Key string `json:"key,omitempty"`
}
PeopleSuggestedDataDelete mapping
type PeopleSuggestedEvent ¶
type PeopleSuggestedEvent struct { Text *string `json:"text,omitempty"` Count *int32 `json:"count,omitempty"` }
PeopleSuggestedEvent mapping
func (PeopleSuggestedEvent) String ¶
func (instance PeopleSuggestedEvent) String() string
String returns the string representation of PeopleSuggestedEvent
type PeopleSuggestedEventData ¶
type PeopleSuggestedEventData struct {
Data *[]PeopleSuggestedEvent `json:"data,omitempty"`
}
PeopleSuggestedEventData mapping
type PeopleSuggestedEventDelete ¶
type PeopleSuggestedEventDelete struct {
Text string `json:"text,omitempty"`
}
PeopleSuggestedEventDelete mapping
type PeopleSuggestedSegment ¶
type PeopleSuggestedSegment struct { Segment *string `json:"segment,omitempty"` Count *int32 `json:"count,omitempty"` }
PeopleSuggestedSegment mapping
func (PeopleSuggestedSegment) String ¶
func (instance PeopleSuggestedSegment) String() string
String returns the string representation of PeopleSuggestedSegment
type PeopleSuggestedSegmentData ¶
type PeopleSuggestedSegmentData struct {
Data *[]PeopleSuggestedSegment `json:"data,omitempty"`
}
PeopleSuggestedSegmentData mapping
type PeopleSuggestedSegmentDelete ¶
type PeopleSuggestedSegmentDelete struct {
Segment string `json:"segment,omitempty"`
}
PeopleSuggestedSegmentDelete mapping
type PluginConnectAccount ¶
type PluginConnectAccount struct {
PluginID *string `json:"plugin_id,omitempty"`
}
PluginConnectAccount mapping
func (PluginConnectAccount) String ¶
func (instance PluginConnectAccount) String() string
String returns the string representation of PluginConnectAccount
type PluginConnectAccountData ¶
type PluginConnectAccountData struct {
Data *PluginConnectAccount `json:"data,omitempty"`
}
PluginConnectAccountData mapping
type PluginConnectAllWebsites ¶
type PluginConnectAllWebsites struct { WebsiteID *string `json:"website_id,omitempty"` Token *string `json:"token,omitempty"` Settings *interface{} `json:"settings,omitempty"` }
PluginConnectAllWebsites mapping
func (PluginConnectAllWebsites) String ¶
func (instance PluginConnectAllWebsites) String() string
String returns the string representation of PluginConnectAllWebsites
type PluginConnectAllWebsitesData ¶
type PluginConnectAllWebsitesData struct {
Data *[]PluginConnectAllWebsites `json:"data,omitempty"`
}
PluginConnectAllWebsitesData mapping
type PluginConnectEndpoints ¶
type PluginConnectEndpoints struct {
Socket *PluginConnectEndpointsSocket `json:"socket,omitempty"`
}
PluginConnectEndpoints mapping
func (PluginConnectEndpoints) String ¶
func (instance PluginConnectEndpoints) String() string
String returns the string representation of PluginConnectEndpoints
type PluginConnectEndpointsData ¶
type PluginConnectEndpointsData struct {
Data *PluginConnectEndpoints `json:"data,omitempty"`
}
PluginConnectEndpointsData mapping
type PluginConnectEndpointsSocket ¶
type PluginConnectEndpointsSocket struct {
App *string `json:"app,omitempty"`
}
PluginConnectEndpointsSocket mapping
type PluginConnectWebsitesSince ¶
type PluginConnectWebsitesSince struct { WebsiteID *string `json:"website_id,omitempty"` Token *string `json:"token,omitempty"` Settings *interface{} `json:"settings,omitempty"` Difference *string `json:"difference,omitempty"` }
PluginConnectWebsitesSince mapping
func (PluginConnectWebsitesSince) String ¶
func (instance PluginConnectWebsitesSince) String() string
String returns the string representation of PluginConnectWebsitesSince
type PluginConnectWebsitesSinceData ¶
type PluginConnectWebsitesSinceData struct {
Data *[]PluginConnectWebsitesSince `json:"data,omitempty"`
}
PluginConnectWebsitesSinceData mapping
type PluginService ¶
type PluginService service
PluginService service
func (*PluginService) CheckConnectSessionValidity ¶
func (service *PluginService) CheckConnectSessionValidity() (*Response, error)
CheckConnectSessionValidity checks whether the connected plugin session is valid or not.
func (*PluginService) ClearBlockedVisitorsInRule ¶
func (service *PluginService) ClearBlockedVisitorsInRule(websiteID string, rule string) (*Response, error)
ClearBlockedVisitorsInRule clears all blocked visitors in rule list on website.
func (*PluginService) DispatchPluginEvent ¶
func (service *PluginService) DispatchPluginEvent(websiteID string, pluginID string, payload PluginSubscriptionEventDispatch) (*Response, error)
DispatchPluginEvent dispatches a generic data event for plugin.
func (*PluginService) ForwardPluginPayloadToChannel ¶
func (service *PluginService) ForwardPluginPayloadToChannel(websiteID string, pluginID string, payload PluginSubscriptionChannelForward) (*Response, error)
ForwardPluginPayloadToChannel forwards generic payload given generic namespace to plugin channel.
func (*PluginService) GetConnectAccount ¶
func (service *PluginService) GetConnectAccount() (*PluginConnectAccount, *Response, error)
GetConnectAccount resolves the current plugin account information.
func (*PluginService) GetConnectEndpoints ¶
func (service *PluginService) GetConnectEndpoints() (*PluginConnectEndpoints, *Response, error)
GetConnectEndpoints resolves the current plugin endpoints information.
func (*PluginService) GetPluginUsageBills ¶
func (service *PluginService) GetPluginUsageBills(websiteID string, pluginID string) (*Response, error)
GetPluginUsageBills acquires all non-settled (ie. open) usage bills for a subscribed plugin.
func (*PluginService) GetSubscriptionDetails ¶
func (service *PluginService) GetSubscriptionDetails(websiteID string, pluginID string) (*PluginSubscription, *Response, error)
GetSubscriptionDetails resolves details on a given subscription.
func (*PluginService) GetSubscriptionSettings ¶
func (service *PluginService) GetSubscriptionSettings(websiteID string, pluginID string) (*PluginSubscriptionSettings, *Response, error)
GetSubscriptionSettings resolves plugin subscription settings. Used to read plugin configuration on a given website.
func (*PluginService) ListAllActiveSubscriptions ¶
func (service *PluginService) ListAllActiveSubscriptions() (*[]PluginSubscription, *Response, error)
ListAllActiveSubscriptions lists all active plugin subscriptions on all websites, linked to payment methods owned by the user, or from websites the user is member of.
func (*PluginService) ListAllConnectWebsites ¶
func (service *PluginService) ListAllConnectWebsites(pageNumber uint, filterConfigured bool) (*[]PluginConnectAllWebsites, *Response, error)
ListAllConnectWebsites lists all websites linked to connected plugin.
func (*PluginService) ListConnectWebsitesSince ¶
func (service *PluginService) ListConnectWebsitesSince(dateSince time.Time, filterConfigured bool) (*[]PluginConnectWebsitesSince, *Response, error)
ListConnectWebsitesSince lists the websites linked or unlinked or updated for connected plugin, since given date.
func (*PluginService) ListSubscriptionsForWebsite ¶
func (service *PluginService) ListSubscriptionsForWebsite(websiteID string) (*[]PluginSubscription, *Response, error)
ListSubscriptionsForWebsite lists plugin subscriptions for given website.
func (*PluginService) ReportPluginUsageToBill ¶
func (service *PluginService) ReportPluginUsageToBill(websiteID string, pluginID string, usage PluginSubscriptionBillUsageReport) (*Response, error)
ReportPluginUsageToBill reports a billable usage for a website using a subscribed plugin.
func (*PluginService) SaveSubscriptionSettings ¶
func (service *PluginService) SaveSubscriptionSettings(websiteID string, pluginID string, settings interface{}) (*Response, error)
SaveSubscriptionSettings saves plugin subscription settings (overwrites existing settings). Used to configure a given plugin on a given website.
func (*PluginService) SubscribeWebsiteToPlugin ¶
func (service *PluginService) SubscribeWebsiteToPlugin(websiteID string, pluginID string) (*Response, error)
SubscribeWebsiteToPlugin subscribes a given website to a given plugin.
func (*PluginService) UnsubscribePluginFromWebsite ¶
func (service *PluginService) UnsubscribePluginFromWebsite(websiteID string, pluginID string) (*Response, error)
UnsubscribePluginFromWebsite unsubscribes a given plugin from a given website.
func (*PluginService) UpdateSubscriptionSettings ¶
func (service *PluginService) UpdateSubscriptionSettings(websiteID string, pluginID string, settings interface{}) (*Response, error)
UpdateSubscriptionSettings updates plugin subscription settings (merges with existing settings). Used to configure a given plugin on a given website.
type PluginSubscription ¶
type PluginSubscription struct { ID *string `json:"id,omitempty"` URN *string `json:"urn,omitempty"` Type *string `json:"type,omitempty"` Category *string `json:"category,omitempty"` Name *string `json:"name,omitempty"` Summary *string `json:"summary,omitempty"` Price *uint16 `json:"price,omitempty"` Plans *[]PluginSubscriptionPlan `json:"plans,omitempty"` Icon *string `json:"icon,omitempty"` WebsiteURL *string `json:"website_url,omitempty"` ContactURL *string `json:"contact_url,omitempty"` TermsURL *string `json:"terms_url,omitempty"` PrivacyURL *string `json:"privacy_url,omitempty"` HelpURL *string `json:"help_url,omitempty"` VideoURL *string `json:"video_url,omitempty"` Configurable *bool `json:"configurable,omitempty"` Since *string `json:"since,omitempty"` Active *bool `json:"active,omitempty"` WebsiteID *string `json:"website_id,omitempty"` CardID *string `json:"card_id,omitempty"` }
PluginSubscription mapping
func (PluginSubscription) String ¶
func (instance PluginSubscription) String() string
String returns the string representation of PluginSubscription
type PluginSubscriptionBillUsageReport ¶
type PluginSubscriptionBillUsageReport struct { Name *string `json:"name,omitempty"` Units *uint32 `json:"units,omitempty"` Price *float32 `json:"price,omitempty"` }
PluginSubscriptionBillUsageReport mapping
type PluginSubscriptionChannelForward ¶
type PluginSubscriptionChannelForward struct { Namespace *string `json:"namespace,omitempty"` Identifier *string `json:"identifier,omitempty"` Payload *interface{} `json:"payload,omitempty"` }
PluginSubscriptionChannelForward mapping
type PluginSubscriptionCreate ¶
type PluginSubscriptionCreate struct {
PluginID *string `json:"plugin_id,omitempty"`
}
PluginSubscriptionCreate mapping
type PluginSubscriptionData ¶
type PluginSubscriptionData struct {
Data *PluginSubscription `json:"data,omitempty"`
}
PluginSubscriptionData mapping
type PluginSubscriptionEventDispatch ¶
type PluginSubscriptionEventDispatch struct { Name *string `json:"name,omitempty"` Data *interface{} `json:"data,omitempty"` }
PluginSubscriptionEventDispatch mapping
type PluginSubscriptionListData ¶
type PluginSubscriptionListData struct {
Data *[]PluginSubscription `json:"data,omitempty"`
}
PluginSubscriptionListData mapping
type PluginSubscriptionPlan ¶
type PluginSubscriptionPlan struct { ID *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Price *uint16 `json:"price,omitempty"` }
PluginSubscriptionPlan mapping
type PluginSubscriptionSettings ¶
type PluginSubscriptionSettings struct { PluginID *string `json:"plugin_id,omitempty"` WebsiteID *string `json:"website_id,omitempty"` Token *string `json:"token,omitempty"` Schema *interface{} `json:"schema,omitempty"` Settings *interface{} `json:"settings,omitempty"` SettingsFormURL *string `json:"settings_form_url,omitempty"` CallbackURL *string `json:"callback_url,omitempty"` }
PluginSubscriptionSettings mapping
func (PluginSubscriptionSettings) String ¶
func (instance PluginSubscriptionSettings) String() string
String returns the string representation of PluginSubscriptionSettings
type PluginSubscriptionSettingsData ¶
type PluginSubscriptionSettingsData struct {
Data *PluginSubscriptionSettings `json:"data,omitempty"`
}
PluginSubscriptionSettingsData mapping
type Website ¶
type Website struct { WebsiteID *string `json:"website_id,omitempty"` Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Logo *string `json:"logo,omitempty"` }
Website mapping
type WebsiteAnalyticsGenerateData ¶
type WebsiteAnalyticsGenerateData struct {
Data *[]WebsiteAnalyticsGeneratePoint `json:"data,omitempty"`
}
WebsiteAnalyticsGenerateData mapping
type WebsiteAnalyticsGeneratePoint ¶
type WebsiteAnalyticsGeneratePoint struct { Period *string `json:"period,omitempty"` Value *uint32 `json:"value,omitempty"` SplitBy *string `json:"split_by,omitempty"` Hits *uint32 `json:"hits,omitempty"` UniqueHits *uint32 `json:"unique_hits,omitempty"` SumValue *uint32 `json:"sum_value,omitempty"` SumHits *uint32 `json:"sum_hits,omitempty"` }
WebsiteAnalyticsGeneratePoint mapping
func (WebsiteAnalyticsGeneratePoint) String ¶
func (instance WebsiteAnalyticsGeneratePoint) String() string
String returns the string representation of WebsiteAnalyticsGeneratePoint
type WebsiteAvailabilityOperator ¶
type WebsiteAvailabilityOperator struct { UserID *string `json:"user_id,omitempty"` Type *string `json:"type,omitempty"` Time *WebsiteAvailabilityOperatorTime `json:"time,omitempty"` }
WebsiteAvailabilityOperator mapping
func (WebsiteAvailabilityOperator) String ¶
func (instance WebsiteAvailabilityOperator) String() string
String returns the string representation of WebsiteAvailabilityOperator
type WebsiteAvailabilityOperatorTime ¶
type WebsiteAvailabilityOperatorTime struct { For *uint32 `json:"for,omitempty"` Since *uint64 `json:"since,omitempty"` }
WebsiteAvailabilityOperatorTime mapping
type WebsiteAvailabilityOperatorsData ¶
type WebsiteAvailabilityOperatorsData struct {
Data *[]WebsiteAvailabilityOperator `json:"data,omitempty"`
}
WebsiteAvailabilityOperatorsData mapping
type WebsiteAvailabilityStatus ¶
type WebsiteAvailabilityStatus struct { Status *string `json:"status,omitempty"` Since *uint64 `json:"since,omitempty"` }
WebsiteAvailabilityStatus mapping
func (WebsiteAvailabilityStatus) String ¶
func (instance WebsiteAvailabilityStatus) String() string
String returns the string representation of WebsiteAvailabilityStatus
type WebsiteAvailabilityStatusData ¶
type WebsiteAvailabilityStatusData struct {
Data *WebsiteAvailabilityStatus `json:"data,omitempty"`
}
WebsiteAvailabilityStatusData mapping
type WebsiteBatchConversationsOperation ¶
type WebsiteBatchConversationsOperation struct { InboxID *string `json:"inbox_id,omitempty"` Sessions []string `json:"sessions,omitempty"` }
WebsiteBatchConversationsOperation mapping
type WebsiteBatchPeopleOperation ¶
type WebsiteBatchPeopleOperation struct {
People *WebsiteBatchPeopleOperationInner `json:"people,omitempty"`
}
WebsiteBatchPeopleOperation mapping
type WebsiteBatchPeopleOperationInner ¶
type WebsiteBatchPeopleOperationInner struct { Profiles *[]string `json:"profiles,omitempty"` Search *WebsiteBatchPeopleOperationInnerSearch `json:"search,omitempty"` }
WebsiteBatchPeopleOperationInner mapping
type WebsiteBatchPeopleOperationInnerSearch ¶
type WebsiteBatchPeopleOperationInnerSearch struct { Filter []WebsiteFilter `json:"filter,omitempty"` Operator string `json:"operator,omitempty"` }
WebsiteBatchPeopleOperationInnerSearch mapping
type WebsiteCampaignExcerpt ¶
type WebsiteCampaignExcerpt struct { CampaignID *string `json:"campaign_id,omitempty"` Type *string `json:"type,omitempty"` Format *string `json:"format,omitempty"` Name *string `json:"name,omitempty"` Subject *string `json:"subject,omitempty"` Tag *string `json:"tag,omitempty"` Ready *bool `json:"ready,omitempty"` Dispatched *bool `json:"dispatched,omitempty"` Running *bool `json:"running,omitempty"` Progress *uint8 `json:"progress,omitempty"` Targets *uint32 `json:"targets,omitempty"` Reached *uint32 `json:"reached,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` DispatchedAt *uint64 `json:"dispatched_at,omitempty"` }
WebsiteCampaignExcerpt mapping
func (WebsiteCampaignExcerpt) String ¶
func (instance WebsiteCampaignExcerpt) String() string
String returns the string representation of WebsiteCampaignExcerpt
type WebsiteCampaignExcerptsData ¶
type WebsiteCampaignExcerptsData struct {
Data *[]WebsiteCampaignExcerpt `json:"data,omitempty"`
}
WebsiteCampaignExcerptsData mapping
type WebsiteCampaignItem ¶
type WebsiteCampaignItem struct { WebsiteCampaignExcerpt Sender *WebsiteCampaignItemSender `json:"sender,omitempty"` Recipients *WebsiteCampaignItemRecipients `json:"recipients,omitempty"` Flow *WebsiteCampaignItemFlow `json:"flow,omitempty"` Message *string `json:"message,omitempty"` Options *WebsiteCampaignItemOptions `json:"options,omitempty"` Statistics *WebsiteCampaignItemStatistics `json:"statistics,omitempty"` }
WebsiteCampaignItem mapping
func (WebsiteCampaignItem) String ¶
func (instance WebsiteCampaignItem) String() string
String returns the string representation of WebsiteCampaignItem
type WebsiteCampaignItemData ¶
type WebsiteCampaignItemData struct {
Data *WebsiteCampaignItem `json:"data,omitempty"`
}
WebsiteCampaignItemData mapping
type WebsiteCampaignItemFlow ¶
type WebsiteCampaignItemFlow struct { LaunchEvent *string `json:"launch_event,omitempty"` AssertFilter *[]WebsiteFilter `json:"assert_filter,omitempty"` AssertDelay *uint16 `json:"assert_delay,omitempty"` DeliverOnce *bool `json:"deliver_once,omitempty"` DeliverDelay *uint16 `json:"deliver_delay,omitempty"` }
WebsiteCampaignItemFlow mapping
type WebsiteCampaignItemOptions ¶
type WebsiteCampaignItemOptions struct { DeliverToChatbox *bool `json:"deliver_to_chatbox,omitempty"` DeliverToEmail *bool `json:"deliver_to_email,omitempty"` SenderNameWebsite *bool `json:"sender_name_website,omitempty"` SenderEmailReply *bool `json:"sender_email_reply,omitempty"` Tracking *bool `json:"tracking,omitempty"` }
WebsiteCampaignItemOptions mapping
type WebsiteCampaignItemRecipients ¶
type WebsiteCampaignItemRecipients struct { Type *string `json:"type,omitempty"` Segments *[]string `json:"segments,omitempty"` People *[]string `json:"people,omitempty"` Filter *[]WebsiteFilter `json:"filter,omitempty"` }
WebsiteCampaignItemRecipients mapping
type WebsiteCampaignItemSender ¶
type WebsiteCampaignItemSender struct {
UserID *string `json:"user_id,omitempty"`
}
WebsiteCampaignItemSender mapping
type WebsiteCampaignItemStatistics ¶
type WebsiteCampaignItemStatistics struct { Opened *uint64 `json:"opened,omitempty"` Clicked *uint64 `json:"clicked,omitempty"` Unsubscribed *uint64 `json:"unsubscribed,omitempty"` }
WebsiteCampaignItemStatistics mapping
type WebsiteCampaignNew ¶
type WebsiteCampaignNew struct {
CampaignID *string `json:"campaign_id,omitempty"`
}
WebsiteCampaignNew mapping
func (WebsiteCampaignNew) String ¶
func (instance WebsiteCampaignNew) String() string
String returns the string representation of WebsiteCampaignNew
type WebsiteCampaignNewData ¶
type WebsiteCampaignNewData struct {
Data *WebsiteCampaignNew `json:"data,omitempty"`
}
WebsiteCampaignNewData mapping
type WebsiteCampaignNewItem ¶
WebsiteCampaignNewItem mapping
type WebsiteCampaignRecipient ¶
type WebsiteCampaignRecipient struct { PeopleID *string `json:"people_id,omitempty"` Email *string `json:"email,omitempty"` Person *WebsiteCampaignRecipientPerson `json:"person,omitempty"` Subscribed *bool `json:"subscribed,omitempty"` }
WebsiteCampaignRecipient mapping
func (WebsiteCampaignRecipient) String ¶
func (instance WebsiteCampaignRecipient) String() string
String returns the string representation of WebsiteCampaignRecipient
type WebsiteCampaignRecipientPerson ¶
type WebsiteCampaignRecipientPerson struct { Nickname *string `json:"nickname,omitempty"` Avatar *string `json:"avatar,omitempty"` }
WebsiteCampaignRecipientPerson mapping
type WebsiteCampaignRecipientsData ¶
type WebsiteCampaignRecipientsData struct {
Data *[]WebsiteCampaignRecipient `json:"data,omitempty"`
}
WebsiteCampaignRecipientsData mapping
type WebsiteCampaignStatistic ¶
type WebsiteCampaignStatistic struct { Profile *WebsiteCampaignStatisticProfile `json:"profile,omitempty"` Data *interface{} `json:"data,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` }
WebsiteCampaignStatistic mapping
func (WebsiteCampaignStatistic) String ¶
func (instance WebsiteCampaignStatistic) String() string
String returns the string representation of WebsiteCampaignStatistic
type WebsiteCampaignStatisticProfile ¶
type WebsiteCampaignStatisticProfile struct { PeopleID *string `json:"people_id,omitempty"` Email *string `json:"email,omitempty"` Person *WebsiteCampaignStatisticProfilePerson `json:"person,omitempty"` }
WebsiteCampaignStatisticProfile mapping
type WebsiteCampaignStatisticProfilePerson ¶
type WebsiteCampaignStatisticProfilePerson struct { Nickname *string `json:"nickname,omitempty"` Avatar *string `json:"avatar,omitempty"` Geolocation *WebsiteCampaignStatisticProfilePersonGeolocation `json:"geolocation,omitempty"` }
WebsiteCampaignStatisticProfilePerson mapping
type WebsiteCampaignStatisticProfilePersonGeolocation ¶
type WebsiteCampaignStatisticProfilePersonGeolocation struct { Country *string `json:"country,omitempty"` Region *string `json:"region,omitempty"` City *string `json:"city,omitempty"` Coordinates *WebsiteCampaignStatisticProfilePersonGeolocationCoordinates `json:"coordinates,omitempty"` }
WebsiteCampaignStatisticProfilePersonGeolocation mapping
type WebsiteCampaignStatisticProfilePersonGeolocationCoordinates ¶
type WebsiteCampaignStatisticProfilePersonGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
WebsiteCampaignStatisticProfilePersonGeolocationCoordinates mapping
type WebsiteCampaignStatisticsData ¶
type WebsiteCampaignStatisticsData struct {
Data *[]WebsiteCampaignStatistic `json:"data,omitempty"`
}
WebsiteCampaignStatisticsData mapping
type WebsiteCampaignTagsData ¶
type WebsiteCampaignTagsData struct {
Data *[]string `json:"data,omitempty"`
}
WebsiteCampaignTagsData mapping
type WebsiteCampaignTemplateExcerpt ¶
type WebsiteCampaignTemplateExcerpt struct { TemplateID *string `json:"template_id,omitempty"` Type *string `json:"type,omitempty"` Name *string `json:"name,omitempty"` Format *string `json:"format,omitempty"` CreatedAt *uint64 `json:"created_at,omitempty"` UpdatedAt *uint64 `json:"updated_at,omitempty"` }
WebsiteCampaignTemplateExcerpt mapping
func (WebsiteCampaignTemplateExcerpt) String ¶
func (instance WebsiteCampaignTemplateExcerpt) String() string
String returns the string representation of WebsiteCampaignTemplateExcerpt
type WebsiteCampaignTemplateExcerptsData ¶
type WebsiteCampaignTemplateExcerptsData struct {
Data *[]WebsiteCampaignTemplateExcerpt `json:"data,omitempty"`
}
WebsiteCampaignTemplateExcerptsData mapping
type WebsiteCampaignTemplateItem ¶
type WebsiteCampaignTemplateItem struct { WebsiteCampaignTemplateExcerpt Content *string `json:"content,omitempty"` }
WebsiteCampaignTemplateItem mapping
func (WebsiteCampaignTemplateItem) String ¶
func (instance WebsiteCampaignTemplateItem) String() string
String returns the string representation of WebsiteCampaignTemplateItem
type WebsiteCampaignTemplateItemData ¶
type WebsiteCampaignTemplateItemData struct {
Data *WebsiteCampaignTemplateItem `json:"data,omitempty"`
}
WebsiteCampaignTemplateItemData mapping
type WebsiteCampaignTemplateNew ¶
type WebsiteCampaignTemplateNew struct {
TemplateID *string `json:"template_id,omitempty"`
}
WebsiteCampaignTemplateNew mapping
func (WebsiteCampaignTemplateNew) String ¶
func (instance WebsiteCampaignTemplateNew) String() string
String returns the string representation of WebsiteCampaignTemplateNew
type WebsiteCampaignTemplateNewData ¶
type WebsiteCampaignTemplateNewData struct {
Data *WebsiteCampaignTemplateNew `json:"data,omitempty"`
}
WebsiteCampaignTemplateNewData mapping
type WebsiteCampaignTemplateNewItem ¶
type WebsiteCampaignTemplateNewItem struct { Format string `json:"format"` Name string `json:"name"` }
WebsiteCampaignTemplateNewItem mapping
type WebsiteCreate ¶
type WebsiteCreate struct { Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` }
WebsiteCreate mapping
type WebsiteData ¶
type WebsiteData struct {
Data *Website `json:"data,omitempty"`
}
WebsiteData mapping
type WebsiteFilter ¶
type WebsiteFilter struct { Model *string `json:"model,omitempty"` Criterion *string `json:"criterion,omitempty"` Operator *string `json:"operator,omitempty"` Query *[]interface{} `json:"query,omitempty"` }
WebsiteFilter mapping
type WebsiteOperator ¶
type WebsiteOperator struct { UserID *string `json:"user_id,omitempty"` Email *string `json:"email,omitempty"` Avatar *string `json:"avatar,omitempty"` FirstName *string `json:"first_name,omitempty"` LastName *string `json:"last_name,omitempty"` Role *string `json:"role,omitempty"` Title *string `json:"title,omitempty"` Availability *string `json:"availability,omitempty"` HasToken *bool `json:"has_token,omitempty"` Identifier *string `json:"identifier,omitempty"` Key *string `json:"key,omitempty"` }
WebsiteOperator mapping
func (WebsiteOperator) String ¶
func (instance WebsiteOperator) String() string
String returns the string representation of WebsiteOperator
type WebsiteOperatorData ¶
type WebsiteOperatorData struct {
Data *WebsiteOperator `json:"data,omitempty"`
}
WebsiteOperatorData mapping
type WebsiteOperatorEdit ¶
type WebsiteOperatorEdit struct { Role *string `json:"role,omitempty"` Title *string `json:"title,omitempty"` }
WebsiteOperatorEdit mapping
type WebsiteOperatorEmail ¶
type WebsiteOperatorEmail struct { Recipient *string `json:"recipient,omitempty"` UserID *string `json:"user_id,omitempty"` Subject *string `json:"subject,omitempty"` Message *string `json:"message,omitempty"` Target *WebsiteOperatorEmailTarget `json:"target,omitempty"` }
WebsiteOperatorEmail mapping
type WebsiteOperatorEmailTarget ¶
type WebsiteOperatorEmailTarget struct { Label *string `json:"label,omitempty"` URL *string `json:"url,omitempty"` }
WebsiteOperatorEmailTarget mapping
type WebsiteOperatorInvite ¶
type WebsiteOperatorInvite struct { Email *string `json:"email,omitempty"` Role *string `json:"role,omitempty"` Verify *WebsiteOperatorInviteVerify `json:"verify,omitempty"` }
WebsiteOperatorInvite mapping
type WebsiteOperatorInviteVerify ¶
type WebsiteOperatorInviteVerify struct { Method string `json:"method"` Secret string `json:"secret"` }
WebsiteOperatorInviteVerify mapping
type WebsiteOperatorListData ¶
type WebsiteOperatorListData struct {
Data *[]WebsiteOperatorListOne `json:"data,omitempty"`
}
WebsiteOperatorListData mapping
type WebsiteOperatorListOne ¶
type WebsiteOperatorListOne struct { Type *string `json:"type,omitempty"` Details *WebsiteOperator `json:"details,omitempty"` }
WebsiteOperatorListOne mapping
func (WebsiteOperatorListOne) String ¶
func (instance WebsiteOperatorListOne) String() string
String returns the string representation of WebsiteOperatorListOne
type WebsiteOperatorsLastActiveListData ¶
type WebsiteOperatorsLastActiveListData struct {
Data *[]WebsiteOperatorsLastActiveListOne `json:"data,omitempty"`
}
WebsiteOperatorsLastActiveListData mapping
type WebsiteOperatorsLastActiveListOne ¶
type WebsiteOperatorsLastActiveListOne struct { UserID *string `json:"user_id,omitempty"` Avatar *string `json:"avatar,omitempty"` Nickname *string `json:"nickname,omitempty"` Timestamp *uint64 `json:"timestamp,omitempty"` }
WebsiteOperatorsLastActiveListOne mapping
type WebsiteRemove ¶
type WebsiteRemove struct {
Verify *WebsiteRemoveVerify `json:"verify,omitempty"`
}
WebsiteRemove mapping
type WebsiteRemoveVerify ¶
WebsiteRemoveVerify mapping
type WebsiteService ¶
type WebsiteService service
WebsiteService service
func (*WebsiteService) AbortOngoingCallSessionForConversation ¶
func (service *WebsiteService) AbortOngoingCallSessionForConversation(websiteID string, sessionID string, callID string) (*Response, error)
AbortOngoingCallSessionForConversation aborts the ongoing audio/video call session for conversation.
func (*WebsiteService) AbortWebsiteDeletion ¶
func (service *WebsiteService) AbortWebsiteDeletion(websiteID string) (*Response, error)
AbortWebsiteDeletion aborts scheduled deletion for an existing website.
func (*WebsiteService) AddHelpdeskLocale ¶
func (service *WebsiteService) AddHelpdeskLocale(websiteID string, locale string) (*Response, error)
AddHelpdeskLocale adds a locale for helpdesk in website.
func (*WebsiteService) AddHelpdeskLocaleCategory ¶
func (service *WebsiteService) AddHelpdeskLocaleCategory(websiteID string, locale string, name string) (*HelpdeskLocaleArticleCategoryNew, *Response, error)
AddHelpdeskLocaleCategory adds a locale category for helpdesk in website.
func (*WebsiteService) AddHelpdeskLocaleSection ¶
func (service *WebsiteService) AddHelpdeskLocaleSection(websiteID string, locale string, categoryId string, name string) (*HelpdeskLocaleSectionNew, *Response, error)
AddHelpdeskLocaleSection adds a locale section for helpdesk in website and category.
func (*WebsiteService) AddHelpdeskRedirection ¶
func (service *WebsiteService) AddHelpdeskRedirection(websiteID string, redirectionPath string, redirectionTarget string) (*HelpdeskRedirectionNew, *Response, error)
AddHelpdeskRedirection adds a redirection for helpdesk in website.
func (*WebsiteService) AddNewHelpdeskLocaleArticle ¶
func (service *WebsiteService) AddNewHelpdeskLocaleArticle(websiteID string, locale string, title string) (*HelpdeskLocaleArticleNew, *Response, error)
AddNewHelpdeskLocaleArticle adds a new locale article for helpdesk in website.
func (*WebsiteService) AddNewPeopleProfile ¶
func (service *WebsiteService) AddNewPeopleProfile(websiteID string, peopleProfile PeopleProfileUpdateCard) (*PeopleProfileNew, *Response, error)
AddNewPeopleProfile adds a new people profile.
func (*WebsiteService) AddPeopleEvent ¶
func (service *WebsiteService) AddPeopleEvent(websiteID string, peopleID string, peopleEvent PeopleEventAdd) (*Response, error)
AddPeopleEvent stacks an event for people.
func (*WebsiteService) AssignConversationRouting ¶
func (service *WebsiteService) AssignConversationRouting(websiteID string, sessionID string, assign ConversationRoutingAssignUpdate) (*Response, error)
AssignConversationRouting assigns conversation routing to an operator, or unassign.
func (*WebsiteService) AssistExistingBrowsingSession ¶
func (service *WebsiteService) AssistExistingBrowsingSession(websiteID string, sessionID string, browsingID string, assist ConversationBrowsingAssist) (*Response, error)
AssistExistingBrowsingSession assists an existing browsing session.
func (*WebsiteService) BatchReadConversations ¶
func (service *WebsiteService) BatchReadConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
BatchReadConversations marks given (or all) items as read in website (conversation variant).
func (*WebsiteService) BatchRemoveConversations ¶
func (service *WebsiteService) BatchRemoveConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
BatchRemoveConversations removes given items in website (conversation variant).
func (*WebsiteService) BatchRemovePeople ¶
func (service *WebsiteService) BatchRemovePeople(websiteID string, people WebsiteBatchPeopleOperationInner) (*Response, error)
BatchRemovePeople removes given items in website (people variant).
func (*WebsiteService) BatchResolveConversations ¶
func (service *WebsiteService) BatchResolveConversations(websiteID string, operation WebsiteBatchConversationsOperation) (*Response, error)
BatchResolveConversations resolves given (or all) items in website (conversation variant).
func (*WebsiteService) BlockIncomingMessagesForConversation ¶
func (service *WebsiteService) BlockIncomingMessagesForConversation(websiteID string, sessionID string, blocked bool) (*Response, error)
BlockIncomingMessagesForConversation blocks further incoming messages from a conversation.
func (*WebsiteService) ChangeConversationState ¶
func (service *WebsiteService) ChangeConversationState(websiteID string, sessionID string, state string) (*Response, error)
ChangeConversationState updates conversation state.
func (*WebsiteService) ChangeOperatorMembership ¶
func (service *WebsiteService) ChangeOperatorMembership(websiteID string, userID string, role string, title *string) (*Response, error)
ChangeOperatorMembership changes the membership of an existing operator.
func (*WebsiteService) CheckCampaignExists ¶
func (service *WebsiteService) CheckCampaignExists(websiteID string, campaignID string) (*Response, error)
CheckCampaignExists checks if given campaign exists.
func (*WebsiteService) CheckCampaignTemplateExists ¶
func (service *WebsiteService) CheckCampaignTemplateExists(websiteID string, templateID string) (*Response, error)
CheckCampaignTemplateExists checks if given campaign template exists.
func (*WebsiteService) CheckConversationExists ¶
func (service *WebsiteService) CheckConversationExists(websiteID string, sessionID string) (*Response, error)
CheckConversationExists checks if given conversation session identifier exists.
func (*WebsiteService) CheckHelpdeskExists ¶
func (service *WebsiteService) CheckHelpdeskExists(websiteID string) (*Response, error)
CheckHelpdeskExists checks if helpdesk exists for website.
func (*WebsiteService) CheckHelpdeskLocaleArticleAlternateExists ¶
func (service *WebsiteService) CheckHelpdeskLocaleArticleAlternateExists(websiteID string, locale string, articleId string, localeLinked string) (*Response, error)
CheckHelpdeskLocaleArticleAlternateExists checks if alternate locale exists on a locale article for helpdesk in website.
func (*WebsiteService) CheckHelpdeskLocaleArticleExists ¶
func (service *WebsiteService) CheckHelpdeskLocaleArticleExists(websiteID string, locale string, articleId string) (*Response, error)
CheckHelpdeskLocaleArticleExists checks if a locale article exists for helpdesk in website.
func (*WebsiteService) CheckHelpdeskLocaleCategoryExists ¶
func (service *WebsiteService) CheckHelpdeskLocaleCategoryExists(websiteID string, locale string, categoryId string) (*Response, error)
CheckHelpdeskLocaleCategoryExists checks if a locale category exists for helpdesk in website.
func (*WebsiteService) CheckHelpdeskLocaleExists ¶
func (service *WebsiteService) CheckHelpdeskLocaleExists(websiteID string, locale string) (*Response, error)
CheckHelpdeskLocaleExists checks if a helpdesk locale exists for helpdesk in website.
func (*WebsiteService) CheckHelpdeskLocaleSectionExists ¶
func (service *WebsiteService) CheckHelpdeskLocaleSectionExists(websiteID string, locale string, categoryId string, sectionId string) (*Response, error)
CheckHelpdeskLocaleSectionExists checks if a locale section exists for helpdesk in website and category.
func (*WebsiteService) CheckHelpdeskRedirectionExists ¶
func (service *WebsiteService) CheckHelpdeskRedirectionExists(websiteID string, redirectionId string) (*Response, error)
CheckHelpdeskRedirectionExists checks if a helpdesk redirection exists for helpdesk in website.
func (*WebsiteService) CheckPeopleProfileExists ¶
func (service *WebsiteService) CheckPeopleProfileExists(websiteID string, peopleID string) (*Response, error)
CheckPeopleProfileExists checks if given people profile exists.
func (*WebsiteService) CheckWebsiteExists ¶
func (service *WebsiteService) CheckWebsiteExists(domain string) (*Response, error)
CheckWebsiteExists checks if given website exists (by domain).
func (*WebsiteService) ComposeMessageInConversation ¶
func (service *WebsiteService) ComposeMessageInConversation(websiteID string, sessionID string, compose ConversationComposeMessageNew) (*Response, error)
ComposeMessageInConversation starts or stop composing a message in an existing conversation.
func (*WebsiteService) CountBlockedVisitors ¶
func (service *WebsiteService) CountBlockedVisitors(websiteID string) (*[]WebsiteVisitorsBlocked, *Response, error)
CountBlockedVisitors counts all blocked visitors on website, by rule list.
func (*WebsiteService) CountBlockedVisitorsInRule ¶
func (service *WebsiteService) CountBlockedVisitorsInRule(websiteID string, rule string) (*WebsiteVisitorsBlocked, *Response, error)
CountBlockedVisitorsInRule counts all blocked visitors in rule list on website.
func (*WebsiteService) CountVisitors ¶
func (service *WebsiteService) CountVisitors(websiteID string) (*WebsiteVisitorCount, *Response, error)
CountVisitors counts visitors currently on website.
func (*WebsiteService) CreateNewCampaign ¶
func (service *WebsiteService) CreateNewCampaign(websiteID string, campaignType string, campaignName string) (*WebsiteCampaignNew, *Response, error)
CreateNewCampaign creates a new campaign.
func (*WebsiteService) CreateNewCampaignTemplate ¶
func (service *WebsiteService) CreateNewCampaignTemplate(websiteID string, templateFormat string, templateName string) (*WebsiteCampaignTemplateNew, *Response, error)
CreateNewCampaignTemplate creates a new campaign template.
func (*WebsiteService) CreateNewConversation ¶
func (service *WebsiteService) CreateNewConversation(websiteID string) (*ConversationNew, *Response, error)
CreateNewConversation creates a new conversation.
func (*WebsiteService) CreateWebsite ¶
func (service *WebsiteService) CreateWebsite(websiteData WebsiteCreate) (*Website, *Response, error)
CreateWebsite creates a new website.
func (*WebsiteService) DeleteHelpdesk ¶
func (service *WebsiteService) DeleteHelpdesk(websiteID string, verify HelpdeskRemoveVerify) (*Response, error)
DeleteHelpdesk deletes helpdesk for website.
func (*WebsiteService) DeleteHelpdeskLocale ¶
func (service *WebsiteService) DeleteHelpdeskLocale(websiteID string, locale string) (*Response, error)
DeleteHelpdeskLocale deletes a locale for helpdesk in website.
func (*WebsiteService) DeleteHelpdeskLocaleArticle ¶
func (service *WebsiteService) DeleteHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*Response, error)
DeleteHelpdeskLocaleArticle deletes a locale article for helpdesk in website.
func (*WebsiteService) DeleteHelpdeskLocaleArticleAlternate ¶
func (service *WebsiteService) DeleteHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string) (*Response, error)
DeleteHelpdeskLocaleArticleAlternate deletes alternate locale on a locale article for helpdesk in website.
func (*WebsiteService) DeleteHelpdeskLocaleCategory ¶
func (service *WebsiteService) DeleteHelpdeskLocaleCategory(websiteID string, locale string, categoryId string) (*Response, error)
DeleteHelpdeskLocaleCategory deletes a locale category for helpdesk in website.
func (*WebsiteService) DeleteHelpdeskLocaleSection ¶
func (service *WebsiteService) DeleteHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string) (*Response, error)
DeleteHelpdeskLocaleSection deletes a locale section for helpdesk in website and category.
func (*WebsiteService) DeleteHelpdeskRedirection ¶
func (service *WebsiteService) DeleteHelpdeskRedirection(websiteID string, redirectionId string) (*Response, error)
DeleteHelpdeskRedirection deletes a redirection for helpdesk in website.
func (*WebsiteService) DeleteSuggestedConversationDataKey ¶
func (service *WebsiteService) DeleteSuggestedConversationDataKey(websiteID string, key string) (*Response, error)
DeleteSuggestedConversationDataKey deletes a suggested conversation data key for website.
func (*WebsiteService) DeleteSuggestedConversationSegment ¶
func (service *WebsiteService) DeleteSuggestedConversationSegment(websiteID string, segment string) (*Response, error)
DeleteSuggestedConversationSegment deletes a suggested conversation segment for website.
func (*WebsiteService) DeleteSuggestedPeopleDataKey ¶
func (service *WebsiteService) DeleteSuggestedPeopleDataKey(websiteID string, key string) (*Response, error)
DeleteSuggestedPeopleDataKey deletes a suggested data key for people.
func (*WebsiteService) DeleteSuggestedPeopleEvent ¶
func (service *WebsiteService) DeleteSuggestedPeopleEvent(websiteID string, text string) (*Response, error)
DeleteSuggestedPeopleEvent deletes a suggested event for people.
func (*WebsiteService) DeleteSuggestedPeopleSegment ¶
func (service *WebsiteService) DeleteSuggestedPeopleSegment(websiteID string, segment string) (*Response, error)
DeleteSuggestedPeopleSegment deletes a suggested segment for people.
func (*WebsiteService) DeleteWebsite ¶
func (service *WebsiteService) DeleteWebsite(websiteID string, verify WebsiteRemoveVerify) (*Response, error)
DeleteWebsite deletes an existing website.
func (*WebsiteService) DeliverWidgetButtonActionForConversation ¶
func (service *WebsiteService) DeliverWidgetButtonActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, itemID string, data interface{}, value *interface{}) (*ConversationWidgetAction, *Response, error)
DeliverWidgetButtonActionForConversation delivers a button action on plugin widget for conversation.
func (*WebsiteService) DeliverWidgetDataEditActionForConversation ¶
func (service *WebsiteService) DeliverWidgetDataEditActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, itemID string, value string) (*ConversationWidgetAction, *Response, error)
DeliverWidgetDataEditActionForConversation delivers a data action on plugin widget for conversation (edit action).
func (*WebsiteService) DeliverWidgetDataFetchActionForConversation ¶
func (service *WebsiteService) DeliverWidgetDataFetchActionForConversation(websiteID string, sessionID string, pluginID string, sectionID string, itemID string, data interface{}) (*ConversationWidgetAction, *Response, error)
DeliverWidgetDataFetchActionForConversation delivers a data action on plugin widget for conversation (fetch action).
func (*WebsiteService) DispatchCampaign ¶
func (service *WebsiteService) DispatchCampaign(websiteID string, campaignID string) (*Response, error)
DispatchCampaign dispatches a ready campaign.
func (*WebsiteService) ExportHelpdeskLocaleArticles ¶
func (service *WebsiteService) ExportHelpdeskLocaleArticles(websiteID string, locale string) (*Response, error)
ExportHelpdeskLocaleArticles exports helpdesk articles for locale.
func (*WebsiteService) ExportPeopleProfiles ¶
func (service *WebsiteService) ExportPeopleProfiles(websiteID string) (*Response, error)
ExportPeopleProfiles exports people profiles.
func (*WebsiteService) FilterCampaignTemplates ¶
func (service *WebsiteService) FilterCampaignTemplates(websiteID string, pageNumber uint, searchName string, filterTypeStatic bool, filterTypeCustom bool) (*[]WebsiteCampaignTemplateExcerpt, *Response, error)
FilterCampaignTemplates lists campaign templates for website (filter variant).
func (*WebsiteService) FilterCampaigns ¶
func (service *WebsiteService) FilterCampaigns(websiteID string, pageNumber uint, searchName string, filterTag string, filterTypeOneShot bool, filterTypeAutomated bool, filterStatusNotConfigured bool, filterStatusReady bool, filterStatusPaused bool, filterStatusSending bool, filterStatusDone bool) (*[]WebsiteCampaignExcerpt, *Response, error)
FilterCampaigns lists campaigns for website (filter variant).
func (*WebsiteService) FilterConversations ¶
func (service *WebsiteService) FilterConversations(websiteID string, pageNumber uint, filterInboxID string, filterUnread bool, filterResolved bool, filterNotResolved bool, filterMention bool, filterAssigned bool, filterUnassigned bool) (*[]Conversation, *Response, error)
FilterConversations filters conversations for website.
func (*WebsiteService) FilterPeopleConversations ¶
func (service *WebsiteService) FilterPeopleConversations(websiteID string, peopleID string, pageNumber uint, filterUnread bool, filterResolved bool, filterNotResolved bool) ([]string, *Response, error)
FilterPeopleConversations filters conversations linked to people.
func (*WebsiteService) FlushLastActiveWebsiteOperators ¶
func (service *WebsiteService) FlushLastActiveWebsiteOperators(websiteID string) (*Response, error)
FlushLastActiveWebsiteOperators flushes the list of last active website operators.
func (*WebsiteService) GenerateAnalytics ¶
func (service *WebsiteService) GenerateAnalytics(websiteID string, query AnalyticsGenerateQuery) (*[]WebsiteAnalyticsGeneratePoint, *Response, error)
GenerateAnalytics generates analytics for given type and metric in website.
func (*WebsiteService) GenerateHelpdeskDomainSetupFlow ¶
func (service *WebsiteService) GenerateHelpdeskDomainSetupFlow(websiteID string, custom string) (*HelpdeskDomainSetupFlow, *Response, error)
GenerateHelpdeskDomainSetupFlow retrieves the domain setup flow for helpdesk.
func (*WebsiteService) GetBlockStatusForConversation ¶
func (service *WebsiteService) GetBlockStatusForConversation(websiteID string, sessionID string) (*ConversationBlock, *Response, error)
GetBlockStatusForConversation resolves conversation block status.
func (*WebsiteService) GetCampaign ¶
func (service *WebsiteService) GetCampaign(websiteID string, campaignID string) (*WebsiteCampaignItem, *Response, error)
GetCampaign resolves campaign information.
func (*WebsiteService) GetCampaignTemplate ¶
func (service *WebsiteService) GetCampaignTemplate(websiteID string, templateID string) (*WebsiteCampaignTemplateItem, *Response, error)
GetCampaignTemplate resolves campaign template information.
func (*WebsiteService) GetConversation ¶
func (service *WebsiteService) GetConversation(websiteID string, sessionID string) (*Conversation, *Response, error)
GetConversation resolves conversation information and messages.
func (*WebsiteService) GetConversationMetas ¶
func (service *WebsiteService) GetConversationMetas(websiteID string, sessionID string) (*ConversationMeta, *Response, error)
GetConversationMetas resolves conversation meta information.
func (*WebsiteService) GetConversationParticipants ¶
func (service *WebsiteService) GetConversationParticipants(websiteID string, sessionID string) (*ConversationParticipants, *Response, error)
GetConversationParticipants resolves conversation participants.
func (*WebsiteService) GetConversationRoutingAssign ¶
func (service *WebsiteService) GetConversationRoutingAssign(websiteID string, sessionID string) (*ConversationRoutingAssign, *Response, error)
GetConversationRoutingAssign resolves assigned operator for conversation routing.
func (*WebsiteService) GetConversationState ¶
func (service *WebsiteService) GetConversationState(websiteID string, sessionID string) (*ConversationState, *Response, error)
GetConversationState resolves conversation state.
func (*WebsiteService) GetMessageInConversation ¶
func (service *WebsiteService) GetMessageInConversation(websiteID string, sessionID string, fingerprint int) (*ConversationMessage, *Response, error)
GetMessageInConversation resolves an existing message in an existing conversation.
func (*WebsiteService) GetMessagesInConversationBefore ¶
func (service *WebsiteService) GetMessagesInConversationBefore(websiteID string, sessionID string, timestampBefore uint) (*[]ConversationMessage, *Response, error)
GetMessagesInConversationBefore resolves messages in an existing conversation (before variant).
func (*WebsiteService) GetMessagesInConversationLast ¶
func (service *WebsiteService) GetMessagesInConversationLast(websiteID string, sessionID string) (*[]ConversationMessage, *Response, error)
GetMessagesInConversationLast resolves messages in an existing conversation (last variant).
func (*WebsiteService) GetOngoingCallSessionForConversation ¶
func (service *WebsiteService) GetOngoingCallSessionForConversation(websiteID string, sessionID string) (*ConversationCall, *Response, error)
GetOngoingCallSessionForConversation gets the ongoing audio/video call session for conversation.
func (*WebsiteService) GetOriginalMessageInConversation ¶
func (service *WebsiteService) GetOriginalMessageInConversation(websiteID string, sessionID string, originalID string) (*ConversationOriginal, *Response, error)
GetOriginalMessageInConversation resolves conversation original message.
func (*WebsiteService) GetPeopleData ¶
func (service *WebsiteService) GetPeopleData(websiteID string, peopleID string) (*PeopleData, *Response, error)
GetPeopleData gets stored data for people.
func (*WebsiteService) GetPeopleProfile ¶
func (service *WebsiteService) GetPeopleProfile(websiteID string, peopleID string) (*PeopleProfile, *Response, error)
GetPeopleProfile resolves people profile.
func (*WebsiteService) GetPeopleStatistics ¶
func (service *WebsiteService) GetPeopleStatistics(websiteID string) (*PeopleStatistics, *Response, error)
GetPeopleStatistics resolves statistics on people in website.
func (*WebsiteService) GetPeopleSubscriptionStatus ¶
func (service *WebsiteService) GetPeopleSubscriptionStatus(websiteID string, peopleID string) (*PeopleSubscription, *Response, error)
GetPeopleSubscriptionStatus resolves subscription status for people.
func (*WebsiteService) GetSessionIdentifierFromToken ¶
func (service *WebsiteService) GetSessionIdentifierFromToken(websiteID string, tokenID string) (*WebsiteVisitorsToken, *Response, error)
GetSessionIdentifierFromToken transforms a token to a session identifier, if any session is bound to the token.
func (*WebsiteService) GetVerifyKey ¶
func (service *WebsiteService) GetVerifyKey(websiteID string) (*WebsiteVerifyKey, *Response, error)
GetVerifyKey resolves verify key.
func (*WebsiteService) GetVerifySettings ¶
func (service *WebsiteService) GetVerifySettings(websiteID string) (*WebsiteVerifySettings, *Response, error)
GetVerifySettings resolves verify settings.
func (*WebsiteService) GetVerifyStatusForConversation ¶
func (service *WebsiteService) GetVerifyStatusForConversation(websiteID string, sessionID string) (*ConversationVerify, *Response, error)
GetVerifyStatusForConversation resolves conversation verify status.
func (*WebsiteService) GetWebsite ¶
func (service *WebsiteService) GetWebsite(websiteID string) (*Website, *Response, error)
GetWebsite resolves an existing website information.
func (*WebsiteService) GetWebsiteAvailabilityStatus ¶
func (service *WebsiteService) GetWebsiteAvailabilityStatus(websiteID string) (*WebsiteAvailabilityStatus, *Response, error)
GetWebsiteAvailabilityStatus resolves the website availability status. This tells whether the chatbox is seen as online or away by visitors.
func (*WebsiteService) GetWebsiteOperator ¶
func (service *WebsiteService) GetWebsiteOperator(websiteID string, userID string) (*WebsiteOperator, *Response, error)
GetWebsiteOperator resolves a given website operator.
func (*WebsiteService) GetWebsiteSettings ¶
func (service *WebsiteService) GetWebsiteSettings(websiteID string) (*WebsiteSettings, *Response, error)
GetWebsiteSettings resolves the current settings for a website.
func (*WebsiteService) ImportExternalHelpdeskToLocale ¶
func (service *WebsiteService) ImportExternalHelpdeskToLocale(websiteID string, locale string, helpdeskUrl string) (*Response, error)
ImportExternalHelpdeskToLocale imports a whole external helpdesk to Crisp, as a Crisp Helpdesk.
func (*WebsiteService) ImportPeopleProfiles ¶
func (service *WebsiteService) ImportPeopleProfiles(websiteID string, profileImportSetup PeopleProfileImportSetup) (*PeopleProfileImport, *Response, error)
ImportPeopleProfiles imports people profiles.
func (*WebsiteService) InitializeHelpdesk ¶
func (service *WebsiteService) InitializeHelpdesk(websiteID string, name string, domainBasic string) (*Response, error)
InitializeHelpdesk initializes a new helpdesk for website.
func (*WebsiteService) InitiateBrowsingSessionForConversation ¶
func (service *WebsiteService) InitiateBrowsingSessionForConversation(websiteID string, sessionID string) (*Response, error)
InitiateBrowsingSessionForConversation initiates browsing session for conversation.
func (*WebsiteService) InitiateConversationWithExistingSession ¶
func (service *WebsiteService) InitiateConversationWithExistingSession(websiteID string, sessionID string) (*Response, error)
InitiateConversationWithExistingSession initiates a conversation from an existing session.
func (*WebsiteService) InitiateNewCallSessionForConversation ¶
func (service *WebsiteService) InitiateNewCallSessionForConversation(websiteID string, sessionID string, mode string) (*ConversationCall, *Response, error)
InitiateNewCallSessionForConversation initiates a new audio/video call session for conversation.
func (*WebsiteService) InviteWebsiteOperator ¶
func (service *WebsiteService) InviteWebsiteOperator(websiteID string, email string, role string, verify WebsiteOperatorInviteVerify) (*Response, error)
InviteWebsiteOperator invites an email to join website as operator.
func (*WebsiteService) ListAnimationMedias ¶
func (service *WebsiteService) ListAnimationMedias(pageNumber uint, listID int, searchQuery string) (*Response, error)
ListAnimationMedias lists animation medias.
func (*WebsiteService) ListBrowsingSessionsForConversation ¶
func (service *WebsiteService) ListBrowsingSessionsForConversation(websiteID string, sessionID string) (*[]ConversationBrowsing, *Response, error)
ListBrowsingSessionsForConversation lists available browsing sessions for conversation.
func (*WebsiteService) ListCampaignRecipients ¶
func (service *WebsiteService) ListCampaignRecipients(websiteID string, campaignID string, pageNumber uint) (*[]WebsiteCampaignRecipient, *Response, error)
ListCampaignRecipients lists campaigns recipients on a non-dispatched one-shot campaign for website.
func (*WebsiteService) ListCampaignStatistics ¶
func (service *WebsiteService) ListCampaignStatistics(websiteID string, campaignID string, action string, pageNumber uint) (*[]WebsiteCampaignStatistic, *Response, error)
ListCampaignStatistics lists campaigns statistics on action for website.
func (*WebsiteService) ListCampaignTags ¶
func (service *WebsiteService) ListCampaignTags(websiteID string) (*[]string, *Response, error)
ListCampaignTags lists campaign tags for website.
func (*WebsiteService) ListCampaignTemplates ¶
func (service *WebsiteService) ListCampaignTemplates(websiteID string, pageNumber uint) (*[]WebsiteCampaignTemplateExcerpt, *Response, error)
ListCampaignTemplates lists campaign templates for website.
func (*WebsiteService) ListCampaigns ¶
func (service *WebsiteService) ListCampaigns(websiteID string, pageNumber uint) (*[]WebsiteCampaignExcerpt, *Response, error)
ListCampaigns lists campaigns for website.
func (*WebsiteService) ListConversationEvents ¶
func (service *WebsiteService) ListConversationEvents(websiteID string, sessionID string, pageNumber uint) (*[]ConversationEvent, *Response, error)
ListConversationEvents lists stacked events in conversation.
func (*WebsiteService) ListConversationFiles ¶
func (service *WebsiteService) ListConversationFiles(websiteID string, sessionID string, pageNumber uint) (*[]ConversationFile, *Response, error)
ListConversationFiles lists files in conversation (extracted from messages).
func (*WebsiteService) ListConversationPages ¶
func (service *WebsiteService) ListConversationPages(websiteID string, sessionID string, pageNumber uint) (*[]ConversationPage, *Response, error)
ListConversationPages lists browsed pages in conversation.
func (*WebsiteService) ListConversations ¶
func (service *WebsiteService) ListConversations(websiteID string, pageNumber uint) (*[]Conversation, *Response, error)
ListConversations lists conversations for website.
func (*WebsiteService) ListHelpdeskLocaleArticleAlternates ¶
func (service *WebsiteService) ListHelpdeskLocaleArticleAlternates(websiteID string, locale string, articleId string) (*[]HelpdeskLocaleArticleAlternate, *Response, error)
ListHelpdeskLocaleArticleAlternates lists alternate locales on a locale article for helpdesk in website.
func (*WebsiteService) ListHelpdeskLocaleArticles ¶
func (service *WebsiteService) ListHelpdeskLocaleArticles(websiteID string, locale string, pageNumber uint) (*[]HelpdeskLocaleArticle, *Response, error)
ListHelpdeskLocaleArticles lists articles for a helpdesk locale in website.
func (*WebsiteService) ListHelpdeskLocaleCategories ¶
func (service *WebsiteService) ListHelpdeskLocaleCategories(websiteID string, locale string, pageNumber uint) (*[]HelpdeskLocaleArticleCategory, *Response, error)
ListHelpdeskLocaleCategories lists locale categories for helpdesk in website.
func (*WebsiteService) ListHelpdeskLocaleFeedbacks ¶
func (service *WebsiteService) ListHelpdeskLocaleFeedbacks(websiteID string, locale string, pageNumber uint, filterDateStart string, filterDateEnd string) (*[]HelpdeskLocaleFeedbackItem, *Response, error)
ListHelpdeskLocaleFeedbacks lists locale feedbacks for helpdesk in website.
func (*WebsiteService) ListHelpdeskLocaleSections ¶
func (service *WebsiteService) ListHelpdeskLocaleSections(websiteID string, locale string, categoryId string, pageNumber uint) (*[]HelpdeskLocaleSection, *Response, error)
ListHelpdeskLocaleSections lists locale sections for helpdesk in website and category.
func (*WebsiteService) ListHelpdeskLocales ¶
func (service *WebsiteService) ListHelpdeskLocales(websiteID string, pageNumber uint) (*[]HelpdeskLocale, *Response, error)
ListHelpdeskLocales lists locales for helpdesk in website.
func (*WebsiteService) ListHelpdeskRedirections ¶
func (service *WebsiteService) ListHelpdeskRedirections(websiteID string, pageNumber uint) (*[]HelpdeskRedirection, *Response, error)
ListHelpdeskRedirections lists redirections for helpdesk in website.
func (*WebsiteService) ListLastActiveWebsiteOperators ¶
func (service *WebsiteService) ListLastActiveWebsiteOperators(websiteID string) (*[]WebsiteOperatorsLastActiveListOne, *Response, error)
ListLastActiveWebsiteOperators lists last active website operators.
func (*WebsiteService) ListPeopleCampaigns ¶
func (service *WebsiteService) ListPeopleCampaigns(websiteID string, peopleID string, pageNumber uint) (*[]PeopleCampaign, *Response, error)
ListPeopleCampaigns lists campaigns linked to people.
func (*WebsiteService) ListPeopleConversations ¶
func (service *WebsiteService) ListPeopleConversations(websiteID string, peopleID string, pageNumber uint) ([]string, *Response, error)
ListPeopleConversations lists conversations linked to people.
func (*WebsiteService) ListPeopleEvents ¶
func (service *WebsiteService) ListPeopleEvents(websiteID string, peopleID string, pageNumber uint) (*[]PeopleEvent, *Response, error)
ListPeopleEvents lists stacked events for people.
func (*WebsiteService) ListPeopleProfiles ¶
func (service *WebsiteService) ListPeopleProfiles(websiteID string, pageNumber uint, searchField string, searchOrder string, searchOperator string, searchFilter []PeopleFilter, searchText string) (*[]PeopleProfile, *Response, error)
ListPeopleProfiles lists people profiles for website.
func (*WebsiteService) ListSpamConversations ¶
func (service *WebsiteService) ListSpamConversations(websiteID string, pageNumber uint) (*[]ConversationSpam, *Response, error)
ListSpamConversations lists spam conversations in website.
func (*WebsiteService) ListSuggestedConversationDataKeys ¶
func (service *WebsiteService) ListSuggestedConversationDataKeys(websiteID string, pageNumber uint) (*[]ConversationSuggestedData, *Response, error)
ListSuggestedConversationDataKeys lists suggested conversation data keys for website.
func (*WebsiteService) ListSuggestedConversationSegments ¶
func (service *WebsiteService) ListSuggestedConversationSegments(websiteID string, pageNumber uint) (*[]ConversationSuggestedSegment, *Response, error)
ListSuggestedConversationSegments lists suggested conversation segments for website.
func (*WebsiteService) ListSuggestedPeopleDataKeys ¶
func (service *WebsiteService) ListSuggestedPeopleDataKeys(websiteID string, pageNumber uint) (*[]PeopleSuggestedData, *Response, error)
ListSuggestedPeopleDataKeys lists suggested data keys for people.
func (*WebsiteService) ListSuggestedPeopleEvents ¶
func (service *WebsiteService) ListSuggestedPeopleEvents(websiteID string, pageNumber uint) (*[]PeopleSuggestedEvent, *Response, error)
ListSuggestedPeopleEvents lists suggested events for people.
func (*WebsiteService) ListSuggestedPeopleSegments ¶
func (service *WebsiteService) ListSuggestedPeopleSegments(websiteID string, pageNumber uint) (*[]PeopleSuggestedSegment, *Response, error)
ListSuggestedPeopleSegments lists suggested segments for people.
func (*WebsiteService) ListVisitors ¶
func (service *WebsiteService) ListVisitors(websiteID string, pageNumber uint) (*[]WebsiteVisitor, *Response, error)
ListVisitors lists visitors currently on website.
func (*WebsiteService) ListWebsiteOperatorAvailabilities ¶
func (service *WebsiteService) ListWebsiteOperatorAvailabilities(websiteID string) (*[]WebsiteAvailabilityOperator, *Response, error)
ListWebsiteOperatorAvailabilities lists the availabilities for website operators. This maps the availability of each operator in the website.
func (*WebsiteService) ListWebsiteOperators ¶
func (service *WebsiteService) ListWebsiteOperators(websiteID string) (*[]WebsiteOperatorListOne, *Response, error)
ListWebsiteOperators lists all operator members of website.
func (*WebsiteService) MapHelpdeskLocaleFeedbackRatings ¶
func (service *WebsiteService) MapHelpdeskLocaleFeedbackRatings(websiteID string, locale string, filterDateStart string, filterDateEnd string) (*HelpdeskLocaleFeedbackRatings, *Response, error)
MapHelpdeskLocaleFeedbackRatings map locale feedback ratings for helpdesk in website.
func (*WebsiteService) MarkMessagesDeliveredInConversation ¶
func (service *WebsiteService) MarkMessagesDeliveredInConversation(websiteID string, sessionID string, delivered ConversationDeliveredMessageMark) (*Response, error)
MarkMessagesDeliveredInConversation marks messages as delivered in conversation. Either using given message fingerprints, or all messages.
func (*WebsiteService) MarkMessagesReadInConversation ¶
func (service *WebsiteService) MarkMessagesReadInConversation(websiteID string, sessionID string, read ConversationReadMessageMark) (*Response, error)
MarkMessagesReadInConversation marks messages as read in conversation. Either using given message fingerprints, or all messages.
func (*WebsiteService) PauseCampaign ¶
func (service *WebsiteService) PauseCampaign(websiteID string, campaignID string) (*Response, error)
PauseCampaign pauses a dispatched campaign.
func (*WebsiteService) PinpointVisitorsOnMapArea ¶
func (service *WebsiteService) PinpointVisitorsOnMapArea(websiteID string, centerLongitude float32, centerLatitude float32, centerRadius uint) (*[]WebsiteVisitorsMapPoint, *Response, error)
PinpointVisitorsOnMapArea maps visitors in a geographical area, given a geographical center and a map radius (area variant).
func (*WebsiteService) PinpointVisitorsOnMapWide ¶
func (service *WebsiteService) PinpointVisitorsOnMapWide(websiteID string) (*[]WebsiteVisitorsMapPoint, *Response, error)
PinpointVisitorsOnMapWide maps visitors in a geographical area, given a geographical center and a map radius (wide variant).
func (*WebsiteService) PublishHelpdeskLocaleArticle ¶
func (service *WebsiteService) PublishHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticlePublish, *Response, error)
PublishHelpdeskLocaleArticle publishes a locale article for helpdesk in website.
func (*WebsiteService) RemoveCampaign ¶
func (service *WebsiteService) RemoveCampaign(websiteID string, campaignID string) (*Response, error)
RemoveCampaign removes a campaign in website.
func (*WebsiteService) RemoveCampaignTemplate ¶
func (service *WebsiteService) RemoveCampaignTemplate(websiteID string, templateID string) (*Response, error)
RemoveCampaignTemplate removes a campaign template in website.
func (*WebsiteService) RemoveConversation ¶
func (service *WebsiteService) RemoveConversation(websiteID string, sessionID string) (*Response, error)
RemoveConversation removes a conversation in website.
func (*WebsiteService) RemoveMessageInConversation ¶
func (service *WebsiteService) RemoveMessageInConversation(websiteID string, sessionID string, fingerprint int) (*Response, error)
RemoveMessageInConversation removes an existing message in an existing conversation.
func (*WebsiteService) RemovePeopleProfile ¶
func (service *WebsiteService) RemovePeopleProfile(websiteID string, peopleID string) (*Response, error)
RemovePeopleProfile removes people profile in website.
func (*WebsiteService) ReportConversation ¶
func (service *WebsiteService) ReportConversation(websiteID string, sessionID string, flag string) (*Response, error)
ReportConversation reports a conversation to Crisp and remove it from the inbox.
func (*WebsiteService) RequestChatboxBindingPurgeForConversation ¶
func (service *WebsiteService) RequestChatboxBindingPurgeForConversation(websiteID string, sessionID string) (*Response, error)
RequestChatboxBindingPurgeForConversation requests a chatbox binding purge for conversation.
func (*WebsiteService) RequestEmailTranscriptForConversation ¶
func (service *WebsiteService) RequestEmailTranscriptForConversation(websiteID string, sessionID string, to string, email string) (*Response, error)
RequestEmailTranscriptForConversation requests an email transcript for a conversation.
func (*WebsiteService) RequestHelpdeskDomainChange ¶
func (service *WebsiteService) RequestHelpdeskDomainChange(websiteID string, basic *string, custom *string) (*Response, error)
RequestHelpdeskDomainChange requests a change in the domain used for helpdesk.
func (*WebsiteService) RequestUserFeedbackForConversation ¶
func (service *WebsiteService) RequestUserFeedbackForConversation(websiteID string, sessionID string) (*Response, error)
RequestUserFeedbackForConversation requests feedback from user for conversation.
func (*WebsiteService) ResolveHelpdesk ¶
func (service *WebsiteService) ResolveHelpdesk(websiteID string) (*Helpdesk, *Response, error)
ResolveHelpdesk resolves helpdesk information for website.
func (*WebsiteService) ResolveHelpdeskDomain ¶
func (service *WebsiteService) ResolveHelpdeskDomain(websiteID string) (*HelpdeskDomain, *Response, error)
ResolveHelpdeskDomain resolves domain for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocale ¶
func (service *WebsiteService) ResolveHelpdeskLocale(websiteID string, locale string) (*HelpdeskLocale, *Response, error)
ResolveHelpdeskLocale resolves a locale for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleArticle ¶
func (service *WebsiteService) ResolveHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticle, *Response, error)
ResolveHelpdeskLocaleArticle resolves a locale article for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleArticleAlternate ¶
func (service *WebsiteService) ResolveHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string) (*HelpdeskLocaleArticleAlternate, *Response, error)
ResolveHelpdeskLocaleArticleAlternate resolves alternate locale on a locale article for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleArticleCategory ¶
func (service *WebsiteService) ResolveHelpdeskLocaleArticleCategory(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticleCategory, *Response, error)
ResolveHelpdeskLocaleArticleCategory resolves a locale article category for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleArticlePage ¶
func (service *WebsiteService) ResolveHelpdeskLocaleArticlePage(websiteID string, locale string, articleId string) (*HelpdeskLocaleArticlePage, *Response, error)
ResolveHelpdeskLocaleArticlePage resolves a locale article page information for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleCategory ¶
func (service *WebsiteService) ResolveHelpdeskLocaleCategory(websiteID string, locale string, categoryId string) (*HelpdeskLocaleArticleCategory, *Response, error)
ResolveHelpdeskLocaleCategory resolves a locale category for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskLocaleSection ¶
func (service *WebsiteService) ResolveHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string) (*HelpdeskLocaleSection, *Response, error)
ResolveHelpdeskLocaleSection resolves a locale section for helpdesk in website and category.
func (*WebsiteService) ResolveHelpdeskRedirection ¶
func (service *WebsiteService) ResolveHelpdeskRedirection(websiteID string, redirectionId string) (*HelpdeskRedirection, *Response, error)
ResolveHelpdeskRedirection resolves a redirection for helpdesk in website.
func (*WebsiteService) ResolveHelpdeskSettings ¶
func (service *WebsiteService) ResolveHelpdeskSettings(websiteID string) (*HelpdeskSettings, *Response, error)
ResolveHelpdeskSettings resolves settings for helpdesk in website.
func (*WebsiteService) ResolveSpamConversationContent ¶
func (service *WebsiteService) ResolveSpamConversationContent(websiteID string, spamID string) (*ConversationSpamContent, *Response, error)
ResolveSpamConversationContent resolves content for spam conversation.
func (*WebsiteService) ResumeCampaign ¶
func (service *WebsiteService) ResumeCampaign(websiteID string, campaignID string) (*Response, error)
ResumeCampaign resumes a dispatched campaign.
func (*WebsiteService) RollVerifyKey ¶
func (service *WebsiteService) RollVerifyKey(websiteID string) (*Response, error)
RollVerifyKey rolls verify key.
func (*WebsiteService) SaveCampaign ¶
func (service *WebsiteService) SaveCampaign(websiteID string, campaignID string, websiteCampaignItem WebsiteCampaignItem) (*Response, error)
SaveCampaign saves a campaign in website, and overwrite previous campaign information.
func (*WebsiteService) SaveCampaignTemplate ¶
func (service *WebsiteService) SaveCampaignTemplate(websiteID string, templateID string, websiteCampaignTemplateItem WebsiteCampaignTemplateItem) (*Response, error)
SaveCampaignTemplate saves a campaign template in website, and overwrite previous template information.
func (*WebsiteService) SaveConversationParticipants ¶
func (service *WebsiteService) SaveConversationParticipants(websiteID string, sessionID string, participants ConversationParticipantsSave) (*Response, error)
SaveConversationParticipants saves conversation participants.
func (*WebsiteService) SaveHelpdeskLocaleArticle ¶
func (service *WebsiteService) SaveHelpdeskLocaleArticle(websiteID string, locale string, articleId string, article HelpdeskLocaleArticle) (*Response, error)
SaveHelpdeskLocaleArticle saves a locale article for helpdesk in website.
func (*WebsiteService) SaveHelpdeskLocaleArticleAlternate ¶
func (service *WebsiteService) SaveHelpdeskLocaleArticleAlternate(websiteID string, locale string, articleId string, localeLinked string, articleIdLinked string) (*Response, error)
SaveHelpdeskLocaleArticleAlternate saves alternate locale on a locale article for helpdesk in website.
func (*WebsiteService) SaveHelpdeskLocaleCategory ¶
func (service *WebsiteService) SaveHelpdeskLocaleCategory(websiteID string, locale string, categoryId string, category HelpdeskLocaleArticleCategory) (*Response, error)
SaveHelpdeskLocaleCategory saves a locale category for helpdesk in website.
func (*WebsiteService) SaveHelpdeskLocaleSection ¶
func (service *WebsiteService) SaveHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string, section HelpdeskLocaleSection) (*Response, error)
SaveHelpdeskLocaleSection saves a locale section for helpdesk in website and category.
func (*WebsiteService) SaveHelpdeskSettings ¶
func (service *WebsiteService) SaveHelpdeskSettings(websiteID string, settings HelpdeskSettings) (*Response, error)
SaveHelpdeskSettings saves settings for helpdesk in website.
func (*WebsiteService) SavePeopleData ¶
func (service *WebsiteService) SavePeopleData(websiteID string, peopleID string, peopleData interface{}) (*Response, error)
SavePeopleData saves stored data for people.
func (*WebsiteService) SavePeopleProfile ¶
func (service *WebsiteService) SavePeopleProfile(websiteID string, peopleID string, peopleProfile PeopleProfileUpdateCard) (*Response, error)
SavePeopleProfile saves people profile, and overwrite all previous information.
func (*WebsiteService) ScheduleReminderForConversation ¶
func (service *WebsiteService) ScheduleReminderForConversation(websiteID string, sessionID string, date string, note string) (*Response, error)
ScheduleReminderForConversation schedules a reminder in the future for conversation.
func (*WebsiteService) SearchConversations ¶
func (service *WebsiteService) SearchConversations(websiteID string, pageNumber uint, searchQuery string, searchType string) (*[]Conversation, *Response, error)
SearchConversations searches conversations for website.
func (*WebsiteService) SendActionToExistingBrowsingSession ¶
func (service *WebsiteService) SendActionToExistingBrowsingSession(websiteID string, sessionID string, browsingID string, action string) (*Response, error)
SendActionToExistingBrowsingSession sends an action to an existing browsing session.
func (*WebsiteService) SendAnimationMessageInConversation ¶
func (service *WebsiteService) SendAnimationMessageInConversation(websiteID string, sessionID string, message ConversationAnimationMessageNew) (*ConversationMessageDispatched, *Response, error)
SendAnimationMessageInConversation sends a message in an existing conversation (animation variant).
func (*WebsiteService) SendAudioMessageInConversation ¶
func (service *WebsiteService) SendAudioMessageInConversation(websiteID string, sessionID string, message ConversationAudioMessageNew) (*ConversationMessageDispatched, *Response, error)
SendAudioMessageInConversation sends a message in an existing conversation (audio variant).
func (*WebsiteService) SendCarouselMessageInConversation ¶
func (service *WebsiteService) SendCarouselMessageInConversation(websiteID string, sessionID string, message ConversationCarouselMessageNew) (*ConversationMessageDispatched, *Response, error)
SendCarouselMessageInConversation sends a message in an existing conversation (carousel variant).
func (*WebsiteService) SendEmailToWebsiteOperators ¶
func (service *WebsiteService) SendEmailToWebsiteOperators(websiteID string, email WebsiteOperatorEmail) (*Response, error)
SendEmailToWebsiteOperators sends an email to target website operators.
func (*WebsiteService) SendEventMessageInConversation ¶
func (service *WebsiteService) SendEventMessageInConversation(websiteID string, sessionID string, message ConversationEventMessageNew) (*ConversationMessageDispatched, *Response, error)
SendEventMessageInConversation sends a message in an existing conversation (event variant).
func (*WebsiteService) SendFieldMessageInConversation ¶
func (service *WebsiteService) SendFieldMessageInConversation(websiteID string, sessionID string, message ConversationFieldMessageNew) (*ConversationMessageDispatched, *Response, error)
SendFieldMessageInConversation sends a message in an existing conversation (field variant).
func (*WebsiteService) SendFileMessageInConversation ¶
func (service *WebsiteService) SendFileMessageInConversation(websiteID string, sessionID string, message ConversationFileMessageNew) (*ConversationMessageDispatched, *Response, error)
SendFileMessageInConversation sends a message in an existing conversation (file variant).
func (*WebsiteService) SendNoteMessageInConversation ¶
func (service *WebsiteService) SendNoteMessageInConversation(websiteID string, sessionID string, message ConversationNoteMessageNew) (*ConversationMessageDispatched, *Response, error)
SendNoteMessageInConversation sends a message in an existing conversation (note variant).
func (*WebsiteService) SendPickerMessageInConversation ¶
func (service *WebsiteService) SendPickerMessageInConversation(websiteID string, sessionID string, message ConversationPickerMessageNew) (*ConversationMessageDispatched, *Response, error)
SendPickerMessageInConversation sends a message in an existing conversation (picker variant).
func (*WebsiteService) SendTextMessageInConversation ¶
func (service *WebsiteService) SendTextMessageInConversation(websiteID string, sessionID string, message ConversationTextMessageNew) (*ConversationMessageDispatched, *Response, error)
SendTextMessageInConversation sends a message in an existing conversation (text variant).
func (*WebsiteService) SubmitSpamConversationDecision ¶
func (service *WebsiteService) SubmitSpamConversationDecision(websiteID string, spamID string, action string) (*Response, error)
SubmitSpamConversationDecision submits decision on spam conversation.
func (*WebsiteService) TestCampaign ¶
func (service *WebsiteService) TestCampaign(websiteID string, campaignID string) (*Response, error)
TestCampaign tests a ready campaign.
func (*WebsiteService) TransmitSignalingOnOngoingCallSession ¶
func (service *WebsiteService) TransmitSignalingOnOngoingCallSession(websiteID string, sessionID string, callID string, payload ConversationCallSignalingPayload) (*Response, error)
TransmitSignalingOnOngoingCallSession transmits a signaling payload for the ongoing audio/video call session for conversation.
func (*WebsiteService) UnlinkOperatorFromWebsite ¶
func (service *WebsiteService) UnlinkOperatorFromWebsite(websiteID string, userID string) (*Response, error)
UnlinkOperatorFromWebsite unlinks given operator from website. Note that the last operator in the website cannot be unlinked.
func (*WebsiteService) UnpublishHelpdeskLocaleArticle ¶
func (service *WebsiteService) UnpublishHelpdeskLocaleArticle(websiteID string, locale string, articleId string) (*Response, error)
UnpublishHelpdeskLocaleArticle unpublishes a locale article for helpdesk in website.
func (*WebsiteService) UpdateAnimationMessageInConversation ¶
func (service *WebsiteService) UpdateAnimationMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationAnimationMessageNewContent) (*Response, error)
UpdateAnimationMessageInConversation edits an existing message in an existing conversation (animation variant).
func (*WebsiteService) UpdateAudioMessageInConversation ¶
func (service *WebsiteService) UpdateAudioMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationAudioMessageNewContent) (*Response, error)
UpdateAudioMessageInConversation edits an existing message in an existing conversation (audio variant).
func (*WebsiteService) UpdateCampaign ¶
func (service *WebsiteService) UpdateCampaign(websiteID string, campaignID string, websiteCampaignItem WebsiteCampaignItem) (*Response, error)
UpdateCampaign updates a campaign in website, and save only changed fields.
func (*WebsiteService) UpdateCampaignTemplate ¶
func (service *WebsiteService) UpdateCampaignTemplate(websiteID string, templateID string, websiteCampaignTemplateItem WebsiteCampaignTemplateItem) (*Response, error)
UpdateCampaignTemplate updates a campaign template in website, and save only changed fields.
func (*WebsiteService) UpdateCarouselMessageInConversation ¶
func (service *WebsiteService) UpdateCarouselMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationCarouselMessageNewContent) (*Response, error)
UpdateCarouselMessageInConversation edits an existing message in an existing conversation (carousel variant).
func (*WebsiteService) UpdateConversationInbox ¶
func (service *WebsiteService) UpdateConversationInbox(websiteID string, sessionID string, inboxID *string) (*Response, error)
UpdateConversationInbox updates inbox used for conversation.
func (*WebsiteService) UpdateConversationMetas ¶
func (service *WebsiteService) UpdateConversationMetas(websiteID string, sessionID string, metas ConversationMetaUpdate) (*Response, error)
UpdateConversationMetas updates conversation meta information.
func (*WebsiteService) UpdateConversationOpenState ¶
func (service *WebsiteService) UpdateConversationOpenState(websiteID string, sessionID string, opened bool) (*Response, error)
UpdateConversationOpenState updates conversation open state for authenticated operator user.
func (*WebsiteService) UpdateEventMessageInConversation ¶
func (service *WebsiteService) UpdateEventMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationEventMessageNewContent) (*Response, error)
UpdateEventMessageInConversation edits an existing message in an existing conversation (event variant).
func (*WebsiteService) UpdateFieldMessageInConversation ¶
func (service *WebsiteService) UpdateFieldMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationFieldMessageNewContent) (*Response, error)
UpdateFieldMessageInConversation edits an existing message in an existing conversation (field variant).
func (*WebsiteService) UpdateFileMessageInConversation ¶
func (service *WebsiteService) UpdateFileMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationFileMessageNewContent) (*Response, error)
UpdateFileMessageInConversation edits an existing message in an existing conversation (file variant).
func (*WebsiteService) UpdateHelpdeskLocaleArticle ¶
func (service *WebsiteService) UpdateHelpdeskLocaleArticle(websiteID string, locale string, articleId string, article HelpdeskLocaleArticle) (*Response, error)
UpdateHelpdeskLocaleArticle updates a locale article for helpdesk in website.
func (*WebsiteService) UpdateHelpdeskLocaleArticleCategory ¶
func (service *WebsiteService) UpdateHelpdeskLocaleArticleCategory(websiteID string, locale string, articleId string, categoryId string, sectionId *string) (*Response, error)
UpdateHelpdeskLocaleArticleCategory updates a locale article category for helpdesk in website.
func (*WebsiteService) UpdateHelpdeskLocaleCategory ¶
func (service *WebsiteService) UpdateHelpdeskLocaleCategory(websiteID string, locale string, categoryId string, category HelpdeskLocaleArticleCategory) (*Response, error)
UpdateHelpdeskLocaleCategory updates a locale category for helpdesk in website.
func (*WebsiteService) UpdateHelpdeskLocaleSection ¶
func (service *WebsiteService) UpdateHelpdeskLocaleSection(websiteID string, locale string, categoryId string, sectionId string, section HelpdeskLocaleSection) (*Response, error)
UpdateHelpdeskLocaleSection updates a locale section for helpdesk in website and category.
func (*WebsiteService) UpdateNoteMessageInConversation ¶
func (service *WebsiteService) UpdateNoteMessageInConversation(websiteID string, sessionID string, fingerprint int, content string) (*Response, error)
UpdateNoteMessageInConversation edits an existing message in an existing conversation (note variant).
func (*WebsiteService) UpdatePeopleData ¶
func (service *WebsiteService) UpdatePeopleData(websiteID string, peopleID string, peopleData interface{}) (*Response, error)
UpdatePeopleData updates stored data for people.
func (*WebsiteService) UpdatePeopleProfile ¶
func (service *WebsiteService) UpdatePeopleProfile(websiteID string, peopleID string, peopleProfile PeopleProfileUpdateCard) (*Response, error)
UpdatePeopleProfile updates people profile, and save only changed fields on the previous profile revision.
func (*WebsiteService) UpdatePeopleSubscriptionStatus ¶
func (service *WebsiteService) UpdatePeopleSubscriptionStatus(websiteID string, peopleID string, peopleSubscription PeopleSubscriptionUpdate) (*Response, error)
UpdatePeopleSubscriptionStatus updates current subscription status for people.
func (*WebsiteService) UpdatePickerMessageInConversation ¶
func (service *WebsiteService) UpdatePickerMessageInConversation(websiteID string, sessionID string, fingerprint int, content ConversationPickerMessageNewContent) (*Response, error)
UpdatePickerMessageInConversation edits an existing message in an existing conversation (picker variant).
func (*WebsiteService) UpdateTextMessageInConversation ¶
func (service *WebsiteService) UpdateTextMessageInConversation(websiteID string, sessionID string, fingerprint int, content string) (*Response, error)
UpdateTextMessageInConversation edits an existing message in an existing conversation (text variant).
func (*WebsiteService) UpdateVerifySettings ¶
func (service *WebsiteService) UpdateVerifySettings(websiteID string, settings WebsiteVerifySettingsUpdate) (*Response, error)
UpdateVerifySettings updates verify settings.
func (*WebsiteService) UpdateVerifyStatusForConversation ¶
func (service *WebsiteService) UpdateVerifyStatusForConversation(websiteID string, sessionID string, verified bool) (*Response, error)
UpdateVerifyStatusForConversation updates conversation verify status.
func (*WebsiteService) UpdateWebsiteSettings ¶
func (service *WebsiteService) UpdateWebsiteSettings(websiteID string, settings WebsiteSettingsUpdate) (*Response, error)
UpdateWebsiteSettings updates the current settings for a website.
type WebsiteSettings ¶
type WebsiteSettings struct { WebsiteID *string `json:"website_id,omitempty"` Name *string `json:"name,omitempty"` Domain *string `json:"domain,omitempty"` Logo *string `json:"logo,omitempty"` Audit *WebsiteSettingsAudit `json:"audit,omitempty"` Contact *WebsiteSettingsContact `json:"contact,omitempty"` Inbox *WebsiteSettingsInbox `json:"inbox,omitempty"` Emails *WebsiteSettingsEmails `json:"emails,omitempty"` Chatbox *WebsiteSettingsChatbox `json:"chatbox,omitempty"` }
WebsiteSettings mapping
func (WebsiteSettings) String ¶
func (instance WebsiteSettings) String() string
String returns the string representation of WebsiteSettings
type WebsiteSettingsAudit ¶
type WebsiteSettingsAudit struct {
Log *bool `json:"log,omitempty"`
}
WebsiteSettingsAudit mapping
type WebsiteSettingsChatbox ¶
type WebsiteSettingsChatbox struct { Tile *string `json:"tile,omitempty"` WaitGame *bool `json:"wait_game,omitempty"` WebsiteLogo *bool `json:"website_logo,omitempty"` LastOperatorFace *bool `json:"last_operator_face,omitempty"` OngoingOperatorFace *bool `json:"ongoing_operator_face,omitempty"` ActivityMetrics *bool `json:"activity_metrics,omitempty"` OperatorPrivacy *bool `json:"operator_privacy,omitempty"` VisitorPrivacy *bool `json:"visitor_privacy,omitempty"` AvailabilityTooltip *bool `json:"availability_tooltip,omitempty"` HideVacation *bool `json:"hide_vacation,omitempty"` HideOnAway *bool `json:"hide_on_away,omitempty"` HideOnMobile *bool `json:"hide_on_mobile,omitempty"` PositionReverse *bool `json:"position_reverse,omitempty"` EmailVisitors *bool `json:"email_visitors,omitempty"` PhoneVisitors *bool `json:"phone_visitors,omitempty"` ForceIdentify *bool `json:"force_identify,omitempty"` IgnorePrivacy *bool `json:"ignore_privacy,omitempty"` VisitorCompose *bool `json:"visitor_compose,omitempty"` FileTransfer *bool `json:"file_transfer,omitempty"` OverlaySearch *bool `json:"overlay_search,omitempty"` OverlayMode *bool `json:"overlay_mode,omitempty"` HelpdeskLink *bool `json:"helpdesk_link,omitempty"` HelpdeskOnly *bool `json:"helpdesk_only,omitempty"` StatusHealthDead *bool `json:"status_health_dead,omitempty"` CheckDomain *bool `json:"check_domain,omitempty"` ColorTheme *string `json:"color_theme,omitempty"` TextTheme *string `json:"text_theme,omitempty"` WelcomeMessage *string `json:"welcome_message,omitempty"` Locale *string `json:"locale,omitempty"` AllowedPages *[]string `json:"allowed_pages,omitempty"` BlockedPages *[]string `json:"blocked_pages,omitempty"` BlockedCountries *[]string `json:"blocked_countries,omitempty"` BlockedLocales *[]string `json:"blocked_locales,omitempty"` }
WebsiteSettingsChatbox mapping
type WebsiteSettingsContact ¶
type WebsiteSettingsContact struct { Email *string `json:"email,omitempty"` Phone *string `json:"phone,omitempty"` Messenger *string `json:"messenger,omitempty"` Telegram *string `json:"telegram,omitempty"` Twitter *string `json:"twitter,omitempty"` WhatsApp *string `json:"whatsapp,omitempty"` Instagram *string `json:"instagram,omitempty"` }
WebsiteSettingsContact mapping
type WebsiteSettingsData ¶
type WebsiteSettingsData struct {
Data *WebsiteSettings `json:"data,omitempty"`
}
WebsiteSettingsData mapping
type WebsiteSettingsEmails ¶
type WebsiteSettingsEmails struct { Rating *bool `json:"rating,omitempty"` Transcript *bool `json:"transcript,omitempty"` Enrich *bool `json:"enrich,omitempty"` JunkFilter *bool `json:"junk_filter,omitempty"` }
WebsiteSettingsEmails mapping
type WebsiteSettingsInbox ¶
type WebsiteSettingsInbox struct { LockRemoval *bool `json:"lock_removal,omitempty"` ForceOperatorToken *bool `json:"force_operator_token,omitempty"` }
WebsiteSettingsInbox mapping
type WebsiteSettingsUpdate ¶
type WebsiteSettingsUpdate struct { WebsiteID string `json:"website_id,omitempty"` Name string `json:"name,omitempty"` Domain string `json:"domain,omitempty"` Logo string `json:"logo,omitempty"` Audit *WebsiteSettingsUpdateAudit `json:"audit,omitempty"` Contact *WebsiteSettingsUpdateContact `json:"contact,omitempty"` Inbox *WebsiteSettingsUpdateInbox `json:"inbox,omitempty"` Emails *WebsiteSettingsUpdateEmails `json:"emails,omitempty"` Chatbox *WebsiteSettingsUpdateChatbox `json:"chatbox,omitempty"` }
WebsiteSettingsUpdate mapping
type WebsiteSettingsUpdateAudit ¶
type WebsiteSettingsUpdateAudit struct {
Log bool `json:"log,omitempty"`
}
WebsiteSettingsUpdateAudit mapping
type WebsiteSettingsUpdateChatbox ¶
type WebsiteSettingsUpdateChatbox struct { Tile string `json:"tile,omitempty"` WaitGame bool `json:"wait_game,omitempty"` WebsiteLogo bool `json:"website_logo,omitempty"` LastOperatorFace bool `json:"last_operator_face,omitempty"` OngoingOperatorFace bool `json:"ongoing_operator_face,omitempty"` ActivityMetrics bool `json:"activity_metrics,omitempty"` OperatorPrivacy bool `json:"operator_privacy,omitempty"` VisitorPrivacy bool `json:"visitor_privacy,omitempty"` AvailabilityTooltip bool `json:"availability_tooltip,omitempty"` HideVacation bool `json:"hide_vacation,omitempty"` HideOnAway bool `json:"hide_on_away,omitempty"` HideOnMobile bool `json:"hide_on_mobile,omitempty"` PositionReverse bool `json:"position_reverse,omitempty"` EmailVisitors bool `json:"email_visitors,omitempty"` PhoneVisitors bool `json:"phone_visitors,omitempty"` ForceIdentify bool `json:"force_identify,omitempty"` IgnorePrivacy bool `json:"ignore_privacy,omitempty"` VisitorCompose bool `json:"visitor_compose,omitempty"` FileTransfer bool `json:"file_transfer,omitempty"` OverlaySearch bool `json:"overlay_search,omitempty"` OverlayMode bool `json:"overlay_mode,omitempty"` HelpdeskLink bool `json:"helpdesk_link,omitempty"` HelpdeskOnly bool `json:"helpdesk_only,omitempty"` StatusHealthDead bool `json:"status_health_dead,omitempty"` CheckDomain bool `json:"check_domain,omitempty"` ColorTheme string `json:"color_theme,omitempty"` TextTheme string `json:"text_theme,omitempty"` WelcomeMessage string `json:"welcome_message,omitempty"` Locale string `json:"locale,omitempty"` AllowedPages *[]string `json:"allowed_pages,omitempty"` BlockedPages *[]string `json:"blocked_pages,omitempty"` BlockedCountries *[]string `json:"blocked_countries,omitempty"` BlockedLocales *[]string `json:"blocked_locales,omitempty"` BlockedIPs *[]string `json:"blocked_ips,omitempty"` }
WebsiteSettingsUpdateChatbox mapping
type WebsiteSettingsUpdateContact ¶
type WebsiteSettingsUpdateContact struct { Email string `json:"email,omitempty"` Phone string `json:"phone,omitempty"` Messenger string `json:"messenger,omitempty"` Telegram string `json:"telegram,omitempty"` Twitter string `json:"twitter,omitempty"` WhatsApp string `json:"whatsapp,omitempty"` Instagram string `json:"instagram,omitempty"` }
WebsiteSettingsUpdateContact mapping
type WebsiteSettingsUpdateEmails ¶
type WebsiteSettingsUpdateEmails struct { Rating bool `json:"rating,omitempty"` Transcript bool `json:"transcript,omitempty"` Enrich bool `json:"enrich,omitempty"` JunkFilter bool `json:"junk_filter,omitempty"` }
WebsiteSettingsUpdateEmails mapping
type WebsiteSettingsUpdateInbox ¶
type WebsiteSettingsUpdateInbox struct { LockRemoval bool `json:"lock_removal,omitempty"` ForceOperatorToken bool `json:"force_operator_token,omitempty"` }
WebsiteSettingsUpdateInbox mapping
type WebsiteVerifyKey ¶
type WebsiteVerifyKey struct {
Secret *string `json:"secret,omitempty"`
}
WebsiteVerifyKey mapping
func (WebsiteVerifyKey) String ¶
func (instance WebsiteVerifyKey) String() string
String returns the string representation of WebsiteVerifyKey
type WebsiteVerifyKeyData ¶
type WebsiteVerifyKeyData struct {
Data *WebsiteVerifyKey `json:"data,omitempty"`
}
WebsiteVerifyKeyData mapping
type WebsiteVerifySettings ¶
type WebsiteVerifySettings struct {
Enabled *bool `json:"enabled,omitempty"`
}
WebsiteVerifySettings mapping
func (WebsiteVerifySettings) String ¶
func (instance WebsiteVerifySettings) String() string
String returns the string representation of WebsiteVerifySettings
type WebsiteVerifySettingsData ¶
type WebsiteVerifySettingsData struct {
Data *WebsiteVerifySettings `json:"data,omitempty"`
}
WebsiteVerifySettingsData mapping
type WebsiteVerifySettingsUpdate ¶
type WebsiteVerifySettingsUpdate struct {
Enabled bool `json:"enabled,omitempty"`
}
WebsiteVerifySettingsUpdate mapping
type WebsiteVisitor ¶
type WebsiteVisitor struct { SessionID *string `json:"session_id,omitempty"` InboxID *string `json:"inbox_id,omitempty"` Nickname *string `json:"nickname,omitempty"` Email *string `json:"email,omitempty"` Avatar *string `json:"avatar,omitempty"` Useragent *string `json:"useragent,omitempty"` Initiated *bool `json:"initiated,omitempty"` Active *bool `json:"active,omitempty"` LastPage *WebsiteVisitorLastPage `json:"last_page,omitempty"` Geolocation *WebsiteVisitorGeolocation `json:"geolocation,omitempty"` Timezone *int16 `json:"timezone,omitempty"` Capabilities *[]string `json:"capabilities,omitempty"` Locales *[]string `json:"locales,omitempty"` }
WebsiteVisitor mapping
func (WebsiteVisitor) String ¶
func (instance WebsiteVisitor) String() string
String returns the string representation of WebsiteVisitor
type WebsiteVisitorCount ¶
type WebsiteVisitorCount struct { Count *uint32 `json:"count,omitempty"` Active *uint32 `json:"active,omitempty"` Limited *bool `json:"limited,omitempty"` }
WebsiteVisitorCount mapping
func (WebsiteVisitorCount) String ¶
func (instance WebsiteVisitorCount) String() string
String returns the string representation of WebsiteVisitorCount
type WebsiteVisitorCountData ¶
type WebsiteVisitorCountData struct {
Data *WebsiteVisitorCount `json:"data,omitempty"`
}
WebsiteVisitorCountData mapping
type WebsiteVisitorGeolocation ¶
type WebsiteVisitorGeolocation struct { Coordinates *WebsiteVisitorGeolocationCoordinates `json:"coordinates,omitempty"` City *string `json:"city,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` }
WebsiteVisitorGeolocation mapping
type WebsiteVisitorGeolocationCoordinates ¶
type WebsiteVisitorGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
WebsiteVisitorGeolocationCoordinates mapping
type WebsiteVisitorLastPage ¶
type WebsiteVisitorLastPage struct { PageTitle *string `json:"page_title,omitempty"` PageURL *string `json:"page_url,omitempty"` }
WebsiteVisitorLastPage mapping
type WebsiteVisitorListData ¶
type WebsiteVisitorListData struct {
Data *[]WebsiteVisitor `json:"data,omitempty"`
}
WebsiteVisitorListData mapping
type WebsiteVisitorsBlocked ¶
type WebsiteVisitorsBlocked struct { Rule *[]string `json:"rule,omitempty"` Blocked *uint32 `json:"blocked,omitempty"` }
WebsiteVisitorsBlocked mapping
func (WebsiteVisitorsBlocked) String ¶
func (instance WebsiteVisitorsBlocked) String() string
String returns the string representation of WebsiteVisitorsBlocked
type WebsiteVisitorsBlockedAllData ¶
type WebsiteVisitorsBlockedAllData struct {
Data *[]WebsiteVisitorsBlocked `json:"data,omitempty"`
}
WebsiteVisitorsBlockedAllData mapping
type WebsiteVisitorsBlockedRuleData ¶
type WebsiteVisitorsBlockedRuleData struct {
Data *WebsiteVisitorsBlocked `json:"data,omitempty"`
}
WebsiteVisitorsBlockedRuleData mapping
type WebsiteVisitorsMapPoint ¶
type WebsiteVisitorsMapPoint struct { Visitors *WebsiteVisitorsMapPointVisitors `json:"visitors"` Geolocation *WebsiteVisitorsMapPointGeolocation `json:"geolocation"` }
WebsiteVisitorsMapPoint mapping
func (WebsiteVisitorsMapPoint) String ¶
func (instance WebsiteVisitorsMapPoint) String() string
String returns the string representation of WebsiteVisitorsMapPoint
type WebsiteVisitorsMapPointGeolocation ¶
type WebsiteVisitorsMapPointGeolocation struct { Coordinates *WebsiteVisitorsMapPointGeolocationCoordinates `json:"coordinates,omitempty"` City *string `json:"city,omitempty"` Region *string `json:"region,omitempty"` Country *string `json:"country,omitempty"` }
WebsiteVisitorsMapPointGeolocation mapping
type WebsiteVisitorsMapPointGeolocationCoordinates ¶
type WebsiteVisitorsMapPointGeolocationCoordinates struct { Latitude *float32 `json:"latitude,omitempty"` Longitude *float32 `json:"longitude,omitempty"` }
WebsiteVisitorsMapPointGeolocationCoordinates mapping
type WebsiteVisitorsMapPointVisitors ¶
type WebsiteVisitorsMapPointVisitors struct { Count *uint32 `json:"count,omitempty"` Threshold *uint32 `json:"threshold,omitempty"` Sessions *[]WebsiteVisitorsMapPointVisitorsSession `json:"sessions,omitempty"` }
WebsiteVisitorsMapPointVisitors mapping
type WebsiteVisitorsMapPointVisitorsSession ¶
type WebsiteVisitorsMapPointVisitorsSession struct { SessionID *string `json:"session_id,omitempty"` Nickname *string `json:"nickname,omitempty"` Email *string `json:"email,omitempty"` Avatar *string `json:"avatar,omitempty"` Initiated *bool `json:"initiated,omitempty"` Active *bool `json:"active,omitempty"` LastPage *WebsiteVisitorLastPage `json:"last_page,omitempty"` Timezone *int16 `json:"timezone,omitempty"` Capabilities *[]string `json:"capabilities,omitempty"` Locales *[]string `json:"locales,omitempty"` }
WebsiteVisitorsMapPointVisitorsSession mapping
type WebsiteVisitorsMapPointsData ¶
type WebsiteVisitorsMapPointsData struct {
Data *[]WebsiteVisitorsMapPoint `json:"data,omitempty"`
}
WebsiteVisitorsMapPointsData mapping
type WebsiteVisitorsToken ¶
type WebsiteVisitorsToken struct {
SessionID *string `json:"session_id,omitempty"`
}
WebsiteVisitorsToken mapping
func (WebsiteVisitorsToken) String ¶
func (instance WebsiteVisitorsToken) String() string
String returns the string representation of WebsiteVisitorsToken
type WebsiteVisitorsTokenData ¶
type WebsiteVisitorsTokenData struct {
Data *WebsiteVisitorsToken `json:"data,omitempty"`
}
WebsiteVisitorsTokenData mapping
Source Files ¶
- bucket.go
- bucket_url.go
- caller.go
- crisp.go
- events.go
- media.go
- media_animation.go
- plugin.go
- plugin_connect.go
- plugin_subscription.go
- strings.go
- website.go
- website_analytics.go
- website_availability.go
- website_base.go
- website_batch.go
- website_campaign.go
- website_conversation.go
- website_helpdesk.go
- website_operator.go
- website_people.go
- website_settings.go
- website_verify.go
- website_visitors.go