Documentation
¶
Overview ¶
Package zernio provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.6.0 DO NOT EDIT.
Index ¶
- Constants
- func NewActivateSequenceRequest(server string, sequenceId string) (*http.Request, error)
- func NewAddBroadcastRecipientsRequest(server string, broadcastId string, body AddBroadcastRecipientsJSONRequestBody) (*http.Request, error)
- func NewAddBroadcastRecipientsRequestWithBody(server string, broadcastId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddMessageReactionRequest(server string, conversationId string, messageId string, ...) (*http.Request, error)
- func NewAddMessageReactionRequestWithBody(server string, conversationId string, messageId string, contentType string, ...) (*http.Request, error)
- func NewAddUsersToAdAudienceRequest(server string, audienceId string, body AddUsersToAdAudienceJSONRequestBody) (*http.Request, error)
- func NewAddUsersToAdAudienceRequestWithBody(server string, audienceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewAddWhatsAppGroupParticipantsRequest(server string, groupId string, params *AddWhatsAppGroupParticipantsParams, ...) (*http.Request, error)
- func NewAddWhatsAppGroupParticipantsRequestWithBody(server string, groupId string, params *AddWhatsAppGroupParticipantsParams, ...) (*http.Request, error)
- func NewApproveWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, ...) (*http.Request, error)
- func NewApproveWhatsAppGroupJoinRequestsRequestWithBody(server string, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, ...) (*http.Request, error)
- func NewBatchGetGoogleBusinessReviewsRequest(server string, accountId string, ...) (*http.Request, error)
- func NewBatchGetGoogleBusinessReviewsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewBookmarkPostRequest(server string, body BookmarkPostJSONRequestBody) (*http.Request, error)
- func NewBookmarkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBoostPostRequest(server string, body BoostPostJSONRequestBody) (*http.Request, error)
- func NewBoostPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkCreateContactsRequest(server string, body BulkCreateContactsJSONRequestBody) (*http.Request, error)
- func NewBulkCreateContactsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkUpdateAdCampaignStatusRequest(server string, body BulkUpdateAdCampaignStatusJSONRequestBody) (*http.Request, error)
- func NewBulkUpdateAdCampaignStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewBulkUploadPostsRequestWithBody(server string, params *BulkUploadPostsParams, contentType string, ...) (*http.Request, error)
- func NewCancelBroadcastRequest(server string, broadcastId string) (*http.Request, error)
- func NewClearContactFieldValueRequest(server string, contactId string, slug string) (*http.Request, error)
- func NewCompleteTelegramConnectRequest(server string, params *CompleteTelegramConnectParams) (*http.Request, error)
- func NewConnectAdsRequest(server string, platform ConnectAdsParamsPlatform, params *ConnectAdsParams) (*http.Request, error)
- func NewConnectBlueskyCredentialsRequest(server string, body ConnectBlueskyCredentialsJSONRequestBody) (*http.Request, error)
- func NewConnectBlueskyCredentialsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewConnectWhatsAppCredentialsRequest(server string, body ConnectWhatsAppCredentialsJSONRequestBody) (*http.Request, error)
- func NewConnectWhatsAppCredentialsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAccountGroupRequest(server string, body CreateAccountGroupJSONRequestBody) (*http.Request, error)
- func NewCreateAccountGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateAdAudienceRequest(server string, body CreateAdAudienceJSONRequestBody) (*http.Request, error)
- func NewCreateAdAudienceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateApiKeyRequest(server string, body CreateApiKeyJSONRequestBody) (*http.Request, error)
- func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateBroadcastRequest(server string, body CreateBroadcastJSONRequestBody) (*http.Request, error)
- func NewCreateBroadcastRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCommentAutomationRequest(server string, body CreateCommentAutomationJSONRequestBody) (*http.Request, error)
- func NewCreateCommentAutomationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateContactRequest(server string, body CreateContactJSONRequestBody) (*http.Request, error)
- func NewCreateContactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCtwaAdRequest(server string, body CreateCtwaAdJSONRequestBody) (*http.Request, error)
- func NewCreateCtwaAdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateCustomFieldRequest(server string, body CreateCustomFieldJSONRequestBody) (*http.Request, error)
- func NewCreateCustomFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGoogleBusinessMediaRequest(server string, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*http.Request, error)
- func NewCreateGoogleBusinessMediaRequestWithBody(server string, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*http.Request, error)
- func NewCreateGoogleBusinessPlaceActionRequest(server string, accountId string, params *CreateGoogleBusinessPlaceActionParams, ...) (*http.Request, error)
- func NewCreateGoogleBusinessPlaceActionRequestWithBody(server string, accountId string, params *CreateGoogleBusinessPlaceActionParams, ...) (*http.Request, error)
- func NewCreateInboxConversationRequest(server string, body CreateInboxConversationJSONRequestBody) (*http.Request, error)
- func NewCreateInboxConversationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateInviteTokenRequest(server string, body CreateInviteTokenJSONRequestBody) (*http.Request, error)
- func NewCreateInviteTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePostRequest(server string, body CreatePostJSONRequestBody) (*http.Request, error)
- func NewCreatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateProfileRequest(server string, body CreateProfileJSONRequestBody) (*http.Request, error)
- func NewCreateProfileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateQueueSlotRequest(server string, body CreateQueueSlotJSONRequestBody) (*http.Request, error)
- func NewCreateQueueSlotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSequenceRequest(server string, body CreateSequenceJSONRequestBody) (*http.Request, error)
- func NewCreateSequenceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateStandaloneAdRequest(server string, body CreateStandaloneAdJSONRequestBody) (*http.Request, error)
- func NewCreateStandaloneAdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWebhookSettingsRequest(server string, body CreateWebhookSettingsJSONRequestBody) (*http.Request, error)
- func NewCreateWebhookSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWhatsAppFlowRequest(server string, body CreateWhatsAppFlowJSONRequestBody) (*http.Request, error)
- func NewCreateWhatsAppFlowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWhatsAppGroupChatRequest(server string, body CreateWhatsAppGroupChatJSONRequestBody) (*http.Request, error)
- func NewCreateWhatsAppGroupChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWhatsAppGroupInviteLinkRequest(server string, groupId string, params *CreateWhatsAppGroupInviteLinkParams) (*http.Request, error)
- func NewCreateWhatsAppTemplateRequest(server string, body CreateWhatsAppTemplateJSONRequestBody) (*http.Request, error)
- func NewCreateWhatsAppTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAccountGroupRequest(server string, groupId string) (*http.Request, error)
- func NewDeleteAccountRequest(server string, accountId string) (*http.Request, error)
- func NewDeleteAdAudienceRequest(server string, audienceId string) (*http.Request, error)
- func NewDeleteAdCampaignRequest(server string, campaignId string, body DeleteAdCampaignJSONRequestBody) (*http.Request, error)
- func NewDeleteAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteAdRequest(server string, adId string) (*http.Request, error)
- func NewDeleteApiKeyRequest(server string, keyId string) (*http.Request, error)
- func NewDeleteBroadcastRequest(server string, broadcastId string) (*http.Request, error)
- func NewDeleteCommentAutomationRequest(server string, automationId string) (*http.Request, error)
- func NewDeleteContactRequest(server string, contactId string) (*http.Request, error)
- func NewDeleteCustomFieldRequest(server string, fieldId string) (*http.Request, error)
- func NewDeleteGoogleBusinessMediaRequest(server string, accountId string, params *DeleteGoogleBusinessMediaParams) (*http.Request, error)
- func NewDeleteGoogleBusinessPlaceActionRequest(server string, accountId string, params *DeleteGoogleBusinessPlaceActionParams) (*http.Request, error)
- func NewDeleteInboxCommentRequest(server string, postId string, params *DeleteInboxCommentParams) (*http.Request, error)
- func NewDeleteInboxMessageRequest(server string, conversationId string, messageId string, ...) (*http.Request, error)
- func NewDeleteInboxReviewReplyRequest(server string, reviewId string, body DeleteInboxReviewReplyJSONRequestBody) (*http.Request, error)
- func NewDeleteInboxReviewReplyRequestWithBody(server string, reviewId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteInstagramIceBreakersRequest(server string, accountId string) (*http.Request, error)
- func NewDeleteMessengerMenuRequest(server string, accountId string) (*http.Request, error)
- func NewDeletePostRequest(server string, postId string) (*http.Request, error)
- func NewDeleteProfileRequest(server string, profileId string) (*http.Request, error)
- func NewDeleteQueueSlotRequest(server string, params *DeleteQueueSlotParams) (*http.Request, error)
- func NewDeleteSequenceRequest(server string, sequenceId string) (*http.Request, error)
- func NewDeleteTelegramCommandsRequest(server string, accountId string) (*http.Request, error)
- func NewDeleteWebhookSettingsRequest(server string, params *DeleteWebhookSettingsParams) (*http.Request, error)
- func NewDeleteWhatsAppFlowRequest(server string, flowId string, params *DeleteWhatsAppFlowParams) (*http.Request, error)
- func NewDeleteWhatsAppGroupChatRequest(server string, groupId string, params *DeleteWhatsAppGroupChatParams) (*http.Request, error)
- func NewDeleteWhatsAppTemplateRequest(server string, templateName string, params *DeleteWhatsAppTemplateParams) (*http.Request, error)
- func NewDeprecateWhatsAppFlowRequest(server string, flowId string, body DeprecateWhatsAppFlowJSONRequestBody) (*http.Request, error)
- func NewDeprecateWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewDuplicateAdCampaignRequest(server string, campaignId string, body DuplicateAdCampaignJSONRequestBody) (*http.Request, error)
- func NewDuplicateAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEditInboxMessageRequest(server string, conversationId string, messageId string, ...) (*http.Request, error)
- func NewEditInboxMessageRequestWithBody(server string, conversationId string, messageId string, contentType string, ...) (*http.Request, error)
- func NewEditPostRequest(server string, postId string, body EditPostJSONRequestBody) (*http.Request, error)
- func NewEditPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
- func NewEnrollContactsRequest(server string, sequenceId string, body EnrollContactsJSONRequestBody) (*http.Request, error)
- func NewEnrollContactsRequestWithBody(server string, sequenceId string, contentType string, body io.Reader) (*http.Request, error)
- func NewFollowUserRequest(server string, body FollowUserJSONRequestBody) (*http.Request, error)
- func NewFollowUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAccountHealthRequest(server string, accountId string) (*http.Request, error)
- func NewGetAdAnalyticsRequest(server string, adId string, params *GetAdAnalyticsParams) (*http.Request, error)
- func NewGetAdAudienceRequest(server string, audienceId string) (*http.Request, error)
- func NewGetAdCommentsRequest(server string, adId string, params *GetAdCommentsParams) (*http.Request, error)
- func NewGetAdRequest(server string, adId string) (*http.Request, error)
- func NewGetAdTreeRequest(server string, params *GetAdTreeParams) (*http.Request, error)
- func NewGetAllAccountsHealthRequest(server string, params *GetAllAccountsHealthParams) (*http.Request, error)
- func NewGetAnalyticsRequest(server string, params *GetAnalyticsParams) (*http.Request, error)
- func NewGetBestTimeToPostRequest(server string, params *GetBestTimeToPostParams) (*http.Request, error)
- func NewGetBroadcastRequest(server string, broadcastId string) (*http.Request, error)
- func NewGetCommentAutomationRequest(server string, automationId string) (*http.Request, error)
- func NewGetConnectUrlRequest(server string, platform GetConnectUrlParamsPlatform, ...) (*http.Request, error)
- func NewGetContactChannelsRequest(server string, contactId string) (*http.Request, error)
- func NewGetContactRequest(server string, contactId string) (*http.Request, error)
- func NewGetContentDecayRequest(server string, params *GetContentDecayParams) (*http.Request, error)
- func NewGetDailyMetricsRequest(server string, params *GetDailyMetricsParams) (*http.Request, error)
- func NewGetDiscordChannelsRequest(server string, accountId string) (*http.Request, error)
- func NewGetDiscordSettingsRequest(server string, accountId string) (*http.Request, error)
- func NewGetFacebookPageInsightsRequest(server string, params *GetFacebookPageInsightsParams) (*http.Request, error)
- func NewGetFacebookPagesRequest(server string, accountId string) (*http.Request, error)
- func NewGetFollowerStatsRequest(server string, params *GetFollowerStatsParams) (*http.Request, error)
- func NewGetGmbLocationsRequest(server string, accountId string) (*http.Request, error)
- func NewGetGoogleBusinessAttributesRequest(server string, accountId string, params *GetGoogleBusinessAttributesParams) (*http.Request, error)
- func NewGetGoogleBusinessFoodMenusRequest(server string, accountId string, params *GetGoogleBusinessFoodMenusParams) (*http.Request, error)
- func NewGetGoogleBusinessLocationDetailsRequest(server string, accountId string, ...) (*http.Request, error)
- func NewGetGoogleBusinessPerformanceRequest(server string, params *GetGoogleBusinessPerformanceParams) (*http.Request, error)
- func NewGetGoogleBusinessReviewsRequest(server string, accountId string, params *GetGoogleBusinessReviewsParams) (*http.Request, error)
- func NewGetGoogleBusinessSearchKeywordsRequest(server string, params *GetGoogleBusinessSearchKeywordsParams) (*http.Request, error)
- func NewGetGoogleBusinessServicesRequest(server string, accountId string, params *GetGoogleBusinessServicesParams) (*http.Request, error)
- func NewGetInboxConversationMessagesRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewGetInboxConversationRequest(server string, conversationId string, params *GetInboxConversationParams) (*http.Request, error)
- func NewGetInboxPostCommentsRequest(server string, postId string, params *GetInboxPostCommentsParams) (*http.Request, error)
- func NewGetInstagramAccountInsightsRequest(server string, params *GetInstagramAccountInsightsParams) (*http.Request, error)
- func NewGetInstagramDemographicsRequest(server string, params *GetInstagramDemographicsParams) (*http.Request, error)
- func NewGetInstagramFollowerHistoryRequest(server string, params *GetInstagramFollowerHistoryParams) (*http.Request, error)
- func NewGetInstagramIceBreakersRequest(server string, accountId string) (*http.Request, error)
- func NewGetLinkedInAggregateAnalyticsRequest(server string, accountId string, params *GetLinkedInAggregateAnalyticsParams) (*http.Request, error)
- func NewGetLinkedInMentionsRequest(server string, accountId string, params *GetLinkedInMentionsParams) (*http.Request, error)
- func NewGetLinkedInOrgAggregateAnalyticsRequest(server string, params *GetLinkedInOrgAggregateAnalyticsParams) (*http.Request, error)
- func NewGetLinkedInOrganizationsRequest(server string, accountId string) (*http.Request, error)
- func NewGetLinkedInPostAnalyticsRequest(server string, accountId string, params *GetLinkedInPostAnalyticsParams) (*http.Request, error)
- func NewGetLinkedInPostReactionsRequest(server string, accountId string, params *GetLinkedInPostReactionsParams) (*http.Request, error)
- func NewGetMediaPresignedUrlRequest(server string, body GetMediaPresignedUrlJSONRequestBody) (*http.Request, error)
- func NewGetMediaPresignedUrlRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetMessengerMenuRequest(server string, accountId string) (*http.Request, error)
- func NewGetNextQueueSlotRequest(server string, params *GetNextQueueSlotParams) (*http.Request, error)
- func NewGetPendingOAuthDataRequest(server string, params *GetPendingOAuthDataParams) (*http.Request, error)
- func NewGetPinterestBoardsRequest(server string, accountId string) (*http.Request, error)
- func NewGetPostRequest(server string, postId string) (*http.Request, error)
- func NewGetPostTimelineRequest(server string, params *GetPostTimelineParams) (*http.Request, error)
- func NewGetPostingFrequencyRequest(server string, params *GetPostingFrequencyParams) (*http.Request, error)
- func NewGetProfileRequest(server string, profileId string) (*http.Request, error)
- func NewGetRedditFeedRequest(server string, params *GetRedditFeedParams) (*http.Request, error)
- func NewGetRedditFlairsRequest(server string, accountId string, params *GetRedditFlairsParams) (*http.Request, error)
- func NewGetRedditSubredditsRequest(server string, accountId string) (*http.Request, error)
- func NewGetSequenceRequest(server string, sequenceId string) (*http.Request, error)
- func NewGetTelegramCommandsRequest(server string, accountId string) (*http.Request, error)
- func NewGetTelegramConnectStatusRequest(server string, params *GetTelegramConnectStatusParams) (*http.Request, error)
- func NewGetTikTokAccountInsightsRequest(server string, params *GetTikTokAccountInsightsParams) (*http.Request, error)
- func NewGetTikTokCreatorInfoRequest(server string, accountId string, params *GetTikTokCreatorInfoParams) (*http.Request, error)
- func NewGetUsageStatsRequest(server string) (*http.Request, error)
- func NewGetUserRequest(server string, userId string) (*http.Request, error)
- func NewGetWebhookSettingsRequest(server string) (*http.Request, error)
- func NewGetWhatsAppBusinessProfileRequest(server string, params *GetWhatsAppBusinessProfileParams) (*http.Request, error)
- func NewGetWhatsAppDisplayNameRequest(server string, params *GetWhatsAppDisplayNameParams) (*http.Request, error)
- func NewGetWhatsAppFlowJsonRequest(server string, flowId string, params *GetWhatsAppFlowJsonParams) (*http.Request, error)
- func NewGetWhatsAppFlowRequest(server string, flowId string, params *GetWhatsAppFlowParams) (*http.Request, error)
- func NewGetWhatsAppGroupChatRequest(server string, groupId string, params *GetWhatsAppGroupChatParams) (*http.Request, error)
- func NewGetWhatsAppPhoneNumberRequest(server string, phoneNumberId string) (*http.Request, error)
- func NewGetWhatsAppPhoneNumbersRequest(server string, params *GetWhatsAppPhoneNumbersParams) (*http.Request, error)
- func NewGetWhatsAppTemplateRequest(server string, templateName string, params *GetWhatsAppTemplateParams) (*http.Request, error)
- func NewGetWhatsAppTemplatesRequest(server string, params *GetWhatsAppTemplatesParams) (*http.Request, error)
- func NewGetYouTubeChannelInsightsRequest(server string, params *GetYouTubeChannelInsightsParams) (*http.Request, error)
- func NewGetYouTubeDailyViewsRequest(server string, params *GetYouTubeDailyViewsParams) (*http.Request, error)
- func NewGetYouTubeDemographicsRequest(server string, params *GetYouTubeDemographicsParams) (*http.Request, error)
- func NewGetYoutubePlaylistsRequest(server string, accountId string) (*http.Request, error)
- func NewHandleOAuthCallbackRequest(server string, platform string, body HandleOAuthCallbackJSONRequestBody) (*http.Request, error)
- func NewHandleOAuthCallbackRequestWithBody(server string, platform string, contentType string, body io.Reader) (*http.Request, error)
- func NewHideInboxCommentRequest(server string, postId string, commentId string, ...) (*http.Request, error)
- func NewHideInboxCommentRequestWithBody(server string, postId string, commentId string, contentType string, ...) (*http.Request, error)
- func NewInitiateTelegramConnectRequest(server string, body InitiateTelegramConnectJSONRequestBody) (*http.Request, error)
- func NewInitiateTelegramConnectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewLikeInboxCommentRequest(server string, postId string, commentId string, ...) (*http.Request, error)
- func NewLikeInboxCommentRequestWithBody(server string, postId string, commentId string, contentType string, ...) (*http.Request, error)
- func NewListAccountGroupsRequest(server string) (*http.Request, error)
- func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)
- func NewListAdAccountsRequest(server string, params *ListAdAccountsParams) (*http.Request, error)
- func NewListAdAudiencesRequest(server string, params *ListAdAudiencesParams) (*http.Request, error)
- func NewListAdCampaignsRequest(server string, params *ListAdCampaignsParams) (*http.Request, error)
- func NewListAdsBusinessCentersRequest(server string, params *ListAdsBusinessCentersParams) (*http.Request, error)
- func NewListAdsRequest(server string, params *ListAdsParams) (*http.Request, error)
- func NewListApiKeysRequest(server string) (*http.Request, error)
- func NewListBroadcastRecipientsRequest(server string, broadcastId string, params *ListBroadcastRecipientsParams) (*http.Request, error)
- func NewListBroadcastsRequest(server string, params *ListBroadcastsParams) (*http.Request, error)
- func NewListCommentAutomationLogsRequest(server string, automationId string, params *ListCommentAutomationLogsParams) (*http.Request, error)
- func NewListCommentAutomationsRequest(server string, params *ListCommentAutomationsParams) (*http.Request, error)
- func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
- func NewListConversionDestinationsRequest(server string, accountId string) (*http.Request, error)
- func NewListCustomFieldsRequest(server string, params *ListCustomFieldsParams) (*http.Request, error)
- func NewListFacebookPagesRequest(server string, params *ListFacebookPagesParams) (*http.Request, error)
- func NewListGoogleBusinessLocationsRequest(server string, params *ListGoogleBusinessLocationsParams) (*http.Request, error)
- func NewListGoogleBusinessMediaRequest(server string, accountId string, params *ListGoogleBusinessMediaParams) (*http.Request, error)
- func NewListGoogleBusinessPlaceActionsRequest(server string, accountId string, params *ListGoogleBusinessPlaceActionsParams) (*http.Request, error)
- func NewListInboxCommentsRequest(server string, params *ListInboxCommentsParams) (*http.Request, error)
- func NewListInboxConversationsRequest(server string, params *ListInboxConversationsParams) (*http.Request, error)
- func NewListInboxReviewsRequest(server string, params *ListInboxReviewsParams) (*http.Request, error)
- func NewListLinkedInOrganizationsRequest(server string, params *ListLinkedInOrganizationsParams) (*http.Request, error)
- func NewListLogsRequest(server string, params *ListLogsParams) (*http.Request, error)
- func NewListPinterestBoardsForSelectionRequest(server string, params *ListPinterestBoardsForSelectionParams) (*http.Request, error)
- func NewListPostsRequest(server string, params *ListPostsParams) (*http.Request, error)
- func NewListProfilesRequest(server string, params *ListProfilesParams) (*http.Request, error)
- func NewListQueueSlotsRequest(server string, params *ListQueueSlotsParams) (*http.Request, error)
- func NewListSequenceEnrollmentsRequest(server string, sequenceId string, params *ListSequenceEnrollmentsParams) (*http.Request, error)
- func NewListSequencesRequest(server string, params *ListSequencesParams) (*http.Request, error)
- func NewListSnapchatProfilesRequest(server string, params *ListSnapchatProfilesParams) (*http.Request, error)
- func NewListUsersRequest(server string) (*http.Request, error)
- func NewListWhatsAppFlowsRequest(server string, params *ListWhatsAppFlowsParams) (*http.Request, error)
- func NewListWhatsAppGroupChatsRequest(server string, params *ListWhatsAppGroupChatsParams) (*http.Request, error)
- func NewListWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *ListWhatsAppGroupJoinRequestsParams) (*http.Request, error)
- func NewPauseSequenceRequest(server string, sequenceId string) (*http.Request, error)
- func NewPreviewQueueRequest(server string, params *PreviewQueueParams) (*http.Request, error)
- func NewPublishWhatsAppFlowRequest(server string, flowId string, body PublishWhatsAppFlowJSONRequestBody) (*http.Request, error)
- func NewPublishWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewPurchaseWhatsAppPhoneNumberRequest(server string, body PurchaseWhatsAppPhoneNumberJSONRequestBody) (*http.Request, error)
- func NewPurchaseWhatsAppPhoneNumberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRejectWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, ...) (*http.Request, error)
- func NewRejectWhatsAppGroupJoinRequestsRequestWithBody(server string, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, ...) (*http.Request, error)
- func NewReleaseWhatsAppPhoneNumberRequest(server string, phoneNumberId string) (*http.Request, error)
- func NewRemoveBookmarkRequest(server string, params *RemoveBookmarkParams) (*http.Request, error)
- func NewRemoveMessageReactionRequest(server string, conversationId string, messageId string, ...) (*http.Request, error)
- func NewRemoveWhatsAppGroupParticipantsRequest(server string, groupId string, params *RemoveWhatsAppGroupParticipantsParams, ...) (*http.Request, error)
- func NewRemoveWhatsAppGroupParticipantsRequestWithBody(server string, groupId string, params *RemoveWhatsAppGroupParticipantsParams, ...) (*http.Request, error)
- func NewReplyToInboxPostRequest(server string, postId string, body ReplyToInboxPostJSONRequestBody) (*http.Request, error)
- func NewReplyToInboxPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
- func NewReplyToInboxReviewRequest(server string, reviewId string, body ReplyToInboxReviewJSONRequestBody) (*http.Request, error)
- func NewReplyToInboxReviewRequestWithBody(server string, reviewId string, contentType string, body io.Reader) (*http.Request, error)
- func NewRetryPostRequest(server string, postId string) (*http.Request, error)
- func NewRetweetPostRequest(server string, body RetweetPostJSONRequestBody) (*http.Request, error)
- func NewRetweetPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewScheduleBroadcastRequest(server string, broadcastId string, body ScheduleBroadcastJSONRequestBody) (*http.Request, error)
- func NewScheduleBroadcastRequestWithBody(server string, broadcastId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchAdInterestsRequest(server string, params *SearchAdInterestsParams) (*http.Request, error)
- func NewSearchRedditRequest(server string, params *SearchRedditParams) (*http.Request, error)
- func NewSelectFacebookPageRequest(server string, body SelectFacebookPageJSONRequestBody) (*http.Request, error)
- func NewSelectFacebookPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSelectGoogleBusinessLocationRequest(server string, body SelectGoogleBusinessLocationJSONRequestBody) (*http.Request, error)
- func NewSelectGoogleBusinessLocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSelectLinkedInOrganizationRequest(server string, body SelectLinkedInOrganizationJSONRequestBody) (*http.Request, error)
- func NewSelectLinkedInOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSelectPinterestBoardRequest(server string, body SelectPinterestBoardJSONRequestBody) (*http.Request, error)
- func NewSelectPinterestBoardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSelectSnapchatProfileRequest(server string, params *SelectSnapchatProfileParams, ...) (*http.Request, error)
- func NewSelectSnapchatProfileRequestWithBody(server string, params *SelectSnapchatProfileParams, contentType string, ...) (*http.Request, error)
- func NewSendBroadcastRequest(server string, broadcastId string) (*http.Request, error)
- func NewSendConversionsRequest(server string, body SendConversionsJSONRequestBody) (*http.Request, error)
- func NewSendConversionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSendInboxMessageRequest(server string, conversationId string, body SendInboxMessageJSONRequestBody) (*http.Request, error)
- func NewSendInboxMessageRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSendPrivateReplyToCommentRequest(server string, postId string, commentId string, ...) (*http.Request, error)
- func NewSendPrivateReplyToCommentRequestWithBody(server string, postId string, commentId string, contentType string, ...) (*http.Request, error)
- func NewSendTypingIndicatorRequest(server string, conversationId string, body SendTypingIndicatorJSONRequestBody) (*http.Request, error)
- func NewSendTypingIndicatorRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSendWhatsAppConversionRequest(server string, body SendWhatsAppConversionJSONRequestBody) (*http.Request, error)
- func NewSendWhatsAppConversionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSendWhatsAppFlowMessageRequest(server string, body SendWhatsAppFlowMessageJSONRequestBody) (*http.Request, error)
- func NewSendWhatsAppFlowMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetContactFieldValueRequest(server string, contactId string, slug string, ...) (*http.Request, error)
- func NewSetContactFieldValueRequestWithBody(server string, contactId string, slug string, contentType string, ...) (*http.Request, error)
- func NewSetInstagramIceBreakersRequest(server string, accountId string, body SetInstagramIceBreakersJSONRequestBody) (*http.Request, error)
- func NewSetInstagramIceBreakersRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetMessengerMenuRequest(server string, accountId string, body SetMessengerMenuJSONRequestBody) (*http.Request, error)
- func NewSetMessengerMenuRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSetTelegramCommandsRequest(server string, accountId string, body SetTelegramCommandsJSONRequestBody) (*http.Request, error)
- func NewSetTelegramCommandsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewTestWebhookRequest(server string, body TestWebhookJSONRequestBody) (*http.Request, error)
- func NewTestWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUndoRetweetRequest(server string, params *UndoRetweetParams) (*http.Request, error)
- func NewUnenrollContactRequest(server string, sequenceId string, contactId string) (*http.Request, error)
- func NewUnfollowUserRequest(server string, params *UnfollowUserParams) (*http.Request, error)
- func NewUnhideInboxCommentRequest(server string, postId string, commentId string, ...) (*http.Request, error)
- func NewUnlikeInboxCommentRequest(server string, postId string, commentId string, ...) (*http.Request, error)
- func NewUnpublishPostRequest(server string, postId string, body UnpublishPostJSONRequestBody) (*http.Request, error)
- func NewUnpublishPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAccountGroupRequest(server string, groupId string, body UpdateAccountGroupJSONRequestBody) (*http.Request, error)
- func NewUpdateAccountGroupRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAccountRequest(server string, accountId string, body UpdateAccountJSONRequestBody) (*http.Request, error)
- func NewUpdateAccountRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdCampaignRequest(server string, campaignId string, body UpdateAdCampaignJSONRequestBody) (*http.Request, error)
- func NewUpdateAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdCampaignStatusRequest(server string, campaignId string, body UpdateAdCampaignStatusJSONRequestBody) (*http.Request, error)
- func NewUpdateAdCampaignStatusRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdRequest(server string, adId string, body UpdateAdJSONRequestBody) (*http.Request, error)
- func NewUpdateAdRequestWithBody(server string, adId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdSetRequest(server string, adSetId string, body UpdateAdSetJSONRequestBody) (*http.Request, error)
- func NewUpdateAdSetRequestWithBody(server string, adSetId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAdSetStatusRequest(server string, adSetId string, body UpdateAdSetStatusJSONRequestBody) (*http.Request, error)
- func NewUpdateAdSetStatusRequestWithBody(server string, adSetId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateBroadcastRequest(server string, broadcastId string) (*http.Request, error)
- func NewUpdateCommentAutomationRequest(server string, automationId string, ...) (*http.Request, error)
- func NewUpdateCommentAutomationRequestWithBody(server string, automationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateContactRequest(server string, contactId string, body UpdateContactJSONRequestBody) (*http.Request, error)
- func NewUpdateContactRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomFieldRequest(server string, fieldId string, body UpdateCustomFieldJSONRequestBody) (*http.Request, error)
- func NewUpdateCustomFieldRequestWithBody(server string, fieldId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateDiscordSettingsRequest(server string, accountId string, body UpdateDiscordSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateDiscordSettingsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFacebookPageRequest(server string, accountId string, body UpdateFacebookPageJSONRequestBody) (*http.Request, error)
- func NewUpdateFacebookPageRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateGmbLocationRequest(server string, accountId string, body UpdateGmbLocationJSONRequestBody) (*http.Request, error)
- func NewUpdateGmbLocationRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateGoogleBusinessAttributesRequest(server string, accountId string, params *UpdateGoogleBusinessAttributesParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessAttributesRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessAttributesParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessFoodMenusRequest(server string, accountId string, params *UpdateGoogleBusinessFoodMenusParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessFoodMenusRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessFoodMenusParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessLocationDetailsRequest(server string, accountId string, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessLocationDetailsRequestWithBody(server string, accountId string, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessPlaceActionRequest(server string, accountId string, params *UpdateGoogleBusinessPlaceActionParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessPlaceActionRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessPlaceActionParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessServicesRequest(server string, accountId string, params *UpdateGoogleBusinessServicesParams, ...) (*http.Request, error)
- func NewUpdateGoogleBusinessServicesRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessServicesParams, ...) (*http.Request, error)
- func NewUpdateInboxConversationRequest(server string, conversationId string, ...) (*http.Request, error)
- func NewUpdateInboxConversationRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateLinkedInOrganizationRequest(server string, accountId string, ...) (*http.Request, error)
- func NewUpdateLinkedInOrganizationRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePinterestBoardsRequest(server string, accountId string, body UpdatePinterestBoardsJSONRequestBody) (*http.Request, error)
- func NewUpdatePinterestBoardsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePostMetadataRequest(server string, postId string, body UpdatePostMetadataJSONRequestBody) (*http.Request, error)
- func NewUpdatePostMetadataRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdatePostRequest(server string, postId string, body UpdatePostJSONRequestBody) (*http.Request, error)
- func NewUpdatePostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateProfileRequest(server string, profileId string, body UpdateProfileJSONRequestBody) (*http.Request, error)
- func NewUpdateProfileRequestWithBody(server string, profileId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateQueueSlotRequest(server string, body UpdateQueueSlotJSONRequestBody) (*http.Request, error)
- func NewUpdateQueueSlotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateRedditSubredditsRequest(server string, accountId string, body UpdateRedditSubredditsJSONRequestBody) (*http.Request, error)
- func NewUpdateRedditSubredditsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateSequenceRequest(server string, sequenceId string) (*http.Request, error)
- func NewUpdateWebhookSettingsRequest(server string, body UpdateWebhookSettingsJSONRequestBody) (*http.Request, error)
- func NewUpdateWebhookSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWhatsAppBusinessProfileRequest(server string, body UpdateWhatsAppBusinessProfileJSONRequestBody) (*http.Request, error)
- func NewUpdateWhatsAppBusinessProfileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWhatsAppDisplayNameRequest(server string, body UpdateWhatsAppDisplayNameJSONRequestBody) (*http.Request, error)
- func NewUpdateWhatsAppDisplayNameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWhatsAppFlowRequest(server string, flowId string, body UpdateWhatsAppFlowJSONRequestBody) (*http.Request, error)
- func NewUpdateWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWhatsAppGroupChatRequest(server string, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*http.Request, error)
- func NewUpdateWhatsAppGroupChatRequestWithBody(server string, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*http.Request, error)
- func NewUpdateWhatsAppTemplateRequest(server string, templateName string, body UpdateWhatsAppTemplateJSONRequestBody) (*http.Request, error)
- func NewUpdateWhatsAppTemplateRequestWithBody(server string, templateName string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateYoutubeDefaultPlaylistRequest(server string, accountId string, ...) (*http.Request, error)
- func NewUpdateYoutubeDefaultPlaylistRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadMediaDirectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadWhatsAppFlowJsonRequest(server string, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody) (*http.Request, error)
- func NewUploadWhatsAppFlowJsonRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadWhatsAppProfilePhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidateMediaRequest(server string, body ValidateMediaJSONRequestBody) (*http.Request, error)
- func NewValidateMediaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidatePostLengthRequest(server string, body ValidatePostLengthJSONRequestBody) (*http.Request, error)
- func NewValidatePostLengthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidatePostRequest(server string, body ValidatePostJSONRequestBody) (*http.Request, error)
- func NewValidatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewValidateSubredditRequest(server string, params *ValidateSubredditParams) (*http.Request, error)
- type AccountWithFollowerStats
- type AccountWithFollowerStatsPlatform
- type AccountWithFollowerStatsProfileId0
- type AccountWithFollowerStats_ProfileId
- func (t AccountWithFollowerStats_ProfileId) AsAccountWithFollowerStatsProfileId0() (AccountWithFollowerStatsProfileId0, error)
- func (t AccountWithFollowerStats_ProfileId) AsProfile() (Profile, error)
- func (t *AccountWithFollowerStats_ProfileId) FromAccountWithFollowerStatsProfileId0(v AccountWithFollowerStatsProfileId0) error
- func (t *AccountWithFollowerStats_ProfileId) FromProfile(v Profile) error
- func (t AccountWithFollowerStats_ProfileId) MarshalJSON() ([]byte, error)
- func (t *AccountWithFollowerStats_ProfileId) MergeAccountWithFollowerStatsProfileId0(v AccountWithFollowerStatsProfileId0) error
- func (t *AccountWithFollowerStats_ProfileId) MergeProfile(v Profile) error
- func (t *AccountWithFollowerStats_ProfileId) UnmarshalJSON(b []byte) error
- type ActivateSequenceResponse
- type Ad
- type AdAdType
- type AdBudget
- type AdBudgetType
- type AdCampaign
- type AdCampaignBudgetLevel
- type AdCampaignBudgetType
- type AdCampaignCampaignBudgetType
- type AdCampaignPlatform
- type AdCampaignReviewStatus
- type AdGoal
- type AdMetrics
- type AdPlatform
- type AdStatus
- type AdTreeAdSet
- type AdTreeAdSetAdSetBudgetType
- type AdTreeAdSetBudgetType
- type AdTreeCampaign
- type AdTreeCampaignBudgetLevel
- type AdTreeCampaignBudgetType
- type AdTreeCampaignCampaignBudgetType
- type AdTreeCampaignPlatform
- type AdTreeCampaignReviewStatus
- type AddBroadcastRecipientsJSONBody
- type AddBroadcastRecipientsJSONRequestBody
- type AddBroadcastRecipientsResponse
- type AddMessageReactionJSONBody
- type AddMessageReactionJSONRequestBody
- type AddMessageReactionResponse
- type AddUsersToAdAudienceJSONBody
- type AddUsersToAdAudienceJSONRequestBody
- type AddUsersToAdAudienceResponse
- type AddWhatsAppGroupParticipantsJSONBody
- type AddWhatsAppGroupParticipantsJSONRequestBody
- type AddWhatsAppGroupParticipantsParams
- type AddWhatsAppGroupParticipantsResponse
- type AnalyticsListResponse
- type AnalyticsListResponsePostsMediaItemsType
- type AnalyticsListResponsePostsMediaType
- type AnalyticsOverview
- type AnalyticsSinglePostResponse
- type AnalyticsSinglePostResponseMediaItemsType
- type AnalyticsSinglePostResponseMediaType
- type AnalyticsSinglePostResponseStatus
- type AnalyticsSinglePostResponseSyncStatus
- type ApiKey
- type ApiKeyPermission
- type ApiKeyScope
- type ApproveWhatsAppGroupJoinRequestsJSONBody
- type ApproveWhatsAppGroupJoinRequestsJSONRequestBody
- type ApproveWhatsAppGroupJoinRequestsParams
- type ApproveWhatsAppGroupJoinRequestsResponse
- type BatchGetGoogleBusinessReviewsJSONBody
- type BatchGetGoogleBusinessReviewsJSONRequestBody
- type BatchGetGoogleBusinessReviewsResponse
- type BidStrategy
- type BlueskyPlatformData
- type BookmarkPostJSONBody
- type BookmarkPostJSONRequestBody
- type BookmarkPostResponse
- type BoostPostJSONBody
- type BoostPostJSONBodyBudgetType
- type BoostPostJSONBodyGoal
- type BoostPostJSONBodySpecialAdCategories
- type BoostPostJSONBodyTargetingAdvantageAudience
- type BoostPostJSONRequestBody
- type BoostPostResponse
- type BulkCreateContactsJSONBody
- type BulkCreateContactsJSONRequestBody
- type BulkCreateContactsResponse
- type BulkUpdateAdCampaignStatus200Status
- type BulkUpdateAdCampaignStatusJSONBody
- type BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform
- type BulkUpdateAdCampaignStatusJSONBodyStatus
- type BulkUpdateAdCampaignStatusJSONRequestBody
- type BulkUpdateAdCampaignStatusResponse
- type BulkUploadPostsMultipartBody
- type BulkUploadPostsMultipartRequestBody
- type BulkUploadPostsParams
- type BulkUploadPostsResponse
- type BusinessCenter
- type CancelBroadcastResponse
- type ClearContactFieldValueResponse
- type Client
- func (c *Client) ActivateSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) AddBroadcastRecipients(ctx context.Context, broadcastId string, ...) (*http.Response, error)
- func (c *Client) AddBroadcastRecipientsWithBody(ctx context.Context, broadcastId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddMessageReaction(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) AddMessageReactionWithBody(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) AddUsersToAdAudience(ctx context.Context, audienceId string, ...) (*http.Response, error)
- func (c *Client) AddUsersToAdAudienceWithBody(ctx context.Context, audienceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) AddWhatsAppGroupParticipants(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) AddWhatsAppGroupParticipantsWithBody(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) ApproveWhatsAppGroupJoinRequests(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) ApproveWhatsAppGroupJoinRequestsWithBody(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) BatchGetGoogleBusinessReviews(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) BatchGetGoogleBusinessReviewsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BookmarkPost(ctx context.Context, body BookmarkPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BookmarkPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BoostPost(ctx context.Context, body BoostPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BoostPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkCreateContacts(ctx context.Context, body BulkCreateContactsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkCreateContactsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkUpdateAdCampaignStatus(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) BulkUpdateAdCampaignStatusWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) BulkUploadPostsWithBody(ctx context.Context, params *BulkUploadPostsParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CancelBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ClearContactFieldValue(ctx context.Context, contactId string, slug string, ...) (*http.Response, error)
- func (c *Client) CompleteTelegramConnect(ctx context.Context, params *CompleteTelegramConnectParams, ...) (*http.Response, error)
- func (c *Client) ConnectAds(ctx context.Context, platform ConnectAdsParamsPlatform, ...) (*http.Response, error)
- func (c *Client) ConnectBlueskyCredentials(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConnectBlueskyCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ConnectWhatsAppCredentials(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ConnectWhatsAppCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAccountGroup(ctx context.Context, body CreateAccountGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAccountGroupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateAdAudience(ctx context.Context, body CreateAdAudienceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAdAudienceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateBroadcast(ctx context.Context, body CreateBroadcastJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateBroadcastWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCommentAutomation(ctx context.Context, body CreateCommentAutomationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCommentAutomationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateContact(ctx context.Context, body CreateContactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateContactWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCtwaAd(ctx context.Context, body CreateCtwaAdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCtwaAdWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateCustomField(ctx context.Context, body CreateCustomFieldJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCustomFieldWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGoogleBusinessMedia(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*http.Response, error)
- func (c *Client) CreateGoogleBusinessMediaWithBody(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*http.Response, error)
- func (c *Client) CreateGoogleBusinessPlaceAction(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) CreateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) CreateInboxConversation(ctx context.Context, body CreateInboxConversationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInboxConversationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateInviteToken(ctx context.Context, body CreateInviteTokenJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateInviteTokenWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePost(ctx context.Context, body CreatePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateProfile(ctx context.Context, body CreateProfileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateProfileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateQueueSlot(ctx context.Context, body CreateQueueSlotJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSequence(ctx context.Context, body CreateSequenceJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSequenceWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateStandaloneAd(ctx context.Context, body CreateStandaloneAdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateStandaloneAdWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWebhookSettings(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppFlow(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppFlowWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppGroupChat(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppGroupChatWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppGroupInviteLink(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppTemplate(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWhatsAppTemplateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAccountGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAd(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAdAudience(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteAdCampaign(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteApiKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCommentAutomation(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteContact(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomField(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteGoogleBusinessMedia(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, ...) (*http.Response, error)
- func (c *Client) DeleteGoogleBusinessPlaceAction(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) DeleteInboxComment(ctx context.Context, postId string, params *DeleteInboxCommentParams, ...) (*http.Response, error)
- func (c *Client) DeleteInboxMessage(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) DeleteInboxReviewReply(ctx context.Context, reviewId string, ...) (*http.Response, error)
- func (c *Client) DeleteInboxReviewReplyWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeletePost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteQueueSlot(ctx context.Context, params *DeleteQueueSlotParams, ...) (*http.Response, error)
- func (c *Client) DeleteSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWebhookSettings(ctx context.Context, params *DeleteWebhookSettingsParams, ...) (*http.Response, error)
- func (c *Client) DeleteWhatsAppFlow(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, ...) (*http.Response, error)
- func (c *Client) DeleteWhatsAppGroupChat(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, ...) (*http.Response, error)
- func (c *Client) DeleteWhatsAppTemplate(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, ...) (*http.Response, error)
- func (c *Client) DeprecateWhatsAppFlow(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeprecateWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DuplicateAdCampaign(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) DuplicateAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EditInboxMessage(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) EditInboxMessageWithBody(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) EditPost(ctx context.Context, postId string, body EditPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EditPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) EnrollContacts(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) EnrollContactsWithBody(ctx context.Context, sequenceId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FollowUser(ctx context.Context, body FollowUserJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FollowUserWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAccountHealth(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAd(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdAnalytics(ctx context.Context, adId string, params *GetAdAnalyticsParams, ...) (*http.Response, error)
- func (c *Client) GetAdAudience(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAdComments(ctx context.Context, adId string, params *GetAdCommentsParams, ...) (*http.Response, error)
- func (c *Client) GetAdTree(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAllAccountsHealth(ctx context.Context, params *GetAllAccountsHealthParams, ...) (*http.Response, error)
- func (c *Client) GetAnalytics(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetBestTimeToPost(ctx context.Context, params *GetBestTimeToPostParams, ...) (*http.Response, error)
- func (c *Client) GetBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCommentAutomation(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetConnectUrl(ctx context.Context, platform GetConnectUrlParamsPlatform, ...) (*http.Response, error)
- func (c *Client) GetContact(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetContactChannels(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetContentDecay(ctx context.Context, params *GetContentDecayParams, ...) (*http.Response, error)
- func (c *Client) GetDailyMetrics(ctx context.Context, params *GetDailyMetricsParams, ...) (*http.Response, error)
- func (c *Client) GetDiscordChannels(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetDiscordSettings(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFacebookPageInsights(ctx context.Context, params *GetFacebookPageInsightsParams, ...) (*http.Response, error)
- func (c *Client) GetFacebookPages(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFollowerStats(ctx context.Context, params *GetFollowerStatsParams, ...) (*http.Response, error)
- func (c *Client) GetGmbLocations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGoogleBusinessAttributes(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessFoodMenus(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessLocationDetails(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessPerformance(ctx context.Context, params *GetGoogleBusinessPerformanceParams, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessReviews(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessSearchKeywords(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, ...) (*http.Response, error)
- func (c *Client) GetGoogleBusinessServices(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, ...) (*http.Response, error)
- func (c *Client) GetInboxConversation(ctx context.Context, conversationId string, params *GetInboxConversationParams, ...) (*http.Response, error)
- func (c *Client) GetInboxConversationMessages(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) GetInboxPostComments(ctx context.Context, postId string, params *GetInboxPostCommentsParams, ...) (*http.Response, error)
- func (c *Client) GetInstagramAccountInsights(ctx context.Context, params *GetInstagramAccountInsightsParams, ...) (*http.Response, error)
- func (c *Client) GetInstagramDemographics(ctx context.Context, params *GetInstagramDemographicsParams, ...) (*http.Response, error)
- func (c *Client) GetInstagramFollowerHistory(ctx context.Context, params *GetInstagramFollowerHistoryParams, ...) (*http.Response, error)
- func (c *Client) GetInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLinkedInAggregateAnalytics(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) GetLinkedInMentions(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, ...) (*http.Response, error)
- func (c *Client) GetLinkedInOrgAggregateAnalytics(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, ...) (*http.Response, error)
- func (c *Client) GetLinkedInOrganizations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetLinkedInPostAnalytics(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, ...) (*http.Response, error)
- func (c *Client) GetLinkedInPostReactions(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, ...) (*http.Response, error)
- func (c *Client) GetMediaPresignedUrl(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) GetMediaPresignedUrlWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNextQueueSlot(ctx context.Context, params *GetNextQueueSlotParams, ...) (*http.Response, error)
- func (c *Client) GetPendingOAuthData(ctx context.Context, params *GetPendingOAuthDataParams, ...) (*http.Response, error)
- func (c *Client) GetPinterestBoards(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPostTimeline(ctx context.Context, params *GetPostTimelineParams, ...) (*http.Response, error)
- func (c *Client) GetPostingFrequency(ctx context.Context, params *GetPostingFrequencyParams, ...) (*http.Response, error)
- func (c *Client) GetProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRedditFeed(ctx context.Context, params *GetRedditFeedParams, ...) (*http.Response, error)
- func (c *Client) GetRedditFlairs(ctx context.Context, accountId string, params *GetRedditFlairsParams, ...) (*http.Response, error)
- func (c *Client) GetRedditSubreddits(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTelegramConnectStatus(ctx context.Context, params *GetTelegramConnectStatusParams, ...) (*http.Response, error)
- func (c *Client) GetTikTokAccountInsights(ctx context.Context, params *GetTikTokAccountInsightsParams, ...) (*http.Response, error)
- func (c *Client) GetTikTokCreatorInfo(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, ...) (*http.Response, error)
- func (c *Client) GetUsageStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWebhookSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWhatsAppBusinessProfile(ctx context.Context, params *GetWhatsAppBusinessProfileParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppDisplayName(ctx context.Context, params *GetWhatsAppDisplayNameParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppFlow(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppFlowJson(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppGroupChat(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppPhoneNumber(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWhatsAppPhoneNumbers(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppTemplate(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, ...) (*http.Response, error)
- func (c *Client) GetWhatsAppTemplates(ctx context.Context, params *GetWhatsAppTemplatesParams, ...) (*http.Response, error)
- func (c *Client) GetYouTubeChannelInsights(ctx context.Context, params *GetYouTubeChannelInsightsParams, ...) (*http.Response, error)
- func (c *Client) GetYouTubeDailyViews(ctx context.Context, params *GetYouTubeDailyViewsParams, ...) (*http.Response, error)
- func (c *Client) GetYouTubeDemographics(ctx context.Context, params *GetYouTubeDemographicsParams, ...) (*http.Response, error)
- func (c *Client) GetYoutubePlaylists(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HandleOAuthCallback(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) HandleOAuthCallbackWithBody(ctx context.Context, platform string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) HideInboxComment(ctx context.Context, postId string, commentId string, ...) (*http.Response, error)
- func (c *Client) HideInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) InitiateTelegramConnect(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) InitiateTelegramConnectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) LikeInboxComment(ctx context.Context, postId string, commentId string, ...) (*http.Response, error)
- func (c *Client) LikeInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) ListAccountGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAdAccounts(ctx context.Context, params *ListAdAccountsParams, ...) (*http.Response, error)
- func (c *Client) ListAdAudiences(ctx context.Context, params *ListAdAudiencesParams, ...) (*http.Response, error)
- func (c *Client) ListAdCampaigns(ctx context.Context, params *ListAdCampaignsParams, ...) (*http.Response, error)
- func (c *Client) ListAds(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListAdsBusinessCenters(ctx context.Context, params *ListAdsBusinessCentersParams, ...) (*http.Response, error)
- func (c *Client) ListApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListBroadcastRecipients(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, ...) (*http.Response, error)
- func (c *Client) ListBroadcasts(ctx context.Context, params *ListBroadcastsParams, ...) (*http.Response, error)
- func (c *Client) ListCommentAutomationLogs(ctx context.Context, automationId string, ...) (*http.Response, error)
- func (c *Client) ListCommentAutomations(ctx context.Context, params *ListCommentAutomationsParams, ...) (*http.Response, error)
- func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListConversionDestinations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, ...) (*http.Response, error)
- func (c *Client) ListFacebookPages(ctx context.Context, params *ListFacebookPagesParams, ...) (*http.Response, error)
- func (c *Client) ListGoogleBusinessLocations(ctx context.Context, params *ListGoogleBusinessLocationsParams, ...) (*http.Response, error)
- func (c *Client) ListGoogleBusinessMedia(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, ...) (*http.Response, error)
- func (c *Client) ListGoogleBusinessPlaceActions(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) ListInboxComments(ctx context.Context, params *ListInboxCommentsParams, ...) (*http.Response, error)
- func (c *Client) ListInboxConversations(ctx context.Context, params *ListInboxConversationsParams, ...) (*http.Response, error)
- func (c *Client) ListInboxReviews(ctx context.Context, params *ListInboxReviewsParams, ...) (*http.Response, error)
- func (c *Client) ListLinkedInOrganizations(ctx context.Context, params *ListLinkedInOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) ListLogs(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPinterestBoardsForSelection(ctx context.Context, params *ListPinterestBoardsForSelectionParams, ...) (*http.Response, error)
- func (c *Client) ListPosts(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListQueueSlots(ctx context.Context, params *ListQueueSlotsParams, ...) (*http.Response, error)
- func (c *Client) ListSequenceEnrollments(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, ...) (*http.Response, error)
- func (c *Client) ListSequences(ctx context.Context, params *ListSequencesParams, ...) (*http.Response, error)
- func (c *Client) ListSnapchatProfiles(ctx context.Context, params *ListSnapchatProfilesParams, ...) (*http.Response, error)
- func (c *Client) ListUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWhatsAppFlows(ctx context.Context, params *ListWhatsAppFlowsParams, ...) (*http.Response, error)
- func (c *Client) ListWhatsAppGroupChats(ctx context.Context, params *ListWhatsAppGroupChatsParams, ...) (*http.Response, error)
- func (c *Client) ListWhatsAppGroupJoinRequests(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) PauseSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PreviewQueue(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PublishWhatsAppFlow(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PublishWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PurchaseWhatsAppPhoneNumber(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PurchaseWhatsAppPhoneNumberWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RejectWhatsAppGroupJoinRequests(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) RejectWhatsAppGroupJoinRequestsWithBody(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) ReleaseWhatsAppPhoneNumber(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RemoveBookmark(ctx context.Context, params *RemoveBookmarkParams, ...) (*http.Response, error)
- func (c *Client) RemoveMessageReaction(ctx context.Context, conversationId string, messageId string, ...) (*http.Response, error)
- func (c *Client) RemoveWhatsAppGroupParticipants(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) RemoveWhatsAppGroupParticipantsWithBody(ctx context.Context, groupId string, ...) (*http.Response, error)
- func (c *Client) ReplyToInboxPost(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplyToInboxPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ReplyToInboxReview(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplyToInboxReviewWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RetryPost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RetweetPost(ctx context.Context, body RetweetPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RetweetPostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ScheduleBroadcast(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ScheduleBroadcastWithBody(ctx context.Context, broadcastId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SearchAdInterests(ctx context.Context, params *SearchAdInterestsParams, ...) (*http.Response, error)
- func (c *Client) SearchReddit(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SelectFacebookPage(ctx context.Context, body SelectFacebookPageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelectFacebookPageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelectGoogleBusinessLocation(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelectGoogleBusinessLocationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelectLinkedInOrganization(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelectLinkedInOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelectPinterestBoard(ctx context.Context, body SelectPinterestBoardJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SelectPinterestBoardWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SelectSnapchatProfile(ctx context.Context, params *SelectSnapchatProfileParams, ...) (*http.Response, error)
- func (c *Client) SelectSnapchatProfileWithBody(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, ...) (*http.Response, error)
- func (c *Client) SendBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SendConversions(ctx context.Context, body SendConversionsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendConversionsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SendInboxMessage(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) SendInboxMessageWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SendPrivateReplyToComment(ctx context.Context, postId string, commentId string, ...) (*http.Response, error)
- func (c *Client) SendPrivateReplyToCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, ...) (*http.Response, error)
- func (c *Client) SendTypingIndicator(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) SendTypingIndicatorWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SendWhatsAppConversion(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendWhatsAppConversionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SendWhatsAppFlowMessage(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendWhatsAppFlowMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetContactFieldValue(ctx context.Context, contactId string, slug string, ...) (*http.Response, error)
- func (c *Client) SetContactFieldValueWithBody(ctx context.Context, contactId string, slug string, contentType string, ...) (*http.Response, error)
- func (c *Client) SetInstagramIceBreakers(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) SetInstagramIceBreakersWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetMessengerMenu(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetMessengerMenuWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SetTelegramCommands(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SetTelegramCommandsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) TestWebhook(ctx context.Context, body TestWebhookJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) TestWebhookWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UndoRetweet(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnenrollContact(ctx context.Context, sequenceId string, contactId string, ...) (*http.Response, error)
- func (c *Client) UnfollowUser(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UnhideInboxComment(ctx context.Context, postId string, commentId string, ...) (*http.Response, error)
- func (c *Client) UnlikeInboxComment(ctx context.Context, postId string, commentId string, ...) (*http.Response, error)
- func (c *Client) UnpublishPost(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UnpublishPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAccountGroup(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAccountGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAd(ctx context.Context, adId string, body UpdateAdJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdCampaign(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdCampaignStatus(ctx context.Context, campaignId string, ...) (*http.Response, error)
- func (c *Client) UpdateAdCampaignStatusWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdSet(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdSetStatus(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAdSetStatusWithBody(ctx context.Context, adSetId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdSetWithBody(ctx context.Context, adSetId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAdWithBody(ctx context.Context, adId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateCommentAutomation(ctx context.Context, automationId string, ...) (*http.Response, error)
- func (c *Client) UpdateCommentAutomationWithBody(ctx context.Context, automationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateContact(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateContactWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCustomField(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCustomFieldWithBody(ctx context.Context, fieldId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateDiscordSettings(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateDiscordSettingsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateFacebookPage(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateFacebookPageWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateGmbLocation(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGmbLocationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessAttributes(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessAttributesWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessFoodMenus(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessFoodMenusWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessLocationDetails(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessLocationDetailsWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessPlaceAction(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessServices(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateGoogleBusinessServicesWithBody(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateInboxConversation(ctx context.Context, conversationId string, ...) (*http.Response, error)
- func (c *Client) UpdateInboxConversationWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateLinkedInOrganization(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateLinkedInOrganizationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePinterestBoards(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdatePinterestBoardsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePost(ctx context.Context, postId string, body UpdatePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePostMetadata(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdatePostMetadataWithBody(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdatePostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateProfile(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateProfileWithBody(ctx context.Context, profileId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateQueueSlot(ctx context.Context, body UpdateQueueSlotJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateRedditSubreddits(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateRedditSubredditsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdateWebhookSettings(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppBusinessProfile(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppBusinessProfileWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppDisplayName(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppDisplayNameWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppFlow(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppGroupChat(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppGroupChatWithBody(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppTemplate(ctx context.Context, templateName string, ...) (*http.Response, error)
- func (c *Client) UpdateWhatsAppTemplateWithBody(ctx context.Context, templateName string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateYoutubeDefaultPlaylist(ctx context.Context, accountId string, ...) (*http.Response, error)
- func (c *Client) UpdateYoutubeDefaultPlaylistWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadMediaDirectWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadWhatsAppFlowJson(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UploadWhatsAppFlowJsonWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadWhatsAppProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValidateMedia(ctx context.Context, body ValidateMediaJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValidateMediaWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValidatePost(ctx context.Context, body ValidatePostJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValidatePostLength(ctx context.Context, body ValidatePostLengthJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ValidatePostLengthWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValidatePostWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ValidateSubreddit(ctx context.Context, params *ValidateSubredditParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ActivateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*ActivateSequenceResponse, error)
- func (c *ClientWithResponses) AddBroadcastRecipientsWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, ...) (*AddBroadcastRecipientsResponse, error)
- func (c *ClientWithResponses) AddBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, ...) (*AddBroadcastRecipientsResponse, error)
- func (c *ClientWithResponses) AddMessageReactionWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*AddMessageReactionResponse, error)
- func (c *ClientWithResponses) AddMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*AddMessageReactionResponse, error)
- func (c *ClientWithResponses) AddUsersToAdAudienceWithBodyWithResponse(ctx context.Context, audienceId string, contentType string, body io.Reader, ...) (*AddUsersToAdAudienceResponse, error)
- func (c *ClientWithResponses) AddUsersToAdAudienceWithResponse(ctx context.Context, audienceId string, ...) (*AddUsersToAdAudienceResponse, error)
- func (c *ClientWithResponses) AddWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, ...) (*AddWhatsAppGroupParticipantsResponse, error)
- func (c *ClientWithResponses) AddWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, ...) (*AddWhatsAppGroupParticipantsResponse, error)
- func (c *ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, ...) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
- func (c *ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, ...) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
- func (c *ClientWithResponses) BatchGetGoogleBusinessReviewsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*BatchGetGoogleBusinessReviewsResponse, error)
- func (c *ClientWithResponses) BatchGetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, ...) (*BatchGetGoogleBusinessReviewsResponse, error)
- func (c *ClientWithResponses) BookmarkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BookmarkPostResponse, error)
- func (c *ClientWithResponses) BookmarkPostWithResponse(ctx context.Context, body BookmarkPostJSONRequestBody, ...) (*BookmarkPostResponse, error)
- func (c *ClientWithResponses) BoostPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BoostPostResponse, error)
- func (c *ClientWithResponses) BoostPostWithResponse(ctx context.Context, body BoostPostJSONRequestBody, ...) (*BoostPostResponse, error)
- func (c *ClientWithResponses) BulkCreateContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkCreateContactsResponse, error)
- func (c *ClientWithResponses) BulkCreateContactsWithResponse(ctx context.Context, body BulkCreateContactsJSONRequestBody, ...) (*BulkCreateContactsResponse, error)
- func (c *ClientWithResponses) BulkUpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*BulkUpdateAdCampaignStatusResponse, error)
- func (c *ClientWithResponses) BulkUpdateAdCampaignStatusWithResponse(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, ...) (*BulkUpdateAdCampaignStatusResponse, error)
- func (c *ClientWithResponses) BulkUploadPostsWithBodyWithResponse(ctx context.Context, params *BulkUploadPostsParams, contentType string, ...) (*BulkUploadPostsResponse, error)
- func (c *ClientWithResponses) CancelBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*CancelBroadcastResponse, error)
- func (c *ClientWithResponses) ClearContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, ...) (*ClearContactFieldValueResponse, error)
- func (c *ClientWithResponses) CompleteTelegramConnectWithResponse(ctx context.Context, params *CompleteTelegramConnectParams, ...) (*CompleteTelegramConnectResponse, error)
- func (c *ClientWithResponses) ConnectAdsWithResponse(ctx context.Context, platform ConnectAdsParamsPlatform, ...) (*ConnectAdsResponse, error)
- func (c *ClientWithResponses) ConnectBlueskyCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConnectBlueskyCredentialsResponse, error)
- func (c *ClientWithResponses) ConnectBlueskyCredentialsWithResponse(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, ...) (*ConnectBlueskyCredentialsResponse, error)
- func (c *ClientWithResponses) ConnectWhatsAppCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ConnectWhatsAppCredentialsResponse, error)
- func (c *ClientWithResponses) ConnectWhatsAppCredentialsWithResponse(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, ...) (*ConnectWhatsAppCredentialsResponse, error)
- func (c *ClientWithResponses) CreateAccountGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAccountGroupResponse, error)
- func (c *ClientWithResponses) CreateAccountGroupWithResponse(ctx context.Context, body CreateAccountGroupJSONRequestBody, ...) (*CreateAccountGroupResponse, error)
- func (c *ClientWithResponses) CreateAdAudienceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAdAudienceResponse, error)
- func (c *ClientWithResponses) CreateAdAudienceWithResponse(ctx context.Context, body CreateAdAudienceJSONRequestBody, ...) (*CreateAdAudienceResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, ...) (*CreateApiKeyResponse, error)
- func (c *ClientWithResponses) CreateBroadcastWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateBroadcastResponse, error)
- func (c *ClientWithResponses) CreateBroadcastWithResponse(ctx context.Context, body CreateBroadcastJSONRequestBody, ...) (*CreateBroadcastResponse, error)
- func (c *ClientWithResponses) CreateCommentAutomationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCommentAutomationResponse, error)
- func (c *ClientWithResponses) CreateCommentAutomationWithResponse(ctx context.Context, body CreateCommentAutomationJSONRequestBody, ...) (*CreateCommentAutomationResponse, error)
- func (c *ClientWithResponses) CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateContactResponse, error)
- func (c *ClientWithResponses) CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, ...) (*CreateContactResponse, error)
- func (c *ClientWithResponses) CreateCtwaAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCtwaAdResponse, error)
- func (c *ClientWithResponses) CreateCtwaAdWithResponse(ctx context.Context, body CreateCtwaAdJSONRequestBody, ...) (*CreateCtwaAdResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateCustomFieldResponse, error)
- func (c *ClientWithResponses) CreateCustomFieldWithResponse(ctx context.Context, body CreateCustomFieldJSONRequestBody, ...) (*CreateCustomFieldResponse, error)
- func (c *ClientWithResponses) CreateGoogleBusinessMediaWithBodyWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*CreateGoogleBusinessMediaResponse, error)
- func (c *ClientWithResponses) CreateGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, ...) (*CreateGoogleBusinessMediaResponse, error)
- func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, ...) (*CreateGoogleBusinessPlaceActionResponse, error)
- func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, ...) (*CreateGoogleBusinessPlaceActionResponse, error)
- func (c *ClientWithResponses) CreateInboxConversationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInboxConversationResponse, error)
- func (c *ClientWithResponses) CreateInboxConversationWithResponse(ctx context.Context, body CreateInboxConversationJSONRequestBody, ...) (*CreateInboxConversationResponse, error)
- func (c *ClientWithResponses) CreateInviteTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateInviteTokenResponse, error)
- func (c *ClientWithResponses) CreateInviteTokenWithResponse(ctx context.Context, body CreateInviteTokenJSONRequestBody, ...) (*CreateInviteTokenResponse, error)
- func (c *ClientWithResponses) CreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePostResponse, error)
- func (c *ClientWithResponses) CreatePostWithResponse(ctx context.Context, body CreatePostJSONRequestBody, ...) (*CreatePostResponse, error)
- func (c *ClientWithResponses) CreateProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateProfileResponse, error)
- func (c *ClientWithResponses) CreateProfileWithResponse(ctx context.Context, body CreateProfileJSONRequestBody, ...) (*CreateProfileResponse, error)
- func (c *ClientWithResponses) CreateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateQueueSlotResponse, error)
- func (c *ClientWithResponses) CreateQueueSlotWithResponse(ctx context.Context, body CreateQueueSlotJSONRequestBody, ...) (*CreateQueueSlotResponse, error)
- func (c *ClientWithResponses) CreateSequenceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateSequenceResponse, error)
- func (c *ClientWithResponses) CreateSequenceWithResponse(ctx context.Context, body CreateSequenceJSONRequestBody, ...) (*CreateSequenceResponse, error)
- func (c *ClientWithResponses) CreateStandaloneAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateStandaloneAdResponse, error)
- func (c *ClientWithResponses) CreateStandaloneAdWithResponse(ctx context.Context, body CreateStandaloneAdJSONRequestBody, ...) (*CreateStandaloneAdResponse, error)
- func (c *ClientWithResponses) CreateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWebhookSettingsResponse, error)
- func (c *ClientWithResponses) CreateWebhookSettingsWithResponse(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, ...) (*CreateWebhookSettingsResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppFlowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppFlowWithResponse(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, ...) (*CreateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppGroupChatWithResponse(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, ...) (*CreateWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppGroupInviteLinkWithResponse(ctx context.Context, groupId string, ...) (*CreateWhatsAppGroupInviteLinkResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) CreateWhatsAppTemplateWithResponse(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, ...) (*CreateWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) DeleteAccountGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteAccountGroupResponse, error)
- func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
- func (c *ClientWithResponses) DeleteAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*DeleteAdAudienceResponse, error)
- func (c *ClientWithResponses) DeleteAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*DeleteAdCampaignResponse, error)
- func (c *ClientWithResponses) DeleteAdCampaignWithResponse(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, ...) (*DeleteAdCampaignResponse, error)
- func (c *ClientWithResponses) DeleteAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*DeleteAdResponse, error)
- func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
- func (c *ClientWithResponses) DeleteBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*DeleteBroadcastResponse, error)
- func (c *ClientWithResponses) DeleteCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*DeleteCommentAutomationResponse, error)
- func (c *ClientWithResponses) DeleteContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteContactResponse, error)
- func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
- func (c *ClientWithResponses) DeleteGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, ...) (*DeleteGoogleBusinessMediaResponse, error)
- func (c *ClientWithResponses) DeleteGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, ...) (*DeleteGoogleBusinessPlaceActionResponse, error)
- func (c *ClientWithResponses) DeleteInboxCommentWithResponse(ctx context.Context, postId string, params *DeleteInboxCommentParams, ...) (*DeleteInboxCommentResponse, error)
- func (c *ClientWithResponses) DeleteInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*DeleteInboxMessageResponse, error)
- func (c *ClientWithResponses) DeleteInboxReviewReplyWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, ...) (*DeleteInboxReviewReplyResponse, error)
- func (c *ClientWithResponses) DeleteInboxReviewReplyWithResponse(ctx context.Context, reviewId string, ...) (*DeleteInboxReviewReplyResponse, error)
- func (c *ClientWithResponses) DeleteInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteInstagramIceBreakersResponse, error)
- func (c *ClientWithResponses) DeleteMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteMessengerMenuResponse, error)
- func (c *ClientWithResponses) DeletePostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*DeletePostResponse, error)
- func (c *ClientWithResponses) DeleteProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
- func (c *ClientWithResponses) DeleteQueueSlotWithResponse(ctx context.Context, params *DeleteQueueSlotParams, ...) (*DeleteQueueSlotResponse, error)
- func (c *ClientWithResponses) DeleteSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*DeleteSequenceResponse, error)
- func (c *ClientWithResponses) DeleteTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteTelegramCommandsResponse, error)
- func (c *ClientWithResponses) DeleteWebhookSettingsWithResponse(ctx context.Context, params *DeleteWebhookSettingsParams, ...) (*DeleteWebhookSettingsResponse, error)
- func (c *ClientWithResponses) DeleteWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, ...) (*DeleteWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) DeleteWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, ...) (*DeleteWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) DeleteWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, ...) (*DeleteWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) DeprecateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*DeprecateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) DeprecateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, ...) (*DeprecateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) DuplicateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*DuplicateAdCampaignResponse, error)
- func (c *ClientWithResponses) DuplicateAdCampaignWithResponse(ctx context.Context, campaignId string, ...) (*DuplicateAdCampaignResponse, error)
- func (c *ClientWithResponses) EditInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*EditInboxMessageResponse, error)
- func (c *ClientWithResponses) EditInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*EditInboxMessageResponse, error)
- func (c *ClientWithResponses) EditPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*EditPostResponse, error)
- func (c *ClientWithResponses) EditPostWithResponse(ctx context.Context, postId string, body EditPostJSONRequestBody, ...) (*EditPostResponse, error)
- func (c *ClientWithResponses) EnrollContactsWithBodyWithResponse(ctx context.Context, sequenceId string, contentType string, body io.Reader, ...) (*EnrollContactsResponse, error)
- func (c *ClientWithResponses) EnrollContactsWithResponse(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, ...) (*EnrollContactsResponse, error)
- func (c *ClientWithResponses) FollowUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*FollowUserResponse, error)
- func (c *ClientWithResponses) FollowUserWithResponse(ctx context.Context, body FollowUserJSONRequestBody, ...) (*FollowUserResponse, error)
- func (c *ClientWithResponses) GetAccountHealthWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountHealthResponse, error)
- func (c *ClientWithResponses) GetAdAnalyticsWithResponse(ctx context.Context, adId string, params *GetAdAnalyticsParams, ...) (*GetAdAnalyticsResponse, error)
- func (c *ClientWithResponses) GetAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*GetAdAudienceResponse, error)
- func (c *ClientWithResponses) GetAdCommentsWithResponse(ctx context.Context, adId string, params *GetAdCommentsParams, ...) (*GetAdCommentsResponse, error)
- func (c *ClientWithResponses) GetAdTreeWithResponse(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*GetAdTreeResponse, error)
- func (c *ClientWithResponses) GetAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*GetAdResponse, error)
- func (c *ClientWithResponses) GetAllAccountsHealthWithResponse(ctx context.Context, params *GetAllAccountsHealthParams, ...) (*GetAllAccountsHealthResponse, error)
- func (c *ClientWithResponses) GetAnalyticsWithResponse(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAnalyticsResponse, error)
- func (c *ClientWithResponses) GetBestTimeToPostWithResponse(ctx context.Context, params *GetBestTimeToPostParams, ...) (*GetBestTimeToPostResponse, error)
- func (c *ClientWithResponses) GetBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*GetBroadcastResponse, error)
- func (c *ClientWithResponses) GetCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*GetCommentAutomationResponse, error)
- func (c *ClientWithResponses) GetConnectUrlWithResponse(ctx context.Context, platform GetConnectUrlParamsPlatform, ...) (*GetConnectUrlResponse, error)
- func (c *ClientWithResponses) GetContactChannelsWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactChannelsResponse, error)
- func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactResponse, error)
- func (c *ClientWithResponses) GetContentDecayWithResponse(ctx context.Context, params *GetContentDecayParams, ...) (*GetContentDecayResponse, error)
- func (c *ClientWithResponses) GetDailyMetricsWithResponse(ctx context.Context, params *GetDailyMetricsParams, ...) (*GetDailyMetricsResponse, error)
- func (c *ClientWithResponses) GetDiscordChannelsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordChannelsResponse, error)
- func (c *ClientWithResponses) GetDiscordSettingsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordSettingsResponse, error)
- func (c *ClientWithResponses) GetFacebookPageInsightsWithResponse(ctx context.Context, params *GetFacebookPageInsightsParams, ...) (*GetFacebookPageInsightsResponse, error)
- func (c *ClientWithResponses) GetFacebookPagesWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetFacebookPagesResponse, error)
- func (c *ClientWithResponses) GetFollowerStatsWithResponse(ctx context.Context, params *GetFollowerStatsParams, ...) (*GetFollowerStatsResponse, error)
- func (c *ClientWithResponses) GetGmbLocationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGmbLocationsResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, ...) (*GetGoogleBusinessAttributesResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, ...) (*GetGoogleBusinessFoodMenusResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, ...) (*GetGoogleBusinessLocationDetailsResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessPerformanceWithResponse(ctx context.Context, params *GetGoogleBusinessPerformanceParams, ...) (*GetGoogleBusinessPerformanceResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, ...) (*GetGoogleBusinessReviewsResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessSearchKeywordsWithResponse(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, ...) (*GetGoogleBusinessSearchKeywordsResponse, error)
- func (c *ClientWithResponses) GetGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, ...) (*GetGoogleBusinessServicesResponse, error)
- func (c *ClientWithResponses) GetInboxConversationMessagesWithResponse(ctx context.Context, conversationId string, ...) (*GetInboxConversationMessagesResponse, error)
- func (c *ClientWithResponses) GetInboxConversationWithResponse(ctx context.Context, conversationId string, params *GetInboxConversationParams, ...) (*GetInboxConversationResponse, error)
- func (c *ClientWithResponses) GetInboxPostCommentsWithResponse(ctx context.Context, postId string, params *GetInboxPostCommentsParams, ...) (*GetInboxPostCommentsResponse, error)
- func (c *ClientWithResponses) GetInstagramAccountInsightsWithResponse(ctx context.Context, params *GetInstagramAccountInsightsParams, ...) (*GetInstagramAccountInsightsResponse, error)
- func (c *ClientWithResponses) GetInstagramDemographicsWithResponse(ctx context.Context, params *GetInstagramDemographicsParams, ...) (*GetInstagramDemographicsResponse, error)
- func (c *ClientWithResponses) GetInstagramFollowerHistoryWithResponse(ctx context.Context, params *GetInstagramFollowerHistoryParams, ...) (*GetInstagramFollowerHistoryResponse, error)
- func (c *ClientWithResponses) GetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetInstagramIceBreakersResponse, error)
- func (c *ClientWithResponses) GetLinkedInAggregateAnalyticsWithResponse(ctx context.Context, accountId string, ...) (*GetLinkedInAggregateAnalyticsResponse, error)
- func (c *ClientWithResponses) GetLinkedInMentionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, ...) (*GetLinkedInMentionsResponse, error)
- func (c *ClientWithResponses) GetLinkedInOrgAggregateAnalyticsWithResponse(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, ...) (*GetLinkedInOrgAggregateAnalyticsResponse, error)
- func (c *ClientWithResponses) GetLinkedInOrganizationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetLinkedInOrganizationsResponse, error)
- func (c *ClientWithResponses) GetLinkedInPostAnalyticsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, ...) (*GetLinkedInPostAnalyticsResponse, error)
- func (c *ClientWithResponses) GetLinkedInPostReactionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, ...) (*GetLinkedInPostReactionsResponse, error)
- func (c *ClientWithResponses) GetMediaPresignedUrlWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*GetMediaPresignedUrlResponse, error)
- func (c *ClientWithResponses) GetMediaPresignedUrlWithResponse(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, ...) (*GetMediaPresignedUrlResponse, error)
- func (c *ClientWithResponses) GetMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetMessengerMenuResponse, error)
- func (c *ClientWithResponses) GetNextQueueSlotWithResponse(ctx context.Context, params *GetNextQueueSlotParams, ...) (*GetNextQueueSlotResponse, error)
- func (c *ClientWithResponses) GetPendingOAuthDataWithResponse(ctx context.Context, params *GetPendingOAuthDataParams, ...) (*GetPendingOAuthDataResponse, error)
- func (c *ClientWithResponses) GetPinterestBoardsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetPinterestBoardsResponse, error)
- func (c *ClientWithResponses) GetPostTimelineWithResponse(ctx context.Context, params *GetPostTimelineParams, ...) (*GetPostTimelineResponse, error)
- func (c *ClientWithResponses) GetPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*GetPostResponse, error)
- func (c *ClientWithResponses) GetPostingFrequencyWithResponse(ctx context.Context, params *GetPostingFrequencyParams, ...) (*GetPostingFrequencyResponse, error)
- func (c *ClientWithResponses) GetProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
- func (c *ClientWithResponses) GetRedditFeedWithResponse(ctx context.Context, params *GetRedditFeedParams, ...) (*GetRedditFeedResponse, error)
- func (c *ClientWithResponses) GetRedditFlairsWithResponse(ctx context.Context, accountId string, params *GetRedditFlairsParams, ...) (*GetRedditFlairsResponse, error)
- func (c *ClientWithResponses) GetRedditSubredditsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetRedditSubredditsResponse, error)
- func (c *ClientWithResponses) GetSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*GetSequenceResponse, error)
- func (c *ClientWithResponses) GetTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetTelegramCommandsResponse, error)
- func (c *ClientWithResponses) GetTelegramConnectStatusWithResponse(ctx context.Context, params *GetTelegramConnectStatusParams, ...) (*GetTelegramConnectStatusResponse, error)
- func (c *ClientWithResponses) GetTikTokAccountInsightsWithResponse(ctx context.Context, params *GetTikTokAccountInsightsParams, ...) (*GetTikTokAccountInsightsResponse, error)
- func (c *ClientWithResponses) GetTikTokCreatorInfoWithResponse(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, ...) (*GetTikTokCreatorInfoResponse, error)
- func (c *ClientWithResponses) GetUsageStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageStatsResponse, error)
- func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
- func (c *ClientWithResponses) GetWebhookSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookSettingsResponse, error)
- func (c *ClientWithResponses) GetWhatsAppBusinessProfileWithResponse(ctx context.Context, params *GetWhatsAppBusinessProfileParams, ...) (*GetWhatsAppBusinessProfileResponse, error)
- func (c *ClientWithResponses) GetWhatsAppDisplayNameWithResponse(ctx context.Context, params *GetWhatsAppDisplayNameParams, ...) (*GetWhatsAppDisplayNameResponse, error)
- func (c *ClientWithResponses) GetWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, ...) (*GetWhatsAppFlowJsonResponse, error)
- func (c *ClientWithResponses) GetWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, ...) (*GetWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) GetWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, ...) (*GetWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) GetWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*GetWhatsAppPhoneNumberResponse, error)
- func (c *ClientWithResponses) GetWhatsAppPhoneNumbersWithResponse(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, ...) (*GetWhatsAppPhoneNumbersResponse, error)
- func (c *ClientWithResponses) GetWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, ...) (*GetWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) GetWhatsAppTemplatesWithResponse(ctx context.Context, params *GetWhatsAppTemplatesParams, ...) (*GetWhatsAppTemplatesResponse, error)
- func (c *ClientWithResponses) GetYouTubeChannelInsightsWithResponse(ctx context.Context, params *GetYouTubeChannelInsightsParams, ...) (*GetYouTubeChannelInsightsResponse, error)
- func (c *ClientWithResponses) GetYouTubeDailyViewsWithResponse(ctx context.Context, params *GetYouTubeDailyViewsParams, ...) (*GetYouTubeDailyViewsResponse, error)
- func (c *ClientWithResponses) GetYouTubeDemographicsWithResponse(ctx context.Context, params *GetYouTubeDemographicsParams, ...) (*GetYouTubeDemographicsResponse, error)
- func (c *ClientWithResponses) GetYoutubePlaylistsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetYoutubePlaylistsResponse, error)
- func (c *ClientWithResponses) HandleOAuthCallbackWithBodyWithResponse(ctx context.Context, platform string, contentType string, body io.Reader, ...) (*HandleOAuthCallbackResponse, error)
- func (c *ClientWithResponses) HandleOAuthCallbackWithResponse(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, ...) (*HandleOAuthCallbackResponse, error)
- func (c *ClientWithResponses) HideInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, ...) (*HideInboxCommentResponse, error)
- func (c *ClientWithResponses) HideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, ...) (*HideInboxCommentResponse, error)
- func (c *ClientWithResponses) InitiateTelegramConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*InitiateTelegramConnectResponse, error)
- func (c *ClientWithResponses) InitiateTelegramConnectWithResponse(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, ...) (*InitiateTelegramConnectResponse, error)
- func (c *ClientWithResponses) LikeInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, ...) (*LikeInboxCommentResponse, error)
- func (c *ClientWithResponses) LikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, ...) (*LikeInboxCommentResponse, error)
- func (c *ClientWithResponses) ListAccountGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountGroupsResponse, error)
- func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
- func (c *ClientWithResponses) ListAdAccountsWithResponse(ctx context.Context, params *ListAdAccountsParams, ...) (*ListAdAccountsResponse, error)
- func (c *ClientWithResponses) ListAdAudiencesWithResponse(ctx context.Context, params *ListAdAudiencesParams, ...) (*ListAdAudiencesResponse, error)
- func (c *ClientWithResponses) ListAdCampaignsWithResponse(ctx context.Context, params *ListAdCampaignsParams, ...) (*ListAdCampaignsResponse, error)
- func (c *ClientWithResponses) ListAdsBusinessCentersWithResponse(ctx context.Context, params *ListAdsBusinessCentersParams, ...) (*ListAdsBusinessCentersResponse, error)
- func (c *ClientWithResponses) ListAdsWithResponse(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*ListAdsResponse, error)
- func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
- func (c *ClientWithResponses) ListBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, ...) (*ListBroadcastRecipientsResponse, error)
- func (c *ClientWithResponses) ListBroadcastsWithResponse(ctx context.Context, params *ListBroadcastsParams, ...) (*ListBroadcastsResponse, error)
- func (c *ClientWithResponses) ListCommentAutomationLogsWithResponse(ctx context.Context, automationId string, ...) (*ListCommentAutomationLogsResponse, error)
- func (c *ClientWithResponses) ListCommentAutomationsWithResponse(ctx context.Context, params *ListCommentAutomationsParams, ...) (*ListCommentAutomationsResponse, error)
- func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
- func (c *ClientWithResponses) ListConversionDestinationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*ListConversionDestinationsResponse, error)
- func (c *ClientWithResponses) ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, ...) (*ListCustomFieldsResponse, error)
- func (c *ClientWithResponses) ListFacebookPagesWithResponse(ctx context.Context, params *ListFacebookPagesParams, ...) (*ListFacebookPagesResponse, error)
- func (c *ClientWithResponses) ListGoogleBusinessLocationsWithResponse(ctx context.Context, params *ListGoogleBusinessLocationsParams, ...) (*ListGoogleBusinessLocationsResponse, error)
- func (c *ClientWithResponses) ListGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, ...) (*ListGoogleBusinessMediaResponse, error)
- func (c *ClientWithResponses) ListGoogleBusinessPlaceActionsWithResponse(ctx context.Context, accountId string, ...) (*ListGoogleBusinessPlaceActionsResponse, error)
- func (c *ClientWithResponses) ListInboxCommentsWithResponse(ctx context.Context, params *ListInboxCommentsParams, ...) (*ListInboxCommentsResponse, error)
- func (c *ClientWithResponses) ListInboxConversationsWithResponse(ctx context.Context, params *ListInboxConversationsParams, ...) (*ListInboxConversationsResponse, error)
- func (c *ClientWithResponses) ListInboxReviewsWithResponse(ctx context.Context, params *ListInboxReviewsParams, ...) (*ListInboxReviewsResponse, error)
- func (c *ClientWithResponses) ListLinkedInOrganizationsWithResponse(ctx context.Context, params *ListLinkedInOrganizationsParams, ...) (*ListLinkedInOrganizationsResponse, error)
- func (c *ClientWithResponses) ListLogsWithResponse(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*ListLogsResponse, error)
- func (c *ClientWithResponses) ListPinterestBoardsForSelectionWithResponse(ctx context.Context, params *ListPinterestBoardsForSelectionParams, ...) (*ListPinterestBoardsForSelectionResponse, error)
- func (c *ClientWithResponses) ListPostsWithResponse(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*ListPostsResponse, error)
- func (c *ClientWithResponses) ListProfilesWithResponse(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*ListProfilesResponse, error)
- func (c *ClientWithResponses) ListQueueSlotsWithResponse(ctx context.Context, params *ListQueueSlotsParams, ...) (*ListQueueSlotsResponse, error)
- func (c *ClientWithResponses) ListSequenceEnrollmentsWithResponse(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, ...) (*ListSequenceEnrollmentsResponse, error)
- func (c *ClientWithResponses) ListSequencesWithResponse(ctx context.Context, params *ListSequencesParams, ...) (*ListSequencesResponse, error)
- func (c *ClientWithResponses) ListSnapchatProfilesWithResponse(ctx context.Context, params *ListSnapchatProfilesParams, ...) (*ListSnapchatProfilesResponse, error)
- func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
- func (c *ClientWithResponses) ListWhatsAppFlowsWithResponse(ctx context.Context, params *ListWhatsAppFlowsParams, ...) (*ListWhatsAppFlowsResponse, error)
- func (c *ClientWithResponses) ListWhatsAppGroupChatsWithResponse(ctx context.Context, params *ListWhatsAppGroupChatsParams, ...) (*ListWhatsAppGroupChatsResponse, error)
- func (c *ClientWithResponses) ListWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, ...) (*ListWhatsAppGroupJoinRequestsResponse, error)
- func (c *ClientWithResponses) PauseSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*PauseSequenceResponse, error)
- func (c *ClientWithResponses) PreviewQueueWithResponse(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*PreviewQueueResponse, error)
- func (c *ClientWithResponses) PublishWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*PublishWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) PublishWhatsAppFlowWithResponse(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, ...) (*PublishWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) PurchaseWhatsAppPhoneNumberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PurchaseWhatsAppPhoneNumberResponse, error)
- func (c *ClientWithResponses) PurchaseWhatsAppPhoneNumberWithResponse(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, ...) (*PurchaseWhatsAppPhoneNumberResponse, error)
- func (c *ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, ...) (*RejectWhatsAppGroupJoinRequestsResponse, error)
- func (c *ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, ...) (*RejectWhatsAppGroupJoinRequestsResponse, error)
- func (c *ClientWithResponses) ReleaseWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*ReleaseWhatsAppPhoneNumberResponse, error)
- func (c *ClientWithResponses) RemoveBookmarkWithResponse(ctx context.Context, params *RemoveBookmarkParams, ...) (*RemoveBookmarkResponse, error)
- func (c *ClientWithResponses) RemoveMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, ...) (*RemoveMessageReactionResponse, error)
- func (c *ClientWithResponses) RemoveWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, ...) (*RemoveWhatsAppGroupParticipantsResponse, error)
- func (c *ClientWithResponses) RemoveWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, ...) (*RemoveWhatsAppGroupParticipantsResponse, error)
- func (c *ClientWithResponses) ReplyToInboxPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*ReplyToInboxPostResponse, error)
- func (c *ClientWithResponses) ReplyToInboxPostWithResponse(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, ...) (*ReplyToInboxPostResponse, error)
- func (c *ClientWithResponses) ReplyToInboxReviewWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, ...) (*ReplyToInboxReviewResponse, error)
- func (c *ClientWithResponses) ReplyToInboxReviewWithResponse(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, ...) (*ReplyToInboxReviewResponse, error)
- func (c *ClientWithResponses) RetryPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*RetryPostResponse, error)
- func (c *ClientWithResponses) RetweetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*RetweetPostResponse, error)
- func (c *ClientWithResponses) RetweetPostWithResponse(ctx context.Context, body RetweetPostJSONRequestBody, ...) (*RetweetPostResponse, error)
- func (c *ClientWithResponses) ScheduleBroadcastWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, ...) (*ScheduleBroadcastResponse, error)
- func (c *ClientWithResponses) ScheduleBroadcastWithResponse(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, ...) (*ScheduleBroadcastResponse, error)
- func (c *ClientWithResponses) SearchAdInterestsWithResponse(ctx context.Context, params *SearchAdInterestsParams, ...) (*SearchAdInterestsResponse, error)
- func (c *ClientWithResponses) SearchRedditWithResponse(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*SearchRedditResponse, error)
- func (c *ClientWithResponses) SelectFacebookPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SelectFacebookPageResponse, error)
- func (c *ClientWithResponses) SelectFacebookPageWithResponse(ctx context.Context, body SelectFacebookPageJSONRequestBody, ...) (*SelectFacebookPageResponse, error)
- func (c *ClientWithResponses) SelectGoogleBusinessLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SelectGoogleBusinessLocationResponse, error)
- func (c *ClientWithResponses) SelectGoogleBusinessLocationWithResponse(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, ...) (*SelectGoogleBusinessLocationResponse, error)
- func (c *ClientWithResponses) SelectLinkedInOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SelectLinkedInOrganizationResponse, error)
- func (c *ClientWithResponses) SelectLinkedInOrganizationWithResponse(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, ...) (*SelectLinkedInOrganizationResponse, error)
- func (c *ClientWithResponses) SelectPinterestBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SelectPinterestBoardResponse, error)
- func (c *ClientWithResponses) SelectPinterestBoardWithResponse(ctx context.Context, body SelectPinterestBoardJSONRequestBody, ...) (*SelectPinterestBoardResponse, error)
- func (c *ClientWithResponses) SelectSnapchatProfileWithBodyWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, ...) (*SelectSnapchatProfileResponse, error)
- func (c *ClientWithResponses) SelectSnapchatProfileWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, ...) (*SelectSnapchatProfileResponse, error)
- func (c *ClientWithResponses) SendBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*SendBroadcastResponse, error)
- func (c *ClientWithResponses) SendConversionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendConversionsResponse, error)
- func (c *ClientWithResponses) SendConversionsWithResponse(ctx context.Context, body SendConversionsJSONRequestBody, ...) (*SendConversionsResponse, error)
- func (c *ClientWithResponses) SendInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*SendInboxMessageResponse, error)
- func (c *ClientWithResponses) SendInboxMessageWithResponse(ctx context.Context, conversationId string, ...) (*SendInboxMessageResponse, error)
- func (c *ClientWithResponses) SendPrivateReplyToCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, ...) (*SendPrivateReplyToCommentResponse, error)
- func (c *ClientWithResponses) SendPrivateReplyToCommentWithResponse(ctx context.Context, postId string, commentId string, ...) (*SendPrivateReplyToCommentResponse, error)
- func (c *ClientWithResponses) SendTypingIndicatorWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*SendTypingIndicatorResponse, error)
- func (c *ClientWithResponses) SendTypingIndicatorWithResponse(ctx context.Context, conversationId string, ...) (*SendTypingIndicatorResponse, error)
- func (c *ClientWithResponses) SendWhatsAppConversionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendWhatsAppConversionResponse, error)
- func (c *ClientWithResponses) SendWhatsAppConversionWithResponse(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, ...) (*SendWhatsAppConversionResponse, error)
- func (c *ClientWithResponses) SendWhatsAppFlowMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendWhatsAppFlowMessageResponse, error)
- func (c *ClientWithResponses) SendWhatsAppFlowMessageWithResponse(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, ...) (*SendWhatsAppFlowMessageResponse, error)
- func (c *ClientWithResponses) SetContactFieldValueWithBodyWithResponse(ctx context.Context, contactId string, slug string, contentType string, ...) (*SetContactFieldValueResponse, error)
- func (c *ClientWithResponses) SetContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, ...) (*SetContactFieldValueResponse, error)
- func (c *ClientWithResponses) SetInstagramIceBreakersWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*SetInstagramIceBreakersResponse, error)
- func (c *ClientWithResponses) SetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, ...) (*SetInstagramIceBreakersResponse, error)
- func (c *ClientWithResponses) SetMessengerMenuWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*SetMessengerMenuResponse, error)
- func (c *ClientWithResponses) SetMessengerMenuWithResponse(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, ...) (*SetMessengerMenuResponse, error)
- func (c *ClientWithResponses) SetTelegramCommandsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*SetTelegramCommandsResponse, error)
- func (c *ClientWithResponses) SetTelegramCommandsWithResponse(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, ...) (*SetTelegramCommandsResponse, error)
- func (c *ClientWithResponses) TestWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*TestWebhookResponse, error)
- func (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, body TestWebhookJSONRequestBody, ...) (*TestWebhookResponse, error)
- func (c *ClientWithResponses) UndoRetweetWithResponse(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*UndoRetweetResponse, error)
- func (c *ClientWithResponses) UnenrollContactWithResponse(ctx context.Context, sequenceId string, contactId string, ...) (*UnenrollContactResponse, error)
- func (c *ClientWithResponses) UnfollowUserWithResponse(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*UnfollowUserResponse, error)
- func (c *ClientWithResponses) UnhideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, ...) (*UnhideInboxCommentResponse, error)
- func (c *ClientWithResponses) UnlikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, ...) (*UnlikeInboxCommentResponse, error)
- func (c *ClientWithResponses) UnpublishPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*UnpublishPostResponse, error)
- func (c *ClientWithResponses) UnpublishPostWithResponse(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, ...) (*UnpublishPostResponse, error)
- func (c *ClientWithResponses) UpdateAccountGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, ...) (*UpdateAccountGroupResponse, error)
- func (c *ClientWithResponses) UpdateAccountGroupWithResponse(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, ...) (*UpdateAccountGroupResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, ...) (*UpdateAccountResponse, error)
- func (c *ClientWithResponses) UpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*UpdateAdCampaignStatusResponse, error)
- func (c *ClientWithResponses) UpdateAdCampaignStatusWithResponse(ctx context.Context, campaignId string, ...) (*UpdateAdCampaignStatusResponse, error)
- func (c *ClientWithResponses) UpdateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, ...) (*UpdateAdCampaignResponse, error)
- func (c *ClientWithResponses) UpdateAdCampaignWithResponse(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, ...) (*UpdateAdCampaignResponse, error)
- func (c *ClientWithResponses) UpdateAdSetStatusWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, ...) (*UpdateAdSetStatusResponse, error)
- func (c *ClientWithResponses) UpdateAdSetStatusWithResponse(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, ...) (*UpdateAdSetStatusResponse, error)
- func (c *ClientWithResponses) UpdateAdSetWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, ...) (*UpdateAdSetResponse, error)
- func (c *ClientWithResponses) UpdateAdSetWithResponse(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, ...) (*UpdateAdSetResponse, error)
- func (c *ClientWithResponses) UpdateAdWithBodyWithResponse(ctx context.Context, adId string, contentType string, body io.Reader, ...) (*UpdateAdResponse, error)
- func (c *ClientWithResponses) UpdateAdWithResponse(ctx context.Context, adId string, body UpdateAdJSONRequestBody, ...) (*UpdateAdResponse, error)
- func (c *ClientWithResponses) UpdateBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*UpdateBroadcastResponse, error)
- func (c *ClientWithResponses) UpdateCommentAutomationWithBodyWithResponse(ctx context.Context, automationId string, contentType string, body io.Reader, ...) (*UpdateCommentAutomationResponse, error)
- func (c *ClientWithResponses) UpdateCommentAutomationWithResponse(ctx context.Context, automationId string, ...) (*UpdateCommentAutomationResponse, error)
- func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, ...) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, ...) (*UpdateContactResponse, error)
- func (c *ClientWithResponses) UpdateCustomFieldWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, ...) (*UpdateCustomFieldResponse, error)
- func (c *ClientWithResponses) UpdateCustomFieldWithResponse(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, ...) (*UpdateCustomFieldResponse, error)
- func (c *ClientWithResponses) UpdateDiscordSettingsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateDiscordSettingsResponse, error)
- func (c *ClientWithResponses) UpdateDiscordSettingsWithResponse(ctx context.Context, accountId string, ...) (*UpdateDiscordSettingsResponse, error)
- func (c *ClientWithResponses) UpdateFacebookPageWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateFacebookPageResponse, error)
- func (c *ClientWithResponses) UpdateFacebookPageWithResponse(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, ...) (*UpdateFacebookPageResponse, error)
- func (c *ClientWithResponses) UpdateGmbLocationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateGmbLocationResponse, error)
- func (c *ClientWithResponses) UpdateGmbLocationWithResponse(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, ...) (*UpdateGmbLocationResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithBodyWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessAttributesResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessAttributesResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithBodyWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessFoodMenusResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessFoodMenusResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithBodyWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessLocationDetailsResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessLocationDetailsResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessPlaceActionResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessPlaceActionResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessServicesWithBodyWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessServicesResponse, error)
- func (c *ClientWithResponses) UpdateGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, ...) (*UpdateGoogleBusinessServicesResponse, error)
- func (c *ClientWithResponses) UpdateInboxConversationWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, ...) (*UpdateInboxConversationResponse, error)
- func (c *ClientWithResponses) UpdateInboxConversationWithResponse(ctx context.Context, conversationId string, ...) (*UpdateInboxConversationResponse, error)
- func (c *ClientWithResponses) UpdateLinkedInOrganizationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateLinkedInOrganizationResponse, error)
- func (c *ClientWithResponses) UpdateLinkedInOrganizationWithResponse(ctx context.Context, accountId string, ...) (*UpdateLinkedInOrganizationResponse, error)
- func (c *ClientWithResponses) UpdatePinterestBoardsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdatePinterestBoardsResponse, error)
- func (c *ClientWithResponses) UpdatePinterestBoardsWithResponse(ctx context.Context, accountId string, ...) (*UpdatePinterestBoardsResponse, error)
- func (c *ClientWithResponses) UpdatePostMetadataWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*UpdatePostMetadataResponse, error)
- func (c *ClientWithResponses) UpdatePostMetadataWithResponse(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, ...) (*UpdatePostMetadataResponse, error)
- func (c *ClientWithResponses) UpdatePostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, ...) (*UpdatePostResponse, error)
- func (c *ClientWithResponses) UpdatePostWithResponse(ctx context.Context, postId string, body UpdatePostJSONRequestBody, ...) (*UpdatePostResponse, error)
- func (c *ClientWithResponses) UpdateProfileWithBodyWithResponse(ctx context.Context, profileId string, contentType string, body io.Reader, ...) (*UpdateProfileResponse, error)
- func (c *ClientWithResponses) UpdateProfileWithResponse(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, ...) (*UpdateProfileResponse, error)
- func (c *ClientWithResponses) UpdateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateQueueSlotResponse, error)
- func (c *ClientWithResponses) UpdateQueueSlotWithResponse(ctx context.Context, body UpdateQueueSlotJSONRequestBody, ...) (*UpdateQueueSlotResponse, error)
- func (c *ClientWithResponses) UpdateRedditSubredditsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateRedditSubredditsResponse, error)
- func (c *ClientWithResponses) UpdateRedditSubredditsWithResponse(ctx context.Context, accountId string, ...) (*UpdateRedditSubredditsResponse, error)
- func (c *ClientWithResponses) UpdateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)
- func (c *ClientWithResponses) UpdateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateWebhookSettingsResponse, error)
- func (c *ClientWithResponses) UpdateWebhookSettingsWithResponse(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, ...) (*UpdateWebhookSettingsResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppBusinessProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateWhatsAppBusinessProfileResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppBusinessProfileWithResponse(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, ...) (*UpdateWhatsAppBusinessProfileResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppDisplayNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateWhatsAppDisplayNameResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppDisplayNameWithResponse(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, ...) (*UpdateWhatsAppDisplayNameResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*UpdateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, ...) (*UpdateWhatsAppFlowResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*UpdateWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, ...) (*UpdateWhatsAppGroupChatResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, templateName string, contentType string, body io.Reader, ...) (*UpdateWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) UpdateWhatsAppTemplateWithResponse(ctx context.Context, templateName string, ...) (*UpdateWhatsAppTemplateResponse, error)
- func (c *ClientWithResponses) UpdateYoutubeDefaultPlaylistWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, ...) (*UpdateYoutubeDefaultPlaylistResponse, error)
- func (c *ClientWithResponses) UpdateYoutubeDefaultPlaylistWithResponse(ctx context.Context, accountId string, ...) (*UpdateYoutubeDefaultPlaylistResponse, error)
- func (c *ClientWithResponses) UploadMediaDirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadMediaDirectResponse, error)
- func (c *ClientWithResponses) UploadWhatsAppFlowJsonWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, ...) (*UploadWhatsAppFlowJsonResponse, error)
- func (c *ClientWithResponses) UploadWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, ...) (*UploadWhatsAppFlowJsonResponse, error)
- func (c *ClientWithResponses) UploadWhatsAppProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadWhatsAppProfilePhotoResponse, error)
- func (c *ClientWithResponses) ValidateMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ValidateMediaResponse, error)
- func (c *ClientWithResponses) ValidateMediaWithResponse(ctx context.Context, body ValidateMediaJSONRequestBody, ...) (*ValidateMediaResponse, error)
- func (c *ClientWithResponses) ValidatePostLengthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ValidatePostLengthResponse, error)
- func (c *ClientWithResponses) ValidatePostLengthWithResponse(ctx context.Context, body ValidatePostLengthJSONRequestBody, ...) (*ValidatePostLengthResponse, error)
- func (c *ClientWithResponses) ValidatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ValidatePostResponse, error)
- func (c *ClientWithResponses) ValidatePostWithResponse(ctx context.Context, body ValidatePostJSONRequestBody, ...) (*ValidatePostResponse, error)
- func (c *ClientWithResponses) ValidateSubredditWithResponse(ctx context.Context, params *ValidateSubredditParams, ...) (*ValidateSubredditResponse, error)
- type ClientWithResponsesInterface
- type CompleteTelegramConnect2000
- type CompleteTelegramConnect2000Status
- type CompleteTelegramConnect2001
- type CompleteTelegramConnect2001ChatType
- type CompleteTelegramConnect2001Status
- type CompleteTelegramConnect2002
- type CompleteTelegramConnect2002Status
- type CompleteTelegramConnectParams
- type CompleteTelegramConnectResponse
- type ConnectAds2000
- type ConnectAds2001
- type ConnectAdsParams
- type ConnectAdsParamsPlatform
- type ConnectAdsResponse
- type ConnectBlueskyCredentialsJSONBody
- type ConnectBlueskyCredentialsJSONRequestBody
- type ConnectBlueskyCredentialsResponse
- type ConnectWhatsAppCredentials200AccountPlatform
- type ConnectWhatsAppCredentialsJSONBody
- type ConnectWhatsAppCredentialsJSONRequestBody
- type ConnectWhatsAppCredentialsResponse
- type ConversionEvent
- type ConversionEventActionSource
- type CreateAccountGroupJSONBody
- type CreateAccountGroupJSONRequestBody
- type CreateAccountGroupResponse
- type CreateAdAudienceJSONBody
- type CreateAdAudienceJSONBodyType
- type CreateAdAudienceJSONRequestBody
- type CreateAdAudienceResponse
- type CreateApiKeyJSONBody
- type CreateApiKeyJSONBodyPermission
- type CreateApiKeyJSONBodyScope
- type CreateApiKeyJSONRequestBody
- type CreateApiKeyResponse
- type CreateBroadcastJSONBody
- type CreateBroadcastJSONBodyPlatform
- type CreateBroadcastJSONRequestBody
- type CreateBroadcastResponse
- type CreateCommentAutomation200AutomationMatchMode
- type CreateCommentAutomationJSONBody
- type CreateCommentAutomationJSONBodyMatchMode
- type CreateCommentAutomationJSONRequestBody
- type CreateCommentAutomationResponse
- type CreateContactJSONBody
- type CreateContactJSONRequestBody
- type CreateContactResponse
- type CreateCtwaAdJSONBody
- type CreateCtwaAdJSONBodyAdvantageAudience
- type CreateCtwaAdJSONBodyBudgetType
- type CreateCtwaAdJSONBodyObjective
- type CreateCtwaAdJSONRequestBody
- type CreateCtwaAdResponse
- type CreateCustomField200FieldType
- type CreateCustomFieldJSONBody
- type CreateCustomFieldJSONBodyType
- type CreateCustomFieldJSONRequestBody
- type CreateCustomFieldResponse
- type CreateGoogleBusinessMediaJSONBody
- type CreateGoogleBusinessMediaJSONBodyCategory
- type CreateGoogleBusinessMediaJSONBodyMediaFormat
- type CreateGoogleBusinessMediaJSONRequestBody
- type CreateGoogleBusinessMediaParams
- type CreateGoogleBusinessMediaResponse
- type CreateGoogleBusinessPlaceActionJSONBody
- type CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType
- type CreateGoogleBusinessPlaceActionJSONRequestBody
- type CreateGoogleBusinessPlaceActionParams
- type CreateGoogleBusinessPlaceActionResponse
- type CreateInboxConversation400Code
- type CreateInboxConversation422Code
- type CreateInboxConversationJSONBody
- type CreateInboxConversationJSONRequestBody
- type CreateInboxConversationMultipartBody
- type CreateInboxConversationMultipartBodySkipDmCheck
- type CreateInboxConversationMultipartRequestBody
- type CreateInboxConversationResponse
- type CreateInviteTokenJSONBody
- type CreateInviteTokenJSONBodyScope
- type CreateInviteTokenJSONRequestBody
- type CreateInviteTokenResponse
- type CreatePostJSONBody
- type CreatePostJSONBodyMediaItemsType
- type CreatePostJSONBodyPlatformsCustomMediaType
- type CreatePostJSONBody_Platforms_PlatformSpecificData
- type CreatePostJSONRequestBody
- type CreatePostResponse
- type CreateProfileJSONBody
- type CreateProfileJSONRequestBody
- type CreateProfileResponse
- type CreateQueueSlotJSONBody
- type CreateQueueSlotJSONRequestBody
- type CreateQueueSlotResponse
- type CreateSequenceJSONBody
- type CreateSequenceJSONBodyPlatform
- type CreateSequenceJSONBodyStepsTemplateVariableMappingField
- type CreateSequenceJSONRequestBody
- type CreateSequenceResponse
- type CreateStandaloneAd2010
- type CreateStandaloneAd2011
- type CreateStandaloneAdJSONBody
- type CreateStandaloneAdJSONBodyAdvantageAudience
- type CreateStandaloneAdJSONBodyBudgetType
- type CreateStandaloneAdJSONBodyCallToAction
- type CreateStandaloneAdJSONBodyCampaignType
- type CreateStandaloneAdJSONBodyCreativesCallToAction
- type CreateStandaloneAdJSONBodyGender
- type CreateStandaloneAdJSONBodyGoal
- type CreateStandaloneAdJSONRequestBody
- type CreateStandaloneAdResponse
- type CreateWebhookSettingsJSONBody
- type CreateWebhookSettingsJSONBodyEvents
- type CreateWebhookSettingsJSONRequestBody
- type CreateWebhookSettingsResponse
- type CreateWhatsAppFlowJSONBody
- type CreateWhatsAppFlowJSONBodyCategories
- type CreateWhatsAppFlowJSONRequestBody
- type CreateWhatsAppFlowResponse
- type CreateWhatsAppGroupChatJSONBody
- type CreateWhatsAppGroupChatJSONBodyJoinApprovalMode
- type CreateWhatsAppGroupChatJSONRequestBody
- type CreateWhatsAppGroupChatResponse
- type CreateWhatsAppGroupInviteLinkParams
- type CreateWhatsAppGroupInviteLinkResponse
- type CreateWhatsAppTemplateJSONBody
- type CreateWhatsAppTemplateJSONBodyCategory
- type CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType
- type CreateWhatsAppTemplateJSONRequestBody
- type CreateWhatsAppTemplateResponse
- type DeleteAccountGroupResponse
- type DeleteAccountResponse
- type DeleteAdAudienceResponse
- type DeleteAdCampaignJSONBody
- type DeleteAdCampaignJSONBodyPlatform
- type DeleteAdCampaignJSONRequestBody
- type DeleteAdCampaignResponse
- type DeleteAdResponse
- type DeleteApiKeyResponse
- type DeleteBroadcastResponse
- type DeleteCommentAutomationResponse
- type DeleteContactResponse
- type DeleteCustomFieldResponse
- type DeleteGoogleBusinessMediaParams
- type DeleteGoogleBusinessMediaResponse
- type DeleteGoogleBusinessPlaceActionParams
- type DeleteGoogleBusinessPlaceActionResponse
- type DeleteInboxCommentParams
- type DeleteInboxCommentResponse
- type DeleteInboxMessageParams
- type DeleteInboxMessageResponse
- type DeleteInboxReviewReplyJSONBody
- type DeleteInboxReviewReplyJSONRequestBody
- type DeleteInboxReviewReplyResponse
- type DeleteInstagramIceBreakersResponse
- type DeleteMessengerMenuResponse
- type DeletePostResponse
- type DeleteProfileResponse
- type DeleteQueueSlotParams
- type DeleteQueueSlotResponse
- type DeleteSequenceResponse
- type DeleteTelegramCommandsResponse
- type DeleteWebhookSettingsParams
- type DeleteWebhookSettingsResponse
- type DeleteWhatsAppFlowParams
- type DeleteWhatsAppFlowResponse
- type DeleteWhatsAppGroupChatParams
- type DeleteWhatsAppGroupChatResponse
- type DeleteWhatsAppTemplateParams
- type DeleteWhatsAppTemplateResponse
- type DeprecateWhatsAppFlowJSONBody
- type DeprecateWhatsAppFlowJSONRequestBody
- type DeprecateWhatsAppFlowResponse
- type DiscordPlatformData
- type DiscordPlatformDataThreadFromMessageAutoArchiveDuration
- type DuplicateAdCampaign200Discovery
- type DuplicateAdCampaignJSONBody
- type DuplicateAdCampaignJSONBodyPlatform
- type DuplicateAdCampaignJSONBodyRenameStrategy
- type DuplicateAdCampaignJSONBodyStatusOption
- type DuplicateAdCampaignJSONRequestBody
- type DuplicateAdCampaignResponse
- type EditInboxMessageJSONBody
- type EditInboxMessageJSONBodyReplyMarkupType
- type EditInboxMessageJSONRequestBody
- type EditInboxMessageResponse
- type EditPostJSONBody
- type EditPostJSONBodyPlatform
- type EditPostJSONRequestBody
- type EditPostResponse
- type EnrollContactsJSONBody
- type EnrollContactsJSONRequestBody
- type EnrollContactsResponse
- type ErrorResponse
- type FacebookPlatformData
- type FacebookPlatformDataContentType
- type FollowUserJSONBody
- type FollowUserJSONRequestBody
- type FollowUserResponse
- type FoodMenu
- type FoodMenuItem
- type FoodMenuItemAttributes
- type FoodMenuLabel
- type FoodMenuSection
- type GeoRestriction
- type GetAccountHealth200Status
- type GetAccountHealthResponse
- type GetAdAnalyticsParams
- type GetAdAnalyticsResponse
- type GetAdAudienceResponse
- type GetAdComments200MetaPlatform
- type GetAdComments200Status
- type GetAdCommentsParams
- type GetAdCommentsResponse
- type GetAdResponse
- type GetAdTreeParams
- type GetAdTreeParamsPlatform
- type GetAdTreeParamsSource
- type GetAdTreeResponse
- type GetAllAccountsHealth200AccountsStatus
- type GetAllAccountsHealthParams
- type GetAllAccountsHealthParamsPlatform
- type GetAllAccountsHealthParamsStatus
- type GetAllAccountsHealthResponse
- type GetAnalyticsParams
- type GetAnalyticsParamsOrder
- type GetAnalyticsParamsSortBy
- type GetAnalyticsParamsSource
- type GetAnalyticsResponse
- type GetBestTimeToPostParams
- type GetBestTimeToPostParamsSource
- type GetBestTimeToPostResponse
- type GetBroadcast200BroadcastStatus
- type GetBroadcastResponse
- type GetCommentAutomation200AutomationMatchMode
- type GetCommentAutomation200LogsCommentReplyStatus
- type GetCommentAutomation200LogsStatus
- type GetCommentAutomationResponse
- type GetConnectUrlParams
- type GetConnectUrlParamsPlatform
- type GetConnectUrlResponse
- type GetContactChannelsResponse
- type GetContactResponse
- type GetContentDecayParams
- type GetContentDecayParamsSource
- type GetContentDecayResponse
- type GetDailyMetricsParams
- type GetDailyMetricsParamsSource
- type GetDailyMetricsResponse
- type GetDiscordChannelsResponse
- type GetDiscordSettingsResponse
- type GetFacebookPageInsightsParams
- type GetFacebookPageInsightsParamsMetricType
- type GetFacebookPageInsightsResponse
- type GetFacebookPagesResponse
- type GetFollowerStatsParams
- type GetFollowerStatsParamsGranularity
- type GetFollowerStatsResponse
- type GetGmbLocationsResponse
- type GetGoogleBusinessAttributesParams
- type GetGoogleBusinessAttributesResponse
- type GetGoogleBusinessFoodMenusParams
- type GetGoogleBusinessFoodMenusResponse
- type GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay
- type GetGoogleBusinessLocationDetailsParams
- type GetGoogleBusinessLocationDetailsResponse
- type GetGoogleBusinessPerformanceParams
- type GetGoogleBusinessPerformanceResponse
- type GetGoogleBusinessReviews200ReviewsStarRating
- type GetGoogleBusinessReviewsParams
- type GetGoogleBusinessReviewsResponse
- type GetGoogleBusinessSearchKeywordsParams
- type GetGoogleBusinessSearchKeywordsResponse
- type GetGoogleBusinessServicesParams
- type GetGoogleBusinessServicesResponse
- type GetInboxConversation200DataParticipantVerifiedType
- type GetInboxConversation200DataStatus
- type GetInboxConversationMessages200MessagesAttachmentsType
- type GetInboxConversationMessages200MessagesDeliveryStatus
- type GetInboxConversationMessages200MessagesDirection
- type GetInboxConversationMessages200MessagesSenderVerifiedType
- type GetInboxConversationMessages200SortOrderApplied
- type GetInboxConversationMessagesParams
- type GetInboxConversationMessagesParamsSortOrder
- type GetInboxConversationMessagesResponse
- type GetInboxConversationParams
- type GetInboxConversationResponse
- type GetInboxPostComments200CommentsFromVerifiedType
- type GetInboxPostCommentsParams
- type GetInboxPostCommentsResponse
- type GetInstagramAccountInsightsParams
- type GetInstagramAccountInsightsParamsMetricType
- type GetInstagramAccountInsightsResponse
- type GetInstagramDemographicsParams
- type GetInstagramDemographicsParamsMetric
- type GetInstagramDemographicsParamsTimeframe
- type GetInstagramDemographicsResponse
- type GetInstagramFollowerHistoryParams
- type GetInstagramFollowerHistoryParamsMetricType
- type GetInstagramFollowerHistoryResponse
- type GetInstagramIceBreakersResponse
- type GetLinkedInAggregateAnalyticsParams
- type GetLinkedInAggregateAnalyticsParamsAggregation
- type GetLinkedInAggregateAnalyticsResponse
- type GetLinkedInMentions200Type
- type GetLinkedInMentionsParams
- type GetLinkedInMentionsResponse
- type GetLinkedInOrgAggregateAnalyticsParams
- type GetLinkedInOrgAggregateAnalyticsParamsMetricType
- type GetLinkedInOrgAggregateAnalyticsResponse
- type GetLinkedInOrganizationsResponse
- type GetLinkedInPostAnalytics200AccountType
- type GetLinkedInPostAnalytics400Code
- type GetLinkedInPostAnalyticsParams
- type GetLinkedInPostAnalyticsResponse
- type GetLinkedInPostReactions400Code
- type GetLinkedInPostReactionsParams
- type GetLinkedInPostReactionsResponse
- type GetMediaPresignedUrl200Type
- type GetMediaPresignedUrlJSONBody
- type GetMediaPresignedUrlJSONBodyContentType
- type GetMediaPresignedUrlJSONRequestBody
- type GetMediaPresignedUrlResponse
- type GetMessengerMenuResponse
- type GetNextQueueSlotParams
- type GetNextQueueSlotResponse
- type GetPendingOAuthData200SelectionType
- type GetPendingOAuthDataParams
- type GetPendingOAuthDataResponse
- type GetPinterestBoardsResponse
- type GetPostResponse
- type GetPostTimelineParams
- type GetPostTimelineResponse
- type GetPostingFrequencyParams
- type GetPostingFrequencyParamsSource
- type GetPostingFrequencyResponse
- type GetProfileResponse
- type GetRedditFeedParams
- type GetRedditFeedParamsSort
- type GetRedditFeedParamsT
- type GetRedditFeedResponse
- type GetRedditFlairsParams
- type GetRedditFlairsResponse
- type GetRedditSubredditsResponse
- type GetSequence200SequenceStatus
- type GetSequenceResponse
- type GetTelegramCommandsResponse
- type GetTelegramConnectStatusParams
- type GetTelegramConnectStatusResponse
- type GetTikTokAccountInsightsParams
- type GetTikTokAccountInsightsParamsMetricType
- type GetTikTokAccountInsightsResponse
- type GetTikTokCreatorInfoParams
- type GetTikTokCreatorInfoParamsMediaType
- type GetTikTokCreatorInfoResponse
- type GetUsageStatsResponse
- type GetUserResponse
- type GetWebhookSettingsResponse
- type GetWhatsAppBusinessProfileParams
- type GetWhatsAppBusinessProfileResponse
- type GetWhatsAppDisplayName200DisplayNameStatus
- type GetWhatsAppDisplayNameParams
- type GetWhatsAppDisplayNameResponse
- type GetWhatsAppFlowJsonParams
- type GetWhatsAppFlowJsonResponse
- type GetWhatsAppFlowParams
- type GetWhatsAppFlowResponse
- type GetWhatsAppGroupChatParams
- type GetWhatsAppGroupChatResponse
- type GetWhatsAppPhoneNumber200PhoneNumberStatus
- type GetWhatsAppPhoneNumberResponse
- type GetWhatsAppPhoneNumbers200NumbersStatus
- type GetWhatsAppPhoneNumbersParams
- type GetWhatsAppPhoneNumbersParamsStatus
- type GetWhatsAppPhoneNumbersResponse
- type GetWhatsAppTemplateParams
- type GetWhatsAppTemplateResponse
- type GetWhatsAppTemplates200TemplatesCategory
- type GetWhatsAppTemplates200TemplatesStatus
- type GetWhatsAppTemplatesParams
- type GetWhatsAppTemplatesResponse
- type GetYouTubeChannelInsightsParams
- type GetYouTubeChannelInsightsParamsMetricType
- type GetYouTubeChannelInsightsResponse
- type GetYouTubeDailyViewsParams
- type GetYouTubeDailyViewsResponse
- type GetYouTubeDemographicsParams
- type GetYouTubeDemographicsResponse
- type GetYoutubePlaylists200PlaylistsPrivacy
- type GetYoutubePlaylistsResponse
- type GoogleBusinessPlatformData
- type GoogleBusinessPlatformDataCallToActionType
- type GoogleBusinessPlatformDataOfferOfferType
- type GoogleBusinessPlatformDataTopicType
- type HandleOAuthCallbackJSONBody
- type HandleOAuthCallbackJSONRequestBody
- type HandleOAuthCallbackResponse
- type HideInboxCommentJSONBody
- type HideInboxCommentJSONRequestBody
- type HideInboxCommentResponse
- type HttpRequestDoer
- type InitiateTelegramConnect200AccountChatType
- type InitiateTelegramConnect200AccountPlatform
- type InitiateTelegramConnectJSONBody
- type InitiateTelegramConnectJSONRequestBody
- type InitiateTelegramConnectResponse
- type InstagramAccountInsightsResponse
- type InstagramAccountInsightsResponseMetricType
- type InstagramAccountInsightsResponsePlatform
- type InstagramDemographicsResponse
- type InstagramDemographicsResponseMetric
- type InstagramDemographicsResponseTimeframe
- type InstagramPlatformData
- type InstagramPlatformDataContentType
- type InstagramPlatformDataTrialParamsGraduationStrategy
- type LikeInboxCommentJSONBody
- type LikeInboxCommentJSONRequestBody
- type LikeInboxCommentResponse
- type LimitParam
- type LinkedInAggregateAnalyticsDailyResponse
- type LinkedInAggregateAnalyticsDailyResponseAggregation
- type LinkedInAggregateAnalyticsTotalResponse
- type LinkedInAggregateAnalyticsTotalResponseAggregation
- type LinkedInPlatformData
- type ListAccountGroupsResponse
- type ListAccountsParams
- type ListAccountsResponse
- type ListAdAccountsParams
- type ListAdAccountsResponse
- type ListAdAudiences200AudiencesType
- type ListAdAudiencesParams
- type ListAdAudiencesParamsPlatform
- type ListAdAudiencesResponse
- type ListAdCampaignsParams
- type ListAdCampaignsParamsPlatform
- type ListAdCampaignsParamsSource
- type ListAdCampaignsResponse
- type ListAdsBusinessCentersParams
- type ListAdsBusinessCentersResponse
- type ListAdsParams
- type ListAdsParamsPlatform
- type ListAdsParamsSource
- type ListAdsResponse
- type ListApiKeysResponse
- type ListBroadcastRecipients200RecipientsStatus
- type ListBroadcastRecipientsParams
- type ListBroadcastRecipientsParamsStatus
- type ListBroadcastRecipientsResponse
- type ListBroadcasts200BroadcastsStatus
- type ListBroadcastsParams
- type ListBroadcastsParamsStatus
- type ListBroadcastsResponse
- type ListCommentAutomationLogs200LogsCommentReplyStatus
- type ListCommentAutomationLogs200LogsStatus
- type ListCommentAutomationLogsParams
- type ListCommentAutomationLogsParamsStatus
- type ListCommentAutomationLogsResponse
- type ListCommentAutomations200AutomationsMatchMode
- type ListCommentAutomations200AutomationsPlatform
- type ListCommentAutomationsParams
- type ListCommentAutomationsResponse
- type ListContactsParams
- type ListContactsParamsIsSubscribed
- type ListContactsParamsPlatform
- type ListContactsResponse
- type ListConversionDestinations200DestinationsStatus
- type ListConversionDestinations200Platform
- type ListConversionDestinationsResponse
- type ListCustomFields200FieldsType
- type ListCustomFieldsParams
- type ListCustomFieldsResponse
- type ListFacebookPagesParams
- type ListFacebookPagesResponse
- type ListGoogleBusinessLocationsParams
- type ListGoogleBusinessLocationsResponse
- type ListGoogleBusinessMedia200MediaItemsMediaFormat
- type ListGoogleBusinessMediaParams
- type ListGoogleBusinessMediaResponse
- type ListGoogleBusinessPlaceActionsParams
- type ListGoogleBusinessPlaceActionsResponse
- type ListInboxCommentsParams
- type ListInboxCommentsParamsPlatform
- type ListInboxCommentsParamsSortBy
- type ListInboxCommentsParamsSortOrder
- type ListInboxCommentsResponse
- type ListInboxConversations200DataParticipantVerifiedType
- type ListInboxConversations200DataStatus
- type ListInboxConversationsParams
- type ListInboxConversationsParamsPlatform
- type ListInboxConversationsParamsSortOrder
- type ListInboxConversationsParamsStatus
- type ListInboxConversationsResponse
- type ListInboxReviewsParams
- type ListInboxReviewsParamsPlatform
- type ListInboxReviewsParamsSortBy
- type ListInboxReviewsParamsSortOrder
- type ListInboxReviewsResponse
- type ListLinkedInOrganizationsParams
- type ListLinkedInOrganizationsResponse
- type ListLogs200LogsStatus
- type ListLogsParams
- type ListLogsParamsPlatform
- type ListLogsParamsStatus
- type ListLogsParamsType
- type ListLogsResponse
- type ListPinterestBoardsForSelectionParams
- type ListPinterestBoardsForSelectionResponse
- type ListPostsParams
- type ListPostsParamsSortBy
- type ListPostsParamsStatus
- type ListPostsResponse
- type ListProfilesParams
- type ListProfilesResponse
- type ListQueueSlots2000
- type ListQueueSlots2001
- type ListQueueSlotsParams
- type ListQueueSlotsParamsAll
- type ListQueueSlotsResponse
- type ListSequenceEnrollments200EnrollmentsStatus
- type ListSequenceEnrollmentsParams
- type ListSequenceEnrollmentsParamsStatus
- type ListSequenceEnrollmentsResponse
- type ListSequences200SequencesStatus
- type ListSequencesParams
- type ListSequencesParamsStatus
- type ListSequencesResponse
- type ListSnapchatProfilesParams
- type ListSnapchatProfilesResponse
- type ListUsersResponse
- type ListWhatsAppFlows200FlowsStatus
- type ListWhatsAppFlowsParams
- type ListWhatsAppFlowsResponse
- type ListWhatsAppGroupChatsParams
- type ListWhatsAppGroupChatsResponse
- type ListWhatsAppGroupJoinRequestsParams
- type ListWhatsAppGroupJoinRequestsResponse
- type MediaItem
- type MediaItemType
- type Money
- type NotFound
- type PageParam
- type Pagination
- type PauseSequenceResponse
- type PinterestPlatformData
- type PlatformAnalytics
- type PlatformAnalyticsStatus
- type PlatformAnalyticsSyncStatus
- type PlatformTarget
- type PlatformTargetAccountId0
- type PlatformTargetErrorCategory
- type PlatformTargetErrorSource
- type PlatformTarget_AccountId
- func (t PlatformTarget_AccountId) AsPlatformTargetAccountId0() (PlatformTargetAccountId0, error)
- func (t PlatformTarget_AccountId) AsSocialAccount() (SocialAccount, error)
- func (t *PlatformTarget_AccountId) FromPlatformTargetAccountId0(v PlatformTargetAccountId0) error
- func (t *PlatformTarget_AccountId) FromSocialAccount(v SocialAccount) error
- func (t PlatformTarget_AccountId) MarshalJSON() ([]byte, error)
- func (t *PlatformTarget_AccountId) MergePlatformTargetAccountId0(v PlatformTargetAccountId0) error
- func (t *PlatformTarget_AccountId) MergeSocialAccount(v SocialAccount) error
- func (t *PlatformTarget_AccountId) UnmarshalJSON(b []byte) error
- type PlatformTarget_PlatformSpecificData
- func (t PlatformTarget_PlatformSpecificData) AsBlueskyPlatformData() (BlueskyPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsDiscordPlatformData() (DiscordPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsFacebookPlatformData() (FacebookPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsGoogleBusinessPlatformData() (GoogleBusinessPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsInstagramPlatformData() (InstagramPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsLinkedInPlatformData() (LinkedInPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsPinterestPlatformData() (PinterestPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsRedditPlatformData() (RedditPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsSnapchatPlatformData() (SnapchatPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsTelegramPlatformData() (TelegramPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsThreadsPlatformData() (ThreadsPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsTikTokPlatformData() (TikTokPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsTwitterPlatformData() (TwitterPlatformData, error)
- func (t PlatformTarget_PlatformSpecificData) AsYouTubePlatformData() (YouTubePlatformData, error)
- func (t *PlatformTarget_PlatformSpecificData) FromBlueskyPlatformData(v BlueskyPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromDiscordPlatformData(v DiscordPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromFacebookPlatformData(v FacebookPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromGoogleBusinessPlatformData(v GoogleBusinessPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromInstagramPlatformData(v InstagramPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromLinkedInPlatformData(v LinkedInPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromPinterestPlatformData(v PinterestPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromRedditPlatformData(v RedditPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromSnapchatPlatformData(v SnapchatPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromTelegramPlatformData(v TelegramPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromThreadsPlatformData(v ThreadsPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromTikTokPlatformData(v TikTokPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromTwitterPlatformData(v TwitterPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) FromYouTubePlatformData(v YouTubePlatformData) error
- func (a PlatformTarget_PlatformSpecificData) Get(fieldName string) (value interface{}, found bool)
- func (a PlatformTarget_PlatformSpecificData) MarshalJSON() ([]byte, error)
- func (t *PlatformTarget_PlatformSpecificData) MergeBlueskyPlatformData(v BlueskyPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeDiscordPlatformData(v DiscordPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeFacebookPlatformData(v FacebookPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeGoogleBusinessPlatformData(v GoogleBusinessPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeInstagramPlatformData(v InstagramPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeLinkedInPlatformData(v LinkedInPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergePinterestPlatformData(v PinterestPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeRedditPlatformData(v RedditPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeSnapchatPlatformData(v SnapchatPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeTelegramPlatformData(v TelegramPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeThreadsPlatformData(v ThreadsPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeTikTokPlatformData(v TikTokPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeTwitterPlatformData(v TwitterPlatformData) error
- func (t *PlatformTarget_PlatformSpecificData) MergeYouTubePlatformData(v YouTubePlatformData) error
- func (a *PlatformTarget_PlatformSpecificData) Set(fieldName string, value interface{})
- func (a *PlatformTarget_PlatformSpecificData) UnmarshalJSON(b []byte) error
- type Post
- type PostAnalytics
- type PostCreateResponse
- type PostDeleteResponse
- type PostGetResponse
- type PostRetryResponse
- type PostStatus
- type PostUpdateResponse
- type PostUserId0
- type PostVisibility
- type Post_UserId
- func (t Post_UserId) AsPostUserId0() (PostUserId0, error)
- func (t Post_UserId) AsUser() (User, error)
- func (t *Post_UserId) FromPostUserId0(v PostUserId0) error
- func (t *Post_UserId) FromUser(v User) error
- func (t Post_UserId) MarshalJSON() ([]byte, error)
- func (t *Post_UserId) MergePostUserId0(v PostUserId0) error
- func (t *Post_UserId) MergeUser(v User) error
- func (t *Post_UserId) UnmarshalJSON(b []byte) error
- type PostsListResponse
- type PreviewQueueParams
- type PreviewQueueResponse
- type Profile
- type ProfileCreateResponse
- type ProfilesListResponse
- type PublishWhatsAppFlowJSONBody
- type PublishWhatsAppFlowJSONRequestBody
- type PublishWhatsAppFlowResponse
- type PurchaseWhatsAppPhoneNumber2000
- type PurchaseWhatsAppPhoneNumber2001
- type PurchaseWhatsAppPhoneNumberJSONBody
- type PurchaseWhatsAppPhoneNumberJSONRequestBody
- type PurchaseWhatsAppPhoneNumberResponse
- type QueueSchedule
- type QueueSlot
- type RecyclingConfig
- type RecyclingConfigGapFreq
- type RecyclingState
- type RecyclingStateGapFreq
- type RedditPlatformData
- type RedditPost
- type RejectWhatsAppGroupJoinRequestsJSONBody
- type RejectWhatsAppGroupJoinRequestsJSONRequestBody
- type RejectWhatsAppGroupJoinRequestsParams
- type RejectWhatsAppGroupJoinRequestsResponse
- type ReleaseWhatsAppPhoneNumberResponse
- type RemoveBookmarkParams
- type RemoveBookmarkResponse
- type RemoveMessageReactionParams
- type RemoveMessageReactionResponse
- type RemoveWhatsAppGroupParticipantsJSONBody
- type RemoveWhatsAppGroupParticipantsJSONRequestBody
- type RemoveWhatsAppGroupParticipantsParams
- type RemoveWhatsAppGroupParticipantsResponse
- type ReplyToInboxPostJSONBody
- type ReplyToInboxPostJSONRequestBody
- type ReplyToInboxPostResponse
- type ReplyToInboxReviewJSONBody
- type ReplyToInboxReviewJSONRequestBody
- type ReplyToInboxReviewResponse
- type RequestEditorFn
- type RetryPostResponse
- type RetweetPostJSONBody
- type RetweetPostJSONRequestBody
- type RetweetPostResponse
- type ScheduleBroadcastJSONBody
- type ScheduleBroadcastJSONRequestBody
- type ScheduleBroadcastResponse
- type SearchAdInterestsParams
- type SearchAdInterestsResponse
- type SearchRedditParams
- type SearchRedditParamsRestrictSr
- type SearchRedditParamsSort
- type SearchRedditResponse
- type SelectFacebookPage200AccountPlatform
- type SelectFacebookPageJSONBody
- type SelectFacebookPageJSONRequestBody
- type SelectFacebookPageResponse
- type SelectGoogleBusinessLocation200AccountPlatform
- type SelectGoogleBusinessLocationJSONBody
- type SelectGoogleBusinessLocationJSONRequestBody
- type SelectGoogleBusinessLocationResponse
- type SelectLinkedInOrganization200AccountAccountType
- type SelectLinkedInOrganization200AccountPlatform
- type SelectLinkedInOrganizationJSONBody
- type SelectLinkedInOrganizationJSONBodyAccountType
- type SelectLinkedInOrganizationJSONRequestBody
- type SelectLinkedInOrganizationResponse
- type SelectPinterestBoard200AccountPlatform
- type SelectPinterestBoardJSONBody
- type SelectPinterestBoardJSONRequestBody
- type SelectPinterestBoardResponse
- type SelectSnapchatProfile200AccountPlatform
- type SelectSnapchatProfileJSONBody
- type SelectSnapchatProfileJSONRequestBody
- type SelectSnapchatProfileParams
- type SelectSnapchatProfileResponse
- type SendBroadcast200Status
- type SendBroadcastResponse
- type SendConversions200FailuresCode0
- type SendConversions200FailuresCode1
- type SendConversions200Platform
- type SendConversionsJSONBody
- type SendConversionsJSONBodyConsentAdPersonalization
- type SendConversionsJSONBodyConsentAdUserData
- type SendConversionsJSONRequestBody
- type SendConversionsResponse
- type SendConversions_200_Failures_Code
- type SendInboxMessage400Code
- type SendInboxMessageJSONBody
- type SendInboxMessageJSONBodyAttachmentType
- type SendInboxMessageJSONBodyButtonsType
- type SendInboxMessageJSONBodyInteractiveAction0
- type SendInboxMessageJSONBodyInteractiveAction1
- type SendInboxMessageJSONBodyInteractiveAction1Name
- type SendInboxMessageJSONBodyInteractiveAction2
- type SendInboxMessageJSONBodyInteractiveAction2Name
- type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction
- type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion
- type SendInboxMessageJSONBodyInteractiveAction2ParametersMode
- type SendInboxMessageJSONBodyInteractiveHeaderType
- type SendInboxMessageJSONBodyInteractiveType
- type SendInboxMessageJSONBodyMessageTag
- type SendInboxMessageJSONBodyMessagingType
- type SendInboxMessageJSONBodyReplyMarkupType
- type SendInboxMessageJSONBodyTemplateElementsButtonsType
- type SendInboxMessageJSONBodyTemplateType
- type SendInboxMessageJSONBody_Interactive_Action
- type SendInboxMessageJSONRequestBody
- type SendInboxMessageMultipartBody
- type SendInboxMessageMultipartRequestBody
- type SendInboxMessageResponse
- type SendPrivateReplyToComment200Platform
- type SendPrivateReplyToComment400Code
- type SendPrivateReplyToCommentJSONBody
- type SendPrivateReplyToCommentJSONRequestBody
- type SendPrivateReplyToCommentResponse
- type SendTypingIndicatorJSONBody
- type SendTypingIndicatorJSONRequestBody
- type SendTypingIndicatorResponse
- type SendWhatsAppConversion200FailuresCode0
- type SendWhatsAppConversion200FailuresCode1
- type SendWhatsAppConversion200Platform
- type SendWhatsAppConversionJSONBody
- type SendWhatsAppConversionJSONBodyEventName
- type SendWhatsAppConversionJSONRequestBody
- type SendWhatsAppConversionResponse
- type SendWhatsAppConversion_200_Failures_Code
- type SendWhatsAppFlowMessageJSONBody
- type SendWhatsAppFlowMessageJSONBodyFlowAction
- type SendWhatsAppFlowMessageJSONBodyHeaderType
- type SendWhatsAppFlowMessageJSONRequestBody
- type SendWhatsAppFlowMessageResponse
- type SetContactFieldValueJSONBody
- type SetContactFieldValueJSONRequestBody
- type SetContactFieldValueResponse
- type SetInstagramIceBreakersJSONBody
- type SetInstagramIceBreakersJSONRequestBody
- type SetInstagramIceBreakersResponse
- type SetMessengerMenuJSONBody
- type SetMessengerMenuJSONRequestBody
- type SetMessengerMenuResponse
- type SetTelegramCommandsJSONBody
- type SetTelegramCommandsJSONRequestBody
- type SetTelegramCommandsResponse
- type SnapchatPlatformData
- type SnapchatPlatformDataContentType
- type SocialAccount
- type SocialAccountPlatform
- type SocialAccountProfileId0
- type SocialAccount_ProfileId
- func (t SocialAccount_ProfileId) AsProfile() (Profile, error)
- func (t SocialAccount_ProfileId) AsSocialAccountProfileId0() (SocialAccountProfileId0, error)
- func (t *SocialAccount_ProfileId) FromProfile(v Profile) error
- func (t *SocialAccount_ProfileId) FromSocialAccountProfileId0(v SocialAccountProfileId0) error
- func (t SocialAccount_ProfileId) MarshalJSON() ([]byte, error)
- func (t *SocialAccount_ProfileId) MergeProfile(v Profile) error
- func (t *SocialAccount_ProfileId) MergeSocialAccountProfileId0(v SocialAccountProfileId0) error
- func (t *SocialAccount_ProfileId) UnmarshalJSON(b []byte) error
- type TelegramPlatformData
- type TelegramPlatformDataParseMode
- type TestWebhookJSONBody
- type TestWebhookJSONRequestBody
- type TestWebhookResponse
- type ThreadsPlatformData
- type TikTokPlatformData
- type TikTokPlatformDataCommercialContentType
- type TikTokPlatformDataMediaType
- type TwitterPlatformData
- type TwitterPlatformDataReplySettings
- type Unauthorized
- type UndoRetweetParams
- type UndoRetweetResponse
- type UnenrollContactResponse
- type UnfollowUserParams
- type UnfollowUserResponse
- type UnhideInboxCommentParams
- type UnhideInboxCommentResponse
- type UnlikeInboxCommentParams
- type UnlikeInboxCommentResponse
- type UnpublishPostJSONBody
- type UnpublishPostJSONBodyPlatform
- type UnpublishPostJSONRequestBody
- type UnpublishPostResponse
- type UpdateAccountGroupJSONBody
- type UpdateAccountGroupJSONRequestBody
- type UpdateAccountGroupResponse
- type UpdateAccountJSONBody
- type UpdateAccountJSONRequestBody
- type UpdateAccountResponse
- type UpdateAdCampaign200BudgetLevel
- type UpdateAdCampaignJSONBody
- type UpdateAdCampaignJSONBodyBudgetType
- type UpdateAdCampaignJSONBodyPlatform
- type UpdateAdCampaignJSONRequestBody
- type UpdateAdCampaignResponse
- type UpdateAdCampaignStatusJSONBody
- type UpdateAdCampaignStatusJSONBodyPlatform
- type UpdateAdCampaignStatusJSONBodyStatus
- type UpdateAdCampaignStatusJSONRequestBody
- type UpdateAdCampaignStatusResponse
- type UpdateAdJSONBody
- type UpdateAdJSONBodyBudgetType
- type UpdateAdJSONBodyStatus
- type UpdateAdJSONBodyTargetingAdvantageAudience
- type UpdateAdJSONRequestBody
- type UpdateAdResponse
- type UpdateAdSet200BudgetLevel
- type UpdateAdSet200Status
- type UpdateAdSetJSONBody
- type UpdateAdSetJSONBodyBudgetType
- type UpdateAdSetJSONBodyPlatform
- type UpdateAdSetJSONBodyStatus
- type UpdateAdSetJSONRequestBody
- type UpdateAdSetResponse
- type UpdateAdSetStatusJSONBody
- type UpdateAdSetStatusJSONBodyPlatform
- type UpdateAdSetStatusJSONBodyStatus
- type UpdateAdSetStatusJSONRequestBody
- type UpdateAdSetStatusResponse
- type UpdateBroadcastResponse
- type UpdateCommentAutomation200AutomationMatchMode
- type UpdateCommentAutomationJSONBody
- type UpdateCommentAutomationJSONBodyMatchMode
- type UpdateCommentAutomationJSONRequestBody
- type UpdateCommentAutomationResponse
- type UpdateContactJSONBody
- type UpdateContactJSONRequestBody
- type UpdateContactResponse
- type UpdateCustomFieldJSONBody
- type UpdateCustomFieldJSONRequestBody
- type UpdateCustomFieldResponse
- type UpdateDiscordSettingsJSONBody
- type UpdateDiscordSettingsJSONRequestBody
- type UpdateDiscordSettingsResponse
- type UpdateFacebookPageJSONBody
- type UpdateFacebookPageJSONRequestBody
- type UpdateFacebookPageResponse
- type UpdateGmbLocationJSONBody
- type UpdateGmbLocationJSONRequestBody
- type UpdateGmbLocationResponse
- type UpdateGoogleBusinessAttributesJSONBody
- type UpdateGoogleBusinessAttributesJSONRequestBody
- type UpdateGoogleBusinessAttributesParams
- type UpdateGoogleBusinessAttributesResponse
- type UpdateGoogleBusinessFoodMenusJSONBody
- type UpdateGoogleBusinessFoodMenusJSONRequestBody
- type UpdateGoogleBusinessFoodMenusParams
- type UpdateGoogleBusinessFoodMenusResponse
- type UpdateGoogleBusinessLocationDetailsJSONBody
- type UpdateGoogleBusinessLocationDetailsJSONRequestBody
- type UpdateGoogleBusinessLocationDetailsParams
- type UpdateGoogleBusinessLocationDetailsResponse
- type UpdateGoogleBusinessPlaceActionJSONBody
- type UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType
- type UpdateGoogleBusinessPlaceActionJSONRequestBody
- type UpdateGoogleBusinessPlaceActionParams
- type UpdateGoogleBusinessPlaceActionResponse
- type UpdateGoogleBusinessServicesJSONBody
- type UpdateGoogleBusinessServicesJSONRequestBody
- type UpdateGoogleBusinessServicesParams
- type UpdateGoogleBusinessServicesResponse
- type UpdateInboxConversation200DataStatus
- type UpdateInboxConversationJSONBody
- type UpdateInboxConversationJSONBodyStatus
- type UpdateInboxConversationJSONRequestBody
- type UpdateInboxConversationResponse
- type UpdateLinkedInOrganizationJSONBody
- type UpdateLinkedInOrganizationJSONBodyAccountType
- type UpdateLinkedInOrganizationJSONRequestBody
- type UpdateLinkedInOrganizationResponse
- type UpdatePinterestBoardsJSONBody
- type UpdatePinterestBoardsJSONRequestBody
- type UpdatePinterestBoardsResponse
- type UpdatePostJSONBody
- type UpdatePostJSONRequestBody
- type UpdatePostMetadataJSONBody
- type UpdatePostMetadataJSONBodyPlatform
- type UpdatePostMetadataJSONBodyPrivacyStatus
- type UpdatePostMetadataJSONRequestBody
- type UpdatePostMetadataResponse
- type UpdatePostResponse
- type UpdateProfileJSONBody
- type UpdateProfileJSONRequestBody
- type UpdateProfileResponse
- type UpdateQueueSlotJSONBody
- type UpdateQueueSlotJSONRequestBody
- type UpdateQueueSlotResponse
- type UpdateRedditSubredditsJSONBody
- type UpdateRedditSubredditsJSONRequestBody
- type UpdateRedditSubredditsResponse
- type UpdateSequenceResponse
- type UpdateWebhookSettingsJSONBody
- type UpdateWebhookSettingsJSONBodyEvents
- type UpdateWebhookSettingsJSONRequestBody
- type UpdateWebhookSettingsResponse
- type UpdateWhatsAppBusinessProfileJSONBody
- type UpdateWhatsAppBusinessProfileJSONRequestBody
- type UpdateWhatsAppBusinessProfileResponse
- type UpdateWhatsAppDisplayName200DisplayNameStatus
- type UpdateWhatsAppDisplayNameJSONBody
- type UpdateWhatsAppDisplayNameJSONRequestBody
- type UpdateWhatsAppDisplayNameResponse
- type UpdateWhatsAppFlowJSONBody
- type UpdateWhatsAppFlowJSONBodyCategories
- type UpdateWhatsAppFlowJSONRequestBody
- type UpdateWhatsAppFlowResponse
- type UpdateWhatsAppGroupChatJSONBody
- type UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode
- type UpdateWhatsAppGroupChatJSONRequestBody
- type UpdateWhatsAppGroupChatParams
- type UpdateWhatsAppGroupChatResponse
- type UpdateWhatsAppTemplateJSONBody
- type UpdateWhatsAppTemplateJSONRequestBody
- type UpdateWhatsAppTemplateResponse
- type UpdateYoutubeDefaultPlaylistJSONBody
- type UpdateYoutubeDefaultPlaylistJSONRequestBody
- type UpdateYoutubeDefaultPlaylistResponse
- type UploadMediaDirectMultipartBody
- type UploadMediaDirectMultipartRequestBody
- type UploadMediaDirectResponse
- type UploadWhatsAppFlowJsonJSONBody
- type UploadWhatsAppFlowJsonJSONBodyFlowJson0
- type UploadWhatsAppFlowJsonJSONBodyFlowJson1
- type UploadWhatsAppFlowJsonJSONBody_FlowJson
- type UploadWhatsAppFlowJsonJSONRequestBody
- type UploadWhatsAppFlowJsonResponse
- type UploadWhatsAppProfilePhotoMultipartBody
- type UploadWhatsAppProfilePhotoMultipartRequestBody
- type UploadWhatsAppProfilePhotoResponse
- type UsageStats
- type UsageStatsBillingPeriod
- type User
- type ValidateMedia200Type
- type ValidateMediaJSONBody
- type ValidateMediaJSONRequestBody
- type ValidateMediaResponse
- type ValidatePost2000
- type ValidatePost2001
- type ValidatePostJSONBody
- type ValidatePostJSONBodyMediaItemsType
- type ValidatePostJSONBodyPlatformsCustomMediaType
- type ValidatePostJSONBodyPlatformsPlatform
- type ValidatePostJSONRequestBody
- type ValidatePostLengthJSONBody
- type ValidatePostLengthJSONRequestBody
- type ValidatePostLengthResponse
- type ValidatePostResponse
- type ValidateSubreddit2000
- type ValidateSubreddit2000SubredditType
- type ValidateSubreddit2001
- type ValidateSubredditParams
- type ValidateSubredditResponse
- type Webhook
- type WebhookEvents
- type WhatsAppBodyComponent
- type WhatsAppBodyComponentType
- type WhatsAppButtonsComponent
- type WhatsAppButtonsComponentType
- type WhatsAppFooterComponent
- type WhatsAppFooterComponentType
- type WhatsAppHeaderComponent
- type WhatsAppHeaderComponentFormat
- type WhatsAppHeaderComponentType
- type WhatsAppTemplateButton
- type WhatsAppTemplateButtonOtpType
- type WhatsAppTemplateButtonType
- type WhatsAppTemplateComponent
- func (t WhatsAppTemplateComponent) AsWhatsAppBodyComponent() (WhatsAppBodyComponent, error)
- func (t WhatsAppTemplateComponent) AsWhatsAppButtonsComponent() (WhatsAppButtonsComponent, error)
- func (t WhatsAppTemplateComponent) AsWhatsAppFooterComponent() (WhatsAppFooterComponent, error)
- func (t WhatsAppTemplateComponent) AsWhatsAppHeaderComponent() (WhatsAppHeaderComponent, error)
- func (t WhatsAppTemplateComponent) Discriminator() (string, error)
- func (t *WhatsAppTemplateComponent) FromWhatsAppBodyComponent(v WhatsAppBodyComponent) error
- func (t *WhatsAppTemplateComponent) FromWhatsAppButtonsComponent(v WhatsAppButtonsComponent) error
- func (t *WhatsAppTemplateComponent) FromWhatsAppFooterComponent(v WhatsAppFooterComponent) error
- func (t *WhatsAppTemplateComponent) FromWhatsAppHeaderComponent(v WhatsAppHeaderComponent) error
- func (t WhatsAppTemplateComponent) MarshalJSON() ([]byte, error)
- func (t *WhatsAppTemplateComponent) MergeWhatsAppBodyComponent(v WhatsAppBodyComponent) error
- func (t *WhatsAppTemplateComponent) MergeWhatsAppButtonsComponent(v WhatsAppButtonsComponent) error
- func (t *WhatsAppTemplateComponent) MergeWhatsAppFooterComponent(v WhatsAppFooterComponent) error
- func (t *WhatsAppTemplateComponent) MergeWhatsAppHeaderComponent(v WhatsAppHeaderComponent) error
- func (t *WhatsAppTemplateComponent) UnmarshalJSON(b []byte) error
- func (t WhatsAppTemplateComponent) ValueByDiscriminator() (interface{}, error)
- type YouTubeDailyViewsResponse
- type YouTubeDemographicsResponse
- type YouTubePlatformData
- type YouTubePlatformDataVisibility
- type YouTubeScopeMissingResponse
Constants ¶
const ( BearerAuthScopes = "bearerAuth.Scopes" ConnectTokenScopes = "connectToken.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewActivateSequenceRequest ¶ added in v0.0.76
NewActivateSequenceRequest generates requests for ActivateSequence
func NewAddBroadcastRecipientsRequest ¶ added in v0.0.76
func NewAddBroadcastRecipientsRequest(server string, broadcastId string, body AddBroadcastRecipientsJSONRequestBody) (*http.Request, error)
NewAddBroadcastRecipientsRequest calls the generic AddBroadcastRecipients builder with application/json body
func NewAddBroadcastRecipientsRequestWithBody ¶ added in v0.0.76
func NewAddBroadcastRecipientsRequestWithBody(server string, broadcastId string, contentType string, body io.Reader) (*http.Request, error)
NewAddBroadcastRecipientsRequestWithBody generates requests for AddBroadcastRecipients with any type of body
func NewAddMessageReactionRequest ¶ added in v0.0.96
func NewAddMessageReactionRequest(server string, conversationId string, messageId string, body AddMessageReactionJSONRequestBody) (*http.Request, error)
NewAddMessageReactionRequest calls the generic AddMessageReaction builder with application/json body
func NewAddMessageReactionRequestWithBody ¶ added in v0.0.96
func NewAddMessageReactionRequestWithBody(server string, conversationId string, messageId string, contentType string, body io.Reader) (*http.Request, error)
NewAddMessageReactionRequestWithBody generates requests for AddMessageReaction with any type of body
func NewAddUsersToAdAudienceRequest ¶ added in v0.0.106
func NewAddUsersToAdAudienceRequest(server string, audienceId string, body AddUsersToAdAudienceJSONRequestBody) (*http.Request, error)
NewAddUsersToAdAudienceRequest calls the generic AddUsersToAdAudience builder with application/json body
func NewAddUsersToAdAudienceRequestWithBody ¶ added in v0.0.106
func NewAddUsersToAdAudienceRequestWithBody(server string, audienceId string, contentType string, body io.Reader) (*http.Request, error)
NewAddUsersToAdAudienceRequestWithBody generates requests for AddUsersToAdAudience with any type of body
func NewAddWhatsAppGroupParticipantsRequest ¶ added in v0.0.92
func NewAddWhatsAppGroupParticipantsRequest(server string, groupId string, params *AddWhatsAppGroupParticipantsParams, body AddWhatsAppGroupParticipantsJSONRequestBody) (*http.Request, error)
NewAddWhatsAppGroupParticipantsRequest calls the generic AddWhatsAppGroupParticipants builder with application/json body
func NewAddWhatsAppGroupParticipantsRequestWithBody ¶ added in v0.0.92
func NewAddWhatsAppGroupParticipantsRequestWithBody(server string, groupId string, params *AddWhatsAppGroupParticipantsParams, contentType string, body io.Reader) (*http.Request, error)
NewAddWhatsAppGroupParticipantsRequestWithBody generates requests for AddWhatsAppGroupParticipants with any type of body
func NewApproveWhatsAppGroupJoinRequestsRequest ¶ added in v0.0.92
func NewApproveWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, body ApproveWhatsAppGroupJoinRequestsJSONRequestBody) (*http.Request, error)
NewApproveWhatsAppGroupJoinRequestsRequest calls the generic ApproveWhatsAppGroupJoinRequests builder with application/json body
func NewApproveWhatsAppGroupJoinRequestsRequestWithBody ¶ added in v0.0.92
func NewApproveWhatsAppGroupJoinRequestsRequestWithBody(server string, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader) (*http.Request, error)
NewApproveWhatsAppGroupJoinRequestsRequestWithBody generates requests for ApproveWhatsAppGroupJoinRequests with any type of body
func NewBatchGetGoogleBusinessReviewsRequest ¶ added in v0.0.158
func NewBatchGetGoogleBusinessReviewsRequest(server string, accountId string, body BatchGetGoogleBusinessReviewsJSONRequestBody) (*http.Request, error)
NewBatchGetGoogleBusinessReviewsRequest calls the generic BatchGetGoogleBusinessReviews builder with application/json body
func NewBatchGetGoogleBusinessReviewsRequestWithBody ¶ added in v0.0.158
func NewBatchGetGoogleBusinessReviewsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewBatchGetGoogleBusinessReviewsRequestWithBody generates requests for BatchGetGoogleBusinessReviews with any type of body
func NewBookmarkPostRequest ¶
func NewBookmarkPostRequest(server string, body BookmarkPostJSONRequestBody) (*http.Request, error)
NewBookmarkPostRequest calls the generic BookmarkPost builder with application/json body
func NewBookmarkPostRequestWithBody ¶
func NewBookmarkPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBookmarkPostRequestWithBody generates requests for BookmarkPost with any type of body
func NewBoostPostRequest ¶ added in v0.0.106
func NewBoostPostRequest(server string, body BoostPostJSONRequestBody) (*http.Request, error)
NewBoostPostRequest calls the generic BoostPost builder with application/json body
func NewBoostPostRequestWithBody ¶ added in v0.0.106
func NewBoostPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBoostPostRequestWithBody generates requests for BoostPost with any type of body
func NewBulkCreateContactsRequest ¶ added in v0.0.76
func NewBulkCreateContactsRequest(server string, body BulkCreateContactsJSONRequestBody) (*http.Request, error)
NewBulkCreateContactsRequest calls the generic BulkCreateContacts builder with application/json body
func NewBulkCreateContactsRequestWithBody ¶ added in v0.0.76
func NewBulkCreateContactsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkCreateContactsRequestWithBody generates requests for BulkCreateContacts with any type of body
func NewBulkUpdateAdCampaignStatusRequest ¶ added in v0.0.168
func NewBulkUpdateAdCampaignStatusRequest(server string, body BulkUpdateAdCampaignStatusJSONRequestBody) (*http.Request, error)
NewBulkUpdateAdCampaignStatusRequest calls the generic BulkUpdateAdCampaignStatus builder with application/json body
func NewBulkUpdateAdCampaignStatusRequestWithBody ¶ added in v0.0.168
func NewBulkUpdateAdCampaignStatusRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewBulkUpdateAdCampaignStatusRequestWithBody generates requests for BulkUpdateAdCampaignStatus with any type of body
func NewBulkUploadPostsRequestWithBody ¶
func NewBulkUploadPostsRequestWithBody(server string, params *BulkUploadPostsParams, contentType string, body io.Reader) (*http.Request, error)
NewBulkUploadPostsRequestWithBody generates requests for BulkUploadPosts with any type of body
func NewCancelBroadcastRequest ¶ added in v0.0.76
NewCancelBroadcastRequest generates requests for CancelBroadcast
func NewClearContactFieldValueRequest ¶ added in v0.0.76
func NewClearContactFieldValueRequest(server string, contactId string, slug string) (*http.Request, error)
NewClearContactFieldValueRequest generates requests for ClearContactFieldValue
func NewCompleteTelegramConnectRequest ¶
func NewCompleteTelegramConnectRequest(server string, params *CompleteTelegramConnectParams) (*http.Request, error)
NewCompleteTelegramConnectRequest generates requests for CompleteTelegramConnect
func NewConnectAdsRequest ¶ added in v0.0.125
func NewConnectAdsRequest(server string, platform ConnectAdsParamsPlatform, params *ConnectAdsParams) (*http.Request, error)
NewConnectAdsRequest generates requests for ConnectAds
func NewConnectBlueskyCredentialsRequest ¶
func NewConnectBlueskyCredentialsRequest(server string, body ConnectBlueskyCredentialsJSONRequestBody) (*http.Request, error)
NewConnectBlueskyCredentialsRequest calls the generic ConnectBlueskyCredentials builder with application/json body
func NewConnectBlueskyCredentialsRequestWithBody ¶
func NewConnectBlueskyCredentialsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConnectBlueskyCredentialsRequestWithBody generates requests for ConnectBlueskyCredentials with any type of body
func NewConnectWhatsAppCredentialsRequest ¶
func NewConnectWhatsAppCredentialsRequest(server string, body ConnectWhatsAppCredentialsJSONRequestBody) (*http.Request, error)
NewConnectWhatsAppCredentialsRequest calls the generic ConnectWhatsAppCredentials builder with application/json body
func NewConnectWhatsAppCredentialsRequestWithBody ¶
func NewConnectWhatsAppCredentialsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewConnectWhatsAppCredentialsRequestWithBody generates requests for ConnectWhatsAppCredentials with any type of body
func NewCreateAccountGroupRequest ¶
func NewCreateAccountGroupRequest(server string, body CreateAccountGroupJSONRequestBody) (*http.Request, error)
NewCreateAccountGroupRequest calls the generic CreateAccountGroup builder with application/json body
func NewCreateAccountGroupRequestWithBody ¶
func NewCreateAccountGroupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAccountGroupRequestWithBody generates requests for CreateAccountGroup with any type of body
func NewCreateAdAudienceRequest ¶ added in v0.0.106
func NewCreateAdAudienceRequest(server string, body CreateAdAudienceJSONRequestBody) (*http.Request, error)
NewCreateAdAudienceRequest calls the generic CreateAdAudience builder with application/json body
func NewCreateAdAudienceRequestWithBody ¶ added in v0.0.106
func NewCreateAdAudienceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAdAudienceRequestWithBody generates requests for CreateAdAudience with any type of body
func NewCreateApiKeyRequest ¶
func NewCreateApiKeyRequest(server string, body CreateApiKeyJSONRequestBody) (*http.Request, error)
NewCreateApiKeyRequest calls the generic CreateApiKey builder with application/json body
func NewCreateApiKeyRequestWithBody ¶
func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateApiKeyRequestWithBody generates requests for CreateApiKey with any type of body
func NewCreateBroadcastRequest ¶ added in v0.0.76
func NewCreateBroadcastRequest(server string, body CreateBroadcastJSONRequestBody) (*http.Request, error)
NewCreateBroadcastRequest calls the generic CreateBroadcast builder with application/json body
func NewCreateBroadcastRequestWithBody ¶ added in v0.0.76
func NewCreateBroadcastRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateBroadcastRequestWithBody generates requests for CreateBroadcast with any type of body
func NewCreateCommentAutomationRequest ¶ added in v0.0.76
func NewCreateCommentAutomationRequest(server string, body CreateCommentAutomationJSONRequestBody) (*http.Request, error)
NewCreateCommentAutomationRequest calls the generic CreateCommentAutomation builder with application/json body
func NewCreateCommentAutomationRequestWithBody ¶ added in v0.0.76
func NewCreateCommentAutomationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCommentAutomationRequestWithBody generates requests for CreateCommentAutomation with any type of body
func NewCreateContactRequest ¶ added in v0.0.76
func NewCreateContactRequest(server string, body CreateContactJSONRequestBody) (*http.Request, error)
NewCreateContactRequest calls the generic CreateContact builder with application/json body
func NewCreateContactRequestWithBody ¶ added in v0.0.76
func NewCreateContactRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateContactRequestWithBody generates requests for CreateContact with any type of body
func NewCreateCtwaAdRequest ¶ added in v0.0.189
func NewCreateCtwaAdRequest(server string, body CreateCtwaAdJSONRequestBody) (*http.Request, error)
NewCreateCtwaAdRequest calls the generic CreateCtwaAd builder with application/json body
func NewCreateCtwaAdRequestWithBody ¶ added in v0.0.189
func NewCreateCtwaAdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCtwaAdRequestWithBody generates requests for CreateCtwaAd with any type of body
func NewCreateCustomFieldRequest ¶ added in v0.0.76
func NewCreateCustomFieldRequest(server string, body CreateCustomFieldJSONRequestBody) (*http.Request, error)
NewCreateCustomFieldRequest calls the generic CreateCustomField builder with application/json body
func NewCreateCustomFieldRequestWithBody ¶ added in v0.0.76
func NewCreateCustomFieldRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomFieldRequestWithBody generates requests for CreateCustomField with any type of body
func NewCreateGoogleBusinessMediaRequest ¶
func NewCreateGoogleBusinessMediaRequest(server string, accountId string, params *CreateGoogleBusinessMediaParams, body CreateGoogleBusinessMediaJSONRequestBody) (*http.Request, error)
NewCreateGoogleBusinessMediaRequest calls the generic CreateGoogleBusinessMedia builder with application/json body
func NewCreateGoogleBusinessMediaRequestWithBody ¶
func NewCreateGoogleBusinessMediaRequestWithBody(server string, accountId string, params *CreateGoogleBusinessMediaParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateGoogleBusinessMediaRequestWithBody generates requests for CreateGoogleBusinessMedia with any type of body
func NewCreateGoogleBusinessPlaceActionRequest ¶
func NewCreateGoogleBusinessPlaceActionRequest(server string, accountId string, params *CreateGoogleBusinessPlaceActionParams, body CreateGoogleBusinessPlaceActionJSONRequestBody) (*http.Request, error)
NewCreateGoogleBusinessPlaceActionRequest calls the generic CreateGoogleBusinessPlaceAction builder with application/json body
func NewCreateGoogleBusinessPlaceActionRequestWithBody ¶
func NewCreateGoogleBusinessPlaceActionRequestWithBody(server string, accountId string, params *CreateGoogleBusinessPlaceActionParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateGoogleBusinessPlaceActionRequestWithBody generates requests for CreateGoogleBusinessPlaceAction with any type of body
func NewCreateInboxConversationRequest ¶ added in v0.0.119
func NewCreateInboxConversationRequest(server string, body CreateInboxConversationJSONRequestBody) (*http.Request, error)
NewCreateInboxConversationRequest calls the generic CreateInboxConversation builder with application/json body
func NewCreateInboxConversationRequestWithBody ¶ added in v0.0.119
func NewCreateInboxConversationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInboxConversationRequestWithBody generates requests for CreateInboxConversation with any type of body
func NewCreateInviteTokenRequest ¶
func NewCreateInviteTokenRequest(server string, body CreateInviteTokenJSONRequestBody) (*http.Request, error)
NewCreateInviteTokenRequest calls the generic CreateInviteToken builder with application/json body
func NewCreateInviteTokenRequestWithBody ¶
func NewCreateInviteTokenRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateInviteTokenRequestWithBody generates requests for CreateInviteToken with any type of body
func NewCreatePostRequest ¶
func NewCreatePostRequest(server string, body CreatePostJSONRequestBody) (*http.Request, error)
NewCreatePostRequest calls the generic CreatePost builder with application/json body
func NewCreatePostRequestWithBody ¶
func NewCreatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePostRequestWithBody generates requests for CreatePost with any type of body
func NewCreateProfileRequest ¶
func NewCreateProfileRequest(server string, body CreateProfileJSONRequestBody) (*http.Request, error)
NewCreateProfileRequest calls the generic CreateProfile builder with application/json body
func NewCreateProfileRequestWithBody ¶
func NewCreateProfileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateProfileRequestWithBody generates requests for CreateProfile with any type of body
func NewCreateQueueSlotRequest ¶
func NewCreateQueueSlotRequest(server string, body CreateQueueSlotJSONRequestBody) (*http.Request, error)
NewCreateQueueSlotRequest calls the generic CreateQueueSlot builder with application/json body
func NewCreateQueueSlotRequestWithBody ¶
func NewCreateQueueSlotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateQueueSlotRequestWithBody generates requests for CreateQueueSlot with any type of body
func NewCreateSequenceRequest ¶ added in v0.0.76
func NewCreateSequenceRequest(server string, body CreateSequenceJSONRequestBody) (*http.Request, error)
NewCreateSequenceRequest calls the generic CreateSequence builder with application/json body
func NewCreateSequenceRequestWithBody ¶ added in v0.0.76
func NewCreateSequenceRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSequenceRequestWithBody generates requests for CreateSequence with any type of body
func NewCreateStandaloneAdRequest ¶ added in v0.0.106
func NewCreateStandaloneAdRequest(server string, body CreateStandaloneAdJSONRequestBody) (*http.Request, error)
NewCreateStandaloneAdRequest calls the generic CreateStandaloneAd builder with application/json body
func NewCreateStandaloneAdRequestWithBody ¶ added in v0.0.106
func NewCreateStandaloneAdRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateStandaloneAdRequestWithBody generates requests for CreateStandaloneAd with any type of body
func NewCreateWebhookSettingsRequest ¶
func NewCreateWebhookSettingsRequest(server string, body CreateWebhookSettingsJSONRequestBody) (*http.Request, error)
NewCreateWebhookSettingsRequest calls the generic CreateWebhookSettings builder with application/json body
func NewCreateWebhookSettingsRequestWithBody ¶
func NewCreateWebhookSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWebhookSettingsRequestWithBody generates requests for CreateWebhookSettings with any type of body
func NewCreateWhatsAppFlowRequest ¶ added in v0.0.117
func NewCreateWhatsAppFlowRequest(server string, body CreateWhatsAppFlowJSONRequestBody) (*http.Request, error)
NewCreateWhatsAppFlowRequest calls the generic CreateWhatsAppFlow builder with application/json body
func NewCreateWhatsAppFlowRequestWithBody ¶ added in v0.0.117
func NewCreateWhatsAppFlowRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWhatsAppFlowRequestWithBody generates requests for CreateWhatsAppFlow with any type of body
func NewCreateWhatsAppGroupChatRequest ¶ added in v0.0.92
func NewCreateWhatsAppGroupChatRequest(server string, body CreateWhatsAppGroupChatJSONRequestBody) (*http.Request, error)
NewCreateWhatsAppGroupChatRequest calls the generic CreateWhatsAppGroupChat builder with application/json body
func NewCreateWhatsAppGroupChatRequestWithBody ¶ added in v0.0.92
func NewCreateWhatsAppGroupChatRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWhatsAppGroupChatRequestWithBody generates requests for CreateWhatsAppGroupChat with any type of body
func NewCreateWhatsAppGroupInviteLinkRequest ¶ added in v0.0.92
func NewCreateWhatsAppGroupInviteLinkRequest(server string, groupId string, params *CreateWhatsAppGroupInviteLinkParams) (*http.Request, error)
NewCreateWhatsAppGroupInviteLinkRequest generates requests for CreateWhatsAppGroupInviteLink
func NewCreateWhatsAppTemplateRequest ¶
func NewCreateWhatsAppTemplateRequest(server string, body CreateWhatsAppTemplateJSONRequestBody) (*http.Request, error)
NewCreateWhatsAppTemplateRequest calls the generic CreateWhatsAppTemplate builder with application/json body
func NewCreateWhatsAppTemplateRequestWithBody ¶
func NewCreateWhatsAppTemplateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWhatsAppTemplateRequestWithBody generates requests for CreateWhatsAppTemplate with any type of body
func NewDeleteAccountGroupRequest ¶
NewDeleteAccountGroupRequest generates requests for DeleteAccountGroup
func NewDeleteAccountRequest ¶
NewDeleteAccountRequest generates requests for DeleteAccount
func NewDeleteAdAudienceRequest ¶ added in v0.0.106
NewDeleteAdAudienceRequest generates requests for DeleteAdAudience
func NewDeleteAdCampaignRequest ¶ added in v0.0.168
func NewDeleteAdCampaignRequest(server string, campaignId string, body DeleteAdCampaignJSONRequestBody) (*http.Request, error)
NewDeleteAdCampaignRequest calls the generic DeleteAdCampaign builder with application/json body
func NewDeleteAdCampaignRequestWithBody ¶ added in v0.0.168
func NewDeleteAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteAdCampaignRequestWithBody generates requests for DeleteAdCampaign with any type of body
func NewDeleteAdRequest ¶ added in v0.0.106
NewDeleteAdRequest generates requests for DeleteAd
func NewDeleteApiKeyRequest ¶
NewDeleteApiKeyRequest generates requests for DeleteApiKey
func NewDeleteBroadcastRequest ¶ added in v0.0.76
NewDeleteBroadcastRequest generates requests for DeleteBroadcast
func NewDeleteCommentAutomationRequest ¶ added in v0.0.76
NewDeleteCommentAutomationRequest generates requests for DeleteCommentAutomation
func NewDeleteContactRequest ¶ added in v0.0.76
NewDeleteContactRequest generates requests for DeleteContact
func NewDeleteCustomFieldRequest ¶ added in v0.0.76
NewDeleteCustomFieldRequest generates requests for DeleteCustomField
func NewDeleteGoogleBusinessMediaRequest ¶
func NewDeleteGoogleBusinessMediaRequest(server string, accountId string, params *DeleteGoogleBusinessMediaParams) (*http.Request, error)
NewDeleteGoogleBusinessMediaRequest generates requests for DeleteGoogleBusinessMedia
func NewDeleteGoogleBusinessPlaceActionRequest ¶
func NewDeleteGoogleBusinessPlaceActionRequest(server string, accountId string, params *DeleteGoogleBusinessPlaceActionParams) (*http.Request, error)
NewDeleteGoogleBusinessPlaceActionRequest generates requests for DeleteGoogleBusinessPlaceAction
func NewDeleteInboxCommentRequest ¶
func NewDeleteInboxCommentRequest(server string, postId string, params *DeleteInboxCommentParams) (*http.Request, error)
NewDeleteInboxCommentRequest generates requests for DeleteInboxComment
func NewDeleteInboxMessageRequest ¶ added in v0.0.96
func NewDeleteInboxMessageRequest(server string, conversationId string, messageId string, params *DeleteInboxMessageParams) (*http.Request, error)
NewDeleteInboxMessageRequest generates requests for DeleteInboxMessage
func NewDeleteInboxReviewReplyRequest ¶
func NewDeleteInboxReviewReplyRequest(server string, reviewId string, body DeleteInboxReviewReplyJSONRequestBody) (*http.Request, error)
NewDeleteInboxReviewReplyRequest calls the generic DeleteInboxReviewReply builder with application/json body
func NewDeleteInboxReviewReplyRequestWithBody ¶
func NewDeleteInboxReviewReplyRequestWithBody(server string, reviewId string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteInboxReviewReplyRequestWithBody generates requests for DeleteInboxReviewReply with any type of body
func NewDeleteInstagramIceBreakersRequest ¶
NewDeleteInstagramIceBreakersRequest generates requests for DeleteInstagramIceBreakers
func NewDeleteMessengerMenuRequest ¶
NewDeleteMessengerMenuRequest generates requests for DeleteMessengerMenu
func NewDeletePostRequest ¶
NewDeletePostRequest generates requests for DeletePost
func NewDeleteProfileRequest ¶
NewDeleteProfileRequest generates requests for DeleteProfile
func NewDeleteQueueSlotRequest ¶
func NewDeleteQueueSlotRequest(server string, params *DeleteQueueSlotParams) (*http.Request, error)
NewDeleteQueueSlotRequest generates requests for DeleteQueueSlot
func NewDeleteSequenceRequest ¶ added in v0.0.76
NewDeleteSequenceRequest generates requests for DeleteSequence
func NewDeleteTelegramCommandsRequest ¶
NewDeleteTelegramCommandsRequest generates requests for DeleteTelegramCommands
func NewDeleteWebhookSettingsRequest ¶
func NewDeleteWebhookSettingsRequest(server string, params *DeleteWebhookSettingsParams) (*http.Request, error)
NewDeleteWebhookSettingsRequest generates requests for DeleteWebhookSettings
func NewDeleteWhatsAppFlowRequest ¶ added in v0.0.117
func NewDeleteWhatsAppFlowRequest(server string, flowId string, params *DeleteWhatsAppFlowParams) (*http.Request, error)
NewDeleteWhatsAppFlowRequest generates requests for DeleteWhatsAppFlow
func NewDeleteWhatsAppGroupChatRequest ¶ added in v0.0.92
func NewDeleteWhatsAppGroupChatRequest(server string, groupId string, params *DeleteWhatsAppGroupChatParams) (*http.Request, error)
NewDeleteWhatsAppGroupChatRequest generates requests for DeleteWhatsAppGroupChat
func NewDeleteWhatsAppTemplateRequest ¶
func NewDeleteWhatsAppTemplateRequest(server string, templateName string, params *DeleteWhatsAppTemplateParams) (*http.Request, error)
NewDeleteWhatsAppTemplateRequest generates requests for DeleteWhatsAppTemplate
func NewDeprecateWhatsAppFlowRequest ¶ added in v0.0.117
func NewDeprecateWhatsAppFlowRequest(server string, flowId string, body DeprecateWhatsAppFlowJSONRequestBody) (*http.Request, error)
NewDeprecateWhatsAppFlowRequest calls the generic DeprecateWhatsAppFlow builder with application/json body
func NewDeprecateWhatsAppFlowRequestWithBody ¶ added in v0.0.117
func NewDeprecateWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
NewDeprecateWhatsAppFlowRequestWithBody generates requests for DeprecateWhatsAppFlow with any type of body
func NewDuplicateAdCampaignRequest ¶ added in v0.0.168
func NewDuplicateAdCampaignRequest(server string, campaignId string, body DuplicateAdCampaignJSONRequestBody) (*http.Request, error)
NewDuplicateAdCampaignRequest calls the generic DuplicateAdCampaign builder with application/json body
func NewDuplicateAdCampaignRequestWithBody ¶ added in v0.0.168
func NewDuplicateAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
NewDuplicateAdCampaignRequestWithBody generates requests for DuplicateAdCampaign with any type of body
func NewEditInboxMessageRequest ¶
func NewEditInboxMessageRequest(server string, conversationId string, messageId string, body EditInboxMessageJSONRequestBody) (*http.Request, error)
NewEditInboxMessageRequest calls the generic EditInboxMessage builder with application/json body
func NewEditInboxMessageRequestWithBody ¶
func NewEditInboxMessageRequestWithBody(server string, conversationId string, messageId string, contentType string, body io.Reader) (*http.Request, error)
NewEditInboxMessageRequestWithBody generates requests for EditInboxMessage with any type of body
func NewEditPostRequest ¶ added in v0.0.119
func NewEditPostRequest(server string, postId string, body EditPostJSONRequestBody) (*http.Request, error)
NewEditPostRequest calls the generic EditPost builder with application/json body
func NewEditPostRequestWithBody ¶ added in v0.0.119
func NewEditPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
NewEditPostRequestWithBody generates requests for EditPost with any type of body
func NewEnrollContactsRequest ¶ added in v0.0.76
func NewEnrollContactsRequest(server string, sequenceId string, body EnrollContactsJSONRequestBody) (*http.Request, error)
NewEnrollContactsRequest calls the generic EnrollContacts builder with application/json body
func NewEnrollContactsRequestWithBody ¶ added in v0.0.76
func NewEnrollContactsRequestWithBody(server string, sequenceId string, contentType string, body io.Reader) (*http.Request, error)
NewEnrollContactsRequestWithBody generates requests for EnrollContacts with any type of body
func NewFollowUserRequest ¶
func NewFollowUserRequest(server string, body FollowUserJSONRequestBody) (*http.Request, error)
NewFollowUserRequest calls the generic FollowUser builder with application/json body
func NewFollowUserRequestWithBody ¶
func NewFollowUserRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewFollowUserRequestWithBody generates requests for FollowUser with any type of body
func NewGetAccountHealthRequest ¶
NewGetAccountHealthRequest generates requests for GetAccountHealth
func NewGetAdAnalyticsRequest ¶ added in v0.0.106
func NewGetAdAnalyticsRequest(server string, adId string, params *GetAdAnalyticsParams) (*http.Request, error)
NewGetAdAnalyticsRequest generates requests for GetAdAnalytics
func NewGetAdAudienceRequest ¶ added in v0.0.106
NewGetAdAudienceRequest generates requests for GetAdAudience
func NewGetAdCommentsRequest ¶ added in v0.0.180
func NewGetAdCommentsRequest(server string, adId string, params *GetAdCommentsParams) (*http.Request, error)
NewGetAdCommentsRequest generates requests for GetAdComments
func NewGetAdRequest ¶ added in v0.0.106
NewGetAdRequest generates requests for GetAd
func NewGetAdTreeRequest ¶ added in v0.0.112
func NewGetAdTreeRequest(server string, params *GetAdTreeParams) (*http.Request, error)
NewGetAdTreeRequest generates requests for GetAdTree
func NewGetAllAccountsHealthRequest ¶
func NewGetAllAccountsHealthRequest(server string, params *GetAllAccountsHealthParams) (*http.Request, error)
NewGetAllAccountsHealthRequest generates requests for GetAllAccountsHealth
func NewGetAnalyticsRequest ¶
func NewGetAnalyticsRequest(server string, params *GetAnalyticsParams) (*http.Request, error)
NewGetAnalyticsRequest generates requests for GetAnalytics
func NewGetBestTimeToPostRequest ¶
func NewGetBestTimeToPostRequest(server string, params *GetBestTimeToPostParams) (*http.Request, error)
NewGetBestTimeToPostRequest generates requests for GetBestTimeToPost
func NewGetBroadcastRequest ¶ added in v0.0.76
NewGetBroadcastRequest generates requests for GetBroadcast
func NewGetCommentAutomationRequest ¶ added in v0.0.76
NewGetCommentAutomationRequest generates requests for GetCommentAutomation
func NewGetConnectUrlRequest ¶
func NewGetConnectUrlRequest(server string, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams) (*http.Request, error)
NewGetConnectUrlRequest generates requests for GetConnectUrl
func NewGetContactChannelsRequest ¶ added in v0.0.76
NewGetContactChannelsRequest generates requests for GetContactChannels
func NewGetContactRequest ¶ added in v0.0.76
NewGetContactRequest generates requests for GetContact
func NewGetContentDecayRequest ¶
func NewGetContentDecayRequest(server string, params *GetContentDecayParams) (*http.Request, error)
NewGetContentDecayRequest generates requests for GetContentDecay
func NewGetDailyMetricsRequest ¶
func NewGetDailyMetricsRequest(server string, params *GetDailyMetricsParams) (*http.Request, error)
NewGetDailyMetricsRequest generates requests for GetDailyMetrics
func NewGetDiscordChannelsRequest ¶ added in v0.0.153
NewGetDiscordChannelsRequest generates requests for GetDiscordChannels
func NewGetDiscordSettingsRequest ¶ added in v0.0.153
NewGetDiscordSettingsRequest generates requests for GetDiscordSettings
func NewGetFacebookPageInsightsRequest ¶ added in v0.0.184
func NewGetFacebookPageInsightsRequest(server string, params *GetFacebookPageInsightsParams) (*http.Request, error)
NewGetFacebookPageInsightsRequest generates requests for GetFacebookPageInsights
func NewGetFacebookPagesRequest ¶
NewGetFacebookPagesRequest generates requests for GetFacebookPages
func NewGetFollowerStatsRequest ¶
func NewGetFollowerStatsRequest(server string, params *GetFollowerStatsParams) (*http.Request, error)
NewGetFollowerStatsRequest generates requests for GetFollowerStats
func NewGetGmbLocationsRequest ¶
NewGetGmbLocationsRequest generates requests for GetGmbLocations
func NewGetGoogleBusinessAttributesRequest ¶
func NewGetGoogleBusinessAttributesRequest(server string, accountId string, params *GetGoogleBusinessAttributesParams) (*http.Request, error)
NewGetGoogleBusinessAttributesRequest generates requests for GetGoogleBusinessAttributes
func NewGetGoogleBusinessFoodMenusRequest ¶
func NewGetGoogleBusinessFoodMenusRequest(server string, accountId string, params *GetGoogleBusinessFoodMenusParams) (*http.Request, error)
NewGetGoogleBusinessFoodMenusRequest generates requests for GetGoogleBusinessFoodMenus
func NewGetGoogleBusinessLocationDetailsRequest ¶
func NewGetGoogleBusinessLocationDetailsRequest(server string, accountId string, params *GetGoogleBusinessLocationDetailsParams) (*http.Request, error)
NewGetGoogleBusinessLocationDetailsRequest generates requests for GetGoogleBusinessLocationDetails
func NewGetGoogleBusinessPerformanceRequest ¶ added in v0.0.118
func NewGetGoogleBusinessPerformanceRequest(server string, params *GetGoogleBusinessPerformanceParams) (*http.Request, error)
NewGetGoogleBusinessPerformanceRequest generates requests for GetGoogleBusinessPerformance
func NewGetGoogleBusinessReviewsRequest ¶
func NewGetGoogleBusinessReviewsRequest(server string, accountId string, params *GetGoogleBusinessReviewsParams) (*http.Request, error)
NewGetGoogleBusinessReviewsRequest generates requests for GetGoogleBusinessReviews
func NewGetGoogleBusinessSearchKeywordsRequest ¶ added in v0.0.118
func NewGetGoogleBusinessSearchKeywordsRequest(server string, params *GetGoogleBusinessSearchKeywordsParams) (*http.Request, error)
NewGetGoogleBusinessSearchKeywordsRequest generates requests for GetGoogleBusinessSearchKeywords
func NewGetGoogleBusinessServicesRequest ¶ added in v0.0.158
func NewGetGoogleBusinessServicesRequest(server string, accountId string, params *GetGoogleBusinessServicesParams) (*http.Request, error)
NewGetGoogleBusinessServicesRequest generates requests for GetGoogleBusinessServices
func NewGetInboxConversationMessagesRequest ¶
func NewGetInboxConversationMessagesRequest(server string, conversationId string, params *GetInboxConversationMessagesParams) (*http.Request, error)
NewGetInboxConversationMessagesRequest generates requests for GetInboxConversationMessages
func NewGetInboxConversationRequest ¶
func NewGetInboxConversationRequest(server string, conversationId string, params *GetInboxConversationParams) (*http.Request, error)
NewGetInboxConversationRequest generates requests for GetInboxConversation
func NewGetInboxPostCommentsRequest ¶
func NewGetInboxPostCommentsRequest(server string, postId string, params *GetInboxPostCommentsParams) (*http.Request, error)
NewGetInboxPostCommentsRequest generates requests for GetInboxPostComments
func NewGetInstagramAccountInsightsRequest ¶ added in v0.0.73
func NewGetInstagramAccountInsightsRequest(server string, params *GetInstagramAccountInsightsParams) (*http.Request, error)
NewGetInstagramAccountInsightsRequest generates requests for GetInstagramAccountInsights
func NewGetInstagramDemographicsRequest ¶ added in v0.0.73
func NewGetInstagramDemographicsRequest(server string, params *GetInstagramDemographicsParams) (*http.Request, error)
NewGetInstagramDemographicsRequest generates requests for GetInstagramDemographics
func NewGetInstagramFollowerHistoryRequest ¶ added in v0.0.184
func NewGetInstagramFollowerHistoryRequest(server string, params *GetInstagramFollowerHistoryParams) (*http.Request, error)
NewGetInstagramFollowerHistoryRequest generates requests for GetInstagramFollowerHistory
func NewGetInstagramIceBreakersRequest ¶
NewGetInstagramIceBreakersRequest generates requests for GetInstagramIceBreakers
func NewGetLinkedInAggregateAnalyticsRequest ¶
func NewGetLinkedInAggregateAnalyticsRequest(server string, accountId string, params *GetLinkedInAggregateAnalyticsParams) (*http.Request, error)
NewGetLinkedInAggregateAnalyticsRequest generates requests for GetLinkedInAggregateAnalytics
func NewGetLinkedInMentionsRequest ¶
func NewGetLinkedInMentionsRequest(server string, accountId string, params *GetLinkedInMentionsParams) (*http.Request, error)
NewGetLinkedInMentionsRequest generates requests for GetLinkedInMentions
func NewGetLinkedInOrgAggregateAnalyticsRequest ¶ added in v0.0.184
func NewGetLinkedInOrgAggregateAnalyticsRequest(server string, params *GetLinkedInOrgAggregateAnalyticsParams) (*http.Request, error)
NewGetLinkedInOrgAggregateAnalyticsRequest generates requests for GetLinkedInOrgAggregateAnalytics
func NewGetLinkedInOrganizationsRequest ¶
NewGetLinkedInOrganizationsRequest generates requests for GetLinkedInOrganizations
func NewGetLinkedInPostAnalyticsRequest ¶
func NewGetLinkedInPostAnalyticsRequest(server string, accountId string, params *GetLinkedInPostAnalyticsParams) (*http.Request, error)
NewGetLinkedInPostAnalyticsRequest generates requests for GetLinkedInPostAnalytics
func NewGetLinkedInPostReactionsRequest ¶
func NewGetLinkedInPostReactionsRequest(server string, accountId string, params *GetLinkedInPostReactionsParams) (*http.Request, error)
NewGetLinkedInPostReactionsRequest generates requests for GetLinkedInPostReactions
func NewGetMediaPresignedUrlRequest ¶
func NewGetMediaPresignedUrlRequest(server string, body GetMediaPresignedUrlJSONRequestBody) (*http.Request, error)
NewGetMediaPresignedUrlRequest calls the generic GetMediaPresignedUrl builder with application/json body
func NewGetMediaPresignedUrlRequestWithBody ¶
func NewGetMediaPresignedUrlRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewGetMediaPresignedUrlRequestWithBody generates requests for GetMediaPresignedUrl with any type of body
func NewGetMessengerMenuRequest ¶
NewGetMessengerMenuRequest generates requests for GetMessengerMenu
func NewGetNextQueueSlotRequest ¶
func NewGetNextQueueSlotRequest(server string, params *GetNextQueueSlotParams) (*http.Request, error)
NewGetNextQueueSlotRequest generates requests for GetNextQueueSlot
func NewGetPendingOAuthDataRequest ¶
func NewGetPendingOAuthDataRequest(server string, params *GetPendingOAuthDataParams) (*http.Request, error)
NewGetPendingOAuthDataRequest generates requests for GetPendingOAuthData
func NewGetPinterestBoardsRequest ¶
NewGetPinterestBoardsRequest generates requests for GetPinterestBoards
func NewGetPostRequest ¶
NewGetPostRequest generates requests for GetPost
func NewGetPostTimelineRequest ¶
func NewGetPostTimelineRequest(server string, params *GetPostTimelineParams) (*http.Request, error)
NewGetPostTimelineRequest generates requests for GetPostTimeline
func NewGetPostingFrequencyRequest ¶
func NewGetPostingFrequencyRequest(server string, params *GetPostingFrequencyParams) (*http.Request, error)
NewGetPostingFrequencyRequest generates requests for GetPostingFrequency
func NewGetProfileRequest ¶
NewGetProfileRequest generates requests for GetProfile
func NewGetRedditFeedRequest ¶
func NewGetRedditFeedRequest(server string, params *GetRedditFeedParams) (*http.Request, error)
NewGetRedditFeedRequest generates requests for GetRedditFeed
func NewGetRedditFlairsRequest ¶
func NewGetRedditFlairsRequest(server string, accountId string, params *GetRedditFlairsParams) (*http.Request, error)
NewGetRedditFlairsRequest generates requests for GetRedditFlairs
func NewGetRedditSubredditsRequest ¶
NewGetRedditSubredditsRequest generates requests for GetRedditSubreddits
func NewGetSequenceRequest ¶ added in v0.0.76
NewGetSequenceRequest generates requests for GetSequence
func NewGetTelegramCommandsRequest ¶
NewGetTelegramCommandsRequest generates requests for GetTelegramCommands
func NewGetTelegramConnectStatusRequest ¶
func NewGetTelegramConnectStatusRequest(server string, params *GetTelegramConnectStatusParams) (*http.Request, error)
NewGetTelegramConnectStatusRequest generates requests for GetTelegramConnectStatus
func NewGetTikTokAccountInsightsRequest ¶ added in v0.0.184
func NewGetTikTokAccountInsightsRequest(server string, params *GetTikTokAccountInsightsParams) (*http.Request, error)
NewGetTikTokAccountInsightsRequest generates requests for GetTikTokAccountInsights
func NewGetTikTokCreatorInfoRequest ¶ added in v0.0.71
func NewGetTikTokCreatorInfoRequest(server string, accountId string, params *GetTikTokCreatorInfoParams) (*http.Request, error)
NewGetTikTokCreatorInfoRequest generates requests for GetTikTokCreatorInfo
func NewGetUsageStatsRequest ¶
NewGetUsageStatsRequest generates requests for GetUsageStats
func NewGetUserRequest ¶
NewGetUserRequest generates requests for GetUser
func NewGetWebhookSettingsRequest ¶
NewGetWebhookSettingsRequest generates requests for GetWebhookSettings
func NewGetWhatsAppBusinessProfileRequest ¶
func NewGetWhatsAppBusinessProfileRequest(server string, params *GetWhatsAppBusinessProfileParams) (*http.Request, error)
NewGetWhatsAppBusinessProfileRequest generates requests for GetWhatsAppBusinessProfile
func NewGetWhatsAppDisplayNameRequest ¶
func NewGetWhatsAppDisplayNameRequest(server string, params *GetWhatsAppDisplayNameParams) (*http.Request, error)
NewGetWhatsAppDisplayNameRequest generates requests for GetWhatsAppDisplayName
func NewGetWhatsAppFlowJsonRequest ¶ added in v0.0.117
func NewGetWhatsAppFlowJsonRequest(server string, flowId string, params *GetWhatsAppFlowJsonParams) (*http.Request, error)
NewGetWhatsAppFlowJsonRequest generates requests for GetWhatsAppFlowJson
func NewGetWhatsAppFlowRequest ¶ added in v0.0.117
func NewGetWhatsAppFlowRequest(server string, flowId string, params *GetWhatsAppFlowParams) (*http.Request, error)
NewGetWhatsAppFlowRequest generates requests for GetWhatsAppFlow
func NewGetWhatsAppGroupChatRequest ¶ added in v0.0.92
func NewGetWhatsAppGroupChatRequest(server string, groupId string, params *GetWhatsAppGroupChatParams) (*http.Request, error)
NewGetWhatsAppGroupChatRequest generates requests for GetWhatsAppGroupChat
func NewGetWhatsAppPhoneNumberRequest ¶
NewGetWhatsAppPhoneNumberRequest generates requests for GetWhatsAppPhoneNumber
func NewGetWhatsAppPhoneNumbersRequest ¶
func NewGetWhatsAppPhoneNumbersRequest(server string, params *GetWhatsAppPhoneNumbersParams) (*http.Request, error)
NewGetWhatsAppPhoneNumbersRequest generates requests for GetWhatsAppPhoneNumbers
func NewGetWhatsAppTemplateRequest ¶
func NewGetWhatsAppTemplateRequest(server string, templateName string, params *GetWhatsAppTemplateParams) (*http.Request, error)
NewGetWhatsAppTemplateRequest generates requests for GetWhatsAppTemplate
func NewGetWhatsAppTemplatesRequest ¶
func NewGetWhatsAppTemplatesRequest(server string, params *GetWhatsAppTemplatesParams) (*http.Request, error)
NewGetWhatsAppTemplatesRequest generates requests for GetWhatsAppTemplates
func NewGetYouTubeChannelInsightsRequest ¶ added in v0.0.184
func NewGetYouTubeChannelInsightsRequest(server string, params *GetYouTubeChannelInsightsParams) (*http.Request, error)
NewGetYouTubeChannelInsightsRequest generates requests for GetYouTubeChannelInsights
func NewGetYouTubeDailyViewsRequest ¶
func NewGetYouTubeDailyViewsRequest(server string, params *GetYouTubeDailyViewsParams) (*http.Request, error)
NewGetYouTubeDailyViewsRequest generates requests for GetYouTubeDailyViews
func NewGetYouTubeDemographicsRequest ¶ added in v0.0.117
func NewGetYouTubeDemographicsRequest(server string, params *GetYouTubeDemographicsParams) (*http.Request, error)
NewGetYouTubeDemographicsRequest generates requests for GetYouTubeDemographics
func NewGetYoutubePlaylistsRequest ¶ added in v0.0.99
NewGetYoutubePlaylistsRequest generates requests for GetYoutubePlaylists
func NewHandleOAuthCallbackRequest ¶
func NewHandleOAuthCallbackRequest(server string, platform string, body HandleOAuthCallbackJSONRequestBody) (*http.Request, error)
NewHandleOAuthCallbackRequest calls the generic HandleOAuthCallback builder with application/json body
func NewHandleOAuthCallbackRequestWithBody ¶
func NewHandleOAuthCallbackRequestWithBody(server string, platform string, contentType string, body io.Reader) (*http.Request, error)
NewHandleOAuthCallbackRequestWithBody generates requests for HandleOAuthCallback with any type of body
func NewHideInboxCommentRequest ¶
func NewHideInboxCommentRequest(server string, postId string, commentId string, body HideInboxCommentJSONRequestBody) (*http.Request, error)
NewHideInboxCommentRequest calls the generic HideInboxComment builder with application/json body
func NewHideInboxCommentRequestWithBody ¶
func NewHideInboxCommentRequestWithBody(server string, postId string, commentId string, contentType string, body io.Reader) (*http.Request, error)
NewHideInboxCommentRequestWithBody generates requests for HideInboxComment with any type of body
func NewInitiateTelegramConnectRequest ¶
func NewInitiateTelegramConnectRequest(server string, body InitiateTelegramConnectJSONRequestBody) (*http.Request, error)
NewInitiateTelegramConnectRequest calls the generic InitiateTelegramConnect builder with application/json body
func NewInitiateTelegramConnectRequestWithBody ¶
func NewInitiateTelegramConnectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewInitiateTelegramConnectRequestWithBody generates requests for InitiateTelegramConnect with any type of body
func NewLikeInboxCommentRequest ¶
func NewLikeInboxCommentRequest(server string, postId string, commentId string, body LikeInboxCommentJSONRequestBody) (*http.Request, error)
NewLikeInboxCommentRequest calls the generic LikeInboxComment builder with application/json body
func NewLikeInboxCommentRequestWithBody ¶
func NewLikeInboxCommentRequestWithBody(server string, postId string, commentId string, contentType string, body io.Reader) (*http.Request, error)
NewLikeInboxCommentRequestWithBody generates requests for LikeInboxComment with any type of body
func NewListAccountGroupsRequest ¶
NewListAccountGroupsRequest generates requests for ListAccountGroups
func NewListAccountsRequest ¶
func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)
NewListAccountsRequest generates requests for ListAccounts
func NewListAdAccountsRequest ¶ added in v0.0.106
func NewListAdAccountsRequest(server string, params *ListAdAccountsParams) (*http.Request, error)
NewListAdAccountsRequest generates requests for ListAdAccounts
func NewListAdAudiencesRequest ¶ added in v0.0.106
func NewListAdAudiencesRequest(server string, params *ListAdAudiencesParams) (*http.Request, error)
NewListAdAudiencesRequest generates requests for ListAdAudiences
func NewListAdCampaignsRequest ¶ added in v0.0.106
func NewListAdCampaignsRequest(server string, params *ListAdCampaignsParams) (*http.Request, error)
NewListAdCampaignsRequest generates requests for ListAdCampaigns
func NewListAdsBusinessCentersRequest ¶ added in v0.0.199
func NewListAdsBusinessCentersRequest(server string, params *ListAdsBusinessCentersParams) (*http.Request, error)
NewListAdsBusinessCentersRequest generates requests for ListAdsBusinessCenters
func NewListAdsRequest ¶ added in v0.0.106
func NewListAdsRequest(server string, params *ListAdsParams) (*http.Request, error)
NewListAdsRequest generates requests for ListAds
func NewListApiKeysRequest ¶
NewListApiKeysRequest generates requests for ListApiKeys
func NewListBroadcastRecipientsRequest ¶ added in v0.0.76
func NewListBroadcastRecipientsRequest(server string, broadcastId string, params *ListBroadcastRecipientsParams) (*http.Request, error)
NewListBroadcastRecipientsRequest generates requests for ListBroadcastRecipients
func NewListBroadcastsRequest ¶ added in v0.0.76
func NewListBroadcastsRequest(server string, params *ListBroadcastsParams) (*http.Request, error)
NewListBroadcastsRequest generates requests for ListBroadcasts
func NewListCommentAutomationLogsRequest ¶ added in v0.0.76
func NewListCommentAutomationLogsRequest(server string, automationId string, params *ListCommentAutomationLogsParams) (*http.Request, error)
NewListCommentAutomationLogsRequest generates requests for ListCommentAutomationLogs
func NewListCommentAutomationsRequest ¶ added in v0.0.76
func NewListCommentAutomationsRequest(server string, params *ListCommentAutomationsParams) (*http.Request, error)
NewListCommentAutomationsRequest generates requests for ListCommentAutomations
func NewListContactsRequest ¶ added in v0.0.76
func NewListContactsRequest(server string, params *ListContactsParams) (*http.Request, error)
NewListContactsRequest generates requests for ListContacts
func NewListConversionDestinationsRequest ¶ added in v0.0.149
NewListConversionDestinationsRequest generates requests for ListConversionDestinations
func NewListCustomFieldsRequest ¶ added in v0.0.76
func NewListCustomFieldsRequest(server string, params *ListCustomFieldsParams) (*http.Request, error)
NewListCustomFieldsRequest generates requests for ListCustomFields
func NewListFacebookPagesRequest ¶
func NewListFacebookPagesRequest(server string, params *ListFacebookPagesParams) (*http.Request, error)
NewListFacebookPagesRequest generates requests for ListFacebookPages
func NewListGoogleBusinessLocationsRequest ¶
func NewListGoogleBusinessLocationsRequest(server string, params *ListGoogleBusinessLocationsParams) (*http.Request, error)
NewListGoogleBusinessLocationsRequest generates requests for ListGoogleBusinessLocations
func NewListGoogleBusinessMediaRequest ¶
func NewListGoogleBusinessMediaRequest(server string, accountId string, params *ListGoogleBusinessMediaParams) (*http.Request, error)
NewListGoogleBusinessMediaRequest generates requests for ListGoogleBusinessMedia
func NewListGoogleBusinessPlaceActionsRequest ¶
func NewListGoogleBusinessPlaceActionsRequest(server string, accountId string, params *ListGoogleBusinessPlaceActionsParams) (*http.Request, error)
NewListGoogleBusinessPlaceActionsRequest generates requests for ListGoogleBusinessPlaceActions
func NewListInboxCommentsRequest ¶
func NewListInboxCommentsRequest(server string, params *ListInboxCommentsParams) (*http.Request, error)
NewListInboxCommentsRequest generates requests for ListInboxComments
func NewListInboxConversationsRequest ¶
func NewListInboxConversationsRequest(server string, params *ListInboxConversationsParams) (*http.Request, error)
NewListInboxConversationsRequest generates requests for ListInboxConversations
func NewListInboxReviewsRequest ¶
func NewListInboxReviewsRequest(server string, params *ListInboxReviewsParams) (*http.Request, error)
NewListInboxReviewsRequest generates requests for ListInboxReviews
func NewListLinkedInOrganizationsRequest ¶
func NewListLinkedInOrganizationsRequest(server string, params *ListLinkedInOrganizationsParams) (*http.Request, error)
NewListLinkedInOrganizationsRequest generates requests for ListLinkedInOrganizations
func NewListLogsRequest ¶ added in v0.0.125
func NewListLogsRequest(server string, params *ListLogsParams) (*http.Request, error)
NewListLogsRequest generates requests for ListLogs
func NewListPinterestBoardsForSelectionRequest ¶
func NewListPinterestBoardsForSelectionRequest(server string, params *ListPinterestBoardsForSelectionParams) (*http.Request, error)
NewListPinterestBoardsForSelectionRequest generates requests for ListPinterestBoardsForSelection
func NewListPostsRequest ¶
func NewListPostsRequest(server string, params *ListPostsParams) (*http.Request, error)
NewListPostsRequest generates requests for ListPosts
func NewListProfilesRequest ¶
func NewListProfilesRequest(server string, params *ListProfilesParams) (*http.Request, error)
NewListProfilesRequest generates requests for ListProfiles
func NewListQueueSlotsRequest ¶
func NewListQueueSlotsRequest(server string, params *ListQueueSlotsParams) (*http.Request, error)
NewListQueueSlotsRequest generates requests for ListQueueSlots
func NewListSequenceEnrollmentsRequest ¶ added in v0.0.76
func NewListSequenceEnrollmentsRequest(server string, sequenceId string, params *ListSequenceEnrollmentsParams) (*http.Request, error)
NewListSequenceEnrollmentsRequest generates requests for ListSequenceEnrollments
func NewListSequencesRequest ¶ added in v0.0.76
func NewListSequencesRequest(server string, params *ListSequencesParams) (*http.Request, error)
NewListSequencesRequest generates requests for ListSequences
func NewListSnapchatProfilesRequest ¶
func NewListSnapchatProfilesRequest(server string, params *ListSnapchatProfilesParams) (*http.Request, error)
NewListSnapchatProfilesRequest generates requests for ListSnapchatProfiles
func NewListUsersRequest ¶
NewListUsersRequest generates requests for ListUsers
func NewListWhatsAppFlowsRequest ¶ added in v0.0.117
func NewListWhatsAppFlowsRequest(server string, params *ListWhatsAppFlowsParams) (*http.Request, error)
NewListWhatsAppFlowsRequest generates requests for ListWhatsAppFlows
func NewListWhatsAppGroupChatsRequest ¶ added in v0.0.92
func NewListWhatsAppGroupChatsRequest(server string, params *ListWhatsAppGroupChatsParams) (*http.Request, error)
NewListWhatsAppGroupChatsRequest generates requests for ListWhatsAppGroupChats
func NewListWhatsAppGroupJoinRequestsRequest ¶ added in v0.0.92
func NewListWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *ListWhatsAppGroupJoinRequestsParams) (*http.Request, error)
NewListWhatsAppGroupJoinRequestsRequest generates requests for ListWhatsAppGroupJoinRequests
func NewPauseSequenceRequest ¶ added in v0.0.76
NewPauseSequenceRequest generates requests for PauseSequence
func NewPreviewQueueRequest ¶
func NewPreviewQueueRequest(server string, params *PreviewQueueParams) (*http.Request, error)
NewPreviewQueueRequest generates requests for PreviewQueue
func NewPublishWhatsAppFlowRequest ¶ added in v0.0.117
func NewPublishWhatsAppFlowRequest(server string, flowId string, body PublishWhatsAppFlowJSONRequestBody) (*http.Request, error)
NewPublishWhatsAppFlowRequest calls the generic PublishWhatsAppFlow builder with application/json body
func NewPublishWhatsAppFlowRequestWithBody ¶ added in v0.0.117
func NewPublishWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
NewPublishWhatsAppFlowRequestWithBody generates requests for PublishWhatsAppFlow with any type of body
func NewPurchaseWhatsAppPhoneNumberRequest ¶
func NewPurchaseWhatsAppPhoneNumberRequest(server string, body PurchaseWhatsAppPhoneNumberJSONRequestBody) (*http.Request, error)
NewPurchaseWhatsAppPhoneNumberRequest calls the generic PurchaseWhatsAppPhoneNumber builder with application/json body
func NewPurchaseWhatsAppPhoneNumberRequestWithBody ¶
func NewPurchaseWhatsAppPhoneNumberRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPurchaseWhatsAppPhoneNumberRequestWithBody generates requests for PurchaseWhatsAppPhoneNumber with any type of body
func NewRejectWhatsAppGroupJoinRequestsRequest ¶ added in v0.0.92
func NewRejectWhatsAppGroupJoinRequestsRequest(server string, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, body RejectWhatsAppGroupJoinRequestsJSONRequestBody) (*http.Request, error)
NewRejectWhatsAppGroupJoinRequestsRequest calls the generic RejectWhatsAppGroupJoinRequests builder with application/json body
func NewRejectWhatsAppGroupJoinRequestsRequestWithBody ¶ added in v0.0.92
func NewRejectWhatsAppGroupJoinRequestsRequestWithBody(server string, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader) (*http.Request, error)
NewRejectWhatsAppGroupJoinRequestsRequestWithBody generates requests for RejectWhatsAppGroupJoinRequests with any type of body
func NewReleaseWhatsAppPhoneNumberRequest ¶
func NewReleaseWhatsAppPhoneNumberRequest(server string, phoneNumberId string) (*http.Request, error)
NewReleaseWhatsAppPhoneNumberRequest generates requests for ReleaseWhatsAppPhoneNumber
func NewRemoveBookmarkRequest ¶
func NewRemoveBookmarkRequest(server string, params *RemoveBookmarkParams) (*http.Request, error)
NewRemoveBookmarkRequest generates requests for RemoveBookmark
func NewRemoveMessageReactionRequest ¶ added in v0.0.96
func NewRemoveMessageReactionRequest(server string, conversationId string, messageId string, params *RemoveMessageReactionParams) (*http.Request, error)
NewRemoveMessageReactionRequest generates requests for RemoveMessageReaction
func NewRemoveWhatsAppGroupParticipantsRequest ¶ added in v0.0.92
func NewRemoveWhatsAppGroupParticipantsRequest(server string, groupId string, params *RemoveWhatsAppGroupParticipantsParams, body RemoveWhatsAppGroupParticipantsJSONRequestBody) (*http.Request, error)
NewRemoveWhatsAppGroupParticipantsRequest calls the generic RemoveWhatsAppGroupParticipants builder with application/json body
func NewRemoveWhatsAppGroupParticipantsRequestWithBody ¶ added in v0.0.92
func NewRemoveWhatsAppGroupParticipantsRequestWithBody(server string, groupId string, params *RemoveWhatsAppGroupParticipantsParams, contentType string, body io.Reader) (*http.Request, error)
NewRemoveWhatsAppGroupParticipantsRequestWithBody generates requests for RemoveWhatsAppGroupParticipants with any type of body
func NewReplyToInboxPostRequest ¶
func NewReplyToInboxPostRequest(server string, postId string, body ReplyToInboxPostJSONRequestBody) (*http.Request, error)
NewReplyToInboxPostRequest calls the generic ReplyToInboxPost builder with application/json body
func NewReplyToInboxPostRequestWithBody ¶
func NewReplyToInboxPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
NewReplyToInboxPostRequestWithBody generates requests for ReplyToInboxPost with any type of body
func NewReplyToInboxReviewRequest ¶
func NewReplyToInboxReviewRequest(server string, reviewId string, body ReplyToInboxReviewJSONRequestBody) (*http.Request, error)
NewReplyToInboxReviewRequest calls the generic ReplyToInboxReview builder with application/json body
func NewReplyToInboxReviewRequestWithBody ¶
func NewReplyToInboxReviewRequestWithBody(server string, reviewId string, contentType string, body io.Reader) (*http.Request, error)
NewReplyToInboxReviewRequestWithBody generates requests for ReplyToInboxReview with any type of body
func NewRetryPostRequest ¶
NewRetryPostRequest generates requests for RetryPost
func NewRetweetPostRequest ¶
func NewRetweetPostRequest(server string, body RetweetPostJSONRequestBody) (*http.Request, error)
NewRetweetPostRequest calls the generic RetweetPost builder with application/json body
func NewRetweetPostRequestWithBody ¶
func NewRetweetPostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewRetweetPostRequestWithBody generates requests for RetweetPost with any type of body
func NewScheduleBroadcastRequest ¶ added in v0.0.76
func NewScheduleBroadcastRequest(server string, broadcastId string, body ScheduleBroadcastJSONRequestBody) (*http.Request, error)
NewScheduleBroadcastRequest calls the generic ScheduleBroadcast builder with application/json body
func NewScheduleBroadcastRequestWithBody ¶ added in v0.0.76
func NewScheduleBroadcastRequestWithBody(server string, broadcastId string, contentType string, body io.Reader) (*http.Request, error)
NewScheduleBroadcastRequestWithBody generates requests for ScheduleBroadcast with any type of body
func NewSearchAdInterestsRequest ¶ added in v0.0.106
func NewSearchAdInterestsRequest(server string, params *SearchAdInterestsParams) (*http.Request, error)
NewSearchAdInterestsRequest generates requests for SearchAdInterests
func NewSearchRedditRequest ¶
func NewSearchRedditRequest(server string, params *SearchRedditParams) (*http.Request, error)
NewSearchRedditRequest generates requests for SearchReddit
func NewSelectFacebookPageRequest ¶
func NewSelectFacebookPageRequest(server string, body SelectFacebookPageJSONRequestBody) (*http.Request, error)
NewSelectFacebookPageRequest calls the generic SelectFacebookPage builder with application/json body
func NewSelectFacebookPageRequestWithBody ¶
func NewSelectFacebookPageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSelectFacebookPageRequestWithBody generates requests for SelectFacebookPage with any type of body
func NewSelectGoogleBusinessLocationRequest ¶
func NewSelectGoogleBusinessLocationRequest(server string, body SelectGoogleBusinessLocationJSONRequestBody) (*http.Request, error)
NewSelectGoogleBusinessLocationRequest calls the generic SelectGoogleBusinessLocation builder with application/json body
func NewSelectGoogleBusinessLocationRequestWithBody ¶
func NewSelectGoogleBusinessLocationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSelectGoogleBusinessLocationRequestWithBody generates requests for SelectGoogleBusinessLocation with any type of body
func NewSelectLinkedInOrganizationRequest ¶
func NewSelectLinkedInOrganizationRequest(server string, body SelectLinkedInOrganizationJSONRequestBody) (*http.Request, error)
NewSelectLinkedInOrganizationRequest calls the generic SelectLinkedInOrganization builder with application/json body
func NewSelectLinkedInOrganizationRequestWithBody ¶
func NewSelectLinkedInOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSelectLinkedInOrganizationRequestWithBody generates requests for SelectLinkedInOrganization with any type of body
func NewSelectPinterestBoardRequest ¶
func NewSelectPinterestBoardRequest(server string, body SelectPinterestBoardJSONRequestBody) (*http.Request, error)
NewSelectPinterestBoardRequest calls the generic SelectPinterestBoard builder with application/json body
func NewSelectPinterestBoardRequestWithBody ¶
func NewSelectPinterestBoardRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSelectPinterestBoardRequestWithBody generates requests for SelectPinterestBoard with any type of body
func NewSelectSnapchatProfileRequest ¶
func NewSelectSnapchatProfileRequest(server string, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody) (*http.Request, error)
NewSelectSnapchatProfileRequest calls the generic SelectSnapchatProfile builder with application/json body
func NewSelectSnapchatProfileRequestWithBody ¶
func NewSelectSnapchatProfileRequestWithBody(server string, params *SelectSnapchatProfileParams, contentType string, body io.Reader) (*http.Request, error)
NewSelectSnapchatProfileRequestWithBody generates requests for SelectSnapchatProfile with any type of body
func NewSendBroadcastRequest ¶ added in v0.0.76
NewSendBroadcastRequest generates requests for SendBroadcast
func NewSendConversionsRequest ¶ added in v0.0.149
func NewSendConversionsRequest(server string, body SendConversionsJSONRequestBody) (*http.Request, error)
NewSendConversionsRequest calls the generic SendConversions builder with application/json body
func NewSendConversionsRequestWithBody ¶ added in v0.0.149
func NewSendConversionsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSendConversionsRequestWithBody generates requests for SendConversions with any type of body
func NewSendInboxMessageRequest ¶
func NewSendInboxMessageRequest(server string, conversationId string, body SendInboxMessageJSONRequestBody) (*http.Request, error)
NewSendInboxMessageRequest calls the generic SendInboxMessage builder with application/json body
func NewSendInboxMessageRequestWithBody ¶
func NewSendInboxMessageRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewSendInboxMessageRequestWithBody generates requests for SendInboxMessage with any type of body
func NewSendPrivateReplyToCommentRequest ¶
func NewSendPrivateReplyToCommentRequest(server string, postId string, commentId string, body SendPrivateReplyToCommentJSONRequestBody) (*http.Request, error)
NewSendPrivateReplyToCommentRequest calls the generic SendPrivateReplyToComment builder with application/json body
func NewSendPrivateReplyToCommentRequestWithBody ¶
func NewSendPrivateReplyToCommentRequestWithBody(server string, postId string, commentId string, contentType string, body io.Reader) (*http.Request, error)
NewSendPrivateReplyToCommentRequestWithBody generates requests for SendPrivateReplyToComment with any type of body
func NewSendTypingIndicatorRequest ¶ added in v0.0.96
func NewSendTypingIndicatorRequest(server string, conversationId string, body SendTypingIndicatorJSONRequestBody) (*http.Request, error)
NewSendTypingIndicatorRequest calls the generic SendTypingIndicator builder with application/json body
func NewSendTypingIndicatorRequestWithBody ¶ added in v0.0.96
func NewSendTypingIndicatorRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewSendTypingIndicatorRequestWithBody generates requests for SendTypingIndicator with any type of body
func NewSendWhatsAppConversionRequest ¶ added in v0.0.189
func NewSendWhatsAppConversionRequest(server string, body SendWhatsAppConversionJSONRequestBody) (*http.Request, error)
NewSendWhatsAppConversionRequest calls the generic SendWhatsAppConversion builder with application/json body
func NewSendWhatsAppConversionRequestWithBody ¶ added in v0.0.189
func NewSendWhatsAppConversionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSendWhatsAppConversionRequestWithBody generates requests for SendWhatsAppConversion with any type of body
func NewSendWhatsAppFlowMessageRequest ¶ added in v0.0.117
func NewSendWhatsAppFlowMessageRequest(server string, body SendWhatsAppFlowMessageJSONRequestBody) (*http.Request, error)
NewSendWhatsAppFlowMessageRequest calls the generic SendWhatsAppFlowMessage builder with application/json body
func NewSendWhatsAppFlowMessageRequestWithBody ¶ added in v0.0.117
func NewSendWhatsAppFlowMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSendWhatsAppFlowMessageRequestWithBody generates requests for SendWhatsAppFlowMessage with any type of body
func NewSetContactFieldValueRequest ¶ added in v0.0.76
func NewSetContactFieldValueRequest(server string, contactId string, slug string, body SetContactFieldValueJSONRequestBody) (*http.Request, error)
NewSetContactFieldValueRequest calls the generic SetContactFieldValue builder with application/json body
func NewSetContactFieldValueRequestWithBody ¶ added in v0.0.76
func NewSetContactFieldValueRequestWithBody(server string, contactId string, slug string, contentType string, body io.Reader) (*http.Request, error)
NewSetContactFieldValueRequestWithBody generates requests for SetContactFieldValue with any type of body
func NewSetInstagramIceBreakersRequest ¶
func NewSetInstagramIceBreakersRequest(server string, accountId string, body SetInstagramIceBreakersJSONRequestBody) (*http.Request, error)
NewSetInstagramIceBreakersRequest calls the generic SetInstagramIceBreakers builder with application/json body
func NewSetInstagramIceBreakersRequestWithBody ¶
func NewSetInstagramIceBreakersRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewSetInstagramIceBreakersRequestWithBody generates requests for SetInstagramIceBreakers with any type of body
func NewSetMessengerMenuRequest ¶
func NewSetMessengerMenuRequest(server string, accountId string, body SetMessengerMenuJSONRequestBody) (*http.Request, error)
NewSetMessengerMenuRequest calls the generic SetMessengerMenu builder with application/json body
func NewSetMessengerMenuRequestWithBody ¶
func NewSetMessengerMenuRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewSetMessengerMenuRequestWithBody generates requests for SetMessengerMenu with any type of body
func NewSetTelegramCommandsRequest ¶
func NewSetTelegramCommandsRequest(server string, accountId string, body SetTelegramCommandsJSONRequestBody) (*http.Request, error)
NewSetTelegramCommandsRequest calls the generic SetTelegramCommands builder with application/json body
func NewSetTelegramCommandsRequestWithBody ¶
func NewSetTelegramCommandsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewSetTelegramCommandsRequestWithBody generates requests for SetTelegramCommands with any type of body
func NewTestWebhookRequest ¶
func NewTestWebhookRequest(server string, body TestWebhookJSONRequestBody) (*http.Request, error)
NewTestWebhookRequest calls the generic TestWebhook builder with application/json body
func NewTestWebhookRequestWithBody ¶
func NewTestWebhookRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewTestWebhookRequestWithBody generates requests for TestWebhook with any type of body
func NewUndoRetweetRequest ¶
func NewUndoRetweetRequest(server string, params *UndoRetweetParams) (*http.Request, error)
NewUndoRetweetRequest generates requests for UndoRetweet
func NewUnenrollContactRequest ¶ added in v0.0.76
func NewUnenrollContactRequest(server string, sequenceId string, contactId string) (*http.Request, error)
NewUnenrollContactRequest generates requests for UnenrollContact
func NewUnfollowUserRequest ¶
func NewUnfollowUserRequest(server string, params *UnfollowUserParams) (*http.Request, error)
NewUnfollowUserRequest generates requests for UnfollowUser
func NewUnhideInboxCommentRequest ¶
func NewUnhideInboxCommentRequest(server string, postId string, commentId string, params *UnhideInboxCommentParams) (*http.Request, error)
NewUnhideInboxCommentRequest generates requests for UnhideInboxComment
func NewUnlikeInboxCommentRequest ¶
func NewUnlikeInboxCommentRequest(server string, postId string, commentId string, params *UnlikeInboxCommentParams) (*http.Request, error)
NewUnlikeInboxCommentRequest generates requests for UnlikeInboxComment
func NewUnpublishPostRequest ¶
func NewUnpublishPostRequest(server string, postId string, body UnpublishPostJSONRequestBody) (*http.Request, error)
NewUnpublishPostRequest calls the generic UnpublishPost builder with application/json body
func NewUnpublishPostRequestWithBody ¶
func NewUnpublishPostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
NewUnpublishPostRequestWithBody generates requests for UnpublishPost with any type of body
func NewUpdateAccountGroupRequest ¶
func NewUpdateAccountGroupRequest(server string, groupId string, body UpdateAccountGroupJSONRequestBody) (*http.Request, error)
NewUpdateAccountGroupRequest calls the generic UpdateAccountGroup builder with application/json body
func NewUpdateAccountGroupRequestWithBody ¶
func NewUpdateAccountGroupRequestWithBody(server string, groupId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAccountGroupRequestWithBody generates requests for UpdateAccountGroup with any type of body
func NewUpdateAccountRequest ¶
func NewUpdateAccountRequest(server string, accountId string, body UpdateAccountJSONRequestBody) (*http.Request, error)
NewUpdateAccountRequest calls the generic UpdateAccount builder with application/json body
func NewUpdateAccountRequestWithBody ¶
func NewUpdateAccountRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAccountRequestWithBody generates requests for UpdateAccount with any type of body
func NewUpdateAdCampaignRequest ¶ added in v0.0.168
func NewUpdateAdCampaignRequest(server string, campaignId string, body UpdateAdCampaignJSONRequestBody) (*http.Request, error)
NewUpdateAdCampaignRequest calls the generic UpdateAdCampaign builder with application/json body
func NewUpdateAdCampaignRequestWithBody ¶ added in v0.0.168
func NewUpdateAdCampaignRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdCampaignRequestWithBody generates requests for UpdateAdCampaign with any type of body
func NewUpdateAdCampaignStatusRequest ¶ added in v0.0.106
func NewUpdateAdCampaignStatusRequest(server string, campaignId string, body UpdateAdCampaignStatusJSONRequestBody) (*http.Request, error)
NewUpdateAdCampaignStatusRequest calls the generic UpdateAdCampaignStatus builder with application/json body
func NewUpdateAdCampaignStatusRequestWithBody ¶ added in v0.0.106
func NewUpdateAdCampaignStatusRequestWithBody(server string, campaignId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdCampaignStatusRequestWithBody generates requests for UpdateAdCampaignStatus with any type of body
func NewUpdateAdRequest ¶ added in v0.0.106
func NewUpdateAdRequest(server string, adId string, body UpdateAdJSONRequestBody) (*http.Request, error)
NewUpdateAdRequest calls the generic UpdateAd builder with application/json body
func NewUpdateAdRequestWithBody ¶ added in v0.0.106
func NewUpdateAdRequestWithBody(server string, adId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdRequestWithBody generates requests for UpdateAd with any type of body
func NewUpdateAdSetRequest ¶ added in v0.0.168
func NewUpdateAdSetRequest(server string, adSetId string, body UpdateAdSetJSONRequestBody) (*http.Request, error)
NewUpdateAdSetRequest calls the generic UpdateAdSet builder with application/json body
func NewUpdateAdSetRequestWithBody ¶ added in v0.0.168
func NewUpdateAdSetRequestWithBody(server string, adSetId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdSetRequestWithBody generates requests for UpdateAdSet with any type of body
func NewUpdateAdSetStatusRequest ¶ added in v0.0.168
func NewUpdateAdSetStatusRequest(server string, adSetId string, body UpdateAdSetStatusJSONRequestBody) (*http.Request, error)
NewUpdateAdSetStatusRequest calls the generic UpdateAdSetStatus builder with application/json body
func NewUpdateAdSetStatusRequestWithBody ¶ added in v0.0.168
func NewUpdateAdSetStatusRequestWithBody(server string, adSetId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAdSetStatusRequestWithBody generates requests for UpdateAdSetStatus with any type of body
func NewUpdateBroadcastRequest ¶ added in v0.0.76
NewUpdateBroadcastRequest generates requests for UpdateBroadcast
func NewUpdateCommentAutomationRequest ¶ added in v0.0.76
func NewUpdateCommentAutomationRequest(server string, automationId string, body UpdateCommentAutomationJSONRequestBody) (*http.Request, error)
NewUpdateCommentAutomationRequest calls the generic UpdateCommentAutomation builder with application/json body
func NewUpdateCommentAutomationRequestWithBody ¶ added in v0.0.76
func NewUpdateCommentAutomationRequestWithBody(server string, automationId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCommentAutomationRequestWithBody generates requests for UpdateCommentAutomation with any type of body
func NewUpdateContactRequest ¶ added in v0.0.76
func NewUpdateContactRequest(server string, contactId string, body UpdateContactJSONRequestBody) (*http.Request, error)
NewUpdateContactRequest calls the generic UpdateContact builder with application/json body
func NewUpdateContactRequestWithBody ¶ added in v0.0.76
func NewUpdateContactRequestWithBody(server string, contactId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateContactRequestWithBody generates requests for UpdateContact with any type of body
func NewUpdateCustomFieldRequest ¶ added in v0.0.76
func NewUpdateCustomFieldRequest(server string, fieldId string, body UpdateCustomFieldJSONRequestBody) (*http.Request, error)
NewUpdateCustomFieldRequest calls the generic UpdateCustomField builder with application/json body
func NewUpdateCustomFieldRequestWithBody ¶ added in v0.0.76
func NewUpdateCustomFieldRequestWithBody(server string, fieldId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomFieldRequestWithBody generates requests for UpdateCustomField with any type of body
func NewUpdateDiscordSettingsRequest ¶ added in v0.0.153
func NewUpdateDiscordSettingsRequest(server string, accountId string, body UpdateDiscordSettingsJSONRequestBody) (*http.Request, error)
NewUpdateDiscordSettingsRequest calls the generic UpdateDiscordSettings builder with application/json body
func NewUpdateDiscordSettingsRequestWithBody ¶ added in v0.0.153
func NewUpdateDiscordSettingsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateDiscordSettingsRequestWithBody generates requests for UpdateDiscordSettings with any type of body
func NewUpdateFacebookPageRequest ¶
func NewUpdateFacebookPageRequest(server string, accountId string, body UpdateFacebookPageJSONRequestBody) (*http.Request, error)
NewUpdateFacebookPageRequest calls the generic UpdateFacebookPage builder with application/json body
func NewUpdateFacebookPageRequestWithBody ¶
func NewUpdateFacebookPageRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFacebookPageRequestWithBody generates requests for UpdateFacebookPage with any type of body
func NewUpdateGmbLocationRequest ¶
func NewUpdateGmbLocationRequest(server string, accountId string, body UpdateGmbLocationJSONRequestBody) (*http.Request, error)
NewUpdateGmbLocationRequest calls the generic UpdateGmbLocation builder with application/json body
func NewUpdateGmbLocationRequestWithBody ¶
func NewUpdateGmbLocationRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGmbLocationRequestWithBody generates requests for UpdateGmbLocation with any type of body
func NewUpdateGoogleBusinessAttributesRequest ¶
func NewUpdateGoogleBusinessAttributesRequest(server string, accountId string, params *UpdateGoogleBusinessAttributesParams, body UpdateGoogleBusinessAttributesJSONRequestBody) (*http.Request, error)
NewUpdateGoogleBusinessAttributesRequest calls the generic UpdateGoogleBusinessAttributes builder with application/json body
func NewUpdateGoogleBusinessAttributesRequestWithBody ¶
func NewUpdateGoogleBusinessAttributesRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessAttributesParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGoogleBusinessAttributesRequestWithBody generates requests for UpdateGoogleBusinessAttributes with any type of body
func NewUpdateGoogleBusinessFoodMenusRequest ¶
func NewUpdateGoogleBusinessFoodMenusRequest(server string, accountId string, params *UpdateGoogleBusinessFoodMenusParams, body UpdateGoogleBusinessFoodMenusJSONRequestBody) (*http.Request, error)
NewUpdateGoogleBusinessFoodMenusRequest calls the generic UpdateGoogleBusinessFoodMenus builder with application/json body
func NewUpdateGoogleBusinessFoodMenusRequestWithBody ¶
func NewUpdateGoogleBusinessFoodMenusRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessFoodMenusParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGoogleBusinessFoodMenusRequestWithBody generates requests for UpdateGoogleBusinessFoodMenus with any type of body
func NewUpdateGoogleBusinessLocationDetailsRequest ¶
func NewUpdateGoogleBusinessLocationDetailsRequest(server string, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, body UpdateGoogleBusinessLocationDetailsJSONRequestBody) (*http.Request, error)
NewUpdateGoogleBusinessLocationDetailsRequest calls the generic UpdateGoogleBusinessLocationDetails builder with application/json body
func NewUpdateGoogleBusinessLocationDetailsRequestWithBody ¶
func NewUpdateGoogleBusinessLocationDetailsRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGoogleBusinessLocationDetailsRequestWithBody generates requests for UpdateGoogleBusinessLocationDetails with any type of body
func NewUpdateGoogleBusinessPlaceActionRequest ¶ added in v0.0.158
func NewUpdateGoogleBusinessPlaceActionRequest(server string, accountId string, params *UpdateGoogleBusinessPlaceActionParams, body UpdateGoogleBusinessPlaceActionJSONRequestBody) (*http.Request, error)
NewUpdateGoogleBusinessPlaceActionRequest calls the generic UpdateGoogleBusinessPlaceAction builder with application/json body
func NewUpdateGoogleBusinessPlaceActionRequestWithBody ¶ added in v0.0.158
func NewUpdateGoogleBusinessPlaceActionRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessPlaceActionParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGoogleBusinessPlaceActionRequestWithBody generates requests for UpdateGoogleBusinessPlaceAction with any type of body
func NewUpdateGoogleBusinessServicesRequest ¶ added in v0.0.158
func NewUpdateGoogleBusinessServicesRequest(server string, accountId string, params *UpdateGoogleBusinessServicesParams, body UpdateGoogleBusinessServicesJSONRequestBody) (*http.Request, error)
NewUpdateGoogleBusinessServicesRequest calls the generic UpdateGoogleBusinessServices builder with application/json body
func NewUpdateGoogleBusinessServicesRequestWithBody ¶ added in v0.0.158
func NewUpdateGoogleBusinessServicesRequestWithBody(server string, accountId string, params *UpdateGoogleBusinessServicesParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGoogleBusinessServicesRequestWithBody generates requests for UpdateGoogleBusinessServices with any type of body
func NewUpdateInboxConversationRequest ¶
func NewUpdateInboxConversationRequest(server string, conversationId string, body UpdateInboxConversationJSONRequestBody) (*http.Request, error)
NewUpdateInboxConversationRequest calls the generic UpdateInboxConversation builder with application/json body
func NewUpdateInboxConversationRequestWithBody ¶
func NewUpdateInboxConversationRequestWithBody(server string, conversationId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateInboxConversationRequestWithBody generates requests for UpdateInboxConversation with any type of body
func NewUpdateLinkedInOrganizationRequest ¶
func NewUpdateLinkedInOrganizationRequest(server string, accountId string, body UpdateLinkedInOrganizationJSONRequestBody) (*http.Request, error)
NewUpdateLinkedInOrganizationRequest calls the generic UpdateLinkedInOrganization builder with application/json body
func NewUpdateLinkedInOrganizationRequestWithBody ¶
func NewUpdateLinkedInOrganizationRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateLinkedInOrganizationRequestWithBody generates requests for UpdateLinkedInOrganization with any type of body
func NewUpdatePinterestBoardsRequest ¶
func NewUpdatePinterestBoardsRequest(server string, accountId string, body UpdatePinterestBoardsJSONRequestBody) (*http.Request, error)
NewUpdatePinterestBoardsRequest calls the generic UpdatePinterestBoards builder with application/json body
func NewUpdatePinterestBoardsRequestWithBody ¶
func NewUpdatePinterestBoardsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePinterestBoardsRequestWithBody generates requests for UpdatePinterestBoards with any type of body
func NewUpdatePostMetadataRequest ¶ added in v0.0.91
func NewUpdatePostMetadataRequest(server string, postId string, body UpdatePostMetadataJSONRequestBody) (*http.Request, error)
NewUpdatePostMetadataRequest calls the generic UpdatePostMetadata builder with application/json body
func NewUpdatePostMetadataRequestWithBody ¶ added in v0.0.91
func NewUpdatePostMetadataRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePostMetadataRequestWithBody generates requests for UpdatePostMetadata with any type of body
func NewUpdatePostRequest ¶
func NewUpdatePostRequest(server string, postId string, body UpdatePostJSONRequestBody) (*http.Request, error)
NewUpdatePostRequest calls the generic UpdatePost builder with application/json body
func NewUpdatePostRequestWithBody ¶
func NewUpdatePostRequestWithBody(server string, postId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePostRequestWithBody generates requests for UpdatePost with any type of body
func NewUpdateProfileRequest ¶
func NewUpdateProfileRequest(server string, profileId string, body UpdateProfileJSONRequestBody) (*http.Request, error)
NewUpdateProfileRequest calls the generic UpdateProfile builder with application/json body
func NewUpdateProfileRequestWithBody ¶
func NewUpdateProfileRequestWithBody(server string, profileId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateProfileRequestWithBody generates requests for UpdateProfile with any type of body
func NewUpdateQueueSlotRequest ¶
func NewUpdateQueueSlotRequest(server string, body UpdateQueueSlotJSONRequestBody) (*http.Request, error)
NewUpdateQueueSlotRequest calls the generic UpdateQueueSlot builder with application/json body
func NewUpdateQueueSlotRequestWithBody ¶
func NewUpdateQueueSlotRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateQueueSlotRequestWithBody generates requests for UpdateQueueSlot with any type of body
func NewUpdateRedditSubredditsRequest ¶
func NewUpdateRedditSubredditsRequest(server string, accountId string, body UpdateRedditSubredditsJSONRequestBody) (*http.Request, error)
NewUpdateRedditSubredditsRequest calls the generic UpdateRedditSubreddits builder with application/json body
func NewUpdateRedditSubredditsRequestWithBody ¶
func NewUpdateRedditSubredditsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateRedditSubredditsRequestWithBody generates requests for UpdateRedditSubreddits with any type of body
func NewUpdateSequenceRequest ¶ added in v0.0.76
NewUpdateSequenceRequest generates requests for UpdateSequence
func NewUpdateWebhookSettingsRequest ¶
func NewUpdateWebhookSettingsRequest(server string, body UpdateWebhookSettingsJSONRequestBody) (*http.Request, error)
NewUpdateWebhookSettingsRequest calls the generic UpdateWebhookSettings builder with application/json body
func NewUpdateWebhookSettingsRequestWithBody ¶
func NewUpdateWebhookSettingsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWebhookSettingsRequestWithBody generates requests for UpdateWebhookSettings with any type of body
func NewUpdateWhatsAppBusinessProfileRequest ¶
func NewUpdateWhatsAppBusinessProfileRequest(server string, body UpdateWhatsAppBusinessProfileJSONRequestBody) (*http.Request, error)
NewUpdateWhatsAppBusinessProfileRequest calls the generic UpdateWhatsAppBusinessProfile builder with application/json body
func NewUpdateWhatsAppBusinessProfileRequestWithBody ¶
func NewUpdateWhatsAppBusinessProfileRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWhatsAppBusinessProfileRequestWithBody generates requests for UpdateWhatsAppBusinessProfile with any type of body
func NewUpdateWhatsAppDisplayNameRequest ¶
func NewUpdateWhatsAppDisplayNameRequest(server string, body UpdateWhatsAppDisplayNameJSONRequestBody) (*http.Request, error)
NewUpdateWhatsAppDisplayNameRequest calls the generic UpdateWhatsAppDisplayName builder with application/json body
func NewUpdateWhatsAppDisplayNameRequestWithBody ¶
func NewUpdateWhatsAppDisplayNameRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWhatsAppDisplayNameRequestWithBody generates requests for UpdateWhatsAppDisplayName with any type of body
func NewUpdateWhatsAppFlowRequest ¶ added in v0.0.117
func NewUpdateWhatsAppFlowRequest(server string, flowId string, body UpdateWhatsAppFlowJSONRequestBody) (*http.Request, error)
NewUpdateWhatsAppFlowRequest calls the generic UpdateWhatsAppFlow builder with application/json body
func NewUpdateWhatsAppFlowRequestWithBody ¶ added in v0.0.117
func NewUpdateWhatsAppFlowRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWhatsAppFlowRequestWithBody generates requests for UpdateWhatsAppFlow with any type of body
func NewUpdateWhatsAppGroupChatRequest ¶ added in v0.0.92
func NewUpdateWhatsAppGroupChatRequest(server string, groupId string, params *UpdateWhatsAppGroupChatParams, body UpdateWhatsAppGroupChatJSONRequestBody) (*http.Request, error)
NewUpdateWhatsAppGroupChatRequest calls the generic UpdateWhatsAppGroupChat builder with application/json body
func NewUpdateWhatsAppGroupChatRequestWithBody ¶ added in v0.0.92
func NewUpdateWhatsAppGroupChatRequestWithBody(server string, groupId string, params *UpdateWhatsAppGroupChatParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWhatsAppGroupChatRequestWithBody generates requests for UpdateWhatsAppGroupChat with any type of body
func NewUpdateWhatsAppTemplateRequest ¶
func NewUpdateWhatsAppTemplateRequest(server string, templateName string, body UpdateWhatsAppTemplateJSONRequestBody) (*http.Request, error)
NewUpdateWhatsAppTemplateRequest calls the generic UpdateWhatsAppTemplate builder with application/json body
func NewUpdateWhatsAppTemplateRequestWithBody ¶
func NewUpdateWhatsAppTemplateRequestWithBody(server string, templateName string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWhatsAppTemplateRequestWithBody generates requests for UpdateWhatsAppTemplate with any type of body
func NewUpdateYoutubeDefaultPlaylistRequest ¶ added in v0.0.99
func NewUpdateYoutubeDefaultPlaylistRequest(server string, accountId string, body UpdateYoutubeDefaultPlaylistJSONRequestBody) (*http.Request, error)
NewUpdateYoutubeDefaultPlaylistRequest calls the generic UpdateYoutubeDefaultPlaylist builder with application/json body
func NewUpdateYoutubeDefaultPlaylistRequestWithBody ¶ added in v0.0.99
func NewUpdateYoutubeDefaultPlaylistRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateYoutubeDefaultPlaylistRequestWithBody generates requests for UpdateYoutubeDefaultPlaylist with any type of body
func NewUploadMediaDirectRequestWithBody ¶ added in v0.0.96
func NewUploadMediaDirectRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadMediaDirectRequestWithBody generates requests for UploadMediaDirect with any type of body
func NewUploadWhatsAppFlowJsonRequest ¶ added in v0.0.117
func NewUploadWhatsAppFlowJsonRequest(server string, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody) (*http.Request, error)
NewUploadWhatsAppFlowJsonRequest calls the generic UploadWhatsAppFlowJson builder with application/json body
func NewUploadWhatsAppFlowJsonRequestWithBody ¶ added in v0.0.117
func NewUploadWhatsAppFlowJsonRequestWithBody(server string, flowId string, contentType string, body io.Reader) (*http.Request, error)
NewUploadWhatsAppFlowJsonRequestWithBody generates requests for UploadWhatsAppFlowJson with any type of body
func NewUploadWhatsAppProfilePhotoRequestWithBody ¶
func NewUploadWhatsAppProfilePhotoRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadWhatsAppProfilePhotoRequestWithBody generates requests for UploadWhatsAppProfilePhoto with any type of body
func NewValidateMediaRequest ¶
func NewValidateMediaRequest(server string, body ValidateMediaJSONRequestBody) (*http.Request, error)
NewValidateMediaRequest calls the generic ValidateMedia builder with application/json body
func NewValidateMediaRequestWithBody ¶
func NewValidateMediaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewValidateMediaRequestWithBody generates requests for ValidateMedia with any type of body
func NewValidatePostLengthRequest ¶
func NewValidatePostLengthRequest(server string, body ValidatePostLengthJSONRequestBody) (*http.Request, error)
NewValidatePostLengthRequest calls the generic ValidatePostLength builder with application/json body
func NewValidatePostLengthRequestWithBody ¶
func NewValidatePostLengthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewValidatePostLengthRequestWithBody generates requests for ValidatePostLength with any type of body
func NewValidatePostRequest ¶
func NewValidatePostRequest(server string, body ValidatePostJSONRequestBody) (*http.Request, error)
NewValidatePostRequest calls the generic ValidatePost builder with application/json body
func NewValidatePostRequestWithBody ¶
func NewValidatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewValidatePostRequestWithBody generates requests for ValidatePost with any type of body
func NewValidateSubredditRequest ¶
func NewValidateSubredditRequest(server string, params *ValidateSubredditParams) (*http.Request, error)
NewValidateSubredditRequest generates requests for ValidateSubreddit
Types ¶
type AccountWithFollowerStats ¶
type AccountWithFollowerStats struct {
UnderscoreId *string `json:"_id,omitempty"`
// AccountStats Platform-specific account stats from the latest daily snapshot.
// Fields vary by platform. Only present if metadata has been captured.
AccountStats *struct {
// BoardCount Total boards (Pinterest)
BoardCount *float32 `json:"boardCount,omitempty"`
// FollowingCount Number of accounts being followed
FollowingCount *float32 `json:"followingCount,omitempty"`
// LikesCount Total likes received (TikTok)
LikesCount *float32 `json:"likesCount,omitempty"`
// ListedCount Lists the user appears on (X/Twitter)
ListedCount *float32 `json:"listedCount,omitempty"`
// MediaCount Total media posts (Instagram)
MediaCount *float32 `json:"mediaCount,omitempty"`
// MonthlyViews Monthly profile views (Pinterest)
MonthlyViews *float32 `json:"monthlyViews,omitempty"`
// PinCount Total pins (Pinterest)
PinCount *float32 `json:"pinCount,omitempty"`
// PostsCount Total posts (Bluesky)
PostsCount *float32 `json:"postsCount,omitempty"`
// TotalViews Total channel views (YouTube)
TotalViews *float32 `json:"totalViews,omitempty"`
// TweetCount Total tweets (X/Twitter)
TweetCount *float32 `json:"tweetCount,omitempty"`
// VideoCount Total videos (YouTube
VideoCount *float32 `json:"videoCount,omitempty"`
} `json:"accountStats,omitempty"`
// CurrentFollowers Current follower count
CurrentFollowers *float32 `json:"currentFollowers,omitempty"`
// DataPoints Number of historical snapshots
DataPoints *float32 `json:"dataPoints,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
// Enabled Whether the user explicitly activated this account. false means the account was
// created as a side effect (e.g., posting account auto-created when user connected
// ads first). Posting UI and scheduler ignore accounts with enabled: false.
Enabled *bool `json:"enabled,omitempty"`
// FollowersCount Follower count (only included if user has analytics add-on)
FollowersCount *float32 `json:"followersCount,omitempty"`
// FollowersLastUpdated Last time follower count was updated (only included if user has analytics add-on)
FollowersLastUpdated *time.Time `json:"followersLastUpdated,omitempty"`
// Growth Follower change over period
Growth *float32 `json:"growth,omitempty"`
// GrowthPercentage Percentage growth
GrowthPercentage *float32 `json:"growthPercentage,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
// Metadata Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
// - qualityRating: Phone number quality rating from Meta (GREEN, YELLOW, RED, or UNKNOWN)
// - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). Messages cannot be sent until the display name is approved by Meta.
// - messagingLimitTier: Maximum unique business-initiated conversations per 24h rolling window (TIER_250, TIER_1K, TIER_10K, TIER_100K, or TIER_UNLIMITED). Scales automatically as quality rating improves.
// - verifiedName: Meta-verified business display name
// - displayPhoneNumber: Formatted phone number (e.g., "+1 555-123-4567")
// - wabaId: WhatsApp Business Account ID
// - phoneNumberId: Meta phone number ID
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// ParentAccountId Reference to the parent posting SocialAccount. Set for ads accounts that share
// or derive from a posting account's OAuth token. null for standalone ads (Google Ads)
// and all posting accounts.
ParentAccountId *string `json:"parentAccountId,omitempty"`
Platform *AccountWithFollowerStatsPlatform `json:"platform,omitempty"`
ProfileId *AccountWithFollowerStats_ProfileId `json:"profileId,omitempty"`
// ProfilePicture URL to the account's profile picture on the platform. May be null if the platform does not provide one.
ProfilePicture *string `json:"profilePicture,omitempty"`
// ProfileUrl Full profile URL for the connected account on its platform.
ProfileUrl *string `json:"profileUrl,omitempty"`
Username *string `json:"username,omitempty"`
}
AccountWithFollowerStats defines model for AccountWithFollowerStats.
type AccountWithFollowerStatsPlatform ¶ added in v0.0.130
type AccountWithFollowerStatsPlatform string
AccountWithFollowerStatsPlatform defines model for AccountWithFollowerStats.Platform.
const ( AccountWithFollowerStatsPlatformBluesky AccountWithFollowerStatsPlatform = "bluesky" AccountWithFollowerStatsPlatformDiscord AccountWithFollowerStatsPlatform = "discord" AccountWithFollowerStatsPlatformFacebook AccountWithFollowerStatsPlatform = "facebook" AccountWithFollowerStatsPlatformGoogleads AccountWithFollowerStatsPlatform = "googleads" AccountWithFollowerStatsPlatformGooglebusiness AccountWithFollowerStatsPlatform = "googlebusiness" AccountWithFollowerStatsPlatformInstagram AccountWithFollowerStatsPlatform = "instagram" AccountWithFollowerStatsPlatformLinkedin AccountWithFollowerStatsPlatform = "linkedin" AccountWithFollowerStatsPlatformLinkedinads AccountWithFollowerStatsPlatform = "linkedinads" AccountWithFollowerStatsPlatformMetaads AccountWithFollowerStatsPlatform = "metaads" AccountWithFollowerStatsPlatformPinterest AccountWithFollowerStatsPlatform = "pinterest" AccountWithFollowerStatsPlatformPinterestads AccountWithFollowerStatsPlatform = "pinterestads" AccountWithFollowerStatsPlatformReddit AccountWithFollowerStatsPlatform = "reddit" AccountWithFollowerStatsPlatformSnapchat AccountWithFollowerStatsPlatform = "snapchat" AccountWithFollowerStatsPlatformTelegram AccountWithFollowerStatsPlatform = "telegram" AccountWithFollowerStatsPlatformThreads AccountWithFollowerStatsPlatform = "threads" AccountWithFollowerStatsPlatformTiktok AccountWithFollowerStatsPlatform = "tiktok" AccountWithFollowerStatsPlatformTiktokads AccountWithFollowerStatsPlatform = "tiktokads" AccountWithFollowerStatsPlatformTwitter AccountWithFollowerStatsPlatform = "twitter" AccountWithFollowerStatsPlatformWhatsapp AccountWithFollowerStatsPlatform = "whatsapp" AccountWithFollowerStatsPlatformXads AccountWithFollowerStatsPlatform = "xads" AccountWithFollowerStatsPlatformYoutube AccountWithFollowerStatsPlatform = "youtube" )
Defines values for AccountWithFollowerStatsPlatform.
func (AccountWithFollowerStatsPlatform) Valid ¶ added in v0.0.130
func (e AccountWithFollowerStatsPlatform) Valid() bool
Valid indicates whether the value is a known member of the AccountWithFollowerStatsPlatform enum.
type AccountWithFollowerStatsProfileId0 ¶
type AccountWithFollowerStatsProfileId0 = string
AccountWithFollowerStatsProfileId0 defines model for .
type AccountWithFollowerStats_ProfileId ¶
type AccountWithFollowerStats_ProfileId struct {
// contains filtered or unexported fields
}
AccountWithFollowerStats_ProfileId defines model for AccountWithFollowerStats.ProfileId.
func (AccountWithFollowerStats_ProfileId) AsAccountWithFollowerStatsProfileId0 ¶
func (t AccountWithFollowerStats_ProfileId) AsAccountWithFollowerStatsProfileId0() (AccountWithFollowerStatsProfileId0, error)
AsAccountWithFollowerStatsProfileId0 returns the union data inside the AccountWithFollowerStats_ProfileId as a AccountWithFollowerStatsProfileId0
func (AccountWithFollowerStats_ProfileId) AsProfile ¶
func (t AccountWithFollowerStats_ProfileId) AsProfile() (Profile, error)
AsProfile returns the union data inside the AccountWithFollowerStats_ProfileId as a Profile
func (*AccountWithFollowerStats_ProfileId) FromAccountWithFollowerStatsProfileId0 ¶
func (t *AccountWithFollowerStats_ProfileId) FromAccountWithFollowerStatsProfileId0(v AccountWithFollowerStatsProfileId0) error
FromAccountWithFollowerStatsProfileId0 overwrites any union data inside the AccountWithFollowerStats_ProfileId as the provided AccountWithFollowerStatsProfileId0
func (*AccountWithFollowerStats_ProfileId) FromProfile ¶
func (t *AccountWithFollowerStats_ProfileId) FromProfile(v Profile) error
FromProfile overwrites any union data inside the AccountWithFollowerStats_ProfileId as the provided Profile
func (AccountWithFollowerStats_ProfileId) MarshalJSON ¶
func (t AccountWithFollowerStats_ProfileId) MarshalJSON() ([]byte, error)
func (*AccountWithFollowerStats_ProfileId) MergeAccountWithFollowerStatsProfileId0 ¶
func (t *AccountWithFollowerStats_ProfileId) MergeAccountWithFollowerStatsProfileId0(v AccountWithFollowerStatsProfileId0) error
MergeAccountWithFollowerStatsProfileId0 performs a merge with any union data inside the AccountWithFollowerStats_ProfileId, using the provided AccountWithFollowerStatsProfileId0
func (*AccountWithFollowerStats_ProfileId) MergeProfile ¶
func (t *AccountWithFollowerStats_ProfileId) MergeProfile(v Profile) error
MergeProfile performs a merge with any union data inside the AccountWithFollowerStats_ProfileId, using the provided Profile
func (*AccountWithFollowerStats_ProfileId) UnmarshalJSON ¶
func (t *AccountWithFollowerStats_ProfileId) UnmarshalJSON(b []byte) error
type ActivateSequenceResponse ¶ added in v0.0.76
type ActivateSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Sequence *struct {
Id *string `json:"id,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"sequence,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseActivateSequenceResponse ¶ added in v0.0.76
func ParseActivateSequenceResponse(rsp *http.Response) (*ActivateSequenceResponse, error)
ParseActivateSequenceResponse parses an HTTP response from a ActivateSequenceWithResponse call
func (ActivateSequenceResponse) Status ¶ added in v0.0.76
func (r ActivateSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (ActivateSequenceResponse) StatusCode ¶ added in v0.0.76
func (r ActivateSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Ad ¶ added in v0.0.106
type Ad struct {
UnderscoreId *string `json:"_id,omitempty"`
AdSetName *string `json:"adSetName,omitempty"`
AdType *AdAdType `json:"adType,omitempty"`
// BidAmount Bid cap in WHOLE currency units of the ad account (USD: 5 = $5.00; JPY: 100 = ¥100).
// Populated when bidStrategy is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. `null` for
// auto-bid (`LOWEST_COST_WITHOUT_CAP`).
//
// - Meta source: `bid_amount` on the ad set (smallest-denomination int, decoded here).
// - TikTok source: priority order `bid_price` -> `conversion_bid_price` -> `deep_cpa_bid`
// (whichever is set on the ad group). TikTok stores all three in whole currency units.
//
// Source: facebook-business-sdk-codegen api_specs/specs/AdSet.json (`bid_amount`).
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Ad-set bid strategy (overrides campaign level on Meta). Populated for Meta and
// TikTok. TikTok's native `bid_type` is normalized to the cross-platform Meta enum:
// `BID_TYPE_NO_BID` -> `LOWEST_COST_WITHOUT_CAP`, `BID_TYPE_CUSTOM` ->
// `LOWEST_COST_WITH_BID_CAP`, deep_bid_type=MIN_ROAS or roas_bid>0 ->
// `LOWEST_COST_WITH_MIN_ROAS`, `BID_TYPE_MAX_CONVERSION` -> `LOWEST_COST_WITHOUT_CAP`.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
Budget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
CampaignName *string `json:"campaignName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Creative Platform-specific creative data. Fields vary by platform.
Creative *struct {
// Body Ad copy/text
Body *string `json:"body,omitempty"`
// GoogleDescription Google Ads description
GoogleDescription *string `json:"googleDescription,omitempty"`
// GoogleHeadline Google Ads headline
GoogleHeadline *string `json:"googleHeadline,omitempty"`
// ImageUrl Alternative image URL
ImageUrl *string `json:"imageUrl,omitempty"`
// LinkUrl Destination URL
LinkUrl *string `json:"linkUrl,omitempty"`
// MediaUrls All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
MediaUrls *[]string `json:"mediaUrls,omitempty"`
// ObjectType Meta creative object_type (e.g. SHARE, VIDEO, PRIVACY_CHECK_FAIL, POST_DELETED). Use this to render state-aware previews — when Meta moderation strips image/video fields, only thumbnailUrl at 64x64 is available.
ObjectType *string `json:"objectType,omitempty"`
PinterestDescription *string `json:"pinterestDescription,omitempty"`
PinterestImageUrl *string `json:"pinterestImageUrl,omitempty"`
PinterestTitle *string `json:"pinterestTitle,omitempty"`
// ThumbnailUrl Primary thumbnail/image URL
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
// VideoId Meta video ID for VIDEO-type ads. Null for non-video ads. Callers that need an embeddable MP4 can call GET /{videoId}?fields=source with the page access token.
VideoId *string `json:"videoId,omitempty"`
// VideoUrl Public Facebook watch URL for VIDEO-type ads (https://www.facebook.com/watch/?v={videoId}). Null for non-video ads.
VideoUrl *string `json:"videoUrl,omitempty"`
} `json:"creative,omitempty"`
// Goal Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
Goal *AdGoal `json:"goal,omitempty"`
// IsExternal True for ads synced from platform ad managers
IsExternal *bool `json:"isExternal,omitempty"`
Metrics *AdMetrics `json:"metrics,omitempty"`
Name *string `json:"name,omitempty"`
// OptimizationGoal Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION, LINK_CLICKS). Only present for Meta ads.
OptimizationGoal *string `json:"optimizationGoal,omitempty"`
Platform *AdPlatform `json:"platform,omitempty"`
PlatformAdAccountId *string `json:"platformAdAccountId,omitempty"`
// PlatformAdAccountName Human-readable advertiser/account name (Meta `AdAccount.name`, TikTok
// `advertiser_name`, LinkedIn / X / Pinterest equivalents). Refreshed every
// sync so platform-side renames propagate within one cycle. `null` when the
// platform doesn't return a name or the sync hasn't run yet.
PlatformAdAccountName *string `json:"platformAdAccountName,omitempty"`
PlatformAdId *string `json:"platformAdId,omitempty"`
PlatformAdSetId *string `json:"platformAdSetId,omitempty"`
PlatformCampaignId *string `json:"platformCampaignId,omitempty"`
// PlatformCreatedAt Platform-reported creation timestamp (Meta `created_time`, TikTok `create_time`).
// Distinct from `createdAt` which reflects when Zernio first synced the doc — for
// sort/filter by "when the ad was actually created on the platform", read this field.
// `null` for legacy ads synced before this field was added; aggregations fall back
// to `createdAt` in that case.
PlatformCreatedAt *time.Time `json:"platformCreatedAt,omitempty"`
// PlatformObjective Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC). Only present for Meta ads.
PlatformObjective *string `json:"platformObjective,omitempty"`
// PromotedObject Meta promoted object containing conversion event details. Structure varies by objective. Only present for Meta ads.
PromotedObject *struct {
// ApplicationId Facebook app ID
ApplicationId *string `json:"application_id,omitempty"`
// CustomEventType Conversion event type (e.g. PURCHASE, LEAD, COMPLETE_REGISTRATION, ADD_TO_CART)
CustomEventType *string `json:"custom_event_type,omitempty"`
// PageId Facebook page ID
PageId *string `json:"page_id,omitempty"`
// PixelId Meta pixel ID
PixelId *string `json:"pixel_id,omitempty"`
// ProductSetId Product catalog set ID
ProductSetId *string `json:"product_set_id,omitempty"`
} `json:"promotedObject,omitempty"`
RejectionReason *string `json:"rejectionReason,omitempty"`
// RoasAverageFloor Minimum ROAS as a decimal multiplier (2.0 = 2.0x ROAS). Populated when bidStrategy
// is `LOWEST_COST_WITH_MIN_ROAS`.
//
// - Meta source: decoded from `bid_constraints.roas_average_floor` (Meta stores as
// fixed-point int × 10000; we return the decimal).
// - TikTok source: `roas_bid` on the ad group (already a decimal).
//
// Source: facebook-business-sdk-codegen api_specs/specs/AdCampaignBidConstraint.json.
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
Schedule *struct {
EndDate *time.Time `json:"endDate,omitempty"`
StartDate *time.Time `json:"startDate,omitempty"`
} `json:"schedule,omitempty"`
Status *AdStatus `json:"status,omitempty"`
Targeting *map[string]interface{} `json:"targeting,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
Ad defines model for Ad.
type AdBudget ¶ added in v0.0.168
type AdBudget struct {
Amount float32 `json:"amount"`
Type AdBudgetType `json:"type"`
}
AdBudget Budget amount in the ad account's native currency (see the campaign's `currency` field for the code).
type AdBudgetType ¶ added in v0.0.106
type AdBudgetType string
AdBudgetType defines model for Ad.Budget.Type.
const ( AdBudgetTypeDaily AdBudgetType = "daily" AdBudgetTypeLifetime AdBudgetType = "lifetime" )
Defines values for AdBudgetType.
func (AdBudgetType) Valid ¶ added in v0.0.106
func (e AdBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdBudgetType enum.
type AdCampaign ¶ added in v0.0.106
type AdCampaign struct {
AccountId *string `json:"accountId,omitempty"`
AdCount *int `json:"adCount,omitempty"`
// BidAmount Representative bid cap from the top-spending ad set (whole currency units). Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Campaign-level bid strategy. Ad sets inherit this unless they override.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Effective budget (back-compat). Use `budgetLevel` to disambiguate CBO vs ABO.
Budget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdCampaignBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
// BudgetLevel Canonical CBO/ABO indicator. See AdTreeCampaign.budgetLevel.
BudgetLevel *AdCampaignBudgetLevel `json:"budgetLevel,omitempty"`
// CampaignBudget Campaign-level budget (CBO). Null for ABO campaigns.
CampaignBudget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdCampaignCampaignBudgetType `json:"type,omitempty"`
} `json:"campaignBudget,omitempty"`
// CampaignIssuesInfo Platform-reported campaign issues (Meta `issues_info[]`).
CampaignIssuesInfo *[]map[string]interface{} `json:"campaignIssuesInfo,omitempty"`
CampaignName *string `json:"campaignName,omitempty"`
// Currency ISO 4217 currency code for all budget amounts. Budgets are NOT normalized to USD.
Currency *string `json:"currency,omitempty"`
EarliestAd *time.Time `json:"earliestAd,omitempty"`
// IsBudgetScheduleEnabled Meta-only. Mirrors Campaign.is_budget_schedule_enabled.
IsBudgetScheduleEnabled *bool `json:"isBudgetScheduleEnabled,omitempty"`
LatestAd *time.Time `json:"latestAd,omitempty"`
Metrics *AdMetrics `json:"metrics,omitempty"`
// OptimizationGoal Meta optimization goal shared across ad sets, or comma-separated values when ad sets differ (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION)
OptimizationGoal *string `json:"optimizationGoal,omitempty"`
Platform *AdCampaignPlatform `json:"platform,omitempty"`
PlatformAdAccountId *string `json:"platformAdAccountId,omitempty"`
// PlatformAdAccountName Human-readable advertiser/account name from the platform. Refreshed on every sync.
PlatformAdAccountName *string `json:"platformAdAccountName,omitempty"`
PlatformCampaignId *string `json:"platformCampaignId,omitempty"`
// PlatformCampaignStatus Raw platform-level campaign status (Meta `effective_status`).
PlatformCampaignStatus *string `json:"platformCampaignStatus,omitempty"`
// PlatformObjective Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
PlatformObjective *string `json:"platformObjective,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
// PromotedObject Meta promoted object at campaign level (conversion event details)
PromotedObject *struct {
CustomEventType *string `json:"custom_event_type,omitempty"`
PageId *string `json:"page_id,omitempty"`
PixelId *string `json:"pixel_id,omitempty"`
} `json:"promotedObject,omitempty"`
// ReviewStatus Platform-side review state of the campaign. See AdTreeCampaign.reviewStatus for the full description.
ReviewStatus *AdCampaignReviewStatus `json:"reviewStatus,omitempty"`
// RoasAverageFloor Representative ROAS floor from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
// Status Delivery status derived from child ad statuses. Distinct from `reviewStatus`.
Status *AdStatus `json:"status,omitempty"`
}
AdCampaign defines model for AdCampaign.
type AdCampaignBudgetLevel ¶ added in v0.0.168
type AdCampaignBudgetLevel string
AdCampaignBudgetLevel Canonical CBO/ABO indicator. See AdTreeCampaign.budgetLevel.
const ( AdCampaignBudgetLevelAdset AdCampaignBudgetLevel = "adset" AdCampaignBudgetLevelCampaign AdCampaignBudgetLevel = "campaign" )
Defines values for AdCampaignBudgetLevel.
func (AdCampaignBudgetLevel) Valid ¶ added in v0.0.168
func (e AdCampaignBudgetLevel) Valid() bool
Valid indicates whether the value is a known member of the AdCampaignBudgetLevel enum.
type AdCampaignBudgetType ¶ added in v0.0.106
type AdCampaignBudgetType string
AdCampaignBudgetType defines model for AdCampaign.Budget.Type.
const ( AdCampaignBudgetTypeDaily AdCampaignBudgetType = "daily" AdCampaignBudgetTypeLifetime AdCampaignBudgetType = "lifetime" )
Defines values for AdCampaignBudgetType.
func (AdCampaignBudgetType) Valid ¶ added in v0.0.106
func (e AdCampaignBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdCampaignBudgetType enum.
type AdCampaignCampaignBudgetType ¶ added in v0.0.168
type AdCampaignCampaignBudgetType string
AdCampaignCampaignBudgetType defines model for AdCampaign.CampaignBudget.Type.
const ( AdCampaignCampaignBudgetTypeDaily AdCampaignCampaignBudgetType = "daily" AdCampaignCampaignBudgetTypeLifetime AdCampaignCampaignBudgetType = "lifetime" )
Defines values for AdCampaignCampaignBudgetType.
func (AdCampaignCampaignBudgetType) Valid ¶ added in v0.0.168
func (e AdCampaignCampaignBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdCampaignCampaignBudgetType enum.
type AdCampaignPlatform ¶ added in v0.0.106
type AdCampaignPlatform string
AdCampaignPlatform defines model for AdCampaign.Platform.
const ( AdCampaignPlatformFacebook AdCampaignPlatform = "facebook" AdCampaignPlatformGoogle AdCampaignPlatform = "google" AdCampaignPlatformInstagram AdCampaignPlatform = "instagram" AdCampaignPlatformLinkedin AdCampaignPlatform = "linkedin" AdCampaignPlatformPinterest AdCampaignPlatform = "pinterest" AdCampaignPlatformTiktok AdCampaignPlatform = "tiktok" AdCampaignPlatformTwitter AdCampaignPlatform = "twitter" )
Defines values for AdCampaignPlatform.
func (AdCampaignPlatform) Valid ¶ added in v0.0.106
func (e AdCampaignPlatform) Valid() bool
Valid indicates whether the value is a known member of the AdCampaignPlatform enum.
type AdCampaignReviewStatus ¶ added in v0.0.168
type AdCampaignReviewStatus string
AdCampaignReviewStatus Platform-side review state of the campaign. See AdTreeCampaign.reviewStatus for the full description.
const ( AdCampaignReviewStatusApproved AdCampaignReviewStatus = "approved" AdCampaignReviewStatusInReview AdCampaignReviewStatus = "in_review" AdCampaignReviewStatusRejected AdCampaignReviewStatus = "rejected" AdCampaignReviewStatusWithIssues AdCampaignReviewStatus = "with_issues" )
Defines values for AdCampaignReviewStatus.
func (AdCampaignReviewStatus) Valid ¶ added in v0.0.168
func (e AdCampaignReviewStatus) Valid() bool
Valid indicates whether the value is a known member of the AdCampaignReviewStatus enum.
type AdGoal ¶ added in v0.0.106
type AdGoal string
AdGoal Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
const ( AdGoalAppPromotion AdGoal = "app_promotion" AdGoalAwareness AdGoal = "awareness" AdGoalConversions AdGoal = "conversions" AdGoalEngagement AdGoal = "engagement" AdGoalLeadGeneration AdGoal = "lead_generation" AdGoalTraffic AdGoal = "traffic" AdGoalVideoViews AdGoal = "video_views" )
Defines values for AdGoal.
type AdMetrics ¶ added in v0.0.106
type AdMetrics struct {
// ActionValues Monetary mirror of `actions`, from Meta's Insights `action_values[]` array. Same keying — values are the revenue attributed to each action_type, in ad-account native currency (same unit as `spend`; see the campaign node's `currency` field). Use this to compute revenue-per-event (e.g. avg purchase value). Meta-only; other platforms return {}.
ActionValues *map[string]float32 `json:"actionValues,omitempty"`
// Actions Raw per-action-type counts from Meta's Insights actions[] array, summed over the date range. Keys are Meta action_type strings (e.g. link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped). Use this to extract any conversion event (purchases, leads, add_to_cart, etc.) without relying on the derived conversions field. Empty object when no actions are reported.
Actions *map[string]int `json:"actions,omitempty"`
Clicks *int `json:"clicks,omitempty"`
// Conversions Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.) over the requested date range. 0 for non-conversion campaigns or when no events have fired. Meta-only at time of writing; other platforms return 0.
Conversions *int `json:"conversions,omitempty"`
// CostPerConversion Derived spend / conversions in the same currency as spend. 0 when conversions is 0.
CostPerConversion *float32 `json:"costPerConversion,omitempty"`
// Cpc Cost per click
Cpc *float32 `json:"cpc,omitempty"`
// Cpm Cost per 1000 impressions
Cpm *float32 `json:"cpm,omitempty"`
// Ctr Click-through rate (%)
Ctr *float32 `json:"ctr,omitempty"`
Engagement *int `json:"engagement,omitempty"`
Impressions *int `json:"impressions,omitempty"`
// LastSyncedAt Present on individual ads only, not on campaign aggregations
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// PurchaseValue Convenience sum of purchase-type action values — picked from `actionValues` via the same priority list as `conversions` so both fields describe the same events. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
PurchaseValue *float32 `json:"purchaseValue,omitempty"`
Reach *int `json:"reach,omitempty"`
// Roas Return on ad spend — derived as `purchaseValue / spend`. 0 when `spend` is 0. Equivalent to Meta's `purchase_roas` under default attribution. At ad-set and campaign levels this is recomputed from summed purchaseValue + spend (NOT averaged across children) so it's mathematically correct at every rollup level.
Roas *float32 `json:"roas,omitempty"`
Spend *float32 `json:"spend,omitempty"`
}
AdMetrics defines model for AdMetrics.
type AdPlatform ¶ added in v0.0.106
type AdPlatform string
AdPlatform defines model for Ad.Platform.
const ( AdPlatformFacebook AdPlatform = "facebook" AdPlatformGoogle AdPlatform = "google" AdPlatformInstagram AdPlatform = "instagram" AdPlatformLinkedin AdPlatform = "linkedin" AdPlatformPinterest AdPlatform = "pinterest" AdPlatformTiktok AdPlatform = "tiktok" AdPlatformTwitter AdPlatform = "twitter" )
Defines values for AdPlatform.
func (AdPlatform) Valid ¶ added in v0.0.106
func (e AdPlatform) Valid() bool
Valid indicates whether the value is a known member of the AdPlatform enum.
type AdStatus ¶ added in v0.0.106
type AdStatus string
AdStatus defines model for AdStatus.
const ( AdStatusActive AdStatus = "active" AdStatusCancelled AdStatus = "cancelled" AdStatusCompleted AdStatus = "completed" AdStatusError AdStatus = "error" AdStatusPaused AdStatus = "paused" AdStatusPendingReview AdStatus = "pending_review" AdStatusRejected AdStatus = "rejected" )
Defines values for AdStatus.
type AdTreeAdSet ¶ added in v0.0.112
type AdTreeAdSet struct {
AdCount *int `json:"adCount,omitempty"`
// AdSetBudget Ad-set-level budget (ABO). Null for CBO campaigns where the budget is set on the campaign.
AdSetBudget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdTreeAdSetAdSetBudgetType `json:"type,omitempty"`
} `json:"adSetBudget,omitempty"`
AdSetName *string `json:"adSetName,omitempty"`
// Ads Individual ads within this ad set (capped at 100). Returns a subset of Ad fields from the aggregation (core fields like _id, name, platform, status, budget, metrics, creative, goal are included; targeting and schedule may be absent).
Ads *[]Ad `json:"ads,omitempty"`
// BidAmount Bid cap in whole currency units. Populated when bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Bid strategy for this ad set (overrides campaign level when set)
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Effective budget at this level (back-compat). For CBO campaigns this mirrors the parent campaign's budget; for ABO this is the ad-set-specific budget. Use `adSetBudget` / parent `campaignBudget` + `budgetLevel` to disambiguate.
Budget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdTreeAdSetBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
Metrics *AdMetrics `json:"metrics,omitempty"`
// OptimizationGoal Meta ad set optimization goal (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION)
OptimizationGoal *string `json:"optimizationGoal,omitempty"`
PlatformAdSetId *string `json:"platformAdSetId,omitempty"`
// PromotedObject Meta promoted object for this ad set (conversion event details)
PromotedObject *struct {
CustomEventType *string `json:"custom_event_type,omitempty"`
PageId *string `json:"page_id,omitempty"`
PixelId *string `json:"pixel_id,omitempty"`
} `json:"promotedObject,omitempty"`
// RoasAverageFloor Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Populated when bidStrategy is LOWEST_COST_WITH_MIN_ROAS.
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
// Status Derived from child ad statuses
Status *AdStatus `json:"status,omitempty"`
}
AdTreeAdSet Ad set (or ad group/line item depending on platform) with rolled-up metrics and child ads
type AdTreeAdSetAdSetBudgetType ¶ added in v0.0.168
type AdTreeAdSetAdSetBudgetType string
AdTreeAdSetAdSetBudgetType defines model for AdTreeAdSet.AdSetBudget.Type.
const ( AdTreeAdSetAdSetBudgetTypeDaily AdTreeAdSetAdSetBudgetType = "daily" AdTreeAdSetAdSetBudgetTypeLifetime AdTreeAdSetAdSetBudgetType = "lifetime" )
Defines values for AdTreeAdSetAdSetBudgetType.
func (AdTreeAdSetAdSetBudgetType) Valid ¶ added in v0.0.168
func (e AdTreeAdSetAdSetBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdTreeAdSetAdSetBudgetType enum.
type AdTreeAdSetBudgetType ¶ added in v0.0.112
type AdTreeAdSetBudgetType string
AdTreeAdSetBudgetType defines model for AdTreeAdSet.Budget.Type.
const ( AdTreeAdSetBudgetTypeDaily AdTreeAdSetBudgetType = "daily" AdTreeAdSetBudgetTypeLifetime AdTreeAdSetBudgetType = "lifetime" )
Defines values for AdTreeAdSetBudgetType.
func (AdTreeAdSetBudgetType) Valid ¶ added in v0.0.112
func (e AdTreeAdSetBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdTreeAdSetBudgetType enum.
type AdTreeCampaign ¶ added in v0.0.112
type AdTreeCampaign struct {
AccountId *string `json:"accountId,omitempty"`
// AdCount Total ads across all ad sets
AdCount *int `json:"adCount,omitempty"`
AdSetCount *int `json:"adSetCount,omitempty"`
AdSets *[]AdTreeAdSet `json:"adSets,omitempty"`
// BidAmount Representative bid cap for the campaign — bubbled up from the top-spending ad set's `bid_amount` (whole currency units). Populated when the ad-set bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Campaign-level bid strategy. Ad sets inherit this unless they override.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Effective budget (back-compat). For CBO this mirrors `campaignBudget`, for ABO this mirrors the child ad-set budget. Use `budgetLevel` to disambiguate.
Budget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdTreeCampaignBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
// BudgetLevel Canonical CBO/ABO indicator. `campaign` = CBO (Advantage Campaign Budget, budget lives on the campaign). `adset` = ABO (budget lives on each ad set). Route budget updates to the matching Meta entity.
BudgetLevel *AdTreeCampaignBudgetLevel `json:"budgetLevel,omitempty"`
// CampaignBudget Campaign-level budget (Campaign Budget Optimization / CBO). Populated only when the platform set the budget at the campaign level. For ABO campaigns this is null and the budget lives on the child ad set.
CampaignBudget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *AdTreeCampaignCampaignBudgetType `json:"type,omitempty"`
} `json:"campaignBudget,omitempty"`
// CampaignIssuesInfo Platform-reported campaign issues (Meta `issues_info[]`). Populated only when the platform has delivery issues to report; contains the specific error codes and messages.
CampaignIssuesInfo *[]map[string]interface{} `json:"campaignIssuesInfo,omitempty"`
CampaignName *string `json:"campaignName,omitempty"`
// Currency ISO 4217 currency code (e.g. USD, EUR, CLP, JPY) for all budget amounts in this campaign node. Budgets are NOT normalized to USD.
Currency *string `json:"currency,omitempty"`
// IsBudgetScheduleEnabled Meta-only. Mirrors Campaign.is_budget_schedule_enabled — true when the campaign uses budget scheduling (time-based budget changes). Independent of CBO/ABO.
IsBudgetScheduleEnabled *bool `json:"isBudgetScheduleEnabled,omitempty"`
Metrics *AdMetrics `json:"metrics,omitempty"`
// OptimizationGoal Meta optimization goal shared across ad sets, or comma-separated values when ad sets differ (e.g. OFFSITE_CONVERSIONS, VALUE, LEAD_GENERATION)
OptimizationGoal *string `json:"optimizationGoal,omitempty"`
Platform *AdTreeCampaignPlatform `json:"platform,omitempty"`
PlatformAdAccountId *string `json:"platformAdAccountId,omitempty"`
// PlatformAdAccountName Human-readable advertiser/account name from the platform. Refreshed on every sync.
PlatformAdAccountName *string `json:"platformAdAccountName,omitempty"`
PlatformCampaignId *string `json:"platformCampaignId,omitempty"`
// PlatformCampaignStatus Raw platform-level campaign status (Meta `effective_status`: ACTIVE, PAUSED, DELETED, ARCHIVED, IN_PROCESS, WITH_ISSUES). Distinct from per-ad `platformStatus`.
PlatformCampaignStatus *string `json:"platformCampaignStatus,omitempty"`
// PlatformObjective Raw Meta campaign objective (e.g. OUTCOME_SALES, OUTCOME_LEADS, OUTCOME_TRAFFIC)
PlatformObjective *string `json:"platformObjective,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
// PromotedObject Meta promoted object at campaign level (conversion event details)
PromotedObject *struct {
CustomEventType *string `json:"custom_event_type,omitempty"`
PageId *string `json:"page_id,omitempty"`
PixelId *string `json:"pixel_id,omitempty"`
} `json:"promotedObject,omitempty"`
// ReviewStatus Platform-side review state of the campaign. Independent of the
// children-derived delivery `status`: a campaign can have ads
// already active (status=active) while the campaign itself is
// still being reviewed by the platform (reviewStatus=in_review).
// For Meta, derived from `effective_status` + `issues_info` on
// the Campaign, plus ad-level PENDING_REVIEW rollup.
ReviewStatus *AdTreeCampaignReviewStatus `json:"reviewStatus,omitempty"`
// RoasAverageFloor Representative ROAS floor for the campaign — bubbled up from the top-spending ad set. Decimal multiplier (2.0 = 2.0x).
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
// Status Delivery status derived from child ad statuses. Distinct from `reviewStatus`, which reflects the platform-side review state.
Status *AdStatus `json:"status,omitempty"`
}
AdTreeCampaign Campaign with nested ad sets and rolled-up metrics
type AdTreeCampaignBudgetLevel ¶ added in v0.0.168
type AdTreeCampaignBudgetLevel string
AdTreeCampaignBudgetLevel Canonical CBO/ABO indicator. `campaign` = CBO (Advantage Campaign Budget, budget lives on the campaign). `adset` = ABO (budget lives on each ad set). Route budget updates to the matching Meta entity.
const ( AdTreeCampaignBudgetLevelAdset AdTreeCampaignBudgetLevel = "adset" AdTreeCampaignBudgetLevelCampaign AdTreeCampaignBudgetLevel = "campaign" )
Defines values for AdTreeCampaignBudgetLevel.
func (AdTreeCampaignBudgetLevel) Valid ¶ added in v0.0.168
func (e AdTreeCampaignBudgetLevel) Valid() bool
Valid indicates whether the value is a known member of the AdTreeCampaignBudgetLevel enum.
type AdTreeCampaignBudgetType ¶ added in v0.0.112
type AdTreeCampaignBudgetType string
AdTreeCampaignBudgetType defines model for AdTreeCampaign.Budget.Type.
const ( AdTreeCampaignBudgetTypeDaily AdTreeCampaignBudgetType = "daily" AdTreeCampaignBudgetTypeLifetime AdTreeCampaignBudgetType = "lifetime" )
Defines values for AdTreeCampaignBudgetType.
func (AdTreeCampaignBudgetType) Valid ¶ added in v0.0.112
func (e AdTreeCampaignBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdTreeCampaignBudgetType enum.
type AdTreeCampaignCampaignBudgetType ¶ added in v0.0.168
type AdTreeCampaignCampaignBudgetType string
AdTreeCampaignCampaignBudgetType defines model for AdTreeCampaign.CampaignBudget.Type.
const ( AdTreeCampaignCampaignBudgetTypeDaily AdTreeCampaignCampaignBudgetType = "daily" AdTreeCampaignCampaignBudgetTypeLifetime AdTreeCampaignCampaignBudgetType = "lifetime" )
Defines values for AdTreeCampaignCampaignBudgetType.
func (AdTreeCampaignCampaignBudgetType) Valid ¶ added in v0.0.168
func (e AdTreeCampaignCampaignBudgetType) Valid() bool
Valid indicates whether the value is a known member of the AdTreeCampaignCampaignBudgetType enum.
type AdTreeCampaignPlatform ¶ added in v0.0.112
type AdTreeCampaignPlatform string
AdTreeCampaignPlatform defines model for AdTreeCampaign.Platform.
const ( AdTreeCampaignPlatformFacebook AdTreeCampaignPlatform = "facebook" AdTreeCampaignPlatformGoogle AdTreeCampaignPlatform = "google" AdTreeCampaignPlatformInstagram AdTreeCampaignPlatform = "instagram" AdTreeCampaignPlatformLinkedin AdTreeCampaignPlatform = "linkedin" AdTreeCampaignPlatformPinterest AdTreeCampaignPlatform = "pinterest" AdTreeCampaignPlatformTiktok AdTreeCampaignPlatform = "tiktok" AdTreeCampaignPlatformTwitter AdTreeCampaignPlatform = "twitter" )
Defines values for AdTreeCampaignPlatform.
func (AdTreeCampaignPlatform) Valid ¶ added in v0.0.112
func (e AdTreeCampaignPlatform) Valid() bool
Valid indicates whether the value is a known member of the AdTreeCampaignPlatform enum.
type AdTreeCampaignReviewStatus ¶ added in v0.0.168
type AdTreeCampaignReviewStatus string
AdTreeCampaignReviewStatus Platform-side review state of the campaign. Independent of the children-derived delivery `status`: a campaign can have ads already active (status=active) while the campaign itself is still being reviewed by the platform (reviewStatus=in_review). For Meta, derived from `effective_status` + `issues_info` on the Campaign, plus ad-level PENDING_REVIEW rollup.
const ( Approved AdTreeCampaignReviewStatus = "approved" InReview AdTreeCampaignReviewStatus = "in_review" Rejected AdTreeCampaignReviewStatus = "rejected" WithIssues AdTreeCampaignReviewStatus = "with_issues" )
Defines values for AdTreeCampaignReviewStatus.
func (AdTreeCampaignReviewStatus) Valid ¶ added in v0.0.168
func (e AdTreeCampaignReviewStatus) Valid() bool
Valid indicates whether the value is a known member of the AdTreeCampaignReviewStatus enum.
type AddBroadcastRecipientsJSONBody ¶ added in v0.0.76
type AddBroadcastRecipientsJSONBody struct {
// ContactIds Specific contact IDs to add
ContactIds *[]string `json:"contactIds,omitempty"`
// Phones Raw phone numbers (auto-creates contacts). Useful for WhatsApp/Telegram manual entry
Phones *[]string `json:"phones,omitempty"`
// UseSegment Auto-populate from broadcast segment filters
UseSegment *bool `json:"useSegment,omitempty"`
}
AddBroadcastRecipientsJSONBody defines parameters for AddBroadcastRecipients.
type AddBroadcastRecipientsJSONRequestBody ¶ added in v0.0.76
type AddBroadcastRecipientsJSONRequestBody AddBroadcastRecipientsJSONBody
AddBroadcastRecipientsJSONRequestBody defines body for AddBroadcastRecipients for application/json ContentType.
type AddBroadcastRecipientsResponse ¶ added in v0.0.76
type AddBroadcastRecipientsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Added Number of recipients successfully added
Added *int `json:"added,omitempty"`
// Skipped Number skipped (duplicates or missing channels)
Skipped *int `json:"skipped,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAddBroadcastRecipientsResponse ¶ added in v0.0.76
func ParseAddBroadcastRecipientsResponse(rsp *http.Response) (*AddBroadcastRecipientsResponse, error)
ParseAddBroadcastRecipientsResponse parses an HTTP response from a AddBroadcastRecipientsWithResponse call
func (AddBroadcastRecipientsResponse) Status ¶ added in v0.0.76
func (r AddBroadcastRecipientsResponse) Status() string
Status returns HTTPResponse.Status
func (AddBroadcastRecipientsResponse) StatusCode ¶ added in v0.0.76
func (r AddBroadcastRecipientsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddMessageReactionJSONBody ¶ added in v0.0.96
type AddMessageReactionJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
// Emoji Emoji character (e.g. "👍", "❤️")
Emoji string `json:"emoji"`
}
AddMessageReactionJSONBody defines parameters for AddMessageReaction.
type AddMessageReactionJSONRequestBody ¶ added in v0.0.96
type AddMessageReactionJSONRequestBody AddMessageReactionJSONBody
AddMessageReactionJSONRequestBody defines body for AddMessageReaction for application/json ContentType.
type AddMessageReactionResponse ¶ added in v0.0.96
type AddMessageReactionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseAddMessageReactionResponse ¶ added in v0.0.96
func ParseAddMessageReactionResponse(rsp *http.Response) (*AddMessageReactionResponse, error)
ParseAddMessageReactionResponse parses an HTTP response from a AddMessageReactionWithResponse call
func (AddMessageReactionResponse) Status ¶ added in v0.0.96
func (r AddMessageReactionResponse) Status() string
Status returns HTTPResponse.Status
func (AddMessageReactionResponse) StatusCode ¶ added in v0.0.96
func (r AddMessageReactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddUsersToAdAudienceJSONBody ¶ added in v0.0.106
type AddUsersToAdAudienceJSONBody struct {
Users []struct {
Email *openapi_types.Email `json:"email,omitempty"`
Phone *string `json:"phone,omitempty"`
} `json:"users"`
}
AddUsersToAdAudienceJSONBody defines parameters for AddUsersToAdAudience.
type AddUsersToAdAudienceJSONRequestBody ¶ added in v0.0.106
type AddUsersToAdAudienceJSONRequestBody AddUsersToAdAudienceJSONBody
AddUsersToAdAudienceJSONRequestBody defines body for AddUsersToAdAudience for application/json ContentType.
type AddUsersToAdAudienceResponse ¶ added in v0.0.106
type AddUsersToAdAudienceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
NumInvalid *int `json:"numInvalid,omitempty"`
NumReceived *int `json:"numReceived,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseAddUsersToAdAudienceResponse ¶ added in v0.0.106
func ParseAddUsersToAdAudienceResponse(rsp *http.Response) (*AddUsersToAdAudienceResponse, error)
ParseAddUsersToAdAudienceResponse parses an HTTP response from a AddUsersToAdAudienceWithResponse call
func (AddUsersToAdAudienceResponse) Status ¶ added in v0.0.106
func (r AddUsersToAdAudienceResponse) Status() string
Status returns HTTPResponse.Status
func (AddUsersToAdAudienceResponse) StatusCode ¶ added in v0.0.106
func (r AddUsersToAdAudienceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AddWhatsAppGroupParticipantsJSONBody ¶ added in v0.0.92
type AddWhatsAppGroupParticipantsJSONBody struct {
// PhoneNumbers Phone numbers in E.164 format (max 8)
PhoneNumbers []string `json:"phoneNumbers"`
}
AddWhatsAppGroupParticipantsJSONBody defines parameters for AddWhatsAppGroupParticipants.
type AddWhatsAppGroupParticipantsJSONRequestBody ¶ added in v0.0.92
type AddWhatsAppGroupParticipantsJSONRequestBody AddWhatsAppGroupParticipantsJSONBody
AddWhatsAppGroupParticipantsJSONRequestBody defines body for AddWhatsAppGroupParticipants for application/json ContentType.
type AddWhatsAppGroupParticipantsParams ¶ added in v0.0.92
type AddWhatsAppGroupParticipantsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
AddWhatsAppGroupParticipantsParams defines parameters for AddWhatsAppGroupParticipants.
type AddWhatsAppGroupParticipantsResponse ¶ added in v0.0.92
type AddWhatsAppGroupParticipantsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseAddWhatsAppGroupParticipantsResponse ¶ added in v0.0.92
func ParseAddWhatsAppGroupParticipantsResponse(rsp *http.Response) (*AddWhatsAppGroupParticipantsResponse, error)
ParseAddWhatsAppGroupParticipantsResponse parses an HTTP response from a AddWhatsAppGroupParticipantsWithResponse call
func (AddWhatsAppGroupParticipantsResponse) Status ¶ added in v0.0.92
func (r AddWhatsAppGroupParticipantsResponse) Status() string
Status returns HTTPResponse.Status
func (AddWhatsAppGroupParticipantsResponse) StatusCode ¶ added in v0.0.92
func (r AddWhatsAppGroupParticipantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AnalyticsListResponse ¶
type AnalyticsListResponse struct {
// Accounts Connected social accounts (followerCount and followersLastUpdated only included if user has analytics add-on)
Accounts *[]SocialAccount `json:"accounts,omitempty"`
// HasAnalyticsAccess Whether user has analytics add-on access
HasAnalyticsAccess *bool `json:"hasAnalyticsAccess,omitempty"`
Overview *AnalyticsOverview `json:"overview,omitempty"`
Pagination *Pagination `json:"pagination,omitempty"`
Posts *[]struct {
UnderscoreId *string `json:"_id,omitempty"`
Analytics *PostAnalytics `json:"analytics,omitempty"`
Content *string `json:"content,omitempty"`
IsExternal *bool `json:"isExternal,omitempty"`
// LatePostId Original Zernio post ID if scheduled via Zernio
LatePostId *string `json:"latePostId,omitempty"`
// MediaItems All media items for this post. Carousel posts contain one entry per slide.
MediaItems *[]struct {
// Thumbnail Thumbnail URL (same as url for images)
Thumbnail *string `json:"thumbnail,omitempty"`
Type *AnalyticsListResponsePostsMediaItemsType `json:"type,omitempty"`
// Url Direct URL to the media
Url *string `json:"url,omitempty"`
} `json:"mediaItems,omitempty"`
MediaType *AnalyticsListResponsePostsMediaType `json:"mediaType,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformPostUrl *string `json:"platformPostUrl,omitempty"`
Platforms *[]PlatformAnalytics `json:"platforms,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
PublishedAt *time.Time `json:"publishedAt,omitempty"`
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
Status *string `json:"status,omitempty"`
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
} `json:"posts,omitempty"`
}
AnalyticsListResponse defines model for AnalyticsListResponse.
type AnalyticsListResponsePostsMediaItemsType ¶
type AnalyticsListResponsePostsMediaItemsType string
AnalyticsListResponsePostsMediaItemsType defines model for AnalyticsListResponse.Posts.MediaItems.Type.
const ( AnalyticsListResponsePostsMediaItemsTypeImage AnalyticsListResponsePostsMediaItemsType = "image" AnalyticsListResponsePostsMediaItemsTypeVideo AnalyticsListResponsePostsMediaItemsType = "video" )
Defines values for AnalyticsListResponsePostsMediaItemsType.
func (AnalyticsListResponsePostsMediaItemsType) Valid ¶
func (e AnalyticsListResponsePostsMediaItemsType) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsListResponsePostsMediaItemsType enum.
type AnalyticsListResponsePostsMediaType ¶
type AnalyticsListResponsePostsMediaType string
AnalyticsListResponsePostsMediaType defines model for AnalyticsListResponse.Posts.MediaType.
const ( AnalyticsListResponsePostsMediaTypeCarousel AnalyticsListResponsePostsMediaType = "carousel" AnalyticsListResponsePostsMediaTypeDocument AnalyticsListResponsePostsMediaType = "document" AnalyticsListResponsePostsMediaTypeGif AnalyticsListResponsePostsMediaType = "gif" AnalyticsListResponsePostsMediaTypeImage AnalyticsListResponsePostsMediaType = "image" AnalyticsListResponsePostsMediaTypeText AnalyticsListResponsePostsMediaType = "text" AnalyticsListResponsePostsMediaTypeVideo AnalyticsListResponsePostsMediaType = "video" )
Defines values for AnalyticsListResponsePostsMediaType.
func (AnalyticsListResponsePostsMediaType) Valid ¶
func (e AnalyticsListResponsePostsMediaType) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsListResponsePostsMediaType enum.
type AnalyticsOverview ¶
type AnalyticsOverview struct {
DataStaleness *struct {
// StaleAccountCount Number of accounts with stale analytics data
StaleAccountCount *int `json:"staleAccountCount,omitempty"`
// SyncTriggered Whether a background sync was triggered for stale accounts
SyncTriggered *bool `json:"syncTriggered,omitempty"`
} `json:"dataStaleness,omitempty"`
LastSync *time.Time `json:"lastSync,omitempty"`
PublishedPosts *int `json:"publishedPosts,omitempty"`
ScheduledPosts *int `json:"scheduledPosts,omitempty"`
TotalPosts *int `json:"totalPosts,omitempty"`
}
AnalyticsOverview defines model for AnalyticsOverview.
type AnalyticsSinglePostResponse ¶
type AnalyticsSinglePostResponse struct {
Analytics *PostAnalytics `json:"analytics,omitempty"`
Content *string `json:"content,omitempty"`
IsExternal *bool `json:"isExternal,omitempty"`
// LatePostId Original Zernio post ID if scheduled via Zernio
LatePostId *string `json:"latePostId,omitempty"`
// MediaItems All media items for this post. Carousel posts contain one entry per slide.
MediaItems *[]struct {
// Thumbnail Thumbnail URL (same as url for images)
Thumbnail *string `json:"thumbnail,omitempty"`
Type *AnalyticsSinglePostResponseMediaItemsType `json:"type,omitempty"`
// Url Direct URL to the media
Url *string `json:"url,omitempty"`
} `json:"mediaItems,omitempty"`
MediaType *AnalyticsSinglePostResponseMediaType `json:"mediaType,omitempty"`
// Message Human-readable status message for pending, partial, or failed states
Message *string `json:"message,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformAnalytics *[]PlatformAnalytics `json:"platformAnalytics,omitempty"`
PlatformPostUrl *string `json:"platformPostUrl,omitempty"`
PostId *string `json:"postId,omitempty"`
PublishedAt *time.Time `json:"publishedAt,omitempty"`
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
// Status Overall post status. "partial" when some platforms published and others failed.
Status *AnalyticsSinglePostResponseStatus `json:"status,omitempty"`
// SyncStatus Overall sync state across all platforms
SyncStatus *AnalyticsSinglePostResponseSyncStatus `json:"syncStatus,omitempty"`
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
}
AnalyticsSinglePostResponse defines model for AnalyticsSinglePostResponse.
type AnalyticsSinglePostResponseMediaItemsType ¶
type AnalyticsSinglePostResponseMediaItemsType string
AnalyticsSinglePostResponseMediaItemsType defines model for AnalyticsSinglePostResponse.MediaItems.Type.
const ( AnalyticsSinglePostResponseMediaItemsTypeImage AnalyticsSinglePostResponseMediaItemsType = "image" AnalyticsSinglePostResponseMediaItemsTypeVideo AnalyticsSinglePostResponseMediaItemsType = "video" )
Defines values for AnalyticsSinglePostResponseMediaItemsType.
func (AnalyticsSinglePostResponseMediaItemsType) Valid ¶
func (e AnalyticsSinglePostResponseMediaItemsType) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsSinglePostResponseMediaItemsType enum.
type AnalyticsSinglePostResponseMediaType ¶
type AnalyticsSinglePostResponseMediaType string
AnalyticsSinglePostResponseMediaType defines model for AnalyticsSinglePostResponse.MediaType.
const ( AnalyticsSinglePostResponseMediaTypeCarousel AnalyticsSinglePostResponseMediaType = "carousel" AnalyticsSinglePostResponseMediaTypeImage AnalyticsSinglePostResponseMediaType = "image" AnalyticsSinglePostResponseMediaTypeText AnalyticsSinglePostResponseMediaType = "text" AnalyticsSinglePostResponseMediaTypeVideo AnalyticsSinglePostResponseMediaType = "video" )
Defines values for AnalyticsSinglePostResponseMediaType.
func (AnalyticsSinglePostResponseMediaType) Valid ¶
func (e AnalyticsSinglePostResponseMediaType) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsSinglePostResponseMediaType enum.
type AnalyticsSinglePostResponseStatus ¶
type AnalyticsSinglePostResponseStatus string
AnalyticsSinglePostResponseStatus Overall post status. "partial" when some platforms published and others failed.
const ( AnalyticsSinglePostResponseStatusFailed AnalyticsSinglePostResponseStatus = "failed" AnalyticsSinglePostResponseStatusPartial AnalyticsSinglePostResponseStatus = "partial" AnalyticsSinglePostResponseStatusPublished AnalyticsSinglePostResponseStatus = "published" )
Defines values for AnalyticsSinglePostResponseStatus.
func (AnalyticsSinglePostResponseStatus) Valid ¶
func (e AnalyticsSinglePostResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsSinglePostResponseStatus enum.
type AnalyticsSinglePostResponseSyncStatus ¶
type AnalyticsSinglePostResponseSyncStatus string
AnalyticsSinglePostResponseSyncStatus Overall sync state across all platforms
const ( AnalyticsSinglePostResponseSyncStatusPartial AnalyticsSinglePostResponseSyncStatus = "partial" AnalyticsSinglePostResponseSyncStatusPending AnalyticsSinglePostResponseSyncStatus = "pending" AnalyticsSinglePostResponseSyncStatusSynced AnalyticsSinglePostResponseSyncStatus = "synced" )
Defines values for AnalyticsSinglePostResponseSyncStatus.
func (AnalyticsSinglePostResponseSyncStatus) Valid ¶
func (e AnalyticsSinglePostResponseSyncStatus) Valid() bool
Valid indicates whether the value is a known member of the AnalyticsSinglePostResponseSyncStatus enum.
type ApiKey ¶
type ApiKey struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id *string `json:"id,omitempty"`
// Key Returned only once, on creation
Key *string `json:"key,omitempty"`
KeyPreview *string `json:"keyPreview,omitempty"`
Name *string `json:"name,omitempty"`
// Permission 'read-write' allows all operations, 'read' restricts to GET requests only
Permission *ApiKeyPermission `json:"permission,omitempty"`
// ProfileIds Profiles this key can access (populated with name and color). Only present when scope is 'profiles'.
ProfileIds *[]struct {
UnderscoreId *string `json:"_id,omitempty"`
Color *string `json:"color,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"profileIds,omitempty"`
// Scope 'full' grants access to all profiles, 'profiles' restricts to specific profiles
Scope *ApiKeyScope `json:"scope,omitempty"`
}
ApiKey defines model for ApiKey.
type ApiKeyPermission ¶
type ApiKeyPermission string
ApiKeyPermission 'read-write' allows all operations, 'read' restricts to GET requests only
const ( ApiKeyPermissionRead ApiKeyPermission = "read" ApiKeyPermissionReadWrite ApiKeyPermission = "read-write" )
Defines values for ApiKeyPermission.
func (ApiKeyPermission) Valid ¶
func (e ApiKeyPermission) Valid() bool
Valid indicates whether the value is a known member of the ApiKeyPermission enum.
type ApiKeyScope ¶
type ApiKeyScope string
ApiKeyScope 'full' grants access to all profiles, 'profiles' restricts to specific profiles
const ( ApiKeyScopeFull ApiKeyScope = "full" ApiKeyScopeProfiles ApiKeyScope = "profiles" )
Defines values for ApiKeyScope.
func (ApiKeyScope) Valid ¶
func (e ApiKeyScope) Valid() bool
Valid indicates whether the value is a known member of the ApiKeyScope enum.
type ApproveWhatsAppGroupJoinRequestsJSONBody ¶ added in v0.0.92
type ApproveWhatsAppGroupJoinRequestsJSONBody struct {
// PhoneNumbers Phone numbers to approve
PhoneNumbers []string `json:"phoneNumbers"`
}
ApproveWhatsAppGroupJoinRequestsJSONBody defines parameters for ApproveWhatsAppGroupJoinRequests.
type ApproveWhatsAppGroupJoinRequestsJSONRequestBody ¶ added in v0.0.92
type ApproveWhatsAppGroupJoinRequestsJSONRequestBody ApproveWhatsAppGroupJoinRequestsJSONBody
ApproveWhatsAppGroupJoinRequestsJSONRequestBody defines body for ApproveWhatsAppGroupJoinRequests for application/json ContentType.
type ApproveWhatsAppGroupJoinRequestsParams ¶ added in v0.0.92
type ApproveWhatsAppGroupJoinRequestsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
ApproveWhatsAppGroupJoinRequestsParams defines parameters for ApproveWhatsAppGroupJoinRequests.
type ApproveWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
type ApproveWhatsAppGroupJoinRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseApproveWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
func ParseApproveWhatsAppGroupJoinRequestsResponse(rsp *http.Response) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
ParseApproveWhatsAppGroupJoinRequestsResponse parses an HTTP response from a ApproveWhatsAppGroupJoinRequestsWithResponse call
func (ApproveWhatsAppGroupJoinRequestsResponse) Status ¶ added in v0.0.92
func (r ApproveWhatsAppGroupJoinRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ApproveWhatsAppGroupJoinRequestsResponse) StatusCode ¶ added in v0.0.92
func (r ApproveWhatsAppGroupJoinRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BatchGetGoogleBusinessReviewsJSONBody ¶ added in v0.0.158
type BatchGetGoogleBusinessReviewsJSONBody struct {
// LocationNames Array of full location resource names (e.g. ['accounts/123/locations/456'])
LocationNames []string `json:"locationNames"`
// PageSize Number of reviews per page (max 50)
PageSize *int `json:"pageSize,omitempty"`
// PageToken Pagination token from previous response
PageToken *string `json:"pageToken,omitempty"`
}
BatchGetGoogleBusinessReviewsJSONBody defines parameters for BatchGetGoogleBusinessReviews.
type BatchGetGoogleBusinessReviewsJSONRequestBody ¶ added in v0.0.158
type BatchGetGoogleBusinessReviewsJSONRequestBody BatchGetGoogleBusinessReviewsJSONBody
BatchGetGoogleBusinessReviewsJSONRequestBody defines body for BatchGetGoogleBusinessReviews for application/json ContentType.
type BatchGetGoogleBusinessReviewsResponse ¶ added in v0.0.158
type BatchGetGoogleBusinessReviewsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationReviews *[]struct {
AverageRating *float32 `json:"averageRating,omitempty"`
LocationName *string `json:"locationName,omitempty"`
Reviews *[]map[string]interface{} `json:"reviews,omitempty"`
TotalReviewCount *int `json:"totalReviewCount,omitempty"`
} `json:"locationReviews,omitempty"`
NextPageToken *string `json:"nextPageToken,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseBatchGetGoogleBusinessReviewsResponse ¶ added in v0.0.158
func ParseBatchGetGoogleBusinessReviewsResponse(rsp *http.Response) (*BatchGetGoogleBusinessReviewsResponse, error)
ParseBatchGetGoogleBusinessReviewsResponse parses an HTTP response from a BatchGetGoogleBusinessReviewsWithResponse call
func (BatchGetGoogleBusinessReviewsResponse) Status ¶ added in v0.0.158
func (r BatchGetGoogleBusinessReviewsResponse) Status() string
Status returns HTTPResponse.Status
func (BatchGetGoogleBusinessReviewsResponse) StatusCode ¶ added in v0.0.158
func (r BatchGetGoogleBusinessReviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BidStrategy ¶ added in v0.0.197
type BidStrategy string
BidStrategy Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set) overrides campaign-level. Cross-field rules:
- `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
- `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
- `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`, `Campaign_bid_strategy`).
const ( COSTCAP BidStrategy = "COST_CAP" LOWESTCOSTWITHBIDCAP BidStrategy = "LOWEST_COST_WITH_BID_CAP" LOWESTCOSTWITHMINROAS BidStrategy = "LOWEST_COST_WITH_MIN_ROAS" LOWESTCOSTWITHOUTCAP BidStrategy = "LOWEST_COST_WITHOUT_CAP" )
Defines values for BidStrategy.
func (BidStrategy) Valid ¶ added in v0.0.197
func (e BidStrategy) Valid() bool
Valid indicates whether the value is a known member of the BidStrategy enum.
type BlueskyPlatformData ¶
type BlueskyPlatformData struct {
// ThreadItems Complete sequence of posts in a Bluesky thread. The first item becomes the root post, subsequent items are chained as replies. When threadItems is provided, the top-level content field is used only for display and search purposes, it is NOT published. You must include your first post as threadItems[0].
ThreadItems *[]struct {
Content *string `json:"content,omitempty"`
MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
} `json:"threadItems,omitempty"`
}
BlueskyPlatformData Bluesky post settings. Supports text posts with up to 4 images or a single video. threadItems creates a reply chain (Bluesky thread). Images exceeding 1MB are automatically compressed. Alt text supported via mediaItem properties.
type BookmarkPostJSONBody ¶
type BookmarkPostJSONBody struct {
// AccountId The social account ID
AccountId string `json:"accountId"`
// TweetId The ID of the tweet to bookmark
TweetId string `json:"tweetId"`
}
BookmarkPostJSONBody defines parameters for BookmarkPost.
type BookmarkPostJSONRequestBody ¶
type BookmarkPostJSONRequestBody BookmarkPostJSONBody
BookmarkPostJSONRequestBody defines body for BookmarkPost for application/json ContentType.
type BookmarkPostResponse ¶
type BookmarkPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Bookmarked *bool `json:"bookmarked,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
TweetId *string `json:"tweetId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseBookmarkPostResponse ¶
func ParseBookmarkPostResponse(rsp *http.Response) (*BookmarkPostResponse, error)
ParseBookmarkPostResponse parses an HTTP response from a BookmarkPostWithResponse call
func (BookmarkPostResponse) Status ¶
func (r BookmarkPostResponse) Status() string
Status returns HTTPResponse.Status
func (BookmarkPostResponse) StatusCode ¶
func (r BookmarkPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BoostPostJSONBody ¶ added in v0.0.106
type BoostPostJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
// AdAccountId Platform ad account ID
AdAccountId string `json:"adAccountId"`
// BidAmount Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
// `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`. Backward-compat: providing
// `bidAmount` without `bidStrategy` is treated as `LOWEST_COST_WITH_BID_CAP`.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Meta bid strategy applied to the ad set. On TikTok, mapped to
// `bid_type` / `bid_price` / `deep_bid_type` automatically.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
Budget struct {
// Amount Minimum varies: TikTok=$20, Pinterest=$5, others=$1
Amount float32 `json:"amount"`
Type BoostPostJSONBodyBudgetType `json:"type"`
} `json:"budget"`
// CallToAction TikTok-only. Call-to-action button label on the Spark Ad creative (e.g.
// `LEARN_MORE`, `SHOP_NOW`, `DOWNLOAD_NOW`, `SIGN_UP`, `WATCH_NOW`). Maps to
// `call_to_action` on the creative entry of /v2/ad/create/. Pass-through —
// the platform validates the value. See TikTok's "Enumeration - Call-to-Action"
// reference for the full list.
CallToAction *string `json:"callToAction,omitempty"`
Currency *string `json:"currency,omitempty"`
// DsaBeneficiary Name of the legal entity benefiting from the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Not enforced at schema level; enforced server-side when targeting intersects EU member states.
DsaBeneficiary *string `json:"dsaBeneficiary,omitempty"`
// DsaPayor Name of the legal entity paying for the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Note Meta API spelling: dsa_payor (not dsa_payer).
DsaPayor *string `json:"dsaPayor,omitempty"`
// Goal Available goals vary by platform. Meta (Facebook/Instagram) and TikTok support all 7. LinkedIn supports all except app_promotion. Twitter/X supports engagement, traffic, awareness, video_views, app_promotion. Pinterest and Google Ads support only engagement, traffic, awareness, video_views.
Goal BoostPostJSONBodyGoal `json:"goal"`
// LinkUrl TikTok-only. Custom destination URL for the Spark Ad. Without this, TikTok
// Spark Ads have no clickable destination — required for traffic / conversion
// objectives. Maps to `landing_page_url` on the creative entry of /v2/ad/create/
// (TikTok SDK `AdcreateCreatives.landing_page_url`). Ignored on Meta / LinkedIn /
// Pinterest / X / Google (those infer the destination from the boosted post).
LinkUrl *string `json:"linkUrl,omitempty"`
Name string `json:"name"`
// PlatformPostId Platform post ID (alternative to postId)
PlatformPostId *string `json:"platformPostId,omitempty"`
// PostId Zernio post ID (provide this or platformPostId)
PostId *string `json:"postId,omitempty"`
// RoasAverageFloor Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
// `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
// `bid_constraints.roas_average_floor` × 10000 (Meta uses fixed-point integers).
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
Schedule *struct {
// EndDate Required for lifetime budgets
EndDate *time.Time `json:"endDate,omitempty"`
StartDate *time.Time `json:"startDate,omitempty"`
} `json:"schedule,omitempty"`
// SparkAuthCode TikTok-only. Spark Code (creator's `auth_code`) authorizing cross-creator
// Spark Ads — the advertiser can boost a video owned by a DIFFERENT TikTok
// account. Without this, boosts are limited to videos owned by the same
// account running the ads (same-BC creators only). The creator generates the
// code in their TikTok app's Promote settings and shares it with the
// advertiser. Maps to `auth_code` on the creative entry of /v2/ad/create/.
SparkAuthCode *string `json:"sparkAuthCode,omitempty"`
// SpecialAdCategories Meta only. Required for housing, employment, credit, or political ads.
SpecialAdCategories *[]BoostPostJSONBodySpecialAdCategories `json:"specialAdCategories,omitempty"`
Targeting *struct {
// AdvantageAudience Meta only. 0 = disabled (default), 1 = enabled.
AdvantageAudience *BoostPostJSONBodyTargetingAdvantageAudience `json:"advantage_audience,omitempty"`
AgeMax *int `json:"ageMax,omitempty"`
AgeMin *int `json:"ageMin,omitempty"`
// Countries ISO country codes. Required for TikTok boosts (TikTok's ad group requires location_ids); optional on other platforms.
Countries *[]string `json:"countries,omitempty"`
// Interests Interest objects from /v1/ads/interests. Each must include id and name.
Interests *[]struct {
Id string `json:"id"`
Name string `json:"name"`
} `json:"interests,omitempty"`
} `json:"targeting,omitempty"`
// Tracking Meta only. Tracking specs (pixel, URL tags).
Tracking *struct {
PixelId *string `json:"pixelId,omitempty"`
UrlTags *string `json:"urlTags,omitempty"`
} `json:"tracking,omitempty"`
}
BoostPostJSONBody defines parameters for BoostPost.
type BoostPostJSONBodyBudgetType ¶ added in v0.0.106
type BoostPostJSONBodyBudgetType string
BoostPostJSONBodyBudgetType defines parameters for BoostPost.
const ( BoostPostJSONBodyBudgetTypeDaily BoostPostJSONBodyBudgetType = "daily" BoostPostJSONBodyBudgetTypeLifetime BoostPostJSONBodyBudgetType = "lifetime" )
Defines values for BoostPostJSONBodyBudgetType.
func (BoostPostJSONBodyBudgetType) Valid ¶ added in v0.0.106
func (e BoostPostJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the BoostPostJSONBodyBudgetType enum.
type BoostPostJSONBodyGoal ¶ added in v0.0.106
type BoostPostJSONBodyGoal string
BoostPostJSONBodyGoal defines parameters for BoostPost.
const ( BoostPostJSONBodyGoalAppPromotion BoostPostJSONBodyGoal = "app_promotion" BoostPostJSONBodyGoalAwareness BoostPostJSONBodyGoal = "awareness" BoostPostJSONBodyGoalConversions BoostPostJSONBodyGoal = "conversions" BoostPostJSONBodyGoalEngagement BoostPostJSONBodyGoal = "engagement" BoostPostJSONBodyGoalLeadGeneration BoostPostJSONBodyGoal = "lead_generation" BoostPostJSONBodyGoalTraffic BoostPostJSONBodyGoal = "traffic" BoostPostJSONBodyGoalVideoViews BoostPostJSONBodyGoal = "video_views" )
Defines values for BoostPostJSONBodyGoal.
func (BoostPostJSONBodyGoal) Valid ¶ added in v0.0.106
func (e BoostPostJSONBodyGoal) Valid() bool
Valid indicates whether the value is a known member of the BoostPostJSONBodyGoal enum.
type BoostPostJSONBodySpecialAdCategories ¶ added in v0.0.107
type BoostPostJSONBodySpecialAdCategories string
BoostPostJSONBodySpecialAdCategories defines parameters for BoostPost.
const ( CREDIT BoostPostJSONBodySpecialAdCategories = "CREDIT" EMPLOYMENT BoostPostJSONBodySpecialAdCategories = "EMPLOYMENT" HOUSING BoostPostJSONBodySpecialAdCategories = "HOUSING" ISSUESELECTIONSPOLITICS BoostPostJSONBodySpecialAdCategories = "ISSUES_ELECTIONS_POLITICS" )
Defines values for BoostPostJSONBodySpecialAdCategories.
func (BoostPostJSONBodySpecialAdCategories) Valid ¶ added in v0.0.107
func (e BoostPostJSONBodySpecialAdCategories) Valid() bool
Valid indicates whether the value is a known member of the BoostPostJSONBodySpecialAdCategories enum.
type BoostPostJSONBodyTargetingAdvantageAudience ¶ added in v0.0.165
type BoostPostJSONBodyTargetingAdvantageAudience int
BoostPostJSONBodyTargetingAdvantageAudience defines parameters for BoostPost.
const ( BoostPostJSONBodyTargetingAdvantageAudienceN0 BoostPostJSONBodyTargetingAdvantageAudience = 0 BoostPostJSONBodyTargetingAdvantageAudienceN1 BoostPostJSONBodyTargetingAdvantageAudience = 1 )
Defines values for BoostPostJSONBodyTargetingAdvantageAudience.
func (BoostPostJSONBodyTargetingAdvantageAudience) Valid ¶ added in v0.0.165
func (e BoostPostJSONBodyTargetingAdvantageAudience) Valid() bool
Valid indicates whether the value is a known member of the BoostPostJSONBodyTargetingAdvantageAudience enum.
type BoostPostJSONRequestBody ¶ added in v0.0.106
type BoostPostJSONRequestBody BoostPostJSONBody
BoostPostJSONRequestBody defines body for BoostPost for application/json ContentType.
type BoostPostResponse ¶ added in v0.0.106
type BoostPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Ad *Ad `json:"ad,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseBoostPostResponse ¶ added in v0.0.106
func ParseBoostPostResponse(rsp *http.Response) (*BoostPostResponse, error)
ParseBoostPostResponse parses an HTTP response from a BoostPostWithResponse call
func (BoostPostResponse) Status ¶ added in v0.0.106
func (r BoostPostResponse) Status() string
Status returns HTTPResponse.Status
func (BoostPostResponse) StatusCode ¶ added in v0.0.106
func (r BoostPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkCreateContactsJSONBody ¶ added in v0.0.76
type BulkCreateContactsJSONBody struct {
AccountId string `json:"accountId"`
Contacts []struct {
Company *string `json:"company,omitempty"`
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Email *string `json:"email,omitempty"`
Name string `json:"name"`
PlatformIdentifier string `json:"platformIdentifier"`
Tags *[]string `json:"tags,omitempty"`
} `json:"contacts"`
Platform string `json:"platform"`
ProfileId string `json:"profileId"`
}
BulkCreateContactsJSONBody defines parameters for BulkCreateContacts.
type BulkCreateContactsJSONRequestBody ¶ added in v0.0.76
type BulkCreateContactsJSONRequestBody BulkCreateContactsJSONBody
BulkCreateContactsJSONRequestBody defines body for BulkCreateContacts for application/json ContentType.
type BulkCreateContactsResponse ¶ added in v0.0.76
type BulkCreateContactsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Created *int `json:"created,omitempty"`
Errors *[]map[string]interface{} `json:"errors,omitempty"`
Skipped *int `json:"skipped,omitempty"`
Success *bool `json:"success,omitempty"`
Total *int `json:"total,omitempty"`
}
JSON401 *Unauthorized
}
func ParseBulkCreateContactsResponse ¶ added in v0.0.76
func ParseBulkCreateContactsResponse(rsp *http.Response) (*BulkCreateContactsResponse, error)
ParseBulkCreateContactsResponse parses an HTTP response from a BulkCreateContactsWithResponse call
func (BulkCreateContactsResponse) Status ¶ added in v0.0.76
func (r BulkCreateContactsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkCreateContactsResponse) StatusCode ¶ added in v0.0.76
func (r BulkCreateContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkUpdateAdCampaignStatus200Status ¶ added in v0.0.168
type BulkUpdateAdCampaignStatus200Status string
type BulkUpdateAdCampaignStatusJSONBody ¶ added in v0.0.168
type BulkUpdateAdCampaignStatusJSONBody struct {
Campaigns []struct {
Platform BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform `json:"platform"`
PlatformCampaignId string `json:"platformCampaignId"`
} `json:"campaigns"`
Status BulkUpdateAdCampaignStatusJSONBodyStatus `json:"status"`
}
BulkUpdateAdCampaignStatusJSONBody defines parameters for BulkUpdateAdCampaignStatus.
type BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform ¶ added in v0.0.168
type BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform string
BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform defines parameters for BulkUpdateAdCampaignStatus.
const ( BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformFacebook BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "facebook" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformGoogle BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "google" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformInstagram BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "instagram" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformLinkedin BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "linkedin" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformPinterest BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "pinterest" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformTiktok BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "tiktok" BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatformTwitter BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform = "twitter" )
Defines values for BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform.
func (BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform) Valid ¶ added in v0.0.168
func (e BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform) Valid() bool
Valid indicates whether the value is a known member of the BulkUpdateAdCampaignStatusJSONBodyCampaignsPlatform enum.
type BulkUpdateAdCampaignStatusJSONBodyStatus ¶ added in v0.0.168
type BulkUpdateAdCampaignStatusJSONBodyStatus string
BulkUpdateAdCampaignStatusJSONBodyStatus defines parameters for BulkUpdateAdCampaignStatus.
const ( BulkUpdateAdCampaignStatusJSONBodyStatusActive BulkUpdateAdCampaignStatusJSONBodyStatus = "active" BulkUpdateAdCampaignStatusJSONBodyStatusPaused BulkUpdateAdCampaignStatusJSONBodyStatus = "paused" )
Defines values for BulkUpdateAdCampaignStatusJSONBodyStatus.
func (BulkUpdateAdCampaignStatusJSONBodyStatus) Valid ¶ added in v0.0.168
func (e BulkUpdateAdCampaignStatusJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the BulkUpdateAdCampaignStatusJSONBodyStatus enum.
type BulkUpdateAdCampaignStatusJSONRequestBody ¶ added in v0.0.168
type BulkUpdateAdCampaignStatusJSONRequestBody BulkUpdateAdCampaignStatusJSONBody
BulkUpdateAdCampaignStatusJSONRequestBody defines body for BulkUpdateAdCampaignStatus for application/json ContentType.
type BulkUpdateAdCampaignStatusResponse ¶ added in v0.0.168
type BulkUpdateAdCampaignStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Results *[]struct {
Error *string `json:"error,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformCampaignId *string `json:"platformCampaignId,omitempty"`
Skipped *int `json:"skipped,omitempty"`
Updated *int `json:"updated,omitempty"`
} `json:"results,omitempty"`
Status *BulkUpdateAdCampaignStatus200Status `json:"status,omitempty"`
Totals *struct {
Failed *int `json:"failed,omitempty"`
Skipped *int `json:"skipped,omitempty"`
Updated *int `json:"updated,omitempty"`
} `json:"totals,omitempty"`
}
JSON401 *Unauthorized
}
func ParseBulkUpdateAdCampaignStatusResponse ¶ added in v0.0.168
func ParseBulkUpdateAdCampaignStatusResponse(rsp *http.Response) (*BulkUpdateAdCampaignStatusResponse, error)
ParseBulkUpdateAdCampaignStatusResponse parses an HTTP response from a BulkUpdateAdCampaignStatusWithResponse call
func (BulkUpdateAdCampaignStatusResponse) Status ¶ added in v0.0.168
func (r BulkUpdateAdCampaignStatusResponse) Status() string
Status returns HTTPResponse.Status
func (BulkUpdateAdCampaignStatusResponse) StatusCode ¶ added in v0.0.168
func (r BulkUpdateAdCampaignStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BulkUploadPostsMultipartBody ¶
type BulkUploadPostsMultipartBody struct {
File *openapi_types.File `json:"file,omitempty"`
}
BulkUploadPostsMultipartBody defines parameters for BulkUploadPosts.
type BulkUploadPostsMultipartRequestBody ¶
type BulkUploadPostsMultipartRequestBody BulkUploadPostsMultipartBody
BulkUploadPostsMultipartRequestBody defines body for BulkUploadPosts for multipart/form-data ContentType.
type BulkUploadPostsParams ¶
type BulkUploadPostsParams struct {
DryRun *bool `form:"dryRun,omitempty" json:"dryRun,omitempty"`
}
BulkUploadPostsParams defines parameters for BulkUploadPosts.
type BulkUploadPostsResponse ¶
type BulkUploadPostsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Created *int `json:"created,omitempty"`
Errors *[]struct {
Error *string `json:"error,omitempty"`
Row *int `json:"row,omitempty"`
} `json:"errors,omitempty"`
Failed *int `json:"failed,omitempty"`
Posts *[]Post `json:"posts,omitempty"`
Success *bool `json:"success,omitempty"`
TotalRows *int `json:"totalRows,omitempty"`
}
JSON401 *Unauthorized
JSON429 *struct {
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseBulkUploadPostsResponse ¶
func ParseBulkUploadPostsResponse(rsp *http.Response) (*BulkUploadPostsResponse, error)
ParseBulkUploadPostsResponse parses an HTTP response from a BulkUploadPostsWithResponse call
func (BulkUploadPostsResponse) Status ¶
func (r BulkUploadPostsResponse) Status() string
Status returns HTTPResponse.Status
func (BulkUploadPostsResponse) StatusCode ¶
func (r BulkUploadPostsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type BusinessCenter ¶ added in v0.0.199
type BusinessCenter struct {
// AdvertiserCount Number of advertisers reachable under this BC for the calling token.
// `null` when the BC asset walk returned empty or failed (typical for
// agency apps without full BC asset read scope) — distinct from `0`,
// which would imply the BC genuinely has no advertisers.
AdvertiserCount *int `json:"advertiserCount,omitempty"`
// BcId Business Center ID
BcId *string `json:"bcId,omitempty"`
// Name Display name set by the BC owner
Name *string `json:"name,omitempty"`
}
BusinessCenter TikTok Business Center entity. Returned by `GET /v1/ads/business-centers`. BCs are TikTok's agency container — one BC owns N advertisers (ad accounts). Most solo advertisers don't have one; the agency token uses BCs to roll up multi-client access.
type CancelBroadcastResponse ¶ added in v0.0.76
type CancelBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcast *struct {
Id *string `json:"id,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"broadcast,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseCancelBroadcastResponse ¶ added in v0.0.76
func ParseCancelBroadcastResponse(rsp *http.Response) (*CancelBroadcastResponse, error)
ParseCancelBroadcastResponse parses an HTTP response from a CancelBroadcastWithResponse call
func (CancelBroadcastResponse) Status ¶ added in v0.0.76
func (r CancelBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (CancelBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r CancelBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ClearContactFieldValueResponse ¶ added in v0.0.76
type ClearContactFieldValueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseClearContactFieldValueResponse ¶ added in v0.0.76
func ParseClearContactFieldValueResponse(rsp *http.Response) (*ClearContactFieldValueResponse, error)
ParseClearContactFieldValueResponse parses an HTTP response from a ClearContactFieldValueWithResponse call
func (ClearContactFieldValueResponse) Status ¶ added in v0.0.76
func (r ClearContactFieldValueResponse) Status() string
Status returns HTTPResponse.Status
func (ClearContactFieldValueResponse) StatusCode ¶ added in v0.0.76
func (r ClearContactFieldValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ActivateSequence ¶ added in v0.0.76
func (*Client) AddBroadcastRecipients ¶ added in v0.0.76
func (c *Client) AddBroadcastRecipients(ctx context.Context, broadcastId string, body AddBroadcastRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddBroadcastRecipientsWithBody ¶ added in v0.0.76
func (*Client) AddMessageReaction ¶ added in v0.0.96
func (c *Client) AddMessageReaction(ctx context.Context, conversationId string, messageId string, body AddMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddMessageReactionWithBody ¶ added in v0.0.96
func (*Client) AddUsersToAdAudience ¶ added in v0.0.106
func (c *Client) AddUsersToAdAudience(ctx context.Context, audienceId string, body AddUsersToAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddUsersToAdAudienceWithBody ¶ added in v0.0.106
func (*Client) AddWhatsAppGroupParticipants ¶ added in v0.0.92
func (c *Client) AddWhatsAppGroupParticipants(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, body AddWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) AddWhatsAppGroupParticipantsWithBody ¶ added in v0.0.92
func (*Client) ApproveWhatsAppGroupJoinRequests ¶ added in v0.0.92
func (c *Client) ApproveWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, body ApproveWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApproveWhatsAppGroupJoinRequestsWithBody ¶ added in v0.0.92
func (*Client) BatchGetGoogleBusinessReviews ¶ added in v0.0.158
func (c *Client) BatchGetGoogleBusinessReviews(ctx context.Context, accountId string, body BatchGetGoogleBusinessReviewsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BatchGetGoogleBusinessReviewsWithBody ¶ added in v0.0.158
func (*Client) BookmarkPost ¶
func (c *Client) BookmarkPost(ctx context.Context, body BookmarkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BookmarkPostWithBody ¶
func (*Client) BoostPost ¶ added in v0.0.106
func (c *Client) BoostPost(ctx context.Context, body BoostPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BoostPostWithBody ¶ added in v0.0.106
func (*Client) BulkCreateContacts ¶ added in v0.0.76
func (c *Client) BulkCreateContacts(ctx context.Context, body BulkCreateContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkCreateContactsWithBody ¶ added in v0.0.76
func (*Client) BulkUpdateAdCampaignStatus ¶ added in v0.0.168
func (c *Client) BulkUpdateAdCampaignStatus(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) BulkUpdateAdCampaignStatusWithBody ¶ added in v0.0.168
func (*Client) BulkUploadPostsWithBody ¶
func (*Client) CancelBroadcast ¶ added in v0.0.76
func (*Client) ClearContactFieldValue ¶ added in v0.0.76
func (*Client) CompleteTelegramConnect ¶
func (c *Client) CompleteTelegramConnect(ctx context.Context, params *CompleteTelegramConnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectAds ¶ added in v0.0.125
func (c *Client) ConnectAds(ctx context.Context, platform ConnectAdsParamsPlatform, params *ConnectAdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectBlueskyCredentials ¶
func (c *Client) ConnectBlueskyCredentials(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectBlueskyCredentialsWithBody ¶
func (*Client) ConnectWhatsAppCredentials ¶
func (c *Client) ConnectWhatsAppCredentials(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ConnectWhatsAppCredentialsWithBody ¶
func (*Client) CreateAccountGroup ¶
func (c *Client) CreateAccountGroup(ctx context.Context, body CreateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAccountGroupWithBody ¶
func (*Client) CreateAdAudience ¶ added in v0.0.106
func (c *Client) CreateAdAudience(ctx context.Context, body CreateAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAdAudienceWithBody ¶ added in v0.0.106
func (*Client) CreateApiKey ¶
func (c *Client) CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateApiKeyWithBody ¶
func (*Client) CreateBroadcast ¶ added in v0.0.76
func (c *Client) CreateBroadcast(ctx context.Context, body CreateBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateBroadcastWithBody ¶ added in v0.0.76
func (*Client) CreateCommentAutomation ¶ added in v0.0.76
func (c *Client) CreateCommentAutomation(ctx context.Context, body CreateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCommentAutomationWithBody ¶ added in v0.0.76
func (*Client) CreateContact ¶ added in v0.0.76
func (c *Client) CreateContact(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateContactWithBody ¶ added in v0.0.76
func (*Client) CreateCtwaAd ¶ added in v0.0.189
func (c *Client) CreateCtwaAd(ctx context.Context, body CreateCtwaAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCtwaAdWithBody ¶ added in v0.0.189
func (*Client) CreateCustomField ¶ added in v0.0.76
func (c *Client) CreateCustomField(ctx context.Context, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomFieldWithBody ¶ added in v0.0.76
func (*Client) CreateGoogleBusinessMedia ¶
func (c *Client) CreateGoogleBusinessMedia(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGoogleBusinessMediaWithBody ¶
func (*Client) CreateGoogleBusinessPlaceAction ¶
func (c *Client) CreateGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGoogleBusinessPlaceActionWithBody ¶
func (*Client) CreateInboxConversation ¶ added in v0.0.119
func (c *Client) CreateInboxConversation(ctx context.Context, body CreateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInboxConversationWithBody ¶ added in v0.0.119
func (*Client) CreateInviteToken ¶
func (c *Client) CreateInviteToken(ctx context.Context, body CreateInviteTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateInviteTokenWithBody ¶
func (*Client) CreatePost ¶
func (c *Client) CreatePost(ctx context.Context, body CreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePostWithBody ¶
func (*Client) CreateProfile ¶
func (c *Client) CreateProfile(ctx context.Context, body CreateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateProfileWithBody ¶
func (*Client) CreateQueueSlot ¶
func (c *Client) CreateQueueSlot(ctx context.Context, body CreateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateQueueSlotWithBody ¶
func (*Client) CreateSequence ¶ added in v0.0.76
func (c *Client) CreateSequence(ctx context.Context, body CreateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSequenceWithBody ¶ added in v0.0.76
func (*Client) CreateStandaloneAd ¶ added in v0.0.106
func (c *Client) CreateStandaloneAd(ctx context.Context, body CreateStandaloneAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateStandaloneAdWithBody ¶ added in v0.0.106
func (*Client) CreateWebhookSettings ¶
func (c *Client) CreateWebhookSettings(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWebhookSettingsWithBody ¶
func (*Client) CreateWhatsAppFlow ¶ added in v0.0.117
func (c *Client) CreateWhatsAppFlow(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWhatsAppFlowWithBody ¶ added in v0.0.117
func (*Client) CreateWhatsAppGroupChat ¶ added in v0.0.92
func (c *Client) CreateWhatsAppGroupChat(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWhatsAppGroupChatWithBody ¶ added in v0.0.92
func (*Client) CreateWhatsAppGroupInviteLink ¶ added in v0.0.92
func (c *Client) CreateWhatsAppGroupInviteLink(ctx context.Context, groupId string, params *CreateWhatsAppGroupInviteLinkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWhatsAppTemplate ¶
func (c *Client) CreateWhatsAppTemplate(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWhatsAppTemplateWithBody ¶
func (*Client) DeleteAccount ¶
func (*Client) DeleteAccountGroup ¶
func (*Client) DeleteAdAudience ¶ added in v0.0.106
func (*Client) DeleteAdCampaign ¶ added in v0.0.168
func (c *Client) DeleteAdCampaign(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteAdCampaignWithBody ¶ added in v0.0.168
func (*Client) DeleteApiKey ¶
func (*Client) DeleteBroadcast ¶ added in v0.0.76
func (*Client) DeleteCommentAutomation ¶ added in v0.0.76
func (*Client) DeleteContact ¶ added in v0.0.76
func (*Client) DeleteCustomField ¶ added in v0.0.76
func (*Client) DeleteGoogleBusinessMedia ¶
func (c *Client) DeleteGoogleBusinessMedia(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteGoogleBusinessPlaceAction ¶
func (c *Client) DeleteGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *DeleteGoogleBusinessPlaceActionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteInboxComment ¶
func (c *Client) DeleteInboxComment(ctx context.Context, postId string, params *DeleteInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteInboxMessage ¶ added in v0.0.96
func (c *Client) DeleteInboxMessage(ctx context.Context, conversationId string, messageId string, params *DeleteInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteInboxReviewReply ¶
func (c *Client) DeleteInboxReviewReply(ctx context.Context, reviewId string, body DeleteInboxReviewReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteInboxReviewReplyWithBody ¶
func (*Client) DeleteInstagramIceBreakers ¶
func (*Client) DeleteMessengerMenu ¶
func (*Client) DeletePost ¶
func (*Client) DeleteProfile ¶
func (*Client) DeleteQueueSlot ¶
func (c *Client) DeleteQueueSlot(ctx context.Context, params *DeleteQueueSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteSequence ¶ added in v0.0.76
func (*Client) DeleteTelegramCommands ¶
func (*Client) DeleteWebhookSettings ¶
func (c *Client) DeleteWebhookSettings(ctx context.Context, params *DeleteWebhookSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteWhatsAppFlow ¶ added in v0.0.117
func (c *Client) DeleteWhatsAppFlow(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteWhatsAppGroupChat ¶ added in v0.0.92
func (c *Client) DeleteWhatsAppGroupChat(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteWhatsAppTemplate ¶
func (c *Client) DeleteWhatsAppTemplate(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeprecateWhatsAppFlow ¶ added in v0.0.117
func (c *Client) DeprecateWhatsAppFlow(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeprecateWhatsAppFlowWithBody ¶ added in v0.0.117
func (*Client) DuplicateAdCampaign ¶ added in v0.0.168
func (c *Client) DuplicateAdCampaign(ctx context.Context, campaignId string, body DuplicateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DuplicateAdCampaignWithBody ¶ added in v0.0.168
func (*Client) EditInboxMessage ¶
func (c *Client) EditInboxMessage(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditInboxMessageWithBody ¶
func (*Client) EditPost ¶ added in v0.0.119
func (c *Client) EditPost(ctx context.Context, postId string, body EditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EditPostWithBody ¶ added in v0.0.119
func (*Client) EnrollContacts ¶ added in v0.0.76
func (c *Client) EnrollContacts(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) EnrollContactsWithBody ¶ added in v0.0.76
func (*Client) FollowUser ¶
func (c *Client) FollowUser(ctx context.Context, body FollowUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FollowUserWithBody ¶
func (*Client) GetAccountHealth ¶
func (*Client) GetAdAnalytics ¶ added in v0.0.106
func (c *Client) GetAdAnalytics(ctx context.Context, adId string, params *GetAdAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdAudience ¶ added in v0.0.106
func (*Client) GetAdComments ¶ added in v0.0.180
func (c *Client) GetAdComments(ctx context.Context, adId string, params *GetAdCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAdTree ¶ added in v0.0.112
func (c *Client) GetAdTree(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAllAccountsHealth ¶
func (c *Client) GetAllAccountsHealth(ctx context.Context, params *GetAllAccountsHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAnalytics ¶
func (c *Client) GetAnalytics(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBestTimeToPost ¶
func (c *Client) GetBestTimeToPost(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetBroadcast ¶ added in v0.0.76
func (*Client) GetCommentAutomation ¶ added in v0.0.76
func (*Client) GetConnectUrl ¶
func (c *Client) GetConnectUrl(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetContact ¶ added in v0.0.76
func (*Client) GetContactChannels ¶ added in v0.0.76
func (*Client) GetContentDecay ¶
func (c *Client) GetContentDecay(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDailyMetrics ¶
func (c *Client) GetDailyMetrics(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetDiscordChannels ¶ added in v0.0.153
func (*Client) GetDiscordSettings ¶ added in v0.0.153
func (*Client) GetFacebookPageInsights ¶ added in v0.0.184
func (c *Client) GetFacebookPageInsights(ctx context.Context, params *GetFacebookPageInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetFacebookPages ¶
func (*Client) GetFollowerStats ¶
func (c *Client) GetFollowerStats(ctx context.Context, params *GetFollowerStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGmbLocations ¶
func (*Client) GetGoogleBusinessAttributes ¶
func (c *Client) GetGoogleBusinessAttributes(ctx context.Context, accountId string, params *GetGoogleBusinessAttributesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessFoodMenus ¶
func (c *Client) GetGoogleBusinessFoodMenus(ctx context.Context, accountId string, params *GetGoogleBusinessFoodMenusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessLocationDetails ¶
func (c *Client) GetGoogleBusinessLocationDetails(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessPerformance ¶ added in v0.0.118
func (c *Client) GetGoogleBusinessPerformance(ctx context.Context, params *GetGoogleBusinessPerformanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessReviews ¶
func (c *Client) GetGoogleBusinessReviews(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessSearchKeywords ¶ added in v0.0.118
func (c *Client) GetGoogleBusinessSearchKeywords(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetGoogleBusinessServices ¶ added in v0.0.158
func (c *Client) GetGoogleBusinessServices(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInboxConversation ¶
func (c *Client) GetInboxConversation(ctx context.Context, conversationId string, params *GetInboxConversationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInboxConversationMessages ¶
func (c *Client) GetInboxConversationMessages(ctx context.Context, conversationId string, params *GetInboxConversationMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInboxPostComments ¶
func (c *Client) GetInboxPostComments(ctx context.Context, postId string, params *GetInboxPostCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInstagramAccountInsights ¶ added in v0.0.73
func (c *Client) GetInstagramAccountInsights(ctx context.Context, params *GetInstagramAccountInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInstagramDemographics ¶ added in v0.0.73
func (c *Client) GetInstagramDemographics(ctx context.Context, params *GetInstagramDemographicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInstagramFollowerHistory ¶ added in v0.0.184
func (c *Client) GetInstagramFollowerHistory(ctx context.Context, params *GetInstagramFollowerHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetInstagramIceBreakers ¶
func (*Client) GetLinkedInAggregateAnalytics ¶
func (c *Client) GetLinkedInAggregateAnalytics(ctx context.Context, accountId string, params *GetLinkedInAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLinkedInMentions ¶
func (c *Client) GetLinkedInMentions(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLinkedInOrgAggregateAnalytics ¶ added in v0.0.184
func (c *Client) GetLinkedInOrgAggregateAnalytics(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLinkedInOrganizations ¶
func (*Client) GetLinkedInPostAnalytics ¶
func (c *Client) GetLinkedInPostAnalytics(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetLinkedInPostReactions ¶
func (c *Client) GetLinkedInPostReactions(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMediaPresignedUrl ¶
func (c *Client) GetMediaPresignedUrl(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetMediaPresignedUrlWithBody ¶
func (*Client) GetMessengerMenu ¶
func (*Client) GetNextQueueSlot ¶
func (c *Client) GetNextQueueSlot(ctx context.Context, params *GetNextQueueSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPendingOAuthData ¶
func (c *Client) GetPendingOAuthData(ctx context.Context, params *GetPendingOAuthDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPinterestBoards ¶
func (*Client) GetPostTimeline ¶
func (c *Client) GetPostTimeline(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPostingFrequency ¶
func (c *Client) GetPostingFrequency(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetProfile ¶
func (*Client) GetRedditFeed ¶
func (c *Client) GetRedditFeed(ctx context.Context, params *GetRedditFeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRedditFlairs ¶
func (c *Client) GetRedditFlairs(ctx context.Context, accountId string, params *GetRedditFlairsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetRedditSubreddits ¶
func (*Client) GetSequence ¶ added in v0.0.76
func (*Client) GetTelegramCommands ¶
func (*Client) GetTelegramConnectStatus ¶
func (c *Client) GetTelegramConnectStatus(ctx context.Context, params *GetTelegramConnectStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTikTokAccountInsights ¶ added in v0.0.184
func (c *Client) GetTikTokAccountInsights(ctx context.Context, params *GetTikTokAccountInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetTikTokCreatorInfo ¶ added in v0.0.71
func (c *Client) GetTikTokCreatorInfo(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetUsageStats ¶
func (*Client) GetWebhookSettings ¶
func (*Client) GetWhatsAppBusinessProfile ¶
func (c *Client) GetWhatsAppBusinessProfile(ctx context.Context, params *GetWhatsAppBusinessProfileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppDisplayName ¶
func (c *Client) GetWhatsAppDisplayName(ctx context.Context, params *GetWhatsAppDisplayNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppFlow ¶ added in v0.0.117
func (c *Client) GetWhatsAppFlow(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppFlowJson ¶ added in v0.0.117
func (c *Client) GetWhatsAppFlowJson(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppGroupChat ¶ added in v0.0.92
func (c *Client) GetWhatsAppGroupChat(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppPhoneNumber ¶
func (*Client) GetWhatsAppPhoneNumbers ¶
func (c *Client) GetWhatsAppPhoneNumbers(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppTemplate ¶
func (c *Client) GetWhatsAppTemplate(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWhatsAppTemplates ¶
func (c *Client) GetWhatsAppTemplates(ctx context.Context, params *GetWhatsAppTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetYouTubeChannelInsights ¶ added in v0.0.184
func (c *Client) GetYouTubeChannelInsights(ctx context.Context, params *GetYouTubeChannelInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetYouTubeDailyViews ¶
func (c *Client) GetYouTubeDailyViews(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetYouTubeDemographics ¶ added in v0.0.117
func (c *Client) GetYouTubeDemographics(ctx context.Context, params *GetYouTubeDemographicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetYoutubePlaylists ¶ added in v0.0.99
func (*Client) HandleOAuthCallback ¶
func (c *Client) HandleOAuthCallback(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HandleOAuthCallbackWithBody ¶
func (*Client) HideInboxComment ¶
func (c *Client) HideInboxComment(ctx context.Context, postId string, commentId string, body HideInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) HideInboxCommentWithBody ¶
func (*Client) InitiateTelegramConnect ¶
func (c *Client) InitiateTelegramConnect(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) InitiateTelegramConnectWithBody ¶
func (*Client) LikeInboxComment ¶
func (c *Client) LikeInboxComment(ctx context.Context, postId string, commentId string, body LikeInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LikeInboxCommentWithBody ¶
func (*Client) ListAccountGroups ¶
func (*Client) ListAccounts ¶
func (c *Client) ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAdAccounts ¶ added in v0.0.106
func (c *Client) ListAdAccounts(ctx context.Context, params *ListAdAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAdAudiences ¶ added in v0.0.106
func (c *Client) ListAdAudiences(ctx context.Context, params *ListAdAudiencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAdCampaigns ¶ added in v0.0.106
func (c *Client) ListAdCampaigns(ctx context.Context, params *ListAdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAds ¶ added in v0.0.106
func (c *Client) ListAds(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAdsBusinessCenters ¶ added in v0.0.199
func (c *Client) ListAdsBusinessCenters(ctx context.Context, params *ListAdsBusinessCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListApiKeys ¶
func (*Client) ListBroadcastRecipients ¶ added in v0.0.76
func (c *Client) ListBroadcastRecipients(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListBroadcasts ¶ added in v0.0.76
func (c *Client) ListBroadcasts(ctx context.Context, params *ListBroadcastsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCommentAutomationLogs ¶ added in v0.0.76
func (c *Client) ListCommentAutomationLogs(ctx context.Context, automationId string, params *ListCommentAutomationLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListCommentAutomations ¶ added in v0.0.76
func (c *Client) ListCommentAutomations(ctx context.Context, params *ListCommentAutomationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListContacts ¶ added in v0.0.76
func (c *Client) ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListConversionDestinations ¶ added in v0.0.149
func (*Client) ListCustomFields ¶ added in v0.0.76
func (c *Client) ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFacebookPages ¶
func (c *Client) ListFacebookPages(ctx context.Context, params *ListFacebookPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGoogleBusinessLocations ¶
func (c *Client) ListGoogleBusinessLocations(ctx context.Context, params *ListGoogleBusinessLocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGoogleBusinessMedia ¶
func (c *Client) ListGoogleBusinessMedia(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListGoogleBusinessPlaceActions ¶
func (c *Client) ListGoogleBusinessPlaceActions(ctx context.Context, accountId string, params *ListGoogleBusinessPlaceActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInboxComments ¶
func (c *Client) ListInboxComments(ctx context.Context, params *ListInboxCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInboxConversations ¶
func (c *Client) ListInboxConversations(ctx context.Context, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListInboxReviews ¶
func (c *Client) ListInboxReviews(ctx context.Context, params *ListInboxReviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListLinkedInOrganizations ¶
func (c *Client) ListLinkedInOrganizations(ctx context.Context, params *ListLinkedInOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListLogs ¶ added in v0.0.125
func (c *Client) ListLogs(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPinterestBoardsForSelection ¶
func (c *Client) ListPinterestBoardsForSelection(ctx context.Context, params *ListPinterestBoardsForSelectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPosts ¶
func (c *Client) ListPosts(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListProfiles ¶
func (c *Client) ListProfiles(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListQueueSlots ¶
func (c *Client) ListQueueSlots(ctx context.Context, params *ListQueueSlotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSequenceEnrollments ¶ added in v0.0.76
func (c *Client) ListSequenceEnrollments(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSequences ¶ added in v0.0.76
func (c *Client) ListSequences(ctx context.Context, params *ListSequencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListSnapchatProfiles ¶
func (c *Client) ListSnapchatProfiles(ctx context.Context, params *ListSnapchatProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWhatsAppFlows ¶ added in v0.0.117
func (c *Client) ListWhatsAppFlows(ctx context.Context, params *ListWhatsAppFlowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWhatsAppGroupChats ¶ added in v0.0.92
func (c *Client) ListWhatsAppGroupChats(ctx context.Context, params *ListWhatsAppGroupChatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWhatsAppGroupJoinRequests ¶ added in v0.0.92
func (c *Client) ListWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *ListWhatsAppGroupJoinRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PauseSequence ¶ added in v0.0.76
func (*Client) PreviewQueue ¶
func (c *Client) PreviewQueue(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PublishWhatsAppFlow ¶ added in v0.0.117
func (c *Client) PublishWhatsAppFlow(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PublishWhatsAppFlowWithBody ¶ added in v0.0.117
func (*Client) PurchaseWhatsAppPhoneNumber ¶
func (c *Client) PurchaseWhatsAppPhoneNumber(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PurchaseWhatsAppPhoneNumberWithBody ¶
func (*Client) RejectWhatsAppGroupJoinRequests ¶ added in v0.0.92
func (c *Client) RejectWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, body RejectWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RejectWhatsAppGroupJoinRequestsWithBody ¶ added in v0.0.92
func (*Client) ReleaseWhatsAppPhoneNumber ¶
func (*Client) RemoveBookmark ¶
func (c *Client) RemoveBookmark(ctx context.Context, params *RemoveBookmarkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveMessageReaction ¶ added in v0.0.96
func (c *Client) RemoveMessageReaction(ctx context.Context, conversationId string, messageId string, params *RemoveMessageReactionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveWhatsAppGroupParticipants ¶ added in v0.0.92
func (c *Client) RemoveWhatsAppGroupParticipants(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, body RemoveWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RemoveWhatsAppGroupParticipantsWithBody ¶ added in v0.0.92
func (*Client) ReplyToInboxPost ¶
func (c *Client) ReplyToInboxPost(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReplyToInboxPostWithBody ¶
func (*Client) ReplyToInboxReview ¶
func (c *Client) ReplyToInboxReview(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReplyToInboxReviewWithBody ¶
func (*Client) RetweetPost ¶
func (c *Client) RetweetPost(ctx context.Context, body RetweetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RetweetPostWithBody ¶
func (*Client) ScheduleBroadcast ¶ added in v0.0.76
func (c *Client) ScheduleBroadcast(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ScheduleBroadcastWithBody ¶ added in v0.0.76
func (*Client) SearchAdInterests ¶ added in v0.0.106
func (c *Client) SearchAdInterests(ctx context.Context, params *SearchAdInterestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchReddit ¶
func (c *Client) SearchReddit(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectFacebookPage ¶
func (c *Client) SelectFacebookPage(ctx context.Context, body SelectFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectFacebookPageWithBody ¶
func (*Client) SelectGoogleBusinessLocation ¶
func (c *Client) SelectGoogleBusinessLocation(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectGoogleBusinessLocationWithBody ¶
func (*Client) SelectLinkedInOrganization ¶
func (c *Client) SelectLinkedInOrganization(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectLinkedInOrganizationWithBody ¶
func (*Client) SelectPinterestBoard ¶
func (c *Client) SelectPinterestBoard(ctx context.Context, body SelectPinterestBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectPinterestBoardWithBody ¶
func (*Client) SelectSnapchatProfile ¶
func (c *Client) SelectSnapchatProfile(ctx context.Context, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SelectSnapchatProfileWithBody ¶
func (*Client) SendBroadcast ¶ added in v0.0.76
func (*Client) SendConversions ¶ added in v0.0.149
func (c *Client) SendConversions(ctx context.Context, body SendConversionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendConversionsWithBody ¶ added in v0.0.149
func (*Client) SendInboxMessage ¶
func (c *Client) SendInboxMessage(ctx context.Context, conversationId string, body SendInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendInboxMessageWithBody ¶
func (*Client) SendPrivateReplyToComment ¶
func (c *Client) SendPrivateReplyToComment(ctx context.Context, postId string, commentId string, body SendPrivateReplyToCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendPrivateReplyToCommentWithBody ¶
func (*Client) SendTypingIndicator ¶ added in v0.0.96
func (c *Client) SendTypingIndicator(ctx context.Context, conversationId string, body SendTypingIndicatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendTypingIndicatorWithBody ¶ added in v0.0.96
func (*Client) SendWhatsAppConversion ¶ added in v0.0.189
func (c *Client) SendWhatsAppConversion(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendWhatsAppConversionWithBody ¶ added in v0.0.189
func (*Client) SendWhatsAppFlowMessage ¶ added in v0.0.117
func (c *Client) SendWhatsAppFlowMessage(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendWhatsAppFlowMessageWithBody ¶ added in v0.0.117
func (*Client) SetContactFieldValue ¶ added in v0.0.76
func (c *Client) SetContactFieldValue(ctx context.Context, contactId string, slug string, body SetContactFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetContactFieldValueWithBody ¶ added in v0.0.76
func (*Client) SetInstagramIceBreakers ¶
func (c *Client) SetInstagramIceBreakers(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetInstagramIceBreakersWithBody ¶
func (*Client) SetMessengerMenu ¶
func (c *Client) SetMessengerMenu(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetMessengerMenuWithBody ¶
func (*Client) SetTelegramCommands ¶
func (c *Client) SetTelegramCommands(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SetTelegramCommandsWithBody ¶
func (*Client) TestWebhook ¶
func (c *Client) TestWebhook(ctx context.Context, body TestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) TestWebhookWithBody ¶
func (*Client) UndoRetweet ¶
func (c *Client) UndoRetweet(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnenrollContact ¶ added in v0.0.76
func (*Client) UnfollowUser ¶
func (c *Client) UnfollowUser(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnhideInboxComment ¶
func (c *Client) UnhideInboxComment(ctx context.Context, postId string, commentId string, params *UnhideInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnlikeInboxComment ¶
func (c *Client) UnlikeInboxComment(ctx context.Context, postId string, commentId string, params *UnlikeInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnpublishPost ¶
func (c *Client) UnpublishPost(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UnpublishPostWithBody ¶
func (*Client) UpdateAccount ¶
func (c *Client) UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAccountGroup ¶
func (c *Client) UpdateAccountGroup(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAccountGroupWithBody ¶
func (*Client) UpdateAccountWithBody ¶
func (*Client) UpdateAd ¶ added in v0.0.106
func (c *Client) UpdateAd(ctx context.Context, adId string, body UpdateAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAdCampaign ¶ added in v0.0.168
func (c *Client) UpdateAdCampaign(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAdCampaignStatus ¶ added in v0.0.106
func (c *Client) UpdateAdCampaignStatus(ctx context.Context, campaignId string, body UpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAdCampaignStatusWithBody ¶ added in v0.0.106
func (*Client) UpdateAdCampaignWithBody ¶ added in v0.0.168
func (*Client) UpdateAdSet ¶ added in v0.0.168
func (c *Client) UpdateAdSet(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAdSetStatus ¶ added in v0.0.168
func (c *Client) UpdateAdSetStatus(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAdSetStatusWithBody ¶ added in v0.0.168
func (*Client) UpdateAdSetWithBody ¶ added in v0.0.168
func (*Client) UpdateAdWithBody ¶ added in v0.0.106
func (*Client) UpdateBroadcast ¶ added in v0.0.76
func (*Client) UpdateCommentAutomation ¶ added in v0.0.76
func (c *Client) UpdateCommentAutomation(ctx context.Context, automationId string, body UpdateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCommentAutomationWithBody ¶ added in v0.0.76
func (*Client) UpdateContact ¶ added in v0.0.76
func (c *Client) UpdateContact(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateContactWithBody ¶ added in v0.0.76
func (*Client) UpdateCustomField ¶ added in v0.0.76
func (c *Client) UpdateCustomField(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCustomFieldWithBody ¶ added in v0.0.76
func (*Client) UpdateDiscordSettings ¶ added in v0.0.153
func (c *Client) UpdateDiscordSettings(ctx context.Context, accountId string, body UpdateDiscordSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateDiscordSettingsWithBody ¶ added in v0.0.153
func (*Client) UpdateFacebookPage ¶
func (c *Client) UpdateFacebookPage(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFacebookPageWithBody ¶
func (*Client) UpdateGmbLocation ¶
func (c *Client) UpdateGmbLocation(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGmbLocationWithBody ¶
func (*Client) UpdateGoogleBusinessAttributes ¶
func (c *Client) UpdateGoogleBusinessAttributes(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGoogleBusinessAttributesWithBody ¶
func (*Client) UpdateGoogleBusinessFoodMenus ¶
func (c *Client) UpdateGoogleBusinessFoodMenus(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGoogleBusinessFoodMenusWithBody ¶
func (*Client) UpdateGoogleBusinessLocationDetails ¶
func (c *Client) UpdateGoogleBusinessLocationDetails(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGoogleBusinessLocationDetailsWithBody ¶
func (*Client) UpdateGoogleBusinessPlaceAction ¶ added in v0.0.158
func (c *Client) UpdateGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, body UpdateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGoogleBusinessPlaceActionWithBody ¶ added in v0.0.158
func (*Client) UpdateGoogleBusinessServices ¶ added in v0.0.158
func (c *Client) UpdateGoogleBusinessServices(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, body UpdateGoogleBusinessServicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGoogleBusinessServicesWithBody ¶ added in v0.0.158
func (*Client) UpdateInboxConversation ¶
func (c *Client) UpdateInboxConversation(ctx context.Context, conversationId string, body UpdateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateInboxConversationWithBody ¶
func (*Client) UpdateLinkedInOrganization ¶
func (c *Client) UpdateLinkedInOrganization(ctx context.Context, accountId string, body UpdateLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateLinkedInOrganizationWithBody ¶
func (*Client) UpdatePinterestBoards ¶
func (c *Client) UpdatePinterestBoards(ctx context.Context, accountId string, body UpdatePinterestBoardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePinterestBoardsWithBody ¶
func (*Client) UpdatePost ¶
func (c *Client) UpdatePost(ctx context.Context, postId string, body UpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePostMetadata ¶ added in v0.0.91
func (c *Client) UpdatePostMetadata(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePostMetadataWithBody ¶ added in v0.0.91
func (*Client) UpdatePostWithBody ¶
func (*Client) UpdateProfile ¶
func (c *Client) UpdateProfile(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateProfileWithBody ¶
func (*Client) UpdateQueueSlot ¶
func (c *Client) UpdateQueueSlot(ctx context.Context, body UpdateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateQueueSlotWithBody ¶
func (*Client) UpdateRedditSubreddits ¶
func (c *Client) UpdateRedditSubreddits(ctx context.Context, accountId string, body UpdateRedditSubredditsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateRedditSubredditsWithBody ¶
func (*Client) UpdateSequence ¶ added in v0.0.76
func (*Client) UpdateWebhookSettings ¶
func (c *Client) UpdateWebhookSettings(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWebhookSettingsWithBody ¶
func (*Client) UpdateWhatsAppBusinessProfile ¶
func (c *Client) UpdateWhatsAppBusinessProfile(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWhatsAppBusinessProfileWithBody ¶
func (*Client) UpdateWhatsAppDisplayName ¶
func (c *Client) UpdateWhatsAppDisplayName(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWhatsAppDisplayNameWithBody ¶
func (*Client) UpdateWhatsAppFlow ¶ added in v0.0.117
func (c *Client) UpdateWhatsAppFlow(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWhatsAppFlowWithBody ¶ added in v0.0.117
func (*Client) UpdateWhatsAppGroupChat ¶ added in v0.0.92
func (c *Client) UpdateWhatsAppGroupChat(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, body UpdateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWhatsAppGroupChatWithBody ¶ added in v0.0.92
func (*Client) UpdateWhatsAppTemplate ¶
func (c *Client) UpdateWhatsAppTemplate(ctx context.Context, templateName string, body UpdateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWhatsAppTemplateWithBody ¶
func (*Client) UpdateYoutubeDefaultPlaylist ¶ added in v0.0.99
func (c *Client) UpdateYoutubeDefaultPlaylist(ctx context.Context, accountId string, body UpdateYoutubeDefaultPlaylistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateYoutubeDefaultPlaylistWithBody ¶ added in v0.0.99
func (*Client) UploadMediaDirectWithBody ¶ added in v0.0.96
func (*Client) UploadWhatsAppFlowJson ¶ added in v0.0.117
func (c *Client) UploadWhatsAppFlowJson(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UploadWhatsAppFlowJsonWithBody ¶ added in v0.0.117
func (*Client) UploadWhatsAppProfilePhotoWithBody ¶
func (*Client) ValidateMedia ¶
func (c *Client) ValidateMedia(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ValidateMediaWithBody ¶
func (*Client) ValidatePost ¶
func (c *Client) ValidatePost(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ValidatePostLength ¶
func (c *Client) ValidatePostLength(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ValidatePostLengthWithBody ¶
func (*Client) ValidatePostWithBody ¶
func (*Client) ValidateSubreddit ¶
func (c *Client) ValidateSubreddit(ctx context.Context, params *ValidateSubredditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// ListAccountGroups request
ListAccountGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAccountGroupWithBody request with any body
CreateAccountGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAccountGroup(ctx context.Context, body CreateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAccountGroup request
DeleteAccountGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAccountGroupWithBody request with any body
UpdateAccountGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAccountGroup(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAccounts request
ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFollowerStats request
GetFollowerStats(ctx context.Context, params *GetFollowerStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAllAccountsHealth request
GetAllAccountsHealth(ctx context.Context, params *GetAllAccountsHealthParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAccount request
DeleteAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAccountWithBody request with any body
UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAccount(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListConversionDestinations request
ListConversionDestinations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiscordChannels request
GetDiscordChannels(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDiscordSettings request
GetDiscordSettings(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateDiscordSettingsWithBody request with any body
UpdateDiscordSettingsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateDiscordSettings(ctx context.Context, accountId string, body UpdateDiscordSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFacebookPages request
GetFacebookPages(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFacebookPageWithBody request with any body
UpdateFacebookPageWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFacebookPage(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessAttributes request
GetGoogleBusinessAttributes(ctx context.Context, accountId string, params *GetGoogleBusinessAttributesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGoogleBusinessAttributesWithBody request with any body
UpdateGoogleBusinessAttributesWithBody(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGoogleBusinessAttributes(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessFoodMenus request
GetGoogleBusinessFoodMenus(ctx context.Context, accountId string, params *GetGoogleBusinessFoodMenusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGoogleBusinessFoodMenusWithBody request with any body
UpdateGoogleBusinessFoodMenusWithBody(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGoogleBusinessFoodMenus(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessLocationDetails request
GetGoogleBusinessLocationDetails(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGoogleBusinessLocationDetailsWithBody request with any body
UpdateGoogleBusinessLocationDetailsWithBody(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGoogleBusinessLocationDetails(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGmbLocations request
GetGmbLocations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGmbLocationWithBody request with any body
UpdateGmbLocationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGmbLocation(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGoogleBusinessMedia request
DeleteGoogleBusinessMedia(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGoogleBusinessMedia request
ListGoogleBusinessMedia(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGoogleBusinessMediaWithBody request with any body
CreateGoogleBusinessMediaWithBody(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGoogleBusinessMedia(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGoogleBusinessPlaceAction request
DeleteGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *DeleteGoogleBusinessPlaceActionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGoogleBusinessPlaceActions request
ListGoogleBusinessPlaceActions(ctx context.Context, accountId string, params *ListGoogleBusinessPlaceActionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGoogleBusinessPlaceActionWithBody request with any body
UpdateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, body UpdateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGoogleBusinessPlaceActionWithBody request with any body
CreateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGoogleBusinessPlaceAction(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessReviews request
GetGoogleBusinessReviews(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BatchGetGoogleBusinessReviewsWithBody request with any body
BatchGetGoogleBusinessReviewsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BatchGetGoogleBusinessReviews(ctx context.Context, accountId string, body BatchGetGoogleBusinessReviewsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessServices request
GetGoogleBusinessServices(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGoogleBusinessServicesWithBody request with any body
UpdateGoogleBusinessServicesWithBody(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGoogleBusinessServices(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, body UpdateGoogleBusinessServicesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAccountHealth request
GetAccountHealth(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInstagramIceBreakers request
DeleteInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstagramIceBreakers request
GetInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetInstagramIceBreakersWithBody request with any body
SetInstagramIceBreakersWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetInstagramIceBreakers(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInAggregateAnalytics request
GetLinkedInAggregateAnalytics(ctx context.Context, accountId string, params *GetLinkedInAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInMentions request
GetLinkedInMentions(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLinkedInOrganizationWithBody request with any body
UpdateLinkedInOrganizationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateLinkedInOrganization(ctx context.Context, accountId string, body UpdateLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInOrganizations request
GetLinkedInOrganizations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInPostAnalytics request
GetLinkedInPostAnalytics(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInPostReactions request
GetLinkedInPostReactions(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMessengerMenu request
DeleteMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMessengerMenu request
GetMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetMessengerMenuWithBody request with any body
SetMessengerMenuWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetMessengerMenu(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPinterestBoards request
GetPinterestBoards(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePinterestBoardsWithBody request with any body
UpdatePinterestBoardsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePinterestBoards(ctx context.Context, accountId string, body UpdatePinterestBoardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRedditFlairs request
GetRedditFlairs(ctx context.Context, accountId string, params *GetRedditFlairsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRedditSubreddits request
GetRedditSubreddits(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateRedditSubredditsWithBody request with any body
UpdateRedditSubredditsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateRedditSubreddits(ctx context.Context, accountId string, body UpdateRedditSubredditsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteTelegramCommands request
DeleteTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTelegramCommands request
GetTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetTelegramCommandsWithBody request with any body
SetTelegramCommandsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetTelegramCommands(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTikTokCreatorInfo request
GetTikTokCreatorInfo(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetYoutubePlaylists request
GetYoutubePlaylists(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateYoutubeDefaultPlaylistWithBody request with any body
UpdateYoutubeDefaultPlaylistWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateYoutubeDefaultPlaylist(ctx context.Context, accountId string, body UpdateYoutubeDefaultPlaylistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAds request
ListAds(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdAccounts request
ListAdAccounts(ctx context.Context, params *ListAdAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdSetWithBody request with any body
UpdateAdSetWithBody(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdSet(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdSetStatusWithBody request with any body
UpdateAdSetStatusWithBody(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdSetStatus(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdAudiences request
ListAdAudiences(ctx context.Context, params *ListAdAudiencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAdAudienceWithBody request with any body
CreateAdAudienceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAdAudience(ctx context.Context, body CreateAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAdAudience request
DeleteAdAudience(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdAudience request
GetAdAudience(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddUsersToAdAudienceWithBody request with any body
AddUsersToAdAudienceWithBody(ctx context.Context, audienceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddUsersToAdAudience(ctx context.Context, audienceId string, body AddUsersToAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BoostPostWithBody request with any body
BoostPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BoostPost(ctx context.Context, body BoostPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdsBusinessCenters request
ListAdsBusinessCenters(ctx context.Context, params *ListAdsBusinessCentersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAdCampaigns request
ListAdCampaigns(ctx context.Context, params *ListAdCampaignsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkUpdateAdCampaignStatusWithBody request with any body
BulkUpdateAdCampaignStatusWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkUpdateAdCampaignStatus(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAdCampaignWithBody request with any body
DeleteAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteAdCampaign(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdCampaignWithBody request with any body
UpdateAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdCampaign(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DuplicateAdCampaignWithBody request with any body
DuplicateAdCampaignWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DuplicateAdCampaign(ctx context.Context, campaignId string, body DuplicateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdCampaignStatusWithBody request with any body
UpdateAdCampaignStatusWithBody(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAdCampaignStatus(ctx context.Context, campaignId string, body UpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendConversionsWithBody request with any body
SendConversionsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendConversions(ctx context.Context, body SendConversionsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateStandaloneAdWithBody request with any body
CreateStandaloneAdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateStandaloneAd(ctx context.Context, body CreateStandaloneAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCtwaAdWithBody request with any body
CreateCtwaAdWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCtwaAd(ctx context.Context, body CreateCtwaAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchAdInterests request
SearchAdInterests(ctx context.Context, params *SearchAdInterestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdTree request
GetAdTree(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteAd request
DeleteAd(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAd request
GetAd(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAdWithBody request with any body
UpdateAdWithBody(ctx context.Context, adId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAd(ctx context.Context, adId string, body UpdateAdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdAnalytics request
GetAdAnalytics(ctx context.Context, adId string, params *GetAdAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAdComments request
GetAdComments(ctx context.Context, adId string, params *GetAdCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAnalytics request
GetAnalytics(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBestTimeToPost request
GetBestTimeToPost(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContentDecay request
GetContentDecay(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetDailyMetrics request
GetDailyMetrics(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFacebookPageInsights request
GetFacebookPageInsights(ctx context.Context, params *GetFacebookPageInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessPerformance request
GetGoogleBusinessPerformance(ctx context.Context, params *GetGoogleBusinessPerformanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGoogleBusinessSearchKeywords request
GetGoogleBusinessSearchKeywords(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstagramAccountInsights request
GetInstagramAccountInsights(ctx context.Context, params *GetInstagramAccountInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstagramDemographics request
GetInstagramDemographics(ctx context.Context, params *GetInstagramDemographicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInstagramFollowerHistory request
GetInstagramFollowerHistory(ctx context.Context, params *GetInstagramFollowerHistoryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetLinkedInOrgAggregateAnalytics request
GetLinkedInOrgAggregateAnalytics(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPostTimeline request
GetPostTimeline(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPostingFrequency request
GetPostingFrequency(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTikTokAccountInsights request
GetTikTokAccountInsights(ctx context.Context, params *GetTikTokAccountInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetYouTubeChannelInsights request
GetYouTubeChannelInsights(ctx context.Context, params *GetYouTubeChannelInsightsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetYouTubeDailyViews request
GetYouTubeDailyViews(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetYouTubeDemographics request
GetYouTubeDemographics(ctx context.Context, params *GetYouTubeDemographicsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApiKeys request
ListApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKeyWithBody request with any body
CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteApiKey request
DeleteApiKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBroadcasts request
ListBroadcasts(ctx context.Context, params *ListBroadcastsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateBroadcastWithBody request with any body
CreateBroadcastWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateBroadcast(ctx context.Context, body CreateBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteBroadcast request
DeleteBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetBroadcast request
GetBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateBroadcast request
UpdateBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CancelBroadcast request
CancelBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListBroadcastRecipients request
ListBroadcastRecipients(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddBroadcastRecipientsWithBody request with any body
AddBroadcastRecipientsWithBody(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddBroadcastRecipients(ctx context.Context, broadcastId string, body AddBroadcastRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ScheduleBroadcastWithBody request with any body
ScheduleBroadcastWithBody(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ScheduleBroadcast(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendBroadcast request
SendBroadcast(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCommentAutomations request
ListCommentAutomations(ctx context.Context, params *ListCommentAutomationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCommentAutomationWithBody request with any body
CreateCommentAutomationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCommentAutomation(ctx context.Context, body CreateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCommentAutomation request
DeleteCommentAutomation(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCommentAutomation request
GetCommentAutomation(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCommentAutomationWithBody request with any body
UpdateCommentAutomationWithBody(ctx context.Context, automationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCommentAutomation(ctx context.Context, automationId string, body UpdateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCommentAutomationLogs request
ListCommentAutomationLogs(ctx context.Context, automationId string, params *ListCommentAutomationLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectBlueskyCredentialsWithBody request with any body
ConnectBlueskyCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectBlueskyCredentials(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFacebookPages request
ListFacebookPages(ctx context.Context, params *ListFacebookPagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectFacebookPageWithBody request with any body
SelectFacebookPageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectFacebookPage(ctx context.Context, body SelectFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGoogleBusinessLocations request
ListGoogleBusinessLocations(ctx context.Context, params *ListGoogleBusinessLocationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectGoogleBusinessLocationWithBody request with any body
SelectGoogleBusinessLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectGoogleBusinessLocation(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLinkedInOrganizations request
ListLinkedInOrganizations(ctx context.Context, params *ListLinkedInOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectLinkedInOrganizationWithBody request with any body
SelectLinkedInOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectLinkedInOrganization(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPendingOAuthData request
GetPendingOAuthData(ctx context.Context, params *GetPendingOAuthDataParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPinterestBoardsForSelection request
ListPinterestBoardsForSelection(ctx context.Context, params *ListPinterestBoardsForSelectionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectPinterestBoardWithBody request with any body
SelectPinterestBoardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectPinterestBoard(ctx context.Context, body SelectPinterestBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSnapchatProfiles request
ListSnapchatProfiles(ctx context.Context, params *ListSnapchatProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SelectSnapchatProfileWithBody request with any body
SelectSnapchatProfileWithBody(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SelectSnapchatProfile(ctx context.Context, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTelegramConnectStatus request
GetTelegramConnectStatus(ctx context.Context, params *GetTelegramConnectStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CompleteTelegramConnect request
CompleteTelegramConnect(ctx context.Context, params *CompleteTelegramConnectParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// InitiateTelegramConnectWithBody request with any body
InitiateTelegramConnectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
InitiateTelegramConnect(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectWhatsAppCredentialsWithBody request with any body
ConnectWhatsAppCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ConnectWhatsAppCredentials(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetConnectUrl request
GetConnectUrl(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HandleOAuthCallbackWithBody request with any body
HandleOAuthCallbackWithBody(ctx context.Context, platform string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HandleOAuthCallback(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ConnectAds request
ConnectAds(ctx context.Context, platform ConnectAdsParamsPlatform, params *ConnectAdsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListContacts request
ListContacts(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateContactWithBody request with any body
CreateContactWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateContact(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkCreateContactsWithBody request with any body
BulkCreateContactsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BulkCreateContacts(ctx context.Context, body BulkCreateContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteContact request
DeleteContact(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContact request
GetContact(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateContactWithBody request with any body
UpdateContactWithBody(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateContact(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetContactChannels request
GetContactChannels(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ClearContactFieldValue request
ClearContactFieldValue(ctx context.Context, contactId string, slug string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SetContactFieldValueWithBody request with any body
SetContactFieldValueWithBody(ctx context.Context, contactId string, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SetContactFieldValue(ctx context.Context, contactId string, slug string, body SetContactFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCustomFields request
ListCustomFields(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCustomFieldWithBody request with any body
CreateCustomFieldWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCustomField(ctx context.Context, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomField request
DeleteCustomField(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomFieldWithBody request with any body
UpdateCustomFieldWithBody(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCustomField(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInboxComments request
ListInboxComments(ctx context.Context, params *ListInboxCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInboxComment request
DeleteInboxComment(ctx context.Context, postId string, params *DeleteInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInboxPostComments request
GetInboxPostComments(ctx context.Context, postId string, params *GetInboxPostCommentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplyToInboxPostWithBody request with any body
ReplyToInboxPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplyToInboxPost(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnhideInboxComment request
UnhideInboxComment(ctx context.Context, postId string, commentId string, params *UnhideInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// HideInboxCommentWithBody request with any body
HideInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
HideInboxComment(ctx context.Context, postId string, commentId string, body HideInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnlikeInboxComment request
UnlikeInboxComment(ctx context.Context, postId string, commentId string, params *UnlikeInboxCommentParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// LikeInboxCommentWithBody request with any body
LikeInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LikeInboxComment(ctx context.Context, postId string, commentId string, body LikeInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendPrivateReplyToCommentWithBody request with any body
SendPrivateReplyToCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendPrivateReplyToComment(ctx context.Context, postId string, commentId string, body SendPrivateReplyToCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInboxConversations request
ListInboxConversations(ctx context.Context, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInboxConversationWithBody request with any body
CreateInboxConversationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInboxConversation(ctx context.Context, body CreateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInboxConversation request
GetInboxConversation(ctx context.Context, conversationId string, params *GetInboxConversationParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateInboxConversationWithBody request with any body
UpdateInboxConversationWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateInboxConversation(ctx context.Context, conversationId string, body UpdateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetInboxConversationMessages request
GetInboxConversationMessages(ctx context.Context, conversationId string, params *GetInboxConversationMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendInboxMessageWithBody request with any body
SendInboxMessageWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendInboxMessage(ctx context.Context, conversationId string, body SendInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInboxMessage request
DeleteInboxMessage(ctx context.Context, conversationId string, messageId string, params *DeleteInboxMessageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditInboxMessageWithBody request with any body
EditInboxMessageWithBody(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditInboxMessage(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveMessageReaction request
RemoveMessageReaction(ctx context.Context, conversationId string, messageId string, params *RemoveMessageReactionParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddMessageReactionWithBody request with any body
AddMessageReactionWithBody(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddMessageReaction(ctx context.Context, conversationId string, messageId string, body AddMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendTypingIndicatorWithBody request with any body
SendTypingIndicatorWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendTypingIndicator(ctx context.Context, conversationId string, body SendTypingIndicatorJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListInboxReviews request
ListInboxReviews(ctx context.Context, params *ListInboxReviewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteInboxReviewReplyWithBody request with any body
DeleteInboxReviewReplyWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteInboxReviewReply(ctx context.Context, reviewId string, body DeleteInboxReviewReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplyToInboxReviewWithBody request with any body
ReplyToInboxReviewWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplyToInboxReview(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateInviteTokenWithBody request with any body
CreateInviteTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateInviteToken(ctx context.Context, body CreateInviteTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListLogs request
ListLogs(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMediaPresignedUrlWithBody request with any body
GetMediaPresignedUrlWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
GetMediaPresignedUrl(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadMediaDirectWithBody request with any body
UploadMediaDirectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPosts request
ListPosts(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePostWithBody request with any body
CreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePost(ctx context.Context, body CreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// BulkUploadPostsWithBody request with any body
BulkUploadPostsWithBody(ctx context.Context, params *BulkUploadPostsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeletePost request
DeletePost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPost request
GetPost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePostWithBody request with any body
UpdatePostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePost(ctx context.Context, postId string, body UpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// EditPostWithBody request with any body
EditPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EditPost(ctx context.Context, postId string, body EditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetryPost request
RetryPost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnpublishPostWithBody request with any body
UnpublishPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UnpublishPost(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePostMetadataWithBody request with any body
UpdatePostMetadataWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePostMetadata(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListProfiles request
ListProfiles(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateProfileWithBody request with any body
CreateProfileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateProfile(ctx context.Context, body CreateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteProfile request
DeleteProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetProfile request
GetProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateProfileWithBody request with any body
UpdateProfileWithBody(ctx context.Context, profileId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateProfile(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNextQueueSlot request
GetNextQueueSlot(ctx context.Context, params *GetNextQueueSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewQueue request
PreviewQueue(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteQueueSlot request
DeleteQueueSlot(ctx context.Context, params *DeleteQueueSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListQueueSlots request
ListQueueSlots(ctx context.Context, params *ListQueueSlotsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateQueueSlotWithBody request with any body
CreateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateQueueSlot(ctx context.Context, body CreateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateQueueSlotWithBody request with any body
UpdateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateQueueSlot(ctx context.Context, body UpdateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRedditFeed request
GetRedditFeed(ctx context.Context, params *GetRedditFeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchReddit request
SearchReddit(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSequences request
ListSequences(ctx context.Context, params *ListSequencesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSequenceWithBody request with any body
CreateSequenceWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSequence(ctx context.Context, body CreateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSequence request
DeleteSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSequence request
GetSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSequence request
UpdateSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ActivateSequence request
ActivateSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// EnrollContactsWithBody request with any body
EnrollContactsWithBody(ctx context.Context, sequenceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
EnrollContacts(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnenrollContact request
UnenrollContact(ctx context.Context, sequenceId string, contactId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSequenceEnrollments request
ListSequenceEnrollments(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PauseSequence request
PauseSequence(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateMediaWithBody request with any body
ValidateMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidateMedia(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidatePostWithBody request with any body
ValidatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidatePost(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidatePostLengthWithBody request with any body
ValidatePostLengthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ValidatePostLength(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ValidateSubreddit request
ValidateSubreddit(ctx context.Context, params *ValidateSubredditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveBookmark request
RemoveBookmark(ctx context.Context, params *RemoveBookmarkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// BookmarkPostWithBody request with any body
BookmarkPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
BookmarkPost(ctx context.Context, body BookmarkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UnfollowUser request
UnfollowUser(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// FollowUserWithBody request with any body
FollowUserWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FollowUser(ctx context.Context, body FollowUserJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UndoRetweet request
UndoRetweet(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RetweetPostWithBody request with any body
RetweetPostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RetweetPost(ctx context.Context, body RetweetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUsageStats request
GetUsageStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListUsers request
ListUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetUser request
GetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhookSettings request
DeleteWebhookSettings(ctx context.Context, params *DeleteWebhookSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWebhookSettings request
GetWebhookSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhookSettingsWithBody request with any body
CreateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhookSettings(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWebhookSettingsWithBody request with any body
UpdateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWebhookSettings(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// TestWebhookWithBody request with any body
TestWebhookWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
TestWebhook(ctx context.Context, body TestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppBusinessProfile request
GetWhatsAppBusinessProfile(ctx context.Context, params *GetWhatsAppBusinessProfileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWhatsAppBusinessProfileWithBody request with any body
UpdateWhatsAppBusinessProfileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWhatsAppBusinessProfile(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppDisplayName request
GetWhatsAppDisplayName(ctx context.Context, params *GetWhatsAppDisplayNameParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWhatsAppDisplayNameWithBody request with any body
UpdateWhatsAppDisplayNameWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWhatsAppDisplayName(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWhatsAppProfilePhotoWithBody request with any body
UploadWhatsAppProfilePhotoWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendWhatsAppConversionWithBody request with any body
SendWhatsAppConversionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendWhatsAppConversion(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWhatsAppFlows request
ListWhatsAppFlows(ctx context.Context, params *ListWhatsAppFlowsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWhatsAppFlowWithBody request with any body
CreateWhatsAppFlowWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWhatsAppFlow(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendWhatsAppFlowMessageWithBody request with any body
SendWhatsAppFlowMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendWhatsAppFlowMessage(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWhatsAppFlow request
DeleteWhatsAppFlow(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppFlow request
GetWhatsAppFlow(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWhatsAppFlowWithBody request with any body
UpdateWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWhatsAppFlow(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeprecateWhatsAppFlowWithBody request with any body
DeprecateWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeprecateWhatsAppFlow(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppFlowJson request
GetWhatsAppFlowJson(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWhatsAppFlowJsonWithBody request with any body
UploadWhatsAppFlowJsonWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadWhatsAppFlowJson(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PublishWhatsAppFlowWithBody request with any body
PublishWhatsAppFlowWithBody(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PublishWhatsAppFlow(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppPhoneNumbers request
GetWhatsAppPhoneNumbers(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PurchaseWhatsAppPhoneNumberWithBody request with any body
PurchaseWhatsAppPhoneNumberWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PurchaseWhatsAppPhoneNumber(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReleaseWhatsAppPhoneNumber request
ReleaseWhatsAppPhoneNumber(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppPhoneNumber request
GetWhatsAppPhoneNumber(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppTemplates request
GetWhatsAppTemplates(ctx context.Context, params *GetWhatsAppTemplatesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWhatsAppTemplateWithBody request with any body
CreateWhatsAppTemplateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWhatsAppTemplate(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWhatsAppTemplate request
DeleteWhatsAppTemplate(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppTemplate request
GetWhatsAppTemplate(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWhatsAppTemplateWithBody request with any body
UpdateWhatsAppTemplateWithBody(ctx context.Context, templateName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWhatsAppTemplate(ctx context.Context, templateName string, body UpdateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWhatsAppGroupChats request
ListWhatsAppGroupChats(ctx context.Context, params *ListWhatsAppGroupChatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWhatsAppGroupChatWithBody request with any body
CreateWhatsAppGroupChatWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWhatsAppGroupChat(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWhatsAppGroupChat request
DeleteWhatsAppGroupChat(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWhatsAppGroupChat request
GetWhatsAppGroupChat(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWhatsAppGroupChatWithBody request with any body
UpdateWhatsAppGroupChatWithBody(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWhatsAppGroupChat(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, body UpdateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWhatsAppGroupInviteLink request
CreateWhatsAppGroupInviteLink(ctx context.Context, groupId string, params *CreateWhatsAppGroupInviteLinkParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// RejectWhatsAppGroupJoinRequestsWithBody request with any body
RejectWhatsAppGroupJoinRequestsWithBody(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RejectWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, body RejectWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWhatsAppGroupJoinRequests request
ListWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *ListWhatsAppGroupJoinRequestsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApproveWhatsAppGroupJoinRequestsWithBody request with any body
ApproveWhatsAppGroupJoinRequestsWithBody(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApproveWhatsAppGroupJoinRequests(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, body ApproveWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RemoveWhatsAppGroupParticipantsWithBody request with any body
RemoveWhatsAppGroupParticipantsWithBody(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RemoveWhatsAppGroupParticipants(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, body RemoveWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// AddWhatsAppGroupParticipantsWithBody request with any body
AddWhatsAppGroupParticipantsWithBody(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
AddWhatsAppGroupParticipants(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, body AddWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ActivateSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ActivateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*ActivateSequenceResponse, error)
ActivateSequenceWithResponse request returning *ActivateSequenceResponse
func (*ClientWithResponses) AddBroadcastRecipientsWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) AddBroadcastRecipientsWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddBroadcastRecipientsResponse, error)
AddBroadcastRecipientsWithBodyWithResponse request with arbitrary body returning *AddBroadcastRecipientsResponse
func (*ClientWithResponses) AddBroadcastRecipientsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) AddBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, body AddBroadcastRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddBroadcastRecipientsResponse, error)
func (*ClientWithResponses) AddMessageReactionWithBodyWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) AddMessageReactionWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMessageReactionResponse, error)
AddMessageReactionWithBodyWithResponse request with arbitrary body returning *AddMessageReactionResponse
func (*ClientWithResponses) AddMessageReactionWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) AddMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, body AddMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMessageReactionResponse, error)
func (*ClientWithResponses) AddUsersToAdAudienceWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) AddUsersToAdAudienceWithBodyWithResponse(ctx context.Context, audienceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddUsersToAdAudienceResponse, error)
AddUsersToAdAudienceWithBodyWithResponse request with arbitrary body returning *AddUsersToAdAudienceResponse
func (*ClientWithResponses) AddUsersToAdAudienceWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) AddUsersToAdAudienceWithResponse(ctx context.Context, audienceId string, body AddUsersToAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddUsersToAdAudienceResponse, error)
func (*ClientWithResponses) AddWhatsAppGroupParticipantsWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) AddWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddWhatsAppGroupParticipantsResponse, error)
AddWhatsAppGroupParticipantsWithBodyWithResponse request with arbitrary body returning *AddWhatsAppGroupParticipantsResponse
func (*ClientWithResponses) AddWhatsAppGroupParticipantsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) AddWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, body AddWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddWhatsAppGroupParticipantsResponse, error)
func (*ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse request with arbitrary body returning *ApproveWhatsAppGroupJoinRequestsResponse
func (*ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) ApproveWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, body ApproveWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
func (*ClientWithResponses) BatchGetGoogleBusinessReviewsWithBodyWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) BatchGetGoogleBusinessReviewsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchGetGoogleBusinessReviewsResponse, error)
BatchGetGoogleBusinessReviewsWithBodyWithResponse request with arbitrary body returning *BatchGetGoogleBusinessReviewsResponse
func (*ClientWithResponses) BatchGetGoogleBusinessReviewsWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) BatchGetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, body BatchGetGoogleBusinessReviewsJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchGetGoogleBusinessReviewsResponse, error)
func (*ClientWithResponses) BookmarkPostWithBodyWithResponse ¶
func (c *ClientWithResponses) BookmarkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookmarkPostResponse, error)
BookmarkPostWithBodyWithResponse request with arbitrary body returning *BookmarkPostResponse
func (*ClientWithResponses) BookmarkPostWithResponse ¶
func (c *ClientWithResponses) BookmarkPostWithResponse(ctx context.Context, body BookmarkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BookmarkPostResponse, error)
func (*ClientWithResponses) BoostPostWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) BoostPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoostPostResponse, error)
BoostPostWithBodyWithResponse request with arbitrary body returning *BoostPostResponse
func (*ClientWithResponses) BoostPostWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) BoostPostWithResponse(ctx context.Context, body BoostPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BoostPostResponse, error)
func (*ClientWithResponses) BulkCreateContactsWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) BulkCreateContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateContactsResponse, error)
BulkCreateContactsWithBodyWithResponse request with arbitrary body returning *BulkCreateContactsResponse
func (*ClientWithResponses) BulkCreateContactsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) BulkCreateContactsWithResponse(ctx context.Context, body BulkCreateContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateContactsResponse, error)
func (*ClientWithResponses) BulkUpdateAdCampaignStatusWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) BulkUpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateAdCampaignStatusResponse, error)
BulkUpdateAdCampaignStatusWithBodyWithResponse request with arbitrary body returning *BulkUpdateAdCampaignStatusResponse
func (*ClientWithResponses) BulkUpdateAdCampaignStatusWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) BulkUpdateAdCampaignStatusWithResponse(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateAdCampaignStatusResponse, error)
func (*ClientWithResponses) BulkUploadPostsWithBodyWithResponse ¶
func (c *ClientWithResponses) BulkUploadPostsWithBodyWithResponse(ctx context.Context, params *BulkUploadPostsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUploadPostsResponse, error)
BulkUploadPostsWithBodyWithResponse request with arbitrary body returning *BulkUploadPostsResponse
func (*ClientWithResponses) CancelBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CancelBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*CancelBroadcastResponse, error)
CancelBroadcastWithResponse request returning *CancelBroadcastResponse
func (*ClientWithResponses) ClearContactFieldValueWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ClearContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, reqEditors ...RequestEditorFn) (*ClearContactFieldValueResponse, error)
ClearContactFieldValueWithResponse request returning *ClearContactFieldValueResponse
func (*ClientWithResponses) CompleteTelegramConnectWithResponse ¶
func (c *ClientWithResponses) CompleteTelegramConnectWithResponse(ctx context.Context, params *CompleteTelegramConnectParams, reqEditors ...RequestEditorFn) (*CompleteTelegramConnectResponse, error)
CompleteTelegramConnectWithResponse request returning *CompleteTelegramConnectResponse
func (*ClientWithResponses) ConnectAdsWithResponse ¶ added in v0.0.125
func (c *ClientWithResponses) ConnectAdsWithResponse(ctx context.Context, platform ConnectAdsParamsPlatform, params *ConnectAdsParams, reqEditors ...RequestEditorFn) (*ConnectAdsResponse, error)
ConnectAdsWithResponse request returning *ConnectAdsResponse
func (*ClientWithResponses) ConnectBlueskyCredentialsWithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectBlueskyCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectBlueskyCredentialsResponse, error)
ConnectBlueskyCredentialsWithBodyWithResponse request with arbitrary body returning *ConnectBlueskyCredentialsResponse
func (*ClientWithResponses) ConnectBlueskyCredentialsWithResponse ¶
func (c *ClientWithResponses) ConnectBlueskyCredentialsWithResponse(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectBlueskyCredentialsResponse, error)
func (*ClientWithResponses) ConnectWhatsAppCredentialsWithBodyWithResponse ¶
func (c *ClientWithResponses) ConnectWhatsAppCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectWhatsAppCredentialsResponse, error)
ConnectWhatsAppCredentialsWithBodyWithResponse request with arbitrary body returning *ConnectWhatsAppCredentialsResponse
func (*ClientWithResponses) ConnectWhatsAppCredentialsWithResponse ¶
func (c *ClientWithResponses) ConnectWhatsAppCredentialsWithResponse(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectWhatsAppCredentialsResponse, error)
func (*ClientWithResponses) CreateAccountGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAccountGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountGroupResponse, error)
CreateAccountGroupWithBodyWithResponse request with arbitrary body returning *CreateAccountGroupResponse
func (*ClientWithResponses) CreateAccountGroupWithResponse ¶
func (c *ClientWithResponses) CreateAccountGroupWithResponse(ctx context.Context, body CreateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountGroupResponse, error)
func (*ClientWithResponses) CreateAdAudienceWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) CreateAdAudienceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAdAudienceResponse, error)
CreateAdAudienceWithBodyWithResponse request with arbitrary body returning *CreateAdAudienceResponse
func (*ClientWithResponses) CreateAdAudienceWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) CreateAdAudienceWithResponse(ctx context.Context, body CreateAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAdAudienceResponse, error)
func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyResponse
func (*ClientWithResponses) CreateApiKeyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
func (*ClientWithResponses) CreateBroadcastWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateBroadcastWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBroadcastResponse, error)
CreateBroadcastWithBodyWithResponse request with arbitrary body returning *CreateBroadcastResponse
func (*ClientWithResponses) CreateBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateBroadcastWithResponse(ctx context.Context, body CreateBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBroadcastResponse, error)
func (*ClientWithResponses) CreateCommentAutomationWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateCommentAutomationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentAutomationResponse, error)
CreateCommentAutomationWithBodyWithResponse request with arbitrary body returning *CreateCommentAutomationResponse
func (*ClientWithResponses) CreateCommentAutomationWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateCommentAutomationWithResponse(ctx context.Context, body CreateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentAutomationResponse, error)
func (*ClientWithResponses) CreateContactWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
CreateContactWithBodyWithResponse request with arbitrary body returning *CreateContactResponse
func (*ClientWithResponses) CreateContactWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
func (*ClientWithResponses) CreateCtwaAdWithBodyWithResponse ¶ added in v0.0.189
func (c *ClientWithResponses) CreateCtwaAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCtwaAdResponse, error)
CreateCtwaAdWithBodyWithResponse request with arbitrary body returning *CreateCtwaAdResponse
func (*ClientWithResponses) CreateCtwaAdWithResponse ¶ added in v0.0.189
func (c *ClientWithResponses) CreateCtwaAdWithResponse(ctx context.Context, body CreateCtwaAdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCtwaAdResponse, error)
func (*ClientWithResponses) CreateCustomFieldWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
CreateCustomFieldWithBodyWithResponse request with arbitrary body returning *CreateCustomFieldResponse
func (*ClientWithResponses) CreateCustomFieldWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateCustomFieldWithResponse(ctx context.Context, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
func (*ClientWithResponses) CreateGoogleBusinessMediaWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGoogleBusinessMediaWithBodyWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)
CreateGoogleBusinessMediaWithBodyWithResponse request with arbitrary body returning *CreateGoogleBusinessMediaResponse
func (*ClientWithResponses) CreateGoogleBusinessMediaWithResponse ¶
func (c *ClientWithResponses) CreateGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)
func (*ClientWithResponses) CreateGoogleBusinessPlaceActionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)
CreateGoogleBusinessPlaceActionWithBodyWithResponse request with arbitrary body returning *CreateGoogleBusinessPlaceActionResponse
func (*ClientWithResponses) CreateGoogleBusinessPlaceActionWithResponse ¶
func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)
func (*ClientWithResponses) CreateInboxConversationWithBodyWithResponse ¶ added in v0.0.119
func (c *ClientWithResponses) CreateInboxConversationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInboxConversationResponse, error)
CreateInboxConversationWithBodyWithResponse request with arbitrary body returning *CreateInboxConversationResponse
func (*ClientWithResponses) CreateInboxConversationWithResponse ¶ added in v0.0.119
func (c *ClientWithResponses) CreateInboxConversationWithResponse(ctx context.Context, body CreateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInboxConversationResponse, error)
func (*ClientWithResponses) CreateInviteTokenWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateInviteTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteTokenResponse, error)
CreateInviteTokenWithBodyWithResponse request with arbitrary body returning *CreateInviteTokenResponse
func (*ClientWithResponses) CreateInviteTokenWithResponse ¶
func (c *ClientWithResponses) CreateInviteTokenWithResponse(ctx context.Context, body CreateInviteTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteTokenResponse, error)
func (*ClientWithResponses) CreatePostWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostResponse, error)
CreatePostWithBodyWithResponse request with arbitrary body returning *CreatePostResponse
func (*ClientWithResponses) CreatePostWithResponse ¶
func (c *ClientWithResponses) CreatePostWithResponse(ctx context.Context, body CreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePostResponse, error)
func (*ClientWithResponses) CreateProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProfileResponse, error)
CreateProfileWithBodyWithResponse request with arbitrary body returning *CreateProfileResponse
func (*ClientWithResponses) CreateProfileWithResponse ¶
func (c *ClientWithResponses) CreateProfileWithResponse(ctx context.Context, body CreateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProfileResponse, error)
func (*ClientWithResponses) CreateQueueSlotWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueueSlotResponse, error)
CreateQueueSlotWithBodyWithResponse request with arbitrary body returning *CreateQueueSlotResponse
func (*ClientWithResponses) CreateQueueSlotWithResponse ¶
func (c *ClientWithResponses) CreateQueueSlotWithResponse(ctx context.Context, body CreateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueueSlotResponse, error)
func (*ClientWithResponses) CreateSequenceWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateSequenceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSequenceResponse, error)
CreateSequenceWithBodyWithResponse request with arbitrary body returning *CreateSequenceResponse
func (*ClientWithResponses) CreateSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) CreateSequenceWithResponse(ctx context.Context, body CreateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSequenceResponse, error)
func (*ClientWithResponses) CreateStandaloneAdWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) CreateStandaloneAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStandaloneAdResponse, error)
CreateStandaloneAdWithBodyWithResponse request with arbitrary body returning *CreateStandaloneAdResponse
func (*ClientWithResponses) CreateStandaloneAdWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) CreateStandaloneAdWithResponse(ctx context.Context, body CreateStandaloneAdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStandaloneAdResponse, error)
func (*ClientWithResponses) CreateWebhookSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookSettingsResponse, error)
CreateWebhookSettingsWithBodyWithResponse request with arbitrary body returning *CreateWebhookSettingsResponse
func (*ClientWithResponses) CreateWebhookSettingsWithResponse ¶
func (c *ClientWithResponses) CreateWebhookSettingsWithResponse(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookSettingsResponse, error)
func (*ClientWithResponses) CreateWhatsAppFlowWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) CreateWhatsAppFlowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppFlowResponse, error)
CreateWhatsAppFlowWithBodyWithResponse request with arbitrary body returning *CreateWhatsAppFlowResponse
func (*ClientWithResponses) CreateWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) CreateWhatsAppFlowWithResponse(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppFlowResponse, error)
func (*ClientWithResponses) CreateWhatsAppGroupChatWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) CreateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupChatResponse, error)
CreateWhatsAppGroupChatWithBodyWithResponse request with arbitrary body returning *CreateWhatsAppGroupChatResponse
func (*ClientWithResponses) CreateWhatsAppGroupChatWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) CreateWhatsAppGroupChatWithResponse(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupChatResponse, error)
func (*ClientWithResponses) CreateWhatsAppGroupInviteLinkWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) CreateWhatsAppGroupInviteLinkWithResponse(ctx context.Context, groupId string, params *CreateWhatsAppGroupInviteLinkParams, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupInviteLinkResponse, error)
CreateWhatsAppGroupInviteLinkWithResponse request returning *CreateWhatsAppGroupInviteLinkResponse
func (*ClientWithResponses) CreateWhatsAppTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppTemplateResponse, error)
CreateWhatsAppTemplateWithBodyWithResponse request with arbitrary body returning *CreateWhatsAppTemplateResponse
func (*ClientWithResponses) CreateWhatsAppTemplateWithResponse ¶
func (c *ClientWithResponses) CreateWhatsAppTemplateWithResponse(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppTemplateResponse, error)
func (*ClientWithResponses) DeleteAccountGroupWithResponse ¶
func (c *ClientWithResponses) DeleteAccountGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteAccountGroupResponse, error)
DeleteAccountGroupWithResponse request returning *DeleteAccountGroupResponse
func (*ClientWithResponses) DeleteAccountWithResponse ¶
func (c *ClientWithResponses) DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
DeleteAccountWithResponse request returning *DeleteAccountResponse
func (*ClientWithResponses) DeleteAdAudienceWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) DeleteAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*DeleteAdAudienceResponse, error)
DeleteAdAudienceWithResponse request returning *DeleteAdAudienceResponse
func (*ClientWithResponses) DeleteAdCampaignWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) DeleteAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAdCampaignResponse, error)
DeleteAdCampaignWithBodyWithResponse request with arbitrary body returning *DeleteAdCampaignResponse
func (*ClientWithResponses) DeleteAdCampaignWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) DeleteAdCampaignWithResponse(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAdCampaignResponse, error)
func (*ClientWithResponses) DeleteAdWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) DeleteAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*DeleteAdResponse, error)
DeleteAdWithResponse request returning *DeleteAdResponse
func (*ClientWithResponses) DeleteApiKeyWithResponse ¶
func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse
func (*ClientWithResponses) DeleteBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) DeleteBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*DeleteBroadcastResponse, error)
DeleteBroadcastWithResponse request returning *DeleteBroadcastResponse
func (*ClientWithResponses) DeleteCommentAutomationWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) DeleteCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*DeleteCommentAutomationResponse, error)
DeleteCommentAutomationWithResponse request returning *DeleteCommentAutomationResponse
func (*ClientWithResponses) DeleteContactWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) DeleteContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteContactResponse, error)
DeleteContactWithResponse request returning *DeleteContactResponse
func (*ClientWithResponses) DeleteCustomFieldWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) DeleteCustomFieldWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
DeleteCustomFieldWithResponse request returning *DeleteCustomFieldResponse
func (*ClientWithResponses) DeleteGoogleBusinessMediaWithResponse ¶
func (c *ClientWithResponses) DeleteGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*DeleteGoogleBusinessMediaResponse, error)
DeleteGoogleBusinessMediaWithResponse request returning *DeleteGoogleBusinessMediaResponse
func (*ClientWithResponses) DeleteGoogleBusinessPlaceActionWithResponse ¶
func (c *ClientWithResponses) DeleteGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessPlaceActionParams, reqEditors ...RequestEditorFn) (*DeleteGoogleBusinessPlaceActionResponse, error)
DeleteGoogleBusinessPlaceActionWithResponse request returning *DeleteGoogleBusinessPlaceActionResponse
func (*ClientWithResponses) DeleteInboxCommentWithResponse ¶
func (c *ClientWithResponses) DeleteInboxCommentWithResponse(ctx context.Context, postId string, params *DeleteInboxCommentParams, reqEditors ...RequestEditorFn) (*DeleteInboxCommentResponse, error)
DeleteInboxCommentWithResponse request returning *DeleteInboxCommentResponse
func (*ClientWithResponses) DeleteInboxMessageWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) DeleteInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, params *DeleteInboxMessageParams, reqEditors ...RequestEditorFn) (*DeleteInboxMessageResponse, error)
DeleteInboxMessageWithResponse request returning *DeleteInboxMessageResponse
func (*ClientWithResponses) DeleteInboxReviewReplyWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteInboxReviewReplyWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteInboxReviewReplyResponse, error)
DeleteInboxReviewReplyWithBodyWithResponse request with arbitrary body returning *DeleteInboxReviewReplyResponse
func (*ClientWithResponses) DeleteInboxReviewReplyWithResponse ¶
func (c *ClientWithResponses) DeleteInboxReviewReplyWithResponse(ctx context.Context, reviewId string, body DeleteInboxReviewReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteInboxReviewReplyResponse, error)
func (*ClientWithResponses) DeleteInstagramIceBreakersWithResponse ¶
func (c *ClientWithResponses) DeleteInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteInstagramIceBreakersResponse, error)
DeleteInstagramIceBreakersWithResponse request returning *DeleteInstagramIceBreakersResponse
func (*ClientWithResponses) DeleteMessengerMenuWithResponse ¶
func (c *ClientWithResponses) DeleteMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteMessengerMenuResponse, error)
DeleteMessengerMenuWithResponse request returning *DeleteMessengerMenuResponse
func (*ClientWithResponses) DeletePostWithResponse ¶
func (c *ClientWithResponses) DeletePostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*DeletePostResponse, error)
DeletePostWithResponse request returning *DeletePostResponse
func (*ClientWithResponses) DeleteProfileWithResponse ¶
func (c *ClientWithResponses) DeleteProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
DeleteProfileWithResponse request returning *DeleteProfileResponse
func (*ClientWithResponses) DeleteQueueSlotWithResponse ¶
func (c *ClientWithResponses) DeleteQueueSlotWithResponse(ctx context.Context, params *DeleteQueueSlotParams, reqEditors ...RequestEditorFn) (*DeleteQueueSlotResponse, error)
DeleteQueueSlotWithResponse request returning *DeleteQueueSlotResponse
func (*ClientWithResponses) DeleteSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) DeleteSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*DeleteSequenceResponse, error)
DeleteSequenceWithResponse request returning *DeleteSequenceResponse
func (*ClientWithResponses) DeleteTelegramCommandsWithResponse ¶
func (c *ClientWithResponses) DeleteTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteTelegramCommandsResponse, error)
DeleteTelegramCommandsWithResponse request returning *DeleteTelegramCommandsResponse
func (*ClientWithResponses) DeleteWebhookSettingsWithResponse ¶
func (c *ClientWithResponses) DeleteWebhookSettingsWithResponse(ctx context.Context, params *DeleteWebhookSettingsParams, reqEditors ...RequestEditorFn) (*DeleteWebhookSettingsResponse, error)
DeleteWebhookSettingsWithResponse request returning *DeleteWebhookSettingsResponse
func (*ClientWithResponses) DeleteWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) DeleteWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppFlowResponse, error)
DeleteWhatsAppFlowWithResponse request returning *DeleteWhatsAppFlowResponse
func (*ClientWithResponses) DeleteWhatsAppGroupChatWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) DeleteWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppGroupChatResponse, error)
DeleteWhatsAppGroupChatWithResponse request returning *DeleteWhatsAppGroupChatResponse
func (*ClientWithResponses) DeleteWhatsAppTemplateWithResponse ¶
func (c *ClientWithResponses) DeleteWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppTemplateResponse, error)
DeleteWhatsAppTemplateWithResponse request returning *DeleteWhatsAppTemplateResponse
func (*ClientWithResponses) DeprecateWhatsAppFlowWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) DeprecateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeprecateWhatsAppFlowResponse, error)
DeprecateWhatsAppFlowWithBodyWithResponse request with arbitrary body returning *DeprecateWhatsAppFlowResponse
func (*ClientWithResponses) DeprecateWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) DeprecateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*DeprecateWhatsAppFlowResponse, error)
func (*ClientWithResponses) DuplicateAdCampaignWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) DuplicateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateAdCampaignResponse, error)
DuplicateAdCampaignWithBodyWithResponse request with arbitrary body returning *DuplicateAdCampaignResponse
func (*ClientWithResponses) DuplicateAdCampaignWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) DuplicateAdCampaignWithResponse(ctx context.Context, campaignId string, body DuplicateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateAdCampaignResponse, error)
func (*ClientWithResponses) EditInboxMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) EditInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditInboxMessageResponse, error)
EditInboxMessageWithBodyWithResponse request with arbitrary body returning *EditInboxMessageResponse
func (*ClientWithResponses) EditInboxMessageWithResponse ¶
func (c *ClientWithResponses) EditInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*EditInboxMessageResponse, error)
func (*ClientWithResponses) EditPostWithBodyWithResponse ¶ added in v0.0.119
func (c *ClientWithResponses) EditPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditPostResponse, error)
EditPostWithBodyWithResponse request with arbitrary body returning *EditPostResponse
func (*ClientWithResponses) EditPostWithResponse ¶ added in v0.0.119
func (c *ClientWithResponses) EditPostWithResponse(ctx context.Context, postId string, body EditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EditPostResponse, error)
func (*ClientWithResponses) EnrollContactsWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) EnrollContactsWithBodyWithResponse(ctx context.Context, sequenceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollContactsResponse, error)
EnrollContactsWithBodyWithResponse request with arbitrary body returning *EnrollContactsResponse
func (*ClientWithResponses) EnrollContactsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) EnrollContactsWithResponse(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollContactsResponse, error)
func (*ClientWithResponses) FollowUserWithBodyWithResponse ¶
func (c *ClientWithResponses) FollowUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUserResponse, error)
FollowUserWithBodyWithResponse request with arbitrary body returning *FollowUserResponse
func (*ClientWithResponses) FollowUserWithResponse ¶
func (c *ClientWithResponses) FollowUserWithResponse(ctx context.Context, body FollowUserJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUserResponse, error)
func (*ClientWithResponses) GetAccountHealthWithResponse ¶
func (c *ClientWithResponses) GetAccountHealthWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountHealthResponse, error)
GetAccountHealthWithResponse request returning *GetAccountHealthResponse
func (*ClientWithResponses) GetAdAnalyticsWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) GetAdAnalyticsWithResponse(ctx context.Context, adId string, params *GetAdAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAdAnalyticsResponse, error)
GetAdAnalyticsWithResponse request returning *GetAdAnalyticsResponse
func (*ClientWithResponses) GetAdAudienceWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) GetAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*GetAdAudienceResponse, error)
GetAdAudienceWithResponse request returning *GetAdAudienceResponse
func (*ClientWithResponses) GetAdCommentsWithResponse ¶ added in v0.0.180
func (c *ClientWithResponses) GetAdCommentsWithResponse(ctx context.Context, adId string, params *GetAdCommentsParams, reqEditors ...RequestEditorFn) (*GetAdCommentsResponse, error)
GetAdCommentsWithResponse request returning *GetAdCommentsResponse
func (*ClientWithResponses) GetAdTreeWithResponse ¶ added in v0.0.112
func (c *ClientWithResponses) GetAdTreeWithResponse(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*GetAdTreeResponse, error)
GetAdTreeWithResponse request returning *GetAdTreeResponse
func (*ClientWithResponses) GetAdWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) GetAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*GetAdResponse, error)
GetAdWithResponse request returning *GetAdResponse
func (*ClientWithResponses) GetAllAccountsHealthWithResponse ¶
func (c *ClientWithResponses) GetAllAccountsHealthWithResponse(ctx context.Context, params *GetAllAccountsHealthParams, reqEditors ...RequestEditorFn) (*GetAllAccountsHealthResponse, error)
GetAllAccountsHealthWithResponse request returning *GetAllAccountsHealthResponse
func (*ClientWithResponses) GetAnalyticsWithResponse ¶
func (c *ClientWithResponses) GetAnalyticsWithResponse(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAnalyticsResponse, error)
GetAnalyticsWithResponse request returning *GetAnalyticsResponse
func (*ClientWithResponses) GetBestTimeToPostWithResponse ¶
func (c *ClientWithResponses) GetBestTimeToPostWithResponse(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*GetBestTimeToPostResponse, error)
GetBestTimeToPostWithResponse request returning *GetBestTimeToPostResponse
func (*ClientWithResponses) GetBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) GetBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*GetBroadcastResponse, error)
GetBroadcastWithResponse request returning *GetBroadcastResponse
func (*ClientWithResponses) GetCommentAutomationWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) GetCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*GetCommentAutomationResponse, error)
GetCommentAutomationWithResponse request returning *GetCommentAutomationResponse
func (*ClientWithResponses) GetConnectUrlWithResponse ¶
func (c *ClientWithResponses) GetConnectUrlWithResponse(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*GetConnectUrlResponse, error)
GetConnectUrlWithResponse request returning *GetConnectUrlResponse
func (*ClientWithResponses) GetContactChannelsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) GetContactChannelsWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactChannelsResponse, error)
GetContactChannelsWithResponse request returning *GetContactChannelsResponse
func (*ClientWithResponses) GetContactWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) GetContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactResponse, error)
GetContactWithResponse request returning *GetContactResponse
func (*ClientWithResponses) GetContentDecayWithResponse ¶
func (c *ClientWithResponses) GetContentDecayWithResponse(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*GetContentDecayResponse, error)
GetContentDecayWithResponse request returning *GetContentDecayResponse
func (*ClientWithResponses) GetDailyMetricsWithResponse ¶
func (c *ClientWithResponses) GetDailyMetricsWithResponse(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*GetDailyMetricsResponse, error)
GetDailyMetricsWithResponse request returning *GetDailyMetricsResponse
func (*ClientWithResponses) GetDiscordChannelsWithResponse ¶ added in v0.0.153
func (c *ClientWithResponses) GetDiscordChannelsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordChannelsResponse, error)
GetDiscordChannelsWithResponse request returning *GetDiscordChannelsResponse
func (*ClientWithResponses) GetDiscordSettingsWithResponse ¶ added in v0.0.153
func (c *ClientWithResponses) GetDiscordSettingsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordSettingsResponse, error)
GetDiscordSettingsWithResponse request returning *GetDiscordSettingsResponse
func (*ClientWithResponses) GetFacebookPageInsightsWithResponse ¶ added in v0.0.184
func (c *ClientWithResponses) GetFacebookPageInsightsWithResponse(ctx context.Context, params *GetFacebookPageInsightsParams, reqEditors ...RequestEditorFn) (*GetFacebookPageInsightsResponse, error)
GetFacebookPageInsightsWithResponse request returning *GetFacebookPageInsightsResponse
func (*ClientWithResponses) GetFacebookPagesWithResponse ¶
func (c *ClientWithResponses) GetFacebookPagesWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetFacebookPagesResponse, error)
GetFacebookPagesWithResponse request returning *GetFacebookPagesResponse
func (*ClientWithResponses) GetFollowerStatsWithResponse ¶
func (c *ClientWithResponses) GetFollowerStatsWithResponse(ctx context.Context, params *GetFollowerStatsParams, reqEditors ...RequestEditorFn) (*GetFollowerStatsResponse, error)
GetFollowerStatsWithResponse request returning *GetFollowerStatsResponse
func (*ClientWithResponses) GetGmbLocationsWithResponse ¶
func (c *ClientWithResponses) GetGmbLocationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGmbLocationsResponse, error)
GetGmbLocationsWithResponse request returning *GetGmbLocationsResponse
func (*ClientWithResponses) GetGoogleBusinessAttributesWithResponse ¶
func (c *ClientWithResponses) GetGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessAttributesParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessAttributesResponse, error)
GetGoogleBusinessAttributesWithResponse request returning *GetGoogleBusinessAttributesResponse
func (*ClientWithResponses) GetGoogleBusinessFoodMenusWithResponse ¶
func (c *ClientWithResponses) GetGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessFoodMenusParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessFoodMenusResponse, error)
GetGoogleBusinessFoodMenusWithResponse request returning *GetGoogleBusinessFoodMenusResponse
func (*ClientWithResponses) GetGoogleBusinessLocationDetailsWithResponse ¶
func (c *ClientWithResponses) GetGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessLocationDetailsResponse, error)
GetGoogleBusinessLocationDetailsWithResponse request returning *GetGoogleBusinessLocationDetailsResponse
func (*ClientWithResponses) GetGoogleBusinessPerformanceWithResponse ¶ added in v0.0.118
func (c *ClientWithResponses) GetGoogleBusinessPerformanceWithResponse(ctx context.Context, params *GetGoogleBusinessPerformanceParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessPerformanceResponse, error)
GetGoogleBusinessPerformanceWithResponse request returning *GetGoogleBusinessPerformanceResponse
func (*ClientWithResponses) GetGoogleBusinessReviewsWithResponse ¶
func (c *ClientWithResponses) GetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessReviewsResponse, error)
GetGoogleBusinessReviewsWithResponse request returning *GetGoogleBusinessReviewsResponse
func (*ClientWithResponses) GetGoogleBusinessSearchKeywordsWithResponse ¶ added in v0.0.118
func (c *ClientWithResponses) GetGoogleBusinessSearchKeywordsWithResponse(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessSearchKeywordsResponse, error)
GetGoogleBusinessSearchKeywordsWithResponse request returning *GetGoogleBusinessSearchKeywordsResponse
func (*ClientWithResponses) GetGoogleBusinessServicesWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) GetGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessServicesResponse, error)
GetGoogleBusinessServicesWithResponse request returning *GetGoogleBusinessServicesResponse
func (*ClientWithResponses) GetInboxConversationMessagesWithResponse ¶
func (c *ClientWithResponses) GetInboxConversationMessagesWithResponse(ctx context.Context, conversationId string, params *GetInboxConversationMessagesParams, reqEditors ...RequestEditorFn) (*GetInboxConversationMessagesResponse, error)
GetInboxConversationMessagesWithResponse request returning *GetInboxConversationMessagesResponse
func (*ClientWithResponses) GetInboxConversationWithResponse ¶
func (c *ClientWithResponses) GetInboxConversationWithResponse(ctx context.Context, conversationId string, params *GetInboxConversationParams, reqEditors ...RequestEditorFn) (*GetInboxConversationResponse, error)
GetInboxConversationWithResponse request returning *GetInboxConversationResponse
func (*ClientWithResponses) GetInboxPostCommentsWithResponse ¶
func (c *ClientWithResponses) GetInboxPostCommentsWithResponse(ctx context.Context, postId string, params *GetInboxPostCommentsParams, reqEditors ...RequestEditorFn) (*GetInboxPostCommentsResponse, error)
GetInboxPostCommentsWithResponse request returning *GetInboxPostCommentsResponse
func (*ClientWithResponses) GetInstagramAccountInsightsWithResponse ¶ added in v0.0.73
func (c *ClientWithResponses) GetInstagramAccountInsightsWithResponse(ctx context.Context, params *GetInstagramAccountInsightsParams, reqEditors ...RequestEditorFn) (*GetInstagramAccountInsightsResponse, error)
GetInstagramAccountInsightsWithResponse request returning *GetInstagramAccountInsightsResponse
func (*ClientWithResponses) GetInstagramDemographicsWithResponse ¶ added in v0.0.73
func (c *ClientWithResponses) GetInstagramDemographicsWithResponse(ctx context.Context, params *GetInstagramDemographicsParams, reqEditors ...RequestEditorFn) (*GetInstagramDemographicsResponse, error)
GetInstagramDemographicsWithResponse request returning *GetInstagramDemographicsResponse
func (*ClientWithResponses) GetInstagramFollowerHistoryWithResponse ¶ added in v0.0.184
func (c *ClientWithResponses) GetInstagramFollowerHistoryWithResponse(ctx context.Context, params *GetInstagramFollowerHistoryParams, reqEditors ...RequestEditorFn) (*GetInstagramFollowerHistoryResponse, error)
GetInstagramFollowerHistoryWithResponse request returning *GetInstagramFollowerHistoryResponse
func (*ClientWithResponses) GetInstagramIceBreakersWithResponse ¶
func (c *ClientWithResponses) GetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetInstagramIceBreakersResponse, error)
GetInstagramIceBreakersWithResponse request returning *GetInstagramIceBreakersResponse
func (*ClientWithResponses) GetLinkedInAggregateAnalyticsWithResponse ¶
func (c *ClientWithResponses) GetLinkedInAggregateAnalyticsWithResponse(ctx context.Context, accountId string, params *GetLinkedInAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInAggregateAnalyticsResponse, error)
GetLinkedInAggregateAnalyticsWithResponse request returning *GetLinkedInAggregateAnalyticsResponse
func (*ClientWithResponses) GetLinkedInMentionsWithResponse ¶
func (c *ClientWithResponses) GetLinkedInMentionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, reqEditors ...RequestEditorFn) (*GetLinkedInMentionsResponse, error)
GetLinkedInMentionsWithResponse request returning *GetLinkedInMentionsResponse
func (*ClientWithResponses) GetLinkedInOrgAggregateAnalyticsWithResponse ¶ added in v0.0.184
func (c *ClientWithResponses) GetLinkedInOrgAggregateAnalyticsWithResponse(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInOrgAggregateAnalyticsResponse, error)
GetLinkedInOrgAggregateAnalyticsWithResponse request returning *GetLinkedInOrgAggregateAnalyticsResponse
func (*ClientWithResponses) GetLinkedInOrganizationsWithResponse ¶
func (c *ClientWithResponses) GetLinkedInOrganizationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetLinkedInOrganizationsResponse, error)
GetLinkedInOrganizationsWithResponse request returning *GetLinkedInOrganizationsResponse
func (*ClientWithResponses) GetLinkedInPostAnalyticsWithResponse ¶
func (c *ClientWithResponses) GetLinkedInPostAnalyticsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInPostAnalyticsResponse, error)
GetLinkedInPostAnalyticsWithResponse request returning *GetLinkedInPostAnalyticsResponse
func (*ClientWithResponses) GetLinkedInPostReactionsWithResponse ¶
func (c *ClientWithResponses) GetLinkedInPostReactionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, reqEditors ...RequestEditorFn) (*GetLinkedInPostReactionsResponse, error)
GetLinkedInPostReactionsWithResponse request returning *GetLinkedInPostReactionsResponse
func (*ClientWithResponses) GetMediaPresignedUrlWithBodyWithResponse ¶
func (c *ClientWithResponses) GetMediaPresignedUrlWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMediaPresignedUrlResponse, error)
GetMediaPresignedUrlWithBodyWithResponse request with arbitrary body returning *GetMediaPresignedUrlResponse
func (*ClientWithResponses) GetMediaPresignedUrlWithResponse ¶
func (c *ClientWithResponses) GetMediaPresignedUrlWithResponse(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMediaPresignedUrlResponse, error)
func (*ClientWithResponses) GetMessengerMenuWithResponse ¶
func (c *ClientWithResponses) GetMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetMessengerMenuResponse, error)
GetMessengerMenuWithResponse request returning *GetMessengerMenuResponse
func (*ClientWithResponses) GetNextQueueSlotWithResponse ¶
func (c *ClientWithResponses) GetNextQueueSlotWithResponse(ctx context.Context, params *GetNextQueueSlotParams, reqEditors ...RequestEditorFn) (*GetNextQueueSlotResponse, error)
GetNextQueueSlotWithResponse request returning *GetNextQueueSlotResponse
func (*ClientWithResponses) GetPendingOAuthDataWithResponse ¶
func (c *ClientWithResponses) GetPendingOAuthDataWithResponse(ctx context.Context, params *GetPendingOAuthDataParams, reqEditors ...RequestEditorFn) (*GetPendingOAuthDataResponse, error)
GetPendingOAuthDataWithResponse request returning *GetPendingOAuthDataResponse
func (*ClientWithResponses) GetPinterestBoardsWithResponse ¶
func (c *ClientWithResponses) GetPinterestBoardsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetPinterestBoardsResponse, error)
GetPinterestBoardsWithResponse request returning *GetPinterestBoardsResponse
func (*ClientWithResponses) GetPostTimelineWithResponse ¶
func (c *ClientWithResponses) GetPostTimelineWithResponse(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*GetPostTimelineResponse, error)
GetPostTimelineWithResponse request returning *GetPostTimelineResponse
func (*ClientWithResponses) GetPostWithResponse ¶
func (c *ClientWithResponses) GetPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*GetPostResponse, error)
GetPostWithResponse request returning *GetPostResponse
func (*ClientWithResponses) GetPostingFrequencyWithResponse ¶
func (c *ClientWithResponses) GetPostingFrequencyWithResponse(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*GetPostingFrequencyResponse, error)
GetPostingFrequencyWithResponse request returning *GetPostingFrequencyResponse
func (*ClientWithResponses) GetProfileWithResponse ¶
func (c *ClientWithResponses) GetProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
GetProfileWithResponse request returning *GetProfileResponse
func (*ClientWithResponses) GetRedditFeedWithResponse ¶
func (c *ClientWithResponses) GetRedditFeedWithResponse(ctx context.Context, params *GetRedditFeedParams, reqEditors ...RequestEditorFn) (*GetRedditFeedResponse, error)
GetRedditFeedWithResponse request returning *GetRedditFeedResponse
func (*ClientWithResponses) GetRedditFlairsWithResponse ¶
func (c *ClientWithResponses) GetRedditFlairsWithResponse(ctx context.Context, accountId string, params *GetRedditFlairsParams, reqEditors ...RequestEditorFn) (*GetRedditFlairsResponse, error)
GetRedditFlairsWithResponse request returning *GetRedditFlairsResponse
func (*ClientWithResponses) GetRedditSubredditsWithResponse ¶
func (c *ClientWithResponses) GetRedditSubredditsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetRedditSubredditsResponse, error)
GetRedditSubredditsWithResponse request returning *GetRedditSubredditsResponse
func (*ClientWithResponses) GetSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) GetSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*GetSequenceResponse, error)
GetSequenceWithResponse request returning *GetSequenceResponse
func (*ClientWithResponses) GetTelegramCommandsWithResponse ¶
func (c *ClientWithResponses) GetTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetTelegramCommandsResponse, error)
GetTelegramCommandsWithResponse request returning *GetTelegramCommandsResponse
func (*ClientWithResponses) GetTelegramConnectStatusWithResponse ¶
func (c *ClientWithResponses) GetTelegramConnectStatusWithResponse(ctx context.Context, params *GetTelegramConnectStatusParams, reqEditors ...RequestEditorFn) (*GetTelegramConnectStatusResponse, error)
GetTelegramConnectStatusWithResponse request returning *GetTelegramConnectStatusResponse
func (*ClientWithResponses) GetTikTokAccountInsightsWithResponse ¶ added in v0.0.184
func (c *ClientWithResponses) GetTikTokAccountInsightsWithResponse(ctx context.Context, params *GetTikTokAccountInsightsParams, reqEditors ...RequestEditorFn) (*GetTikTokAccountInsightsResponse, error)
GetTikTokAccountInsightsWithResponse request returning *GetTikTokAccountInsightsResponse
func (*ClientWithResponses) GetTikTokCreatorInfoWithResponse ¶ added in v0.0.71
func (c *ClientWithResponses) GetTikTokCreatorInfoWithResponse(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, reqEditors ...RequestEditorFn) (*GetTikTokCreatorInfoResponse, error)
GetTikTokCreatorInfoWithResponse request returning *GetTikTokCreatorInfoResponse
func (*ClientWithResponses) GetUsageStatsWithResponse ¶
func (c *ClientWithResponses) GetUsageStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageStatsResponse, error)
GetUsageStatsWithResponse request returning *GetUsageStatsResponse
func (*ClientWithResponses) GetUserWithResponse ¶
func (c *ClientWithResponses) GetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
GetUserWithResponse request returning *GetUserResponse
func (*ClientWithResponses) GetWebhookSettingsWithResponse ¶
func (c *ClientWithResponses) GetWebhookSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookSettingsResponse, error)
GetWebhookSettingsWithResponse request returning *GetWebhookSettingsResponse
func (*ClientWithResponses) GetWhatsAppBusinessProfileWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppBusinessProfileWithResponse(ctx context.Context, params *GetWhatsAppBusinessProfileParams, reqEditors ...RequestEditorFn) (*GetWhatsAppBusinessProfileResponse, error)
GetWhatsAppBusinessProfileWithResponse request returning *GetWhatsAppBusinessProfileResponse
func (*ClientWithResponses) GetWhatsAppDisplayNameWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppDisplayNameWithResponse(ctx context.Context, params *GetWhatsAppDisplayNameParams, reqEditors ...RequestEditorFn) (*GetWhatsAppDisplayNameResponse, error)
GetWhatsAppDisplayNameWithResponse request returning *GetWhatsAppDisplayNameResponse
func (*ClientWithResponses) GetWhatsAppFlowJsonWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) GetWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, reqEditors ...RequestEditorFn) (*GetWhatsAppFlowJsonResponse, error)
GetWhatsAppFlowJsonWithResponse request returning *GetWhatsAppFlowJsonResponse
func (*ClientWithResponses) GetWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) GetWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*GetWhatsAppFlowResponse, error)
GetWhatsAppFlowWithResponse request returning *GetWhatsAppFlowResponse
func (*ClientWithResponses) GetWhatsAppGroupChatWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) GetWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*GetWhatsAppGroupChatResponse, error)
GetWhatsAppGroupChatWithResponse request returning *GetWhatsAppGroupChatResponse
func (*ClientWithResponses) GetWhatsAppPhoneNumberWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*GetWhatsAppPhoneNumberResponse, error)
GetWhatsAppPhoneNumberWithResponse request returning *GetWhatsAppPhoneNumberResponse
func (*ClientWithResponses) GetWhatsAppPhoneNumbersWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppPhoneNumbersWithResponse(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, reqEditors ...RequestEditorFn) (*GetWhatsAppPhoneNumbersResponse, error)
GetWhatsAppPhoneNumbersWithResponse request returning *GetWhatsAppPhoneNumbersResponse
func (*ClientWithResponses) GetWhatsAppTemplateWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*GetWhatsAppTemplateResponse, error)
GetWhatsAppTemplateWithResponse request returning *GetWhatsAppTemplateResponse
func (*ClientWithResponses) GetWhatsAppTemplatesWithResponse ¶
func (c *ClientWithResponses) GetWhatsAppTemplatesWithResponse(ctx context.Context, params *GetWhatsAppTemplatesParams, reqEditors ...RequestEditorFn) (*GetWhatsAppTemplatesResponse, error)
GetWhatsAppTemplatesWithResponse request returning *GetWhatsAppTemplatesResponse
func (*ClientWithResponses) GetYouTubeChannelInsightsWithResponse ¶ added in v0.0.184
func (c *ClientWithResponses) GetYouTubeChannelInsightsWithResponse(ctx context.Context, params *GetYouTubeChannelInsightsParams, reqEditors ...RequestEditorFn) (*GetYouTubeChannelInsightsResponse, error)
GetYouTubeChannelInsightsWithResponse request returning *GetYouTubeChannelInsightsResponse
func (*ClientWithResponses) GetYouTubeDailyViewsWithResponse ¶
func (c *ClientWithResponses) GetYouTubeDailyViewsWithResponse(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDailyViewsResponse, error)
GetYouTubeDailyViewsWithResponse request returning *GetYouTubeDailyViewsResponse
func (*ClientWithResponses) GetYouTubeDemographicsWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) GetYouTubeDemographicsWithResponse(ctx context.Context, params *GetYouTubeDemographicsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDemographicsResponse, error)
GetYouTubeDemographicsWithResponse request returning *GetYouTubeDemographicsResponse
func (*ClientWithResponses) GetYoutubePlaylistsWithResponse ¶ added in v0.0.99
func (c *ClientWithResponses) GetYoutubePlaylistsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetYoutubePlaylistsResponse, error)
GetYoutubePlaylistsWithResponse request returning *GetYoutubePlaylistsResponse
func (*ClientWithResponses) HandleOAuthCallbackWithBodyWithResponse ¶
func (c *ClientWithResponses) HandleOAuthCallbackWithBodyWithResponse(ctx context.Context, platform string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HandleOAuthCallbackResponse, error)
HandleOAuthCallbackWithBodyWithResponse request with arbitrary body returning *HandleOAuthCallbackResponse
func (*ClientWithResponses) HandleOAuthCallbackWithResponse ¶
func (c *ClientWithResponses) HandleOAuthCallbackWithResponse(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, reqEditors ...RequestEditorFn) (*HandleOAuthCallbackResponse, error)
func (*ClientWithResponses) HideInboxCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) HideInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HideInboxCommentResponse, error)
HideInboxCommentWithBodyWithResponse request with arbitrary body returning *HideInboxCommentResponse
func (*ClientWithResponses) HideInboxCommentWithResponse ¶
func (c *ClientWithResponses) HideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, body HideInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*HideInboxCommentResponse, error)
func (*ClientWithResponses) InitiateTelegramConnectWithBodyWithResponse ¶
func (c *ClientWithResponses) InitiateTelegramConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InitiateTelegramConnectResponse, error)
InitiateTelegramConnectWithBodyWithResponse request with arbitrary body returning *InitiateTelegramConnectResponse
func (*ClientWithResponses) InitiateTelegramConnectWithResponse ¶
func (c *ClientWithResponses) InitiateTelegramConnectWithResponse(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*InitiateTelegramConnectResponse, error)
func (*ClientWithResponses) LikeInboxCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) LikeInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LikeInboxCommentResponse, error)
LikeInboxCommentWithBodyWithResponse request with arbitrary body returning *LikeInboxCommentResponse
func (*ClientWithResponses) LikeInboxCommentWithResponse ¶
func (c *ClientWithResponses) LikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, body LikeInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*LikeInboxCommentResponse, error)
func (*ClientWithResponses) ListAccountGroupsWithResponse ¶
func (c *ClientWithResponses) ListAccountGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountGroupsResponse, error)
ListAccountGroupsWithResponse request returning *ListAccountGroupsResponse
func (*ClientWithResponses) ListAccountsWithResponse ¶
func (c *ClientWithResponses) ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
ListAccountsWithResponse request returning *ListAccountsResponse
func (*ClientWithResponses) ListAdAccountsWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) ListAdAccountsWithResponse(ctx context.Context, params *ListAdAccountsParams, reqEditors ...RequestEditorFn) (*ListAdAccountsResponse, error)
ListAdAccountsWithResponse request returning *ListAdAccountsResponse
func (*ClientWithResponses) ListAdAudiencesWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) ListAdAudiencesWithResponse(ctx context.Context, params *ListAdAudiencesParams, reqEditors ...RequestEditorFn) (*ListAdAudiencesResponse, error)
ListAdAudiencesWithResponse request returning *ListAdAudiencesResponse
func (*ClientWithResponses) ListAdCampaignsWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) ListAdCampaignsWithResponse(ctx context.Context, params *ListAdCampaignsParams, reqEditors ...RequestEditorFn) (*ListAdCampaignsResponse, error)
ListAdCampaignsWithResponse request returning *ListAdCampaignsResponse
func (*ClientWithResponses) ListAdsBusinessCentersWithResponse ¶ added in v0.0.199
func (c *ClientWithResponses) ListAdsBusinessCentersWithResponse(ctx context.Context, params *ListAdsBusinessCentersParams, reqEditors ...RequestEditorFn) (*ListAdsBusinessCentersResponse, error)
ListAdsBusinessCentersWithResponse request returning *ListAdsBusinessCentersResponse
func (*ClientWithResponses) ListAdsWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) ListAdsWithResponse(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*ListAdsResponse, error)
ListAdsWithResponse request returning *ListAdsResponse
func (*ClientWithResponses) ListApiKeysWithResponse ¶
func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
ListApiKeysWithResponse request returning *ListApiKeysResponse
func (*ClientWithResponses) ListBroadcastRecipientsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, reqEditors ...RequestEditorFn) (*ListBroadcastRecipientsResponse, error)
ListBroadcastRecipientsWithResponse request returning *ListBroadcastRecipientsResponse
func (*ClientWithResponses) ListBroadcastsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListBroadcastsWithResponse(ctx context.Context, params *ListBroadcastsParams, reqEditors ...RequestEditorFn) (*ListBroadcastsResponse, error)
ListBroadcastsWithResponse request returning *ListBroadcastsResponse
func (*ClientWithResponses) ListCommentAutomationLogsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListCommentAutomationLogsWithResponse(ctx context.Context, automationId string, params *ListCommentAutomationLogsParams, reqEditors ...RequestEditorFn) (*ListCommentAutomationLogsResponse, error)
ListCommentAutomationLogsWithResponse request returning *ListCommentAutomationLogsResponse
func (*ClientWithResponses) ListCommentAutomationsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListCommentAutomationsWithResponse(ctx context.Context, params *ListCommentAutomationsParams, reqEditors ...RequestEditorFn) (*ListCommentAutomationsResponse, error)
ListCommentAutomationsWithResponse request returning *ListCommentAutomationsResponse
func (*ClientWithResponses) ListContactsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
ListContactsWithResponse request returning *ListContactsResponse
func (*ClientWithResponses) ListConversionDestinationsWithResponse ¶ added in v0.0.149
func (c *ClientWithResponses) ListConversionDestinationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*ListConversionDestinationsResponse, error)
ListConversionDestinationsWithResponse request returning *ListConversionDestinationsResponse
func (*ClientWithResponses) ListCustomFieldsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)
ListCustomFieldsWithResponse request returning *ListCustomFieldsResponse
func (*ClientWithResponses) ListFacebookPagesWithResponse ¶
func (c *ClientWithResponses) ListFacebookPagesWithResponse(ctx context.Context, params *ListFacebookPagesParams, reqEditors ...RequestEditorFn) (*ListFacebookPagesResponse, error)
ListFacebookPagesWithResponse request returning *ListFacebookPagesResponse
func (*ClientWithResponses) ListGoogleBusinessLocationsWithResponse ¶
func (c *ClientWithResponses) ListGoogleBusinessLocationsWithResponse(ctx context.Context, params *ListGoogleBusinessLocationsParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessLocationsResponse, error)
ListGoogleBusinessLocationsWithResponse request returning *ListGoogleBusinessLocationsResponse
func (*ClientWithResponses) ListGoogleBusinessMediaWithResponse ¶
func (c *ClientWithResponses) ListGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessMediaResponse, error)
ListGoogleBusinessMediaWithResponse request returning *ListGoogleBusinessMediaResponse
func (*ClientWithResponses) ListGoogleBusinessPlaceActionsWithResponse ¶
func (c *ClientWithResponses) ListGoogleBusinessPlaceActionsWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessPlaceActionsParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessPlaceActionsResponse, error)
ListGoogleBusinessPlaceActionsWithResponse request returning *ListGoogleBusinessPlaceActionsResponse
func (*ClientWithResponses) ListInboxCommentsWithResponse ¶
func (c *ClientWithResponses) ListInboxCommentsWithResponse(ctx context.Context, params *ListInboxCommentsParams, reqEditors ...RequestEditorFn) (*ListInboxCommentsResponse, error)
ListInboxCommentsWithResponse request returning *ListInboxCommentsResponse
func (*ClientWithResponses) ListInboxConversationsWithResponse ¶
func (c *ClientWithResponses) ListInboxConversationsWithResponse(ctx context.Context, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*ListInboxConversationsResponse, error)
ListInboxConversationsWithResponse request returning *ListInboxConversationsResponse
func (*ClientWithResponses) ListInboxReviewsWithResponse ¶
func (c *ClientWithResponses) ListInboxReviewsWithResponse(ctx context.Context, params *ListInboxReviewsParams, reqEditors ...RequestEditorFn) (*ListInboxReviewsResponse, error)
ListInboxReviewsWithResponse request returning *ListInboxReviewsResponse
func (*ClientWithResponses) ListLinkedInOrganizationsWithResponse ¶
func (c *ClientWithResponses) ListLinkedInOrganizationsWithResponse(ctx context.Context, params *ListLinkedInOrganizationsParams, reqEditors ...RequestEditorFn) (*ListLinkedInOrganizationsResponse, error)
ListLinkedInOrganizationsWithResponse request returning *ListLinkedInOrganizationsResponse
func (*ClientWithResponses) ListLogsWithResponse ¶ added in v0.0.125
func (c *ClientWithResponses) ListLogsWithResponse(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*ListLogsResponse, error)
ListLogsWithResponse request returning *ListLogsResponse
func (*ClientWithResponses) ListPinterestBoardsForSelectionWithResponse ¶
func (c *ClientWithResponses) ListPinterestBoardsForSelectionWithResponse(ctx context.Context, params *ListPinterestBoardsForSelectionParams, reqEditors ...RequestEditorFn) (*ListPinterestBoardsForSelectionResponse, error)
ListPinterestBoardsForSelectionWithResponse request returning *ListPinterestBoardsForSelectionResponse
func (*ClientWithResponses) ListPostsWithResponse ¶
func (c *ClientWithResponses) ListPostsWithResponse(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*ListPostsResponse, error)
ListPostsWithResponse request returning *ListPostsResponse
func (*ClientWithResponses) ListProfilesWithResponse ¶
func (c *ClientWithResponses) ListProfilesWithResponse(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*ListProfilesResponse, error)
ListProfilesWithResponse request returning *ListProfilesResponse
func (*ClientWithResponses) ListQueueSlotsWithResponse ¶
func (c *ClientWithResponses) ListQueueSlotsWithResponse(ctx context.Context, params *ListQueueSlotsParams, reqEditors ...RequestEditorFn) (*ListQueueSlotsResponse, error)
ListQueueSlotsWithResponse request returning *ListQueueSlotsResponse
func (*ClientWithResponses) ListSequenceEnrollmentsWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListSequenceEnrollmentsWithResponse(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, reqEditors ...RequestEditorFn) (*ListSequenceEnrollmentsResponse, error)
ListSequenceEnrollmentsWithResponse request returning *ListSequenceEnrollmentsResponse
func (*ClientWithResponses) ListSequencesWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ListSequencesWithResponse(ctx context.Context, params *ListSequencesParams, reqEditors ...RequestEditorFn) (*ListSequencesResponse, error)
ListSequencesWithResponse request returning *ListSequencesResponse
func (*ClientWithResponses) ListSnapchatProfilesWithResponse ¶
func (c *ClientWithResponses) ListSnapchatProfilesWithResponse(ctx context.Context, params *ListSnapchatProfilesParams, reqEditors ...RequestEditorFn) (*ListSnapchatProfilesResponse, error)
ListSnapchatProfilesWithResponse request returning *ListSnapchatProfilesResponse
func (*ClientWithResponses) ListUsersWithResponse ¶
func (c *ClientWithResponses) ListUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
ListUsersWithResponse request returning *ListUsersResponse
func (*ClientWithResponses) ListWhatsAppFlowsWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) ListWhatsAppFlowsWithResponse(ctx context.Context, params *ListWhatsAppFlowsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppFlowsResponse, error)
ListWhatsAppFlowsWithResponse request returning *ListWhatsAppFlowsResponse
func (*ClientWithResponses) ListWhatsAppGroupChatsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) ListWhatsAppGroupChatsWithResponse(ctx context.Context, params *ListWhatsAppGroupChatsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppGroupChatsResponse, error)
ListWhatsAppGroupChatsWithResponse request returning *ListWhatsAppGroupChatsResponse
func (*ClientWithResponses) ListWhatsAppGroupJoinRequestsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) ListWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *ListWhatsAppGroupJoinRequestsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppGroupJoinRequestsResponse, error)
ListWhatsAppGroupJoinRequestsWithResponse request returning *ListWhatsAppGroupJoinRequestsResponse
func (*ClientWithResponses) PauseSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) PauseSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*PauseSequenceResponse, error)
PauseSequenceWithResponse request returning *PauseSequenceResponse
func (*ClientWithResponses) PreviewQueueWithResponse ¶
func (c *ClientWithResponses) PreviewQueueWithResponse(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*PreviewQueueResponse, error)
PreviewQueueWithResponse request returning *PreviewQueueResponse
func (*ClientWithResponses) PublishWhatsAppFlowWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) PublishWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishWhatsAppFlowResponse, error)
PublishWhatsAppFlowWithBodyWithResponse request with arbitrary body returning *PublishWhatsAppFlowResponse
func (*ClientWithResponses) PublishWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) PublishWhatsAppFlowWithResponse(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishWhatsAppFlowResponse, error)
func (*ClientWithResponses) PurchaseWhatsAppPhoneNumberWithBodyWithResponse ¶
func (c *ClientWithResponses) PurchaseWhatsAppPhoneNumberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PurchaseWhatsAppPhoneNumberResponse, error)
PurchaseWhatsAppPhoneNumberWithBodyWithResponse request with arbitrary body returning *PurchaseWhatsAppPhoneNumberResponse
func (*ClientWithResponses) PurchaseWhatsAppPhoneNumberWithResponse ¶
func (c *ClientWithResponses) PurchaseWhatsAppPhoneNumberWithResponse(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*PurchaseWhatsAppPhoneNumberResponse, error)
func (*ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RejectWhatsAppGroupJoinRequestsResponse, error)
RejectWhatsAppGroupJoinRequestsWithBodyWithResponse request with arbitrary body returning *RejectWhatsAppGroupJoinRequestsResponse
func (*ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) RejectWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, body RejectWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*RejectWhatsAppGroupJoinRequestsResponse, error)
func (*ClientWithResponses) ReleaseWhatsAppPhoneNumberWithResponse ¶
func (c *ClientWithResponses) ReleaseWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*ReleaseWhatsAppPhoneNumberResponse, error)
ReleaseWhatsAppPhoneNumberWithResponse request returning *ReleaseWhatsAppPhoneNumberResponse
func (*ClientWithResponses) RemoveBookmarkWithResponse ¶
func (c *ClientWithResponses) RemoveBookmarkWithResponse(ctx context.Context, params *RemoveBookmarkParams, reqEditors ...RequestEditorFn) (*RemoveBookmarkResponse, error)
RemoveBookmarkWithResponse request returning *RemoveBookmarkResponse
func (*ClientWithResponses) RemoveMessageReactionWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) RemoveMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, params *RemoveMessageReactionParams, reqEditors ...RequestEditorFn) (*RemoveMessageReactionResponse, error)
RemoveMessageReactionWithResponse request returning *RemoveMessageReactionResponse
func (*ClientWithResponses) RemoveWhatsAppGroupParticipantsWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) RemoveWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveWhatsAppGroupParticipantsResponse, error)
RemoveWhatsAppGroupParticipantsWithBodyWithResponse request with arbitrary body returning *RemoveWhatsAppGroupParticipantsResponse
func (*ClientWithResponses) RemoveWhatsAppGroupParticipantsWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) RemoveWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, body RemoveWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveWhatsAppGroupParticipantsResponse, error)
func (*ClientWithResponses) ReplyToInboxPostWithBodyWithResponse ¶
func (c *ClientWithResponses) ReplyToInboxPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToInboxPostResponse, error)
ReplyToInboxPostWithBodyWithResponse request with arbitrary body returning *ReplyToInboxPostResponse
func (*ClientWithResponses) ReplyToInboxPostWithResponse ¶
func (c *ClientWithResponses) ReplyToInboxPostWithResponse(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToInboxPostResponse, error)
func (*ClientWithResponses) ReplyToInboxReviewWithBodyWithResponse ¶
func (c *ClientWithResponses) ReplyToInboxReviewWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToInboxReviewResponse, error)
ReplyToInboxReviewWithBodyWithResponse request with arbitrary body returning *ReplyToInboxReviewResponse
func (*ClientWithResponses) ReplyToInboxReviewWithResponse ¶
func (c *ClientWithResponses) ReplyToInboxReviewWithResponse(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToInboxReviewResponse, error)
func (*ClientWithResponses) RetryPostWithResponse ¶
func (c *ClientWithResponses) RetryPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*RetryPostResponse, error)
RetryPostWithResponse request returning *RetryPostResponse
func (*ClientWithResponses) RetweetPostWithBodyWithResponse ¶
func (c *ClientWithResponses) RetweetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetweetPostResponse, error)
RetweetPostWithBodyWithResponse request with arbitrary body returning *RetweetPostResponse
func (*ClientWithResponses) RetweetPostWithResponse ¶
func (c *ClientWithResponses) RetweetPostWithResponse(ctx context.Context, body RetweetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RetweetPostResponse, error)
func (*ClientWithResponses) ScheduleBroadcastWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ScheduleBroadcastWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleBroadcastResponse, error)
ScheduleBroadcastWithBodyWithResponse request with arbitrary body returning *ScheduleBroadcastResponse
func (*ClientWithResponses) ScheduleBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) ScheduleBroadcastWithResponse(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleBroadcastResponse, error)
func (*ClientWithResponses) SearchAdInterestsWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) SearchAdInterestsWithResponse(ctx context.Context, params *SearchAdInterestsParams, reqEditors ...RequestEditorFn) (*SearchAdInterestsResponse, error)
SearchAdInterestsWithResponse request returning *SearchAdInterestsResponse
func (*ClientWithResponses) SearchRedditWithResponse ¶
func (c *ClientWithResponses) SearchRedditWithResponse(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*SearchRedditResponse, error)
SearchRedditWithResponse request returning *SearchRedditResponse
func (*ClientWithResponses) SelectFacebookPageWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectFacebookPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectFacebookPageResponse, error)
SelectFacebookPageWithBodyWithResponse request with arbitrary body returning *SelectFacebookPageResponse
func (*ClientWithResponses) SelectFacebookPageWithResponse ¶
func (c *ClientWithResponses) SelectFacebookPageWithResponse(ctx context.Context, body SelectFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectFacebookPageResponse, error)
func (*ClientWithResponses) SelectGoogleBusinessLocationWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectGoogleBusinessLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectGoogleBusinessLocationResponse, error)
SelectGoogleBusinessLocationWithBodyWithResponse request with arbitrary body returning *SelectGoogleBusinessLocationResponse
func (*ClientWithResponses) SelectGoogleBusinessLocationWithResponse ¶
func (c *ClientWithResponses) SelectGoogleBusinessLocationWithResponse(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectGoogleBusinessLocationResponse, error)
func (*ClientWithResponses) SelectLinkedInOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectLinkedInOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectLinkedInOrganizationResponse, error)
SelectLinkedInOrganizationWithBodyWithResponse request with arbitrary body returning *SelectLinkedInOrganizationResponse
func (*ClientWithResponses) SelectLinkedInOrganizationWithResponse ¶
func (c *ClientWithResponses) SelectLinkedInOrganizationWithResponse(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectLinkedInOrganizationResponse, error)
func (*ClientWithResponses) SelectPinterestBoardWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectPinterestBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectPinterestBoardResponse, error)
SelectPinterestBoardWithBodyWithResponse request with arbitrary body returning *SelectPinterestBoardResponse
func (*ClientWithResponses) SelectPinterestBoardWithResponse ¶
func (c *ClientWithResponses) SelectPinterestBoardWithResponse(ctx context.Context, body SelectPinterestBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectPinterestBoardResponse, error)
func (*ClientWithResponses) SelectSnapchatProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) SelectSnapchatProfileWithBodyWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectSnapchatProfileResponse, error)
SelectSnapchatProfileWithBodyWithResponse request with arbitrary body returning *SelectSnapchatProfileResponse
func (*ClientWithResponses) SelectSnapchatProfileWithResponse ¶
func (c *ClientWithResponses) SelectSnapchatProfileWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectSnapchatProfileResponse, error)
func (*ClientWithResponses) SendBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) SendBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*SendBroadcastResponse, error)
SendBroadcastWithResponse request returning *SendBroadcastResponse
func (*ClientWithResponses) SendConversionsWithBodyWithResponse ¶ added in v0.0.149
func (c *ClientWithResponses) SendConversionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendConversionsResponse, error)
SendConversionsWithBodyWithResponse request with arbitrary body returning *SendConversionsResponse
func (*ClientWithResponses) SendConversionsWithResponse ¶ added in v0.0.149
func (c *ClientWithResponses) SendConversionsWithResponse(ctx context.Context, body SendConversionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SendConversionsResponse, error)
func (*ClientWithResponses) SendInboxMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) SendInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendInboxMessageResponse, error)
SendInboxMessageWithBodyWithResponse request with arbitrary body returning *SendInboxMessageResponse
func (*ClientWithResponses) SendInboxMessageWithResponse ¶
func (c *ClientWithResponses) SendInboxMessageWithResponse(ctx context.Context, conversationId string, body SendInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendInboxMessageResponse, error)
func (*ClientWithResponses) SendPrivateReplyToCommentWithBodyWithResponse ¶
func (c *ClientWithResponses) SendPrivateReplyToCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPrivateReplyToCommentResponse, error)
SendPrivateReplyToCommentWithBodyWithResponse request with arbitrary body returning *SendPrivateReplyToCommentResponse
func (*ClientWithResponses) SendPrivateReplyToCommentWithResponse ¶
func (c *ClientWithResponses) SendPrivateReplyToCommentWithResponse(ctx context.Context, postId string, commentId string, body SendPrivateReplyToCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPrivateReplyToCommentResponse, error)
func (*ClientWithResponses) SendTypingIndicatorWithBodyWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) SendTypingIndicatorWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendTypingIndicatorResponse, error)
SendTypingIndicatorWithBodyWithResponse request with arbitrary body returning *SendTypingIndicatorResponse
func (*ClientWithResponses) SendTypingIndicatorWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) SendTypingIndicatorWithResponse(ctx context.Context, conversationId string, body SendTypingIndicatorJSONRequestBody, reqEditors ...RequestEditorFn) (*SendTypingIndicatorResponse, error)
func (*ClientWithResponses) SendWhatsAppConversionWithBodyWithResponse ¶ added in v0.0.189
func (c *ClientWithResponses) SendWhatsAppConversionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendWhatsAppConversionResponse, error)
SendWhatsAppConversionWithBodyWithResponse request with arbitrary body returning *SendWhatsAppConversionResponse
func (*ClientWithResponses) SendWhatsAppConversionWithResponse ¶ added in v0.0.189
func (c *ClientWithResponses) SendWhatsAppConversionWithResponse(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, reqEditors ...RequestEditorFn) (*SendWhatsAppConversionResponse, error)
func (*ClientWithResponses) SendWhatsAppFlowMessageWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) SendWhatsAppFlowMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendWhatsAppFlowMessageResponse, error)
SendWhatsAppFlowMessageWithBodyWithResponse request with arbitrary body returning *SendWhatsAppFlowMessageResponse
func (*ClientWithResponses) SendWhatsAppFlowMessageWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) SendWhatsAppFlowMessageWithResponse(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendWhatsAppFlowMessageResponse, error)
func (*ClientWithResponses) SetContactFieldValueWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) SetContactFieldValueWithBodyWithResponse(ctx context.Context, contactId string, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetContactFieldValueResponse, error)
SetContactFieldValueWithBodyWithResponse request with arbitrary body returning *SetContactFieldValueResponse
func (*ClientWithResponses) SetContactFieldValueWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) SetContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, body SetContactFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*SetContactFieldValueResponse, error)
func (*ClientWithResponses) SetInstagramIceBreakersWithBodyWithResponse ¶
func (c *ClientWithResponses) SetInstagramIceBreakersWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetInstagramIceBreakersResponse, error)
SetInstagramIceBreakersWithBodyWithResponse request with arbitrary body returning *SetInstagramIceBreakersResponse
func (*ClientWithResponses) SetInstagramIceBreakersWithResponse ¶
func (c *ClientWithResponses) SetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetInstagramIceBreakersResponse, error)
func (*ClientWithResponses) SetMessengerMenuWithBodyWithResponse ¶
func (c *ClientWithResponses) SetMessengerMenuWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessengerMenuResponse, error)
SetMessengerMenuWithBodyWithResponse request with arbitrary body returning *SetMessengerMenuResponse
func (*ClientWithResponses) SetMessengerMenuWithResponse ¶
func (c *ClientWithResponses) SetMessengerMenuWithResponse(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessengerMenuResponse, error)
func (*ClientWithResponses) SetTelegramCommandsWithBodyWithResponse ¶
func (c *ClientWithResponses) SetTelegramCommandsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTelegramCommandsResponse, error)
SetTelegramCommandsWithBodyWithResponse request with arbitrary body returning *SetTelegramCommandsResponse
func (*ClientWithResponses) SetTelegramCommandsWithResponse ¶
func (c *ClientWithResponses) SetTelegramCommandsWithResponse(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTelegramCommandsResponse, error)
func (*ClientWithResponses) TestWebhookWithBodyWithResponse ¶
func (c *ClientWithResponses) TestWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
TestWebhookWithBodyWithResponse request with arbitrary body returning *TestWebhookResponse
func (*ClientWithResponses) TestWebhookWithResponse ¶
func (c *ClientWithResponses) TestWebhookWithResponse(ctx context.Context, body TestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
func (*ClientWithResponses) UndoRetweetWithResponse ¶
func (c *ClientWithResponses) UndoRetweetWithResponse(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*UndoRetweetResponse, error)
UndoRetweetWithResponse request returning *UndoRetweetResponse
func (*ClientWithResponses) UnenrollContactWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UnenrollContactWithResponse(ctx context.Context, sequenceId string, contactId string, reqEditors ...RequestEditorFn) (*UnenrollContactResponse, error)
UnenrollContactWithResponse request returning *UnenrollContactResponse
func (*ClientWithResponses) UnfollowUserWithResponse ¶
func (c *ClientWithResponses) UnfollowUserWithResponse(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*UnfollowUserResponse, error)
UnfollowUserWithResponse request returning *UnfollowUserResponse
func (*ClientWithResponses) UnhideInboxCommentWithResponse ¶
func (c *ClientWithResponses) UnhideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, params *UnhideInboxCommentParams, reqEditors ...RequestEditorFn) (*UnhideInboxCommentResponse, error)
UnhideInboxCommentWithResponse request returning *UnhideInboxCommentResponse
func (*ClientWithResponses) UnlikeInboxCommentWithResponse ¶
func (c *ClientWithResponses) UnlikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, params *UnlikeInboxCommentParams, reqEditors ...RequestEditorFn) (*UnlikeInboxCommentResponse, error)
UnlikeInboxCommentWithResponse request returning *UnlikeInboxCommentResponse
func (*ClientWithResponses) UnpublishPostWithBodyWithResponse ¶
func (c *ClientWithResponses) UnpublishPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpublishPostResponse, error)
UnpublishPostWithBodyWithResponse request with arbitrary body returning *UnpublishPostResponse
func (*ClientWithResponses) UnpublishPostWithResponse ¶
func (c *ClientWithResponses) UnpublishPostWithResponse(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpublishPostResponse, error)
func (*ClientWithResponses) UpdateAccountGroupWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAccountGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountGroupResponse, error)
UpdateAccountGroupWithBodyWithResponse request with arbitrary body returning *UpdateAccountGroupResponse
func (*ClientWithResponses) UpdateAccountGroupWithResponse ¶
func (c *ClientWithResponses) UpdateAccountGroupWithResponse(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountGroupResponse, error)
func (*ClientWithResponses) UpdateAccountWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
UpdateAccountWithBodyWithResponse request with arbitrary body returning *UpdateAccountResponse
func (*ClientWithResponses) UpdateAccountWithResponse ¶
func (c *ClientWithResponses) UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
func (*ClientWithResponses) UpdateAdCampaignStatusWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) UpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdCampaignStatusResponse, error)
UpdateAdCampaignStatusWithBodyWithResponse request with arbitrary body returning *UpdateAdCampaignStatusResponse
func (*ClientWithResponses) UpdateAdCampaignStatusWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) UpdateAdCampaignStatusWithResponse(ctx context.Context, campaignId string, body UpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdCampaignStatusResponse, error)
func (*ClientWithResponses) UpdateAdCampaignWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdCampaignResponse, error)
UpdateAdCampaignWithBodyWithResponse request with arbitrary body returning *UpdateAdCampaignResponse
func (*ClientWithResponses) UpdateAdCampaignWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdCampaignWithResponse(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdCampaignResponse, error)
func (*ClientWithResponses) UpdateAdSetStatusWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdSetStatusWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdSetStatusResponse, error)
UpdateAdSetStatusWithBodyWithResponse request with arbitrary body returning *UpdateAdSetStatusResponse
func (*ClientWithResponses) UpdateAdSetStatusWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdSetStatusWithResponse(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdSetStatusResponse, error)
func (*ClientWithResponses) UpdateAdSetWithBodyWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdSetWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdSetResponse, error)
UpdateAdSetWithBodyWithResponse request with arbitrary body returning *UpdateAdSetResponse
func (*ClientWithResponses) UpdateAdSetWithResponse ¶ added in v0.0.168
func (c *ClientWithResponses) UpdateAdSetWithResponse(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdSetResponse, error)
func (*ClientWithResponses) UpdateAdWithBodyWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) UpdateAdWithBodyWithResponse(ctx context.Context, adId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdResponse, error)
UpdateAdWithBodyWithResponse request with arbitrary body returning *UpdateAdResponse
func (*ClientWithResponses) UpdateAdWithResponse ¶ added in v0.0.106
func (c *ClientWithResponses) UpdateAdWithResponse(ctx context.Context, adId string, body UpdateAdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdResponse, error)
func (*ClientWithResponses) UpdateBroadcastWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*UpdateBroadcastResponse, error)
UpdateBroadcastWithResponse request returning *UpdateBroadcastResponse
func (*ClientWithResponses) UpdateCommentAutomationWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateCommentAutomationWithBodyWithResponse(ctx context.Context, automationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentAutomationResponse, error)
UpdateCommentAutomationWithBodyWithResponse request with arbitrary body returning *UpdateCommentAutomationResponse
func (*ClientWithResponses) UpdateCommentAutomationWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateCommentAutomationWithResponse(ctx context.Context, automationId string, body UpdateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentAutomationResponse, error)
func (*ClientWithResponses) UpdateContactWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
UpdateContactWithBodyWithResponse request with arbitrary body returning *UpdateContactResponse
func (*ClientWithResponses) UpdateContactWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
func (*ClientWithResponses) UpdateCustomFieldWithBodyWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateCustomFieldWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
UpdateCustomFieldWithBodyWithResponse request with arbitrary body returning *UpdateCustomFieldResponse
func (*ClientWithResponses) UpdateCustomFieldWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateCustomFieldWithResponse(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
func (*ClientWithResponses) UpdateDiscordSettingsWithBodyWithResponse ¶ added in v0.0.153
func (c *ClientWithResponses) UpdateDiscordSettingsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDiscordSettingsResponse, error)
UpdateDiscordSettingsWithBodyWithResponse request with arbitrary body returning *UpdateDiscordSettingsResponse
func (*ClientWithResponses) UpdateDiscordSettingsWithResponse ¶ added in v0.0.153
func (c *ClientWithResponses) UpdateDiscordSettingsWithResponse(ctx context.Context, accountId string, body UpdateDiscordSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDiscordSettingsResponse, error)
func (*ClientWithResponses) UpdateFacebookPageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFacebookPageWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFacebookPageResponse, error)
UpdateFacebookPageWithBodyWithResponse request with arbitrary body returning *UpdateFacebookPageResponse
func (*ClientWithResponses) UpdateFacebookPageWithResponse ¶
func (c *ClientWithResponses) UpdateFacebookPageWithResponse(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFacebookPageResponse, error)
func (*ClientWithResponses) UpdateGmbLocationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGmbLocationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGmbLocationResponse, error)
UpdateGmbLocationWithBodyWithResponse request with arbitrary body returning *UpdateGmbLocationResponse
func (*ClientWithResponses) UpdateGmbLocationWithResponse ¶
func (c *ClientWithResponses) UpdateGmbLocationWithResponse(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGmbLocationResponse, error)
func (*ClientWithResponses) UpdateGoogleBusinessAttributesWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)
UpdateGoogleBusinessAttributesWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessAttributesResponse
func (*ClientWithResponses) UpdateGoogleBusinessAttributesWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)
func (*ClientWithResponses) UpdateGoogleBusinessFoodMenusWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)
UpdateGoogleBusinessFoodMenusWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessFoodMenusResponse
func (*ClientWithResponses) UpdateGoogleBusinessFoodMenusWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)
func (*ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)
UpdateGoogleBusinessLocationDetailsWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessLocationDetailsResponse
func (*ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithResponse ¶
func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)
func (*ClientWithResponses) UpdateGoogleBusinessPlaceActionWithBodyWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) UpdateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessPlaceActionResponse, error)
UpdateGoogleBusinessPlaceActionWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessPlaceActionResponse
func (*ClientWithResponses) UpdateGoogleBusinessPlaceActionWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) UpdateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, body UpdateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessPlaceActionResponse, error)
func (*ClientWithResponses) UpdateGoogleBusinessServicesWithBodyWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) UpdateGoogleBusinessServicesWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessServicesResponse, error)
UpdateGoogleBusinessServicesWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessServicesResponse
func (*ClientWithResponses) UpdateGoogleBusinessServicesWithResponse ¶ added in v0.0.158
func (c *ClientWithResponses) UpdateGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, body UpdateGoogleBusinessServicesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessServicesResponse, error)
func (*ClientWithResponses) UpdateInboxConversationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateInboxConversationWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInboxConversationResponse, error)
UpdateInboxConversationWithBodyWithResponse request with arbitrary body returning *UpdateInboxConversationResponse
func (*ClientWithResponses) UpdateInboxConversationWithResponse ¶
func (c *ClientWithResponses) UpdateInboxConversationWithResponse(ctx context.Context, conversationId string, body UpdateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInboxConversationResponse, error)
func (*ClientWithResponses) UpdateLinkedInOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateLinkedInOrganizationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLinkedInOrganizationResponse, error)
UpdateLinkedInOrganizationWithBodyWithResponse request with arbitrary body returning *UpdateLinkedInOrganizationResponse
func (*ClientWithResponses) UpdateLinkedInOrganizationWithResponse ¶
func (c *ClientWithResponses) UpdateLinkedInOrganizationWithResponse(ctx context.Context, accountId string, body UpdateLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLinkedInOrganizationResponse, error)
func (*ClientWithResponses) UpdatePinterestBoardsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePinterestBoardsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePinterestBoardsResponse, error)
UpdatePinterestBoardsWithBodyWithResponse request with arbitrary body returning *UpdatePinterestBoardsResponse
func (*ClientWithResponses) UpdatePinterestBoardsWithResponse ¶
func (c *ClientWithResponses) UpdatePinterestBoardsWithResponse(ctx context.Context, accountId string, body UpdatePinterestBoardsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePinterestBoardsResponse, error)
func (*ClientWithResponses) UpdatePostMetadataWithBodyWithResponse ¶ added in v0.0.91
func (c *ClientWithResponses) UpdatePostMetadataWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostMetadataResponse, error)
UpdatePostMetadataWithBodyWithResponse request with arbitrary body returning *UpdatePostMetadataResponse
func (*ClientWithResponses) UpdatePostMetadataWithResponse ¶ added in v0.0.91
func (c *ClientWithResponses) UpdatePostMetadataWithResponse(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostMetadataResponse, error)
func (*ClientWithResponses) UpdatePostWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostResponse, error)
UpdatePostWithBodyWithResponse request with arbitrary body returning *UpdatePostResponse
func (*ClientWithResponses) UpdatePostWithResponse ¶
func (c *ClientWithResponses) UpdatePostWithResponse(ctx context.Context, postId string, body UpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostResponse, error)
func (*ClientWithResponses) UpdateProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateProfileWithBodyWithResponse(ctx context.Context, profileId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProfileResponse, error)
UpdateProfileWithBodyWithResponse request with arbitrary body returning *UpdateProfileResponse
func (*ClientWithResponses) UpdateProfileWithResponse ¶
func (c *ClientWithResponses) UpdateProfileWithResponse(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProfileResponse, error)
func (*ClientWithResponses) UpdateQueueSlotWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueueSlotResponse, error)
UpdateQueueSlotWithBodyWithResponse request with arbitrary body returning *UpdateQueueSlotResponse
func (*ClientWithResponses) UpdateQueueSlotWithResponse ¶
func (c *ClientWithResponses) UpdateQueueSlotWithResponse(ctx context.Context, body UpdateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueueSlotResponse, error)
func (*ClientWithResponses) UpdateRedditSubredditsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateRedditSubredditsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRedditSubredditsResponse, error)
UpdateRedditSubredditsWithBodyWithResponse request with arbitrary body returning *UpdateRedditSubredditsResponse
func (*ClientWithResponses) UpdateRedditSubredditsWithResponse ¶
func (c *ClientWithResponses) UpdateRedditSubredditsWithResponse(ctx context.Context, accountId string, body UpdateRedditSubredditsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRedditSubredditsResponse, error)
func (*ClientWithResponses) UpdateSequenceWithResponse ¶ added in v0.0.76
func (c *ClientWithResponses) UpdateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)
UpdateSequenceWithResponse request returning *UpdateSequenceResponse
func (*ClientWithResponses) UpdateWebhookSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookSettingsResponse, error)
UpdateWebhookSettingsWithBodyWithResponse request with arbitrary body returning *UpdateWebhookSettingsResponse
func (*ClientWithResponses) UpdateWebhookSettingsWithResponse ¶
func (c *ClientWithResponses) UpdateWebhookSettingsWithResponse(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookSettingsResponse, error)
func (*ClientWithResponses) UpdateWhatsAppBusinessProfileWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppBusinessProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppBusinessProfileResponse, error)
UpdateWhatsAppBusinessProfileWithBodyWithResponse request with arbitrary body returning *UpdateWhatsAppBusinessProfileResponse
func (*ClientWithResponses) UpdateWhatsAppBusinessProfileWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppBusinessProfileWithResponse(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppBusinessProfileResponse, error)
func (*ClientWithResponses) UpdateWhatsAppDisplayNameWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppDisplayNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppDisplayNameResponse, error)
UpdateWhatsAppDisplayNameWithBodyWithResponse request with arbitrary body returning *UpdateWhatsAppDisplayNameResponse
func (*ClientWithResponses) UpdateWhatsAppDisplayNameWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppDisplayNameWithResponse(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppDisplayNameResponse, error)
func (*ClientWithResponses) UpdateWhatsAppFlowWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) UpdateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppFlowResponse, error)
UpdateWhatsAppFlowWithBodyWithResponse request with arbitrary body returning *UpdateWhatsAppFlowResponse
func (*ClientWithResponses) UpdateWhatsAppFlowWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) UpdateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppFlowResponse, error)
func (*ClientWithResponses) UpdateWhatsAppGroupChatWithBodyWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) UpdateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppGroupChatResponse, error)
UpdateWhatsAppGroupChatWithBodyWithResponse request with arbitrary body returning *UpdateWhatsAppGroupChatResponse
func (*ClientWithResponses) UpdateWhatsAppGroupChatWithResponse ¶ added in v0.0.92
func (c *ClientWithResponses) UpdateWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, body UpdateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppGroupChatResponse, error)
func (*ClientWithResponses) UpdateWhatsAppTemplateWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, templateName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppTemplateResponse, error)
UpdateWhatsAppTemplateWithBodyWithResponse request with arbitrary body returning *UpdateWhatsAppTemplateResponse
func (*ClientWithResponses) UpdateWhatsAppTemplateWithResponse ¶
func (c *ClientWithResponses) UpdateWhatsAppTemplateWithResponse(ctx context.Context, templateName string, body UpdateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppTemplateResponse, error)
func (*ClientWithResponses) UpdateYoutubeDefaultPlaylistWithBodyWithResponse ¶ added in v0.0.99
func (c *ClientWithResponses) UpdateYoutubeDefaultPlaylistWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateYoutubeDefaultPlaylistResponse, error)
UpdateYoutubeDefaultPlaylistWithBodyWithResponse request with arbitrary body returning *UpdateYoutubeDefaultPlaylistResponse
func (*ClientWithResponses) UpdateYoutubeDefaultPlaylistWithResponse ¶ added in v0.0.99
func (c *ClientWithResponses) UpdateYoutubeDefaultPlaylistWithResponse(ctx context.Context, accountId string, body UpdateYoutubeDefaultPlaylistJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateYoutubeDefaultPlaylistResponse, error)
func (*ClientWithResponses) UploadMediaDirectWithBodyWithResponse ¶ added in v0.0.96
func (c *ClientWithResponses) UploadMediaDirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMediaDirectResponse, error)
UploadMediaDirectWithBodyWithResponse request with arbitrary body returning *UploadMediaDirectResponse
func (*ClientWithResponses) UploadWhatsAppFlowJsonWithBodyWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) UploadWhatsAppFlowJsonWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWhatsAppFlowJsonResponse, error)
UploadWhatsAppFlowJsonWithBodyWithResponse request with arbitrary body returning *UploadWhatsAppFlowJsonResponse
func (*ClientWithResponses) UploadWhatsAppFlowJsonWithResponse ¶ added in v0.0.117
func (c *ClientWithResponses) UploadWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWhatsAppFlowJsonResponse, error)
func (*ClientWithResponses) UploadWhatsAppProfilePhotoWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadWhatsAppProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWhatsAppProfilePhotoResponse, error)
UploadWhatsAppProfilePhotoWithBodyWithResponse request with arbitrary body returning *UploadWhatsAppProfilePhotoResponse
func (*ClientWithResponses) ValidateMediaWithBodyWithResponse ¶
func (c *ClientWithResponses) ValidateMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateMediaResponse, error)
ValidateMediaWithBodyWithResponse request with arbitrary body returning *ValidateMediaResponse
func (*ClientWithResponses) ValidateMediaWithResponse ¶
func (c *ClientWithResponses) ValidateMediaWithResponse(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateMediaResponse, error)
func (*ClientWithResponses) ValidatePostLengthWithBodyWithResponse ¶
func (c *ClientWithResponses) ValidatePostLengthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidatePostLengthResponse, error)
ValidatePostLengthWithBodyWithResponse request with arbitrary body returning *ValidatePostLengthResponse
func (*ClientWithResponses) ValidatePostLengthWithResponse ¶
func (c *ClientWithResponses) ValidatePostLengthWithResponse(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostLengthResponse, error)
func (*ClientWithResponses) ValidatePostWithBodyWithResponse ¶
func (c *ClientWithResponses) ValidatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidatePostResponse, error)
ValidatePostWithBodyWithResponse request with arbitrary body returning *ValidatePostResponse
func (*ClientWithResponses) ValidatePostWithResponse ¶
func (c *ClientWithResponses) ValidatePostWithResponse(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostResponse, error)
func (*ClientWithResponses) ValidateSubredditWithResponse ¶
func (c *ClientWithResponses) ValidateSubredditWithResponse(ctx context.Context, params *ValidateSubredditParams, reqEditors ...RequestEditorFn) (*ValidateSubredditResponse, error)
ValidateSubredditWithResponse request returning *ValidateSubredditResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// ListAccountGroupsWithResponse request
ListAccountGroupsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListAccountGroupsResponse, error)
// CreateAccountGroupWithBodyWithResponse request with any body
CreateAccountGroupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAccountGroupResponse, error)
CreateAccountGroupWithResponse(ctx context.Context, body CreateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAccountGroupResponse, error)
// DeleteAccountGroupWithResponse request
DeleteAccountGroupWithResponse(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*DeleteAccountGroupResponse, error)
// UpdateAccountGroupWithBodyWithResponse request with any body
UpdateAccountGroupWithBodyWithResponse(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountGroupResponse, error)
UpdateAccountGroupWithResponse(ctx context.Context, groupId string, body UpdateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountGroupResponse, error)
// ListAccountsWithResponse request
ListAccountsWithResponse(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*ListAccountsResponse, error)
// GetFollowerStatsWithResponse request
GetFollowerStatsWithResponse(ctx context.Context, params *GetFollowerStatsParams, reqEditors ...RequestEditorFn) (*GetFollowerStatsResponse, error)
// GetAllAccountsHealthWithResponse request
GetAllAccountsHealthWithResponse(ctx context.Context, params *GetAllAccountsHealthParams, reqEditors ...RequestEditorFn) (*GetAllAccountsHealthResponse, error)
// DeleteAccountWithResponse request
DeleteAccountWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteAccountResponse, error)
// UpdateAccountWithBodyWithResponse request with any body
UpdateAccountWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
UpdateAccountWithResponse(ctx context.Context, accountId string, body UpdateAccountJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAccountResponse, error)
// ListConversionDestinationsWithResponse request
ListConversionDestinationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*ListConversionDestinationsResponse, error)
// GetDiscordChannelsWithResponse request
GetDiscordChannelsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordChannelsResponse, error)
// GetDiscordSettingsWithResponse request
GetDiscordSettingsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetDiscordSettingsResponse, error)
// UpdateDiscordSettingsWithBodyWithResponse request with any body
UpdateDiscordSettingsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateDiscordSettingsResponse, error)
UpdateDiscordSettingsWithResponse(ctx context.Context, accountId string, body UpdateDiscordSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateDiscordSettingsResponse, error)
// GetFacebookPagesWithResponse request
GetFacebookPagesWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetFacebookPagesResponse, error)
// UpdateFacebookPageWithBodyWithResponse request with any body
UpdateFacebookPageWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFacebookPageResponse, error)
UpdateFacebookPageWithResponse(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFacebookPageResponse, error)
// GetGoogleBusinessAttributesWithResponse request
GetGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessAttributesParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessAttributesResponse, error)
// UpdateGoogleBusinessAttributesWithBodyWithResponse request with any body
UpdateGoogleBusinessAttributesWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)
UpdateGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessAttributesParams, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)
// GetGoogleBusinessFoodMenusWithResponse request
GetGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessFoodMenusParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessFoodMenusResponse, error)
// UpdateGoogleBusinessFoodMenusWithBodyWithResponse request with any body
UpdateGoogleBusinessFoodMenusWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)
UpdateGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessFoodMenusParams, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)
// GetGoogleBusinessLocationDetailsWithResponse request
GetGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessLocationDetailsResponse, error)
// UpdateGoogleBusinessLocationDetailsWithBodyWithResponse request with any body
UpdateGoogleBusinessLocationDetailsWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)
UpdateGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessLocationDetailsParams, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)
// GetGmbLocationsWithResponse request
GetGmbLocationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGmbLocationsResponse, error)
// UpdateGmbLocationWithBodyWithResponse request with any body
UpdateGmbLocationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGmbLocationResponse, error)
UpdateGmbLocationWithResponse(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGmbLocationResponse, error)
// DeleteGoogleBusinessMediaWithResponse request
DeleteGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*DeleteGoogleBusinessMediaResponse, error)
// ListGoogleBusinessMediaWithResponse request
ListGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessMediaResponse, error)
// CreateGoogleBusinessMediaWithBodyWithResponse request with any body
CreateGoogleBusinessMediaWithBodyWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)
CreateGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessMediaParams, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)
// DeleteGoogleBusinessPlaceActionWithResponse request
DeleteGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessPlaceActionParams, reqEditors ...RequestEditorFn) (*DeleteGoogleBusinessPlaceActionResponse, error)
// ListGoogleBusinessPlaceActionsWithResponse request
ListGoogleBusinessPlaceActionsWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessPlaceActionsParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessPlaceActionsResponse, error)
// UpdateGoogleBusinessPlaceActionWithBodyWithResponse request with any body
UpdateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessPlaceActionResponse, error)
UpdateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessPlaceActionParams, body UpdateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessPlaceActionResponse, error)
// CreateGoogleBusinessPlaceActionWithBodyWithResponse request with any body
CreateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)
CreateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, params *CreateGoogleBusinessPlaceActionParams, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)
// GetGoogleBusinessReviewsWithResponse request
GetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessReviewsResponse, error)
// BatchGetGoogleBusinessReviewsWithBodyWithResponse request with any body
BatchGetGoogleBusinessReviewsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BatchGetGoogleBusinessReviewsResponse, error)
BatchGetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, body BatchGetGoogleBusinessReviewsJSONRequestBody, reqEditors ...RequestEditorFn) (*BatchGetGoogleBusinessReviewsResponse, error)
// GetGoogleBusinessServicesWithResponse request
GetGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessServicesParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessServicesResponse, error)
// UpdateGoogleBusinessServicesWithBodyWithResponse request with any body
UpdateGoogleBusinessServicesWithBodyWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessServicesResponse, error)
UpdateGoogleBusinessServicesWithResponse(ctx context.Context, accountId string, params *UpdateGoogleBusinessServicesParams, body UpdateGoogleBusinessServicesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessServicesResponse, error)
// GetAccountHealthWithResponse request
GetAccountHealthWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountHealthResponse, error)
// DeleteInstagramIceBreakersWithResponse request
DeleteInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteInstagramIceBreakersResponse, error)
// GetInstagramIceBreakersWithResponse request
GetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetInstagramIceBreakersResponse, error)
// SetInstagramIceBreakersWithBodyWithResponse request with any body
SetInstagramIceBreakersWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetInstagramIceBreakersResponse, error)
SetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetInstagramIceBreakersResponse, error)
// GetLinkedInAggregateAnalyticsWithResponse request
GetLinkedInAggregateAnalyticsWithResponse(ctx context.Context, accountId string, params *GetLinkedInAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInAggregateAnalyticsResponse, error)
// GetLinkedInMentionsWithResponse request
GetLinkedInMentionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInMentionsParams, reqEditors ...RequestEditorFn) (*GetLinkedInMentionsResponse, error)
// UpdateLinkedInOrganizationWithBodyWithResponse request with any body
UpdateLinkedInOrganizationWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateLinkedInOrganizationResponse, error)
UpdateLinkedInOrganizationWithResponse(ctx context.Context, accountId string, body UpdateLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateLinkedInOrganizationResponse, error)
// GetLinkedInOrganizationsWithResponse request
GetLinkedInOrganizationsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetLinkedInOrganizationsResponse, error)
// GetLinkedInPostAnalyticsWithResponse request
GetLinkedInPostAnalyticsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInPostAnalyticsResponse, error)
// GetLinkedInPostReactionsWithResponse request
GetLinkedInPostReactionsWithResponse(ctx context.Context, accountId string, params *GetLinkedInPostReactionsParams, reqEditors ...RequestEditorFn) (*GetLinkedInPostReactionsResponse, error)
// DeleteMessengerMenuWithResponse request
DeleteMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteMessengerMenuResponse, error)
// GetMessengerMenuWithResponse request
GetMessengerMenuWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetMessengerMenuResponse, error)
// SetMessengerMenuWithBodyWithResponse request with any body
SetMessengerMenuWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetMessengerMenuResponse, error)
SetMessengerMenuWithResponse(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessengerMenuResponse, error)
// GetPinterestBoardsWithResponse request
GetPinterestBoardsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetPinterestBoardsResponse, error)
// UpdatePinterestBoardsWithBodyWithResponse request with any body
UpdatePinterestBoardsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePinterestBoardsResponse, error)
UpdatePinterestBoardsWithResponse(ctx context.Context, accountId string, body UpdatePinterestBoardsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePinterestBoardsResponse, error)
// GetRedditFlairsWithResponse request
GetRedditFlairsWithResponse(ctx context.Context, accountId string, params *GetRedditFlairsParams, reqEditors ...RequestEditorFn) (*GetRedditFlairsResponse, error)
// GetRedditSubredditsWithResponse request
GetRedditSubredditsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetRedditSubredditsResponse, error)
// UpdateRedditSubredditsWithBodyWithResponse request with any body
UpdateRedditSubredditsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateRedditSubredditsResponse, error)
UpdateRedditSubredditsWithResponse(ctx context.Context, accountId string, body UpdateRedditSubredditsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateRedditSubredditsResponse, error)
// DeleteTelegramCommandsWithResponse request
DeleteTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteTelegramCommandsResponse, error)
// GetTelegramCommandsWithResponse request
GetTelegramCommandsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetTelegramCommandsResponse, error)
// SetTelegramCommandsWithBodyWithResponse request with any body
SetTelegramCommandsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetTelegramCommandsResponse, error)
SetTelegramCommandsWithResponse(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*SetTelegramCommandsResponse, error)
// GetTikTokCreatorInfoWithResponse request
GetTikTokCreatorInfoWithResponse(ctx context.Context, accountId string, params *GetTikTokCreatorInfoParams, reqEditors ...RequestEditorFn) (*GetTikTokCreatorInfoResponse, error)
// GetYoutubePlaylistsWithResponse request
GetYoutubePlaylistsWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetYoutubePlaylistsResponse, error)
// UpdateYoutubeDefaultPlaylistWithBodyWithResponse request with any body
UpdateYoutubeDefaultPlaylistWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateYoutubeDefaultPlaylistResponse, error)
UpdateYoutubeDefaultPlaylistWithResponse(ctx context.Context, accountId string, body UpdateYoutubeDefaultPlaylistJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateYoutubeDefaultPlaylistResponse, error)
// ListAdsWithResponse request
ListAdsWithResponse(ctx context.Context, params *ListAdsParams, reqEditors ...RequestEditorFn) (*ListAdsResponse, error)
// ListAdAccountsWithResponse request
ListAdAccountsWithResponse(ctx context.Context, params *ListAdAccountsParams, reqEditors ...RequestEditorFn) (*ListAdAccountsResponse, error)
// UpdateAdSetWithBodyWithResponse request with any body
UpdateAdSetWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdSetResponse, error)
UpdateAdSetWithResponse(ctx context.Context, adSetId string, body UpdateAdSetJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdSetResponse, error)
// UpdateAdSetStatusWithBodyWithResponse request with any body
UpdateAdSetStatusWithBodyWithResponse(ctx context.Context, adSetId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdSetStatusResponse, error)
UpdateAdSetStatusWithResponse(ctx context.Context, adSetId string, body UpdateAdSetStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdSetStatusResponse, error)
// ListAdAudiencesWithResponse request
ListAdAudiencesWithResponse(ctx context.Context, params *ListAdAudiencesParams, reqEditors ...RequestEditorFn) (*ListAdAudiencesResponse, error)
// CreateAdAudienceWithBodyWithResponse request with any body
CreateAdAudienceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAdAudienceResponse, error)
CreateAdAudienceWithResponse(ctx context.Context, body CreateAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAdAudienceResponse, error)
// DeleteAdAudienceWithResponse request
DeleteAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*DeleteAdAudienceResponse, error)
// GetAdAudienceWithResponse request
GetAdAudienceWithResponse(ctx context.Context, audienceId string, reqEditors ...RequestEditorFn) (*GetAdAudienceResponse, error)
// AddUsersToAdAudienceWithBodyWithResponse request with any body
AddUsersToAdAudienceWithBodyWithResponse(ctx context.Context, audienceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddUsersToAdAudienceResponse, error)
AddUsersToAdAudienceWithResponse(ctx context.Context, audienceId string, body AddUsersToAdAudienceJSONRequestBody, reqEditors ...RequestEditorFn) (*AddUsersToAdAudienceResponse, error)
// BoostPostWithBodyWithResponse request with any body
BoostPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BoostPostResponse, error)
BoostPostWithResponse(ctx context.Context, body BoostPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BoostPostResponse, error)
// ListAdsBusinessCentersWithResponse request
ListAdsBusinessCentersWithResponse(ctx context.Context, params *ListAdsBusinessCentersParams, reqEditors ...RequestEditorFn) (*ListAdsBusinessCentersResponse, error)
// ListAdCampaignsWithResponse request
ListAdCampaignsWithResponse(ctx context.Context, params *ListAdCampaignsParams, reqEditors ...RequestEditorFn) (*ListAdCampaignsResponse, error)
// BulkUpdateAdCampaignStatusWithBodyWithResponse request with any body
BulkUpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUpdateAdCampaignStatusResponse, error)
BulkUpdateAdCampaignStatusWithResponse(ctx context.Context, body BulkUpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkUpdateAdCampaignStatusResponse, error)
// DeleteAdCampaignWithBodyWithResponse request with any body
DeleteAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteAdCampaignResponse, error)
DeleteAdCampaignWithResponse(ctx context.Context, campaignId string, body DeleteAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteAdCampaignResponse, error)
// UpdateAdCampaignWithBodyWithResponse request with any body
UpdateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdCampaignResponse, error)
UpdateAdCampaignWithResponse(ctx context.Context, campaignId string, body UpdateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdCampaignResponse, error)
// DuplicateAdCampaignWithBodyWithResponse request with any body
DuplicateAdCampaignWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateAdCampaignResponse, error)
DuplicateAdCampaignWithResponse(ctx context.Context, campaignId string, body DuplicateAdCampaignJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateAdCampaignResponse, error)
// UpdateAdCampaignStatusWithBodyWithResponse request with any body
UpdateAdCampaignStatusWithBodyWithResponse(ctx context.Context, campaignId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdCampaignStatusResponse, error)
UpdateAdCampaignStatusWithResponse(ctx context.Context, campaignId string, body UpdateAdCampaignStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdCampaignStatusResponse, error)
// SendConversionsWithBodyWithResponse request with any body
SendConversionsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendConversionsResponse, error)
SendConversionsWithResponse(ctx context.Context, body SendConversionsJSONRequestBody, reqEditors ...RequestEditorFn) (*SendConversionsResponse, error)
// CreateStandaloneAdWithBodyWithResponse request with any body
CreateStandaloneAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateStandaloneAdResponse, error)
CreateStandaloneAdWithResponse(ctx context.Context, body CreateStandaloneAdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateStandaloneAdResponse, error)
// CreateCtwaAdWithBodyWithResponse request with any body
CreateCtwaAdWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCtwaAdResponse, error)
CreateCtwaAdWithResponse(ctx context.Context, body CreateCtwaAdJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCtwaAdResponse, error)
// SearchAdInterestsWithResponse request
SearchAdInterestsWithResponse(ctx context.Context, params *SearchAdInterestsParams, reqEditors ...RequestEditorFn) (*SearchAdInterestsResponse, error)
// GetAdTreeWithResponse request
GetAdTreeWithResponse(ctx context.Context, params *GetAdTreeParams, reqEditors ...RequestEditorFn) (*GetAdTreeResponse, error)
// DeleteAdWithResponse request
DeleteAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*DeleteAdResponse, error)
// GetAdWithResponse request
GetAdWithResponse(ctx context.Context, adId string, reqEditors ...RequestEditorFn) (*GetAdResponse, error)
// UpdateAdWithBodyWithResponse request with any body
UpdateAdWithBodyWithResponse(ctx context.Context, adId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAdResponse, error)
UpdateAdWithResponse(ctx context.Context, adId string, body UpdateAdJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAdResponse, error)
// GetAdAnalyticsWithResponse request
GetAdAnalyticsWithResponse(ctx context.Context, adId string, params *GetAdAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAdAnalyticsResponse, error)
// GetAdCommentsWithResponse request
GetAdCommentsWithResponse(ctx context.Context, adId string, params *GetAdCommentsParams, reqEditors ...RequestEditorFn) (*GetAdCommentsResponse, error)
// GetAnalyticsWithResponse request
GetAnalyticsWithResponse(ctx context.Context, params *GetAnalyticsParams, reqEditors ...RequestEditorFn) (*GetAnalyticsResponse, error)
// GetBestTimeToPostWithResponse request
GetBestTimeToPostWithResponse(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*GetBestTimeToPostResponse, error)
// GetContentDecayWithResponse request
GetContentDecayWithResponse(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*GetContentDecayResponse, error)
// GetDailyMetricsWithResponse request
GetDailyMetricsWithResponse(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*GetDailyMetricsResponse, error)
// GetFacebookPageInsightsWithResponse request
GetFacebookPageInsightsWithResponse(ctx context.Context, params *GetFacebookPageInsightsParams, reqEditors ...RequestEditorFn) (*GetFacebookPageInsightsResponse, error)
// GetGoogleBusinessPerformanceWithResponse request
GetGoogleBusinessPerformanceWithResponse(ctx context.Context, params *GetGoogleBusinessPerformanceParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessPerformanceResponse, error)
// GetGoogleBusinessSearchKeywordsWithResponse request
GetGoogleBusinessSearchKeywordsWithResponse(ctx context.Context, params *GetGoogleBusinessSearchKeywordsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessSearchKeywordsResponse, error)
// GetInstagramAccountInsightsWithResponse request
GetInstagramAccountInsightsWithResponse(ctx context.Context, params *GetInstagramAccountInsightsParams, reqEditors ...RequestEditorFn) (*GetInstagramAccountInsightsResponse, error)
// GetInstagramDemographicsWithResponse request
GetInstagramDemographicsWithResponse(ctx context.Context, params *GetInstagramDemographicsParams, reqEditors ...RequestEditorFn) (*GetInstagramDemographicsResponse, error)
// GetInstagramFollowerHistoryWithResponse request
GetInstagramFollowerHistoryWithResponse(ctx context.Context, params *GetInstagramFollowerHistoryParams, reqEditors ...RequestEditorFn) (*GetInstagramFollowerHistoryResponse, error)
// GetLinkedInOrgAggregateAnalyticsWithResponse request
GetLinkedInOrgAggregateAnalyticsWithResponse(ctx context.Context, params *GetLinkedInOrgAggregateAnalyticsParams, reqEditors ...RequestEditorFn) (*GetLinkedInOrgAggregateAnalyticsResponse, error)
// GetPostTimelineWithResponse request
GetPostTimelineWithResponse(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*GetPostTimelineResponse, error)
// GetPostingFrequencyWithResponse request
GetPostingFrequencyWithResponse(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*GetPostingFrequencyResponse, error)
// GetTikTokAccountInsightsWithResponse request
GetTikTokAccountInsightsWithResponse(ctx context.Context, params *GetTikTokAccountInsightsParams, reqEditors ...RequestEditorFn) (*GetTikTokAccountInsightsResponse, error)
// GetYouTubeChannelInsightsWithResponse request
GetYouTubeChannelInsightsWithResponse(ctx context.Context, params *GetYouTubeChannelInsightsParams, reqEditors ...RequestEditorFn) (*GetYouTubeChannelInsightsResponse, error)
// GetYouTubeDailyViewsWithResponse request
GetYouTubeDailyViewsWithResponse(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDailyViewsResponse, error)
// GetYouTubeDemographicsWithResponse request
GetYouTubeDemographicsWithResponse(ctx context.Context, params *GetYouTubeDemographicsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDemographicsResponse, error)
// ListApiKeysWithResponse request
ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)
// CreateApiKeyWithBodyWithResponse request with any body
CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyResponse, error)
// DeleteApiKeyWithResponse request
DeleteApiKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)
// ListBroadcastsWithResponse request
ListBroadcastsWithResponse(ctx context.Context, params *ListBroadcastsParams, reqEditors ...RequestEditorFn) (*ListBroadcastsResponse, error)
// CreateBroadcastWithBodyWithResponse request with any body
CreateBroadcastWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateBroadcastResponse, error)
CreateBroadcastWithResponse(ctx context.Context, body CreateBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateBroadcastResponse, error)
// DeleteBroadcastWithResponse request
DeleteBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*DeleteBroadcastResponse, error)
// GetBroadcastWithResponse request
GetBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*GetBroadcastResponse, error)
// UpdateBroadcastWithResponse request
UpdateBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*UpdateBroadcastResponse, error)
// CancelBroadcastWithResponse request
CancelBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*CancelBroadcastResponse, error)
// ListBroadcastRecipientsWithResponse request
ListBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, params *ListBroadcastRecipientsParams, reqEditors ...RequestEditorFn) (*ListBroadcastRecipientsResponse, error)
// AddBroadcastRecipientsWithBodyWithResponse request with any body
AddBroadcastRecipientsWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddBroadcastRecipientsResponse, error)
AddBroadcastRecipientsWithResponse(ctx context.Context, broadcastId string, body AddBroadcastRecipientsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddBroadcastRecipientsResponse, error)
// ScheduleBroadcastWithBodyWithResponse request with any body
ScheduleBroadcastWithBodyWithResponse(ctx context.Context, broadcastId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ScheduleBroadcastResponse, error)
ScheduleBroadcastWithResponse(ctx context.Context, broadcastId string, body ScheduleBroadcastJSONRequestBody, reqEditors ...RequestEditorFn) (*ScheduleBroadcastResponse, error)
// SendBroadcastWithResponse request
SendBroadcastWithResponse(ctx context.Context, broadcastId string, reqEditors ...RequestEditorFn) (*SendBroadcastResponse, error)
// ListCommentAutomationsWithResponse request
ListCommentAutomationsWithResponse(ctx context.Context, params *ListCommentAutomationsParams, reqEditors ...RequestEditorFn) (*ListCommentAutomationsResponse, error)
// CreateCommentAutomationWithBodyWithResponse request with any body
CreateCommentAutomationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCommentAutomationResponse, error)
CreateCommentAutomationWithResponse(ctx context.Context, body CreateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCommentAutomationResponse, error)
// DeleteCommentAutomationWithResponse request
DeleteCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*DeleteCommentAutomationResponse, error)
// GetCommentAutomationWithResponse request
GetCommentAutomationWithResponse(ctx context.Context, automationId string, reqEditors ...RequestEditorFn) (*GetCommentAutomationResponse, error)
// UpdateCommentAutomationWithBodyWithResponse request with any body
UpdateCommentAutomationWithBodyWithResponse(ctx context.Context, automationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCommentAutomationResponse, error)
UpdateCommentAutomationWithResponse(ctx context.Context, automationId string, body UpdateCommentAutomationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCommentAutomationResponse, error)
// ListCommentAutomationLogsWithResponse request
ListCommentAutomationLogsWithResponse(ctx context.Context, automationId string, params *ListCommentAutomationLogsParams, reqEditors ...RequestEditorFn) (*ListCommentAutomationLogsResponse, error)
// ConnectBlueskyCredentialsWithBodyWithResponse request with any body
ConnectBlueskyCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectBlueskyCredentialsResponse, error)
ConnectBlueskyCredentialsWithResponse(ctx context.Context, body ConnectBlueskyCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectBlueskyCredentialsResponse, error)
// ListFacebookPagesWithResponse request
ListFacebookPagesWithResponse(ctx context.Context, params *ListFacebookPagesParams, reqEditors ...RequestEditorFn) (*ListFacebookPagesResponse, error)
// SelectFacebookPageWithBodyWithResponse request with any body
SelectFacebookPageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectFacebookPageResponse, error)
SelectFacebookPageWithResponse(ctx context.Context, body SelectFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectFacebookPageResponse, error)
// ListGoogleBusinessLocationsWithResponse request
ListGoogleBusinessLocationsWithResponse(ctx context.Context, params *ListGoogleBusinessLocationsParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessLocationsResponse, error)
// SelectGoogleBusinessLocationWithBodyWithResponse request with any body
SelectGoogleBusinessLocationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectGoogleBusinessLocationResponse, error)
SelectGoogleBusinessLocationWithResponse(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectGoogleBusinessLocationResponse, error)
// ListLinkedInOrganizationsWithResponse request
ListLinkedInOrganizationsWithResponse(ctx context.Context, params *ListLinkedInOrganizationsParams, reqEditors ...RequestEditorFn) (*ListLinkedInOrganizationsResponse, error)
// SelectLinkedInOrganizationWithBodyWithResponse request with any body
SelectLinkedInOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectLinkedInOrganizationResponse, error)
SelectLinkedInOrganizationWithResponse(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectLinkedInOrganizationResponse, error)
// GetPendingOAuthDataWithResponse request
GetPendingOAuthDataWithResponse(ctx context.Context, params *GetPendingOAuthDataParams, reqEditors ...RequestEditorFn) (*GetPendingOAuthDataResponse, error)
// ListPinterestBoardsForSelectionWithResponse request
ListPinterestBoardsForSelectionWithResponse(ctx context.Context, params *ListPinterestBoardsForSelectionParams, reqEditors ...RequestEditorFn) (*ListPinterestBoardsForSelectionResponse, error)
// SelectPinterestBoardWithBodyWithResponse request with any body
SelectPinterestBoardWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectPinterestBoardResponse, error)
SelectPinterestBoardWithResponse(ctx context.Context, body SelectPinterestBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectPinterestBoardResponse, error)
// ListSnapchatProfilesWithResponse request
ListSnapchatProfilesWithResponse(ctx context.Context, params *ListSnapchatProfilesParams, reqEditors ...RequestEditorFn) (*ListSnapchatProfilesResponse, error)
// SelectSnapchatProfileWithBodyWithResponse request with any body
SelectSnapchatProfileWithBodyWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SelectSnapchatProfileResponse, error)
SelectSnapchatProfileWithResponse(ctx context.Context, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*SelectSnapchatProfileResponse, error)
// GetTelegramConnectStatusWithResponse request
GetTelegramConnectStatusWithResponse(ctx context.Context, params *GetTelegramConnectStatusParams, reqEditors ...RequestEditorFn) (*GetTelegramConnectStatusResponse, error)
// CompleteTelegramConnectWithResponse request
CompleteTelegramConnectWithResponse(ctx context.Context, params *CompleteTelegramConnectParams, reqEditors ...RequestEditorFn) (*CompleteTelegramConnectResponse, error)
// InitiateTelegramConnectWithBodyWithResponse request with any body
InitiateTelegramConnectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*InitiateTelegramConnectResponse, error)
InitiateTelegramConnectWithResponse(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*InitiateTelegramConnectResponse, error)
// ConnectWhatsAppCredentialsWithBodyWithResponse request with any body
ConnectWhatsAppCredentialsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ConnectWhatsAppCredentialsResponse, error)
ConnectWhatsAppCredentialsWithResponse(ctx context.Context, body ConnectWhatsAppCredentialsJSONRequestBody, reqEditors ...RequestEditorFn) (*ConnectWhatsAppCredentialsResponse, error)
// GetConnectUrlWithResponse request
GetConnectUrlWithResponse(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*GetConnectUrlResponse, error)
// HandleOAuthCallbackWithBodyWithResponse request with any body
HandleOAuthCallbackWithBodyWithResponse(ctx context.Context, platform string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HandleOAuthCallbackResponse, error)
HandleOAuthCallbackWithResponse(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, reqEditors ...RequestEditorFn) (*HandleOAuthCallbackResponse, error)
// ConnectAdsWithResponse request
ConnectAdsWithResponse(ctx context.Context, platform ConnectAdsParamsPlatform, params *ConnectAdsParams, reqEditors ...RequestEditorFn) (*ConnectAdsResponse, error)
// ListContactsWithResponse request
ListContactsWithResponse(ctx context.Context, params *ListContactsParams, reqEditors ...RequestEditorFn) (*ListContactsResponse, error)
// CreateContactWithBodyWithResponse request with any body
CreateContactWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
CreateContactWithResponse(ctx context.Context, body CreateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateContactResponse, error)
// BulkCreateContactsWithBodyWithResponse request with any body
BulkCreateContactsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkCreateContactsResponse, error)
BulkCreateContactsWithResponse(ctx context.Context, body BulkCreateContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*BulkCreateContactsResponse, error)
// DeleteContactWithResponse request
DeleteContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*DeleteContactResponse, error)
// GetContactWithResponse request
GetContactWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactResponse, error)
// UpdateContactWithBodyWithResponse request with any body
UpdateContactWithBodyWithResponse(ctx context.Context, contactId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
UpdateContactWithResponse(ctx context.Context, contactId string, body UpdateContactJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateContactResponse, error)
// GetContactChannelsWithResponse request
GetContactChannelsWithResponse(ctx context.Context, contactId string, reqEditors ...RequestEditorFn) (*GetContactChannelsResponse, error)
// ClearContactFieldValueWithResponse request
ClearContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, reqEditors ...RequestEditorFn) (*ClearContactFieldValueResponse, error)
// SetContactFieldValueWithBodyWithResponse request with any body
SetContactFieldValueWithBodyWithResponse(ctx context.Context, contactId string, slug string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SetContactFieldValueResponse, error)
SetContactFieldValueWithResponse(ctx context.Context, contactId string, slug string, body SetContactFieldValueJSONRequestBody, reqEditors ...RequestEditorFn) (*SetContactFieldValueResponse, error)
// ListCustomFieldsWithResponse request
ListCustomFieldsWithResponse(ctx context.Context, params *ListCustomFieldsParams, reqEditors ...RequestEditorFn) (*ListCustomFieldsResponse, error)
// CreateCustomFieldWithBodyWithResponse request with any body
CreateCustomFieldWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
CreateCustomFieldWithResponse(ctx context.Context, body CreateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomFieldResponse, error)
// DeleteCustomFieldWithResponse request
DeleteCustomFieldWithResponse(ctx context.Context, fieldId string, reqEditors ...RequestEditorFn) (*DeleteCustomFieldResponse, error)
// UpdateCustomFieldWithBodyWithResponse request with any body
UpdateCustomFieldWithBodyWithResponse(ctx context.Context, fieldId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
UpdateCustomFieldWithResponse(ctx context.Context, fieldId string, body UpdateCustomFieldJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomFieldResponse, error)
// ListInboxCommentsWithResponse request
ListInboxCommentsWithResponse(ctx context.Context, params *ListInboxCommentsParams, reqEditors ...RequestEditorFn) (*ListInboxCommentsResponse, error)
// DeleteInboxCommentWithResponse request
DeleteInboxCommentWithResponse(ctx context.Context, postId string, params *DeleteInboxCommentParams, reqEditors ...RequestEditorFn) (*DeleteInboxCommentResponse, error)
// GetInboxPostCommentsWithResponse request
GetInboxPostCommentsWithResponse(ctx context.Context, postId string, params *GetInboxPostCommentsParams, reqEditors ...RequestEditorFn) (*GetInboxPostCommentsResponse, error)
// ReplyToInboxPostWithBodyWithResponse request with any body
ReplyToInboxPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToInboxPostResponse, error)
ReplyToInboxPostWithResponse(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToInboxPostResponse, error)
// UnhideInboxCommentWithResponse request
UnhideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, params *UnhideInboxCommentParams, reqEditors ...RequestEditorFn) (*UnhideInboxCommentResponse, error)
// HideInboxCommentWithBodyWithResponse request with any body
HideInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*HideInboxCommentResponse, error)
HideInboxCommentWithResponse(ctx context.Context, postId string, commentId string, body HideInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*HideInboxCommentResponse, error)
// UnlikeInboxCommentWithResponse request
UnlikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, params *UnlikeInboxCommentParams, reqEditors ...RequestEditorFn) (*UnlikeInboxCommentResponse, error)
// LikeInboxCommentWithBodyWithResponse request with any body
LikeInboxCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LikeInboxCommentResponse, error)
LikeInboxCommentWithResponse(ctx context.Context, postId string, commentId string, body LikeInboxCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*LikeInboxCommentResponse, error)
// SendPrivateReplyToCommentWithBodyWithResponse request with any body
SendPrivateReplyToCommentWithBodyWithResponse(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendPrivateReplyToCommentResponse, error)
SendPrivateReplyToCommentWithResponse(ctx context.Context, postId string, commentId string, body SendPrivateReplyToCommentJSONRequestBody, reqEditors ...RequestEditorFn) (*SendPrivateReplyToCommentResponse, error)
// ListInboxConversationsWithResponse request
ListInboxConversationsWithResponse(ctx context.Context, params *ListInboxConversationsParams, reqEditors ...RequestEditorFn) (*ListInboxConversationsResponse, error)
// CreateInboxConversationWithBodyWithResponse request with any body
CreateInboxConversationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInboxConversationResponse, error)
CreateInboxConversationWithResponse(ctx context.Context, body CreateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInboxConversationResponse, error)
// GetInboxConversationWithResponse request
GetInboxConversationWithResponse(ctx context.Context, conversationId string, params *GetInboxConversationParams, reqEditors ...RequestEditorFn) (*GetInboxConversationResponse, error)
// UpdateInboxConversationWithBodyWithResponse request with any body
UpdateInboxConversationWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateInboxConversationResponse, error)
UpdateInboxConversationWithResponse(ctx context.Context, conversationId string, body UpdateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateInboxConversationResponse, error)
// GetInboxConversationMessagesWithResponse request
GetInboxConversationMessagesWithResponse(ctx context.Context, conversationId string, params *GetInboxConversationMessagesParams, reqEditors ...RequestEditorFn) (*GetInboxConversationMessagesResponse, error)
// SendInboxMessageWithBodyWithResponse request with any body
SendInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendInboxMessageResponse, error)
SendInboxMessageWithResponse(ctx context.Context, conversationId string, body SendInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendInboxMessageResponse, error)
// DeleteInboxMessageWithResponse request
DeleteInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, params *DeleteInboxMessageParams, reqEditors ...RequestEditorFn) (*DeleteInboxMessageResponse, error)
// EditInboxMessageWithBodyWithResponse request with any body
EditInboxMessageWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditInboxMessageResponse, error)
EditInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*EditInboxMessageResponse, error)
// RemoveMessageReactionWithResponse request
RemoveMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, params *RemoveMessageReactionParams, reqEditors ...RequestEditorFn) (*RemoveMessageReactionResponse, error)
// AddMessageReactionWithBodyWithResponse request with any body
AddMessageReactionWithBodyWithResponse(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddMessageReactionResponse, error)
AddMessageReactionWithResponse(ctx context.Context, conversationId string, messageId string, body AddMessageReactionJSONRequestBody, reqEditors ...RequestEditorFn) (*AddMessageReactionResponse, error)
// SendTypingIndicatorWithBodyWithResponse request with any body
SendTypingIndicatorWithBodyWithResponse(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendTypingIndicatorResponse, error)
SendTypingIndicatorWithResponse(ctx context.Context, conversationId string, body SendTypingIndicatorJSONRequestBody, reqEditors ...RequestEditorFn) (*SendTypingIndicatorResponse, error)
// ListInboxReviewsWithResponse request
ListInboxReviewsWithResponse(ctx context.Context, params *ListInboxReviewsParams, reqEditors ...RequestEditorFn) (*ListInboxReviewsResponse, error)
// DeleteInboxReviewReplyWithBodyWithResponse request with any body
DeleteInboxReviewReplyWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteInboxReviewReplyResponse, error)
DeleteInboxReviewReplyWithResponse(ctx context.Context, reviewId string, body DeleteInboxReviewReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteInboxReviewReplyResponse, error)
// ReplyToInboxReviewWithBodyWithResponse request with any body
ReplyToInboxReviewWithBodyWithResponse(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplyToInboxReviewResponse, error)
ReplyToInboxReviewWithResponse(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplyToInboxReviewResponse, error)
// CreateInviteTokenWithBodyWithResponse request with any body
CreateInviteTokenWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateInviteTokenResponse, error)
CreateInviteTokenWithResponse(ctx context.Context, body CreateInviteTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateInviteTokenResponse, error)
// ListLogsWithResponse request
ListLogsWithResponse(ctx context.Context, params *ListLogsParams, reqEditors ...RequestEditorFn) (*ListLogsResponse, error)
// GetMediaPresignedUrlWithBodyWithResponse request with any body
GetMediaPresignedUrlWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*GetMediaPresignedUrlResponse, error)
GetMediaPresignedUrlWithResponse(ctx context.Context, body GetMediaPresignedUrlJSONRequestBody, reqEditors ...RequestEditorFn) (*GetMediaPresignedUrlResponse, error)
// UploadMediaDirectWithBodyWithResponse request with any body
UploadMediaDirectWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadMediaDirectResponse, error)
// ListPostsWithResponse request
ListPostsWithResponse(ctx context.Context, params *ListPostsParams, reqEditors ...RequestEditorFn) (*ListPostsResponse, error)
// CreatePostWithBodyWithResponse request with any body
CreatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePostResponse, error)
CreatePostWithResponse(ctx context.Context, body CreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePostResponse, error)
// BulkUploadPostsWithBodyWithResponse request with any body
BulkUploadPostsWithBodyWithResponse(ctx context.Context, params *BulkUploadPostsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BulkUploadPostsResponse, error)
// DeletePostWithResponse request
DeletePostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*DeletePostResponse, error)
// GetPostWithResponse request
GetPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*GetPostResponse, error)
// UpdatePostWithBodyWithResponse request with any body
UpdatePostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostResponse, error)
UpdatePostWithResponse(ctx context.Context, postId string, body UpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostResponse, error)
// EditPostWithBodyWithResponse request with any body
EditPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EditPostResponse, error)
EditPostWithResponse(ctx context.Context, postId string, body EditPostJSONRequestBody, reqEditors ...RequestEditorFn) (*EditPostResponse, error)
// RetryPostWithResponse request
RetryPostWithResponse(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*RetryPostResponse, error)
// UnpublishPostWithBodyWithResponse request with any body
UnpublishPostWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UnpublishPostResponse, error)
UnpublishPostWithResponse(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*UnpublishPostResponse, error)
// UpdatePostMetadataWithBodyWithResponse request with any body
UpdatePostMetadataWithBodyWithResponse(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePostMetadataResponse, error)
UpdatePostMetadataWithResponse(ctx context.Context, postId string, body UpdatePostMetadataJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePostMetadataResponse, error)
// ListProfilesWithResponse request
ListProfilesWithResponse(ctx context.Context, params *ListProfilesParams, reqEditors ...RequestEditorFn) (*ListProfilesResponse, error)
// CreateProfileWithBodyWithResponse request with any body
CreateProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateProfileResponse, error)
CreateProfileWithResponse(ctx context.Context, body CreateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateProfileResponse, error)
// DeleteProfileWithResponse request
DeleteProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*DeleteProfileResponse, error)
// GetProfileWithResponse request
GetProfileWithResponse(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*GetProfileResponse, error)
// UpdateProfileWithBodyWithResponse request with any body
UpdateProfileWithBodyWithResponse(ctx context.Context, profileId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateProfileResponse, error)
UpdateProfileWithResponse(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateProfileResponse, error)
// GetNextQueueSlotWithResponse request
GetNextQueueSlotWithResponse(ctx context.Context, params *GetNextQueueSlotParams, reqEditors ...RequestEditorFn) (*GetNextQueueSlotResponse, error)
// PreviewQueueWithResponse request
PreviewQueueWithResponse(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*PreviewQueueResponse, error)
// DeleteQueueSlotWithResponse request
DeleteQueueSlotWithResponse(ctx context.Context, params *DeleteQueueSlotParams, reqEditors ...RequestEditorFn) (*DeleteQueueSlotResponse, error)
// ListQueueSlotsWithResponse request
ListQueueSlotsWithResponse(ctx context.Context, params *ListQueueSlotsParams, reqEditors ...RequestEditorFn) (*ListQueueSlotsResponse, error)
// CreateQueueSlotWithBodyWithResponse request with any body
CreateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateQueueSlotResponse, error)
CreateQueueSlotWithResponse(ctx context.Context, body CreateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateQueueSlotResponse, error)
// UpdateQueueSlotWithBodyWithResponse request with any body
UpdateQueueSlotWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateQueueSlotResponse, error)
UpdateQueueSlotWithResponse(ctx context.Context, body UpdateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateQueueSlotResponse, error)
// GetRedditFeedWithResponse request
GetRedditFeedWithResponse(ctx context.Context, params *GetRedditFeedParams, reqEditors ...RequestEditorFn) (*GetRedditFeedResponse, error)
// SearchRedditWithResponse request
SearchRedditWithResponse(ctx context.Context, params *SearchRedditParams, reqEditors ...RequestEditorFn) (*SearchRedditResponse, error)
// ListSequencesWithResponse request
ListSequencesWithResponse(ctx context.Context, params *ListSequencesParams, reqEditors ...RequestEditorFn) (*ListSequencesResponse, error)
// CreateSequenceWithBodyWithResponse request with any body
CreateSequenceWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSequenceResponse, error)
CreateSequenceWithResponse(ctx context.Context, body CreateSequenceJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSequenceResponse, error)
// DeleteSequenceWithResponse request
DeleteSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*DeleteSequenceResponse, error)
// GetSequenceWithResponse request
GetSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*GetSequenceResponse, error)
// UpdateSequenceWithResponse request
UpdateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*UpdateSequenceResponse, error)
// ActivateSequenceWithResponse request
ActivateSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*ActivateSequenceResponse, error)
// EnrollContactsWithBodyWithResponse request with any body
EnrollContactsWithBodyWithResponse(ctx context.Context, sequenceId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*EnrollContactsResponse, error)
EnrollContactsWithResponse(ctx context.Context, sequenceId string, body EnrollContactsJSONRequestBody, reqEditors ...RequestEditorFn) (*EnrollContactsResponse, error)
// UnenrollContactWithResponse request
UnenrollContactWithResponse(ctx context.Context, sequenceId string, contactId string, reqEditors ...RequestEditorFn) (*UnenrollContactResponse, error)
// ListSequenceEnrollmentsWithResponse request
ListSequenceEnrollmentsWithResponse(ctx context.Context, sequenceId string, params *ListSequenceEnrollmentsParams, reqEditors ...RequestEditorFn) (*ListSequenceEnrollmentsResponse, error)
// PauseSequenceWithResponse request
PauseSequenceWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*PauseSequenceResponse, error)
// ValidateMediaWithBodyWithResponse request with any body
ValidateMediaWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidateMediaResponse, error)
ValidateMediaWithResponse(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateMediaResponse, error)
// ValidatePostWithBodyWithResponse request with any body
ValidatePostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidatePostResponse, error)
ValidatePostWithResponse(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostResponse, error)
// ValidatePostLengthWithBodyWithResponse request with any body
ValidatePostLengthWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ValidatePostLengthResponse, error)
ValidatePostLengthWithResponse(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostLengthResponse, error)
// ValidateSubredditWithResponse request
ValidateSubredditWithResponse(ctx context.Context, params *ValidateSubredditParams, reqEditors ...RequestEditorFn) (*ValidateSubredditResponse, error)
// RemoveBookmarkWithResponse request
RemoveBookmarkWithResponse(ctx context.Context, params *RemoveBookmarkParams, reqEditors ...RequestEditorFn) (*RemoveBookmarkResponse, error)
// BookmarkPostWithBodyWithResponse request with any body
BookmarkPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*BookmarkPostResponse, error)
BookmarkPostWithResponse(ctx context.Context, body BookmarkPostJSONRequestBody, reqEditors ...RequestEditorFn) (*BookmarkPostResponse, error)
// UnfollowUserWithResponse request
UnfollowUserWithResponse(ctx context.Context, params *UnfollowUserParams, reqEditors ...RequestEditorFn) (*UnfollowUserResponse, error)
// FollowUserWithBodyWithResponse request with any body
FollowUserWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FollowUserResponse, error)
FollowUserWithResponse(ctx context.Context, body FollowUserJSONRequestBody, reqEditors ...RequestEditorFn) (*FollowUserResponse, error)
// UndoRetweetWithResponse request
UndoRetweetWithResponse(ctx context.Context, params *UndoRetweetParams, reqEditors ...RequestEditorFn) (*UndoRetweetResponse, error)
// RetweetPostWithBodyWithResponse request with any body
RetweetPostWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RetweetPostResponse, error)
RetweetPostWithResponse(ctx context.Context, body RetweetPostJSONRequestBody, reqEditors ...RequestEditorFn) (*RetweetPostResponse, error)
// GetUsageStatsWithResponse request
GetUsageStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetUsageStatsResponse, error)
// ListUsersWithResponse request
ListUsersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListUsersResponse, error)
// GetUserWithResponse request
GetUserWithResponse(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*GetUserResponse, error)
// DeleteWebhookSettingsWithResponse request
DeleteWebhookSettingsWithResponse(ctx context.Context, params *DeleteWebhookSettingsParams, reqEditors ...RequestEditorFn) (*DeleteWebhookSettingsResponse, error)
// GetWebhookSettingsWithResponse request
GetWebhookSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookSettingsResponse, error)
// CreateWebhookSettingsWithBodyWithResponse request with any body
CreateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookSettingsResponse, error)
CreateWebhookSettingsWithResponse(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookSettingsResponse, error)
// UpdateWebhookSettingsWithBodyWithResponse request with any body
UpdateWebhookSettingsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWebhookSettingsResponse, error)
UpdateWebhookSettingsWithResponse(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWebhookSettingsResponse, error)
// TestWebhookWithBodyWithResponse request with any body
TestWebhookWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
TestWebhookWithResponse(ctx context.Context, body TestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*TestWebhookResponse, error)
// GetWhatsAppBusinessProfileWithResponse request
GetWhatsAppBusinessProfileWithResponse(ctx context.Context, params *GetWhatsAppBusinessProfileParams, reqEditors ...RequestEditorFn) (*GetWhatsAppBusinessProfileResponse, error)
// UpdateWhatsAppBusinessProfileWithBodyWithResponse request with any body
UpdateWhatsAppBusinessProfileWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppBusinessProfileResponse, error)
UpdateWhatsAppBusinessProfileWithResponse(ctx context.Context, body UpdateWhatsAppBusinessProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppBusinessProfileResponse, error)
// GetWhatsAppDisplayNameWithResponse request
GetWhatsAppDisplayNameWithResponse(ctx context.Context, params *GetWhatsAppDisplayNameParams, reqEditors ...RequestEditorFn) (*GetWhatsAppDisplayNameResponse, error)
// UpdateWhatsAppDisplayNameWithBodyWithResponse request with any body
UpdateWhatsAppDisplayNameWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppDisplayNameResponse, error)
UpdateWhatsAppDisplayNameWithResponse(ctx context.Context, body UpdateWhatsAppDisplayNameJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppDisplayNameResponse, error)
// UploadWhatsAppProfilePhotoWithBodyWithResponse request with any body
UploadWhatsAppProfilePhotoWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWhatsAppProfilePhotoResponse, error)
// SendWhatsAppConversionWithBodyWithResponse request with any body
SendWhatsAppConversionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendWhatsAppConversionResponse, error)
SendWhatsAppConversionWithResponse(ctx context.Context, body SendWhatsAppConversionJSONRequestBody, reqEditors ...RequestEditorFn) (*SendWhatsAppConversionResponse, error)
// ListWhatsAppFlowsWithResponse request
ListWhatsAppFlowsWithResponse(ctx context.Context, params *ListWhatsAppFlowsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppFlowsResponse, error)
// CreateWhatsAppFlowWithBodyWithResponse request with any body
CreateWhatsAppFlowWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppFlowResponse, error)
CreateWhatsAppFlowWithResponse(ctx context.Context, body CreateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppFlowResponse, error)
// SendWhatsAppFlowMessageWithBodyWithResponse request with any body
SendWhatsAppFlowMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendWhatsAppFlowMessageResponse, error)
SendWhatsAppFlowMessageWithResponse(ctx context.Context, body SendWhatsAppFlowMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendWhatsAppFlowMessageResponse, error)
// DeleteWhatsAppFlowWithResponse request
DeleteWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *DeleteWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppFlowResponse, error)
// GetWhatsAppFlowWithResponse request
GetWhatsAppFlowWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowParams, reqEditors ...RequestEditorFn) (*GetWhatsAppFlowResponse, error)
// UpdateWhatsAppFlowWithBodyWithResponse request with any body
UpdateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppFlowResponse, error)
UpdateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body UpdateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppFlowResponse, error)
// DeprecateWhatsAppFlowWithBodyWithResponse request with any body
DeprecateWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeprecateWhatsAppFlowResponse, error)
DeprecateWhatsAppFlowWithResponse(ctx context.Context, flowId string, body DeprecateWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*DeprecateWhatsAppFlowResponse, error)
// GetWhatsAppFlowJsonWithResponse request
GetWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, params *GetWhatsAppFlowJsonParams, reqEditors ...RequestEditorFn) (*GetWhatsAppFlowJsonResponse, error)
// UploadWhatsAppFlowJsonWithBodyWithResponse request with any body
UploadWhatsAppFlowJsonWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWhatsAppFlowJsonResponse, error)
UploadWhatsAppFlowJsonWithResponse(ctx context.Context, flowId string, body UploadWhatsAppFlowJsonJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWhatsAppFlowJsonResponse, error)
// PublishWhatsAppFlowWithBodyWithResponse request with any body
PublishWhatsAppFlowWithBodyWithResponse(ctx context.Context, flowId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PublishWhatsAppFlowResponse, error)
PublishWhatsAppFlowWithResponse(ctx context.Context, flowId string, body PublishWhatsAppFlowJSONRequestBody, reqEditors ...RequestEditorFn) (*PublishWhatsAppFlowResponse, error)
// GetWhatsAppPhoneNumbersWithResponse request
GetWhatsAppPhoneNumbersWithResponse(ctx context.Context, params *GetWhatsAppPhoneNumbersParams, reqEditors ...RequestEditorFn) (*GetWhatsAppPhoneNumbersResponse, error)
// PurchaseWhatsAppPhoneNumberWithBodyWithResponse request with any body
PurchaseWhatsAppPhoneNumberWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PurchaseWhatsAppPhoneNumberResponse, error)
PurchaseWhatsAppPhoneNumberWithResponse(ctx context.Context, body PurchaseWhatsAppPhoneNumberJSONRequestBody, reqEditors ...RequestEditorFn) (*PurchaseWhatsAppPhoneNumberResponse, error)
// ReleaseWhatsAppPhoneNumberWithResponse request
ReleaseWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*ReleaseWhatsAppPhoneNumberResponse, error)
// GetWhatsAppPhoneNumberWithResponse request
GetWhatsAppPhoneNumberWithResponse(ctx context.Context, phoneNumberId string, reqEditors ...RequestEditorFn) (*GetWhatsAppPhoneNumberResponse, error)
// GetWhatsAppTemplatesWithResponse request
GetWhatsAppTemplatesWithResponse(ctx context.Context, params *GetWhatsAppTemplatesParams, reqEditors ...RequestEditorFn) (*GetWhatsAppTemplatesResponse, error)
// CreateWhatsAppTemplateWithBodyWithResponse request with any body
CreateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppTemplateResponse, error)
CreateWhatsAppTemplateWithResponse(ctx context.Context, body CreateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppTemplateResponse, error)
// DeleteWhatsAppTemplateWithResponse request
DeleteWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *DeleteWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppTemplateResponse, error)
// GetWhatsAppTemplateWithResponse request
GetWhatsAppTemplateWithResponse(ctx context.Context, templateName string, params *GetWhatsAppTemplateParams, reqEditors ...RequestEditorFn) (*GetWhatsAppTemplateResponse, error)
// UpdateWhatsAppTemplateWithBodyWithResponse request with any body
UpdateWhatsAppTemplateWithBodyWithResponse(ctx context.Context, templateName string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppTemplateResponse, error)
UpdateWhatsAppTemplateWithResponse(ctx context.Context, templateName string, body UpdateWhatsAppTemplateJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppTemplateResponse, error)
// ListWhatsAppGroupChatsWithResponse request
ListWhatsAppGroupChatsWithResponse(ctx context.Context, params *ListWhatsAppGroupChatsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppGroupChatsResponse, error)
// CreateWhatsAppGroupChatWithBodyWithResponse request with any body
CreateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupChatResponse, error)
CreateWhatsAppGroupChatWithResponse(ctx context.Context, body CreateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupChatResponse, error)
// DeleteWhatsAppGroupChatWithResponse request
DeleteWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *DeleteWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*DeleteWhatsAppGroupChatResponse, error)
// GetWhatsAppGroupChatWithResponse request
GetWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *GetWhatsAppGroupChatParams, reqEditors ...RequestEditorFn) (*GetWhatsAppGroupChatResponse, error)
// UpdateWhatsAppGroupChatWithBodyWithResponse request with any body
UpdateWhatsAppGroupChatWithBodyWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWhatsAppGroupChatResponse, error)
UpdateWhatsAppGroupChatWithResponse(ctx context.Context, groupId string, params *UpdateWhatsAppGroupChatParams, body UpdateWhatsAppGroupChatJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWhatsAppGroupChatResponse, error)
// CreateWhatsAppGroupInviteLinkWithResponse request
CreateWhatsAppGroupInviteLinkWithResponse(ctx context.Context, groupId string, params *CreateWhatsAppGroupInviteLinkParams, reqEditors ...RequestEditorFn) (*CreateWhatsAppGroupInviteLinkResponse, error)
// RejectWhatsAppGroupJoinRequestsWithBodyWithResponse request with any body
RejectWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RejectWhatsAppGroupJoinRequestsResponse, error)
RejectWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *RejectWhatsAppGroupJoinRequestsParams, body RejectWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*RejectWhatsAppGroupJoinRequestsResponse, error)
// ListWhatsAppGroupJoinRequestsWithResponse request
ListWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *ListWhatsAppGroupJoinRequestsParams, reqEditors ...RequestEditorFn) (*ListWhatsAppGroupJoinRequestsResponse, error)
// ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse request with any body
ApproveWhatsAppGroupJoinRequestsWithBodyWithResponse(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
ApproveWhatsAppGroupJoinRequestsWithResponse(ctx context.Context, groupId string, params *ApproveWhatsAppGroupJoinRequestsParams, body ApproveWhatsAppGroupJoinRequestsJSONRequestBody, reqEditors ...RequestEditorFn) (*ApproveWhatsAppGroupJoinRequestsResponse, error)
// RemoveWhatsAppGroupParticipantsWithBodyWithResponse request with any body
RemoveWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RemoveWhatsAppGroupParticipantsResponse, error)
RemoveWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, params *RemoveWhatsAppGroupParticipantsParams, body RemoveWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*RemoveWhatsAppGroupParticipantsResponse, error)
// AddWhatsAppGroupParticipantsWithBodyWithResponse request with any body
AddWhatsAppGroupParticipantsWithBodyWithResponse(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*AddWhatsAppGroupParticipantsResponse, error)
AddWhatsAppGroupParticipantsWithResponse(ctx context.Context, groupId string, params *AddWhatsAppGroupParticipantsParams, body AddWhatsAppGroupParticipantsJSONRequestBody, reqEditors ...RequestEditorFn) (*AddWhatsAppGroupParticipantsResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type CompleteTelegramConnect2000 ¶
type CompleteTelegramConnect2000 struct {
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// ExpiresIn Seconds until expiration
ExpiresIn *int `json:"expiresIn,omitempty"`
Status *CompleteTelegramConnect2000Status `json:"status,omitempty"`
}
type CompleteTelegramConnect2000Status ¶
type CompleteTelegramConnect2000Status string
type CompleteTelegramConnect2001 ¶
type CompleteTelegramConnect2001 struct {
Account *struct {
UnderscoreId *string `json:"_id,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Platform *string `json:"platform,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
ChatId *string `json:"chatId,omitempty"`
ChatTitle *string `json:"chatTitle,omitempty"`
ChatType *CompleteTelegramConnect2001ChatType `json:"chatType,omitempty"`
Status *CompleteTelegramConnect2001Status `json:"status,omitempty"`
}
type CompleteTelegramConnect2001ChatType ¶
type CompleteTelegramConnect2001ChatType string
type CompleteTelegramConnect2001Status ¶
type CompleteTelegramConnect2001Status string
type CompleteTelegramConnect2002 ¶
type CompleteTelegramConnect2002 struct {
Message *string `json:"message,omitempty"`
Status *CompleteTelegramConnect2002Status `json:"status,omitempty"`
}
type CompleteTelegramConnect2002Status ¶
type CompleteTelegramConnect2002Status string
type CompleteTelegramConnectParams ¶
type CompleteTelegramConnectParams struct {
// Code The access code to check status for
Code string `form:"code" json:"code"`
}
CompleteTelegramConnectParams defines parameters for CompleteTelegramConnect.
type CompleteTelegramConnectResponse ¶
type CompleteTelegramConnectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *Unauthorized
}
func ParseCompleteTelegramConnectResponse ¶
func ParseCompleteTelegramConnectResponse(rsp *http.Response) (*CompleteTelegramConnectResponse, error)
ParseCompleteTelegramConnectResponse parses an HTTP response from a CompleteTelegramConnectWithResponse call
func (CompleteTelegramConnectResponse) Status ¶
func (r CompleteTelegramConnectResponse) Status() string
Status returns HTTPResponse.Status
func (CompleteTelegramConnectResponse) StatusCode ¶
func (r CompleteTelegramConnectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectAds2000 ¶ added in v0.0.125
type ConnectAds2001 ¶ added in v0.0.125
type ConnectAdsParams ¶ added in v0.0.125
type ConnectAdsParams struct {
// ProfileId Your Zernio profile ID
ProfileId string `form:"profileId" json:"profileId"`
// AccountId Existing SocialAccount ID. Required for separate-token platforms (tiktok, twitter). Ignored for same-token and standalone platforms.
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// RedirectUrl Custom redirect URL after OAuth completes (same-token platforms only)
RedirectUrl *string `form:"redirect_url,omitempty" json:"redirect_url,omitempty"`
// Headless Enable headless mode (same-token platforms only)
Headless *bool `form:"headless,omitempty" json:"headless,omitempty"`
}
ConnectAdsParams defines parameters for ConnectAds.
type ConnectAdsParamsPlatform ¶ added in v0.0.125
type ConnectAdsParamsPlatform string
ConnectAdsParamsPlatform defines parameters for ConnectAds.
const ( ConnectAdsParamsPlatformFacebook ConnectAdsParamsPlatform = "facebook" ConnectAdsParamsPlatformGoogleads ConnectAdsParamsPlatform = "googleads" ConnectAdsParamsPlatformInstagram ConnectAdsParamsPlatform = "instagram" ConnectAdsParamsPlatformLinkedin ConnectAdsParamsPlatform = "linkedin" ConnectAdsParamsPlatformPinterest ConnectAdsParamsPlatform = "pinterest" ConnectAdsParamsPlatformTiktok ConnectAdsParamsPlatform = "tiktok" ConnectAdsParamsPlatformTwitter ConnectAdsParamsPlatform = "twitter" )
Defines values for ConnectAdsParamsPlatform.
func (ConnectAdsParamsPlatform) Valid ¶ added in v0.0.125
func (e ConnectAdsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ConnectAdsParamsPlatform enum.
type ConnectAdsResponse ¶ added in v0.0.125
type ConnectAdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *Unauthorized
}
func ParseConnectAdsResponse ¶ added in v0.0.125
func ParseConnectAdsResponse(rsp *http.Response) (*ConnectAdsResponse, error)
ParseConnectAdsResponse parses an HTTP response from a ConnectAdsWithResponse call
func (ConnectAdsResponse) Status ¶ added in v0.0.125
func (r ConnectAdsResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectAdsResponse) StatusCode ¶ added in v0.0.125
func (r ConnectAdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectBlueskyCredentialsJSONBody ¶
type ConnectBlueskyCredentialsJSONBody struct {
// AppPassword App password generated from Bluesky Settings > App Passwords
AppPassword string `json:"appPassword"`
// Identifier Your Bluesky handle (e.g. user.bsky.social) or email address
Identifier string `json:"identifier"`
// RedirectUri Optional URL to redirect to after successful connection
RedirectUri *string `json:"redirectUri,omitempty"`
// State Required state formatted as {userId}-{profileId}. Get userId from GET /v1/users and profileId from GET /v1/profiles.
State string `json:"state"`
}
ConnectBlueskyCredentialsJSONBody defines parameters for ConnectBlueskyCredentials.
type ConnectBlueskyCredentialsJSONRequestBody ¶
type ConnectBlueskyCredentialsJSONRequestBody ConnectBlueskyCredentialsJSONBody
ConnectBlueskyCredentialsJSONRequestBody defines body for ConnectBlueskyCredentials for application/json ContentType.
type ConnectBlueskyCredentialsResponse ¶
type ConnectBlueskyCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *SocialAccount `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseConnectBlueskyCredentialsResponse ¶
func ParseConnectBlueskyCredentialsResponse(rsp *http.Response) (*ConnectBlueskyCredentialsResponse, error)
ParseConnectBlueskyCredentialsResponse parses an HTTP response from a ConnectBlueskyCredentialsWithResponse call
func (ConnectBlueskyCredentialsResponse) Status ¶
func (r ConnectBlueskyCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectBlueskyCredentialsResponse) StatusCode ¶
func (r ConnectBlueskyCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConnectWhatsAppCredentials200AccountPlatform ¶
type ConnectWhatsAppCredentials200AccountPlatform string
type ConnectWhatsAppCredentialsJSONBody ¶
type ConnectWhatsAppCredentialsJSONBody struct {
// AccessToken Permanent System User access token from Meta Business Suite
AccessToken string `json:"accessToken"`
// PhoneNumberId Phone Number ID from Meta WhatsApp Manager
PhoneNumberId string `json:"phoneNumberId"`
// ProfileId Your Zernio profile ID
ProfileId string `json:"profileId"`
// WabaId WhatsApp Business Account ID from Meta
WabaId string `json:"wabaId"`
}
ConnectWhatsAppCredentialsJSONBody defines parameters for ConnectWhatsAppCredentials.
type ConnectWhatsAppCredentialsJSONRequestBody ¶
type ConnectWhatsAppCredentialsJSONRequestBody ConnectWhatsAppCredentialsJSONBody
ConnectWhatsAppCredentialsJSONRequestBody defines body for ConnectWhatsAppCredentials for application/json ContentType.
type ConnectWhatsAppCredentialsResponse ¶
type ConnectWhatsAppCredentialsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
AccountId *string `json:"accountId,omitempty"`
// DisplayName Meta-verified business name
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *ConnectWhatsAppCredentials200AccountPlatform `json:"platform,omitempty"`
// SelectedPhoneNumber The connected phone number
SelectedPhoneNumber *string `json:"selectedPhoneNumber,omitempty"`
// Username Display phone number
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
}
func ParseConnectWhatsAppCredentialsResponse ¶
func ParseConnectWhatsAppCredentialsResponse(rsp *http.Response) (*ConnectWhatsAppCredentialsResponse, error)
ParseConnectWhatsAppCredentialsResponse parses an HTTP response from a ConnectWhatsAppCredentialsWithResponse call
func (ConnectWhatsAppCredentialsResponse) Status ¶
func (r ConnectWhatsAppCredentialsResponse) Status() string
Status returns HTTPResponse.Status
func (ConnectWhatsAppCredentialsResponse) StatusCode ¶
func (r ConnectWhatsAppCredentialsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ConversionEvent ¶ added in v0.0.149
type ConversionEvent struct {
// ActionSource Where the conversion happened. Used by Meta; Google ignores.
ActionSource *ConversionEventActionSource `json:"actionSource,omitempty"`
// Currency ISO 4217 currency code.
Currency *string `json:"currency,omitempty"`
// EventId Unique dedup key. The same eventId must be used on pixel + CAPI
// to prevent double-counting. Mapped to event_id on Meta and
// transactionId on Google.
EventId string `json:"eventId"`
// EventName Standard event name (Purchase, Lead, CompleteRegistration, AddToCart,
// InitiateCheckout, AddPaymentInfo, Subscribe, StartTrial, ViewContent,
// Search, Contact, SubmitApplication, Schedule) or a custom string
// (only supported on platforms that accept custom events).
EventName string `json:"eventName"`
// EventTime When the conversion happened, in unix seconds.
EventTime int `json:"eventTime"`
// Items Item-level detail for ecommerce events.
Items *[]struct {
Category *string `json:"category,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Price *float32 `json:"price,omitempty"`
Quantity *int `json:"quantity,omitempty"`
} `json:"items,omitempty"`
// PlatformData Escape hatch for platform-specific fields we haven't normalized. Forwarded as-is.
PlatformData *map[string]interface{} `json:"platformData,omitempty"`
// SourceUrl URL where the conversion originated (used by Meta).
SourceUrl *string `json:"sourceUrl,omitempty"`
// User User identity fields. More signals mean higher match rates.
User struct {
// ClickIds Platform click identifiers captured from the originating ad click.
ClickIds *struct {
// Fbc Meta click ID (from fbclid URL param).
Fbc *string `json:"fbc,omitempty"`
// Fbp Meta browser ID (_fbp cookie).
Fbp *string `json:"fbp,omitempty"`
// Gbraid Google iOS 14.5+ app attribution ID.
Gbraid *string `json:"gbraid,omitempty"`
// Gclid Google click ID (from gclid URL param).
Gclid *string `json:"gclid,omitempty"`
// Wbraid Google iOS 14.5+ web-to-app attribution ID.
Wbraid *string `json:"wbraid,omitempty"`
} `json:"clickIds,omitempty"`
// Country ISO 3166-1 alpha-2 country code, e.g. 'us'.
Country *string `json:"country,omitempty"`
// Email Plaintext email. Hashed server-side.
Email *string `json:"email,omitempty"`
// ExternalId Stable customer identifier (e.g. CRM user ID). Hashed server-side.
ExternalId *string `json:"externalId,omitempty"`
// FirstName Plaintext first name. Hashed server-side.
FirstName *string `json:"firstName,omitempty"`
// IpAddress Client IP address. Sent plaintext.
IpAddress *string `json:"ipAddress,omitempty"`
// LastName Plaintext last name. Hashed server-side.
LastName *string `json:"lastName,omitempty"`
// Phone Phone number, ideally E.164. Hashed server-side.
Phone *string `json:"phone,omitempty"`
// UserAgent Client user-agent string. Sent plaintext.
UserAgent *string `json:"userAgent,omitempty"`
} `json:"user"`
// Value Conversion value in the specified currency.
Value *float32 `json:"value,omitempty"`
}
ConversionEvent A single conversion event to relay to the ad platform. All PII fields (email, phone, names) are hashed with SHA-256 server-side using each platform's normalization rules before they leave Zernio. Callers send plaintext.
type ConversionEventActionSource ¶ added in v0.0.149
type ConversionEventActionSource string
ConversionEventActionSource Where the conversion happened. Used by Meta; Google ignores.
const ( App ConversionEventActionSource = "app" Crm ConversionEventActionSource = "crm" Offline ConversionEventActionSource = "offline" PhoneCall ConversionEventActionSource = "phone_call" SystemGenerated ConversionEventActionSource = "system_generated" Web ConversionEventActionSource = "web" )
Defines values for ConversionEventActionSource.
func (ConversionEventActionSource) Valid ¶ added in v0.0.149
func (e ConversionEventActionSource) Valid() bool
Valid indicates whether the value is a known member of the ConversionEventActionSource enum.
type CreateAccountGroupJSONBody ¶
type CreateAccountGroupJSONBody struct {
AccountIds []string `json:"accountIds"`
Name string `json:"name"`
}
CreateAccountGroupJSONBody defines parameters for CreateAccountGroup.
type CreateAccountGroupJSONRequestBody ¶
type CreateAccountGroupJSONRequestBody CreateAccountGroupJSONBody
CreateAccountGroupJSONRequestBody defines body for CreateAccountGroup for application/json ContentType.
type CreateAccountGroupResponse ¶
type CreateAccountGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Group *struct {
UnderscoreId *string `json:"_id,omitempty"`
AccountIds *[]string `json:"accountIds,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"group,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateAccountGroupResponse ¶
func ParseCreateAccountGroupResponse(rsp *http.Response) (*CreateAccountGroupResponse, error)
ParseCreateAccountGroupResponse parses an HTTP response from a CreateAccountGroupWithResponse call
func (CreateAccountGroupResponse) Status ¶
func (r CreateAccountGroupResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAccountGroupResponse) StatusCode ¶
func (r CreateAccountGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAdAudienceJSONBody ¶ added in v0.0.106
type CreateAdAudienceJSONBody struct {
AccountId string `json:"accountId"`
// AdAccountId Must start with act_
AdAccountId string `json:"adAccountId"`
// Country 2-letter code, required for lookalike audiences
Country *string `json:"country,omitempty"`
// CustomerFileSource Data source declaration for GDPR compliance (customer_list only)
CustomerFileSource *string `json:"customerFileSource,omitempty"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
// PixelId Required for website audiences
PixelId *string `json:"pixelId,omitempty"`
// Ratio Required for lookalike audiences
Ratio *float32 `json:"ratio,omitempty"`
// RetentionDays Required for website audiences
RetentionDays *int `json:"retentionDays,omitempty"`
// Rule Pixel event rule for website audiences (optional)
Rule *map[string]interface{} `json:"rule,omitempty"`
// SourceAudienceId Required for lookalike audiences
SourceAudienceId *string `json:"sourceAudienceId,omitempty"`
Type CreateAdAudienceJSONBodyType `json:"type"`
}
CreateAdAudienceJSONBody defines parameters for CreateAdAudience.
type CreateAdAudienceJSONBodyType ¶ added in v0.0.106
type CreateAdAudienceJSONBodyType string
CreateAdAudienceJSONBodyType defines parameters for CreateAdAudience.
const ( CustomerList CreateAdAudienceJSONBodyType = "customer_list" Lookalike CreateAdAudienceJSONBodyType = "lookalike" Website CreateAdAudienceJSONBodyType = "website" )
Defines values for CreateAdAudienceJSONBodyType.
func (CreateAdAudienceJSONBodyType) Valid ¶ added in v0.0.106
func (e CreateAdAudienceJSONBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateAdAudienceJSONBodyType enum.
type CreateAdAudienceJSONRequestBody ¶ added in v0.0.106
type CreateAdAudienceJSONRequestBody CreateAdAudienceJSONBody
CreateAdAudienceJSONRequestBody defines body for CreateAdAudience for application/json ContentType.
type CreateAdAudienceResponse ¶ added in v0.0.106
type CreateAdAudienceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Audience *map[string]interface{} `json:"audience,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateAdAudienceResponse ¶ added in v0.0.106
func ParseCreateAdAudienceResponse(rsp *http.Response) (*CreateAdAudienceResponse, error)
ParseCreateAdAudienceResponse parses an HTTP response from a CreateAdAudienceWithResponse call
func (CreateAdAudienceResponse) Status ¶ added in v0.0.106
func (r CreateAdAudienceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAdAudienceResponse) StatusCode ¶ added in v0.0.106
func (r CreateAdAudienceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateApiKeyJSONBody ¶
type CreateApiKeyJSONBody struct {
// ExpiresIn Days until expiry
ExpiresIn *int `json:"expiresIn,omitempty"`
Name string `json:"name"`
// Permission 'read-write' allows all operations (default), 'read' restricts to GET requests only
Permission *CreateApiKeyJSONBodyPermission `json:"permission,omitempty"`
// ProfileIds Profile IDs this key can access. Required when scope is 'profiles'.
ProfileIds *[]string `json:"profileIds,omitempty"`
// Scope 'full' grants access to all profiles (default), 'profiles' restricts to specific profiles
Scope *CreateApiKeyJSONBodyScope `json:"scope,omitempty"`
}
CreateApiKeyJSONBody defines parameters for CreateApiKey.
type CreateApiKeyJSONBodyPermission ¶
type CreateApiKeyJSONBodyPermission string
CreateApiKeyJSONBodyPermission defines parameters for CreateApiKey.
const ( CreateApiKeyJSONBodyPermissionRead CreateApiKeyJSONBodyPermission = "read" CreateApiKeyJSONBodyPermissionReadWrite CreateApiKeyJSONBodyPermission = "read-write" )
Defines values for CreateApiKeyJSONBodyPermission.
func (CreateApiKeyJSONBodyPermission) Valid ¶
func (e CreateApiKeyJSONBodyPermission) Valid() bool
Valid indicates whether the value is a known member of the CreateApiKeyJSONBodyPermission enum.
type CreateApiKeyJSONBodyScope ¶
type CreateApiKeyJSONBodyScope string
CreateApiKeyJSONBodyScope defines parameters for CreateApiKey.
const ( CreateApiKeyJSONBodyScopeFull CreateApiKeyJSONBodyScope = "full" CreateApiKeyJSONBodyScopeProfiles CreateApiKeyJSONBodyScope = "profiles" )
Defines values for CreateApiKeyJSONBodyScope.
func (CreateApiKeyJSONBodyScope) Valid ¶
func (e CreateApiKeyJSONBodyScope) Valid() bool
Valid indicates whether the value is a known member of the CreateApiKeyJSONBodyScope enum.
type CreateApiKeyJSONRequestBody ¶
type CreateApiKeyJSONRequestBody CreateApiKeyJSONBody
CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
ApiKey *ApiKey `json:"apiKey,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateApiKeyResponse ¶
func ParseCreateApiKeyResponse(rsp *http.Response) (*CreateApiKeyResponse, error)
ParseCreateApiKeyResponse parses an HTTP response from a CreateApiKeyWithResponse call
func (CreateApiKeyResponse) Status ¶
func (r CreateApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (CreateApiKeyResponse) StatusCode ¶
func (r CreateApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateBroadcastJSONBody ¶ added in v0.0.76
type CreateBroadcastJSONBody struct {
AccountId string `json:"accountId"`
Description *string `json:"description,omitempty"`
Message *struct {
Attachments *[]struct {
Filename *string `json:"filename,omitempty"`
Type *string `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"attachments,omitempty"`
Text *string `json:"text,omitempty"`
} `json:"message,omitempty"`
Name string `json:"name"`
Platform CreateBroadcastJSONBodyPlatform `json:"platform"`
ProfileId string `json:"profileId"`
SegmentFilters *struct {
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Tags *[]string `json:"tags,omitempty"`
} `json:"segmentFilters,omitempty"`
// Template WhatsApp template (required when platform is whatsapp)
Template *struct {
Components *[]interface{} `json:"components,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"template,omitempty"`
}
CreateBroadcastJSONBody defines parameters for CreateBroadcast.
type CreateBroadcastJSONBodyPlatform ¶ added in v0.0.76
type CreateBroadcastJSONBodyPlatform string
CreateBroadcastJSONBodyPlatform defines parameters for CreateBroadcast.
const ( CreateBroadcastJSONBodyPlatformBluesky CreateBroadcastJSONBodyPlatform = "bluesky" CreateBroadcastJSONBodyPlatformFacebook CreateBroadcastJSONBodyPlatform = "facebook" CreateBroadcastJSONBodyPlatformInstagram CreateBroadcastJSONBodyPlatform = "instagram" CreateBroadcastJSONBodyPlatformReddit CreateBroadcastJSONBodyPlatform = "reddit" CreateBroadcastJSONBodyPlatformTelegram CreateBroadcastJSONBodyPlatform = "telegram" CreateBroadcastJSONBodyPlatformTwitter CreateBroadcastJSONBodyPlatform = "twitter" CreateBroadcastJSONBodyPlatformWhatsapp CreateBroadcastJSONBodyPlatform = "whatsapp" )
Defines values for CreateBroadcastJSONBodyPlatform.
func (CreateBroadcastJSONBodyPlatform) Valid ¶ added in v0.0.76
func (e CreateBroadcastJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the CreateBroadcastJSONBodyPlatform enum.
type CreateBroadcastJSONRequestBody ¶ added in v0.0.76
type CreateBroadcastJSONRequestBody CreateBroadcastJSONBody
CreateBroadcastJSONRequestBody defines body for CreateBroadcast for application/json ContentType.
type CreateBroadcastResponse ¶ added in v0.0.76
type CreateBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcast *struct {
AccountId *string `json:"accountId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"broadcast,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateBroadcastResponse ¶ added in v0.0.76
func ParseCreateBroadcastResponse(rsp *http.Response) (*CreateBroadcastResponse, error)
ParseCreateBroadcastResponse parses an HTTP response from a CreateBroadcastWithResponse call
func (CreateBroadcastResponse) Status ¶ added in v0.0.76
func (r CreateBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (CreateBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r CreateBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCommentAutomation200AutomationMatchMode ¶ added in v0.0.86
type CreateCommentAutomation200AutomationMatchMode string
type CreateCommentAutomationJSONBody ¶ added in v0.0.76
type CreateCommentAutomationJSONBody struct {
// AccountId Instagram or Facebook account ID
AccountId string `json:"accountId"`
// CommentReply Optional public reply to the comment
CommentReply *string `json:"commentReply,omitempty"`
// DmMessage DM text to send to commenter
DmMessage string `json:"dmMessage"`
// Keywords Trigger keywords (empty = any comment triggers)
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *CreateCommentAutomationJSONBodyMatchMode `json:"matchMode,omitempty"`
// Name Automation label
Name string `json:"name"`
// PlatformPostId Platform media/post ID
PlatformPostId string `json:"platformPostId"`
// PostId Zernio post ID (optional)
PostId *string `json:"postId,omitempty"`
// PostTitle Post content snippet for display
PostTitle *string `json:"postTitle,omitempty"`
ProfileId string `json:"profileId"`
}
CreateCommentAutomationJSONBody defines parameters for CreateCommentAutomation.
type CreateCommentAutomationJSONBodyMatchMode ¶ added in v0.0.76
type CreateCommentAutomationJSONBodyMatchMode string
CreateCommentAutomationJSONBodyMatchMode defines parameters for CreateCommentAutomation.
const ( CreateCommentAutomationJSONBodyMatchModeContains CreateCommentAutomationJSONBodyMatchMode = "contains" CreateCommentAutomationJSONBodyMatchModeExact CreateCommentAutomationJSONBodyMatchMode = "exact" )
Defines values for CreateCommentAutomationJSONBodyMatchMode.
func (CreateCommentAutomationJSONBodyMatchMode) Valid ¶ added in v0.0.76
func (e CreateCommentAutomationJSONBodyMatchMode) Valid() bool
Valid indicates whether the value is a known member of the CreateCommentAutomationJSONBodyMatchMode enum.
type CreateCommentAutomationJSONRequestBody ¶ added in v0.0.76
type CreateCommentAutomationJSONRequestBody CreateCommentAutomationJSONBody
CreateCommentAutomationJSONRequestBody defines body for CreateCommentAutomation for application/json ContentType.
type CreateCommentAutomationResponse ¶ added in v0.0.76
type CreateCommentAutomationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Automation *struct {
CommentReply *string `json:"commentReply,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DmMessage *string `json:"dmMessage,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *CreateCommentAutomation200AutomationMatchMode `json:"matchMode,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformPostId *string `json:"platformPostId,omitempty"`
Stats *struct {
TotalFailed *int `json:"totalFailed,omitempty"`
TotalSent *int `json:"totalSent,omitempty"`
TotalTriggered *int `json:"totalTriggered,omitempty"`
} `json:"stats,omitempty"`
} `json:"automation,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateCommentAutomationResponse ¶ added in v0.0.76
func ParseCreateCommentAutomationResponse(rsp *http.Response) (*CreateCommentAutomationResponse, error)
ParseCreateCommentAutomationResponse parses an HTTP response from a CreateCommentAutomationWithResponse call
func (CreateCommentAutomationResponse) Status ¶ added in v0.0.76
func (r CreateCommentAutomationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCommentAutomationResponse) StatusCode ¶ added in v0.0.76
func (r CreateCommentAutomationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateContactJSONBody ¶ added in v0.0.76
type CreateContactJSONBody struct {
// AccountId Optional. Creates a channel if provided with platform + platformIdentifier
AccountId *string `json:"accountId,omitempty"`
Company *string `json:"company,omitempty"`
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Email *string `json:"email,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Name string `json:"name"`
Notes *string `json:"notes,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
ProfileId string `json:"profileId"`
Tags *[]string `json:"tags,omitempty"`
}
CreateContactJSONBody defines parameters for CreateContact.
type CreateContactJSONRequestBody ¶ added in v0.0.76
type CreateContactJSONRequestBody CreateContactJSONBody
CreateContactJSONRequestBody defines body for CreateContact for application/json ContentType.
type CreateContactResponse ¶ added in v0.0.76
type CreateContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Channel Created when accountId, platform, and platformIdentifier are provided
Channel *struct {
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Id *string `json:"id,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
} `json:"channel,omitempty"`
Contact *struct {
Company *string `json:"company,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CustomFields *map[string]interface{} `json:"customFields,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
IsBlocked *bool `json:"isBlocked,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Tags *[]string `json:"tags,omitempty"`
} `json:"contact,omitempty"`
Success *bool `json:"success,omitempty"`
Warning *string `json:"warning,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateContactResponse ¶ added in v0.0.76
func ParseCreateContactResponse(rsp *http.Response) (*CreateContactResponse, error)
ParseCreateContactResponse parses an HTTP response from a CreateContactWithResponse call
func (CreateContactResponse) Status ¶ added in v0.0.76
func (r CreateContactResponse) Status() string
Status returns HTTPResponse.Status
func (CreateContactResponse) StatusCode ¶ added in v0.0.76
func (r CreateContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCtwaAdJSONBody ¶ added in v0.0.189
type CreateCtwaAdJSONBody struct {
// AccountId Facebook or Instagram SocialAccount ID.
AccountId string `json:"accountId"`
// AdAccountId Meta ad account ID, e.g. `act_123456789`.
AdAccountId string `json:"adAccountId"`
// AdvantageAudience Meta's Advantage+ audience expansion. `0` (default) keeps
// targeting strict; `1` lets Meta expand beyond the supplied
// targeting when its delivery system finds better matches.
// Always sent on CREATE (Meta requires it).
AdvantageAudience *CreateCtwaAdJSONBodyAdvantageAudience `json:"advantageAudience,omitempty"`
AgeMax *int `json:"ageMax,omitempty"`
AgeMin *int `json:"ageMin,omitempty"`
// AudienceId Custom audience ID to target.
AudienceId *string `json:"audienceId,omitempty"`
// Body Primary text shown above the image / video.
Body string `json:"body"`
// BudgetAmount Budget amount in the ad account's currency major units
// (e.g. dollars for USD, not cents). Must be > 0.
BudgetAmount float32 `json:"budgetAmount"`
BudgetType CreateCtwaAdJSONBodyBudgetType `json:"budgetType"`
// Countries ISO 3166-1 alpha-2 country codes. Defaults to `["US"]`.
Countries *[]string `json:"countries,omitempty"`
// Currency ISO 4217 currency code matching the ad account's currency
// (e.g. `USD`). Optional; Meta infers from the ad account
// when omitted.
Currency *string `json:"currency,omitempty"`
// DsaBeneficiary Name of the legal entity benefiting from the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Not enforced at schema level; enforced server-side when targeting intersects EU member states.
DsaBeneficiary *string `json:"dsaBeneficiary,omitempty"`
// DsaPayor Name of the legal entity paying for the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Note Meta API spelling: dsa_payor (not dsa_payer).
DsaPayor *string `json:"dsaPayor,omitempty"`
// EndDate ISO 8601 datetime. Required when `budgetType` is `lifetime`.
EndDate *time.Time `json:"endDate,omitempty"`
Headline string `json:"headline"`
// ImageUrl Image asset for image creatives. Mutually exclusive with
// `video`. Required if `video` is not supplied.
ImageUrl *string `json:"imageUrl,omitempty"`
Interests *[]struct {
Id string `json:"id"`
Name *string `json:"name,omitempty"`
} `json:"interests,omitempty"`
// Name Ad display name. Used to derive campaign / ad set names.
Name string `json:"name"`
// Objective Defaults to `OUTCOME_ENGAGEMENT` (the broadly-supported CTWA
// objective). `OUTCOME_SALES` and `OUTCOME_LEADS` require
// additional account configuration (Dataset linked to the WABA
// for sales) and may be rejected by Meta if missing.
Objective *CreateCtwaAdJSONBodyObjective `json:"objective,omitempty"`
// Video Video creative. Mutually exclusive with `imageUrl`.
// Required if `imageUrl` is not supplied.
Video *struct {
// ThumbnailUrl Required by Meta for every video creative. Used as the
// ad thumbnail.
ThumbnailUrl string `json:"thumbnailUrl"`
Url string `json:"url"`
} `json:"video,omitempty"`
}
CreateCtwaAdJSONBody defines parameters for CreateCtwaAd.
type CreateCtwaAdJSONBodyAdvantageAudience ¶ added in v0.0.189
type CreateCtwaAdJSONBodyAdvantageAudience int
CreateCtwaAdJSONBodyAdvantageAudience defines parameters for CreateCtwaAd.
const ( CreateCtwaAdJSONBodyAdvantageAudienceN0 CreateCtwaAdJSONBodyAdvantageAudience = 0 CreateCtwaAdJSONBodyAdvantageAudienceN1 CreateCtwaAdJSONBodyAdvantageAudience = 1 )
Defines values for CreateCtwaAdJSONBodyAdvantageAudience.
func (CreateCtwaAdJSONBodyAdvantageAudience) Valid ¶ added in v0.0.189
func (e CreateCtwaAdJSONBodyAdvantageAudience) Valid() bool
Valid indicates whether the value is a known member of the CreateCtwaAdJSONBodyAdvantageAudience enum.
type CreateCtwaAdJSONBodyBudgetType ¶ added in v0.0.189
type CreateCtwaAdJSONBodyBudgetType string
CreateCtwaAdJSONBodyBudgetType defines parameters for CreateCtwaAd.
const ( CreateCtwaAdJSONBodyBudgetTypeDaily CreateCtwaAdJSONBodyBudgetType = "daily" CreateCtwaAdJSONBodyBudgetTypeLifetime CreateCtwaAdJSONBodyBudgetType = "lifetime" )
Defines values for CreateCtwaAdJSONBodyBudgetType.
func (CreateCtwaAdJSONBodyBudgetType) Valid ¶ added in v0.0.189
func (e CreateCtwaAdJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the CreateCtwaAdJSONBodyBudgetType enum.
type CreateCtwaAdJSONBodyObjective ¶ added in v0.0.189
type CreateCtwaAdJSONBodyObjective string
CreateCtwaAdJSONBodyObjective defines parameters for CreateCtwaAd.
const ( OUTCOMEENGAGEMENT CreateCtwaAdJSONBodyObjective = "OUTCOME_ENGAGEMENT" OUTCOMELEADS CreateCtwaAdJSONBodyObjective = "OUTCOME_LEADS" OUTCOMESALES CreateCtwaAdJSONBodyObjective = "OUTCOME_SALES" )
Defines values for CreateCtwaAdJSONBodyObjective.
func (CreateCtwaAdJSONBodyObjective) Valid ¶ added in v0.0.189
func (e CreateCtwaAdJSONBodyObjective) Valid() bool
Valid indicates whether the value is a known member of the CreateCtwaAdJSONBodyObjective enum.
type CreateCtwaAdJSONRequestBody ¶ added in v0.0.189
type CreateCtwaAdJSONRequestBody CreateCtwaAdJSONBody
CreateCtwaAdJSONRequestBody defines body for CreateCtwaAd for application/json ContentType.
type CreateCtwaAdResponse ¶ added in v0.0.189
type CreateCtwaAdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// Ad The persisted Ad document.
Ad *map[string]interface{} `json:"ad,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateCtwaAdResponse ¶ added in v0.0.189
func ParseCreateCtwaAdResponse(rsp *http.Response) (*CreateCtwaAdResponse, error)
ParseCreateCtwaAdResponse parses an HTTP response from a CreateCtwaAdWithResponse call
func (CreateCtwaAdResponse) Status ¶ added in v0.0.189
func (r CreateCtwaAdResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCtwaAdResponse) StatusCode ¶ added in v0.0.189
func (r CreateCtwaAdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateCustomField200FieldType ¶ added in v0.0.86
type CreateCustomField200FieldType string
type CreateCustomFieldJSONBody ¶ added in v0.0.76
type CreateCustomFieldJSONBody struct {
Name string `json:"name"`
// Options Required for select type
Options *[]string `json:"options,omitempty"`
ProfileId string `json:"profileId"`
// Slug Auto-generated from name if not provided
Slug *string `json:"slug,omitempty"`
Type CreateCustomFieldJSONBodyType `json:"type"`
}
CreateCustomFieldJSONBody defines parameters for CreateCustomField.
type CreateCustomFieldJSONBodyType ¶ added in v0.0.76
type CreateCustomFieldJSONBodyType string
CreateCustomFieldJSONBodyType defines parameters for CreateCustomField.
const ( CreateCustomFieldJSONBodyTypeBoolean CreateCustomFieldJSONBodyType = "boolean" CreateCustomFieldJSONBodyTypeDate CreateCustomFieldJSONBodyType = "date" CreateCustomFieldJSONBodyTypeNumber CreateCustomFieldJSONBodyType = "number" CreateCustomFieldJSONBodyTypeSelect CreateCustomFieldJSONBodyType = "select" CreateCustomFieldJSONBodyTypeText CreateCustomFieldJSONBodyType = "text" )
Defines values for CreateCustomFieldJSONBodyType.
func (CreateCustomFieldJSONBodyType) Valid ¶ added in v0.0.76
func (e CreateCustomFieldJSONBodyType) Valid() bool
Valid indicates whether the value is a known member of the CreateCustomFieldJSONBodyType enum.
type CreateCustomFieldJSONRequestBody ¶ added in v0.0.76
type CreateCustomFieldJSONRequestBody CreateCustomFieldJSONBody
CreateCustomFieldJSONRequestBody defines body for CreateCustomField for application/json ContentType.
type CreateCustomFieldResponse ¶ added in v0.0.76
type CreateCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Field *struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Options *[]string `json:"options,omitempty"`
Slug *string `json:"slug,omitempty"`
Type *CreateCustomField200FieldType `json:"type,omitempty"`
} `json:"field,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateCustomFieldResponse ¶ added in v0.0.76
func ParseCreateCustomFieldResponse(rsp *http.Response) (*CreateCustomFieldResponse, error)
ParseCreateCustomFieldResponse parses an HTTP response from a CreateCustomFieldWithResponse call
func (CreateCustomFieldResponse) Status ¶ added in v0.0.76
func (r CreateCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (CreateCustomFieldResponse) StatusCode ¶ added in v0.0.76
func (r CreateCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGoogleBusinessMediaJSONBody ¶
type CreateGoogleBusinessMediaJSONBody struct {
// Category Where the photo appears on the listing
Category *CreateGoogleBusinessMediaJSONBodyCategory `json:"category,omitempty"`
// Description Photo description
Description *string `json:"description,omitempty"`
MediaFormat *CreateGoogleBusinessMediaJSONBodyMediaFormat `json:"mediaFormat,omitempty"`
// SourceUrl Publicly accessible image URL
SourceUrl string `json:"sourceUrl"`
}
CreateGoogleBusinessMediaJSONBody defines parameters for CreateGoogleBusinessMedia.
type CreateGoogleBusinessMediaJSONBodyCategory ¶
type CreateGoogleBusinessMediaJSONBodyCategory string
CreateGoogleBusinessMediaJSONBodyCategory defines parameters for CreateGoogleBusinessMedia.
const ( ADDITIONAL CreateGoogleBusinessMediaJSONBodyCategory = "ADDITIONAL" COVER CreateGoogleBusinessMediaJSONBodyCategory = "COVER" EXTERIOR CreateGoogleBusinessMediaJSONBodyCategory = "EXTERIOR" FOODANDDRINK CreateGoogleBusinessMediaJSONBodyCategory = "FOOD_AND_DRINK" INTERIOR CreateGoogleBusinessMediaJSONBodyCategory = "INTERIOR" LOGO CreateGoogleBusinessMediaJSONBodyCategory = "LOGO" MENU CreateGoogleBusinessMediaJSONBodyCategory = "MENU" PRODUCT CreateGoogleBusinessMediaJSONBodyCategory = "PRODUCT" PROFILE CreateGoogleBusinessMediaJSONBodyCategory = "PROFILE" TEAMS CreateGoogleBusinessMediaJSONBodyCategory = "TEAMS" )
Defines values for CreateGoogleBusinessMediaJSONBodyCategory.
func (CreateGoogleBusinessMediaJSONBodyCategory) Valid ¶
func (e CreateGoogleBusinessMediaJSONBodyCategory) Valid() bool
Valid indicates whether the value is a known member of the CreateGoogleBusinessMediaJSONBodyCategory enum.
type CreateGoogleBusinessMediaJSONBodyMediaFormat ¶
type CreateGoogleBusinessMediaJSONBodyMediaFormat string
CreateGoogleBusinessMediaJSONBodyMediaFormat defines parameters for CreateGoogleBusinessMedia.
const ( PHOTO CreateGoogleBusinessMediaJSONBodyMediaFormat = "PHOTO" VIDEO CreateGoogleBusinessMediaJSONBodyMediaFormat = "VIDEO" )
Defines values for CreateGoogleBusinessMediaJSONBodyMediaFormat.
func (CreateGoogleBusinessMediaJSONBodyMediaFormat) Valid ¶
func (e CreateGoogleBusinessMediaJSONBodyMediaFormat) Valid() bool
Valid indicates whether the value is a known member of the CreateGoogleBusinessMediaJSONBodyMediaFormat enum.
type CreateGoogleBusinessMediaJSONRequestBody ¶
type CreateGoogleBusinessMediaJSONRequestBody CreateGoogleBusinessMediaJSONBody
CreateGoogleBusinessMediaJSONRequestBody defines body for CreateGoogleBusinessMedia for application/json ContentType.
type CreateGoogleBusinessMediaParams ¶
type CreateGoogleBusinessMediaParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
CreateGoogleBusinessMediaParams defines parameters for CreateGoogleBusinessMedia.
type CreateGoogleBusinessMediaResponse ¶
type CreateGoogleBusinessMediaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
GoogleUrl *string `json:"googleUrl,omitempty"`
MediaFormat *string `json:"mediaFormat,omitempty"`
Name *string `json:"name,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseCreateGoogleBusinessMediaResponse ¶
func ParseCreateGoogleBusinessMediaResponse(rsp *http.Response) (*CreateGoogleBusinessMediaResponse, error)
ParseCreateGoogleBusinessMediaResponse parses an HTTP response from a CreateGoogleBusinessMediaWithResponse call
func (CreateGoogleBusinessMediaResponse) Status ¶
func (r CreateGoogleBusinessMediaResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGoogleBusinessMediaResponse) StatusCode ¶
func (r CreateGoogleBusinessMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGoogleBusinessPlaceActionJSONBody ¶
type CreateGoogleBusinessPlaceActionJSONBody struct {
// PlaceActionType Type of action
PlaceActionType CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType `json:"placeActionType"`
// Uri The action URL
Uri string `json:"uri"`
}
CreateGoogleBusinessPlaceActionJSONBody defines parameters for CreateGoogleBusinessPlaceAction.
type CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType ¶
type CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType string
CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType defines parameters for CreateGoogleBusinessPlaceAction.
const ( CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeAPPOINTMENT CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "APPOINTMENT" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeDININGRESERVATION CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "DINING_RESERVATION" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODDELIVERY CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_DELIVERY" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODORDERING CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_ORDERING" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODTAKEOUT CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_TAKEOUT" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeONLINEAPPOINTMENT CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "ONLINE_APPOINTMENT" CreateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeSHOPONLINE CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "SHOP_ONLINE" )
Defines values for CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType.
func (CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType) Valid ¶
func (e CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType) Valid() bool
Valid indicates whether the value is a known member of the CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType enum.
type CreateGoogleBusinessPlaceActionJSONRequestBody ¶
type CreateGoogleBusinessPlaceActionJSONRequestBody CreateGoogleBusinessPlaceActionJSONBody
CreateGoogleBusinessPlaceActionJSONRequestBody defines body for CreateGoogleBusinessPlaceAction for application/json ContentType.
type CreateGoogleBusinessPlaceActionParams ¶
type CreateGoogleBusinessPlaceActionParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
CreateGoogleBusinessPlaceActionParams defines parameters for CreateGoogleBusinessPlaceAction.
type CreateGoogleBusinessPlaceActionResponse ¶
type CreateGoogleBusinessPlaceActionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Name Resource name of the created link
Name *string `json:"name,omitempty"`
PlaceActionType *string `json:"placeActionType,omitempty"`
Success *bool `json:"success,omitempty"`
Uri *string `json:"uri,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseCreateGoogleBusinessPlaceActionResponse ¶
func ParseCreateGoogleBusinessPlaceActionResponse(rsp *http.Response) (*CreateGoogleBusinessPlaceActionResponse, error)
ParseCreateGoogleBusinessPlaceActionResponse parses an HTTP response from a CreateGoogleBusinessPlaceActionWithResponse call
func (CreateGoogleBusinessPlaceActionResponse) Status ¶
func (r CreateGoogleBusinessPlaceActionResponse) Status() string
Status returns HTTPResponse.Status
func (CreateGoogleBusinessPlaceActionResponse) StatusCode ¶
func (r CreateGoogleBusinessPlaceActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInboxConversation400Code ¶ added in v0.0.119
type CreateInboxConversation400Code string
type CreateInboxConversation422Code ¶ added in v0.0.119
type CreateInboxConversation422Code string
type CreateInboxConversationJSONBody ¶ added in v0.0.119
type CreateInboxConversationJSONBody struct {
// AccountId The social account ID to send from
AccountId string `json:"accountId"`
// Message Text content of the message. At least one of message or attachment is required.
Message *string `json:"message,omitempty"`
// ParticipantId Twitter numeric user ID of the recipient. Provide either this or participantUsername.
ParticipantId *string `json:"participantId,omitempty"`
// ParticipantUsername Twitter username (with or without @) of the recipient. Resolved to a user ID via lookup. Provide either this or participantId.
ParticipantUsername *string `json:"participantUsername,omitempty"`
// SkipDmCheck Skip the receives_your_dm eligibility check before sending. Use if you have already verified the recipient accepts DMs.
SkipDmCheck *bool `json:"skipDmCheck,omitempty"`
}
CreateInboxConversationJSONBody defines parameters for CreateInboxConversation.
type CreateInboxConversationJSONRequestBody ¶ added in v0.0.119
type CreateInboxConversationJSONRequestBody CreateInboxConversationJSONBody
CreateInboxConversationJSONRequestBody defines body for CreateInboxConversation for application/json ContentType.
type CreateInboxConversationMultipartBody ¶ added in v0.0.119
type CreateInboxConversationMultipartBody struct {
// AccountId The social account ID to send from
AccountId string `json:"accountId"`
// Attachment Media attachment (image or video). One attachment per message.
Attachment *openapi_types.File `json:"attachment,omitempty"`
// Message Text content of the message
Message *string `json:"message,omitempty"`
// ParticipantId Twitter numeric user ID of the recipient
ParticipantId *string `json:"participantId,omitempty"`
// ParticipantUsername Twitter username (with or without @) of the recipient
ParticipantUsername *string `json:"participantUsername,omitempty"`
// SkipDmCheck Skip the DM eligibility check
SkipDmCheck *CreateInboxConversationMultipartBodySkipDmCheck `json:"skipDmCheck,omitempty"`
}
CreateInboxConversationMultipartBody defines parameters for CreateInboxConversation.
type CreateInboxConversationMultipartBodySkipDmCheck ¶ added in v0.0.119
type CreateInboxConversationMultipartBodySkipDmCheck string
CreateInboxConversationMultipartBodySkipDmCheck defines parameters for CreateInboxConversation.
const ( CreateInboxConversationMultipartBodySkipDmCheckFalse CreateInboxConversationMultipartBodySkipDmCheck = "false" CreateInboxConversationMultipartBodySkipDmCheckTrue CreateInboxConversationMultipartBodySkipDmCheck = "true" )
Defines values for CreateInboxConversationMultipartBodySkipDmCheck.
func (CreateInboxConversationMultipartBodySkipDmCheck) Valid ¶ added in v0.0.119
func (e CreateInboxConversationMultipartBodySkipDmCheck) Valid() bool
Valid indicates whether the value is a known member of the CreateInboxConversationMultipartBodySkipDmCheck enum.
type CreateInboxConversationMultipartRequestBody ¶ added in v0.0.119
type CreateInboxConversationMultipartRequestBody CreateInboxConversationMultipartBody
CreateInboxConversationMultipartRequestBody defines body for CreateInboxConversation for multipart/form-data ContentType.
type CreateInboxConversationResponse ¶ added in v0.0.119
type CreateInboxConversationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Data *struct {
// ConversationId Platform conversation ID (dm_conversation_id)
ConversationId *string `json:"conversationId,omitempty"`
// MessageId Platform message ID (dm_event_id)
MessageId *string `json:"messageId,omitempty"`
// ParticipantId Twitter numeric user ID of the recipient
ParticipantId *string `json:"participantId,omitempty"`
// ParticipantName Display name of the recipient
ParticipantName *string `json:"participantName,omitempty"`
// ParticipantUsername Twitter username of the recipient
ParticipantUsername *string `json:"participantUsername,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *struct {
Code *CreateInboxConversation400Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON422 *struct {
Code *CreateInboxConversation422Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseCreateInboxConversationResponse ¶ added in v0.0.119
func ParseCreateInboxConversationResponse(rsp *http.Response) (*CreateInboxConversationResponse, error)
ParseCreateInboxConversationResponse parses an HTTP response from a CreateInboxConversationWithResponse call
func (CreateInboxConversationResponse) Status ¶ added in v0.0.119
func (r CreateInboxConversationResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInboxConversationResponse) StatusCode ¶ added in v0.0.119
func (r CreateInboxConversationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateInviteTokenJSONBody ¶
type CreateInviteTokenJSONBody struct {
// ProfileIds Required if scope is 'profiles'. Array of profile IDs to grant access to.
ProfileIds *[]string `json:"profileIds,omitempty"`
// Scope 'all' grants access to all profiles, 'profiles' restricts to specific profiles
Scope CreateInviteTokenJSONBodyScope `json:"scope"`
}
CreateInviteTokenJSONBody defines parameters for CreateInviteToken.
type CreateInviteTokenJSONBodyScope ¶
type CreateInviteTokenJSONBodyScope string
CreateInviteTokenJSONBodyScope defines parameters for CreateInviteToken.
const ( CreateInviteTokenJSONBodyScopeAll CreateInviteTokenJSONBodyScope = "all" CreateInviteTokenJSONBodyScopeProfiles CreateInviteTokenJSONBodyScope = "profiles" )
Defines values for CreateInviteTokenJSONBodyScope.
func (CreateInviteTokenJSONBodyScope) Valid ¶
func (e CreateInviteTokenJSONBodyScope) Valid() bool
Valid indicates whether the value is a known member of the CreateInviteTokenJSONBodyScope enum.
type CreateInviteTokenJSONRequestBody ¶
type CreateInviteTokenJSONRequestBody CreateInviteTokenJSONBody
CreateInviteTokenJSONRequestBody defines body for CreateInviteToken for application/json ContentType.
type CreateInviteTokenResponse ¶
type CreateInviteTokenResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
InviteUrl *string `json:"inviteUrl,omitempty"`
InvitedProfileIds *[]string `json:"invitedProfileIds,omitempty"`
Scope *string `json:"scope,omitempty"`
Token *string `json:"token,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateInviteTokenResponse ¶
func ParseCreateInviteTokenResponse(rsp *http.Response) (*CreateInviteTokenResponse, error)
ParseCreateInviteTokenResponse parses an HTTP response from a CreateInviteTokenWithResponse call
func (CreateInviteTokenResponse) Status ¶
func (r CreateInviteTokenResponse) Status() string
Status returns HTTPResponse.Status
func (CreateInviteTokenResponse) StatusCode ¶
func (r CreateInviteTokenResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePostJSONBody ¶
type CreatePostJSONBody struct {
// Content Post caption/text. Optional when media is attached or all platforms have customContent. Required for text-only posts.
Content *string `json:"content,omitempty"`
CrosspostingEnabled *bool `json:"crosspostingEnabled,omitempty"`
// FacebookSettings Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
FacebookSettings *FacebookPlatformData `json:"facebookSettings,omitempty"`
// IsDraft When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
IsDraft *bool `json:"isDraft,omitempty"`
MediaItems *[]struct {
Type *CreatePostJSONBodyMediaItemsType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"mediaItems,omitempty"`
// Mentions Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
Mentions *[]string `json:"mentions,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// Platforms Target platforms and accounts for this post. Required for non-draft posts (returns 400 if empty). Drafts can omit platforms.
Platforms *[]struct {
AccountId *string `json:"accountId,omitempty"`
// CustomContent Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
CustomContent *string `json:"customContent,omitempty"`
CustomMedia *[]struct {
Type *CreatePostJSONBodyPlatformsCustomMediaType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"customMedia,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformSpecificData *CreatePostJSONBody_Platforms_PlatformSpecificData `json:"platformSpecificData,omitempty"`
// ScheduledFor Optional per-platform scheduled time override. When omitted, the top-level scheduledFor is used.
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
} `json:"platforms,omitempty"`
PublishNow *bool `json:"publishNow,omitempty"`
// QueueId Specific queue ID to use when scheduling via queue.
// Only used when queuedFromProfile is also provided.
// If omitted, uses the profile's default queue.
QueueId *string `json:"queueId,omitempty"`
// QueuedFromProfile Profile ID to schedule via queue. When provided without scheduledFor, the post is auto-assigned to the next available slot. Do not call /v1/queue/next-slot and use that time in scheduledFor, as that bypasses queue locking.
QueuedFromProfile *string `json:"queuedFromProfile,omitempty"`
// Recycling Configure automatic post recycling (reposting at regular intervals).
// After the post is published, the system creates new scheduled copies at the
// specified interval until expiration conditions are met. Supports weekly or
// monthly intervals. Maximum 10 active recycling posts per account.
// YouTube and TikTok platforms are excluded from recycling.
// Content variations are recommended for Twitter and Pinterest to avoid duplicate flags.
Recycling *RecyclingConfig `json:"recycling,omitempty"`
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
// Tags Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
Tags *[]string `json:"tags,omitempty"`
// TiktokSettings Photo carousels up to 35 images. Video titles up to 2200 chars, photo titles truncated to 90 chars.
// privacyLevel must match creator_info options. Both camelCase and snake_case accepted.
//
// Creator Inbox (draft mode): Set draft: true to send content to the TikTok Creator Inbox
// instead of publishing immediately. The creator receives an inbox notification and completes
// the post using TikTok's editing flow. This maps to TikTok's post_mode: "MEDIA_UPLOAD" internally.
//
// Important: The field publish_type is NOT supported. Use draft: true for Creator Inbox flow.
//
// Photo drafts use the /v2/post/publish/content/init/ endpoint with post_mode: "MEDIA_UPLOAD".
// Video drafts use the dedicated /v2/post/publish/inbox/video/init/ endpoint.
//
// When draft: true, the video.upload scope is required. When draft is false or omitted
// (direct post), the video.publish scope is required. For Creator Inbox, TikTok app version
// must be 31.8 or higher.
TiktokSettings *TikTokPlatformData `json:"tiktokSettings,omitempty"`
Timezone *string `json:"timezone,omitempty"`
Title *string `json:"title,omitempty"`
}
CreatePostJSONBody defines parameters for CreatePost.
type CreatePostJSONBodyMediaItemsType ¶
type CreatePostJSONBodyMediaItemsType string
CreatePostJSONBodyMediaItemsType defines parameters for CreatePost.
const ( CreatePostJSONBodyMediaItemsTypeDocument CreatePostJSONBodyMediaItemsType = "document" CreatePostJSONBodyMediaItemsTypeGif CreatePostJSONBodyMediaItemsType = "gif" CreatePostJSONBodyMediaItemsTypeImage CreatePostJSONBodyMediaItemsType = "image" CreatePostJSONBodyMediaItemsTypeVideo CreatePostJSONBodyMediaItemsType = "video" )
Defines values for CreatePostJSONBodyMediaItemsType.
func (CreatePostJSONBodyMediaItemsType) Valid ¶
func (e CreatePostJSONBodyMediaItemsType) Valid() bool
Valid indicates whether the value is a known member of the CreatePostJSONBodyMediaItemsType enum.
type CreatePostJSONBodyPlatformsCustomMediaType ¶
type CreatePostJSONBodyPlatformsCustomMediaType string
CreatePostJSONBodyPlatformsCustomMediaType defines parameters for CreatePost.
const ( CreatePostJSONBodyPlatformsCustomMediaTypeDocument CreatePostJSONBodyPlatformsCustomMediaType = "document" CreatePostJSONBodyPlatformsCustomMediaTypeGif CreatePostJSONBodyPlatformsCustomMediaType = "gif" CreatePostJSONBodyPlatformsCustomMediaTypeImage CreatePostJSONBodyPlatformsCustomMediaType = "image" CreatePostJSONBodyPlatformsCustomMediaTypeVideo CreatePostJSONBodyPlatformsCustomMediaType = "video" )
Defines values for CreatePostJSONBodyPlatformsCustomMediaType.
func (CreatePostJSONBodyPlatformsCustomMediaType) Valid ¶
func (e CreatePostJSONBodyPlatformsCustomMediaType) Valid() bool
Valid indicates whether the value is a known member of the CreatePostJSONBodyPlatformsCustomMediaType enum.
type CreatePostJSONBody_Platforms_PlatformSpecificData ¶
type CreatePostJSONBody_Platforms_PlatformSpecificData struct {
// contains filtered or unexported fields
}
CreatePostJSONBody_Platforms_PlatformSpecificData defines parameters for CreatePost.
type CreatePostJSONRequestBody ¶
type CreatePostJSONRequestBody CreatePostJSONBody
CreatePostJSONRequestBody defines body for CreatePost for application/json ContentType.
type CreatePostResponse ¶
type CreatePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PostCreateResponse
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON409 *struct {
Details *struct {
AccountId *string `json:"accountId,omitempty"`
ExistingPostId *string `json:"existingPostId,omitempty"`
Platform *string `json:"platform,omitempty"`
} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON429 *struct {
// Details Additional context about the rate limit
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseCreatePostResponse ¶
func ParseCreatePostResponse(rsp *http.Response) (*CreatePostResponse, error)
ParseCreatePostResponse parses an HTTP response from a CreatePostWithResponse call
func (CreatePostResponse) Status ¶
func (r CreatePostResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePostResponse) StatusCode ¶
func (r CreatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateProfileJSONBody ¶
type CreateProfileJSONBody struct {
Color *string `json:"color,omitempty"`
Description *string `json:"description,omitempty"`
Name string `json:"name"`
}
CreateProfileJSONBody defines parameters for CreateProfile.
type CreateProfileJSONRequestBody ¶
type CreateProfileJSONRequestBody CreateProfileJSONBody
CreateProfileJSONRequestBody defines body for CreateProfile for application/json ContentType.
type CreateProfileResponse ¶
type CreateProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ProfileCreateResponse
JSON401 *Unauthorized
}
func ParseCreateProfileResponse ¶
func ParseCreateProfileResponse(rsp *http.Response) (*CreateProfileResponse, error)
ParseCreateProfileResponse parses an HTTP response from a CreateProfileWithResponse call
func (CreateProfileResponse) Status ¶
func (r CreateProfileResponse) Status() string
Status returns HTTPResponse.Status
func (CreateProfileResponse) StatusCode ¶
func (r CreateProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateQueueSlotJSONBody ¶
type CreateQueueSlotJSONBody struct {
Active *bool `json:"active,omitempty"`
// Name Queue name (e.g., Evening Posts)
Name string `json:"name"`
// ProfileId Profile ID
ProfileId string `json:"profileId"`
Slots []QueueSlot `json:"slots"`
// Timezone IANA timezone
Timezone string `json:"timezone"`
}
CreateQueueSlotJSONBody defines parameters for CreateQueueSlot.
type CreateQueueSlotJSONRequestBody ¶
type CreateQueueSlotJSONRequestBody CreateQueueSlotJSONBody
CreateQueueSlotJSONRequestBody defines body for CreateQueueSlot for application/json ContentType.
type CreateQueueSlotResponse ¶
type CreateQueueSlotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
NextSlots *[]time.Time `json:"nextSlots,omitempty"`
Schedule *QueueSchedule `json:"schedule,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateQueueSlotResponse ¶
func ParseCreateQueueSlotResponse(rsp *http.Response) (*CreateQueueSlotResponse, error)
ParseCreateQueueSlotResponse parses an HTTP response from a CreateQueueSlotWithResponse call
func (CreateQueueSlotResponse) Status ¶
func (r CreateQueueSlotResponse) Status() string
Status returns HTTPResponse.Status
func (CreateQueueSlotResponse) StatusCode ¶
func (r CreateQueueSlotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSequenceJSONBody ¶ added in v0.0.76
type CreateSequenceJSONBody struct {
AccountId string `json:"accountId"`
Description *string `json:"description,omitempty"`
ExitOnReply *bool `json:"exitOnReply,omitempty"`
ExitOnUnsubscribe *bool `json:"exitOnUnsubscribe,omitempty"`
Name string `json:"name"`
Platform CreateSequenceJSONBodyPlatform `json:"platform"`
ProfileId string `json:"profileId"`
Steps *[]struct {
DelayMinutes int `json:"delayMinutes"`
Message *struct {
Text *string `json:"text,omitempty"`
} `json:"message,omitempty"`
Order int `json:"order"`
Template *struct {
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
// VariableMapping Maps template variable positions to contact fields. Keys are position strings ("1", "2"), values are objects with field and optional customValue
VariableMapping *map[string]struct {
// CustomValue Static value when field is "custom"
CustomValue *string `json:"customValue,omitempty"`
Field *CreateSequenceJSONBodyStepsTemplateVariableMappingField `json:"field,omitempty"`
} `json:"variableMapping,omitempty"`
} `json:"template,omitempty"`
} `json:"steps,omitempty"`
}
CreateSequenceJSONBody defines parameters for CreateSequence.
type CreateSequenceJSONBodyPlatform ¶ added in v0.0.76
type CreateSequenceJSONBodyPlatform string
CreateSequenceJSONBodyPlatform defines parameters for CreateSequence.
const ( Bluesky CreateSequenceJSONBodyPlatform = "bluesky" Facebook CreateSequenceJSONBodyPlatform = "facebook" Instagram CreateSequenceJSONBodyPlatform = "instagram" Reddit CreateSequenceJSONBodyPlatform = "reddit" Telegram CreateSequenceJSONBodyPlatform = "telegram" Twitter CreateSequenceJSONBodyPlatform = "twitter" Whatsapp CreateSequenceJSONBodyPlatform = "whatsapp" )
Defines values for CreateSequenceJSONBodyPlatform.
func (CreateSequenceJSONBodyPlatform) Valid ¶ added in v0.0.76
func (e CreateSequenceJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the CreateSequenceJSONBodyPlatform enum.
type CreateSequenceJSONBodyStepsTemplateVariableMappingField ¶ added in v0.0.81
type CreateSequenceJSONBodyStepsTemplateVariableMappingField string
CreateSequenceJSONBodyStepsTemplateVariableMappingField defines parameters for CreateSequence.
const ( Company CreateSequenceJSONBodyStepsTemplateVariableMappingField = "company" Custom CreateSequenceJSONBodyStepsTemplateVariableMappingField = "custom" Email CreateSequenceJSONBodyStepsTemplateVariableMappingField = "email" Name CreateSequenceJSONBodyStepsTemplateVariableMappingField = "name" Phone CreateSequenceJSONBodyStepsTemplateVariableMappingField = "phone" )
Defines values for CreateSequenceJSONBodyStepsTemplateVariableMappingField.
func (CreateSequenceJSONBodyStepsTemplateVariableMappingField) Valid ¶ added in v0.0.81
func (e CreateSequenceJSONBodyStepsTemplateVariableMappingField) Valid() bool
Valid indicates whether the value is a known member of the CreateSequenceJSONBodyStepsTemplateVariableMappingField enum.
type CreateSequenceJSONRequestBody ¶ added in v0.0.76
type CreateSequenceJSONRequestBody CreateSequenceJSONBody
CreateSequenceJSONRequestBody defines body for CreateSequence for application/json ContentType.
type CreateSequenceResponse ¶ added in v0.0.76
type CreateSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Sequence *struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
StepsCount *int `json:"stepsCount,omitempty"`
} `json:"sequence,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateSequenceResponse ¶ added in v0.0.76
func ParseCreateSequenceResponse(rsp *http.Response) (*CreateSequenceResponse, error)
ParseCreateSequenceResponse parses an HTTP response from a CreateSequenceWithResponse call
func (CreateSequenceResponse) Status ¶ added in v0.0.76
func (r CreateSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (CreateSequenceResponse) StatusCode ¶ added in v0.0.76
func (r CreateSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateStandaloneAd2010 ¶ added in v0.0.172
type CreateStandaloneAd2011 ¶ added in v0.0.172
type CreateStandaloneAdJSONBody ¶ added in v0.0.106
type CreateStandaloneAdJSONBody struct {
AccountId string `json:"accountId"`
AdAccountId string `json:"adAccountId"`
// AdSetId Meta-only. When present, switches to the attach shape: adds
// one new ad to this existing ad set without creating a new
// campaign. Budget, targeting, goal, schedule, AND bid strategy
// are inherited from the ad set on Meta — passing `bidStrategy`
// in attach mode returns 400. To change an existing ad set's
// bid, use `PUT /v1/ads/ad-sets/{adSetId}`. Mutually exclusive
// with `creatives[]`.
//
// Supported on Meta (facebook, instagram) and TikTok. On TikTok
// the `adSetId` is the ad group ID; the new ad inherits the
// ad group's bid + budget + targeting.
AdSetId *string `json:"adSetId,omitempty"`
// AdditionalDescriptions Google Search RSA only. Extra descriptions.
AdditionalDescriptions *[]string `json:"additionalDescriptions,omitempty"`
// AdditionalHeadlines Google Search RSA only. Extra headlines.
AdditionalHeadlines *[]string `json:"additionalHeadlines,omitempty"`
// AdvantageAudience Meta only. Controls the Advantage audience feature (targeting_automation). 0 = disabled (default), 1 = enabled. Meta Marketing API requires this field on all ad set creation requests.
AdvantageAudience *CreateStandaloneAdJSONBodyAdvantageAudience `json:"advantageAudience,omitempty"`
AgeMax *int `json:"ageMax,omitempty"`
AgeMin *int `json:"ageMin,omitempty"`
// AudienceId Custom audience ID for targeting
AudienceId *string `json:"audienceId,omitempty"`
// BidAmount Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
// `bidStrategy` is `LOWEST_COST_WITH_BID_CAP` or `COST_CAP`.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Meta bid strategy applied to the ad set.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// BoardId Pinterest only. Board ID (auto-creates if not provided).
BoardId *string `json:"boardId,omitempty"`
// Body Required on legacy + attach shapes. For X/Twitter this is the tweet text (max 280 chars including a ~24-char URL when `linkUrl` is set). Max: Google=90, Pinterest=500.
Body *string `json:"body,omitempty"`
// BudgetAmount Required on legacy + multi-creative shapes. Inherited on attach.
BudgetAmount *float32 `json:"budgetAmount,omitempty"`
// BudgetType Required on legacy + multi-creative shapes. Inherited on attach.
BudgetType *CreateStandaloneAdJSONBodyBudgetType `json:"budgetType,omitempty"`
// BusinessName Google Display only
BusinessName *string `json:"businessName,omitempty"`
// CallToAction Required on legacy + attach shapes for Meta. Honoured on TikTok too — passes through to the Spark Ad creative's `call_to_action`. Ignored by other platforms.
CallToAction *CreateStandaloneAdJSONBodyCallToAction `json:"callToAction,omitempty"`
// CampaignType Google only
CampaignType *CreateStandaloneAdJSONBodyCampaignType `json:"campaignType,omitempty"`
Countries *[]string `json:"countries,omitempty"`
// Creatives Meta-only. When present, switches to the multi-creative shape:
// creates 1 campaign + 1 ad set + N ads (one per entry here).
// Top-level `headline` / `body` / `imageUrl` / `linkUrl` /
// `callToAction` are ignored in this mode. Mutually exclusive with `adSetId`.
Creatives *[]struct {
Body string `json:"body"`
CallToAction CreateStandaloneAdJSONBodyCreativesCallToAction `json:"callToAction"`
Headline string `json:"headline"`
// ImageUrl Image creative. Mutually exclusive with `video`.
ImageUrl *string `json:"imageUrl,omitempty"`
LinkUrl string `json:"linkUrl"`
// Video Video creative for this entry. Mutually exclusive with `imageUrl`.
Video *struct {
ThumbnailUrl string `json:"thumbnailUrl"`
Url string `json:"url"`
} `json:"video,omitempty"`
} `json:"creatives,omitempty"`
Currency *string `json:"currency,omitempty"`
// DsaBeneficiary Name of the legal entity benefiting from the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Not enforced at schema level; enforced server-side when targeting intersects EU member states.
DsaBeneficiary *string `json:"dsaBeneficiary,omitempty"`
// DsaPayor Name of the legal entity paying for the ad.
// Required by Meta when targeting EU users (DSA Article 26).
// Note Meta API spelling: dsa_payor (not dsa_payer).
DsaPayor *string `json:"dsaPayor,omitempty"`
// EndDate Required for lifetime budgets
EndDate *time.Time `json:"endDate,omitempty"`
// Gender Meta only. Restrict the audience by gender. 'male' targets men only, 'female' targets women only, 'all' (default) targets everyone. Ignored by non-Meta platforms.
Gender *CreateStandaloneAdJSONBodyGender `json:"gender,omitempty"`
// Goal Required on legacy + multi-creative shapes. Inherited from the ad set on the attach shape. Available goals vary by platform.
Goal *CreateStandaloneAdJSONBodyGoal `json:"goal,omitempty"`
// Headline Required for Meta, Google, and Pinterest on legacy + attach shapes (skip for multi-creative — use `creatives[].headline`). Ignored for TikTok and X/Twitter. Max: Meta=255, Google=30, Pinterest=100.
Headline *string `json:"headline,omitempty"`
// ImageUrl Image creative for Meta/Google/Pinterest on legacy + attach shapes (mutually exclusive with `video`). Not required for Google Search campaigns. For TikTok, this field carries the VIDEO URL (the TikTok ads endpoint is video-only; the field retains the `imageUrl` name for cross-platform consistency). Ignored for X/Twitter. For Google Display, treated as the landscape image (alias of `images.landscape`); supply `images.square` alongside or the request is rejected.
ImageUrl *string `json:"imageUrl,omitempty"`
// Images Google Display (Responsive Display Ads) only. Google RDA requires both a landscape (1.91:1) and a square (1:1) marketing image; sending only one is rejected upstream as 'Too few.' (NOT_ENOUGH_*_MARKETING_IMAGE_ASSET). Supply both URLs here. Either this field or the legacy `imageUrl` can provide the landscape, but `square` has no legacy counterpart so it must be set here for Display.
Images *struct {
// Landscape Landscape 1.91:1 marketing image URL (e.g. 1200x628). Also accepted via the top-level `imageUrl` for backward compatibility.
Landscape *string `json:"landscape,omitempty"`
// Square Square 1:1 marketing image URL (e.g. 1080x1080). Required for Google Display.
Square *string `json:"square,omitempty"`
} `json:"images,omitempty"`
// Interests Interest objects from /v1/ads/interests. Each must include id and name.
Interests *[]struct {
Id string `json:"id"`
Name string `json:"name"`
} `json:"interests,omitempty"`
// Keywords Google Search only
Keywords *[]string `json:"keywords,omitempty"`
// LinkUrl Required on legacy + attach shapes. Skip for multi-creative.
LinkUrl *string `json:"linkUrl,omitempty"`
// LongHeadline Google Display only. Defaults to `headline` if omitted.
LongHeadline *string `json:"longHeadline,omitempty"`
Name string `json:"name"`
// RoasAverageFloor Minimum ROAS as a decimal multiplier (e.g. 2.0 = 2.0x ROAS). Required when
// `bidStrategy` is `LOWEST_COST_WITH_MIN_ROAS`. Sent to Meta as
// `bid_constraints.roas_average_floor` × 10000.
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
// Video Meta only (facebook, instagram). When set, creates a VIDEO ad on the legacy or attach shape. Mutually exclusive with `imageUrl`. For multi-creative, set `video` per entry inside `creatives[]` instead.
Video *struct {
// ThumbnailUrl Public URL of a still-image thumbnail for the video. Required by Meta on every video creative. Uploaded to Meta as an ad image and referenced as the thumbnail in object_story_spec.video_data.
ThumbnailUrl string `json:"thumbnailUrl"`
// Url Public URL of the video. Uploaded to Meta via chunked transfer on /act_X/advideos; then the request blocks on Meta's transcoding until status.video_status === 'ready'.
Url string `json:"url"`
} `json:"video,omitempty"`
}
CreateStandaloneAdJSONBody defines parameters for CreateStandaloneAd.
type CreateStandaloneAdJSONBodyAdvantageAudience ¶ added in v0.0.165
type CreateStandaloneAdJSONBodyAdvantageAudience int
CreateStandaloneAdJSONBodyAdvantageAudience defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyAdvantageAudienceN0 CreateStandaloneAdJSONBodyAdvantageAudience = 0 CreateStandaloneAdJSONBodyAdvantageAudienceN1 CreateStandaloneAdJSONBodyAdvantageAudience = 1 )
Defines values for CreateStandaloneAdJSONBodyAdvantageAudience.
func (CreateStandaloneAdJSONBodyAdvantageAudience) Valid ¶ added in v0.0.165
func (e CreateStandaloneAdJSONBodyAdvantageAudience) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyAdvantageAudience enum.
type CreateStandaloneAdJSONBodyBudgetType ¶ added in v0.0.106
type CreateStandaloneAdJSONBodyBudgetType string
CreateStandaloneAdJSONBodyBudgetType defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyBudgetTypeDaily CreateStandaloneAdJSONBodyBudgetType = "daily" CreateStandaloneAdJSONBodyBudgetTypeLifetime CreateStandaloneAdJSONBodyBudgetType = "lifetime" )
Defines values for CreateStandaloneAdJSONBodyBudgetType.
func (CreateStandaloneAdJSONBodyBudgetType) Valid ¶ added in v0.0.106
func (e CreateStandaloneAdJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyBudgetType enum.
type CreateStandaloneAdJSONBodyCallToAction ¶ added in v0.0.106
type CreateStandaloneAdJSONBodyCallToAction string
CreateStandaloneAdJSONBodyCallToAction defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyCallToActionBOOKTRAVEL CreateStandaloneAdJSONBodyCallToAction = "BOOK_TRAVEL" CreateStandaloneAdJSONBodyCallToActionCONTACTUS CreateStandaloneAdJSONBodyCallToAction = "CONTACT_US" CreateStandaloneAdJSONBodyCallToActionDOWNLOAD CreateStandaloneAdJSONBodyCallToAction = "DOWNLOAD" CreateStandaloneAdJSONBodyCallToActionGETOFFER CreateStandaloneAdJSONBodyCallToAction = "GET_OFFER" CreateStandaloneAdJSONBodyCallToActionGETQUOTE CreateStandaloneAdJSONBodyCallToAction = "GET_QUOTE" CreateStandaloneAdJSONBodyCallToActionLEARNMORE CreateStandaloneAdJSONBodyCallToAction = "LEARN_MORE" CreateStandaloneAdJSONBodyCallToActionSHOPNOW CreateStandaloneAdJSONBodyCallToAction = "SHOP_NOW" CreateStandaloneAdJSONBodyCallToActionSIGNUP CreateStandaloneAdJSONBodyCallToAction = "SIGN_UP" CreateStandaloneAdJSONBodyCallToActionSUBSCRIBE CreateStandaloneAdJSONBodyCallToAction = "SUBSCRIBE" CreateStandaloneAdJSONBodyCallToActionWATCHMORE CreateStandaloneAdJSONBodyCallToAction = "WATCH_MORE" )
Defines values for CreateStandaloneAdJSONBodyCallToAction.
func (CreateStandaloneAdJSONBodyCallToAction) Valid ¶ added in v0.0.106
func (e CreateStandaloneAdJSONBodyCallToAction) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyCallToAction enum.
type CreateStandaloneAdJSONBodyCampaignType ¶ added in v0.0.106
type CreateStandaloneAdJSONBodyCampaignType string
CreateStandaloneAdJSONBodyCampaignType defines parameters for CreateStandaloneAd.
const ( Display CreateStandaloneAdJSONBodyCampaignType = "display" Search CreateStandaloneAdJSONBodyCampaignType = "search" )
Defines values for CreateStandaloneAdJSONBodyCampaignType.
func (CreateStandaloneAdJSONBodyCampaignType) Valid ¶ added in v0.0.106
func (e CreateStandaloneAdJSONBodyCampaignType) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyCampaignType enum.
type CreateStandaloneAdJSONBodyCreativesCallToAction ¶ added in v0.0.172
type CreateStandaloneAdJSONBodyCreativesCallToAction string
CreateStandaloneAdJSONBodyCreativesCallToAction defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyCreativesCallToActionBOOKTRAVEL CreateStandaloneAdJSONBodyCreativesCallToAction = "BOOK_TRAVEL" CreateStandaloneAdJSONBodyCreativesCallToActionCONTACTUS CreateStandaloneAdJSONBodyCreativesCallToAction = "CONTACT_US" CreateStandaloneAdJSONBodyCreativesCallToActionDOWNLOAD CreateStandaloneAdJSONBodyCreativesCallToAction = "DOWNLOAD" CreateStandaloneAdJSONBodyCreativesCallToActionGETOFFER CreateStandaloneAdJSONBodyCreativesCallToAction = "GET_OFFER" CreateStandaloneAdJSONBodyCreativesCallToActionGETQUOTE CreateStandaloneAdJSONBodyCreativesCallToAction = "GET_QUOTE" CreateStandaloneAdJSONBodyCreativesCallToActionLEARNMORE CreateStandaloneAdJSONBodyCreativesCallToAction = "LEARN_MORE" CreateStandaloneAdJSONBodyCreativesCallToActionSHOPNOW CreateStandaloneAdJSONBodyCreativesCallToAction = "SHOP_NOW" CreateStandaloneAdJSONBodyCreativesCallToActionSIGNUP CreateStandaloneAdJSONBodyCreativesCallToAction = "SIGN_UP" CreateStandaloneAdJSONBodyCreativesCallToActionSUBSCRIBE CreateStandaloneAdJSONBodyCreativesCallToAction = "SUBSCRIBE" CreateStandaloneAdJSONBodyCreativesCallToActionWATCHMORE CreateStandaloneAdJSONBodyCreativesCallToAction = "WATCH_MORE" )
Defines values for CreateStandaloneAdJSONBodyCreativesCallToAction.
func (CreateStandaloneAdJSONBodyCreativesCallToAction) Valid ¶ added in v0.0.172
func (e CreateStandaloneAdJSONBodyCreativesCallToAction) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyCreativesCallToAction enum.
type CreateStandaloneAdJSONBodyGender ¶ added in v0.0.191
type CreateStandaloneAdJSONBodyGender string
CreateStandaloneAdJSONBodyGender defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyGenderAll CreateStandaloneAdJSONBodyGender = "all" CreateStandaloneAdJSONBodyGenderFemale CreateStandaloneAdJSONBodyGender = "female" CreateStandaloneAdJSONBodyGenderMale CreateStandaloneAdJSONBodyGender = "male" )
Defines values for CreateStandaloneAdJSONBodyGender.
func (CreateStandaloneAdJSONBodyGender) Valid ¶ added in v0.0.191
func (e CreateStandaloneAdJSONBodyGender) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyGender enum.
type CreateStandaloneAdJSONBodyGoal ¶ added in v0.0.106
type CreateStandaloneAdJSONBodyGoal string
CreateStandaloneAdJSONBodyGoal defines parameters for CreateStandaloneAd.
const ( CreateStandaloneAdJSONBodyGoalAppPromotion CreateStandaloneAdJSONBodyGoal = "app_promotion" CreateStandaloneAdJSONBodyGoalAwareness CreateStandaloneAdJSONBodyGoal = "awareness" CreateStandaloneAdJSONBodyGoalConversions CreateStandaloneAdJSONBodyGoal = "conversions" CreateStandaloneAdJSONBodyGoalEngagement CreateStandaloneAdJSONBodyGoal = "engagement" CreateStandaloneAdJSONBodyGoalLeadGeneration CreateStandaloneAdJSONBodyGoal = "lead_generation" CreateStandaloneAdJSONBodyGoalTraffic CreateStandaloneAdJSONBodyGoal = "traffic" CreateStandaloneAdJSONBodyGoalVideoViews CreateStandaloneAdJSONBodyGoal = "video_views" )
Defines values for CreateStandaloneAdJSONBodyGoal.
func (CreateStandaloneAdJSONBodyGoal) Valid ¶ added in v0.0.106
func (e CreateStandaloneAdJSONBodyGoal) Valid() bool
Valid indicates whether the value is a known member of the CreateStandaloneAdJSONBodyGoal enum.
type CreateStandaloneAdJSONRequestBody ¶ added in v0.0.106
type CreateStandaloneAdJSONRequestBody CreateStandaloneAdJSONBody
CreateStandaloneAdJSONRequestBody defines body for CreateStandaloneAd for application/json ContentType.
type CreateStandaloneAdResponse ¶ added in v0.0.106
type CreateStandaloneAdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
// contains filtered or unexported fields
}
JSON401 *Unauthorized
}
func ParseCreateStandaloneAdResponse ¶ added in v0.0.106
func ParseCreateStandaloneAdResponse(rsp *http.Response) (*CreateStandaloneAdResponse, error)
ParseCreateStandaloneAdResponse parses an HTTP response from a CreateStandaloneAdWithResponse call
func (CreateStandaloneAdResponse) Status ¶ added in v0.0.106
func (r CreateStandaloneAdResponse) Status() string
Status returns HTTPResponse.Status
func (CreateStandaloneAdResponse) StatusCode ¶ added in v0.0.106
func (r CreateStandaloneAdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWebhookSettingsJSONBody ¶
type CreateWebhookSettingsJSONBody struct {
// CustomHeaders Custom headers to include in webhook requests
CustomHeaders *map[string]string `json:"customHeaders,omitempty"`
// Events Events to subscribe to (at least one required)
Events []CreateWebhookSettingsJSONBodyEvents `json:"events"`
// IsActive Enable or disable webhook delivery. Defaults to `true` when omitted.
IsActive *bool `json:"isActive,omitempty"`
// Name Webhook name (1-50 characters)
Name string `json:"name"`
// Secret Secret key for HMAC-SHA256 signature verification
Secret *string `json:"secret,omitempty"`
// Url Webhook endpoint URL (must be a valid URL, whitespace trimmed)
Url string `json:"url"`
}
CreateWebhookSettingsJSONBody defines parameters for CreateWebhookSettings.
type CreateWebhookSettingsJSONBodyEvents ¶
type CreateWebhookSettingsJSONBodyEvents string
CreateWebhookSettingsJSONBodyEvents defines parameters for CreateWebhookSettings.
const ( CreateWebhookSettingsJSONBodyEventsAccountAdsInitialSyncCompleted CreateWebhookSettingsJSONBodyEvents = "account.ads.initial_sync_completed" CreateWebhookSettingsJSONBodyEventsAccountConnected CreateWebhookSettingsJSONBodyEvents = "account.connected" CreateWebhookSettingsJSONBodyEventsAccountDisconnected CreateWebhookSettingsJSONBodyEvents = "account.disconnected" CreateWebhookSettingsJSONBodyEventsCommentReceived CreateWebhookSettingsJSONBodyEvents = "comment.received" CreateWebhookSettingsJSONBodyEventsMessageReceived CreateWebhookSettingsJSONBodyEvents = "message.received" CreateWebhookSettingsJSONBodyEventsPostCancelled CreateWebhookSettingsJSONBodyEvents = "post.cancelled" CreateWebhookSettingsJSONBodyEventsPostFailed CreateWebhookSettingsJSONBodyEvents = "post.failed" CreateWebhookSettingsJSONBodyEventsPostPartial CreateWebhookSettingsJSONBodyEvents = "post.partial" CreateWebhookSettingsJSONBodyEventsPostPublished CreateWebhookSettingsJSONBodyEvents = "post.published" CreateWebhookSettingsJSONBodyEventsPostRecycled CreateWebhookSettingsJSONBodyEvents = "post.recycled" CreateWebhookSettingsJSONBodyEventsPostScheduled CreateWebhookSettingsJSONBodyEvents = "post.scheduled" CreateWebhookSettingsJSONBodyEventsReviewNew CreateWebhookSettingsJSONBodyEvents = "review.new" CreateWebhookSettingsJSONBodyEventsReviewUpdated CreateWebhookSettingsJSONBodyEvents = "review.updated" )
Defines values for CreateWebhookSettingsJSONBodyEvents.
func (CreateWebhookSettingsJSONBodyEvents) Valid ¶
func (e CreateWebhookSettingsJSONBodyEvents) Valid() bool
Valid indicates whether the value is a known member of the CreateWebhookSettingsJSONBodyEvents enum.
type CreateWebhookSettingsJSONRequestBody ¶
type CreateWebhookSettingsJSONRequestBody CreateWebhookSettingsJSONBody
CreateWebhookSettingsJSONRequestBody defines body for CreateWebhookSettings for application/json ContentType.
type CreateWebhookSettingsResponse ¶
type CreateWebhookSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
// Webhook Individual webhook configuration for receiving real-time notifications
Webhook *Webhook `json:"webhook,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateWebhookSettingsResponse ¶
func ParseCreateWebhookSettingsResponse(rsp *http.Response) (*CreateWebhookSettingsResponse, error)
ParseCreateWebhookSettingsResponse parses an HTTP response from a CreateWebhookSettingsWithResponse call
func (CreateWebhookSettingsResponse) Status ¶
func (r CreateWebhookSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWebhookSettingsResponse) StatusCode ¶
func (r CreateWebhookSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWhatsAppFlowJSONBody ¶ added in v0.0.117
type CreateWhatsAppFlowJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Categories Flow categories
Categories []CreateWhatsAppFlowJSONBodyCategories `json:"categories"`
// CloneFlowId Optional: ID of an existing flow to clone
CloneFlowId *string `json:"cloneFlowId,omitempty"`
// Name Flow display name
Name string `json:"name"`
}
CreateWhatsAppFlowJSONBody defines parameters for CreateWhatsAppFlow.
type CreateWhatsAppFlowJSONBodyCategories ¶ added in v0.0.117
type CreateWhatsAppFlowJSONBodyCategories string
CreateWhatsAppFlowJSONBodyCategories defines parameters for CreateWhatsAppFlow.
const ( CreateWhatsAppFlowJSONBodyCategoriesAPPOINTMENTBOOKING CreateWhatsAppFlowJSONBodyCategories = "APPOINTMENT_BOOKING" CreateWhatsAppFlowJSONBodyCategoriesCONTACTUS CreateWhatsAppFlowJSONBodyCategories = "CONTACT_US" CreateWhatsAppFlowJSONBodyCategoriesCUSTOMERSUPPORT CreateWhatsAppFlowJSONBodyCategories = "CUSTOMER_SUPPORT" CreateWhatsAppFlowJSONBodyCategoriesLEADGENERATION CreateWhatsAppFlowJSONBodyCategories = "LEAD_GENERATION" CreateWhatsAppFlowJSONBodyCategoriesOTHER CreateWhatsAppFlowJSONBodyCategories = "OTHER" CreateWhatsAppFlowJSONBodyCategoriesSIGNIN CreateWhatsAppFlowJSONBodyCategories = "SIGN_IN" CreateWhatsAppFlowJSONBodyCategoriesSIGNUP CreateWhatsAppFlowJSONBodyCategories = "SIGN_UP" CreateWhatsAppFlowJSONBodyCategoriesSURVEY CreateWhatsAppFlowJSONBodyCategories = "SURVEY" )
Defines values for CreateWhatsAppFlowJSONBodyCategories.
func (CreateWhatsAppFlowJSONBodyCategories) Valid ¶ added in v0.0.117
func (e CreateWhatsAppFlowJSONBodyCategories) Valid() bool
Valid indicates whether the value is a known member of the CreateWhatsAppFlowJSONBodyCategories enum.
type CreateWhatsAppFlowJSONRequestBody ¶ added in v0.0.117
type CreateWhatsAppFlowJSONRequestBody CreateWhatsAppFlowJSONBody
CreateWhatsAppFlowJSONRequestBody defines body for CreateWhatsAppFlow for application/json ContentType.
type CreateWhatsAppFlowResponse ¶ added in v0.0.117
type CreateWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Flow *struct {
Categories *[]string `json:"categories,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"flow,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateWhatsAppFlowResponse ¶ added in v0.0.117
func ParseCreateWhatsAppFlowResponse(rsp *http.Response) (*CreateWhatsAppFlowResponse, error)
ParseCreateWhatsAppFlowResponse parses an HTTP response from a CreateWhatsAppFlowWithResponse call
func (CreateWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r CreateWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r CreateWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWhatsAppGroupChatJSONBody ¶ added in v0.0.92
type CreateWhatsAppGroupChatJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Description Group description (max 2048 characters)
Description *string `json:"description,omitempty"`
// JoinApprovalMode Whether users need approval to join via invite link
JoinApprovalMode *CreateWhatsAppGroupChatJSONBodyJoinApprovalMode `json:"joinApprovalMode,omitempty"`
// Subject Group name (max 128 characters)
Subject string `json:"subject"`
}
CreateWhatsAppGroupChatJSONBody defines parameters for CreateWhatsAppGroupChat.
type CreateWhatsAppGroupChatJSONBodyJoinApprovalMode ¶ added in v0.0.92
type CreateWhatsAppGroupChatJSONBodyJoinApprovalMode string
CreateWhatsAppGroupChatJSONBodyJoinApprovalMode defines parameters for CreateWhatsAppGroupChat.
const ( CreateWhatsAppGroupChatJSONBodyJoinApprovalModeApprovalRequired CreateWhatsAppGroupChatJSONBodyJoinApprovalMode = "approval_required" CreateWhatsAppGroupChatJSONBodyJoinApprovalModeAutoApprove CreateWhatsAppGroupChatJSONBodyJoinApprovalMode = "auto_approve" )
Defines values for CreateWhatsAppGroupChatJSONBodyJoinApprovalMode.
func (CreateWhatsAppGroupChatJSONBodyJoinApprovalMode) Valid ¶ added in v0.0.92
func (e CreateWhatsAppGroupChatJSONBodyJoinApprovalMode) Valid() bool
Valid indicates whether the value is a known member of the CreateWhatsAppGroupChatJSONBodyJoinApprovalMode enum.
type CreateWhatsAppGroupChatJSONRequestBody ¶ added in v0.0.92
type CreateWhatsAppGroupChatJSONRequestBody CreateWhatsAppGroupChatJSONBody
CreateWhatsAppGroupChatJSONRequestBody defines body for CreateWhatsAppGroupChat for application/json ContentType.
type CreateWhatsAppGroupChatResponse ¶ added in v0.0.92
type CreateWhatsAppGroupChatResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *struct {
Group *struct {
GroupId *string `json:"groupId,omitempty"`
InviteLink *string `json:"inviteLink,omitempty"`
} `json:"group,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateWhatsAppGroupChatResponse ¶ added in v0.0.92
func ParseCreateWhatsAppGroupChatResponse(rsp *http.Response) (*CreateWhatsAppGroupChatResponse, error)
ParseCreateWhatsAppGroupChatResponse parses an HTTP response from a CreateWhatsAppGroupChatWithResponse call
func (CreateWhatsAppGroupChatResponse) Status ¶ added in v0.0.92
func (r CreateWhatsAppGroupChatResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWhatsAppGroupChatResponse) StatusCode ¶ added in v0.0.92
func (r CreateWhatsAppGroupChatResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWhatsAppGroupInviteLinkParams ¶ added in v0.0.92
type CreateWhatsAppGroupInviteLinkParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
CreateWhatsAppGroupInviteLinkParams defines parameters for CreateWhatsAppGroupInviteLink.
type CreateWhatsAppGroupInviteLinkResponse ¶ added in v0.0.92
type CreateWhatsAppGroupInviteLinkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
InviteLink *string `json:"inviteLink,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateWhatsAppGroupInviteLinkResponse ¶ added in v0.0.92
func ParseCreateWhatsAppGroupInviteLinkResponse(rsp *http.Response) (*CreateWhatsAppGroupInviteLinkResponse, error)
ParseCreateWhatsAppGroupInviteLinkResponse parses an HTTP response from a CreateWhatsAppGroupInviteLinkWithResponse call
func (CreateWhatsAppGroupInviteLinkResponse) Status ¶ added in v0.0.92
func (r CreateWhatsAppGroupInviteLinkResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWhatsAppGroupInviteLinkResponse) StatusCode ¶ added in v0.0.92
func (r CreateWhatsAppGroupInviteLinkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWhatsAppTemplateJSONBody ¶
type CreateWhatsAppTemplateJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Category Template category
Category CreateWhatsAppTemplateJSONBodyCategory `json:"category"`
// Components Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
Components *[]WhatsAppTemplateComponent `json:"components,omitempty"`
// Language Template language code (e.g., en_US)
Language string `json:"language"`
// LibraryTemplateBodyInputs Optional body customizations for library templates. Available options depend on the
// template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
// add_track_package_link, code_expiration_minutes).
LibraryTemplateBodyInputs *map[string]interface{} `json:"library_template_body_inputs,omitempty"`
// LibraryTemplateButtonInputs Optional button customizations for library templates. Each item specifies button type
// and configuration (e.g., URL, phone number, quick reply).
LibraryTemplateButtonInputs *[]struct {
PhoneNumber *string `json:"phone_number,omitempty"`
Type *CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType `json:"type,omitempty"`
Url *struct {
BaseUrl *string `json:"base_url,omitempty"`
} `json:"url,omitempty"`
} `json:"library_template_button_inputs,omitempty"`
// LibraryTemplateName Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
// "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
// by Meta with no review wait. Omit components when using this field.
LibraryTemplateName *string `json:"library_template_name,omitempty"`
// Name Template name (lowercase, letters/numbers/underscores, must start with a letter)
Name string `json:"name"`
}
CreateWhatsAppTemplateJSONBody defines parameters for CreateWhatsAppTemplate.
type CreateWhatsAppTemplateJSONBodyCategory ¶
type CreateWhatsAppTemplateJSONBodyCategory string
CreateWhatsAppTemplateJSONBodyCategory defines parameters for CreateWhatsAppTemplate.
const ( AUTHENTICATION CreateWhatsAppTemplateJSONBodyCategory = "AUTHENTICATION" MARKETING CreateWhatsAppTemplateJSONBodyCategory = "MARKETING" UTILITY CreateWhatsAppTemplateJSONBodyCategory = "UTILITY" )
Defines values for CreateWhatsAppTemplateJSONBodyCategory.
func (CreateWhatsAppTemplateJSONBodyCategory) Valid ¶
func (e CreateWhatsAppTemplateJSONBodyCategory) Valid() bool
Valid indicates whether the value is a known member of the CreateWhatsAppTemplateJSONBodyCategory enum.
type CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType ¶
type CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType string
CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType defines parameters for CreateWhatsAppTemplate.
const ( CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsTypePhoneNumber CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType = "phone_number" CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsTypeQuickReply CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType = "quick_reply" CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsTypeUrl CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType = "url" )
Defines values for CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType.
func (CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType) Valid ¶
func (e CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType) Valid() bool
Valid indicates whether the value is a known member of the CreateWhatsAppTemplateJSONBodyLibraryTemplateButtonInputsType enum.
type CreateWhatsAppTemplateJSONRequestBody ¶
type CreateWhatsAppTemplateJSONRequestBody CreateWhatsAppTemplateJSONBody
CreateWhatsAppTemplateJSONRequestBody defines body for CreateWhatsAppTemplate for application/json ContentType.
type CreateWhatsAppTemplateResponse ¶
type CreateWhatsAppTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Template *struct {
Category *string `json:"category,omitempty"`
Id *string `json:"id,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
// Status APPROVED for library templates, PENDING for custom
Status *string `json:"status,omitempty"`
} `json:"template,omitempty"`
}
JSON401 *Unauthorized
}
func ParseCreateWhatsAppTemplateResponse ¶
func ParseCreateWhatsAppTemplateResponse(rsp *http.Response) (*CreateWhatsAppTemplateResponse, error)
ParseCreateWhatsAppTemplateResponse parses an HTTP response from a CreateWhatsAppTemplateWithResponse call
func (CreateWhatsAppTemplateResponse) Status ¶
func (r CreateWhatsAppTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWhatsAppTemplateResponse) StatusCode ¶
func (r CreateWhatsAppTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAccountGroupResponse ¶
type DeleteAccountGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAccountGroupResponse ¶
func ParseDeleteAccountGroupResponse(rsp *http.Response) (*DeleteAccountGroupResponse, error)
ParseDeleteAccountGroupResponse parses an HTTP response from a DeleteAccountGroupWithResponse call
func (DeleteAccountGroupResponse) Status ¶
func (r DeleteAccountGroupResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountGroupResponse) StatusCode ¶
func (r DeleteAccountGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAccountResponse ¶
type DeleteAccountResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAccountResponse ¶
func ParseDeleteAccountResponse(rsp *http.Response) (*DeleteAccountResponse, error)
ParseDeleteAccountResponse parses an HTTP response from a DeleteAccountWithResponse call
func (DeleteAccountResponse) Status ¶
func (r DeleteAccountResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAccountResponse) StatusCode ¶
func (r DeleteAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdAudienceResponse ¶ added in v0.0.106
type DeleteAdAudienceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAdAudienceResponse ¶ added in v0.0.106
func ParseDeleteAdAudienceResponse(rsp *http.Response) (*DeleteAdAudienceResponse, error)
ParseDeleteAdAudienceResponse parses an HTTP response from a DeleteAdAudienceWithResponse call
func (DeleteAdAudienceResponse) Status ¶ added in v0.0.106
func (r DeleteAdAudienceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdAudienceResponse) StatusCode ¶ added in v0.0.106
func (r DeleteAdAudienceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdCampaignJSONBody ¶ added in v0.0.168
type DeleteAdCampaignJSONBody struct {
Platform DeleteAdCampaignJSONBodyPlatform `json:"platform"`
}
DeleteAdCampaignJSONBody defines parameters for DeleteAdCampaign.
type DeleteAdCampaignJSONBodyPlatform ¶ added in v0.0.168
type DeleteAdCampaignJSONBodyPlatform string
DeleteAdCampaignJSONBodyPlatform defines parameters for DeleteAdCampaign.
const ( DeleteAdCampaignJSONBodyPlatformFacebook DeleteAdCampaignJSONBodyPlatform = "facebook" DeleteAdCampaignJSONBodyPlatformInstagram DeleteAdCampaignJSONBodyPlatform = "instagram" )
Defines values for DeleteAdCampaignJSONBodyPlatform.
func (DeleteAdCampaignJSONBodyPlatform) Valid ¶ added in v0.0.168
func (e DeleteAdCampaignJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the DeleteAdCampaignJSONBodyPlatform enum.
type DeleteAdCampaignJSONRequestBody ¶ added in v0.0.168
type DeleteAdCampaignJSONRequestBody DeleteAdCampaignJSONBody
DeleteAdCampaignJSONRequestBody defines body for DeleteAdCampaign for application/json ContentType.
type DeleteAdCampaignResponse ¶ added in v0.0.168
type DeleteAdCampaignResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// AdCount Number of local Ad docs marked cancelled
AdCount *int `json:"adCount,omitempty"`
Deleted *bool `json:"deleted,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteAdCampaignResponse ¶ added in v0.0.168
func ParseDeleteAdCampaignResponse(rsp *http.Response) (*DeleteAdCampaignResponse, error)
ParseDeleteAdCampaignResponse parses an HTTP response from a DeleteAdCampaignWithResponse call
func (DeleteAdCampaignResponse) Status ¶ added in v0.0.168
func (r DeleteAdCampaignResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdCampaignResponse) StatusCode ¶ added in v0.0.168
func (r DeleteAdCampaignResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteAdResponse ¶ added in v0.0.106
type DeleteAdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteAdResponse ¶ added in v0.0.106
func ParseDeleteAdResponse(rsp *http.Response) (*DeleteAdResponse, error)
ParseDeleteAdResponse parses an HTTP response from a DeleteAdWithResponse call
func (DeleteAdResponse) Status ¶ added in v0.0.106
func (r DeleteAdResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteAdResponse) StatusCode ¶ added in v0.0.106
func (r DeleteAdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteApiKeyResponse ¶
type DeleteApiKeyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteApiKeyResponse ¶
func ParseDeleteApiKeyResponse(rsp *http.Response) (*DeleteApiKeyResponse, error)
ParseDeleteApiKeyResponse parses an HTTP response from a DeleteApiKeyWithResponse call
func (DeleteApiKeyResponse) Status ¶
func (r DeleteApiKeyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteApiKeyResponse) StatusCode ¶
func (r DeleteApiKeyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteBroadcastResponse ¶ added in v0.0.76
type DeleteBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteBroadcastResponse ¶ added in v0.0.76
func ParseDeleteBroadcastResponse(rsp *http.Response) (*DeleteBroadcastResponse, error)
ParseDeleteBroadcastResponse parses an HTTP response from a DeleteBroadcastWithResponse call
func (DeleteBroadcastResponse) Status ¶ added in v0.0.76
func (r DeleteBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r DeleteBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCommentAutomationResponse ¶ added in v0.0.76
type DeleteCommentAutomationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteCommentAutomationResponse ¶ added in v0.0.76
func ParseDeleteCommentAutomationResponse(rsp *http.Response) (*DeleteCommentAutomationResponse, error)
ParseDeleteCommentAutomationResponse parses an HTTP response from a DeleteCommentAutomationWithResponse call
func (DeleteCommentAutomationResponse) Status ¶ added in v0.0.76
func (r DeleteCommentAutomationResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCommentAutomationResponse) StatusCode ¶ added in v0.0.76
func (r DeleteCommentAutomationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteContactResponse ¶ added in v0.0.76
type DeleteContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteContactResponse ¶ added in v0.0.76
func ParseDeleteContactResponse(rsp *http.Response) (*DeleteContactResponse, error)
ParseDeleteContactResponse parses an HTTP response from a DeleteContactWithResponse call
func (DeleteContactResponse) Status ¶ added in v0.0.76
func (r DeleteContactResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteContactResponse) StatusCode ¶ added in v0.0.76
func (r DeleteContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomFieldResponse ¶ added in v0.0.76
type DeleteCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteCustomFieldResponse ¶ added in v0.0.76
func ParseDeleteCustomFieldResponse(rsp *http.Response) (*DeleteCustomFieldResponse, error)
ParseDeleteCustomFieldResponse parses an HTTP response from a DeleteCustomFieldWithResponse call
func (DeleteCustomFieldResponse) Status ¶ added in v0.0.76
func (r DeleteCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomFieldResponse) StatusCode ¶ added in v0.0.76
func (r DeleteCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGoogleBusinessMediaParams ¶
type DeleteGoogleBusinessMediaParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
// MediaId The media item ID to delete
MediaId string `form:"mediaId" json:"mediaId"`
}
DeleteGoogleBusinessMediaParams defines parameters for DeleteGoogleBusinessMedia.
type DeleteGoogleBusinessMediaResponse ¶
type DeleteGoogleBusinessMediaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deleted *bool `json:"deleted,omitempty"`
MediaId *string `json:"mediaId,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseDeleteGoogleBusinessMediaResponse ¶
func ParseDeleteGoogleBusinessMediaResponse(rsp *http.Response) (*DeleteGoogleBusinessMediaResponse, error)
ParseDeleteGoogleBusinessMediaResponse parses an HTTP response from a DeleteGoogleBusinessMediaWithResponse call
func (DeleteGoogleBusinessMediaResponse) Status ¶
func (r DeleteGoogleBusinessMediaResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGoogleBusinessMediaResponse) StatusCode ¶
func (r DeleteGoogleBusinessMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGoogleBusinessPlaceActionParams ¶
type DeleteGoogleBusinessPlaceActionParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
// Name The resource name of the place action link (e.g. locations/123/placeActionLinks/456)
Name string `form:"name" json:"name"`
}
DeleteGoogleBusinessPlaceActionParams defines parameters for DeleteGoogleBusinessPlaceAction.
type DeleteGoogleBusinessPlaceActionResponse ¶
type DeleteGoogleBusinessPlaceActionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deleted *bool `json:"deleted,omitempty"`
Name *string `json:"name,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseDeleteGoogleBusinessPlaceActionResponse ¶
func ParseDeleteGoogleBusinessPlaceActionResponse(rsp *http.Response) (*DeleteGoogleBusinessPlaceActionResponse, error)
ParseDeleteGoogleBusinessPlaceActionResponse parses an HTTP response from a DeleteGoogleBusinessPlaceActionWithResponse call
func (DeleteGoogleBusinessPlaceActionResponse) Status ¶
func (r DeleteGoogleBusinessPlaceActionResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteGoogleBusinessPlaceActionResponse) StatusCode ¶
func (r DeleteGoogleBusinessPlaceActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInboxCommentParams ¶
type DeleteInboxCommentParams struct {
AccountId string `form:"accountId" json:"accountId"`
CommentId string `form:"commentId" json:"commentId"`
}
DeleteInboxCommentParams defines parameters for DeleteInboxComment.
type DeleteInboxCommentResponse ¶
type DeleteInboxCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
Message *string `json:"message,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteInboxCommentResponse ¶
func ParseDeleteInboxCommentResponse(rsp *http.Response) (*DeleteInboxCommentResponse, error)
ParseDeleteInboxCommentResponse parses an HTTP response from a DeleteInboxCommentWithResponse call
func (DeleteInboxCommentResponse) Status ¶
func (r DeleteInboxCommentResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInboxCommentResponse) StatusCode ¶
func (r DeleteInboxCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInboxMessageParams ¶ added in v0.0.96
type DeleteInboxMessageParams struct {
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
}
DeleteInboxMessageParams defines parameters for DeleteInboxMessage.
type DeleteInboxMessageResponse ¶ added in v0.0.96
type DeleteInboxMessageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteInboxMessageResponse ¶ added in v0.0.96
func ParseDeleteInboxMessageResponse(rsp *http.Response) (*DeleteInboxMessageResponse, error)
ParseDeleteInboxMessageResponse parses an HTTP response from a DeleteInboxMessageWithResponse call
func (DeleteInboxMessageResponse) Status ¶ added in v0.0.96
func (r DeleteInboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInboxMessageResponse) StatusCode ¶ added in v0.0.96
func (r DeleteInboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInboxReviewReplyJSONBody ¶
type DeleteInboxReviewReplyJSONBody struct {
AccountId string `json:"accountId"`
}
DeleteInboxReviewReplyJSONBody defines parameters for DeleteInboxReviewReply.
type DeleteInboxReviewReplyJSONRequestBody ¶
type DeleteInboxReviewReplyJSONRequestBody DeleteInboxReviewReplyJSONBody
DeleteInboxReviewReplyJSONRequestBody defines body for DeleteInboxReviewReply for application/json ContentType.
type DeleteInboxReviewReplyResponse ¶
type DeleteInboxReviewReplyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteInboxReviewReplyResponse ¶
func ParseDeleteInboxReviewReplyResponse(rsp *http.Response) (*DeleteInboxReviewReplyResponse, error)
ParseDeleteInboxReviewReplyResponse parses an HTTP response from a DeleteInboxReviewReplyWithResponse call
func (DeleteInboxReviewReplyResponse) Status ¶
func (r DeleteInboxReviewReplyResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInboxReviewReplyResponse) StatusCode ¶
func (r DeleteInboxReviewReplyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteInstagramIceBreakersResponse ¶
type DeleteInstagramIceBreakersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseDeleteInstagramIceBreakersResponse ¶
func ParseDeleteInstagramIceBreakersResponse(rsp *http.Response) (*DeleteInstagramIceBreakersResponse, error)
ParseDeleteInstagramIceBreakersResponse parses an HTTP response from a DeleteInstagramIceBreakersWithResponse call
func (DeleteInstagramIceBreakersResponse) Status ¶
func (r DeleteInstagramIceBreakersResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteInstagramIceBreakersResponse) StatusCode ¶
func (r DeleteInstagramIceBreakersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMessengerMenuResponse ¶
type DeleteMessengerMenuResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseDeleteMessengerMenuResponse ¶
func ParseDeleteMessengerMenuResponse(rsp *http.Response) (*DeleteMessengerMenuResponse, error)
ParseDeleteMessengerMenuResponse parses an HTTP response from a DeleteMessengerMenuWithResponse call
func (DeleteMessengerMenuResponse) Status ¶
func (r DeleteMessengerMenuResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteMessengerMenuResponse) StatusCode ¶
func (r DeleteMessengerMenuResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeletePostResponse ¶
type DeletePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PostDeleteResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeletePostResponse ¶
func ParseDeletePostResponse(rsp *http.Response) (*DeletePostResponse, error)
ParseDeletePostResponse parses an HTTP response from a DeletePostWithResponse call
func (DeletePostResponse) Status ¶
func (r DeletePostResponse) Status() string
Status returns HTTPResponse.Status
func (DeletePostResponse) StatusCode ¶
func (r DeletePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteProfileResponse ¶
type DeleteProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteProfileResponse ¶
func ParseDeleteProfileResponse(rsp *http.Response) (*DeleteProfileResponse, error)
ParseDeleteProfileResponse parses an HTTP response from a DeleteProfileWithResponse call
func (DeleteProfileResponse) Status ¶
func (r DeleteProfileResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteProfileResponse) StatusCode ¶
func (r DeleteProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteQueueSlotParams ¶
type DeleteQueueSlotParams struct {
ProfileId string `form:"profileId" json:"profileId"`
// QueueId Queue ID to delete
QueueId string `form:"queueId" json:"queueId"`
}
DeleteQueueSlotParams defines parameters for DeleteQueueSlot.
type DeleteQueueSlotResponse ¶
type DeleteQueueSlotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Deleted *bool `json:"deleted,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteQueueSlotResponse ¶
func ParseDeleteQueueSlotResponse(rsp *http.Response) (*DeleteQueueSlotResponse, error)
ParseDeleteQueueSlotResponse parses an HTTP response from a DeleteQueueSlotWithResponse call
func (DeleteQueueSlotResponse) Status ¶
func (r DeleteQueueSlotResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteQueueSlotResponse) StatusCode ¶
func (r DeleteQueueSlotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSequenceResponse ¶ added in v0.0.76
type DeleteSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteSequenceResponse ¶ added in v0.0.76
func ParseDeleteSequenceResponse(rsp *http.Response) (*DeleteSequenceResponse, error)
ParseDeleteSequenceResponse parses an HTTP response from a DeleteSequenceWithResponse call
func (DeleteSequenceResponse) Status ¶ added in v0.0.76
func (r DeleteSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteSequenceResponse) StatusCode ¶ added in v0.0.76
func (r DeleteSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteTelegramCommandsResponse ¶
type DeleteTelegramCommandsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseDeleteTelegramCommandsResponse ¶
func ParseDeleteTelegramCommandsResponse(rsp *http.Response) (*DeleteTelegramCommandsResponse, error)
ParseDeleteTelegramCommandsResponse parses an HTTP response from a DeleteTelegramCommandsWithResponse call
func (DeleteTelegramCommandsResponse) Status ¶
func (r DeleteTelegramCommandsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteTelegramCommandsResponse) StatusCode ¶
func (r DeleteTelegramCommandsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWebhookSettingsParams ¶
type DeleteWebhookSettingsParams struct {
// Id Webhook ID to delete
Id string `form:"id" json:"id"`
}
DeleteWebhookSettingsParams defines parameters for DeleteWebhookSettings.
type DeleteWebhookSettingsResponse ¶
type DeleteWebhookSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteWebhookSettingsResponse ¶
func ParseDeleteWebhookSettingsResponse(rsp *http.Response) (*DeleteWebhookSettingsResponse, error)
ParseDeleteWebhookSettingsResponse parses an HTTP response from a DeleteWebhookSettingsWithResponse call
func (DeleteWebhookSettingsResponse) Status ¶
func (r DeleteWebhookSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhookSettingsResponse) StatusCode ¶
func (r DeleteWebhookSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWhatsAppFlowParams ¶ added in v0.0.117
type DeleteWhatsAppFlowParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
DeleteWhatsAppFlowParams defines parameters for DeleteWhatsAppFlow.
type DeleteWhatsAppFlowResponse ¶ added in v0.0.117
type DeleteWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeleteWhatsAppFlowResponse ¶ added in v0.0.117
func ParseDeleteWhatsAppFlowResponse(rsp *http.Response) (*DeleteWhatsAppFlowResponse, error)
ParseDeleteWhatsAppFlowResponse parses an HTTP response from a DeleteWhatsAppFlowWithResponse call
func (DeleteWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r DeleteWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r DeleteWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWhatsAppGroupChatParams ¶ added in v0.0.92
type DeleteWhatsAppGroupChatParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
DeleteWhatsAppGroupChatParams defines parameters for DeleteWhatsAppGroupChat.
type DeleteWhatsAppGroupChatResponse ¶ added in v0.0.92
type DeleteWhatsAppGroupChatResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteWhatsAppGroupChatResponse ¶ added in v0.0.92
func ParseDeleteWhatsAppGroupChatResponse(rsp *http.Response) (*DeleteWhatsAppGroupChatResponse, error)
ParseDeleteWhatsAppGroupChatResponse parses an HTTP response from a DeleteWhatsAppGroupChatWithResponse call
func (DeleteWhatsAppGroupChatResponse) Status ¶ added in v0.0.92
func (r DeleteWhatsAppGroupChatResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWhatsAppGroupChatResponse) StatusCode ¶ added in v0.0.92
func (r DeleteWhatsAppGroupChatResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWhatsAppTemplateParams ¶
type DeleteWhatsAppTemplateParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
DeleteWhatsAppTemplateParams defines parameters for DeleteWhatsAppTemplate.
type DeleteWhatsAppTemplateResponse ¶
type DeleteWhatsAppTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseDeleteWhatsAppTemplateResponse ¶
func ParseDeleteWhatsAppTemplateResponse(rsp *http.Response) (*DeleteWhatsAppTemplateResponse, error)
ParseDeleteWhatsAppTemplateResponse parses an HTTP response from a DeleteWhatsAppTemplateWithResponse call
func (DeleteWhatsAppTemplateResponse) Status ¶
func (r DeleteWhatsAppTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWhatsAppTemplateResponse) StatusCode ¶
func (r DeleteWhatsAppTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeprecateWhatsAppFlowJSONBody ¶ added in v0.0.117
type DeprecateWhatsAppFlowJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
}
DeprecateWhatsAppFlowJSONBody defines parameters for DeprecateWhatsAppFlow.
type DeprecateWhatsAppFlowJSONRequestBody ¶ added in v0.0.117
type DeprecateWhatsAppFlowJSONRequestBody DeprecateWhatsAppFlowJSONBody
DeprecateWhatsAppFlowJSONRequestBody defines body for DeprecateWhatsAppFlow for application/json ContentType.
type DeprecateWhatsAppFlowResponse ¶ added in v0.0.117
type DeprecateWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDeprecateWhatsAppFlowResponse ¶ added in v0.0.117
func ParseDeprecateWhatsAppFlowResponse(rsp *http.Response) (*DeprecateWhatsAppFlowResponse, error)
ParseDeprecateWhatsAppFlowResponse parses an HTTP response from a DeprecateWhatsAppFlowWithResponse call
func (DeprecateWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r DeprecateWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (DeprecateWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r DeprecateWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DiscordPlatformData ¶ added in v0.0.153
type DiscordPlatformData struct {
// ChannelId Target channel snowflake ID. Determines which channel in the connected server receives the message.
ChannelId string `json:"channelId"`
// Crosspost Auto-crosspost to every server following this announcement channel (type 5). No-op for regular text channels.
Crosspost *bool `json:"crosspost,omitempty"`
// Embeds Up to 10 Discord embed objects (combined max 6,000 characters across all embeds). Sent alongside or instead of plain-text content.
Embeds *[]struct {
Author *struct {
IconUrl *string `json:"icon_url,omitempty"`
// Name Author name (max 256 chars)
Name *string `json:"name,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"author,omitempty"`
// Color Embed accent color as decimal integer (e.g. 5814783 for blue). Convert hex to decimal.
Color *int `json:"color,omitempty"`
// Description Embed body text (max 4,096 chars)
Description *string `json:"description,omitempty"`
// Fields Up to 25 fields per embed
Fields *[]struct {
// Inline Display fields side-by-side
Inline *bool `json:"inline,omitempty"`
// Name Field name (max 256 chars)
Name string `json:"name"`
// Value Field value (max 1
Value string `json:"value"`
} `json:"fields,omitempty"`
Footer *struct {
IconUrl *string `json:"icon_url,omitempty"`
// Text Footer text (max 2
Text *string `json:"text,omitempty"`
} `json:"footer,omitempty"`
Image *struct {
Url *string `json:"url,omitempty"`
} `json:"image,omitempty"`
Thumbnail *struct {
Url *string `json:"url,omitempty"`
} `json:"thumbnail,omitempty"`
// Title Embed title (max 256 chars)
Title *string `json:"title,omitempty"`
// Url URL the title links to
Url *string `json:"url,omitempty"`
} `json:"embeds,omitempty"`
// ForumAppliedTags Tag snowflake IDs to apply to forum posts. Max 5 tags.
ForumAppliedTags *[]string `json:"forumAppliedTags,omitempty"`
// ForumThreadName Thread title for forum channel posts (type 15). Required when posting to a forum channel.
ForumThreadName *string `json:"forumThreadName,omitempty"`
// Poll Native Discord poll. Cannot be combined with media attachments in the same message.
Poll *struct {
// AllowMultiselect Allow users to select multiple answers. Default false.
AllowMultiselect *bool `json:"allow_multiselect,omitempty"`
// Answers 1-10 answer options
Answers *[]struct {
PollMedia *struct {
// Text Answer text
Text *string `json:"text,omitempty"`
} `json:"poll_media,omitempty"`
} `json:"answers,omitempty"`
// Duration Poll duration in hours (1-768). Default 24.
Duration *int `json:"duration,omitempty"`
Question *struct {
// Text Poll question (max 300 chars)
Text string `json:"text"`
} `json:"question,omitempty"`
} `json:"poll,omitempty"`
// ThreadFromMessage Create a follow-up thread under the published message.
ThreadFromMessage *struct {
// AutoArchiveDuration Auto-archive after inactivity (minutes)
AutoArchiveDuration *DiscordPlatformDataThreadFromMessageAutoArchiveDuration `json:"autoArchiveDuration,omitempty"`
// Name Thread name (1-100 chars)
Name *string `json:"name,omitempty"`
// RateLimitPerUser Slow-mode duration in seconds (0-21600)
RateLimitPerUser *int `json:"rateLimitPerUser,omitempty"`
} `json:"threadFromMessage,omitempty"`
// Tts Send as text-to-speech message. Discord reads the message aloud in the channel.
Tts *bool `json:"tts,omitempty"`
// WebhookAvatarUrl Override the webhook avatar URL for this post only. Falls back to the account-level default.
WebhookAvatarUrl *string `json:"webhookAvatarUrl,omitempty"`
// WebhookUsername Override the webhook display name for this post only (1-80 chars). Falls back to the account-level default set via PATCH /v1/connect/discord.
WebhookUsername *string `json:"webhookUsername,omitempty"`
}
DiscordPlatformData Discord message settings. Supports plain text (2,000 chars), rich embeds (up to 10), native polls, forum posts, threads, and announcement crossposts. Media attachments support images (JPEG, PNG, GIF, WebP), videos (MP4), and documents (up to 10 files, 25 MB each). Webhook identity (username + avatar) can be customized per-account via PATCH /v1/connect/discord or per-post via webhookUsername/webhookAvatarUrl.
type DiscordPlatformDataThreadFromMessageAutoArchiveDuration ¶ added in v0.0.153
type DiscordPlatformDataThreadFromMessageAutoArchiveDuration int
DiscordPlatformDataThreadFromMessageAutoArchiveDuration Auto-archive after inactivity (minutes)
const ( N10080 DiscordPlatformDataThreadFromMessageAutoArchiveDuration = 10080 N1440 DiscordPlatformDataThreadFromMessageAutoArchiveDuration = 1440 N4320 DiscordPlatformDataThreadFromMessageAutoArchiveDuration = 4320 N60 DiscordPlatformDataThreadFromMessageAutoArchiveDuration = 60 )
Defines values for DiscordPlatformDataThreadFromMessageAutoArchiveDuration.
func (DiscordPlatformDataThreadFromMessageAutoArchiveDuration) Valid ¶ added in v0.0.153
func (e DiscordPlatformDataThreadFromMessageAutoArchiveDuration) Valid() bool
Valid indicates whether the value is a known member of the DiscordPlatformDataThreadFromMessageAutoArchiveDuration enum.
type DuplicateAdCampaign200Discovery ¶ added in v0.0.168
type DuplicateAdCampaign200Discovery string
type DuplicateAdCampaignJSONBody ¶ added in v0.0.168
type DuplicateAdCampaignJSONBody struct {
// DeepCopy Copy child ad sets + ads + creatives + targeting
DeepCopy *bool `json:"deepCopy,omitempty"`
EndTime *time.Time `json:"endTime,omitempty"`
Platform DuplicateAdCampaignJSONBodyPlatform `json:"platform"`
RenamePrefix *string `json:"renamePrefix,omitempty"`
RenameStrategy *DuplicateAdCampaignJSONBodyRenameStrategy `json:"renameStrategy,omitempty"`
RenameSuffix *string `json:"renameSuffix,omitempty"`
// StartTime Reschedule the copied hierarchy's start time
StartTime *time.Time `json:"startTime,omitempty"`
StatusOption *DuplicateAdCampaignJSONBodyStatusOption `json:"statusOption,omitempty"`
// SyncAfter Trigger ads discovery on the owning account after the copy succeeds
SyncAfter *bool `json:"syncAfter,omitempty"`
}
DuplicateAdCampaignJSONBody defines parameters for DuplicateAdCampaign.
type DuplicateAdCampaignJSONBodyPlatform ¶ added in v0.0.168
type DuplicateAdCampaignJSONBodyPlatform string
DuplicateAdCampaignJSONBodyPlatform defines parameters for DuplicateAdCampaign.
const ( DuplicateAdCampaignJSONBodyPlatformFacebook DuplicateAdCampaignJSONBodyPlatform = "facebook" DuplicateAdCampaignJSONBodyPlatformInstagram DuplicateAdCampaignJSONBodyPlatform = "instagram" DuplicateAdCampaignJSONBodyPlatformTiktok DuplicateAdCampaignJSONBodyPlatform = "tiktok" )
Defines values for DuplicateAdCampaignJSONBodyPlatform.
func (DuplicateAdCampaignJSONBodyPlatform) Valid ¶ added in v0.0.168
func (e DuplicateAdCampaignJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the DuplicateAdCampaignJSONBodyPlatform enum.
type DuplicateAdCampaignJSONBodyRenameStrategy ¶ added in v0.0.168
type DuplicateAdCampaignJSONBodyRenameStrategy string
DuplicateAdCampaignJSONBodyRenameStrategy defines parameters for DuplicateAdCampaign.
const ( DEEPRENAME DuplicateAdCampaignJSONBodyRenameStrategy = "DEEP_RENAME" NORENAME DuplicateAdCampaignJSONBodyRenameStrategy = "NO_RENAME" ONLYTOPLEVELRENAME DuplicateAdCampaignJSONBodyRenameStrategy = "ONLY_TOP_LEVEL_RENAME" )
Defines values for DuplicateAdCampaignJSONBodyRenameStrategy.
func (DuplicateAdCampaignJSONBodyRenameStrategy) Valid ¶ added in v0.0.168
func (e DuplicateAdCampaignJSONBodyRenameStrategy) Valid() bool
Valid indicates whether the value is a known member of the DuplicateAdCampaignJSONBodyRenameStrategy enum.
type DuplicateAdCampaignJSONBodyStatusOption ¶ added in v0.0.168
type DuplicateAdCampaignJSONBodyStatusOption string
DuplicateAdCampaignJSONBodyStatusOption defines parameters for DuplicateAdCampaign.
const ( ACTIVE DuplicateAdCampaignJSONBodyStatusOption = "ACTIVE" INHERITEDFROMSOURCE DuplicateAdCampaignJSONBodyStatusOption = "INHERITED_FROM_SOURCE" PAUSED DuplicateAdCampaignJSONBodyStatusOption = "PAUSED" )
Defines values for DuplicateAdCampaignJSONBodyStatusOption.
func (DuplicateAdCampaignJSONBodyStatusOption) Valid ¶ added in v0.0.168
func (e DuplicateAdCampaignJSONBodyStatusOption) Valid() bool
Valid indicates whether the value is a known member of the DuplicateAdCampaignJSONBodyStatusOption enum.
type DuplicateAdCampaignJSONRequestBody ¶ added in v0.0.168
type DuplicateAdCampaignJSONRequestBody DuplicateAdCampaignJSONBody
DuplicateAdCampaignJSONRequestBody defines body for DuplicateAdCampaign for application/json ContentType.
type DuplicateAdCampaignResponse ¶ added in v0.0.168
type DuplicateAdCampaignResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// CopiedCampaignId Platform ID of the new campaign
CopiedCampaignId *string `json:"copiedCampaignId,omitempty"`
Discovery *DuplicateAdCampaign200Discovery `json:"discovery,omitempty"`
// Raw Platform-native response from the copy endpoint (Meta includes ad_object_ids for child copies)
Raw *map[string]interface{} `json:"raw,omitempty"`
}
JSON401 *Unauthorized
}
func ParseDuplicateAdCampaignResponse ¶ added in v0.0.168
func ParseDuplicateAdCampaignResponse(rsp *http.Response) (*DuplicateAdCampaignResponse, error)
ParseDuplicateAdCampaignResponse parses an HTTP response from a DuplicateAdCampaignWithResponse call
func (DuplicateAdCampaignResponse) Status ¶ added in v0.0.168
func (r DuplicateAdCampaignResponse) Status() string
Status returns HTTPResponse.Status
func (DuplicateAdCampaignResponse) StatusCode ¶ added in v0.0.168
func (r DuplicateAdCampaignResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditInboxMessageJSONBody ¶
type EditInboxMessageJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
// ReplyMarkup New inline keyboard markup
ReplyMarkup *struct {
Keyboard *[][]struct {
CallbackData *string `json:"callbackData,omitempty"`
Text *string `json:"text,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"keyboard,omitempty"`
Type *EditInboxMessageJSONBodyReplyMarkupType `json:"type,omitempty"`
} `json:"replyMarkup,omitempty"`
// Text New message text
Text *string `json:"text,omitempty"`
}
EditInboxMessageJSONBody defines parameters for EditInboxMessage.
type EditInboxMessageJSONBodyReplyMarkupType ¶
type EditInboxMessageJSONBodyReplyMarkupType string
EditInboxMessageJSONBodyReplyMarkupType defines parameters for EditInboxMessage.
const (
EditInboxMessageJSONBodyReplyMarkupTypeInlineKeyboard EditInboxMessageJSONBodyReplyMarkupType = "inline_keyboard"
)
Defines values for EditInboxMessageJSONBodyReplyMarkupType.
func (EditInboxMessageJSONBodyReplyMarkupType) Valid ¶
func (e EditInboxMessageJSONBodyReplyMarkupType) Valid() bool
Valid indicates whether the value is a known member of the EditInboxMessageJSONBodyReplyMarkupType enum.
type EditInboxMessageJSONRequestBody ¶
type EditInboxMessageJSONRequestBody EditInboxMessageJSONBody
EditInboxMessageJSONRequestBody defines body for EditInboxMessage for application/json ContentType.
type EditInboxMessageResponse ¶
type EditInboxMessageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
MessageId *int `json:"messageId,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseEditInboxMessageResponse ¶
func ParseEditInboxMessageResponse(rsp *http.Response) (*EditInboxMessageResponse, error)
ParseEditInboxMessageResponse parses an HTTP response from a EditInboxMessageWithResponse call
func (EditInboxMessageResponse) Status ¶
func (r EditInboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (EditInboxMessageResponse) StatusCode ¶
func (r EditInboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EditPostJSONBody ¶ added in v0.0.119
type EditPostJSONBody struct {
// Content The new tweet text content
Content string `json:"content"`
// Platform The platform to edit the post on. Currently only twitter is supported.
Platform EditPostJSONBodyPlatform `json:"platform"`
}
EditPostJSONBody defines parameters for EditPost.
type EditPostJSONBodyPlatform ¶ added in v0.0.119
type EditPostJSONBodyPlatform string
EditPostJSONBodyPlatform defines parameters for EditPost.
const (
EditPostJSONBodyPlatformTwitter EditPostJSONBodyPlatform = "twitter"
)
Defines values for EditPostJSONBodyPlatform.
func (EditPostJSONBodyPlatform) Valid ¶ added in v0.0.119
func (e EditPostJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the EditPostJSONBodyPlatform enum.
type EditPostJSONRequestBody ¶ added in v0.0.119
type EditPostJSONRequestBody EditPostJSONBody
EditPostJSONRequestBody defines body for EditPost for application/json ContentType.
type EditPostResponse ¶ added in v0.0.119
type EditPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Id New tweet ID assigned by X after edit
Id *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
// Url URL of the edited tweet
Url *string `json:"url,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseEditPostResponse ¶ added in v0.0.119
func ParseEditPostResponse(rsp *http.Response) (*EditPostResponse, error)
ParseEditPostResponse parses an HTTP response from a EditPostWithResponse call
func (EditPostResponse) Status ¶ added in v0.0.119
func (r EditPostResponse) Status() string
Status returns HTTPResponse.Status
func (EditPostResponse) StatusCode ¶ added in v0.0.119
func (r EditPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type EnrollContactsJSONBody ¶ added in v0.0.76
type EnrollContactsJSONBody struct {
// ChannelIds Optional. Auto-detected if not provided.
ChannelIds *[]string `json:"channelIds,omitempty"`
ContactIds []string `json:"contactIds"`
}
EnrollContactsJSONBody defines parameters for EnrollContacts.
type EnrollContactsJSONRequestBody ¶ added in v0.0.76
type EnrollContactsJSONRequestBody EnrollContactsJSONBody
EnrollContactsJSONRequestBody defines body for EnrollContacts for application/json ContentType.
type EnrollContactsResponse ¶ added in v0.0.76
type EnrollContactsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Enrolled Number of contacts successfully enrolled
Enrolled *int `json:"enrolled,omitempty"`
// Skipped Number skipped (already enrolled or missing channel)
Skipped *int `json:"skipped,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseEnrollContactsResponse ¶ added in v0.0.76
func ParseEnrollContactsResponse(rsp *http.Response) (*EnrollContactsResponse, error)
ParseEnrollContactsResponse parses an HTTP response from a EnrollContactsWithResponse call
func (EnrollContactsResponse) Status ¶ added in v0.0.76
func (r EnrollContactsResponse) Status() string
Status returns HTTPResponse.Status
func (EnrollContactsResponse) StatusCode ¶ added in v0.0.76
func (r EnrollContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ErrorResponse ¶
type ErrorResponse struct {
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
ErrorResponse defines model for ErrorResponse.
type FacebookPlatformData ¶
type FacebookPlatformData struct {
// ContentType Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
ContentType *FacebookPlatformDataContentType `json:"contentType,omitempty"`
// Draft When true, creates the post as an unpublished draft visible in Facebook Publishing Tools instead of publishing immediately. Supported for feed posts (text, link, image, video) and reels. Not supported for stories. Drafts expire after ~30 days.
Draft *bool `json:"draft,omitempty"`
// FirstComment Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when draft is true.
FirstComment *string `json:"firstComment,omitempty"`
// GeoRestriction Country-level geo-restriction (allowlist). When set, the post is only visible to users in the specified countries. Supported on Facebook (feed posts, videos, reels), X/Twitter (media-level restriction), and LinkedIn (organization pages only, min 300 targeted followers). Ignored on unsupported platforms. Stories (Facebook, Instagram) do not support geo-restriction.
GeoRestriction *GeoRestriction `json:"geoRestriction,omitempty"`
// PageId Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
PageId *string `json:"pageId,omitempty"`
// Title Reel title (only for contentType=reel). Separate from the caption/content field.
Title *string `json:"title,omitempty"`
}
FacebookPlatformData Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
type FacebookPlatformDataContentType ¶
type FacebookPlatformDataContentType string
FacebookPlatformDataContentType Set to 'story' for Page Stories (24h ephemeral) or 'reel' for Reels (short vertical video). Defaults to feed post if omitted.
const ( FacebookPlatformDataContentTypeReel FacebookPlatformDataContentType = "reel" FacebookPlatformDataContentTypeStory FacebookPlatformDataContentType = "story" )
Defines values for FacebookPlatformDataContentType.
func (FacebookPlatformDataContentType) Valid ¶
func (e FacebookPlatformDataContentType) Valid() bool
Valid indicates whether the value is a known member of the FacebookPlatformDataContentType enum.
type FollowUserJSONBody ¶
type FollowUserJSONBody struct {
// AccountId The social account ID
AccountId string `json:"accountId"`
// TargetUserId The Twitter ID of the user to follow
TargetUserId string `json:"targetUserId"`
}
FollowUserJSONBody defines parameters for FollowUser.
type FollowUserJSONRequestBody ¶
type FollowUserJSONRequestBody FollowUserJSONBody
FollowUserJSONRequestBody defines body for FollowUser for application/json ContentType.
type FollowUserResponse ¶
type FollowUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Following *bool `json:"following,omitempty"`
// PendingFollow True if the target account is protected and a follow request was sent
PendingFollow *bool `json:"pending_follow,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
TargetUserId *string `json:"targetUserId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseFollowUserResponse ¶
func ParseFollowUserResponse(rsp *http.Response) (*FollowUserResponse, error)
ParseFollowUserResponse parses an HTTP response from a FollowUserWithResponse call
func (FollowUserResponse) Status ¶
func (r FollowUserResponse) Status() string
Status returns HTTPResponse.Status
func (FollowUserResponse) StatusCode ¶
func (r FollowUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FoodMenu ¶
type FoodMenu struct {
// Cuisines Cuisine types (e.g. AMERICAN, ITALIAN, JAPANESE)
Cuisines *[]string `json:"cuisines,omitempty"`
Labels []FoodMenuLabel `json:"labels"`
Sections *[]FoodMenuSection `json:"sections,omitempty"`
// SourceUrl URL of the original menu source
SourceUrl *string `json:"sourceUrl,omitempty"`
}
FoodMenu defines model for FoodMenu.
type FoodMenuItem ¶
type FoodMenuItem struct {
Attributes *FoodMenuItemAttributes `json:"attributes,omitempty"`
Labels []FoodMenuLabel `json:"labels"`
// Options Item variants/options (e.g. sizes, preparations)
Options *[]struct {
Attributes *FoodMenuItemAttributes `json:"attributes,omitempty"`
Labels *[]FoodMenuLabel `json:"labels,omitempty"`
} `json:"options,omitempty"`
}
FoodMenuItem defines model for FoodMenuItem.
type FoodMenuItemAttributes ¶
type FoodMenuItemAttributes struct {
// Allergen Allergens (e.g. DAIRY, GLUTEN, SHELLFISH)
Allergen *[]string `json:"allergen,omitempty"`
// DietaryRestriction Dietary labels (e.g. VEGETARIAN, VEGAN, GLUTEN_FREE)
DietaryRestriction *[]string `json:"dietaryRestriction,omitempty"`
// MediaKeys Media references for item photos
MediaKeys *[]string `json:"mediaKeys,omitempty"`
// PreparationMethods Preparation methods (e.g. GRILLED, FRIED)
PreparationMethods *[]string `json:"preparationMethods,omitempty"`
Price *Money `json:"price,omitempty"`
// ServesNumPeople Number of people the item serves
ServesNumPeople *int `json:"servesNumPeople,omitempty"`
// Spiciness Spiciness level (e.g. MILD, MEDIUM, HOT)
Spiciness *string `json:"spiciness,omitempty"`
}
FoodMenuItemAttributes defines model for FoodMenuItemAttributes.
type FoodMenuLabel ¶
type FoodMenuLabel struct {
// Description Optional description
Description *string `json:"description,omitempty"`
// DisplayName Display name of the item/section/menu
DisplayName string `json:"displayName"`
// LanguageCode BCP-47 language code (e.g. en, es)
LanguageCode *string `json:"languageCode,omitempty"`
}
FoodMenuLabel defines model for FoodMenuLabel.
type FoodMenuSection ¶
type FoodMenuSection struct {
Items *[]FoodMenuItem `json:"items,omitempty"`
Labels []FoodMenuLabel `json:"labels"`
}
FoodMenuSection defines model for FoodMenuSection.
type GeoRestriction ¶ added in v0.0.154
type GeoRestriction struct {
// Countries ISO 3166-1 alpha-2 country codes (uppercase). Only users in these countries can see the post. Maximum 25 countries per post. Example: ["US", "CA", "GB", "ES"].
Countries []string `json:"countries"`
}
GeoRestriction Country-level geo-restriction (allowlist). When set, the post is only visible to users in the specified countries. Supported on Facebook (feed posts, videos, reels), X/Twitter (media-level restriction), and LinkedIn (organization pages only, min 300 targeted followers). Ignored on unsupported platforms. Stories (Facebook, Instagram) do not support geo-restriction.
type GetAccountHealth200Status ¶
type GetAccountHealth200Status string
type GetAccountHealthResponse ¶
type GetAccountHealthResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
// Issues List of issues found
Issues *[]string `json:"issues,omitempty"`
Permissions *struct {
Analytics *[]struct {
Granted *bool `json:"granted,omitempty"`
Required *bool `json:"required,omitempty"`
Scope *string `json:"scope,omitempty"`
} `json:"analytics,omitempty"`
CanFetchAnalytics *bool `json:"canFetchAnalytics,omitempty"`
CanPost *bool `json:"canPost,omitempty"`
MissingRequired *[]string `json:"missingRequired,omitempty"`
Optional *[]struct {
Granted *bool `json:"granted,omitempty"`
Required *bool `json:"required,omitempty"`
Scope *string `json:"scope,omitempty"`
} `json:"optional,omitempty"`
Posting *[]struct {
Granted *bool `json:"granted,omitempty"`
Required *bool `json:"required,omitempty"`
Scope *string `json:"scope,omitempty"`
} `json:"posting,omitempty"`
} `json:"permissions,omitempty"`
Platform *string `json:"platform,omitempty"`
// Recommendations Actionable recommendations to fix issues
Recommendations *[]string `json:"recommendations,omitempty"`
// Status Overall health status
Status *GetAccountHealth200Status `json:"status,omitempty"`
TokenStatus *struct {
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// ExpiresIn Human-readable time until expiry
ExpiresIn *string `json:"expiresIn,omitempty"`
// NeedsRefresh Whether token expires within 24 hours
NeedsRefresh *bool `json:"needsRefresh,omitempty"`
// Valid Whether the token is valid
Valid *bool `json:"valid,omitempty"`
} `json:"tokenStatus,omitempty"`
Username *string `json:"username,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAccountHealthResponse ¶
func ParseGetAccountHealthResponse(rsp *http.Response) (*GetAccountHealthResponse, error)
ParseGetAccountHealthResponse parses an HTTP response from a GetAccountHealthWithResponse call
func (GetAccountHealthResponse) Status ¶
func (r GetAccountHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetAccountHealthResponse) StatusCode ¶
func (r GetAccountHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdAnalyticsParams ¶ added in v0.0.106
type GetAdAnalyticsParams struct {
// FromDate Start of date range (YYYY-MM-DD). Defaults to 90 days ago.
FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate End of date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
ToDate *openapi_types.Date `form:"toDate,omitempty" json:"toDate,omitempty"`
// Breakdowns Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
Breakdowns *string `form:"breakdowns,omitempty" json:"breakdowns,omitempty"`
}
GetAdAnalyticsParams defines parameters for GetAdAnalytics.
type GetAdAnalyticsResponse ¶ added in v0.0.106
type GetAdAnalyticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Ad *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"ad,omitempty"`
Analytics *struct {
Breakdowns *map[string][]map[string]interface{} `json:"breakdowns,omitempty"`
Daily *[]struct {
// ActionValues Monetary mirror of `actions`, from Meta's Insights `action_values[]` array. Same keying — values are the revenue attributed to each action_type, in ad-account native currency (same unit as `spend`; see the campaign node's `currency` field). Use this to compute revenue-per-event (e.g. avg purchase value). Meta-only; other platforms return {}.
ActionValues *map[string]float32 `json:"actionValues,omitempty"`
// Actions Raw per-action-type counts from Meta's Insights actions[] array, summed over the date range. Keys are Meta action_type strings (e.g. link_click, offsite_conversion.fb_pixel_purchase, onsite_conversion.lead_grouped). Use this to extract any conversion event (purchases, leads, add_to_cart, etc.) without relying on the derived conversions field. Empty object when no actions are reported.
Actions *map[string]int `json:"actions,omitempty"`
Clicks *int `json:"clicks,omitempty"`
// Conversions Count of conversion events matching the campaign's promoted_object.custom_event_type (PURCHASE, LEAD, etc.) over the requested date range. 0 for non-conversion campaigns or when no events have fired. Meta-only at time of writing; other platforms return 0.
Conversions *int `json:"conversions,omitempty"`
// CostPerConversion Derived spend / conversions in the same currency as spend. 0 when conversions is 0.
CostPerConversion *float32 `json:"costPerConversion,omitempty"`
// Cpc Cost per click
Cpc *float32 `json:"cpc,omitempty"`
// Cpm Cost per 1000 impressions
Cpm *float32 `json:"cpm,omitempty"`
// Ctr Click-through rate (%)
Ctr *float32 `json:"ctr,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
Engagement *int `json:"engagement,omitempty"`
Impressions *int `json:"impressions,omitempty"`
// LastSyncedAt Present on individual ads only, not on campaign aggregations
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
// PurchaseValue Convenience sum of purchase-type action values — picked from `actionValues` via the same priority list as `conversions` so both fields describe the same events. In ad-account native currency. 0 when the campaign has no purchase event configured. Meta-only.
PurchaseValue *float32 `json:"purchaseValue,omitempty"`
Reach *int `json:"reach,omitempty"`
// Roas Return on ad spend — derived as `purchaseValue / spend`. 0 when `spend` is 0. Equivalent to Meta's `purchase_roas` under default attribution. At ad-set and campaign levels this is recomputed from summed purchaseValue + spend (NOT averaged across children) so it's mathematically correct at every rollup level.
Roas *float32 `json:"roas,omitempty"`
Spend *float32 `json:"spend,omitempty"`
} `json:"daily,omitempty"`
Summary *AdMetrics `json:"summary,omitempty"`
} `json:"analytics,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAdAnalyticsResponse ¶ added in v0.0.106
func ParseGetAdAnalyticsResponse(rsp *http.Response) (*GetAdAnalyticsResponse, error)
ParseGetAdAnalyticsResponse parses an HTTP response from a GetAdAnalyticsWithResponse call
func (GetAdAnalyticsResponse) Status ¶ added in v0.0.106
func (r GetAdAnalyticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdAnalyticsResponse) StatusCode ¶ added in v0.0.106
func (r GetAdAnalyticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdAudienceResponse ¶ added in v0.0.106
type GetAdAudienceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Audience *map[string]interface{} `json:"audience,omitempty"`
// MetaData Fresh data from Meta API
MetaData *map[string]interface{} `json:"metaData,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAdAudienceResponse ¶ added in v0.0.106
func ParseGetAdAudienceResponse(rsp *http.Response) (*GetAdAudienceResponse, error)
ParseGetAdAudienceResponse parses an HTTP response from a GetAdAudienceWithResponse call
func (GetAdAudienceResponse) Status ¶ added in v0.0.106
func (r GetAdAudienceResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdAudienceResponse) StatusCode ¶ added in v0.0.106
func (r GetAdAudienceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdComments200MetaPlatform ¶ added in v0.0.180
type GetAdComments200MetaPlatform string
type GetAdComments200Status ¶ added in v0.0.180
type GetAdComments200Status string
type GetAdCommentsParams ¶ added in v0.0.180
type GetAdCommentsParams struct {
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Pagination cursor from a previous response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetAdCommentsParams defines parameters for GetAdComments.
type GetAdCommentsResponse ¶ added in v0.0.180
type GetAdCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Comments []map[string]interface{} `json:"comments"`
Meta struct {
// AccountId Social account ID (ads SocialAccount).
AccountId string `json:"accountId"`
// AdId Internal Zernio ad ID.
AdId string `json:"adId"`
// EffectiveStoryId Underlying post ID the comments belong to. effective_object_story_id for Facebook, effective_instagram_media_id for Instagram.
EffectiveStoryId string `json:"effectiveStoryId"`
LastUpdated time.Time `json:"lastUpdated"`
Platform GetAdComments200MetaPlatform `json:"platform"`
// PlatformAdId Meta ad ID.
PlatformAdId string `json:"platformAdId"`
} `json:"meta"`
Pagination struct {
Cursor *string `json:"cursor,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
} `json:"pagination"`
Status GetAdComments200Status `json:"status"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAdCommentsResponse ¶ added in v0.0.180
func ParseGetAdCommentsResponse(rsp *http.Response) (*GetAdCommentsResponse, error)
ParseGetAdCommentsResponse parses an HTTP response from a GetAdCommentsWithResponse call
func (GetAdCommentsResponse) Status ¶ added in v0.0.180
func (r GetAdCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdCommentsResponse) StatusCode ¶ added in v0.0.180
func (r GetAdCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdResponse ¶ added in v0.0.106
type GetAdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Ad *Ad `json:"ad,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetAdResponse ¶ added in v0.0.106
func ParseGetAdResponse(rsp *http.Response) (*GetAdResponse, error)
ParseGetAdResponse parses an HTTP response from a GetAdWithResponse call
func (GetAdResponse) Status ¶ added in v0.0.106
func (r GetAdResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdResponse) StatusCode ¶ added in v0.0.106
func (r GetAdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAdTreeParams ¶ added in v0.0.112
type GetAdTreeParams struct {
// Page Page number (1-based)
Page *PageParam `form:"page,omitempty" json:"page,omitempty"`
// Limit Campaigns per page
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
Source *GetAdTreeParamsSource `form:"source,omitempty" json:"source,omitempty"`
Platform *GetAdTreeParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Status Filter by derived campaign status (post-aggregation)
Status *AdStatus `form:"status,omitempty" json:"status,omitempty"`
// AdAccountId Platform ad account ID
AdAccountId *string `form:"adAccountId,omitempty" json:"adAccountId,omitempty"`
// AccountId Social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// ProfileId Profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// FromDate Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
ToDate *openapi_types.Date `form:"toDate,omitempty" json:"toDate,omitempty"`
}
GetAdTreeParams defines parameters for GetAdTree.
type GetAdTreeParamsPlatform ¶ added in v0.0.112
type GetAdTreeParamsPlatform string
GetAdTreeParamsPlatform defines parameters for GetAdTree.
const ( GetAdTreeParamsPlatformFacebook GetAdTreeParamsPlatform = "facebook" GetAdTreeParamsPlatformGoogle GetAdTreeParamsPlatform = "google" GetAdTreeParamsPlatformInstagram GetAdTreeParamsPlatform = "instagram" GetAdTreeParamsPlatformLinkedin GetAdTreeParamsPlatform = "linkedin" GetAdTreeParamsPlatformPinterest GetAdTreeParamsPlatform = "pinterest" GetAdTreeParamsPlatformTiktok GetAdTreeParamsPlatform = "tiktok" GetAdTreeParamsPlatformTwitter GetAdTreeParamsPlatform = "twitter" )
Defines values for GetAdTreeParamsPlatform.
func (GetAdTreeParamsPlatform) Valid ¶ added in v0.0.112
func (e GetAdTreeParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the GetAdTreeParamsPlatform enum.
type GetAdTreeParamsSource ¶ added in v0.0.112
type GetAdTreeParamsSource string
GetAdTreeParamsSource defines parameters for GetAdTree.
const ( GetAdTreeParamsSourceAll GetAdTreeParamsSource = "all" GetAdTreeParamsSourceZernio GetAdTreeParamsSource = "zernio" )
Defines values for GetAdTreeParamsSource.
func (GetAdTreeParamsSource) Valid ¶ added in v0.0.112
func (e GetAdTreeParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetAdTreeParamsSource enum.
type GetAdTreeResponse ¶ added in v0.0.112
type GetAdTreeResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Campaigns *[]AdTreeCampaign `json:"campaigns,omitempty"`
Pagination *Pagination `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetAdTreeResponse ¶ added in v0.0.112
func ParseGetAdTreeResponse(rsp *http.Response) (*GetAdTreeResponse, error)
ParseGetAdTreeResponse parses an HTTP response from a GetAdTreeWithResponse call
func (GetAdTreeResponse) Status ¶ added in v0.0.112
func (r GetAdTreeResponse) Status() string
Status returns HTTPResponse.Status
func (GetAdTreeResponse) StatusCode ¶ added in v0.0.112
func (r GetAdTreeResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAllAccountsHealth200AccountsStatus ¶
type GetAllAccountsHealth200AccountsStatus string
type GetAllAccountsHealthParams ¶
type GetAllAccountsHealthParams struct {
// ProfileId Filter by profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// Platform Filter by platform
Platform *GetAllAccountsHealthParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Status Filter by health status
Status *GetAllAccountsHealthParamsStatus `form:"status,omitempty" json:"status,omitempty"`
}
GetAllAccountsHealthParams defines parameters for GetAllAccountsHealth.
type GetAllAccountsHealthParamsPlatform ¶
type GetAllAccountsHealthParamsPlatform string
GetAllAccountsHealthParamsPlatform defines parameters for GetAllAccountsHealth.
const ( GetAllAccountsHealthParamsPlatformBluesky GetAllAccountsHealthParamsPlatform = "bluesky" GetAllAccountsHealthParamsPlatformDiscord GetAllAccountsHealthParamsPlatform = "discord" GetAllAccountsHealthParamsPlatformFacebook GetAllAccountsHealthParamsPlatform = "facebook" GetAllAccountsHealthParamsPlatformGooglebusiness GetAllAccountsHealthParamsPlatform = "googlebusiness" GetAllAccountsHealthParamsPlatformInstagram GetAllAccountsHealthParamsPlatform = "instagram" GetAllAccountsHealthParamsPlatformLinkedin GetAllAccountsHealthParamsPlatform = "linkedin" GetAllAccountsHealthParamsPlatformPinterest GetAllAccountsHealthParamsPlatform = "pinterest" GetAllAccountsHealthParamsPlatformReddit GetAllAccountsHealthParamsPlatform = "reddit" GetAllAccountsHealthParamsPlatformSnapchat GetAllAccountsHealthParamsPlatform = "snapchat" GetAllAccountsHealthParamsPlatformTelegram GetAllAccountsHealthParamsPlatform = "telegram" GetAllAccountsHealthParamsPlatformThreads GetAllAccountsHealthParamsPlatform = "threads" GetAllAccountsHealthParamsPlatformTiktok GetAllAccountsHealthParamsPlatform = "tiktok" GetAllAccountsHealthParamsPlatformTwitter GetAllAccountsHealthParamsPlatform = "twitter" GetAllAccountsHealthParamsPlatformYoutube GetAllAccountsHealthParamsPlatform = "youtube" )
Defines values for GetAllAccountsHealthParamsPlatform.
func (GetAllAccountsHealthParamsPlatform) Valid ¶
func (e GetAllAccountsHealthParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the GetAllAccountsHealthParamsPlatform enum.
type GetAllAccountsHealthParamsStatus ¶
type GetAllAccountsHealthParamsStatus string
GetAllAccountsHealthParamsStatus defines parameters for GetAllAccountsHealth.
const ( Error GetAllAccountsHealthParamsStatus = "error" Healthy GetAllAccountsHealthParamsStatus = "healthy" Warning GetAllAccountsHealthParamsStatus = "warning" )
Defines values for GetAllAccountsHealthParamsStatus.
func (GetAllAccountsHealthParamsStatus) Valid ¶
func (e GetAllAccountsHealthParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the GetAllAccountsHealthParamsStatus enum.
type GetAllAccountsHealthResponse ¶
type GetAllAccountsHealthResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accounts *[]struct {
AccountId *string `json:"accountId,omitempty"`
CanFetchAnalytics *bool `json:"canFetchAnalytics,omitempty"`
CanPost *bool `json:"canPost,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
Issues *[]string `json:"issues,omitempty"`
NeedsReconnect *bool `json:"needsReconnect,omitempty"`
Platform *string `json:"platform,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
Status *GetAllAccountsHealth200AccountsStatus `json:"status,omitempty"`
TokenExpiresAt *time.Time `json:"tokenExpiresAt,omitempty"`
TokenValid *bool `json:"tokenValid,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"accounts,omitempty"`
Summary *struct {
// Error Number of accounts with errors
Error *int `json:"error,omitempty"`
// Healthy Number of healthy accounts
Healthy *int `json:"healthy,omitempty"`
// NeedsReconnect Number of accounts needing reconnection
NeedsReconnect *int `json:"needsReconnect,omitempty"`
// Total Total number of accounts
Total *int `json:"total,omitempty"`
// Warning Number of accounts with warnings
Warning *int `json:"warning,omitempty"`
} `json:"summary,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetAllAccountsHealthResponse ¶
func ParseGetAllAccountsHealthResponse(rsp *http.Response) (*GetAllAccountsHealthResponse, error)
ParseGetAllAccountsHealthResponse parses an HTTP response from a GetAllAccountsHealthWithResponse call
func (GetAllAccountsHealthResponse) Status ¶
func (r GetAllAccountsHealthResponse) Status() string
Status returns HTTPResponse.Status
func (GetAllAccountsHealthResponse) StatusCode ¶
func (r GetAllAccountsHealthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAnalyticsParams ¶
type GetAnalyticsParams struct {
// PostId Returns analytics for a single post. Accepts both Zernio Post IDs and External Post IDs. Zernio IDs are auto-resolved to External Post analytics.
PostId *string `form:"postId,omitempty" json:"postId,omitempty"`
// Platform Filter by platform (default "all")
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// ProfileId Filter by profile ID (default "all")
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// AccountId Filter by social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// Source Filter by post source: late (posted via Zernio API), external (synced from platform), all (default)
Source *GetAnalyticsParamsSource `form:"source,omitempty" json:"source,omitempty"`
// FromDate Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
ToDate *openapi_types.Date `form:"toDate,omitempty" json:"toDate,omitempty"`
// Limit Page size (default 50)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Page Page number (default 1)
Page *int `form:"page,omitempty" json:"page,omitempty"`
// SortBy Sort by date, engagement, or a specific metric
SortBy *GetAnalyticsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// Order Sort order
Order *GetAnalyticsParamsOrder `form:"order,omitempty" json:"order,omitempty"`
}
GetAnalyticsParams defines parameters for GetAnalytics.
type GetAnalyticsParamsOrder ¶
type GetAnalyticsParamsOrder string
GetAnalyticsParamsOrder defines parameters for GetAnalytics.
const ( GetAnalyticsParamsOrderAsc GetAnalyticsParamsOrder = "asc" GetAnalyticsParamsOrderDesc GetAnalyticsParamsOrder = "desc" )
Defines values for GetAnalyticsParamsOrder.
func (GetAnalyticsParamsOrder) Valid ¶
func (e GetAnalyticsParamsOrder) Valid() bool
Valid indicates whether the value is a known member of the GetAnalyticsParamsOrder enum.
type GetAnalyticsParamsSortBy ¶
type GetAnalyticsParamsSortBy string
GetAnalyticsParamsSortBy defines parameters for GetAnalytics.
const ( GetAnalyticsParamsSortByClicks GetAnalyticsParamsSortBy = "clicks" GetAnalyticsParamsSortByComments GetAnalyticsParamsSortBy = "comments" GetAnalyticsParamsSortByDate GetAnalyticsParamsSortBy = "date" GetAnalyticsParamsSortByEngagement GetAnalyticsParamsSortBy = "engagement" GetAnalyticsParamsSortByImpressions GetAnalyticsParamsSortBy = "impressions" GetAnalyticsParamsSortByLikes GetAnalyticsParamsSortBy = "likes" GetAnalyticsParamsSortByReach GetAnalyticsParamsSortBy = "reach" GetAnalyticsParamsSortBySaves GetAnalyticsParamsSortBy = "saves" GetAnalyticsParamsSortByViews GetAnalyticsParamsSortBy = "views" )
Defines values for GetAnalyticsParamsSortBy.
func (GetAnalyticsParamsSortBy) Valid ¶
func (e GetAnalyticsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the GetAnalyticsParamsSortBy enum.
type GetAnalyticsParamsSource ¶
type GetAnalyticsParamsSource string
GetAnalyticsParamsSource defines parameters for GetAnalytics.
const ( GetAnalyticsParamsSourceAll GetAnalyticsParamsSource = "all" GetAnalyticsParamsSourceExternal GetAnalyticsParamsSource = "external" GetAnalyticsParamsSourceLate GetAnalyticsParamsSource = "late" )
Defines values for GetAnalyticsParamsSource.
func (GetAnalyticsParamsSource) Valid ¶
func (e GetAnalyticsParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetAnalyticsParamsSource enum.
type GetAnalyticsResponse ¶
type GetAnalyticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON202 *AnalyticsSinglePostResponse
JSON400 *struct {
// Details Detailed validation errors
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON404 *NotFound
JSON424 *AnalyticsSinglePostResponse
JSON500 *ErrorResponse
}
func ParseGetAnalyticsResponse ¶
func ParseGetAnalyticsResponse(rsp *http.Response) (*GetAnalyticsResponse, error)
ParseGetAnalyticsResponse parses an HTTP response from a GetAnalyticsWithResponse call
func (GetAnalyticsResponse) Status ¶
func (r GetAnalyticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetAnalyticsResponse) StatusCode ¶
func (r GetAnalyticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBestTimeToPostParams ¶
type GetBestTimeToPostParams struct {
// Platform Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// ProfileId Filter by profile ID. Omit for all profiles.
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// AccountId Filter by social account ID. Omit for all accounts.
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// Source Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
Source *GetBestTimeToPostParamsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetBestTimeToPostParams defines parameters for GetBestTimeToPost.
type GetBestTimeToPostParamsSource ¶
type GetBestTimeToPostParamsSource string
GetBestTimeToPostParamsSource defines parameters for GetBestTimeToPost.
const ( GetBestTimeToPostParamsSourceAll GetBestTimeToPostParamsSource = "all" GetBestTimeToPostParamsSourceExternal GetBestTimeToPostParamsSource = "external" GetBestTimeToPostParamsSourceLate GetBestTimeToPostParamsSource = "late" )
Defines values for GetBestTimeToPostParamsSource.
func (GetBestTimeToPostParamsSource) Valid ¶
func (e GetBestTimeToPostParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetBestTimeToPostParamsSource enum.
type GetBestTimeToPostResponse ¶
type GetBestTimeToPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Slots *[]struct {
// AvgEngagement Average engagement (likes + comments + shares + saves)
AvgEngagement *float32 `json:"avg_engagement,omitempty"`
// DayOfWeek 0=Monday, 6=Sunday
DayOfWeek *int `json:"day_of_week,omitempty"`
// Hour Hour in UTC (0-23)
Hour *int `json:"hour,omitempty"`
// PostCount Number of posts in this slot
PostCount *int `json:"post_count,omitempty"`
} `json:"slots,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Error *string `json:"error,omitempty"`
RequiresAddon *bool `json:"requiresAddon,omitempty"`
}
}
func ParseGetBestTimeToPostResponse ¶
func ParseGetBestTimeToPostResponse(rsp *http.Response) (*GetBestTimeToPostResponse, error)
ParseGetBestTimeToPostResponse parses an HTTP response from a GetBestTimeToPostWithResponse call
func (GetBestTimeToPostResponse) Status ¶
func (r GetBestTimeToPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetBestTimeToPostResponse) StatusCode ¶
func (r GetBestTimeToPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetBroadcast200BroadcastStatus ¶ added in v0.0.84
type GetBroadcast200BroadcastStatus string
type GetBroadcastResponse ¶ added in v0.0.76
type GetBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcast *struct {
AccountId *string `json:"accountId,omitempty"`
CompletedAt *time.Time `json:"completedAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DeliveredCount *int `json:"deliveredCount,omitempty"`
Description *string `json:"description,omitempty"`
FailedCount *int `json:"failedCount,omitempty"`
Id *string `json:"id,omitempty"`
Message *struct {
Text *string `json:"text,omitempty"`
} `json:"message,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
ReadCount *int `json:"readCount,omitempty"`
RecipientCount *int `json:"recipientCount,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
SegmentFilters *struct {
Tags *[]string `json:"tags,omitempty"`
} `json:"segmentFilters,omitempty"`
SentCount *int `json:"sentCount,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
Status *GetBroadcast200BroadcastStatus `json:"status,omitempty"`
Template *struct {
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"template,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"broadcast,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetBroadcastResponse ¶ added in v0.0.76
func ParseGetBroadcastResponse(rsp *http.Response) (*GetBroadcastResponse, error)
ParseGetBroadcastResponse parses an HTTP response from a GetBroadcastWithResponse call
func (GetBroadcastResponse) Status ¶ added in v0.0.76
func (r GetBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (GetBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r GetBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCommentAutomation200AutomationMatchMode ¶ added in v0.0.86
type GetCommentAutomation200AutomationMatchMode string
type GetCommentAutomation200LogsCommentReplyStatus ¶ added in v0.0.185
type GetCommentAutomation200LogsCommentReplyStatus string
type GetCommentAutomation200LogsStatus ¶ added in v0.0.86
type GetCommentAutomation200LogsStatus string
type GetCommentAutomationResponse ¶ added in v0.0.76
type GetCommentAutomationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Automation *struct {
AccountId *string `json:"accountId,omitempty"`
CommentReply *string `json:"commentReply,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DmMessage *string `json:"dmMessage,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *GetCommentAutomation200AutomationMatchMode `json:"matchMode,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformPostId *string `json:"platformPostId,omitempty"`
PostId *string `json:"postId,omitempty"`
PostTitle *string `json:"postTitle,omitempty"`
Stats *struct {
TotalFailed *int `json:"totalFailed,omitempty"`
TotalSent *int `json:"totalSent,omitempty"`
TotalTriggered *int `json:"totalTriggered,omitempty"`
} `json:"stats,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"automation,omitempty"`
Logs *[]struct {
CommentId *string `json:"commentId,omitempty"`
// CommentReplyError Public-reply error message if commentReplyStatus is failed
CommentReplyError *string `json:"commentReplyError,omitempty"`
// CommentReplyStatus Outcome of the optional public reply on the triggering comment. 'skipped' if no commentReply was configured or if the DM failed (the public reply is not attempted in that case).
CommentReplyStatus *GetCommentAutomation200LogsCommentReplyStatus `json:"commentReplyStatus,omitempty"`
CommentText *string `json:"commentText,omitempty"`
CommenterId *string `json:"commenterId,omitempty"`
CommenterName *string `json:"commenterName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Error DM error message if status is failed
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
// Status DM outcome
Status *GetCommentAutomation200LogsStatus `json:"status,omitempty"`
} `json:"logs,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetCommentAutomationResponse ¶ added in v0.0.76
func ParseGetCommentAutomationResponse(rsp *http.Response) (*GetCommentAutomationResponse, error)
ParseGetCommentAutomationResponse parses an HTTP response from a GetCommentAutomationWithResponse call
func (GetCommentAutomationResponse) Status ¶ added in v0.0.76
func (r GetCommentAutomationResponse) Status() string
Status returns HTTPResponse.Status
func (GetCommentAutomationResponse) StatusCode ¶ added in v0.0.76
func (r GetCommentAutomationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetConnectUrlParams ¶
type GetConnectUrlParams struct {
// ProfileId Your Zernio profile ID (get from /v1/profiles)
ProfileId string `form:"profileId" json:"profileId"`
// RedirectUrl Your custom redirect URL after connection completes. Standard mode appends ?connected={platform}&profileId=X&accountId=Y&username=Z. Headless mode appends OAuth data params for platforms requiring selection (e.g. LinkedIn orgs, Facebook pages). If no selection is needed, the account is created directly and the redirect includes accountId.
RedirectUrl *string `form:"redirect_url,omitempty" json:"redirect_url,omitempty"`
// Headless When true, the user is redirected to your redirect_url with raw OAuth data (code, state) instead of Zernio's default account selection UI. Use this to build a custom connect experience.
Headless *bool `form:"headless,omitempty" json:"headless,omitempty"`
}
GetConnectUrlParams defines parameters for GetConnectUrl.
type GetConnectUrlParamsPlatform ¶
type GetConnectUrlParamsPlatform string
GetConnectUrlParamsPlatform defines parameters for GetConnectUrl.
const ( GetConnectUrlParamsPlatformBluesky GetConnectUrlParamsPlatform = "bluesky" GetConnectUrlParamsPlatformDiscord GetConnectUrlParamsPlatform = "discord" GetConnectUrlParamsPlatformFacebook GetConnectUrlParamsPlatform = "facebook" GetConnectUrlParamsPlatformGooglebusiness GetConnectUrlParamsPlatform = "googlebusiness" GetConnectUrlParamsPlatformInstagram GetConnectUrlParamsPlatform = "instagram" GetConnectUrlParamsPlatformLinkedin GetConnectUrlParamsPlatform = "linkedin" GetConnectUrlParamsPlatformPinterest GetConnectUrlParamsPlatform = "pinterest" GetConnectUrlParamsPlatformReddit GetConnectUrlParamsPlatform = "reddit" GetConnectUrlParamsPlatformSnapchat GetConnectUrlParamsPlatform = "snapchat" GetConnectUrlParamsPlatformTelegram GetConnectUrlParamsPlatform = "telegram" GetConnectUrlParamsPlatformThreads GetConnectUrlParamsPlatform = "threads" GetConnectUrlParamsPlatformTiktok GetConnectUrlParamsPlatform = "tiktok" GetConnectUrlParamsPlatformTwitter GetConnectUrlParamsPlatform = "twitter" GetConnectUrlParamsPlatformYoutube GetConnectUrlParamsPlatform = "youtube" )
Defines values for GetConnectUrlParamsPlatform.
func (GetConnectUrlParamsPlatform) Valid ¶
func (e GetConnectUrlParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the GetConnectUrlParamsPlatform enum.
type GetConnectUrlResponse ¶
type GetConnectUrlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// AuthUrl URL to redirect your user to for OAuth authorization
AuthUrl *string `json:"authUrl,omitempty"`
// State State parameter for security (handled automatically)
State *string `json:"state,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetConnectUrlResponse ¶
func ParseGetConnectUrlResponse(rsp *http.Response) (*GetConnectUrlResponse, error)
ParseGetConnectUrlResponse parses an HTTP response from a GetConnectUrlWithResponse call
func (GetConnectUrlResponse) Status ¶
func (r GetConnectUrlResponse) Status() string
Status returns HTTPResponse.Status
func (GetConnectUrlResponse) StatusCode ¶
func (r GetConnectUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContactChannelsResponse ¶ added in v0.0.76
type GetContactChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Channels *[]struct {
AccountId *string `json:"accountId,omitempty"`
ConversationId *string `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Id *string `json:"id,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
} `json:"channels,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetContactChannelsResponse ¶ added in v0.0.76
func ParseGetContactChannelsResponse(rsp *http.Response) (*GetContactChannelsResponse, error)
ParseGetContactChannelsResponse parses an HTTP response from a GetContactChannelsWithResponse call
func (GetContactChannelsResponse) Status ¶ added in v0.0.76
func (r GetContactChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (GetContactChannelsResponse) StatusCode ¶ added in v0.0.76
func (r GetContactChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContactResponse ¶ added in v0.0.76
type GetContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Channels *[]struct {
AccountId *string `json:"accountId,omitempty"`
ConversationId *string `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Id *string `json:"id,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
} `json:"channels,omitempty"`
Contact *struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Company *string `json:"company,omitempty"`
ConversationIds *[]string `json:"conversationIds,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CustomFields *map[string]interface{} `json:"customFields,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
IsBlocked *bool `json:"isBlocked,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"contact,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetContactResponse ¶ added in v0.0.76
func ParseGetContactResponse(rsp *http.Response) (*GetContactResponse, error)
ParseGetContactResponse parses an HTTP response from a GetContactWithResponse call
func (GetContactResponse) Status ¶ added in v0.0.76
func (r GetContactResponse) Status() string
Status returns HTTPResponse.Status
func (GetContactResponse) StatusCode ¶ added in v0.0.76
func (r GetContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetContentDecayParams ¶
type GetContentDecayParams struct {
// Platform Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// ProfileId Filter by profile ID. Omit for all profiles.
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// AccountId Filter by social account ID. Omit for all accounts.
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// Source Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
Source *GetContentDecayParamsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetContentDecayParams defines parameters for GetContentDecay.
type GetContentDecayParamsSource ¶
type GetContentDecayParamsSource string
GetContentDecayParamsSource defines parameters for GetContentDecay.
const ( GetContentDecayParamsSourceAll GetContentDecayParamsSource = "all" GetContentDecayParamsSourceExternal GetContentDecayParamsSource = "external" GetContentDecayParamsSourceLate GetContentDecayParamsSource = "late" )
Defines values for GetContentDecayParamsSource.
func (GetContentDecayParamsSource) Valid ¶
func (e GetContentDecayParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetContentDecayParamsSource enum.
type GetContentDecayResponse ¶
type GetContentDecayResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Buckets *[]struct {
// AvgPctOfFinal Average % of final engagement reached (0-100)
AvgPctOfFinal *float32 `json:"avg_pct_of_final,omitempty"`
// BucketLabel Human-readable label
BucketLabel *string `json:"bucket_label,omitempty"`
// BucketOrder Sort order (0 = earliest, 6 = latest)
BucketOrder *int `json:"bucket_order,omitempty"`
// PostCount Number of posts with data in this bucket
PostCount *int `json:"post_count,omitempty"`
} `json:"buckets,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Error *string `json:"error,omitempty"`
RequiresAddon *bool `json:"requiresAddon,omitempty"`
}
}
func ParseGetContentDecayResponse ¶
func ParseGetContentDecayResponse(rsp *http.Response) (*GetContentDecayResponse, error)
ParseGetContentDecayResponse parses an HTTP response from a GetContentDecayWithResponse call
func (GetContentDecayResponse) Status ¶
func (r GetContentDecayResponse) Status() string
Status returns HTTPResponse.Status
func (GetContentDecayResponse) StatusCode ¶
func (r GetContentDecayResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDailyMetricsParams ¶
type GetDailyMetricsParams struct {
// Platform Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// ProfileId Filter by profile ID. Omit for all profiles.
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// AccountId Filter by social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// FromDate Inclusive start date (ISO 8601). Defaults to 180 days ago.
FromDate *time.Time `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate Inclusive end date (ISO 8601). Defaults to now.
ToDate *time.Time `form:"toDate,omitempty" json:"toDate,omitempty"`
// Source Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
Source *GetDailyMetricsParamsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetDailyMetricsParams defines parameters for GetDailyMetrics.
type GetDailyMetricsParamsSource ¶
type GetDailyMetricsParamsSource string
GetDailyMetricsParamsSource defines parameters for GetDailyMetrics.
const ( GetDailyMetricsParamsSourceAll GetDailyMetricsParamsSource = "all" GetDailyMetricsParamsSourceExternal GetDailyMetricsParamsSource = "external" GetDailyMetricsParamsSourceLate GetDailyMetricsParamsSource = "late" )
Defines values for GetDailyMetricsParamsSource.
func (GetDailyMetricsParamsSource) Valid ¶
func (e GetDailyMetricsParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetDailyMetricsParamsSource enum.
type GetDailyMetricsResponse ¶
type GetDailyMetricsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DailyData *[]struct {
Date *string `json:"date,omitempty"`
Metrics *struct {
Clicks *int `json:"clicks,omitempty"`
Comments *int `json:"comments,omitempty"`
Impressions *int `json:"impressions,omitempty"`
Likes *int `json:"likes,omitempty"`
Reach *int `json:"reach,omitempty"`
Saves *int `json:"saves,omitempty"`
Shares *int `json:"shares,omitempty"`
Views *int `json:"views,omitempty"`
} `json:"metrics,omitempty"`
Platforms *map[string]int `json:"platforms,omitempty"`
PostCount *int `json:"postCount,omitempty"`
} `json:"dailyData,omitempty"`
PlatformBreakdown *[]struct {
Clicks *int `json:"clicks,omitempty"`
Comments *int `json:"comments,omitempty"`
Impressions *int `json:"impressions,omitempty"`
Likes *int `json:"likes,omitempty"`
Platform *string `json:"platform,omitempty"`
PostCount *int `json:"postCount,omitempty"`
Reach *int `json:"reach,omitempty"`
Saves *int `json:"saves,omitempty"`
Shares *int `json:"shares,omitempty"`
Views *int `json:"views,omitempty"`
} `json:"platformBreakdown,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseGetDailyMetricsResponse ¶
func ParseGetDailyMetricsResponse(rsp *http.Response) (*GetDailyMetricsResponse, error)
ParseGetDailyMetricsResponse parses an HTTP response from a GetDailyMetricsWithResponse call
func (GetDailyMetricsResponse) Status ¶
func (r GetDailyMetricsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDailyMetricsResponse) StatusCode ¶
func (r GetDailyMetricsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiscordChannelsResponse ¶ added in v0.0.153
type GetDiscordChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Channels *[]struct {
// Id Channel snowflake ID
Id *string `json:"id,omitempty"`
// Name Channel name
Name *string `json:"name,omitempty"`
// Type Channel type: 0 (text), 5 (announcement), 15 (forum)
Type *int `json:"type,omitempty"`
} `json:"channels,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetDiscordChannelsResponse ¶ added in v0.0.153
func ParseGetDiscordChannelsResponse(rsp *http.Response) (*GetDiscordChannelsResponse, error)
ParseGetDiscordChannelsResponse parses an HTTP response from a GetDiscordChannelsWithResponse call
func (GetDiscordChannelsResponse) Status ¶ added in v0.0.153
func (r GetDiscordChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiscordChannelsResponse) StatusCode ¶ added in v0.0.153
func (r GetDiscordChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetDiscordSettingsResponse ¶ added in v0.0.153
type GetDiscordSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
UnderscoreId *string `json:"_id,omitempty"`
// ChannelId Connected channel snowflake ID
ChannelId *string `json:"channelId,omitempty"`
// ChannelName Channel name
ChannelName *string `json:"channelName,omitempty"`
// ChannelType Channel type (0 = text, 5 = announcement, 15 = forum)
ChannelType *string `json:"channelType,omitempty"`
// DisplayName Guild - #channel display name
DisplayName *string `json:"displayName,omitempty"`
// GuildId Guild (server) snowflake ID
GuildId *string `json:"guildId,omitempty"`
Platform *string `json:"platform,omitempty"`
// ProfilePicture Guild icon URL
ProfilePicture *string `json:"profilePicture,omitempty"`
// Username Channel name
Username *string `json:"username,omitempty"`
// WebhookAvatarUrl Custom webhook avatar URL (null = default bot avatar)
WebhookAvatarUrl *string `json:"webhookAvatarUrl,omitempty"`
// WebhookUsername Custom webhook display name (null = default "Zernio")
WebhookUsername *string `json:"webhookUsername,omitempty"`
} `json:"account,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetDiscordSettingsResponse ¶ added in v0.0.153
func ParseGetDiscordSettingsResponse(rsp *http.Response) (*GetDiscordSettingsResponse, error)
ParseGetDiscordSettingsResponse parses an HTTP response from a GetDiscordSettingsWithResponse call
func (GetDiscordSettingsResponse) Status ¶ added in v0.0.153
func (r GetDiscordSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetDiscordSettingsResponse) StatusCode ¶ added in v0.0.153
func (r GetDiscordSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFacebookPageInsightsParams ¶ added in v0.0.184
type GetFacebookPageInsightsParams struct {
// AccountId The Zernio SocialAccount ID for the connected Facebook Page.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list of metrics. Defaults to
// "page_media_view,page_post_engagements,page_follows,followers_gained,followers_lost".
//
// Live Meta metrics (current names, post-Nov-2025):
// - page_media_view (replaces deprecated page_impressions)
// - page_views_total
// - page_post_engagements
// - page_video_views
// - page_video_view_time
// - page_follows (replaces deprecated page_fans)
//
// Zernio-synthesized from daily follower snapshots (filling the Nov-2025 gap
// left by the page_fan_adds / page_fan_removes deprecation):
// - followers_gained
// - followers_lost
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
// MetricType "total_value" (default) returns aggregated totals only.
// "time_series" returns daily values in the "values" array.
MetricType *GetFacebookPageInsightsParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
}
GetFacebookPageInsightsParams defines parameters for GetFacebookPageInsights.
type GetFacebookPageInsightsParamsMetricType ¶ added in v0.0.184
type GetFacebookPageInsightsParamsMetricType string
GetFacebookPageInsightsParamsMetricType defines parameters for GetFacebookPageInsights.
const ( GetFacebookPageInsightsParamsMetricTypeTimeSeries GetFacebookPageInsightsParamsMetricType = "time_series" GetFacebookPageInsightsParamsMetricTypeTotalValue GetFacebookPageInsightsParamsMetricType = "total_value" )
Defines values for GetFacebookPageInsightsParamsMetricType.
func (GetFacebookPageInsightsParamsMetricType) Valid ¶ added in v0.0.184
func (e GetFacebookPageInsightsParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetFacebookPageInsightsParamsMetricType enum.
type GetFacebookPageInsightsResponse ¶ added in v0.0.184
type GetFacebookPageInsightsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON401 *Unauthorized
}
func ParseGetFacebookPageInsightsResponse ¶ added in v0.0.184
func ParseGetFacebookPageInsightsResponse(rsp *http.Response) (*GetFacebookPageInsightsResponse, error)
ParseGetFacebookPageInsightsResponse parses an HTTP response from a GetFacebookPageInsightsWithResponse call
func (GetFacebookPageInsightsResponse) Status ¶ added in v0.0.184
func (r GetFacebookPageInsightsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFacebookPageInsightsResponse) StatusCode ¶ added in v0.0.184
func (r GetFacebookPageInsightsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFacebookPagesResponse ¶
type GetFacebookPagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cached *bool `json:"cached,omitempty"`
Pages *[]struct {
Category *string `json:"category,omitempty"`
FanCount *int `json:"fan_count,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"pages,omitempty"`
SelectedPageId *string `json:"selectedPageId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetFacebookPagesResponse ¶
func ParseGetFacebookPagesResponse(rsp *http.Response) (*GetFacebookPagesResponse, error)
ParseGetFacebookPagesResponse parses an HTTP response from a GetFacebookPagesWithResponse call
func (GetFacebookPagesResponse) Status ¶
func (r GetFacebookPagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetFacebookPagesResponse) StatusCode ¶
func (r GetFacebookPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFollowerStatsParams ¶
type GetFollowerStatsParams struct {
// AccountIds Comma-separated list of account IDs (optional, defaults to all user's accounts)
AccountIds *string `form:"accountIds,omitempty" json:"accountIds,omitempty"`
// ProfileId Filter by profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// FromDate Start date in YYYY-MM-DD format (defaults to 30 days ago)
FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate End date in YYYY-MM-DD format (defaults to today)
ToDate *openapi_types.Date `form:"toDate,omitempty" json:"toDate,omitempty"`
// Granularity Data aggregation level
Granularity *GetFollowerStatsParamsGranularity `form:"granularity,omitempty" json:"granularity,omitempty"`
}
GetFollowerStatsParams defines parameters for GetFollowerStats.
type GetFollowerStatsParamsGranularity ¶
type GetFollowerStatsParamsGranularity string
GetFollowerStatsParamsGranularity defines parameters for GetFollowerStats.
const ( GetFollowerStatsParamsGranularityDaily GetFollowerStatsParamsGranularity = "daily" GetFollowerStatsParamsGranularityMonthly GetFollowerStatsParamsGranularity = "monthly" GetFollowerStatsParamsGranularityWeekly GetFollowerStatsParamsGranularity = "weekly" )
Defines values for GetFollowerStatsParamsGranularity.
func (GetFollowerStatsParamsGranularity) Valid ¶
func (e GetFollowerStatsParamsGranularity) Valid() bool
Valid indicates whether the value is a known member of the GetFollowerStatsParamsGranularity enum.
type GetFollowerStatsResponse ¶
type GetFollowerStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accounts *[]AccountWithFollowerStats `json:"accounts,omitempty"`
DateRange *struct {
From *time.Time `json:"from,omitempty"`
To *time.Time `json:"to,omitempty"`
} `json:"dateRange,omitempty"`
Granularity *string `json:"granularity,omitempty"`
Stats *map[string][]struct {
Date *openapi_types.Date `json:"date,omitempty"`
Followers *float32 `json:"followers,omitempty"`
} `json:"stats,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Error *string `json:"error,omitempty"`
Message *string `json:"message,omitempty"`
RequiresAddon *bool `json:"requiresAddon,omitempty"`
}
}
func ParseGetFollowerStatsResponse ¶
func ParseGetFollowerStatsResponse(rsp *http.Response) (*GetFollowerStatsResponse, error)
ParseGetFollowerStatsResponse parses an HTTP response from a GetFollowerStatsWithResponse call
func (GetFollowerStatsResponse) Status ¶
func (r GetFollowerStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetFollowerStatsResponse) StatusCode ¶
func (r GetFollowerStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGmbLocationsResponse ¶
type GetGmbLocationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Cached *bool `json:"cached,omitempty"`
Locations *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountName *string `json:"accountName,omitempty"`
Address *string `json:"address,omitempty"`
Category *string `json:"category,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
WebsiteUrl *string `json:"websiteUrl,omitempty"`
} `json:"locations,omitempty"`
SelectedLocationId *string `json:"selectedLocationId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetGmbLocationsResponse ¶
func ParseGetGmbLocationsResponse(rsp *http.Response) (*GetGmbLocationsResponse, error)
ParseGetGmbLocationsResponse parses an HTTP response from a GetGmbLocationsWithResponse call
func (GetGmbLocationsResponse) Status ¶
func (r GetGmbLocationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGmbLocationsResponse) StatusCode ¶
func (r GetGmbLocationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessAttributesParams ¶
type GetGoogleBusinessAttributesParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
GetGoogleBusinessAttributesParams defines parameters for GetGoogleBusinessAttributes.
type GetGoogleBusinessAttributesResponse ¶
type GetGoogleBusinessAttributesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
Attributes *[]struct {
// Name Attribute identifier (e.g. has_delivery)
Name *string `json:"name,omitempty"`
RepeatedEnumValue *struct {
SetValues *[]string `json:"setValues,omitempty"`
UnsetValues *[]string `json:"unsetValues,omitempty"`
} `json:"repeatedEnumValue,omitempty"`
// ValueType Value type (BOOL, ENUM, URL, REPEATED_ENUM)
ValueType *string `json:"valueType,omitempty"`
Values *[]interface{} `json:"values,omitempty"`
} `json:"attributes,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseGetGoogleBusinessAttributesResponse ¶
func ParseGetGoogleBusinessAttributesResponse(rsp *http.Response) (*GetGoogleBusinessAttributesResponse, error)
ParseGetGoogleBusinessAttributesResponse parses an HTTP response from a GetGoogleBusinessAttributesWithResponse call
func (GetGoogleBusinessAttributesResponse) Status ¶
func (r GetGoogleBusinessAttributesResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessAttributesResponse) StatusCode ¶
func (r GetGoogleBusinessAttributesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessFoodMenusParams ¶
type GetGoogleBusinessFoodMenusParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
GetGoogleBusinessFoodMenusParams defines parameters for GetGoogleBusinessFoodMenus.
type GetGoogleBusinessFoodMenusResponse ¶
type GetGoogleBusinessFoodMenusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Menus *[]FoodMenu `json:"menus,omitempty"`
// Name Resource name of the food menus
Name *string `json:"name,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *NotFound
JSON500 *ErrorResponse
}
func ParseGetGoogleBusinessFoodMenusResponse ¶
func ParseGetGoogleBusinessFoodMenusResponse(rsp *http.Response) (*GetGoogleBusinessFoodMenusResponse, error)
ParseGetGoogleBusinessFoodMenusResponse parses an HTTP response from a GetGoogleBusinessFoodMenusWithResponse call
func (GetGoogleBusinessFoodMenusResponse) Status ¶
func (r GetGoogleBusinessFoodMenusResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessFoodMenusResponse) StatusCode ¶
func (r GetGoogleBusinessFoodMenusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay ¶
type GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay string
type GetGoogleBusinessLocationDetailsParams ¶
type GetGoogleBusinessLocationDetailsParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
// ReadMask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, serviceItems, profile, openInfo, metadata, moreHours.
// `title` and `metadata` are always included in the response so the `location` summary block can be populated, even if you omit them here.
// Note: `location` is a derived response field, not a Google readMask value, passing it returns 400.
ReadMask *string `form:"readMask,omitempty" json:"readMask,omitempty"`
}
GetGoogleBusinessLocationDetailsParams defines parameters for GetGoogleBusinessLocationDetails.
type GetGoogleBusinessLocationDetailsResponse ¶
type GetGoogleBusinessLocationDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
// Categories Business categories (returned when readMask includes 'categories')
Categories *struct {
AdditionalCategories *[]struct {
DisplayName *string `json:"displayName,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"additionalCategories,omitempty"`
PrimaryCategory *struct {
// DisplayName Human-readable category name
DisplayName *string `json:"displayName,omitempty"`
// Name Category resource name
Name *string `json:"name,omitempty"`
} `json:"primaryCategory,omitempty"`
} `json:"categories,omitempty"`
// Location Compact public-facing summary derived from Google's `metadata`. Useful
// for surfacing the "leave a review" URL (e.g. behind a QR code) without
// parsing the raw block. Always populated regardless of readMask.
// For unverified or new locations Google omits placeId/reviewUrl/mapsUri,
// so those return as null and `isVerified` is false.
Location *struct {
// IsVerified True when the location has Voice of Merchant (verified + live on Google)
IsVerified *bool `json:"isVerified,omitempty"`
// MapsUri Public Google Maps URL for this location
MapsUri *string `json:"mapsUri,omitempty"`
// Name Business name as set in GBP
Name *string `json:"name,omitempty"`
// PlaceId Google Maps Place ID for this location
PlaceId *string `json:"placeId,omitempty"`
// ReviewUrl Public "write a review" URL Google generates for this place
ReviewUrl *string `json:"reviewUrl,omitempty"`
} `json:"location,omitempty"`
LocationId *string `json:"locationId,omitempty"`
PhoneNumbers *struct {
AdditionalPhones *[]string `json:"additionalPhones,omitempty"`
PrimaryPhone *string `json:"primaryPhone,omitempty"`
} `json:"phoneNumbers,omitempty"`
Profile *struct {
// Description Business description
Description *string `json:"description,omitempty"`
} `json:"profile,omitempty"`
RegularHours *struct {
Periods *[]struct {
CloseDay *string `json:"closeDay,omitempty"`
CloseTime *string `json:"closeTime,omitempty"`
OpenDay *GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay `json:"openDay,omitempty"`
// OpenTime Opening time in HH:MM format
OpenTime *string `json:"openTime,omitempty"`
} `json:"periods,omitempty"`
} `json:"regularHours,omitempty"`
// ServiceItems Services offered (returned when readMask includes 'serviceItems')
ServiceItems *[]struct {
FreeFormServiceItem *struct {
Category *string `json:"category,omitempty"`
Label *struct {
DisplayName *string `json:"displayName,omitempty"`
LanguageCode *string `json:"languageCode,omitempty"`
} `json:"label,omitempty"`
} `json:"freeFormServiceItem,omitempty"`
Price *struct {
CurrencyCode *string `json:"currencyCode,omitempty"`
Nanos *int `json:"nanos,omitempty"`
Units *string `json:"units,omitempty"`
} `json:"price,omitempty"`
StructuredServiceItem *struct {
Description *string `json:"description,omitempty"`
ServiceTypeId *string `json:"serviceTypeId,omitempty"`
} `json:"structuredServiceItem,omitempty"`
} `json:"serviceItems,omitempty"`
SpecialHours *struct {
SpecialHourPeriods *[]struct {
CloseTime *string `json:"closeTime,omitempty"`
Closed *bool `json:"closed,omitempty"`
EndDate *struct {
Day *int `json:"day,omitempty"`
Month *int `json:"month,omitempty"`
Year *int `json:"year,omitempty"`
} `json:"endDate,omitempty"`
OpenTime *string `json:"openTime,omitempty"`
StartDate *struct {
Day *int `json:"day,omitempty"`
Month *int `json:"month,omitempty"`
Year *int `json:"year,omitempty"`
} `json:"startDate,omitempty"`
} `json:"specialHourPeriods,omitempty"`
} `json:"specialHours,omitempty"`
Success *bool `json:"success,omitempty"`
// Title Business name
Title *string `json:"title,omitempty"`
WebsiteUri *string `json:"websiteUri,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *NotFound
}
func ParseGetGoogleBusinessLocationDetailsResponse ¶
func ParseGetGoogleBusinessLocationDetailsResponse(rsp *http.Response) (*GetGoogleBusinessLocationDetailsResponse, error)
ParseGetGoogleBusinessLocationDetailsResponse parses an HTTP response from a GetGoogleBusinessLocationDetailsWithResponse call
func (GetGoogleBusinessLocationDetailsResponse) Status ¶
func (r GetGoogleBusinessLocationDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessLocationDetailsResponse) StatusCode ¶
func (r GetGoogleBusinessLocationDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessPerformanceParams ¶ added in v0.0.118
type GetGoogleBusinessPerformanceParams struct {
// AccountId The Zernio SocialAccount ID for the Google Business Profile account.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated metric names. Defaults to all available metrics.
// Valid values: BUSINESS_IMPRESSIONS_DESKTOP_MAPS, BUSINESS_IMPRESSIONS_DESKTOP_SEARCH,
// BUSINESS_IMPRESSIONS_MOBILE_MAPS, BUSINESS_IMPRESSIONS_MOBILE_SEARCH,
// BUSINESS_CONVERSATIONS, BUSINESS_DIRECTION_REQUESTS, CALL_CLICKS, WEBSITE_CLICKS,
// BUSINESS_BOOKINGS, BUSINESS_FOOD_ORDERS, BUSINESS_FOOD_MENU_CLICKS
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// StartDate Start date (YYYY-MM-DD). Defaults to 30 days ago. Max 18 months back.
StartDate *openapi_types.Date `form:"startDate,omitempty" json:"startDate,omitempty"`
// EndDate End date (YYYY-MM-DD). Defaults to today.
EndDate *openapi_types.Date `form:"endDate,omitempty" json:"endDate,omitempty"`
}
GetGoogleBusinessPerformanceParams defines parameters for GetGoogleBusinessPerformance.
type GetGoogleBusinessPerformanceResponse ¶ added in v0.0.118
type GetGoogleBusinessPerformanceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
DataDelay *string `json:"dataDelay,omitempty"`
DateRange *struct {
EndDate *openapi_types.Date `json:"endDate,omitempty"`
StartDate *openapi_types.Date `json:"startDate,omitempty"`
} `json:"dateRange,omitempty"`
// Metrics Each key is a metric name containing total and daily values.
Metrics *map[string]struct {
// Total Sum of all daily values in the range
Total *int `json:"total,omitempty"`
Values *[]struct {
Date *openapi_types.Date `json:"date,omitempty"`
Value *int `json:"value,omitempty"`
} `json:"values,omitempty"`
} `json:"metrics,omitempty"`
Platform *string `json:"platform,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
ValidMetrics *[]string `json:"validMetrics,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetGoogleBusinessPerformanceResponse ¶ added in v0.0.118
func ParseGetGoogleBusinessPerformanceResponse(rsp *http.Response) (*GetGoogleBusinessPerformanceResponse, error)
ParseGetGoogleBusinessPerformanceResponse parses an HTTP response from a GetGoogleBusinessPerformanceWithResponse call
func (GetGoogleBusinessPerformanceResponse) Status ¶ added in v0.0.118
func (r GetGoogleBusinessPerformanceResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessPerformanceResponse) StatusCode ¶ added in v0.0.118
func (r GetGoogleBusinessPerformanceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessReviews200ReviewsStarRating ¶
type GetGoogleBusinessReviews200ReviewsStarRating string
type GetGoogleBusinessReviewsParams ¶
type GetGoogleBusinessReviewsParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
// PageSize Number of reviews to fetch per page (max 50)
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// PageToken Pagination token from previous response
PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}
GetGoogleBusinessReviewsParams defines parameters for GetGoogleBusinessReviews.
type GetGoogleBusinessReviewsResponse ¶
type GetGoogleBusinessReviewsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
// AverageRating Overall average rating
AverageRating *float32 `json:"averageRating,omitempty"`
LocationId *string `json:"locationId,omitempty"`
// NextPageToken Token for next page
NextPageToken *string `json:"nextPageToken,omitempty"`
Reviews *[]struct {
// Comment Review text
Comment *string `json:"comment,omitempty"`
CreateTime *time.Time `json:"createTime,omitempty"`
// Id Review ID
Id *string `json:"id,omitempty"`
// Name Full resource name
Name *string `json:"name,omitempty"`
// Rating Numeric star rating
Rating *int `json:"rating,omitempty"`
ReviewReply *struct {
// Comment Business owner reply
Comment *string `json:"comment,omitempty"`
UpdateTime *time.Time `json:"updateTime,omitempty"`
} `json:"reviewReply,omitempty"`
Reviewer *struct {
DisplayName *string `json:"displayName,omitempty"`
IsAnonymous *bool `json:"isAnonymous,omitempty"`
ProfilePhotoUrl *string `json:"profilePhotoUrl,omitempty"`
} `json:"reviewer,omitempty"`
// StarRating Google's string rating
StarRating *GetGoogleBusinessReviews200ReviewsStarRating `json:"starRating,omitempty"`
UpdateTime *time.Time `json:"updateTime,omitempty"`
} `json:"reviews,omitempty"`
Success *bool `json:"success,omitempty"`
// TotalReviewCount Total number of reviews
TotalReviewCount *int `json:"totalReviewCount,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *NotFound
JSON500 *ErrorResponse
}
func ParseGetGoogleBusinessReviewsResponse ¶
func ParseGetGoogleBusinessReviewsResponse(rsp *http.Response) (*GetGoogleBusinessReviewsResponse, error)
ParseGetGoogleBusinessReviewsResponse parses an HTTP response from a GetGoogleBusinessReviewsWithResponse call
func (GetGoogleBusinessReviewsResponse) Status ¶
func (r GetGoogleBusinessReviewsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessReviewsResponse) StatusCode ¶
func (r GetGoogleBusinessReviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessSearchKeywordsParams ¶ added in v0.0.118
type GetGoogleBusinessSearchKeywordsParams struct {
// AccountId The Zernio SocialAccount ID for the Google Business Profile account.
AccountId string `form:"accountId" json:"accountId"`
// StartMonth Start month (YYYY-MM). Defaults to 3 months ago.
StartMonth *string `form:"startMonth,omitempty" json:"startMonth,omitempty"`
// EndMonth End month (YYYY-MM). Defaults to current month.
EndMonth *string `form:"endMonth,omitempty" json:"endMonth,omitempty"`
}
GetGoogleBusinessSearchKeywordsParams defines parameters for GetGoogleBusinessSearchKeywords.
type GetGoogleBusinessSearchKeywordsResponse ¶ added in v0.0.118
type GetGoogleBusinessSearchKeywordsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
Keywords *[]struct {
Impressions *int `json:"impressions,omitempty"`
Keyword *string `json:"keyword,omitempty"`
} `json:"keywords,omitempty"`
MonthRange *struct {
EndMonth *string `json:"endMonth,omitempty"`
StartMonth *string `json:"startMonth,omitempty"`
} `json:"monthRange,omitempty"`
Note *string `json:"note,omitempty"`
Platform *string `json:"platform,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetGoogleBusinessSearchKeywordsResponse ¶ added in v0.0.118
func ParseGetGoogleBusinessSearchKeywordsResponse(rsp *http.Response) (*GetGoogleBusinessSearchKeywordsResponse, error)
ParseGetGoogleBusinessSearchKeywordsResponse parses an HTTP response from a GetGoogleBusinessSearchKeywordsWithResponse call
func (GetGoogleBusinessSearchKeywordsResponse) Status ¶ added in v0.0.118
func (r GetGoogleBusinessSearchKeywordsResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessSearchKeywordsResponse) StatusCode ¶ added in v0.0.118
func (r GetGoogleBusinessSearchKeywordsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGoogleBusinessServicesParams ¶ added in v0.0.158
type GetGoogleBusinessServicesParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
GetGoogleBusinessServicesParams defines parameters for GetGoogleBusinessServices.
type GetGoogleBusinessServicesResponse ¶ added in v0.0.158
type GetGoogleBusinessServicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Services *[]struct {
FreeFormServiceItem *struct {
Category *string `json:"category,omitempty"`
Label *struct {
Description *string `json:"description,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
} `json:"label,omitempty"`
} `json:"freeFormServiceItem,omitempty"`
Price *struct {
CurrencyCode *string `json:"currencyCode,omitempty"`
Nanos *int `json:"nanos,omitempty"`
Units *string `json:"units,omitempty"`
} `json:"price,omitempty"`
StructuredServiceItem *struct {
Description *string `json:"description,omitempty"`
ServiceTypeId *string `json:"serviceTypeId,omitempty"`
} `json:"structuredServiceItem,omitempty"`
} `json:"services,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *ErrorResponse
}
func ParseGetGoogleBusinessServicesResponse ¶ added in v0.0.158
func ParseGetGoogleBusinessServicesResponse(rsp *http.Response) (*GetGoogleBusinessServicesResponse, error)
ParseGetGoogleBusinessServicesResponse parses an HTTP response from a GetGoogleBusinessServicesWithResponse call
func (GetGoogleBusinessServicesResponse) Status ¶ added in v0.0.158
func (r GetGoogleBusinessServicesResponse) Status() string
Status returns HTTPResponse.Status
func (GetGoogleBusinessServicesResponse) StatusCode ¶ added in v0.0.158
func (r GetGoogleBusinessServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInboxConversation200DataParticipantVerifiedType ¶ added in v0.0.89
type GetInboxConversation200DataParticipantVerifiedType string
type GetInboxConversation200DataStatus ¶
type GetInboxConversation200DataStatus string
type GetInboxConversationMessages200MessagesAttachmentsType ¶
type GetInboxConversationMessages200MessagesAttachmentsType string
type GetInboxConversationMessages200MessagesDeliveryStatus ¶ added in v0.0.134
type GetInboxConversationMessages200MessagesDeliveryStatus string
type GetInboxConversationMessages200MessagesDirection ¶
type GetInboxConversationMessages200MessagesDirection string
type GetInboxConversationMessages200MessagesSenderVerifiedType ¶ added in v0.0.89
type GetInboxConversationMessages200MessagesSenderVerifiedType string
type GetInboxConversationMessages200SortOrderApplied ¶ added in v0.0.193
type GetInboxConversationMessages200SortOrderApplied string
type GetInboxConversationMessagesParams ¶
type GetInboxConversationMessagesParams struct {
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
// Limit Number of messages to return per page. Default 100, max 100.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Opaque pagination cursor. Pass `pagination.nextCursor` from a prior response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// SortOrder Order of returned messages. Default `asc` (oldest first, chat style).
// For Twitter, Facebook and Bluesky, only intra-page ordering is
// affected — pages always walk newest→oldest. See `sortOrderApplied`
// in the response.
SortOrder *GetInboxConversationMessagesParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
}
GetInboxConversationMessagesParams defines parameters for GetInboxConversationMessages.
type GetInboxConversationMessagesParamsSortOrder ¶ added in v0.0.193
type GetInboxConversationMessagesParamsSortOrder string
GetInboxConversationMessagesParamsSortOrder defines parameters for GetInboxConversationMessages.
const ( GetInboxConversationMessagesParamsSortOrderAsc GetInboxConversationMessagesParamsSortOrder = "asc" GetInboxConversationMessagesParamsSortOrderDesc GetInboxConversationMessagesParamsSortOrder = "desc" )
Defines values for GetInboxConversationMessagesParamsSortOrder.
func (GetInboxConversationMessagesParamsSortOrder) Valid ¶ added in v0.0.193
func (e GetInboxConversationMessagesParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the GetInboxConversationMessagesParamsSortOrder enum.
type GetInboxConversationMessagesResponse ¶
type GetInboxConversationMessagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Messages *[]struct {
AccountId *string `json:"accountId,omitempty"`
Attachments *[]struct {
Filename *string `json:"filename,omitempty"`
Id *string `json:"id,omitempty"`
PreviewUrl *string `json:"previewUrl,omitempty"`
Type *GetInboxConversationMessages200MessagesAttachmentsType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"attachments,omitempty"`
ConversationId *string `json:"conversationId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DeletedAt *time.Time `json:"deletedAt,omitempty"`
DeliveredAt *time.Time `json:"deliveredAt,omitempty"`
// DeliveryError Populated when deliveryStatus === "failed".
DeliveryError *struct {
Code *int `json:"code,omitempty"`
Message *string `json:"message,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"deliveryError,omitempty"`
// DeliveryStatus Lifecycle status for outgoing messages. Not all platforms emit every state (see webhook support matrix).
DeliveryStatus *GetInboxConversationMessages200MessagesDeliveryStatus `json:"deliveryStatus,omitempty"`
Direction *GetInboxConversationMessages200MessagesDirection `json:"direction,omitempty"`
// EditCount Total number of edits applied.
EditCount *int `json:"editCount,omitempty"`
// EditHistory Every prior version of the message, oldest first.
EditHistory *[]struct {
Attachments *[]struct {
Payload *map[string]interface{} `json:"payload,omitempty"`
Type *string `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"attachments,omitempty"`
EditedAt *time.Time `json:"editedAt,omitempty"`
Text *string `json:"text,omitempty"`
} `json:"editHistory,omitempty"`
// EditedAt When the most recent edit happened.
EditedAt *time.Time `json:"editedAt,omitempty"`
Id *string `json:"id,omitempty"`
// IsDeleted True if the sender has deleted (unsent) this message. The original message and attachments fields remain populated.
IsDeleted *bool `json:"isDeleted,omitempty"`
// IsEdited True if the sender has edited this message at least once.
IsEdited *bool `json:"isEdited,omitempty"`
// IsStoryMention Instagram story mention
IsStoryMention *bool `json:"isStoryMention,omitempty"`
Message *string `json:"message,omitempty"`
Platform *string `json:"platform,omitempty"`
ReadAt *time.Time `json:"readAt,omitempty"`
SenderId *string `json:"senderId,omitempty"`
SenderName *string `json:"senderName,omitempty"`
// SenderVerifiedType X/Twitter verified badge type. Only present for Twitter/X messages.
SenderVerifiedType *GetInboxConversationMessages200MessagesSenderVerifiedType `json:"senderVerifiedType,omitempty"`
// SentAt Original send time for outgoing messages (used for Messenger watermark queries).
SentAt *time.Time `json:"sentAt,omitempty"`
// StoryReply Instagram story reply
StoryReply *bool `json:"storyReply,omitempty"`
// Subject Reddit message subject
Subject *string `json:"subject,omitempty"`
} `json:"messages,omitempty"`
Pagination *struct {
// HasMore Whether more messages are available beyond this page.
HasMore *bool `json:"hasMore,omitempty"`
// NextCursor Opaque cursor to fetch the next page. `null` on the last page.
NextCursor *string `json:"nextCursor,omitempty"`
} `json:"pagination,omitempty"`
// SortOrderApplied Sort order actually applied to the returned page. May
// differ from the requested `sortOrder` for Twitter,
// Facebook and Bluesky (always `desc` regardless of request).
SortOrderApplied *GetInboxConversationMessages200SortOrderApplied `json:"sortOrderApplied,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetInboxConversationMessagesResponse ¶
func ParseGetInboxConversationMessagesResponse(rsp *http.Response) (*GetInboxConversationMessagesResponse, error)
ParseGetInboxConversationMessagesResponse parses an HTTP response from a GetInboxConversationMessagesWithResponse call
func (GetInboxConversationMessagesResponse) Status ¶
func (r GetInboxConversationMessagesResponse) Status() string
Status returns HTTPResponse.Status
func (GetInboxConversationMessagesResponse) StatusCode ¶
func (r GetInboxConversationMessagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInboxConversationParams ¶
type GetInboxConversationParams struct {
// AccountId The social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetInboxConversationParams defines parameters for GetInboxConversation.
type GetInboxConversationResponse ¶
type GetInboxConversationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
Id *string `json:"id,omitempty"`
// InstagramProfile Instagram profile data for the participant. Only present for Instagram conversations.
InstagramProfile *struct {
// FetchedAt When this profile data was last fetched from Instagram
FetchedAt *time.Time `json:"fetchedAt,omitempty"`
// FollowerCount The participant's follower count on Instagram
FollowerCount *int `json:"followerCount,omitempty"`
// IsFollower Whether the participant follows your Instagram business account
IsFollower *bool `json:"isFollower,omitempty"`
// IsFollowing Whether your Instagram business account follows the participant
IsFollowing *bool `json:"isFollowing,omitempty"`
// IsVerified Whether the participant is a verified Instagram user
IsVerified *bool `json:"isVerified,omitempty"`
} `json:"instagramProfile,omitempty"`
LastMessage *string `json:"lastMessage,omitempty"`
LastMessageAt *time.Time `json:"lastMessageAt,omitempty"`
ParticipantId *string `json:"participantId,omitempty"`
ParticipantName *string `json:"participantName,omitempty"`
// ParticipantVerifiedType X/Twitter verified badge type. Only present for Twitter/X conversations.
ParticipantVerifiedType *GetInboxConversation200DataParticipantVerifiedType `json:"participantVerifiedType,omitempty"`
Participants *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"participants,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *GetInboxConversation200DataStatus `json:"status,omitempty"`
UpdatedTime *time.Time `json:"updatedTime,omitempty"`
} `json:"data,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetInboxConversationResponse ¶
func ParseGetInboxConversationResponse(rsp *http.Response) (*GetInboxConversationResponse, error)
ParseGetInboxConversationResponse parses an HTTP response from a GetInboxConversationWithResponse call
func (GetInboxConversationResponse) Status ¶
func (r GetInboxConversationResponse) Status() string
Status returns HTTPResponse.Status
func (GetInboxConversationResponse) StatusCode ¶
func (r GetInboxConversationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInboxPostComments200CommentsFromVerifiedType ¶ added in v0.0.89
type GetInboxPostComments200CommentsFromVerifiedType string
type GetInboxPostCommentsParams ¶
type GetInboxPostCommentsParams struct {
AccountId string `form:"accountId" json:"accountId"`
// Subreddit (Reddit only) Subreddit name
Subreddit *string `form:"subreddit,omitempty" json:"subreddit,omitempty"`
// Limit Maximum number of comments to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Pagination cursor
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// CommentId (Reddit only) Get replies to a specific comment
CommentId *string `form:"commentId,omitempty" json:"commentId,omitempty"`
}
GetInboxPostCommentsParams defines parameters for GetInboxPostComments.
type GetInboxPostCommentsResponse ¶
type GetInboxPostCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Comments *[]struct {
CanDelete *bool `json:"canDelete,omitempty"`
// CanHide Whether this comment can be hidden (Facebook
CanHide *bool `json:"canHide,omitempty"`
// CanLike Whether this comment can be liked (Facebook
CanLike *bool `json:"canLike,omitempty"`
CanReply *bool `json:"canReply,omitempty"`
// Cid Bluesky content identifier
Cid *string `json:"cid,omitempty"`
CreatedTime *time.Time `json:"createdTime,omitempty"`
From *struct {
Id *string `json:"id,omitempty"`
IsOwner *bool `json:"isOwner,omitempty"`
Name *string `json:"name,omitempty"`
Picture *string `json:"picture,omitempty"`
Username *string `json:"username,omitempty"`
// VerifiedType X/Twitter verified badge type. Only present for Twitter/X comments.
VerifiedType *GetInboxPostComments200CommentsFromVerifiedType `json:"verifiedType,omitempty"`
} `json:"from,omitempty"`
Id *string `json:"id,omitempty"`
// IsHidden Whether the comment is currently hidden
IsHidden *bool `json:"isHidden,omitempty"`
// IsLiked Whether the current user has liked this comment
IsLiked *bool `json:"isLiked,omitempty"`
LikeCount *int `json:"likeCount,omitempty"`
// LikeUri Bluesky like URI for unliking
LikeUri *string `json:"likeUri,omitempty"`
Message *string `json:"message,omitempty"`
// ParentId Parent comment ID for nested replies
ParentId *string `json:"parentId,omitempty"`
// Platform The platform this comment is from
Platform *string `json:"platform,omitempty"`
Replies *[]map[string]interface{} `json:"replies,omitempty"`
ReplyCount *int `json:"replyCount,omitempty"`
// RootCid Bluesky root post CID
RootCid *string `json:"rootCid,omitempty"`
// RootUri Bluesky root post URI
RootUri *string `json:"rootUri,omitempty"`
// Url Direct link to the comment on the platform (if available)
Url *string `json:"url,omitempty"`
} `json:"comments,omitempty"`
Meta *struct {
AccountId *string `json:"accountId,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Platform *string `json:"platform,omitempty"`
PostId *string `json:"postId,omitempty"`
// Subreddit (Reddit only) Subreddit name
Subreddit *string `json:"subreddit,omitempty"`
} `json:"meta,omitempty"`
Pagination *struct {
Cursor *string `json:"cursor,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
} `json:"pagination,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetInboxPostCommentsResponse ¶
func ParseGetInboxPostCommentsResponse(rsp *http.Response) (*GetInboxPostCommentsResponse, error)
ParseGetInboxPostCommentsResponse parses an HTTP response from a GetInboxPostCommentsWithResponse call
func (GetInboxPostCommentsResponse) Status ¶
func (r GetInboxPostCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (GetInboxPostCommentsResponse) StatusCode ¶
func (r GetInboxPostCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstagramAccountInsightsParams ¶ added in v0.0.73
type GetInstagramAccountInsightsParams struct {
// AccountId The Zernio SocialAccount ID for the Instagram account
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list of metrics. Defaults to "reach,views,accounts_engaged,total_interactions".
// Valid metrics: reach, views, accounts_engaged, total_interactions, comments, likes, saves, shares,
// replies, reposts, follows_and_unfollows, profile_links_taps.
// Note: only "reach" supports metricType=time_series. All other metrics (including
// follows_and_unfollows) are total_value only. This is an Instagram Graph API limitation,
// not a Zernio limitation - the IG API does not return time-series data for these metrics.
// For a daily running follower count, use /v1/analytics/instagram/follower-history instead.
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
// MetricType "total_value" (default) returns aggregated totals and supports breakdowns.
// "time_series" returns daily values but only works with the "reach" metric.
MetricType *GetInstagramAccountInsightsParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
// Breakdown Breakdown dimension (only valid with metricType=total_value).
// Valid values depend on the metric: media_product_type, follow_type, follower_type, contact_button_type.
Breakdown *string `form:"breakdown,omitempty" json:"breakdown,omitempty"`
}
GetInstagramAccountInsightsParams defines parameters for GetInstagramAccountInsights.
type GetInstagramAccountInsightsParamsMetricType ¶ added in v0.0.73
type GetInstagramAccountInsightsParamsMetricType string
GetInstagramAccountInsightsParamsMetricType defines parameters for GetInstagramAccountInsights.
const ( GetInstagramAccountInsightsParamsMetricTypeTimeSeries GetInstagramAccountInsightsParamsMetricType = "time_series" GetInstagramAccountInsightsParamsMetricTypeTotalValue GetInstagramAccountInsightsParamsMetricType = "total_value" )
Defines values for GetInstagramAccountInsightsParamsMetricType.
func (GetInstagramAccountInsightsParamsMetricType) Valid ¶ added in v0.0.73
func (e GetInstagramAccountInsightsParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetInstagramAccountInsightsParamsMetricType enum.
type GetInstagramAccountInsightsResponse ¶ added in v0.0.73
type GetInstagramAccountInsightsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetInstagramAccountInsightsResponse ¶ added in v0.0.73
func ParseGetInstagramAccountInsightsResponse(rsp *http.Response) (*GetInstagramAccountInsightsResponse, error)
ParseGetInstagramAccountInsightsResponse parses an HTTP response from a GetInstagramAccountInsightsWithResponse call
func (GetInstagramAccountInsightsResponse) Status ¶ added in v0.0.73
func (r GetInstagramAccountInsightsResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstagramAccountInsightsResponse) StatusCode ¶ added in v0.0.73
func (r GetInstagramAccountInsightsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstagramDemographicsParams ¶ added in v0.0.73
type GetInstagramDemographicsParams struct {
// AccountId The Zernio SocialAccount ID for the Instagram account
AccountId string `form:"accountId" json:"accountId"`
// Metric "follower_demographics" for follower audience data, or "engaged_audience_demographics" for engaged viewers.
Metric *GetInstagramDemographicsParamsMetric `form:"metric,omitempty" json:"metric,omitempty"`
// Breakdown Comma-separated list of demographic dimensions: age, city, country, gender.
// Defaults to all four if omitted.
Breakdown *string `form:"breakdown,omitempty" json:"breakdown,omitempty"`
// Timeframe Time period for demographic data. Defaults to "this_month".
Timeframe *GetInstagramDemographicsParamsTimeframe `form:"timeframe,omitempty" json:"timeframe,omitempty"`
}
GetInstagramDemographicsParams defines parameters for GetInstagramDemographics.
type GetInstagramDemographicsParamsMetric ¶ added in v0.0.73
type GetInstagramDemographicsParamsMetric string
GetInstagramDemographicsParamsMetric defines parameters for GetInstagramDemographics.
const ( GetInstagramDemographicsParamsMetricEngagedAudienceDemographics GetInstagramDemographicsParamsMetric = "engaged_audience_demographics" GetInstagramDemographicsParamsMetricFollowerDemographics GetInstagramDemographicsParamsMetric = "follower_demographics" )
Defines values for GetInstagramDemographicsParamsMetric.
func (GetInstagramDemographicsParamsMetric) Valid ¶ added in v0.0.73
func (e GetInstagramDemographicsParamsMetric) Valid() bool
Valid indicates whether the value is a known member of the GetInstagramDemographicsParamsMetric enum.
type GetInstagramDemographicsParamsTimeframe ¶ added in v0.0.73
type GetInstagramDemographicsParamsTimeframe string
GetInstagramDemographicsParamsTimeframe defines parameters for GetInstagramDemographics.
const ( GetInstagramDemographicsParamsTimeframeThisMonth GetInstagramDemographicsParamsTimeframe = "this_month" GetInstagramDemographicsParamsTimeframeThisWeek GetInstagramDemographicsParamsTimeframe = "this_week" )
Defines values for GetInstagramDemographicsParamsTimeframe.
func (GetInstagramDemographicsParamsTimeframe) Valid ¶ added in v0.0.73
func (e GetInstagramDemographicsParamsTimeframe) Valid() bool
Valid indicates whether the value is a known member of the GetInstagramDemographicsParamsTimeframe enum.
type GetInstagramDemographicsResponse ¶ added in v0.0.73
type GetInstagramDemographicsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramDemographicsResponse
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetInstagramDemographicsResponse ¶ added in v0.0.73
func ParseGetInstagramDemographicsResponse(rsp *http.Response) (*GetInstagramDemographicsResponse, error)
ParseGetInstagramDemographicsResponse parses an HTTP response from a GetInstagramDemographicsWithResponse call
func (GetInstagramDemographicsResponse) Status ¶ added in v0.0.73
func (r GetInstagramDemographicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstagramDemographicsResponse) StatusCode ¶ added in v0.0.73
func (r GetInstagramDemographicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstagramFollowerHistoryParams ¶ added in v0.0.184
type GetInstagramFollowerHistoryParams struct {
// AccountId The Zernio SocialAccount ID for the Instagram account.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list. Defaults to "follower_count,followers_gained,followers_lost".
// - follower_count : per-day raw follower count
// - followers_gained : sum of positive daily deltas
// - followers_lost : sum of absolute negative daily deltas
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
// MetricType "total_value" returns aggregated totals (latest for follower_count, sum for gained/lost).
// "time_series" returns per-day values in the "values" array.
MetricType *GetInstagramFollowerHistoryParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
}
GetInstagramFollowerHistoryParams defines parameters for GetInstagramFollowerHistory.
type GetInstagramFollowerHistoryParamsMetricType ¶ added in v0.0.184
type GetInstagramFollowerHistoryParamsMetricType string
GetInstagramFollowerHistoryParamsMetricType defines parameters for GetInstagramFollowerHistory.
const ( GetInstagramFollowerHistoryParamsMetricTypeTimeSeries GetInstagramFollowerHistoryParamsMetricType = "time_series" GetInstagramFollowerHistoryParamsMetricTypeTotalValue GetInstagramFollowerHistoryParamsMetricType = "total_value" )
Defines values for GetInstagramFollowerHistoryParamsMetricType.
func (GetInstagramFollowerHistoryParamsMetricType) Valid ¶ added in v0.0.184
func (e GetInstagramFollowerHistoryParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetInstagramFollowerHistoryParamsMetricType enum.
type GetInstagramFollowerHistoryResponse ¶ added in v0.0.184
type GetInstagramFollowerHistoryResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON401 *Unauthorized
}
func ParseGetInstagramFollowerHistoryResponse ¶ added in v0.0.184
func ParseGetInstagramFollowerHistoryResponse(rsp *http.Response) (*GetInstagramFollowerHistoryResponse, error)
ParseGetInstagramFollowerHistoryResponse parses an HTTP response from a GetInstagramFollowerHistoryWithResponse call
func (GetInstagramFollowerHistoryResponse) Status ¶ added in v0.0.184
func (r GetInstagramFollowerHistoryResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstagramFollowerHistoryResponse) StatusCode ¶ added in v0.0.184
func (r GetInstagramFollowerHistoryResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetInstagramIceBreakersResponse ¶
type GetInstagramIceBreakersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]map[string]interface{} `json:"data,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetInstagramIceBreakersResponse ¶
func ParseGetInstagramIceBreakersResponse(rsp *http.Response) (*GetInstagramIceBreakersResponse, error)
ParseGetInstagramIceBreakersResponse parses an HTTP response from a GetInstagramIceBreakersWithResponse call
func (GetInstagramIceBreakersResponse) Status ¶
func (r GetInstagramIceBreakersResponse) Status() string
Status returns HTTPResponse.Status
func (GetInstagramIceBreakersResponse) StatusCode ¶
func (r GetInstagramIceBreakersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInAggregateAnalyticsParams ¶
type GetLinkedInAggregateAnalyticsParams struct {
// Aggregation TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY.
Aggregation *GetLinkedInAggregateAnalyticsParamsAggregation `form:"aggregation,omitempty" json:"aggregation,omitempty"`
// StartDate Start date (YYYY-MM-DD). If omitted, returns lifetime analytics.
StartDate *openapi_types.Date `form:"startDate,omitempty" json:"startDate,omitempty"`
// EndDate End date (YYYY-MM-DD, exclusive). Defaults to today if omitted.
EndDate *openapi_types.Date `form:"endDate,omitempty" json:"endDate,omitempty"`
// Metrics Comma-separated metrics: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE, POST_SAVE, POST_SEND. Omit for all.
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
}
GetLinkedInAggregateAnalyticsParams defines parameters for GetLinkedInAggregateAnalytics.
type GetLinkedInAggregateAnalyticsParamsAggregation ¶
type GetLinkedInAggregateAnalyticsParamsAggregation string
GetLinkedInAggregateAnalyticsParamsAggregation defines parameters for GetLinkedInAggregateAnalytics.
const ( GetLinkedInAggregateAnalyticsParamsAggregationDAILY GetLinkedInAggregateAnalyticsParamsAggregation = "DAILY" GetLinkedInAggregateAnalyticsParamsAggregationTOTAL GetLinkedInAggregateAnalyticsParamsAggregation = "TOTAL" )
Defines values for GetLinkedInAggregateAnalyticsParamsAggregation.
func (GetLinkedInAggregateAnalyticsParamsAggregation) Valid ¶
func (e GetLinkedInAggregateAnalyticsParamsAggregation) Valid() bool
Valid indicates whether the value is a known member of the GetLinkedInAggregateAnalyticsParamsAggregation enum.
type GetLinkedInAggregateAnalyticsResponse ¶
type GetLinkedInAggregateAnalyticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON400 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
ValidOptions *[]string `json:"validOptions,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Action *string `json:"action,omitempty"`
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
RequiredScope *string `json:"requiredScope,omitempty"`
}
}
func ParseGetLinkedInAggregateAnalyticsResponse ¶
func ParseGetLinkedInAggregateAnalyticsResponse(rsp *http.Response) (*GetLinkedInAggregateAnalyticsResponse, error)
ParseGetLinkedInAggregateAnalyticsResponse parses an HTTP response from a GetLinkedInAggregateAnalyticsWithResponse call
func (GetLinkedInAggregateAnalyticsResponse) Status ¶
func (r GetLinkedInAggregateAnalyticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInAggregateAnalyticsResponse) StatusCode ¶
func (r GetLinkedInAggregateAnalyticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInMentions200Type ¶
type GetLinkedInMentions200Type string
type GetLinkedInMentionsParams ¶
type GetLinkedInMentionsParams struct {
// Url LinkedIn profile URL, company URL, or vanity name.
Url string `form:"url" json:"url"`
// DisplayName Exact display name as shown on LinkedIn. Required for person mentions to be clickable. Optional for org mentions.
DisplayName *string `form:"displayName,omitempty" json:"displayName,omitempty"`
}
GetLinkedInMentionsParams defines parameters for GetLinkedInMentions.
type GetLinkedInMentionsResponse ¶
type GetLinkedInMentionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// DisplayName Display name (provided, from API, or derived from vanity URL)
DisplayName *string `json:"displayName,omitempty"`
// MentionFormat Ready-to-use mention format for post content
MentionFormat *string `json:"mentionFormat,omitempty"`
// Type The type of entity (person or organization)
Type *GetLinkedInMentions200Type `json:"type,omitempty"`
// Urn The LinkedIn URN (person or organization)
Urn *string `json:"urn,omitempty"`
// VanityName The vanity name/slug (only for organization mentions)
VanityName *string `json:"vanityName,omitempty"`
// Warning Warning about clickable mentions (only present for person mentions if displayName was not provided)
Warning *string `json:"warning,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON404 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetLinkedInMentionsResponse ¶
func ParseGetLinkedInMentionsResponse(rsp *http.Response) (*GetLinkedInMentionsResponse, error)
ParseGetLinkedInMentionsResponse parses an HTTP response from a GetLinkedInMentionsWithResponse call
func (GetLinkedInMentionsResponse) Status ¶
func (r GetLinkedInMentionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInMentionsResponse) StatusCode ¶
func (r GetLinkedInMentionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInOrgAggregateAnalyticsParams ¶ added in v0.0.184
type GetLinkedInOrgAggregateAnalyticsParams struct {
// AccountId The Zernio SocialAccount ID for the LinkedIn organization account.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list. Defaults to
// "impressions,clicks,engagement_rate,organic_followers_gained,followers_gained,followers_lost".
//
// Share statistics (support both total_value and time_series):
// - impressions
// - unique_impressions
// - clicks
// - likes
// - comments
// - shares
// - engagement_rate (0..1, LinkedIn-computed)
//
// Follower-gain statistics (support total_value and time_series):
// - organic_followers_gained (per-day organic gains for time_series; sum of organic gains over the range for total_value)
// - paid_followers_gained (per-day paid gains for time_series; sum of paid gains over the range for total_value)
//
// Page-view statistics (total_value ONLY - LinkedIn platform limit):
// - page_views_total
// - page_views_overview
// - page_views_careers
// - page_views_jobs
// - page_views_life
//
// Zernio-synthesized from daily follower snapshots:
// - followers_gained
// - followers_lost
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
MetricType *GetLinkedInOrgAggregateAnalyticsParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
}
GetLinkedInOrgAggregateAnalyticsParams defines parameters for GetLinkedInOrgAggregateAnalytics.
type GetLinkedInOrgAggregateAnalyticsParamsMetricType ¶ added in v0.0.184
type GetLinkedInOrgAggregateAnalyticsParamsMetricType string
GetLinkedInOrgAggregateAnalyticsParamsMetricType defines parameters for GetLinkedInOrgAggregateAnalytics.
const ( GetLinkedInOrgAggregateAnalyticsParamsMetricTypeTimeSeries GetLinkedInOrgAggregateAnalyticsParamsMetricType = "time_series" GetLinkedInOrgAggregateAnalyticsParamsMetricTypeTotalValue GetLinkedInOrgAggregateAnalyticsParamsMetricType = "total_value" )
Defines values for GetLinkedInOrgAggregateAnalyticsParamsMetricType.
func (GetLinkedInOrgAggregateAnalyticsParamsMetricType) Valid ¶ added in v0.0.184
func (e GetLinkedInOrgAggregateAnalyticsParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetLinkedInOrgAggregateAnalyticsParamsMetricType enum.
type GetLinkedInOrgAggregateAnalyticsResponse ¶ added in v0.0.184
type GetLinkedInOrgAggregateAnalyticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON401 *Unauthorized
}
func ParseGetLinkedInOrgAggregateAnalyticsResponse ¶ added in v0.0.184
func ParseGetLinkedInOrgAggregateAnalyticsResponse(rsp *http.Response) (*GetLinkedInOrgAggregateAnalyticsResponse, error)
ParseGetLinkedInOrgAggregateAnalyticsResponse parses an HTTP response from a GetLinkedInOrgAggregateAnalyticsWithResponse call
func (GetLinkedInOrgAggregateAnalyticsResponse) Status ¶ added in v0.0.184
func (r GetLinkedInOrgAggregateAnalyticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInOrgAggregateAnalyticsResponse) StatusCode ¶ added in v0.0.184
func (r GetLinkedInOrgAggregateAnalyticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInOrganizationsResponse ¶
type GetLinkedInOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Organizations *[]struct {
Id *string `json:"id,omitempty"`
LocalizedName *string `json:"localizedName,omitempty"`
Name *string `json:"name,omitempty"`
VanityName *string `json:"vanityName,omitempty"`
} `json:"organizations,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetLinkedInOrganizationsResponse ¶
func ParseGetLinkedInOrganizationsResponse(rsp *http.Response) (*GetLinkedInOrganizationsResponse, error)
ParseGetLinkedInOrganizationsResponse parses an HTTP response from a GetLinkedInOrganizationsWithResponse call
func (GetLinkedInOrganizationsResponse) Status ¶
func (r GetLinkedInOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInOrganizationsResponse) StatusCode ¶
func (r GetLinkedInOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInPostAnalytics200AccountType ¶
type GetLinkedInPostAnalytics200AccountType string
type GetLinkedInPostAnalytics400Code ¶
type GetLinkedInPostAnalytics400Code string
type GetLinkedInPostAnalyticsParams ¶
type GetLinkedInPostAnalyticsParams struct {
// Urn The LinkedIn post URN
Urn string `form:"urn" json:"urn"`
}
GetLinkedInPostAnalyticsParams defines parameters for GetLinkedInPostAnalytics.
type GetLinkedInPostAnalyticsResponse ¶
type GetLinkedInPostAnalyticsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
AccountType *GetLinkedInPostAnalytics200AccountType `json:"accountType,omitempty"`
Analytics *struct {
// Clicks Clicks on the post (organization accounts only)
Clicks *int `json:"clicks,omitempty"`
// Comments Comments on the post
Comments *int `json:"comments,omitempty"`
// EngagementRate Engagement rate as percentage
EngagementRate *float32 `json:"engagementRate,omitempty"`
// Impressions Times the post was shown
Impressions *int `json:"impressions,omitempty"`
// Likes Reactions on the post
Likes *int `json:"likes,omitempty"`
// Reach Unique members who saw the post
Reach *int `json:"reach,omitempty"`
// Saves Times the post was saved (personal accounts only; 0 for organization accounts)
Saves *int `json:"saves,omitempty"`
// Sends Times the post was sent via LinkedIn messaging (personal accounts only; 0 for organization accounts)
Sends *int `json:"sends,omitempty"`
// Shares Reshares of the post
Shares *int `json:"shares,omitempty"`
// Views Video views (video posts only)
Views *int `json:"views,omitempty"`
} `json:"analytics,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Platform *string `json:"platform,omitempty"`
PostUrn *string `json:"postUrn,omitempty"`
Username *string `json:"username,omitempty"`
}
JSON400 *struct {
Code *GetLinkedInPostAnalytics400Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Action *string `json:"action,omitempty"`
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
RequiredScope *string `json:"requiredScope,omitempty"`
}
JSON404 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseGetLinkedInPostAnalyticsResponse ¶
func ParseGetLinkedInPostAnalyticsResponse(rsp *http.Response) (*GetLinkedInPostAnalyticsResponse, error)
ParseGetLinkedInPostAnalyticsResponse parses an HTTP response from a GetLinkedInPostAnalyticsWithResponse call
func (GetLinkedInPostAnalyticsResponse) Status ¶
func (r GetLinkedInPostAnalyticsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInPostAnalyticsResponse) StatusCode ¶
func (r GetLinkedInPostAnalyticsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetLinkedInPostReactions400Code ¶
type GetLinkedInPostReactions400Code string
type GetLinkedInPostReactionsParams ¶
type GetLinkedInPostReactionsParams struct {
// Urn The LinkedIn post URN
Urn string `form:"urn" json:"urn"`
// Limit Maximum number of reactions to return per page
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Offset-based pagination start index
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
GetLinkedInPostReactionsParams defines parameters for GetLinkedInPostReactions.
type GetLinkedInPostReactionsResponse ¶
type GetLinkedInPostReactionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
AccountType *string `json:"accountType,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Pagination *struct {
// Cursor Offset for next page
Cursor *string `json:"cursor,omitempty"`
HasMore *bool `json:"hasMore,omitempty"`
// Total Total number of reactions (when available)
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Platform *string `json:"platform,omitempty"`
PostUrn *string `json:"postUrn,omitempty"`
Reactions *[]struct {
From *struct {
// Headline Reactor's headline/job title
Headline *string `json:"headline,omitempty"`
// Name Reactor's display name
Name *string `json:"name,omitempty"`
// ProfilePicture Profile picture URL
ProfilePicture *string `json:"profilePicture,omitempty"`
// ProfileUrl Direct link to LinkedIn profile
ProfileUrl *string `json:"profileUrl,omitempty"`
// Urn LinkedIn person or organization URN
Urn *string `json:"urn,omitempty"`
// Username LinkedIn vanity name
Username *string `json:"username,omitempty"`
} `json:"from,omitempty"`
ReactedAt *time.Time `json:"reactedAt,omitempty"`
// ReactionLabel User-friendly label (Like, Celebrate, Love, Insightful, Support, Funny)
ReactionLabel *string `json:"reactionLabel,omitempty"`
// ReactionType LinkedIn reaction enum (LIKE, PRAISE, EMPATHY, INTEREST, APPRECIATION, ENTERTAINMENT)
ReactionType *string `json:"reactionType,omitempty"`
} `json:"reactions,omitempty"`
Username *string `json:"username,omitempty"`
}
JSON400 *struct {
Code *GetLinkedInPostReactions400Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetLinkedInPostReactionsResponse ¶
func ParseGetLinkedInPostReactionsResponse(rsp *http.Response) (*GetLinkedInPostReactionsResponse, error)
ParseGetLinkedInPostReactionsResponse parses an HTTP response from a GetLinkedInPostReactionsWithResponse call
func (GetLinkedInPostReactionsResponse) Status ¶
func (r GetLinkedInPostReactionsResponse) Status() string
Status returns HTTPResponse.Status
func (GetLinkedInPostReactionsResponse) StatusCode ¶
func (r GetLinkedInPostReactionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMediaPresignedUrl200Type ¶
type GetMediaPresignedUrl200Type string
type GetMediaPresignedUrlJSONBody ¶
type GetMediaPresignedUrlJSONBody struct {
// ContentType MIME type of the file
ContentType GetMediaPresignedUrlJSONBodyContentType `json:"contentType"`
// Filename Name of the file to upload
Filename string `json:"filename"`
// Size Optional file size in bytes for pre-validation (max 5GB)
Size *int `json:"size,omitempty"`
}
GetMediaPresignedUrlJSONBody defines parameters for GetMediaPresignedUrl.
type GetMediaPresignedUrlJSONBodyContentType ¶
type GetMediaPresignedUrlJSONBodyContentType string
GetMediaPresignedUrlJSONBodyContentType defines parameters for GetMediaPresignedUrl.
const ( Applicationpdf GetMediaPresignedUrlJSONBodyContentType = "application/pdf" Imagegif GetMediaPresignedUrlJSONBodyContentType = "image/gif" Imagejpeg GetMediaPresignedUrlJSONBodyContentType = "image/jpeg" Imagejpg GetMediaPresignedUrlJSONBodyContentType = "image/jpg" Imagepng GetMediaPresignedUrlJSONBodyContentType = "image/png" Imagewebp GetMediaPresignedUrlJSONBodyContentType = "image/webp" Videoavi GetMediaPresignedUrlJSONBodyContentType = "video/avi" Videomp4 GetMediaPresignedUrlJSONBodyContentType = "video/mp4" Videompeg GetMediaPresignedUrlJSONBodyContentType = "video/mpeg" Videoquicktime GetMediaPresignedUrlJSONBodyContentType = "video/quicktime" Videowebm GetMediaPresignedUrlJSONBodyContentType = "video/webm" VideoxM4v GetMediaPresignedUrlJSONBodyContentType = "video/x-m4v" VideoxMsvideo GetMediaPresignedUrlJSONBodyContentType = "video/x-msvideo" )
Defines values for GetMediaPresignedUrlJSONBodyContentType.
func (GetMediaPresignedUrlJSONBodyContentType) Valid ¶
func (e GetMediaPresignedUrlJSONBodyContentType) Valid() bool
Valid indicates whether the value is a known member of the GetMediaPresignedUrlJSONBodyContentType enum.
type GetMediaPresignedUrlJSONRequestBody ¶
type GetMediaPresignedUrlJSONRequestBody GetMediaPresignedUrlJSONBody
GetMediaPresignedUrlJSONRequestBody defines body for GetMediaPresignedUrl for application/json ContentType.
type GetMediaPresignedUrlResponse ¶
type GetMediaPresignedUrlResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Key Storage key/path of the file
Key *string `json:"key,omitempty"`
// PublicUrl Public URL where the file will be accessible after upload
PublicUrl *string `json:"publicUrl,omitempty"`
// Type Detected file type based on content type
Type *GetMediaPresignedUrl200Type `json:"type,omitempty"`
// UploadUrl Presigned URL to PUT your file to (expires in 1 hour)
UploadUrl *string `json:"uploadUrl,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetMediaPresignedUrlResponse ¶
func ParseGetMediaPresignedUrlResponse(rsp *http.Response) (*GetMediaPresignedUrlResponse, error)
ParseGetMediaPresignedUrlResponse parses an HTTP response from a GetMediaPresignedUrlWithResponse call
func (GetMediaPresignedUrlResponse) Status ¶
func (r GetMediaPresignedUrlResponse) Status() string
Status returns HTTPResponse.Status
func (GetMediaPresignedUrlResponse) StatusCode ¶
func (r GetMediaPresignedUrlResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMessengerMenuResponse ¶
type GetMessengerMenuResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]map[string]interface{} `json:"data,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetMessengerMenuResponse ¶
func ParseGetMessengerMenuResponse(rsp *http.Response) (*GetMessengerMenuResponse, error)
ParseGetMessengerMenuResponse parses an HTTP response from a GetMessengerMenuWithResponse call
func (GetMessengerMenuResponse) Status ¶
func (r GetMessengerMenuResponse) Status() string
Status returns HTTPResponse.Status
func (GetMessengerMenuResponse) StatusCode ¶
func (r GetMessengerMenuResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNextQueueSlotParams ¶
type GetNextQueueSlotParams struct {
ProfileId string `form:"profileId" json:"profileId"`
// QueueId Specific queue ID (optional, defaults to profile's default queue)
QueueId *string `form:"queueId,omitempty" json:"queueId,omitempty"`
}
GetNextQueueSlotParams defines parameters for GetNextQueueSlot.
type GetNextQueueSlotResponse ¶
type GetNextQueueSlotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
NextSlot *time.Time `json:"nextSlot,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
// QueueId Queue ID this slot belongs to
QueueId *string `json:"queueId,omitempty"`
// QueueName Queue name
QueueName *string `json:"queueName,omitempty"`
Timezone *string `json:"timezone,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetNextQueueSlotResponse ¶
func ParseGetNextQueueSlotResponse(rsp *http.Response) (*GetNextQueueSlotResponse, error)
ParseGetNextQueueSlotResponse parses an HTTP response from a GetNextQueueSlotWithResponse call
func (GetNextQueueSlotResponse) Status ¶
func (r GetNextQueueSlotResponse) Status() string
Status returns HTTPResponse.Status
func (GetNextQueueSlotResponse) StatusCode ¶
func (r GetNextQueueSlotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPendingOAuthData200SelectionType ¶
type GetPendingOAuthData200SelectionType string
type GetPendingOAuthDataParams ¶
type GetPendingOAuthDataParams struct {
// Token The pending data token from the OAuth redirect URL (pendingDataToken parameter)
Token string `form:"token" json:"token"`
}
GetPendingOAuthDataParams defines parameters for GetPendingOAuthData.
type GetPendingOAuthDataResponse ¶
type GetPendingOAuthDataResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// ExpiresIn Token expiry in seconds
ExpiresIn *float32 `json:"expiresIn,omitempty"`
// Organizations LinkedIn organizations (when selectionType is "organizations")
Organizations *[]struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Urn *string `json:"urn,omitempty"`
VanityName *string `json:"vanityName,omitempty"`
} `json:"organizations,omitempty"`
// Platform The platform (e.g., "linkedin")
Platform *string `json:"platform,omitempty"`
// ProfileId The Zernio profile ID
ProfileId *string `json:"profileId,omitempty"`
// RefreshToken Refresh token (if available)
RefreshToken *string `json:"refreshToken,omitempty"`
// SelectionType Type of selection data
SelectionType *GetPendingOAuthData200SelectionType `json:"selectionType,omitempty"`
// TempToken Temporary access token for the platform
TempToken *string `json:"tempToken,omitempty"`
// UserProfile User profile data (id, username, displayName, profilePicture)
UserProfile *map[string]interface{} `json:"userProfile,omitempty"`
}
JSON400 *ErrorResponse
JSON404 *ErrorResponse
}
func ParseGetPendingOAuthDataResponse ¶
func ParseGetPendingOAuthDataResponse(rsp *http.Response) (*GetPendingOAuthDataResponse, error)
ParseGetPendingOAuthDataResponse parses an HTTP response from a GetPendingOAuthDataWithResponse call
func (GetPendingOAuthDataResponse) Status ¶
func (r GetPendingOAuthDataResponse) Status() string
Status returns HTTPResponse.Status
func (GetPendingOAuthDataResponse) StatusCode ¶
func (r GetPendingOAuthDataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPinterestBoardsResponse ¶
type GetPinterestBoardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Boards *[]struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Privacy *string `json:"privacy,omitempty"`
} `json:"boards,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetPinterestBoardsResponse ¶
func ParseGetPinterestBoardsResponse(rsp *http.Response) (*GetPinterestBoardsResponse, error)
ParseGetPinterestBoardsResponse parses an HTTP response from a GetPinterestBoardsWithResponse call
func (GetPinterestBoardsResponse) Status ¶
func (r GetPinterestBoardsResponse) Status() string
Status returns HTTPResponse.Status
func (GetPinterestBoardsResponse) StatusCode ¶
func (r GetPinterestBoardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostResponse ¶
type GetPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PostGetResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetPostResponse ¶
func ParseGetPostResponse(rsp *http.Response) (*GetPostResponse, error)
ParseGetPostResponse parses an HTTP response from a GetPostWithResponse call
func (GetPostResponse) Status ¶
func (r GetPostResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostResponse) StatusCode ¶
func (r GetPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostTimelineParams ¶
type GetPostTimelineParams struct {
// PostId The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Zernio Post ID.
PostId string `form:"postId" json:"postId"`
// FromDate Start of date range (ISO 8601). Defaults to 90 days ago.
FromDate *time.Time `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate End of date range (ISO 8601). Defaults to now.
ToDate *time.Time `form:"toDate,omitempty" json:"toDate,omitempty"`
}
GetPostTimelineParams defines parameters for GetPostTimeline.
type GetPostTimelineResponse ¶
type GetPostTimelineResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// PostId The postId that was requested
PostId *string `json:"postId,omitempty"`
Timeline *[]struct {
// Clicks Total clicks on this date
Clicks *int `json:"clicks,omitempty"`
// Comments Total comments on this date
Comments *int `json:"comments,omitempty"`
// Date Date in YYYY-MM-DD format
Date *openapi_types.Date `json:"date,omitempty"`
// Impressions Total impressions on this date
Impressions *int `json:"impressions,omitempty"`
// Likes Total likes on this date
Likes *int `json:"likes,omitempty"`
// Platform Platform name (e.g. instagram, tiktok)
Platform *string `json:"platform,omitempty"`
// PlatformPostId Platform-specific post ID
PlatformPostId *string `json:"platformPostId,omitempty"`
// Reach Total reach on this date
Reach *int `json:"reach,omitempty"`
// Saves Total saves on this date
Saves *int `json:"saves,omitempty"`
// Shares Total shares on this date
Shares *int `json:"shares,omitempty"`
// Views Total views on this date
Views *int `json:"views,omitempty"`
} `json:"timeline,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetPostTimelineResponse ¶
func ParseGetPostTimelineResponse(rsp *http.Response) (*GetPostTimelineResponse, error)
ParseGetPostTimelineResponse parses an HTTP response from a GetPostTimelineWithResponse call
func (GetPostTimelineResponse) Status ¶
func (r GetPostTimelineResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostTimelineResponse) StatusCode ¶
func (r GetPostTimelineResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPostingFrequencyParams ¶
type GetPostingFrequencyParams struct {
// Platform Filter by platform (e.g. "instagram", "tiktok"). Omit for all platforms.
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// ProfileId Filter by profile ID. Omit for all profiles.
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// AccountId Filter by social account ID. Omit for all accounts.
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// Source Filter by post origin. "late" for posts published via Zernio, "external" for posts imported from platforms.
Source *GetPostingFrequencyParamsSource `form:"source,omitempty" json:"source,omitempty"`
}
GetPostingFrequencyParams defines parameters for GetPostingFrequency.
type GetPostingFrequencyParamsSource ¶
type GetPostingFrequencyParamsSource string
GetPostingFrequencyParamsSource defines parameters for GetPostingFrequency.
const ( GetPostingFrequencyParamsSourceAll GetPostingFrequencyParamsSource = "all" GetPostingFrequencyParamsSourceExternal GetPostingFrequencyParamsSource = "external" GetPostingFrequencyParamsSourceLate GetPostingFrequencyParamsSource = "late" )
Defines values for GetPostingFrequencyParamsSource.
func (GetPostingFrequencyParamsSource) Valid ¶
func (e GetPostingFrequencyParamsSource) Valid() bool
Valid indicates whether the value is a known member of the GetPostingFrequencyParamsSource enum.
type GetPostingFrequencyResponse ¶
type GetPostingFrequencyResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Frequency *[]struct {
// AvgEngagement Average raw engagement (likes+comments+shares+saves)
AvgEngagement *float32 `json:"avg_engagement,omitempty"`
// AvgEngagementRate Average engagement rate as percentage (0-100)
AvgEngagementRate *float32 `json:"avg_engagement_rate,omitempty"`
Platform *string `json:"platform,omitempty"`
// PostsPerWeek Number of posts published that week
PostsPerWeek *int `json:"posts_per_week,omitempty"`
// WeeksCount Number of calendar weeks observed at this frequency
WeeksCount *int `json:"weeks_count,omitempty"`
} `json:"frequency,omitempty"`
}
JSON401 *Unauthorized
JSON403 *struct {
Error *string `json:"error,omitempty"`
RequiresAddon *bool `json:"requiresAddon,omitempty"`
}
}
func ParseGetPostingFrequencyResponse ¶
func ParseGetPostingFrequencyResponse(rsp *http.Response) (*GetPostingFrequencyResponse, error)
ParseGetPostingFrequencyResponse parses an HTTP response from a GetPostingFrequencyWithResponse call
func (GetPostingFrequencyResponse) Status ¶
func (r GetPostingFrequencyResponse) Status() string
Status returns HTTPResponse.Status
func (GetPostingFrequencyResponse) StatusCode ¶
func (r GetPostingFrequencyResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetProfileResponse ¶
type GetProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Profile *Profile `json:"profile,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetProfileResponse ¶
func ParseGetProfileResponse(rsp *http.Response) (*GetProfileResponse, error)
ParseGetProfileResponse parses an HTTP response from a GetProfileWithResponse call
func (GetProfileResponse) Status ¶
func (r GetProfileResponse) Status() string
Status returns HTTPResponse.Status
func (GetProfileResponse) StatusCode ¶
func (r GetProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRedditFeedParams ¶
type GetRedditFeedParams struct {
AccountId string `form:"accountId" json:"accountId"`
Subreddit *string `form:"subreddit,omitempty" json:"subreddit,omitempty"`
Sort *GetRedditFeedParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
After *string `form:"after,omitempty" json:"after,omitempty"`
T *GetRedditFeedParamsT `form:"t,omitempty" json:"t,omitempty"`
}
GetRedditFeedParams defines parameters for GetRedditFeed.
type GetRedditFeedParamsSort ¶
type GetRedditFeedParamsSort string
GetRedditFeedParamsSort defines parameters for GetRedditFeed.
const ( GetRedditFeedParamsSortHot GetRedditFeedParamsSort = "hot" GetRedditFeedParamsSortNew GetRedditFeedParamsSort = "new" GetRedditFeedParamsSortRising GetRedditFeedParamsSort = "rising" GetRedditFeedParamsSortTop GetRedditFeedParamsSort = "top" )
Defines values for GetRedditFeedParamsSort.
func (GetRedditFeedParamsSort) Valid ¶
func (e GetRedditFeedParamsSort) Valid() bool
Valid indicates whether the value is a known member of the GetRedditFeedParamsSort enum.
type GetRedditFeedParamsT ¶
type GetRedditFeedParamsT string
GetRedditFeedParamsT defines parameters for GetRedditFeed.
const ( GetRedditFeedParamsTAll GetRedditFeedParamsT = "all" GetRedditFeedParamsTDay GetRedditFeedParamsT = "day" GetRedditFeedParamsTHour GetRedditFeedParamsT = "hour" GetRedditFeedParamsTMonth GetRedditFeedParamsT = "month" GetRedditFeedParamsTWeek GetRedditFeedParamsT = "week" GetRedditFeedParamsTYear GetRedditFeedParamsT = "year" )
Defines values for GetRedditFeedParamsT.
func (GetRedditFeedParamsT) Valid ¶
func (e GetRedditFeedParamsT) Valid() bool
Valid indicates whether the value is a known member of the GetRedditFeedParamsT enum.
type GetRedditFeedResponse ¶
type GetRedditFeedResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
Items *[]RedditPost `json:"items,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetRedditFeedResponse ¶
func ParseGetRedditFeedResponse(rsp *http.Response) (*GetRedditFeedResponse, error)
ParseGetRedditFeedResponse parses an HTTP response from a GetRedditFeedWithResponse call
func (GetRedditFeedResponse) Status ¶
func (r GetRedditFeedResponse) Status() string
Status returns HTTPResponse.Status
func (GetRedditFeedResponse) StatusCode ¶
func (r GetRedditFeedResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRedditFlairsParams ¶
type GetRedditFlairsParams struct {
// Subreddit Subreddit name (without "r/" prefix) to fetch flairs for
Subreddit string `form:"subreddit" json:"subreddit"`
}
GetRedditFlairsParams defines parameters for GetRedditFlairs.
type GetRedditFlairsResponse ¶
type GetRedditFlairsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Flairs *[]struct {
// BackgroundColor Background hex color (e.g. '#ff4500')
BackgroundColor *string `json:"backgroundColor,omitempty"`
// Id Flair ID to pass as flairId in platformSpecificData
Id *string `json:"id,omitempty"`
// Text Flair display text
Text *string `json:"text,omitempty"`
// TextColor Text color: 'dark' or 'light'
TextColor *string `json:"textColor,omitempty"`
} `json:"flairs,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetRedditFlairsResponse ¶
func ParseGetRedditFlairsResponse(rsp *http.Response) (*GetRedditFlairsResponse, error)
ParseGetRedditFlairsResponse parses an HTTP response from a GetRedditFlairsWithResponse call
func (GetRedditFlairsResponse) Status ¶
func (r GetRedditFlairsResponse) Status() string
Status returns HTTPResponse.Status
func (GetRedditFlairsResponse) StatusCode ¶
func (r GetRedditFlairsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRedditSubredditsResponse ¶
type GetRedditSubredditsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// DefaultSubreddit Currently set default subreddit for posting
DefaultSubreddit *string `json:"defaultSubreddit,omitempty"`
Subreddits *[]struct {
// Id Reddit subreddit ID
Id *string `json:"id,omitempty"`
// Name Subreddit name without r/ prefix
Name *string `json:"name,omitempty"`
// Over18 Whether the subreddit is NSFW
Over18 *bool `json:"over18,omitempty"`
// Title Subreddit title
Title *string `json:"title,omitempty"`
// Url Subreddit URL path
Url *string `json:"url,omitempty"`
} `json:"subreddits,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetRedditSubredditsResponse ¶
func ParseGetRedditSubredditsResponse(rsp *http.Response) (*GetRedditSubredditsResponse, error)
ParseGetRedditSubredditsResponse parses an HTTP response from a GetRedditSubredditsWithResponse call
func (GetRedditSubredditsResponse) Status ¶
func (r GetRedditSubredditsResponse) Status() string
Status returns HTTPResponse.Status
func (GetRedditSubredditsResponse) StatusCode ¶
func (r GetRedditSubredditsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSequence200SequenceStatus ¶ added in v0.0.84
type GetSequence200SequenceStatus string
type GetSequenceResponse ¶ added in v0.0.76
type GetSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Sequence *struct {
AccountId *string `json:"accountId,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
ExitOnReply *bool `json:"exitOnReply,omitempty"`
ExitOnUnsubscribe *bool `json:"exitOnUnsubscribe,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *GetSequence200SequenceStatus `json:"status,omitempty"`
Steps *[]struct {
DelayMinutes *int `json:"delayMinutes,omitempty"`
Message *struct {
Text *string `json:"text,omitempty"`
} `json:"message,omitempty"`
Order *int `json:"order,omitempty"`
Template *struct {
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
VariableMapping *map[string]interface{} `json:"variableMapping,omitempty"`
} `json:"template,omitempty"`
} `json:"steps,omitempty"`
TotalCompleted *int `json:"totalCompleted,omitempty"`
TotalEnrolled *int `json:"totalEnrolled,omitempty"`
TotalExited *int `json:"totalExited,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"sequence,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetSequenceResponse ¶ added in v0.0.76
func ParseGetSequenceResponse(rsp *http.Response) (*GetSequenceResponse, error)
ParseGetSequenceResponse parses an HTTP response from a GetSequenceWithResponse call
func (GetSequenceResponse) Status ¶ added in v0.0.76
func (r GetSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (GetSequenceResponse) StatusCode ¶ added in v0.0.76
func (r GetSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTelegramCommandsResponse ¶
type GetTelegramCommandsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]struct {
Command *string `json:"command,omitempty"`
Description *string `json:"description,omitempty"`
} `json:"data,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetTelegramCommandsResponse ¶
func ParseGetTelegramCommandsResponse(rsp *http.Response) (*GetTelegramCommandsResponse, error)
ParseGetTelegramCommandsResponse parses an HTTP response from a GetTelegramCommandsWithResponse call
func (GetTelegramCommandsResponse) Status ¶
func (r GetTelegramCommandsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTelegramCommandsResponse) StatusCode ¶
func (r GetTelegramCommandsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTelegramConnectStatusParams ¶
type GetTelegramConnectStatusParams struct {
// ProfileId The profile ID to connect the Telegram account to
ProfileId string `form:"profileId" json:"profileId"`
}
GetTelegramConnectStatusParams defines parameters for GetTelegramConnectStatus.
type GetTelegramConnectStatusResponse ¶
type GetTelegramConnectStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// BotUsername The Telegram bot username to message
BotUsername *string `json:"botUsername,omitempty"`
// Code The access code to send to the Telegram bot
Code *string `json:"code,omitempty"`
// ExpiresAt When the code expires
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
// ExpiresIn Seconds until expiration
ExpiresIn *int `json:"expiresIn,omitempty"`
// Instructions Step-by-step connection instructions
Instructions *[]string `json:"instructions,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetTelegramConnectStatusResponse ¶
func ParseGetTelegramConnectStatusResponse(rsp *http.Response) (*GetTelegramConnectStatusResponse, error)
ParseGetTelegramConnectStatusResponse parses an HTTP response from a GetTelegramConnectStatusWithResponse call
func (GetTelegramConnectStatusResponse) Status ¶
func (r GetTelegramConnectStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetTelegramConnectStatusResponse) StatusCode ¶
func (r GetTelegramConnectStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTikTokAccountInsightsParams ¶ added in v0.0.184
type GetTikTokAccountInsightsParams struct {
// AccountId The Zernio SocialAccount ID for the TikTok account.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list. Defaults to
// "follower_count,likes_count,video_count,followers_gained,followers_lost".
//
// Live from /v2/user/info/ (requires user.info.stats scope):
// - follower_count (cumulative; time series joined from AccountStats)
// - following_count (cumulative; time series joined from AccountStats.metadata)
// - likes_count (cumulative; time series joined from AccountStats.metadata)
// - video_count (cumulative; time series joined from AccountStats.metadata)
//
// Zernio-synthesized:
// - followers_gained (sum of positive daily follower deltas)
// - followers_lost (sum of absolute negative daily deltas)
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
// MetricType "total_value" returns the latest cumulative counter value.
// "time_series" returns daily values joined from AccountStats snapshots.
MetricType *GetTikTokAccountInsightsParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
}
GetTikTokAccountInsightsParams defines parameters for GetTikTokAccountInsights.
type GetTikTokAccountInsightsParamsMetricType ¶ added in v0.0.184
type GetTikTokAccountInsightsParamsMetricType string
GetTikTokAccountInsightsParamsMetricType defines parameters for GetTikTokAccountInsights.
const ( GetTikTokAccountInsightsParamsMetricTypeTimeSeries GetTikTokAccountInsightsParamsMetricType = "time_series" GetTikTokAccountInsightsParamsMetricTypeTotalValue GetTikTokAccountInsightsParamsMetricType = "total_value" )
Defines values for GetTikTokAccountInsightsParamsMetricType.
func (GetTikTokAccountInsightsParamsMetricType) Valid ¶ added in v0.0.184
func (e GetTikTokAccountInsightsParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetTikTokAccountInsightsParamsMetricType enum.
type GetTikTokAccountInsightsResponse ¶ added in v0.0.184
type GetTikTokAccountInsightsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON401 *Unauthorized
}
func ParseGetTikTokAccountInsightsResponse ¶ added in v0.0.184
func ParseGetTikTokAccountInsightsResponse(rsp *http.Response) (*GetTikTokAccountInsightsResponse, error)
ParseGetTikTokAccountInsightsResponse parses an HTTP response from a GetTikTokAccountInsightsWithResponse call
func (GetTikTokAccountInsightsResponse) Status ¶ added in v0.0.184
func (r GetTikTokAccountInsightsResponse) Status() string
Status returns HTTPResponse.Status
func (GetTikTokAccountInsightsResponse) StatusCode ¶ added in v0.0.184
func (r GetTikTokAccountInsightsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTikTokCreatorInfoParams ¶ added in v0.0.71
type GetTikTokCreatorInfoParams struct {
// MediaType The media type to get creator info for (affects available interaction settings)
MediaType *GetTikTokCreatorInfoParamsMediaType `form:"mediaType,omitempty" json:"mediaType,omitempty"`
}
GetTikTokCreatorInfoParams defines parameters for GetTikTokCreatorInfo.
type GetTikTokCreatorInfoParamsMediaType ¶ added in v0.0.71
type GetTikTokCreatorInfoParamsMediaType string
GetTikTokCreatorInfoParamsMediaType defines parameters for GetTikTokCreatorInfo.
const ( GetTikTokCreatorInfoParamsMediaTypePhoto GetTikTokCreatorInfoParamsMediaType = "photo" GetTikTokCreatorInfoParamsMediaTypeVideo GetTikTokCreatorInfoParamsMediaType = "video" )
Defines values for GetTikTokCreatorInfoParamsMediaType.
func (GetTikTokCreatorInfoParamsMediaType) Valid ¶ added in v0.0.71
func (e GetTikTokCreatorInfoParamsMediaType) Valid() bool
Valid indicates whether the value is a known member of the GetTikTokCreatorInfoParamsMediaType enum.
type GetTikTokCreatorInfoResponse ¶ added in v0.0.71
type GetTikTokCreatorInfoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// CommercialContentTypes Available commercial content disclosure options
CommercialContentTypes *[]struct {
Label *string `json:"label,omitempty"`
Requires *[]string `json:"requires,omitempty"`
Value *string `json:"value,omitempty"`
} `json:"commercialContentTypes,omitempty"`
Creator *struct {
// AvatarUrl Creator avatar URL
AvatarUrl *string `json:"avatarUrl,omitempty"`
// CanPostMore Whether the creator can publish more posts right now
CanPostMore *bool `json:"canPostMore,omitempty"`
// IsVerified Whether the creator is verified
IsVerified *bool `json:"isVerified,omitempty"`
// Nickname Creator display name
Nickname *string `json:"nickname,omitempty"`
} `json:"creator,omitempty"`
PostingLimits *struct {
// InteractionSettings Available interaction toggles (comment, duet, stitch) and their defaults
InteractionSettings *map[string]interface{} `json:"interactionSettings,omitempty"`
// MaxVideoDurationSec Maximum video duration in seconds
MaxVideoDurationSec *int `json:"maxVideoDurationSec,omitempty"`
} `json:"postingLimits,omitempty"`
// PrivacyLevels Available privacy level options for this creator
PrivacyLevels *[]struct {
// Label Human-readable label
Label *string `json:"label,omitempty"`
// Value Privacy level value to use when creating posts (e.g. PUBLIC_TO_EVERYONE, MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY)
Value *string `json:"value,omitempty"`
} `json:"privacyLevels,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
JSON429 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseGetTikTokCreatorInfoResponse ¶ added in v0.0.71
func ParseGetTikTokCreatorInfoResponse(rsp *http.Response) (*GetTikTokCreatorInfoResponse, error)
ParseGetTikTokCreatorInfoResponse parses an HTTP response from a GetTikTokCreatorInfoWithResponse call
func (GetTikTokCreatorInfoResponse) Status ¶ added in v0.0.71
func (r GetTikTokCreatorInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetTikTokCreatorInfoResponse) StatusCode ¶ added in v0.0.71
func (r GetTikTokCreatorInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUsageStatsResponse ¶
type GetUsageStatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *UsageStats
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetUsageStatsResponse ¶
func ParseGetUsageStatsResponse(rsp *http.Response) (*GetUsageStatsResponse, error)
ParseGetUsageStatsResponse parses an HTTP response from a GetUsageStatsWithResponse call
func (GetUsageStatsResponse) Status ¶
func (r GetUsageStatsResponse) Status() string
Status returns HTTPResponse.Status
func (GetUsageStatsResponse) StatusCode ¶
func (r GetUsageStatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetUserResponse ¶
type GetUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
User *struct {
UnderscoreId *string `json:"_id,omitempty"`
Email *string `json:"email,omitempty"`
IsRoot *bool `json:"isRoot,omitempty"`
Name *string `json:"name,omitempty"`
ProfileAccess *[]string `json:"profileAccess,omitempty"`
Role *string `json:"role,omitempty"`
} `json:"user,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetUserResponse ¶
func ParseGetUserResponse(rsp *http.Response) (*GetUserResponse, error)
ParseGetUserResponse parses an HTTP response from a GetUserWithResponse call
func (GetUserResponse) Status ¶
func (r GetUserResponse) Status() string
Status returns HTTPResponse.Status
func (GetUserResponse) StatusCode ¶
func (r GetUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWebhookSettingsResponse ¶
type GetWebhookSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Webhooks *[]Webhook `json:"webhooks,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWebhookSettingsResponse ¶
func ParseGetWebhookSettingsResponse(rsp *http.Response) (*GetWebhookSettingsResponse, error)
ParseGetWebhookSettingsResponse parses an HTTP response from a GetWebhookSettingsWithResponse call
func (GetWebhookSettingsResponse) Status ¶
func (r GetWebhookSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWebhookSettingsResponse) StatusCode ¶
func (r GetWebhookSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppBusinessProfileParams ¶
type GetWhatsAppBusinessProfileParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppBusinessProfileParams defines parameters for GetWhatsAppBusinessProfile.
type GetWhatsAppBusinessProfileResponse ¶
type GetWhatsAppBusinessProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
BusinessProfile *struct {
// About Short description (max 139 chars)
About *string `json:"about,omitempty"`
Address *string `json:"address,omitempty"`
// Description Full description (max 512 chars)
Description *string `json:"description,omitempty"`
Email *string `json:"email,omitempty"`
ProfilePictureUrl *string `json:"profilePictureUrl,omitempty"`
// Vertical Business category
Vertical *string `json:"vertical,omitempty"`
Websites *[]string `json:"websites,omitempty"`
} `json:"businessProfile,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppBusinessProfileResponse ¶
func ParseGetWhatsAppBusinessProfileResponse(rsp *http.Response) (*GetWhatsAppBusinessProfileResponse, error)
ParseGetWhatsAppBusinessProfileResponse parses an HTTP response from a GetWhatsAppBusinessProfileWithResponse call
func (GetWhatsAppBusinessProfileResponse) Status ¶
func (r GetWhatsAppBusinessProfileResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppBusinessProfileResponse) StatusCode ¶
func (r GetWhatsAppBusinessProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppDisplayName200DisplayNameStatus ¶
type GetWhatsAppDisplayName200DisplayNameStatus string
type GetWhatsAppDisplayNameParams ¶
type GetWhatsAppDisplayNameParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppDisplayNameParams defines parameters for GetWhatsAppDisplayName.
type GetWhatsAppDisplayNameResponse ¶
type GetWhatsAppDisplayNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DisplayName *struct {
// Name Current verified display name
Name *string `json:"name,omitempty"`
// PhoneNumber Display phone number
PhoneNumber *string `json:"phoneNumber,omitempty"`
// Status Meta review status for the display name
Status *GetWhatsAppDisplayName200DisplayNameStatus `json:"status,omitempty"`
} `json:"displayName,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppDisplayNameResponse ¶
func ParseGetWhatsAppDisplayNameResponse(rsp *http.Response) (*GetWhatsAppDisplayNameResponse, error)
ParseGetWhatsAppDisplayNameResponse parses an HTTP response from a GetWhatsAppDisplayNameWithResponse call
func (GetWhatsAppDisplayNameResponse) Status ¶
func (r GetWhatsAppDisplayNameResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppDisplayNameResponse) StatusCode ¶
func (r GetWhatsAppDisplayNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppFlowJsonParams ¶ added in v0.0.117
type GetWhatsAppFlowJsonParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppFlowJsonParams defines parameters for GetWhatsAppFlowJson.
type GetWhatsAppFlowJsonResponse ¶ added in v0.0.117
type GetWhatsAppFlowJsonResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Assets *[]struct {
AssetType *string `json:"asset_type,omitempty"`
// DownloadUrl Temporary URL to download the flow JSON
DownloadUrl *string `json:"download_url,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"assets,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppFlowJsonResponse ¶ added in v0.0.117
func ParseGetWhatsAppFlowJsonResponse(rsp *http.Response) (*GetWhatsAppFlowJsonResponse, error)
ParseGetWhatsAppFlowJsonResponse parses an HTTP response from a GetWhatsAppFlowJsonWithResponse call
func (GetWhatsAppFlowJsonResponse) Status ¶ added in v0.0.117
func (r GetWhatsAppFlowJsonResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppFlowJsonResponse) StatusCode ¶ added in v0.0.117
func (r GetWhatsAppFlowJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppFlowParams ¶ added in v0.0.117
type GetWhatsAppFlowParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
// Fields Comma-separated fields to return (default: id,name,status,categories,validation_errors,json_version,preview,data_api_version,endpoint_uri)
Fields *string `form:"fields,omitempty" json:"fields,omitempty"`
}
GetWhatsAppFlowParams defines parameters for GetWhatsAppFlow.
type GetWhatsAppFlowResponse ¶ added in v0.0.117
type GetWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Flow *struct {
Categories *[]string `json:"categories,omitempty"`
Id *string `json:"id,omitempty"`
JsonVersion *string `json:"json_version,omitempty"`
Name *string `json:"name,omitempty"`
Preview *struct {
ExpiresAt *string `json:"expires_at,omitempty"`
PreviewUrl *string `json:"preview_url,omitempty"`
} `json:"preview,omitempty"`
Status *string `json:"status,omitempty"`
ValidationErrors *[]map[string]interface{} `json:"validation_errors,omitempty"`
} `json:"flow,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppFlowResponse ¶ added in v0.0.117
func ParseGetWhatsAppFlowResponse(rsp *http.Response) (*GetWhatsAppFlowResponse, error)
ParseGetWhatsAppFlowResponse parses an HTTP response from a GetWhatsAppFlowWithResponse call
func (GetWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r GetWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r GetWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppGroupChatParams ¶ added in v0.0.92
type GetWhatsAppGroupChatParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppGroupChatParams defines parameters for GetWhatsAppGroupChat.
type GetWhatsAppGroupChatResponse ¶ added in v0.0.92
type GetWhatsAppGroupChatResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Group *struct {
// CreatedAt UNIX timestamp
CreatedAt *int `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
IsSuspended *bool `json:"isSuspended,omitempty"`
JoinApprovalMode *string `json:"joinApprovalMode,omitempty"`
ParticipantCount *int `json:"participantCount,omitempty"`
Participants *[]struct {
Admin *string `json:"admin,omitempty"`
// User Phone number
User *string `json:"user,omitempty"`
} `json:"participants,omitempty"`
Subject *string `json:"subject,omitempty"`
} `json:"group,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetWhatsAppGroupChatResponse ¶ added in v0.0.92
func ParseGetWhatsAppGroupChatResponse(rsp *http.Response) (*GetWhatsAppGroupChatResponse, error)
ParseGetWhatsAppGroupChatResponse parses an HTTP response from a GetWhatsAppGroupChatWithResponse call
func (GetWhatsAppGroupChatResponse) Status ¶ added in v0.0.92
func (r GetWhatsAppGroupChatResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppGroupChatResponse) StatusCode ¶ added in v0.0.92
func (r GetWhatsAppGroupChatResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppPhoneNumber200PhoneNumberStatus ¶
type GetWhatsAppPhoneNumber200PhoneNumberStatus string
type GetWhatsAppPhoneNumberResponse ¶
type GetWhatsAppPhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
PhoneNumber *struct {
Country *string `json:"country,omitempty"`
Id *string `json:"id,omitempty"`
MetaPreverifiedId *string `json:"metaPreverifiedId,omitempty"`
MetaVerificationStatus *string `json:"metaVerificationStatus,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty"`
ProvisionedAt *time.Time `json:"provisionedAt,omitempty"`
Status *GetWhatsAppPhoneNumber200PhoneNumberStatus `json:"status,omitempty"`
} `json:"phoneNumber,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetWhatsAppPhoneNumberResponse ¶
func ParseGetWhatsAppPhoneNumberResponse(rsp *http.Response) (*GetWhatsAppPhoneNumberResponse, error)
ParseGetWhatsAppPhoneNumberResponse parses an HTTP response from a GetWhatsAppPhoneNumberWithResponse call
func (GetWhatsAppPhoneNumberResponse) Status ¶
func (r GetWhatsAppPhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppPhoneNumberResponse) StatusCode ¶
func (r GetWhatsAppPhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppPhoneNumbers200NumbersStatus ¶
type GetWhatsAppPhoneNumbers200NumbersStatus string
type GetWhatsAppPhoneNumbersParams ¶
type GetWhatsAppPhoneNumbersParams struct {
// Status Filter by status (by default excludes released numbers)
Status *GetWhatsAppPhoneNumbersParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// ProfileId Filter by profile
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
}
GetWhatsAppPhoneNumbersParams defines parameters for GetWhatsAppPhoneNumbers.
type GetWhatsAppPhoneNumbersParamsStatus ¶
type GetWhatsAppPhoneNumbersParamsStatus string
GetWhatsAppPhoneNumbersParamsStatus defines parameters for GetWhatsAppPhoneNumbers.
const ( GetWhatsAppPhoneNumbersParamsStatusActive GetWhatsAppPhoneNumbersParamsStatus = "active" GetWhatsAppPhoneNumbersParamsStatusProvisioning GetWhatsAppPhoneNumbersParamsStatus = "provisioning" GetWhatsAppPhoneNumbersParamsStatusReleased GetWhatsAppPhoneNumbersParamsStatus = "released" GetWhatsAppPhoneNumbersParamsStatusReleasing GetWhatsAppPhoneNumbersParamsStatus = "releasing" GetWhatsAppPhoneNumbersParamsStatusSuspended GetWhatsAppPhoneNumbersParamsStatus = "suspended" )
Defines values for GetWhatsAppPhoneNumbersParamsStatus.
func (GetWhatsAppPhoneNumbersParamsStatus) Valid ¶
func (e GetWhatsAppPhoneNumbersParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the GetWhatsAppPhoneNumbersParamsStatus enum.
type GetWhatsAppPhoneNumbersResponse ¶
type GetWhatsAppPhoneNumbersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Numbers *[]struct {
UnderscoreId *string `json:"_id,omitempty"`
Country *string `json:"country,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
MetaPreverifiedId *string `json:"metaPreverifiedId,omitempty"`
MetaVerificationStatus *string `json:"metaVerificationStatus,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty"`
ProfileId *map[string]interface{} `json:"profileId,omitempty"`
ProvisionedAt *time.Time `json:"provisionedAt,omitempty"`
Status *GetWhatsAppPhoneNumbers200NumbersStatus `json:"status,omitempty"`
} `json:"numbers,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppPhoneNumbersResponse ¶
func ParseGetWhatsAppPhoneNumbersResponse(rsp *http.Response) (*GetWhatsAppPhoneNumbersResponse, error)
ParseGetWhatsAppPhoneNumbersResponse parses an HTTP response from a GetWhatsAppPhoneNumbersWithResponse call
func (GetWhatsAppPhoneNumbersResponse) Status ¶
func (r GetWhatsAppPhoneNumbersResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppPhoneNumbersResponse) StatusCode ¶
func (r GetWhatsAppPhoneNumbersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppTemplateParams ¶
type GetWhatsAppTemplateParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppTemplateParams defines parameters for GetWhatsAppTemplate.
type GetWhatsAppTemplateResponse ¶
type GetWhatsAppTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Template *struct {
Category *string `json:"category,omitempty"`
Components *[]map[string]interface{} `json:"components,omitempty"`
Id *string `json:"id,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"template,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseGetWhatsAppTemplateResponse ¶
func ParseGetWhatsAppTemplateResponse(rsp *http.Response) (*GetWhatsAppTemplateResponse, error)
ParseGetWhatsAppTemplateResponse parses an HTTP response from a GetWhatsAppTemplateWithResponse call
func (GetWhatsAppTemplateResponse) Status ¶
func (r GetWhatsAppTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppTemplateResponse) StatusCode ¶
func (r GetWhatsAppTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWhatsAppTemplates200TemplatesCategory ¶
type GetWhatsAppTemplates200TemplatesCategory string
type GetWhatsAppTemplates200TemplatesStatus ¶
type GetWhatsAppTemplates200TemplatesStatus string
type GetWhatsAppTemplatesParams ¶
type GetWhatsAppTemplatesParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
GetWhatsAppTemplatesParams defines parameters for GetWhatsAppTemplates.
type GetWhatsAppTemplatesResponse ¶
type GetWhatsAppTemplatesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Templates *[]struct {
Category *GetWhatsAppTemplates200TemplatesCategory `json:"category,omitempty"`
Components *[]map[string]interface{} `json:"components,omitempty"`
// Id WhatsApp template ID
Id *string `json:"id,omitempty"`
Language *string `json:"language,omitempty"`
Name *string `json:"name,omitempty"`
Status *GetWhatsAppTemplates200TemplatesStatus `json:"status,omitempty"`
} `json:"templates,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetWhatsAppTemplatesResponse ¶
func ParseGetWhatsAppTemplatesResponse(rsp *http.Response) (*GetWhatsAppTemplatesResponse, error)
ParseGetWhatsAppTemplatesResponse parses an HTTP response from a GetWhatsAppTemplatesWithResponse call
func (GetWhatsAppTemplatesResponse) Status ¶
func (r GetWhatsAppTemplatesResponse) Status() string
Status returns HTTPResponse.Status
func (GetWhatsAppTemplatesResponse) StatusCode ¶
func (r GetWhatsAppTemplatesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetYouTubeChannelInsightsParams ¶ added in v0.0.184
type GetYouTubeChannelInsightsParams struct {
// AccountId The Zernio SocialAccount ID for the YouTube account.
AccountId string `form:"accountId" json:"accountId"`
// Metrics Comma-separated list. Defaults to "views,estimatedMinutesWatched,subscribersGained,subscribersLost".
//
// Live YouTube Analytics v2 metrics:
// - views
// - estimatedMinutesWatched
// - averageViewDuration (ratio - weighted mean computed across days)
// - subscribersGained
// - subscribersLost
//
// Zernio-synthesized from daily follower snapshots (cross-platform parity):
// - followers_gained
// - followers_lost
Metrics *string `form:"metrics,omitempty" json:"metrics,omitempty"`
// Since Start date (YYYY-MM-DD). Defaults to 30 days ago.
Since *openapi_types.Date `form:"since,omitempty" json:"since,omitempty"`
// Until End date (YYYY-MM-DD). Defaults to today. YouTube Analytics has a 2-3 day delay,
// so the fetch is internally clamped to 3 days ago; any requested range extending
// beyond that returns zero values for the tail days. The response's dateRange.until
// field reflects your requested value.
Until *openapi_types.Date `form:"until,omitempty" json:"until,omitempty"`
// MetricType "total_value" (default) returns aggregated totals.
// "time_series" returns per-day values in the "values" array.
MetricType *GetYouTubeChannelInsightsParamsMetricType `form:"metricType,omitempty" json:"metricType,omitempty"`
}
GetYouTubeChannelInsightsParams defines parameters for GetYouTubeChannelInsights.
type GetYouTubeChannelInsightsParamsMetricType ¶ added in v0.0.184
type GetYouTubeChannelInsightsParamsMetricType string
GetYouTubeChannelInsightsParamsMetricType defines parameters for GetYouTubeChannelInsights.
const ( TimeSeries GetYouTubeChannelInsightsParamsMetricType = "time_series" TotalValue GetYouTubeChannelInsightsParamsMetricType = "total_value" )
Defines values for GetYouTubeChannelInsightsParamsMetricType.
func (GetYouTubeChannelInsightsParamsMetricType) Valid ¶ added in v0.0.184
func (e GetYouTubeChannelInsightsParamsMetricType) Valid() bool
Valid indicates whether the value is a known member of the GetYouTubeChannelInsightsParamsMetricType enum.
type GetYouTubeChannelInsightsResponse ¶ added in v0.0.184
type GetYouTubeChannelInsightsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *InstagramAccountInsightsResponse
JSON401 *Unauthorized
JSON412 *YouTubeScopeMissingResponse
}
func ParseGetYouTubeChannelInsightsResponse ¶ added in v0.0.184
func ParseGetYouTubeChannelInsightsResponse(rsp *http.Response) (*GetYouTubeChannelInsightsResponse, error)
ParseGetYouTubeChannelInsightsResponse parses an HTTP response from a GetYouTubeChannelInsightsWithResponse call
func (GetYouTubeChannelInsightsResponse) Status ¶ added in v0.0.184
func (r GetYouTubeChannelInsightsResponse) Status() string
Status returns HTTPResponse.Status
func (GetYouTubeChannelInsightsResponse) StatusCode ¶ added in v0.0.184
func (r GetYouTubeChannelInsightsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetYouTubeDailyViewsParams ¶
type GetYouTubeDailyViewsParams struct {
// VideoId The YouTube video ID (e.g., "dQw4w9WgXcQ")
VideoId string `form:"videoId" json:"videoId"`
// AccountId The Zernio account ID for the YouTube account
AccountId string `form:"accountId" json:"accountId"`
// StartDate Start date (YYYY-MM-DD). Defaults to 30 days ago.
StartDate *openapi_types.Date `form:"startDate,omitempty" json:"startDate,omitempty"`
// EndDate End date (YYYY-MM-DD). Defaults to 3 days ago (YouTube data latency).
EndDate *openapi_types.Date `form:"endDate,omitempty" json:"endDate,omitempty"`
}
GetYouTubeDailyViewsParams defines parameters for GetYouTubeDailyViews.
type GetYouTubeDailyViewsResponse ¶
type GetYouTubeDailyViewsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *YouTubeDailyViewsResponse
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON412 *YouTubeScopeMissingResponse
JSON500 *struct {
Error *string `json:"error,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseGetYouTubeDailyViewsResponse ¶
func ParseGetYouTubeDailyViewsResponse(rsp *http.Response) (*GetYouTubeDailyViewsResponse, error)
ParseGetYouTubeDailyViewsResponse parses an HTTP response from a GetYouTubeDailyViewsWithResponse call
func (GetYouTubeDailyViewsResponse) Status ¶
func (r GetYouTubeDailyViewsResponse) Status() string
Status returns HTTPResponse.Status
func (GetYouTubeDailyViewsResponse) StatusCode ¶
func (r GetYouTubeDailyViewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetYouTubeDemographicsParams ¶ added in v0.0.117
type GetYouTubeDemographicsParams struct {
// AccountId The Zernio SocialAccount ID for the YouTube account
AccountId string `form:"accountId" json:"accountId"`
// Breakdown Comma-separated list of demographic dimensions: age, gender, country.
// Defaults to all three if omitted.
Breakdown *string `form:"breakdown,omitempty" json:"breakdown,omitempty"`
// StartDate Start date in YYYY-MM-DD format. Defaults to 90 days ago.
StartDate *openapi_types.Date `form:"startDate,omitempty" json:"startDate,omitempty"`
// EndDate End date in YYYY-MM-DD format. Defaults to 3 days ago (YouTube data latency).
EndDate *openapi_types.Date `form:"endDate,omitempty" json:"endDate,omitempty"`
}
GetYouTubeDemographicsParams defines parameters for GetYouTubeDemographics.
type GetYouTubeDemographicsResponse ¶ added in v0.0.117
type GetYouTubeDemographicsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *YouTubeDemographicsResponse
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
JSON402 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON403 *struct {
Error *string `json:"error,omitempty"`
}
JSON404 *struct {
Error *string `json:"error,omitempty"`
}
JSON412 *struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
ScopeStatus *struct {
HasAnalyticsScope *bool `json:"hasAnalyticsScope,omitempty"`
ReauthorizeUrl *string `json:"reauthorizeUrl,omitempty"`
RequiresReauthorization *bool `json:"requiresReauthorization,omitempty"`
} `json:"scopeStatus,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseGetYouTubeDemographicsResponse ¶ added in v0.0.117
func ParseGetYouTubeDemographicsResponse(rsp *http.Response) (*GetYouTubeDemographicsResponse, error)
ParseGetYouTubeDemographicsResponse parses an HTTP response from a GetYouTubeDemographicsWithResponse call
func (GetYouTubeDemographicsResponse) Status ¶ added in v0.0.117
func (r GetYouTubeDemographicsResponse) Status() string
Status returns HTTPResponse.Status
func (GetYouTubeDemographicsResponse) StatusCode ¶ added in v0.0.117
func (r GetYouTubeDemographicsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetYoutubePlaylists200PlaylistsPrivacy ¶ added in v0.0.99
type GetYoutubePlaylists200PlaylistsPrivacy string
type GetYoutubePlaylistsResponse ¶ added in v0.0.99
type GetYoutubePlaylistsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DefaultPlaylistId *string `json:"defaultPlaylistId,omitempty"`
Playlists *[]struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
ItemCount *int `json:"itemCount,omitempty"`
Privacy *GetYoutubePlaylists200PlaylistsPrivacy `json:"privacy,omitempty"`
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
Title *string `json:"title,omitempty"`
} `json:"playlists,omitempty"`
}
JSON401 *Unauthorized
}
func ParseGetYoutubePlaylistsResponse ¶ added in v0.0.99
func ParseGetYoutubePlaylistsResponse(rsp *http.Response) (*GetYoutubePlaylistsResponse, error)
ParseGetYoutubePlaylistsResponse parses an HTTP response from a GetYoutubePlaylistsWithResponse call
func (GetYoutubePlaylistsResponse) Status ¶ added in v0.0.99
func (r GetYoutubePlaylistsResponse) Status() string
Status returns HTTPResponse.Status
func (GetYoutubePlaylistsResponse) StatusCode ¶ added in v0.0.99
func (r GetYoutubePlaylistsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GoogleBusinessPlatformData ¶
type GoogleBusinessPlatformData struct {
// CallToAction Optional call-to-action button displayed on the post
CallToAction *struct {
// Type Button action type: LEARN_MORE, BOOK, ORDER, SHOP, SIGN_UP, CALL
Type GoogleBusinessPlatformDataCallToActionType `json:"type"`
// Url Destination URL for the CTA button (required when callToAction is provided)
Url string `json:"url"`
} `json:"callToAction,omitempty"`
// Event Event details. Required when topicType is EVENT. Google returns 400 if omitted for EVENT posts.
Event *struct {
// Schedule Event date/time range. Uses Google's date format (NOT ISO 8601).
Schedule struct {
// EndDate Event end date as { year, month, day }
EndDate struct {
Day int `json:"day"`
Month int `json:"month"`
Year int `json:"year"`
} `json:"endDate"`
// EndTime Optional end time as { hours, minutes } in 24h format
EndTime *struct {
Hours *int `json:"hours,omitempty"`
Minutes *int `json:"minutes,omitempty"`
} `json:"endTime,omitempty"`
// StartDate Event start date as { year, month, day }
StartDate struct {
Day int `json:"day"`
Month int `json:"month"`
Year int `json:"year"`
} `json:"startDate"`
// StartTime Optional start time as { hours, minutes } in 24h format
StartTime *struct {
Hours *int `json:"hours,omitempty"`
Minutes *int `json:"minutes,omitempty"`
} `json:"startTime,omitempty"`
} `json:"schedule"`
// Title Event name (displayed as the event heading on Google Search and Maps)
Title string `json:"title"`
} `json:"event,omitempty"`
// LanguageCode BCP 47 language code (e.g. "en", "de", "es"). Auto-detected if omitted. Set explicitly for short or mixed-language posts.
LanguageCode *string `json:"languageCode,omitempty"`
// LocationId Target GBP location ID (e.g. "locations/123456789"). If omitted, uses the default location. Use GET /v1/accounts/{id}/gmb-locations to list locations.
LocationId *string `json:"locationId,omitempty"`
// Offer Offer details. Required when topicType is OFFER. All fields are optional per Google's API, but at least one is recommended.
Offer *struct {
// CouponCode Coupon code for the offer
CouponCode *string `json:"couponCode,omitempty"`
// OfferType Type of offer
OfferType *GoogleBusinessPlatformDataOfferOfferType `json:"offerType,omitempty"`
// RedeemOnlineUrl URL where the offer can be redeemed online
RedeemOnlineUrl *string `json:"redeemOnlineUrl,omitempty"`
// TermsConditions Terms and conditions for the offer
TermsConditions *string `json:"termsConditions,omitempty"`
} `json:"offer,omitempty"`
// TopicType Post type. STANDARD is a regular update. EVENT requires the event object. OFFER requires the offer object. Defaults to STANDARD if omitted.
TopicType *GoogleBusinessPlatformDataTopicType `json:"topicType,omitempty"`
}
GoogleBusinessPlatformData Text and single image only (no videos). Supports STANDARD, EVENT, OFFER, and ALERT post types. Posts appear on GBP, Google Search, and Maps. Use locationId for multi-location posting. Schedule dates accept both ISO 8601 strings (e.g. '2026-04-15T09:00:00Z') and Google's native {year, month, day} objects.
type GoogleBusinessPlatformDataCallToActionType ¶
type GoogleBusinessPlatformDataCallToActionType string
GoogleBusinessPlatformDataCallToActionType Button action type: LEARN_MORE, BOOK, ORDER, SHOP, SIGN_UP, CALL
const ( GoogleBusinessPlatformDataCallToActionTypeBOOK GoogleBusinessPlatformDataCallToActionType = "BOOK" GoogleBusinessPlatformDataCallToActionTypeCALL GoogleBusinessPlatformDataCallToActionType = "CALL" GoogleBusinessPlatformDataCallToActionTypeLEARNMORE GoogleBusinessPlatformDataCallToActionType = "LEARN_MORE" GoogleBusinessPlatformDataCallToActionTypeORDER GoogleBusinessPlatformDataCallToActionType = "ORDER" GoogleBusinessPlatformDataCallToActionTypeSHOP GoogleBusinessPlatformDataCallToActionType = "SHOP" GoogleBusinessPlatformDataCallToActionTypeSIGNUP GoogleBusinessPlatformDataCallToActionType = "SIGN_UP" )
Defines values for GoogleBusinessPlatformDataCallToActionType.
func (GoogleBusinessPlatformDataCallToActionType) Valid ¶
func (e GoogleBusinessPlatformDataCallToActionType) Valid() bool
Valid indicates whether the value is a known member of the GoogleBusinessPlatformDataCallToActionType enum.
type GoogleBusinessPlatformDataOfferOfferType ¶ added in v0.0.157
type GoogleBusinessPlatformDataOfferOfferType string
GoogleBusinessPlatformDataOfferOfferType Type of offer
const ( GoogleBusinessPlatformDataOfferOfferTypeBUYONEGETONE GoogleBusinessPlatformDataOfferOfferType = "BUY_ONE_GET_ONE" GoogleBusinessPlatformDataOfferOfferTypeOFFER GoogleBusinessPlatformDataOfferOfferType = "OFFER" )
Defines values for GoogleBusinessPlatformDataOfferOfferType.
func (GoogleBusinessPlatformDataOfferOfferType) Valid ¶ added in v0.0.157
func (e GoogleBusinessPlatformDataOfferOfferType) Valid() bool
Valid indicates whether the value is a known member of the GoogleBusinessPlatformDataOfferOfferType enum.
type GoogleBusinessPlatformDataTopicType ¶ added in v0.0.157
type GoogleBusinessPlatformDataTopicType string
GoogleBusinessPlatformDataTopicType Post type. STANDARD is a regular update. EVENT requires the event object. OFFER requires the offer object. Defaults to STANDARD if omitted.
const ( GoogleBusinessPlatformDataTopicTypeEVENT GoogleBusinessPlatformDataTopicType = "EVENT" GoogleBusinessPlatformDataTopicTypeOFFER GoogleBusinessPlatformDataTopicType = "OFFER" GoogleBusinessPlatformDataTopicTypeSTANDARD GoogleBusinessPlatformDataTopicType = "STANDARD" )
Defines values for GoogleBusinessPlatformDataTopicType.
func (GoogleBusinessPlatformDataTopicType) Valid ¶ added in v0.0.157
func (e GoogleBusinessPlatformDataTopicType) Valid() bool
Valid indicates whether the value is a known member of the GoogleBusinessPlatformDataTopicType enum.
type HandleOAuthCallbackJSONBody ¶
type HandleOAuthCallbackJSONBody struct {
Code string `json:"code"`
ProfileId string `json:"profileId"`
State string `json:"state"`
}
HandleOAuthCallbackJSONBody defines parameters for HandleOAuthCallback.
type HandleOAuthCallbackJSONRequestBody ¶
type HandleOAuthCallbackJSONRequestBody HandleOAuthCallbackJSONBody
HandleOAuthCallbackJSONRequestBody defines body for HandleOAuthCallback for application/json ContentType.
type HandleOAuthCallbackResponse ¶
type HandleOAuthCallbackResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseHandleOAuthCallbackResponse ¶
func ParseHandleOAuthCallbackResponse(rsp *http.Response) (*HandleOAuthCallbackResponse, error)
ParseHandleOAuthCallbackResponse parses an HTTP response from a HandleOAuthCallbackWithResponse call
func (HandleOAuthCallbackResponse) Status ¶
func (r HandleOAuthCallbackResponse) Status() string
Status returns HTTPResponse.Status
func (HandleOAuthCallbackResponse) StatusCode ¶
func (r HandleOAuthCallbackResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HideInboxCommentJSONBody ¶
type HideInboxCommentJSONBody struct {
// AccountId The social account ID
AccountId string `json:"accountId"`
}
HideInboxCommentJSONBody defines parameters for HideInboxComment.
type HideInboxCommentJSONRequestBody ¶
type HideInboxCommentJSONRequestBody HideInboxCommentJSONBody
HideInboxCommentJSONRequestBody defines body for HideInboxComment for application/json ContentType.
type HideInboxCommentResponse ¶
type HideInboxCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CommentId *string `json:"commentId,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseHideInboxCommentResponse ¶
func ParseHideInboxCommentResponse(rsp *http.Response) (*HideInboxCommentResponse, error)
ParseHideInboxCommentResponse parses an HTTP response from a HideInboxCommentWithResponse call
func (HideInboxCommentResponse) Status ¶
func (r HideInboxCommentResponse) Status() string
Status returns HTTPResponse.Status
func (HideInboxCommentResponse) StatusCode ¶
func (r HideInboxCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InitiateTelegramConnect200AccountChatType ¶
type InitiateTelegramConnect200AccountChatType string
type InitiateTelegramConnect200AccountPlatform ¶
type InitiateTelegramConnect200AccountPlatform string
type InitiateTelegramConnectJSONBody ¶
type InitiateTelegramConnectJSONBody struct {
// ChatId The Telegram chat ID. Numeric ID (e.g. "-1001234567890") or username with @ prefix (e.g. "@mychannel").
ChatId string `json:"chatId"`
// ProfileId The profile ID to connect the account to
ProfileId string `json:"profileId"`
}
InitiateTelegramConnectJSONBody defines parameters for InitiateTelegramConnect.
type InitiateTelegramConnectJSONRequestBody ¶
type InitiateTelegramConnectJSONRequestBody InitiateTelegramConnectJSONBody
InitiateTelegramConnectJSONRequestBody defines body for InitiateTelegramConnect for application/json ContentType.
type InitiateTelegramConnectResponse ¶
type InitiateTelegramConnectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
UnderscoreId *string `json:"_id,omitempty"`
ChatType *InitiateTelegramConnect200AccountChatType `json:"chatType,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *InitiateTelegramConnect200AccountPlatform `json:"platform,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseInitiateTelegramConnectResponse ¶
func ParseInitiateTelegramConnectResponse(rsp *http.Response) (*InitiateTelegramConnectResponse, error)
ParseInitiateTelegramConnectResponse parses an HTTP response from a InitiateTelegramConnectWithResponse call
func (InitiateTelegramConnectResponse) Status ¶
func (r InitiateTelegramConnectResponse) Status() string
Status returns HTTPResponse.Status
func (InitiateTelegramConnectResponse) StatusCode ¶
func (r InitiateTelegramConnectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type InstagramAccountInsightsResponse ¶ added in v0.0.73
type InstagramAccountInsightsResponse struct {
// AccountId The Zernio SocialAccount ID
AccountId *string `json:"accountId,omitempty"`
// Breakdown Breakdown dimension used (only present when breakdown was requested)
Breakdown *string `json:"breakdown,omitempty"`
DataDelay *string `json:"dataDelay,omitempty"`
DateRange *struct {
Since *openapi_types.Date `json:"since,omitempty"`
Until *openapi_types.Date `json:"until,omitempty"`
} `json:"dateRange,omitempty"`
MetricType *InstagramAccountInsightsResponseMetricType `json:"metricType,omitempty"`
// Metrics Object keyed by metric name. For time_series: each metric has "total" (number) and "values" (array of {date, value}).
// For total_value: each metric has "total" (number) and optionally "breakdowns" (array of {dimension, value}).
Metrics *map[string]struct {
// Breakdowns Breakdown values (only for total_value with breakdown)
Breakdowns *[]struct {
Dimension *string `json:"dimension,omitempty"`
Value *float32 `json:"value,omitempty"`
} `json:"breakdowns,omitempty"`
// Total Sum or aggregate value for the metric
Total *float32 `json:"total,omitempty"`
// Values Daily values (only for time_series)
Values *[]struct {
Date *openapi_types.Date `json:"date,omitempty"`
Value *float32 `json:"value,omitempty"`
} `json:"values,omitempty"`
} `json:"metrics,omitempty"`
// Platform Platform that served this response.
Platform *InstagramAccountInsightsResponsePlatform `json:"platform,omitempty"`
Success *bool `json:"success,omitempty"`
}
InstagramAccountInsightsResponse Shared account-insights response envelope used by every platform-level analytics endpoint (/v1/analytics/{facebook|instagram|youtube|linkedin|tiktok}/*). The name is historical - the shape was first shipped for Instagram and every new platform endpoint reuses it for response-shape consistency. The platform field echoes back which platform served the response.
type InstagramAccountInsightsResponseMetricType ¶ added in v0.0.73
type InstagramAccountInsightsResponseMetricType string
InstagramAccountInsightsResponseMetricType defines model for InstagramAccountInsightsResponse.MetricType.
const ( InstagramAccountInsightsResponseMetricTypeTimeSeries InstagramAccountInsightsResponseMetricType = "time_series" InstagramAccountInsightsResponseMetricTypeTotalValue InstagramAccountInsightsResponseMetricType = "total_value" )
Defines values for InstagramAccountInsightsResponseMetricType.
func (InstagramAccountInsightsResponseMetricType) Valid ¶ added in v0.0.73
func (e InstagramAccountInsightsResponseMetricType) Valid() bool
Valid indicates whether the value is a known member of the InstagramAccountInsightsResponseMetricType enum.
type InstagramAccountInsightsResponsePlatform ¶ added in v0.0.184
type InstagramAccountInsightsResponsePlatform string
InstagramAccountInsightsResponsePlatform Platform that served this response.
const ( InstagramAccountInsightsResponsePlatformFacebook InstagramAccountInsightsResponsePlatform = "facebook" InstagramAccountInsightsResponsePlatformInstagram InstagramAccountInsightsResponsePlatform = "instagram" InstagramAccountInsightsResponsePlatformLinkedin InstagramAccountInsightsResponsePlatform = "linkedin" InstagramAccountInsightsResponsePlatformTiktok InstagramAccountInsightsResponsePlatform = "tiktok" InstagramAccountInsightsResponsePlatformYoutube InstagramAccountInsightsResponsePlatform = "youtube" )
Defines values for InstagramAccountInsightsResponsePlatform.
func (InstagramAccountInsightsResponsePlatform) Valid ¶ added in v0.0.184
func (e InstagramAccountInsightsResponsePlatform) Valid() bool
Valid indicates whether the value is a known member of the InstagramAccountInsightsResponsePlatform enum.
type InstagramDemographicsResponse ¶ added in v0.0.73
type InstagramDemographicsResponse struct {
// AccountId The Zernio SocialAccount ID
AccountId *string `json:"accountId,omitempty"`
// Demographics Object keyed by breakdown dimension (age, city, country, gender)
Demographics *map[string][]struct {
// Dimension The dimension value (e.g., "25-34", "US", "M")
Dimension *string `json:"dimension,omitempty"`
// Value Count of accounts in this dimension
Value *float32 `json:"value,omitempty"`
} `json:"demographics,omitempty"`
Metric *InstagramDemographicsResponseMetric `json:"metric,omitempty"`
Note *string `json:"note,omitempty"`
Platform *string `json:"platform,omitempty"`
Success *bool `json:"success,omitempty"`
// Timeframe The timeframe used for demographic data
Timeframe *InstagramDemographicsResponseTimeframe `json:"timeframe,omitempty"`
}
InstagramDemographicsResponse defines model for InstagramDemographicsResponse.
type InstagramDemographicsResponseMetric ¶ added in v0.0.73
type InstagramDemographicsResponseMetric string
InstagramDemographicsResponseMetric defines model for InstagramDemographicsResponse.Metric.
const ( InstagramDemographicsResponseMetricEngagedAudienceDemographics InstagramDemographicsResponseMetric = "engaged_audience_demographics" InstagramDemographicsResponseMetricFollowerDemographics InstagramDemographicsResponseMetric = "follower_demographics" )
Defines values for InstagramDemographicsResponseMetric.
func (InstagramDemographicsResponseMetric) Valid ¶ added in v0.0.73
func (e InstagramDemographicsResponseMetric) Valid() bool
Valid indicates whether the value is a known member of the InstagramDemographicsResponseMetric enum.
type InstagramDemographicsResponseTimeframe ¶ added in v0.0.73
type InstagramDemographicsResponseTimeframe string
InstagramDemographicsResponseTimeframe The timeframe used for demographic data
const ( InstagramDemographicsResponseTimeframeThisMonth InstagramDemographicsResponseTimeframe = "this_month" InstagramDemographicsResponseTimeframeThisWeek InstagramDemographicsResponseTimeframe = "this_week" )
Defines values for InstagramDemographicsResponseTimeframe.
func (InstagramDemographicsResponseTimeframe) Valid ¶ added in v0.0.73
func (e InstagramDemographicsResponseTimeframe) Valid() bool
Valid indicates whether the value is a known member of the InstagramDemographicsResponseTimeframe enum.
type InstagramPlatformData ¶
type InstagramPlatformData struct {
// AudioName Custom name for original audio in Reels. Replaces the default "Original Audio" label. Can only be set once.
AudioName *string `json:"audioName,omitempty"`
// Collaborators Up to 3 Instagram usernames to invite as collaborators (feed/Reels only)
Collaborators *[]string `json:"collaborators,omitempty"`
// ContentType Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
ContentType *InstagramPlatformDataContentType `json:"contentType,omitempty"`
// FirstComment Optional first comment to add after the post is created (not applied to Stories)
FirstComment *string `json:"firstComment,omitempty"`
// InstagramThumbnail Custom cover image URL for Instagram Reels (JPG or PNG, publicly accessible). Overrides thumbOffset when provided. Also accepted as reelCover (alias).
InstagramThumbnail *string `json:"instagramThumbnail,omitempty"`
// ReelCover Alias for instagramThumbnail. If both are provided, instagramThumbnail takes priority.
ReelCover *string `json:"reelCover,omitempty"`
ShareToFeed *bool `json:"shareToFeed,omitempty"`
// ThumbOffset Millisecond offset from video start for the Reel cover frame. Ignored when instagramThumbnail or reelCover is provided. Defaults to 0.
ThumbOffset *int `json:"thumbOffset,omitempty"`
// TrialParams Trial Reels configuration. Trial reels are shared to non-followers first and can later be graduated to regular reels manually or automatically based on performance. Only applies to Reels.
TrialParams *struct {
// GraduationStrategy MANUAL (graduate from Instagram app) or SS_PERFORMANCE (auto-graduate if performs well with non-followers)
GraduationStrategy *InstagramPlatformDataTrialParamsGraduationStrategy `json:"graduationStrategy,omitempty"`
} `json:"trialParams,omitempty"`
// UserTags Tag Instagram users in photos by username and position. Not supported for stories or videos. For carousels, use mediaIndex to target specific slides (defaults to 0). Tags on video items are silently skipped.
UserTags *[]struct {
// MediaIndex Zero-based index of the carousel item to tag. Defaults to 0. Tags on video items or out-of-range indices are ignored.
MediaIndex *int `json:"mediaIndex,omitempty"`
// Username Instagram username (@ symbol is optional and will be removed automatically)
Username string `json:"username"`
// X X coordinate position from left edge (0.0 = left, 0.5 = center, 1.0 = right)
X float32 `json:"x"`
// Y Y coordinate position from top edge (0.0 = top, 0.5 = center, 1.0 = bottom)
Y float32 `json:"y"`
} `json:"userTags,omitempty"`
}
InstagramPlatformData Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
type InstagramPlatformDataContentType ¶
type InstagramPlatformDataContentType string
InstagramPlatformDataContentType Set to 'story' to publish as a Story. Default posts become Reels or feed depending on media.
const (
InstagramPlatformDataContentTypeStory InstagramPlatformDataContentType = "story"
)
Defines values for InstagramPlatformDataContentType.
func (InstagramPlatformDataContentType) Valid ¶
func (e InstagramPlatformDataContentType) Valid() bool
Valid indicates whether the value is a known member of the InstagramPlatformDataContentType enum.
type InstagramPlatformDataTrialParamsGraduationStrategy ¶
type InstagramPlatformDataTrialParamsGraduationStrategy string
InstagramPlatformDataTrialParamsGraduationStrategy MANUAL (graduate from Instagram app) or SS_PERFORMANCE (auto-graduate if performs well with non-followers)
const ( MANUAL InstagramPlatformDataTrialParamsGraduationStrategy = "MANUAL" SSPERFORMANCE InstagramPlatformDataTrialParamsGraduationStrategy = "SS_PERFORMANCE" )
Defines values for InstagramPlatformDataTrialParamsGraduationStrategy.
func (InstagramPlatformDataTrialParamsGraduationStrategy) Valid ¶
func (e InstagramPlatformDataTrialParamsGraduationStrategy) Valid() bool
Valid indicates whether the value is a known member of the InstagramPlatformDataTrialParamsGraduationStrategy enum.
type LikeInboxCommentJSONBody ¶
type LikeInboxCommentJSONBody struct {
// AccountId The social account ID
AccountId string `json:"accountId"`
// Cid (Bluesky only) Content identifier for the comment
Cid *string `json:"cid,omitempty"`
}
LikeInboxCommentJSONBody defines parameters for LikeInboxComment.
type LikeInboxCommentJSONRequestBody ¶
type LikeInboxCommentJSONRequestBody LikeInboxCommentJSONBody
LikeInboxCommentJSONRequestBody defines body for LikeInboxComment for application/json ContentType.
type LikeInboxCommentResponse ¶
type LikeInboxCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CommentId *string `json:"commentId,omitempty"`
// LikeUri (Bluesky only) URI to use for unliking
LikeUri *string `json:"likeUri,omitempty"`
Liked *bool `json:"liked,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseLikeInboxCommentResponse ¶
func ParseLikeInboxCommentResponse(rsp *http.Response) (*LikeInboxCommentResponse, error)
ParseLikeInboxCommentResponse parses an HTTP response from a LikeInboxCommentWithResponse call
func (LikeInboxCommentResponse) Status ¶
func (r LikeInboxCommentResponse) Status() string
Status returns HTTPResponse.Status
func (LikeInboxCommentResponse) StatusCode ¶
func (r LikeInboxCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LinkedInAggregateAnalyticsDailyResponse ¶
type LinkedInAggregateAnalyticsDailyResponse struct {
AccountId *string `json:"accountId,omitempty"`
AccountType *string `json:"accountType,omitempty"`
Aggregation *LinkedInAggregateAnalyticsDailyResponseAggregation `json:"aggregation,omitempty"`
// Analytics Daily breakdown of each metric as date/count pairs. Reach not available with DAILY aggregation.
Analytics *struct {
Comments *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"comments,omitempty"`
Impressions *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"impressions,omitempty"`
Reactions *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"reactions,omitempty"`
// Saves Daily saves (personal accounts only)
Saves *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"saves,omitempty"`
// Sends Daily sends via LinkedIn messaging (personal accounts only)
Sends *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"sends,omitempty"`
Shares *[]struct {
Count *int `json:"count,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
} `json:"shares,omitempty"`
} `json:"analytics,omitempty"`
DateRange *struct {
EndDate *openapi_types.Date `json:"endDate,omitempty"`
StartDate *openapi_types.Date `json:"startDate,omitempty"`
} `json:"dateRange,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Note *string `json:"note,omitempty"`
Platform *string `json:"platform,omitempty"`
// SkippedMetrics Metrics that were skipped due to API limitations
SkippedMetrics *[]string `json:"skippedMetrics,omitempty"`
Username *string `json:"username,omitempty"`
}
LinkedInAggregateAnalyticsDailyResponse Response for DAILY aggregation (time series breakdown)
type LinkedInAggregateAnalyticsDailyResponseAggregation ¶
type LinkedInAggregateAnalyticsDailyResponseAggregation string
LinkedInAggregateAnalyticsDailyResponseAggregation defines model for LinkedInAggregateAnalyticsDailyResponse.Aggregation.
const (
LinkedInAggregateAnalyticsDailyResponseAggregationDAILY LinkedInAggregateAnalyticsDailyResponseAggregation = "DAILY"
)
Defines values for LinkedInAggregateAnalyticsDailyResponseAggregation.
func (LinkedInAggregateAnalyticsDailyResponseAggregation) Valid ¶
func (e LinkedInAggregateAnalyticsDailyResponseAggregation) Valid() bool
Valid indicates whether the value is a known member of the LinkedInAggregateAnalyticsDailyResponseAggregation enum.
type LinkedInAggregateAnalyticsTotalResponse ¶
type LinkedInAggregateAnalyticsTotalResponse struct {
AccountId *string `json:"accountId,omitempty"`
AccountType *string `json:"accountType,omitempty"`
Aggregation *LinkedInAggregateAnalyticsTotalResponseAggregation `json:"aggregation,omitempty"`
Analytics *struct {
// Comments Total comments across all posts
Comments *int `json:"comments,omitempty"`
// EngagementRate Overall engagement rate as percentage
EngagementRate *float32 `json:"engagementRate,omitempty"`
// Impressions Total impressions across all posts
Impressions *int `json:"impressions,omitempty"`
// Reach Unique members reached across all posts
Reach *int `json:"reach,omitempty"`
// Reactions Total reactions across all posts
Reactions *int `json:"reactions,omitempty"`
// Saves Total times posts were saved (personal accounts only)
Saves *int `json:"saves,omitempty"`
// Sends Total times posts were sent via LinkedIn messaging (personal accounts only)
Sends *int `json:"sends,omitempty"`
// Shares Total reshares across all posts
Shares *int `json:"shares,omitempty"`
} `json:"analytics,omitempty"`
DateRange *struct {
EndDate *openapi_types.Date `json:"endDate,omitempty"`
StartDate *openapi_types.Date `json:"startDate,omitempty"`
} `json:"dateRange,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Note *string `json:"note,omitempty"`
Platform *string `json:"platform,omitempty"`
Username *string `json:"username,omitempty"`
}
LinkedInAggregateAnalyticsTotalResponse Response for TOTAL aggregation (lifetime totals)
type LinkedInAggregateAnalyticsTotalResponseAggregation ¶
type LinkedInAggregateAnalyticsTotalResponseAggregation string
LinkedInAggregateAnalyticsTotalResponseAggregation defines model for LinkedInAggregateAnalyticsTotalResponse.Aggregation.
const (
TOTAL LinkedInAggregateAnalyticsTotalResponseAggregation = "TOTAL"
)
Defines values for LinkedInAggregateAnalyticsTotalResponseAggregation.
func (LinkedInAggregateAnalyticsTotalResponseAggregation) Valid ¶
func (e LinkedInAggregateAnalyticsTotalResponseAggregation) Valid() bool
Valid indicates whether the value is a known member of the LinkedInAggregateAnalyticsTotalResponseAggregation enum.
type LinkedInPlatformData ¶
type LinkedInPlatformData struct {
// DisableLinkPreview Set to true to disable automatic link previews for URLs in the post content (default is false)
DisableLinkPreview *bool `json:"disableLinkPreview,omitempty"`
// DocumentTitle Title displayed on LinkedIn document (PDF/carousel) posts. Required by LinkedIn for document posts. If omitted, falls back to the media item title, then the filename.
DocumentTitle *string `json:"documentTitle,omitempty"`
// FirstComment Optional first comment to add after the post is created
FirstComment *string `json:"firstComment,omitempty"`
// GeoRestriction Country-level geo-restriction (allowlist). When set, the post is only visible to users in the specified countries. Supported on Facebook (feed posts, videos, reels), X/Twitter (media-level restriction), and LinkedIn (organization pages only, min 300 targeted followers). Ignored on unsupported platforms. Stories (Facebook, Instagram) do not support geo-restriction.
GeoRestriction *GeoRestriction `json:"geoRestriction,omitempty"`
// OrganizationUrn Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs.
OrganizationUrn *string `json:"organizationUrn,omitempty"`
}
LinkedInPlatformData Up to 20 images, no multi-video. Single PDF supported (max 100MB). Link previews auto-generated when no media attached. Use organizationUrn for multi-org posting. Geo-restriction only works for organization pages (not personal profiles) and requires the targeted audience to exceed 300 followers.
type ListAccountGroupsResponse ¶
type ListAccountGroupsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Groups *[]struct {
UnderscoreId *string `json:"_id,omitempty"`
AccountIds *[]string `json:"accountIds,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"groups,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAccountGroupsResponse ¶
func ParseListAccountGroupsResponse(rsp *http.Response) (*ListAccountGroupsResponse, error)
ParseListAccountGroupsResponse parses an HTTP response from a ListAccountGroupsWithResponse call
func (ListAccountGroupsResponse) Status ¶
func (r ListAccountGroupsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAccountGroupsResponse) StatusCode ¶
func (r ListAccountGroupsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAccountsParams ¶
type ListAccountsParams struct {
// ProfileId Filter accounts by profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// Platform Filter accounts by platform (e.g. "instagram", "twitter").
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
// IncludeOverLimit When true, includes accounts from over-limit profiles.
IncludeOverLimit *bool `form:"includeOverLimit,omitempty" json:"includeOverLimit,omitempty"`
// Page Page number (1-based). When provided with limit, enables server-side pagination. Omit for all accounts.
Page *int `form:"page,omitempty" json:"page,omitempty"`
// Limit Page size. Required alongside page for pagination.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAccountsParams defines parameters for ListAccounts.
type ListAccountsResponse ¶
type ListAccountsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accounts *[]SocialAccount `json:"accounts,omitempty"`
// HasAnalyticsAccess Whether user has analytics add-on access
HasAnalyticsAccess *bool `json:"hasAnalyticsAccess,omitempty"`
Pagination *Pagination `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAccountsResponse ¶
func ParseListAccountsResponse(rsp *http.Response) (*ListAccountsResponse, error)
ParseListAccountsResponse parses an HTTP response from a ListAccountsWithResponse call
func (ListAccountsResponse) Status ¶
func (r ListAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAccountsResponse) StatusCode ¶
func (r ListAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdAccountsParams ¶ added in v0.0.106
type ListAdAccountsParams struct {
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
// AdAccountId Filter response to a single platform ad account ID (e.g. `act_123` for Meta, advertiser_id for TikTok). Returns at most one item.
AdAccountId *string `form:"adAccountId,omitempty" json:"adAccountId,omitempty"`
// Limit Clamp the returned `accounts[]` length. Useful for typeahead pickers on agency tokens with hundreds of advertisers.
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAdAccountsParams defines parameters for ListAdAccounts.
type ListAdAccountsResponse ¶ added in v0.0.106
type ListAdAccountsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Accounts *[]struct {
Currency *string `json:"currency,omitempty"`
// Id Platform ad account ID (e.g. act_123)
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
// TimezoneName IANA timezone of the ad account (Meta only). Drives daily-budget reset and Insights day boundaries.
TimezoneName *string `json:"timezoneName,omitempty"`
// TimezoneOffsetHoursUtc Signed UTC offset in hours, reflecting current DST (Meta only).
TimezoneOffsetHoursUtc *float32 `json:"timezoneOffsetHoursUtc,omitempty"`
} `json:"accounts,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAdAccountsResponse ¶ added in v0.0.106
func ParseListAdAccountsResponse(rsp *http.Response) (*ListAdAccountsResponse, error)
ParseListAdAccountsResponse parses an HTTP response from a ListAdAccountsWithResponse call
func (ListAdAccountsResponse) Status ¶ added in v0.0.106
func (r ListAdAccountsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdAccountsResponse) StatusCode ¶ added in v0.0.106
func (r ListAdAccountsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdAudiences200AudiencesType ¶ added in v0.0.106
type ListAdAudiences200AudiencesType string
type ListAdAudiencesParams ¶ added in v0.0.106
type ListAdAudiencesParams struct {
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
// AdAccountId Platform ad account ID
AdAccountId string `form:"adAccountId" json:"adAccountId"`
Platform *ListAdAudiencesParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
}
ListAdAudiencesParams defines parameters for ListAdAudiences.
type ListAdAudiencesParamsPlatform ¶ added in v0.0.106
type ListAdAudiencesParamsPlatform string
ListAdAudiencesParamsPlatform defines parameters for ListAdAudiences.
const ( ListAdAudiencesParamsPlatformFacebook ListAdAudiencesParamsPlatform = "facebook" ListAdAudiencesParamsPlatformGoogleads ListAdAudiencesParamsPlatform = "googleads" ListAdAudiencesParamsPlatformInstagram ListAdAudiencesParamsPlatform = "instagram" ListAdAudiencesParamsPlatformPinterest ListAdAudiencesParamsPlatform = "pinterest" ListAdAudiencesParamsPlatformTiktok ListAdAudiencesParamsPlatform = "tiktok" )
Defines values for ListAdAudiencesParamsPlatform.
func (ListAdAudiencesParamsPlatform) Valid ¶ added in v0.0.106
func (e ListAdAudiencesParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListAdAudiencesParamsPlatform enum.
type ListAdAudiencesResponse ¶ added in v0.0.106
type ListAdAudiencesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Audiences *[]struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformAudienceId *string `json:"platformAudienceId,omitempty"`
Size *int `json:"size,omitempty"`
Status *string `json:"status,omitempty"`
Type *ListAdAudiences200AudiencesType `json:"type,omitempty"`
} `json:"audiences,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAdAudiencesResponse ¶ added in v0.0.106
func ParseListAdAudiencesResponse(rsp *http.Response) (*ListAdAudiencesResponse, error)
ParseListAdAudiencesResponse parses an HTTP response from a ListAdAudiencesWithResponse call
func (ListAdAudiencesResponse) Status ¶ added in v0.0.106
func (r ListAdAudiencesResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdAudiencesResponse) StatusCode ¶ added in v0.0.106
func (r ListAdAudiencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdCampaignsParams ¶ added in v0.0.106
type ListAdCampaignsParams struct {
// Page Page number (1-based)
Page *PageParam `form:"page,omitempty" json:"page,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Source `all` (default) returns both Zernio-created ads and those discovered from the platform's ad manager — matches the web UI's default view. Pass `zernio` to restrict to isExternal=false only. Status is NOT filtered by default — use the `status` param for that.
Source *ListAdCampaignsParamsSource `form:"source,omitempty" json:"source,omitempty"`
Platform *ListAdCampaignsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Status Filter by derived campaign status (post-aggregation)
Status *AdStatus `form:"status,omitempty" json:"status,omitempty"`
// AdAccountId Platform ad account ID (e.g. act_123 for Meta)
AdAccountId *string `form:"adAccountId,omitempty" json:"adAccountId,omitempty"`
// AccountId Social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// ProfileId Profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
}
ListAdCampaignsParams defines parameters for ListAdCampaigns.
type ListAdCampaignsParamsPlatform ¶ added in v0.0.106
type ListAdCampaignsParamsPlatform string
ListAdCampaignsParamsPlatform defines parameters for ListAdCampaigns.
const ( ListAdCampaignsParamsPlatformFacebook ListAdCampaignsParamsPlatform = "facebook" ListAdCampaignsParamsPlatformGoogle ListAdCampaignsParamsPlatform = "google" ListAdCampaignsParamsPlatformInstagram ListAdCampaignsParamsPlatform = "instagram" ListAdCampaignsParamsPlatformLinkedin ListAdCampaignsParamsPlatform = "linkedin" ListAdCampaignsParamsPlatformPinterest ListAdCampaignsParamsPlatform = "pinterest" ListAdCampaignsParamsPlatformTiktok ListAdCampaignsParamsPlatform = "tiktok" ListAdCampaignsParamsPlatformTwitter ListAdCampaignsParamsPlatform = "twitter" )
Defines values for ListAdCampaignsParamsPlatform.
func (ListAdCampaignsParamsPlatform) Valid ¶ added in v0.0.106
func (e ListAdCampaignsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListAdCampaignsParamsPlatform enum.
type ListAdCampaignsParamsSource ¶ added in v0.0.106
type ListAdCampaignsParamsSource string
ListAdCampaignsParamsSource defines parameters for ListAdCampaigns.
const ( ListAdCampaignsParamsSourceAll ListAdCampaignsParamsSource = "all" ListAdCampaignsParamsSourceZernio ListAdCampaignsParamsSource = "zernio" )
Defines values for ListAdCampaignsParamsSource.
func (ListAdCampaignsParamsSource) Valid ¶ added in v0.0.106
func (e ListAdCampaignsParamsSource) Valid() bool
Valid indicates whether the value is a known member of the ListAdCampaignsParamsSource enum.
type ListAdCampaignsResponse ¶ added in v0.0.106
type ListAdCampaignsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Campaigns *[]AdCampaign `json:"campaigns,omitempty"`
Pagination *Pagination `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAdCampaignsResponse ¶ added in v0.0.106
func ParseListAdCampaignsResponse(rsp *http.Response) (*ListAdCampaignsResponse, error)
ParseListAdCampaignsResponse parses an HTTP response from a ListAdCampaignsWithResponse call
func (ListAdCampaignsResponse) Status ¶ added in v0.0.106
func (r ListAdCampaignsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdCampaignsResponse) StatusCode ¶ added in v0.0.106
func (r ListAdCampaignsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdsBusinessCentersParams ¶ added in v0.0.199
type ListAdsBusinessCentersParams struct {
// AccountId ID of the `tiktokads` (or parent `tiktok` posting) SocialAccount
AccountId string `form:"accountId" json:"accountId"`
}
ListAdsBusinessCentersParams defines parameters for ListAdsBusinessCenters.
type ListAdsBusinessCentersResponse ¶ added in v0.0.199
type ListAdsBusinessCentersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
BusinessCenters *[]BusinessCenter `json:"businessCenters,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAdsBusinessCentersResponse ¶ added in v0.0.199
func ParseListAdsBusinessCentersResponse(rsp *http.Response) (*ListAdsBusinessCentersResponse, error)
ParseListAdsBusinessCentersResponse parses an HTTP response from a ListAdsBusinessCentersWithResponse call
func (ListAdsBusinessCentersResponse) Status ¶ added in v0.0.199
func (r ListAdsBusinessCentersResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdsBusinessCentersResponse) StatusCode ¶ added in v0.0.199
func (r ListAdsBusinessCentersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAdsParams ¶ added in v0.0.106
type ListAdsParams struct {
// Page Page number (1-based)
Page *PageParam `form:"page,omitempty" json:"page,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Source all (default) = Zernio-created + platform-discovered ads. zernio = restrict to Zernio-created only.
Source *ListAdsParamsSource `form:"source,omitempty" json:"source,omitempty"`
Status *AdStatus `form:"status,omitempty" json:"status,omitempty"`
Platform *ListAdsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// AccountId Social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
// AdAccountId Platform ad account ID (e.g. act_123 for Meta). Mirrors the same filter on /v1/ads/campaigns and /v1/ads/tree.
AdAccountId *string `form:"adAccountId,omitempty" json:"adAccountId,omitempty"`
// ProfileId Profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// CampaignId Platform campaign ID (filter ads within a campaign)
CampaignId *string `form:"campaignId,omitempty" json:"campaignId,omitempty"`
// FromDate Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`
// ToDate End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
ToDate *openapi_types.Date `form:"toDate,omitempty" json:"toDate,omitempty"`
}
ListAdsParams defines parameters for ListAds.
type ListAdsParamsPlatform ¶ added in v0.0.106
type ListAdsParamsPlatform string
ListAdsParamsPlatform defines parameters for ListAds.
const ( ListAdsParamsPlatformFacebook ListAdsParamsPlatform = "facebook" ListAdsParamsPlatformGoogle ListAdsParamsPlatform = "google" ListAdsParamsPlatformInstagram ListAdsParamsPlatform = "instagram" ListAdsParamsPlatformLinkedin ListAdsParamsPlatform = "linkedin" ListAdsParamsPlatformPinterest ListAdsParamsPlatform = "pinterest" ListAdsParamsPlatformTiktok ListAdsParamsPlatform = "tiktok" ListAdsParamsPlatformTwitter ListAdsParamsPlatform = "twitter" )
Defines values for ListAdsParamsPlatform.
func (ListAdsParamsPlatform) Valid ¶ added in v0.0.106
func (e ListAdsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListAdsParamsPlatform enum.
type ListAdsParamsSource ¶ added in v0.0.106
type ListAdsParamsSource string
ListAdsParamsSource defines parameters for ListAds.
const ( ListAdsParamsSourceAll ListAdsParamsSource = "all" ListAdsParamsSourceZernio ListAdsParamsSource = "zernio" )
Defines values for ListAdsParamsSource.
func (ListAdsParamsSource) Valid ¶ added in v0.0.106
func (e ListAdsParamsSource) Valid() bool
Valid indicates whether the value is a known member of the ListAdsParamsSource enum.
type ListAdsResponse ¶ added in v0.0.106
type ListAdsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Ads *[]Ad `json:"ads,omitempty"`
Pagination *Pagination `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListAdsResponse ¶ added in v0.0.106
func ParseListAdsResponse(rsp *http.Response) (*ListAdsResponse, error)
ParseListAdsResponse parses an HTTP response from a ListAdsWithResponse call
func (ListAdsResponse) Status ¶ added in v0.0.106
func (r ListAdsResponse) Status() string
Status returns HTTPResponse.Status
func (ListAdsResponse) StatusCode ¶ added in v0.0.106
func (r ListAdsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListApiKeysResponse ¶
type ListApiKeysResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
ApiKeys *[]ApiKey `json:"apiKeys,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListApiKeysResponse ¶
func ParseListApiKeysResponse(rsp *http.Response) (*ListApiKeysResponse, error)
ParseListApiKeysResponse parses an HTTP response from a ListApiKeysWithResponse call
func (ListApiKeysResponse) Status ¶
func (r ListApiKeysResponse) Status() string
Status returns HTTPResponse.Status
func (ListApiKeysResponse) StatusCode ¶
func (r ListApiKeysResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBroadcastRecipients200RecipientsStatus ¶ added in v0.0.84
type ListBroadcastRecipients200RecipientsStatus string
type ListBroadcastRecipientsParams ¶ added in v0.0.76
type ListBroadcastRecipientsParams struct {
Status *ListBroadcastRecipientsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListBroadcastRecipientsParams defines parameters for ListBroadcastRecipients.
type ListBroadcastRecipientsParamsStatus ¶ added in v0.0.76
type ListBroadcastRecipientsParamsStatus string
ListBroadcastRecipientsParamsStatus defines parameters for ListBroadcastRecipients.
const ( ListBroadcastRecipientsParamsStatusDelivered ListBroadcastRecipientsParamsStatus = "delivered" ListBroadcastRecipientsParamsStatusFailed ListBroadcastRecipientsParamsStatus = "failed" ListBroadcastRecipientsParamsStatusPending ListBroadcastRecipientsParamsStatus = "pending" ListBroadcastRecipientsParamsStatusRead ListBroadcastRecipientsParamsStatus = "read" ListBroadcastRecipientsParamsStatusSent ListBroadcastRecipientsParamsStatus = "sent" )
Defines values for ListBroadcastRecipientsParamsStatus.
func (ListBroadcastRecipientsParamsStatus) Valid ¶ added in v0.0.76
func (e ListBroadcastRecipientsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListBroadcastRecipientsParamsStatus enum.
type ListBroadcastRecipientsResponse ¶ added in v0.0.76
type ListBroadcastRecipientsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Recipients *[]struct {
ChannelId *string `json:"channelId,omitempty"`
ContactId *string `json:"contactId,omitempty"`
ContactName *string `json:"contactName,omitempty"`
DeliveredAt *time.Time `json:"deliveredAt,omitempty"`
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
MessageId *string `json:"messageId,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
ReadAt *time.Time `json:"readAt,omitempty"`
SentAt *time.Time `json:"sentAt,omitempty"`
Status *ListBroadcastRecipients200RecipientsStatus `json:"status,omitempty"`
} `json:"recipients,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListBroadcastRecipientsResponse ¶ added in v0.0.76
func ParseListBroadcastRecipientsResponse(rsp *http.Response) (*ListBroadcastRecipientsResponse, error)
ParseListBroadcastRecipientsResponse parses an HTTP response from a ListBroadcastRecipientsWithResponse call
func (ListBroadcastRecipientsResponse) Status ¶ added in v0.0.76
func (r ListBroadcastRecipientsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBroadcastRecipientsResponse) StatusCode ¶ added in v0.0.76
func (r ListBroadcastRecipientsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListBroadcasts200BroadcastsStatus ¶ added in v0.0.83
type ListBroadcasts200BroadcastsStatus string
type ListBroadcastsParams ¶ added in v0.0.76
type ListBroadcastsParams struct {
// ProfileId Filter by profile. Omit to list across all profiles
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
Status *ListBroadcastsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListBroadcastsParams defines parameters for ListBroadcasts.
type ListBroadcastsParamsStatus ¶ added in v0.0.76
type ListBroadcastsParamsStatus string
ListBroadcastsParamsStatus defines parameters for ListBroadcasts.
const ( ListBroadcastsParamsStatusCancelled ListBroadcastsParamsStatus = "cancelled" ListBroadcastsParamsStatusCompleted ListBroadcastsParamsStatus = "completed" ListBroadcastsParamsStatusDraft ListBroadcastsParamsStatus = "draft" ListBroadcastsParamsStatusFailed ListBroadcastsParamsStatus = "failed" ListBroadcastsParamsStatusScheduled ListBroadcastsParamsStatus = "scheduled" ListBroadcastsParamsStatusSending ListBroadcastsParamsStatus = "sending" )
Defines values for ListBroadcastsParamsStatus.
func (ListBroadcastsParamsStatus) Valid ¶ added in v0.0.76
func (e ListBroadcastsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListBroadcastsParamsStatus enum.
type ListBroadcastsResponse ¶ added in v0.0.76
type ListBroadcastsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcasts *[]struct {
AccountId *string `json:"accountId,omitempty"`
// AccountName Display name of the sending account
AccountName *string `json:"accountName,omitempty"`
CompletedAt *time.Time `json:"completedAt,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DeliveredCount *int `json:"deliveredCount,omitempty"`
Description *string `json:"description,omitempty"`
FailedCount *int `json:"failedCount,omitempty"`
Id *string `json:"id,omitempty"`
// MessagePreview Template name or message text snippet
MessagePreview *string `json:"messagePreview,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
ReadCount *int `json:"readCount,omitempty"`
RecipientCount *int `json:"recipientCount,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
SentCount *int `json:"sentCount,omitempty"`
StartedAt *time.Time `json:"startedAt,omitempty"`
Status *ListBroadcasts200BroadcastsStatus `json:"status,omitempty"`
} `json:"broadcasts,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListBroadcastsResponse ¶ added in v0.0.76
func ParseListBroadcastsResponse(rsp *http.Response) (*ListBroadcastsResponse, error)
ParseListBroadcastsResponse parses an HTTP response from a ListBroadcastsWithResponse call
func (ListBroadcastsResponse) Status ¶ added in v0.0.76
func (r ListBroadcastsResponse) Status() string
Status returns HTTPResponse.Status
func (ListBroadcastsResponse) StatusCode ¶ added in v0.0.76
func (r ListBroadcastsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCommentAutomationLogs200LogsCommentReplyStatus ¶ added in v0.0.185
type ListCommentAutomationLogs200LogsCommentReplyStatus string
type ListCommentAutomationLogs200LogsStatus ¶ added in v0.0.86
type ListCommentAutomationLogs200LogsStatus string
type ListCommentAutomationLogsParams ¶ added in v0.0.76
type ListCommentAutomationLogsParams struct {
// Status Filter by result status
Status *ListCommentAutomationLogsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListCommentAutomationLogsParams defines parameters for ListCommentAutomationLogs.
type ListCommentAutomationLogsParamsStatus ¶ added in v0.0.76
type ListCommentAutomationLogsParamsStatus string
ListCommentAutomationLogsParamsStatus defines parameters for ListCommentAutomationLogs.
const ( ListCommentAutomationLogsParamsStatusFailed ListCommentAutomationLogsParamsStatus = "failed" ListCommentAutomationLogsParamsStatusSent ListCommentAutomationLogsParamsStatus = "sent" ListCommentAutomationLogsParamsStatusSkipped ListCommentAutomationLogsParamsStatus = "skipped" )
Defines values for ListCommentAutomationLogsParamsStatus.
func (ListCommentAutomationLogsParamsStatus) Valid ¶ added in v0.0.76
func (e ListCommentAutomationLogsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListCommentAutomationLogsParamsStatus enum.
type ListCommentAutomationLogsResponse ¶ added in v0.0.76
type ListCommentAutomationLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Logs *[]struct {
CommentId *string `json:"commentId,omitempty"`
// CommentReplyError Public-reply error message if commentReplyStatus is failed
CommentReplyError *string `json:"commentReplyError,omitempty"`
// CommentReplyStatus Outcome of the optional public reply on the triggering comment. 'skipped' if no commentReply was configured or if the DM failed (the public reply is not attempted in that case).
CommentReplyStatus *ListCommentAutomationLogs200LogsCommentReplyStatus `json:"commentReplyStatus,omitempty"`
CommentText *string `json:"commentText,omitempty"`
CommenterId *string `json:"commenterId,omitempty"`
CommenterName *string `json:"commenterName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// Error DM error message if status is failed
Error *string `json:"error,omitempty"`
Id *string `json:"id,omitempty"`
// Status DM outcome
Status *ListCommentAutomationLogs200LogsStatus `json:"status,omitempty"`
} `json:"logs,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListCommentAutomationLogsResponse ¶ added in v0.0.76
func ParseListCommentAutomationLogsResponse(rsp *http.Response) (*ListCommentAutomationLogsResponse, error)
ParseListCommentAutomationLogsResponse parses an HTTP response from a ListCommentAutomationLogsWithResponse call
func (ListCommentAutomationLogsResponse) Status ¶ added in v0.0.76
func (r ListCommentAutomationLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCommentAutomationLogsResponse) StatusCode ¶ added in v0.0.76
func (r ListCommentAutomationLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCommentAutomations200AutomationsMatchMode ¶ added in v0.0.76
type ListCommentAutomations200AutomationsMatchMode string
type ListCommentAutomations200AutomationsPlatform ¶ added in v0.0.76
type ListCommentAutomations200AutomationsPlatform string
type ListCommentAutomationsParams ¶ added in v0.0.76
type ListCommentAutomationsParams struct {
// ProfileId Filter by profile. Omit to list across all profiles
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
}
ListCommentAutomationsParams defines parameters for ListCommentAutomations.
type ListCommentAutomationsResponse ¶ added in v0.0.76
type ListCommentAutomationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Automations *[]struct {
AccountId *string `json:"accountId,omitempty"`
CommentReply *string `json:"commentReply,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
DmMessage *string `json:"dmMessage,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *ListCommentAutomations200AutomationsMatchMode `json:"matchMode,omitempty"`
Name *string `json:"name,omitempty"`
Platform *ListCommentAutomations200AutomationsPlatform `json:"platform,omitempty"`
PlatformPostId *string `json:"platformPostId,omitempty"`
PostTitle *string `json:"postTitle,omitempty"`
Stats *struct {
DmsFailed *int `json:"dmsFailed,omitempty"`
DmsSent *int `json:"dmsSent,omitempty"`
Triggered *int `json:"triggered,omitempty"`
UniqueContacts *int `json:"uniqueContacts,omitempty"`
} `json:"stats,omitempty"`
} `json:"automations,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListCommentAutomationsResponse ¶ added in v0.0.76
func ParseListCommentAutomationsResponse(rsp *http.Response) (*ListCommentAutomationsResponse, error)
ParseListCommentAutomationsResponse parses an HTTP response from a ListCommentAutomationsWithResponse call
func (ListCommentAutomationsResponse) Status ¶ added in v0.0.76
func (r ListCommentAutomationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCommentAutomationsResponse) StatusCode ¶ added in v0.0.76
func (r ListCommentAutomationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListContactsParams ¶ added in v0.0.76
type ListContactsParams struct {
// ProfileId Filter by profile. Omit to list across all profiles
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
Search *string `form:"search,omitempty" json:"search,omitempty"`
Tag *string `form:"tag,omitempty" json:"tag,omitempty"`
Platform *ListContactsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
IsSubscribed *ListContactsParamsIsSubscribed `form:"isSubscribed,omitempty" json:"isSubscribed,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListContactsParams defines parameters for ListContacts.
type ListContactsParamsIsSubscribed ¶ added in v0.0.76
type ListContactsParamsIsSubscribed string
ListContactsParamsIsSubscribed defines parameters for ListContacts.
const ( ListContactsParamsIsSubscribedFalse ListContactsParamsIsSubscribed = "false" ListContactsParamsIsSubscribedTrue ListContactsParamsIsSubscribed = "true" )
Defines values for ListContactsParamsIsSubscribed.
func (ListContactsParamsIsSubscribed) Valid ¶ added in v0.0.76
func (e ListContactsParamsIsSubscribed) Valid() bool
Valid indicates whether the value is a known member of the ListContactsParamsIsSubscribed enum.
type ListContactsParamsPlatform ¶ added in v0.0.76
type ListContactsParamsPlatform string
ListContactsParamsPlatform defines parameters for ListContacts.
const ( ListContactsParamsPlatformBluesky ListContactsParamsPlatform = "bluesky" ListContactsParamsPlatformFacebook ListContactsParamsPlatform = "facebook" ListContactsParamsPlatformInstagram ListContactsParamsPlatform = "instagram" ListContactsParamsPlatformReddit ListContactsParamsPlatform = "reddit" ListContactsParamsPlatformTelegram ListContactsParamsPlatform = "telegram" ListContactsParamsPlatformTwitter ListContactsParamsPlatform = "twitter" ListContactsParamsPlatformWhatsapp ListContactsParamsPlatform = "whatsapp" )
Defines values for ListContactsParamsPlatform.
func (ListContactsParamsPlatform) Valid ¶ added in v0.0.76
func (e ListContactsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListContactsParamsPlatform enum.
type ListContactsResponse ¶ added in v0.0.76
type ListContactsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Contacts *[]struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Company *string `json:"company,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CustomFields *map[string]interface{} `json:"customFields,omitempty"`
DisplayIdentifier *string `json:"displayIdentifier,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
IsBlocked *bool `json:"isBlocked,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
LastMessageReceivedAt *time.Time `json:"lastMessageReceivedAt,omitempty"`
LastMessageSentAt *time.Time `json:"lastMessageSentAt,omitempty"`
MessagesReceivedCount *int `json:"messagesReceivedCount,omitempty"`
MessagesSentCount *int `json:"messagesSentCount,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Platform *string `json:"platform,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
Tags *[]string `json:"tags,omitempty"`
} `json:"contacts,omitempty"`
Filters *struct {
Tags *[]string `json:"tags,omitempty"`
} `json:"filters,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListContactsResponse ¶ added in v0.0.76
func ParseListContactsResponse(rsp *http.Response) (*ListContactsResponse, error)
ParseListContactsResponse parses an HTTP response from a ListContactsWithResponse call
func (ListContactsResponse) Status ¶ added in v0.0.76
func (r ListContactsResponse) Status() string
Status returns HTTPResponse.Status
func (ListContactsResponse) StatusCode ¶ added in v0.0.76
func (r ListContactsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListConversionDestinations200DestinationsStatus ¶ added in v0.0.149
type ListConversionDestinations200DestinationsStatus string
type ListConversionDestinations200Platform ¶ added in v0.0.149
type ListConversionDestinations200Platform string
type ListConversionDestinationsResponse ¶ added in v0.0.149
type ListConversionDestinationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Destinations *[]struct {
// Id Destination identifier. Meta: pixel ID. Google:
// conversion action resource name.
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *ListConversionDestinations200DestinationsStatus `json:"status,omitempty"`
// Type Present when the platform locks event type to the
// destination (Google conversion actions).
Type *string `json:"type,omitempty"`
} `json:"destinations,omitempty"`
Platform *ListConversionDestinations200Platform `json:"platform,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListConversionDestinationsResponse ¶ added in v0.0.149
func ParseListConversionDestinationsResponse(rsp *http.Response) (*ListConversionDestinationsResponse, error)
ParseListConversionDestinationsResponse parses an HTTP response from a ListConversionDestinationsWithResponse call
func (ListConversionDestinationsResponse) Status ¶ added in v0.0.149
func (r ListConversionDestinationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListConversionDestinationsResponse) StatusCode ¶ added in v0.0.149
func (r ListConversionDestinationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCustomFields200FieldsType ¶ added in v0.0.86
type ListCustomFields200FieldsType string
type ListCustomFieldsParams ¶ added in v0.0.76
type ListCustomFieldsParams struct {
// ProfileId Filter by profile. Omit to list across all profiles
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
}
ListCustomFieldsParams defines parameters for ListCustomFields.
type ListCustomFieldsResponse ¶ added in v0.0.76
type ListCustomFieldsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Fields *[]struct {
CreatedAt *time.Time `json:"createdAt,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Options *[]string `json:"options,omitempty"`
Slug *string `json:"slug,omitempty"`
Type *ListCustomFields200FieldsType `json:"type,omitempty"`
} `json:"fields,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListCustomFieldsResponse ¶ added in v0.0.76
func ParseListCustomFieldsResponse(rsp *http.Response) (*ListCustomFieldsResponse, error)
ParseListCustomFieldsResponse parses an HTTP response from a ListCustomFieldsWithResponse call
func (ListCustomFieldsResponse) Status ¶ added in v0.0.76
func (r ListCustomFieldsResponse) Status() string
Status returns HTTPResponse.Status
func (ListCustomFieldsResponse) StatusCode ¶ added in v0.0.76
func (r ListCustomFieldsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFacebookPagesParams ¶
type ListFacebookPagesParams struct {
// ProfileId Profile ID from your connection flow
ProfileId string `form:"profileId" json:"profileId"`
// TempToken Temporary Facebook access token from the OAuth callback redirect
TempToken string `form:"tempToken" json:"tempToken"`
}
ListFacebookPagesParams defines parameters for ListFacebookPages.
type ListFacebookPagesResponse ¶
type ListFacebookPagesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Pages *[]struct {
// AccessToken Page-specific access token
AccessToken *string `json:"access_token,omitempty"`
// Category Page category
Category *string `json:"category,omitempty"`
// Id Facebook Page ID
Id *string `json:"id,omitempty"`
// Name Page name
Name *string `json:"name,omitempty"`
// Tasks User permissions for this page
Tasks *[]string `json:"tasks,omitempty"`
// Username Page username/handle (may be null)
Username *string `json:"username,omitempty"`
} `json:"pages,omitempty"`
}
JSON401 *Unauthorized
JSON500 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseListFacebookPagesResponse ¶
func ParseListFacebookPagesResponse(rsp *http.Response) (*ListFacebookPagesResponse, error)
ParseListFacebookPagesResponse parses an HTTP response from a ListFacebookPagesWithResponse call
func (ListFacebookPagesResponse) Status ¶
func (r ListFacebookPagesResponse) Status() string
Status returns HTTPResponse.Status
func (ListFacebookPagesResponse) StatusCode ¶
func (r ListFacebookPagesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGoogleBusinessLocationsParams ¶
type ListGoogleBusinessLocationsParams struct {
// ProfileId Profile ID from your connection flow. Required for auth validation when provided.
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// PendingDataToken Token from the OAuth callback redirect. Preferred over tempToken because it preserves server-side token storage. One of pendingDataToken or tempToken is required.
PendingDataToken *string `form:"pendingDataToken,omitempty" json:"pendingDataToken,omitempty"`
// TempToken Legacy. Direct Google access token. Use pendingDataToken instead when available.
TempToken *string `form:"tempToken,omitempty" json:"tempToken,omitempty"`
}
ListGoogleBusinessLocationsParams defines parameters for ListGoogleBusinessLocations.
type ListGoogleBusinessLocationsResponse ¶
type ListGoogleBusinessLocationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Locations *[]struct {
// AccountId Google Business Account ID
AccountId *string `json:"accountId,omitempty"`
// AccountName Account name
AccountName *string `json:"accountName,omitempty"`
// Address Business address
Address *string `json:"address,omitempty"`
// Category Business category
Category *string `json:"category,omitempty"`
// Id Location ID
Id *string `json:"id,omitempty"`
// Name Business name
Name *string `json:"name,omitempty"`
} `json:"locations,omitempty"`
}
JSON401 *Unauthorized
JSON500 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseListGoogleBusinessLocationsResponse ¶
func ParseListGoogleBusinessLocationsResponse(rsp *http.Response) (*ListGoogleBusinessLocationsResponse, error)
ParseListGoogleBusinessLocationsResponse parses an HTTP response from a ListGoogleBusinessLocationsWithResponse call
func (ListGoogleBusinessLocationsResponse) Status ¶
func (r ListGoogleBusinessLocationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGoogleBusinessLocationsResponse) StatusCode ¶
func (r ListGoogleBusinessLocationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGoogleBusinessMedia200MediaItemsMediaFormat ¶
type ListGoogleBusinessMedia200MediaItemsMediaFormat string
type ListGoogleBusinessMediaParams ¶
type ListGoogleBusinessMediaParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
// PageSize Number of items to return (max 100)
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
// PageToken Pagination token from previous response
PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}
ListGoogleBusinessMediaParams defines parameters for ListGoogleBusinessMedia.
type ListGoogleBusinessMediaResponse ¶
type ListGoogleBusinessMediaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
MediaItems *[]struct {
CreateTime *time.Time `json:"createTime,omitempty"`
Description *string `json:"description,omitempty"`
// GoogleUrl Google-hosted URL
GoogleUrl *string `json:"googleUrl,omitempty"`
LocationAssociation *struct {
Category *string `json:"category,omitempty"`
} `json:"locationAssociation,omitempty"`
MediaFormat *ListGoogleBusinessMedia200MediaItemsMediaFormat `json:"mediaFormat,omitempty"`
// Name Resource name
Name *string `json:"name,omitempty"`
SourceUrl *string `json:"sourceUrl,omitempty"`
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
} `json:"mediaItems,omitempty"`
NextPageToken *string `json:"nextPageToken,omitempty"`
Success *bool `json:"success,omitempty"`
TotalMediaItemsCount *int `json:"totalMediaItemsCount,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseListGoogleBusinessMediaResponse ¶
func ParseListGoogleBusinessMediaResponse(rsp *http.Response) (*ListGoogleBusinessMediaResponse, error)
ParseListGoogleBusinessMediaResponse parses an HTTP response from a ListGoogleBusinessMediaWithResponse call
func (ListGoogleBusinessMediaResponse) Status ¶
func (r ListGoogleBusinessMediaResponse) Status() string
Status returns HTTPResponse.Status
func (ListGoogleBusinessMediaResponse) StatusCode ¶
func (r ListGoogleBusinessMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGoogleBusinessPlaceActionsParams ¶
type ListGoogleBusinessPlaceActionsParams struct {
// LocationId Override which location to query. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
PageSize *int `form:"pageSize,omitempty" json:"pageSize,omitempty"`
PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}
ListGoogleBusinessPlaceActionsParams defines parameters for ListGoogleBusinessPlaceActions.
type ListGoogleBusinessPlaceActionsResponse ¶
type ListGoogleBusinessPlaceActionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
NextPageToken *string `json:"nextPageToken,omitempty"`
PlaceActionLinks *[]struct {
CreateTime *time.Time `json:"createTime,omitempty"`
// Name Resource name
Name *string `json:"name,omitempty"`
PlaceActionType *string `json:"placeActionType,omitempty"`
UpdateTime *time.Time `json:"updateTime,omitempty"`
// Uri Action URL
Uri *string `json:"uri,omitempty"`
} `json:"placeActionLinks,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseListGoogleBusinessPlaceActionsResponse ¶
func ParseListGoogleBusinessPlaceActionsResponse(rsp *http.Response) (*ListGoogleBusinessPlaceActionsResponse, error)
ParseListGoogleBusinessPlaceActionsResponse parses an HTTP response from a ListGoogleBusinessPlaceActionsWithResponse call
func (ListGoogleBusinessPlaceActionsResponse) Status ¶
func (r ListGoogleBusinessPlaceActionsResponse) Status() string
Status returns HTTPResponse.Status
func (ListGoogleBusinessPlaceActionsResponse) StatusCode ¶
func (r ListGoogleBusinessPlaceActionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInboxCommentsParams ¶
type ListInboxCommentsParams struct {
// ProfileId Filter by profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// Platform Filter by platform
Platform *ListInboxCommentsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// MinComments Minimum comment count
MinComments *int `form:"minComments,omitempty" json:"minComments,omitempty"`
// Since Posts created after this date
Since *time.Time `form:"since,omitempty" json:"since,omitempty"`
// SortBy Sort field
SortBy *ListInboxCommentsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// SortOrder Sort order
SortOrder *ListInboxCommentsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// AccountId Filter by specific social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}
ListInboxCommentsParams defines parameters for ListInboxComments.
type ListInboxCommentsParamsPlatform ¶
type ListInboxCommentsParamsPlatform string
ListInboxCommentsParamsPlatform defines parameters for ListInboxComments.
const ( ListInboxCommentsParamsPlatformBluesky ListInboxCommentsParamsPlatform = "bluesky" ListInboxCommentsParamsPlatformFacebook ListInboxCommentsParamsPlatform = "facebook" ListInboxCommentsParamsPlatformInstagram ListInboxCommentsParamsPlatform = "instagram" ListInboxCommentsParamsPlatformLinkedin ListInboxCommentsParamsPlatform = "linkedin" ListInboxCommentsParamsPlatformReddit ListInboxCommentsParamsPlatform = "reddit" ListInboxCommentsParamsPlatformThreads ListInboxCommentsParamsPlatform = "threads" ListInboxCommentsParamsPlatformTwitter ListInboxCommentsParamsPlatform = "twitter" ListInboxCommentsParamsPlatformYoutube ListInboxCommentsParamsPlatform = "youtube" )
Defines values for ListInboxCommentsParamsPlatform.
func (ListInboxCommentsParamsPlatform) Valid ¶
func (e ListInboxCommentsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListInboxCommentsParamsPlatform enum.
type ListInboxCommentsParamsSortBy ¶
type ListInboxCommentsParamsSortBy string
ListInboxCommentsParamsSortBy defines parameters for ListInboxComments.
const ( ListInboxCommentsParamsSortByComments ListInboxCommentsParamsSortBy = "comments" ListInboxCommentsParamsSortByDate ListInboxCommentsParamsSortBy = "date" )
Defines values for ListInboxCommentsParamsSortBy.
func (ListInboxCommentsParamsSortBy) Valid ¶
func (e ListInboxCommentsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the ListInboxCommentsParamsSortBy enum.
type ListInboxCommentsParamsSortOrder ¶
type ListInboxCommentsParamsSortOrder string
ListInboxCommentsParamsSortOrder defines parameters for ListInboxComments.
const ( ListInboxCommentsParamsSortOrderAsc ListInboxCommentsParamsSortOrder = "asc" ListInboxCommentsParamsSortOrderDesc ListInboxCommentsParamsSortOrder = "desc" )
Defines values for ListInboxCommentsParamsSortOrder.
func (ListInboxCommentsParamsSortOrder) Valid ¶
func (e ListInboxCommentsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the ListInboxCommentsParamsSortOrder enum.
type ListInboxCommentsResponse ¶
type ListInboxCommentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
// Cid Bluesky content identifier
Cid *string `json:"cid,omitempty"`
CommentCount *int `json:"commentCount,omitempty"`
Content *string `json:"content,omitempty"`
CreatedTime *time.Time `json:"createdTime,omitempty"`
Id *string `json:"id,omitempty"`
LikeCount *int `json:"likeCount,omitempty"`
Permalink *string `json:"permalink,omitempty"`
Picture *string `json:"picture,omitempty"`
Platform *string `json:"platform,omitempty"`
// Subreddit Reddit subreddit name
Subreddit *string `json:"subreddit,omitempty"`
} `json:"data,omitempty"`
Meta *struct {
AccountsFailed *int `json:"accountsFailed,omitempty"`
AccountsQueried *int `json:"accountsQueried,omitempty"`
FailedAccounts *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
// Code Error code if available
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
Platform *string `json:"platform,omitempty"`
// RetryAfter Seconds to wait before retry (rate limits)
RetryAfter *int `json:"retryAfter,omitempty"`
} `json:"failedAccounts,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
} `json:"meta,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
} `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListInboxCommentsResponse ¶
func ParseListInboxCommentsResponse(rsp *http.Response) (*ListInboxCommentsResponse, error)
ParseListInboxCommentsResponse parses an HTTP response from a ListInboxCommentsWithResponse call
func (ListInboxCommentsResponse) Status ¶
func (r ListInboxCommentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInboxCommentsResponse) StatusCode ¶
func (r ListInboxCommentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInboxConversations200DataParticipantVerifiedType ¶ added in v0.0.89
type ListInboxConversations200DataParticipantVerifiedType string
type ListInboxConversations200DataStatus ¶
type ListInboxConversations200DataStatus string
type ListInboxConversationsParams ¶
type ListInboxConversationsParams struct {
// ProfileId Filter by profile ID
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
// Platform Filter by platform
Platform *ListInboxConversationsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Status Filter by conversation status
Status *ListInboxConversationsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// SortOrder Sort order by updated time
SortOrder *ListInboxConversationsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
// Limit Maximum number of conversations to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Pagination cursor for next page
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// AccountId Filter by specific social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}
ListInboxConversationsParams defines parameters for ListInboxConversations.
type ListInboxConversationsParamsPlatform ¶
type ListInboxConversationsParamsPlatform string
ListInboxConversationsParamsPlatform defines parameters for ListInboxConversations.
const ( ListInboxConversationsParamsPlatformBluesky ListInboxConversationsParamsPlatform = "bluesky" ListInboxConversationsParamsPlatformFacebook ListInboxConversationsParamsPlatform = "facebook" ListInboxConversationsParamsPlatformInstagram ListInboxConversationsParamsPlatform = "instagram" ListInboxConversationsParamsPlatformReddit ListInboxConversationsParamsPlatform = "reddit" ListInboxConversationsParamsPlatformTelegram ListInboxConversationsParamsPlatform = "telegram" ListInboxConversationsParamsPlatformTwitter ListInboxConversationsParamsPlatform = "twitter" )
Defines values for ListInboxConversationsParamsPlatform.
func (ListInboxConversationsParamsPlatform) Valid ¶
func (e ListInboxConversationsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListInboxConversationsParamsPlatform enum.
type ListInboxConversationsParamsSortOrder ¶
type ListInboxConversationsParamsSortOrder string
ListInboxConversationsParamsSortOrder defines parameters for ListInboxConversations.
const ( ListInboxConversationsParamsSortOrderAsc ListInboxConversationsParamsSortOrder = "asc" ListInboxConversationsParamsSortOrderDesc ListInboxConversationsParamsSortOrder = "desc" )
Defines values for ListInboxConversationsParamsSortOrder.
func (ListInboxConversationsParamsSortOrder) Valid ¶
func (e ListInboxConversationsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the ListInboxConversationsParamsSortOrder enum.
type ListInboxConversationsParamsStatus ¶
type ListInboxConversationsParamsStatus string
ListInboxConversationsParamsStatus defines parameters for ListInboxConversations.
const ( ListInboxConversationsParamsStatusActive ListInboxConversationsParamsStatus = "active" ListInboxConversationsParamsStatusArchived ListInboxConversationsParamsStatus = "archived" )
Defines values for ListInboxConversationsParamsStatus.
func (ListInboxConversationsParamsStatus) Valid ¶
func (e ListInboxConversationsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListInboxConversationsParamsStatus enum.
type ListInboxConversationsResponse ¶
type ListInboxConversationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
Id *string `json:"id,omitempty"`
// InstagramProfile Instagram profile data for the participant. Only present for Instagram conversations.
InstagramProfile *struct {
// FetchedAt When this profile data was last fetched from Instagram
FetchedAt *time.Time `json:"fetchedAt,omitempty"`
// FollowerCount The participant's follower count on Instagram
FollowerCount *int `json:"followerCount,omitempty"`
// IsFollower Whether the participant follows your Instagram business account
IsFollower *bool `json:"isFollower,omitempty"`
// IsFollowing Whether your Instagram business account follows the participant
IsFollowing *bool `json:"isFollowing,omitempty"`
// IsVerified Whether the participant is a verified Instagram user
IsVerified *bool `json:"isVerified,omitempty"`
} `json:"instagramProfile,omitempty"`
LastMessage *string `json:"lastMessage,omitempty"`
ParticipantId *string `json:"participantId,omitempty"`
ParticipantName *string `json:"participantName,omitempty"`
ParticipantPicture *string `json:"participantPicture,omitempty"`
// ParticipantVerifiedType X/Twitter verified badge type. Only present for Twitter/X conversations.
ParticipantVerifiedType *ListInboxConversations200DataParticipantVerifiedType `json:"participantVerifiedType,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *ListInboxConversations200DataStatus `json:"status,omitempty"`
// UnreadCount Number of unread messages
UnreadCount *int `json:"unreadCount,omitempty"`
UpdatedTime *time.Time `json:"updatedTime,omitempty"`
// Url Direct link to open the conversation on the platform (if available)
Url *string `json:"url,omitempty"`
} `json:"data,omitempty"`
Meta *struct {
AccountsFailed *int `json:"accountsFailed,omitempty"`
AccountsQueried *int `json:"accountsQueried,omitempty"`
FailedAccounts *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
// Code Error code if available
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
Platform *string `json:"platform,omitempty"`
// RetryAfter Seconds to wait before retry (rate limits)
RetryAfter *int `json:"retryAfter,omitempty"`
} `json:"failedAccounts,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
} `json:"meta,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
} `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListInboxConversationsResponse ¶
func ParseListInboxConversationsResponse(rsp *http.Response) (*ListInboxConversationsResponse, error)
ParseListInboxConversationsResponse parses an HTTP response from a ListInboxConversationsWithResponse call
func (ListInboxConversationsResponse) Status ¶
func (r ListInboxConversationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInboxConversationsResponse) StatusCode ¶
func (r ListInboxConversationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListInboxReviewsParams ¶
type ListInboxReviewsParams struct {
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
Platform *ListInboxReviewsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
MinRating *int `form:"minRating,omitempty" json:"minRating,omitempty"`
MaxRating *int `form:"maxRating,omitempty" json:"maxRating,omitempty"`
// HasReply Filter by reply status
HasReply *bool `form:"hasReply,omitempty" json:"hasReply,omitempty"`
SortBy *ListInboxReviewsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
SortOrder *ListInboxReviewsParamsSortOrder `form:"sortOrder,omitempty" json:"sortOrder,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// AccountId Filter by specific social account ID
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}
ListInboxReviewsParams defines parameters for ListInboxReviews.
type ListInboxReviewsParamsPlatform ¶
type ListInboxReviewsParamsPlatform string
ListInboxReviewsParamsPlatform defines parameters for ListInboxReviews.
const ( ListInboxReviewsParamsPlatformFacebook ListInboxReviewsParamsPlatform = "facebook" ListInboxReviewsParamsPlatformGooglebusiness ListInboxReviewsParamsPlatform = "googlebusiness" )
Defines values for ListInboxReviewsParamsPlatform.
func (ListInboxReviewsParamsPlatform) Valid ¶
func (e ListInboxReviewsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListInboxReviewsParamsPlatform enum.
type ListInboxReviewsParamsSortBy ¶
type ListInboxReviewsParamsSortBy string
ListInboxReviewsParamsSortBy defines parameters for ListInboxReviews.
const ( Date ListInboxReviewsParamsSortBy = "date" Rating ListInboxReviewsParamsSortBy = "rating" )
Defines values for ListInboxReviewsParamsSortBy.
func (ListInboxReviewsParamsSortBy) Valid ¶
func (e ListInboxReviewsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the ListInboxReviewsParamsSortBy enum.
type ListInboxReviewsParamsSortOrder ¶
type ListInboxReviewsParamsSortOrder string
ListInboxReviewsParamsSortOrder defines parameters for ListInboxReviews.
const ( Asc ListInboxReviewsParamsSortOrder = "asc" Desc ListInboxReviewsParamsSortOrder = "desc" )
Defines values for ListInboxReviewsParamsSortOrder.
func (ListInboxReviewsParamsSortOrder) Valid ¶
func (e ListInboxReviewsParamsSortOrder) Valid() bool
Valid indicates whether the value is a known member of the ListInboxReviewsParamsSortOrder enum.
type ListInboxReviewsResponse ¶
type ListInboxReviewsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
Created *time.Time `json:"created,omitempty"`
HasReply *bool `json:"hasReply,omitempty"`
Id *string `json:"id,omitempty"`
Platform *string `json:"platform,omitempty"`
Rating *int `json:"rating,omitempty"`
Reply *struct {
Created *time.Time `json:"created,omitempty"`
Id *string `json:"id,omitempty"`
Text *string `json:"text,omitempty"`
} `json:"reply,omitempty"`
ReviewUrl *string `json:"reviewUrl,omitempty"`
Reviewer *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ProfileImage *string `json:"profileImage,omitempty"`
} `json:"reviewer,omitempty"`
Text *string `json:"text,omitempty"`
} `json:"data,omitempty"`
Meta *struct {
AccountsFailed *int `json:"accountsFailed,omitempty"`
AccountsQueried *int `json:"accountsQueried,omitempty"`
FailedAccounts *[]struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
// Code Error code if available
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
Platform *string `json:"platform,omitempty"`
// RetryAfter Seconds to wait before retry (rate limits)
RetryAfter *int `json:"retryAfter,omitempty"`
} `json:"failedAccounts,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
} `json:"meta,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
NextCursor *string `json:"nextCursor,omitempty"`
} `json:"pagination,omitempty"`
Status *string `json:"status,omitempty"`
Summary *struct {
AverageRating *float32 `json:"averageRating,omitempty"`
TotalReviews *int `json:"totalReviews,omitempty"`
} `json:"summary,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListInboxReviewsResponse ¶
func ParseListInboxReviewsResponse(rsp *http.Response) (*ListInboxReviewsResponse, error)
ParseListInboxReviewsResponse parses an HTTP response from a ListInboxReviewsWithResponse call
func (ListInboxReviewsResponse) Status ¶
func (r ListInboxReviewsResponse) Status() string
Status returns HTTPResponse.Status
func (ListInboxReviewsResponse) StatusCode ¶
func (r ListInboxReviewsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLinkedInOrganizationsParams ¶
type ListLinkedInOrganizationsParams struct {
// TempToken The temporary LinkedIn access token from the OAuth redirect
TempToken string `form:"tempToken" json:"tempToken"`
// OrgIds Comma-separated list of organization IDs to fetch details for (max 100)
OrgIds string `form:"orgIds" json:"orgIds"`
}
ListLinkedInOrganizationsParams defines parameters for ListLinkedInOrganizations.
type ListLinkedInOrganizationsResponse ¶
type ListLinkedInOrganizationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Organizations *[]struct {
// Description Organization's description
Description *string `json:"description,omitempty"`
// Id Organization ID
Id *string `json:"id,omitempty"`
// Industry Organization's primary industry
Industry *string `json:"industry,omitempty"`
// LogoUrl Logo URL (may be absent if no logo)
LogoUrl *string `json:"logoUrl,omitempty"`
// VanityName Organization's vanity name/slug
VanityName *string `json:"vanityName,omitempty"`
// Website Organization's website URL
Website *string `json:"website,omitempty"`
} `json:"organizations,omitempty"`
}
JSON400 *struct {
Error *string `json:"error,omitempty"`
}
}
func ParseListLinkedInOrganizationsResponse ¶
func ParseListLinkedInOrganizationsResponse(rsp *http.Response) (*ListLinkedInOrganizationsResponse, error)
ParseListLinkedInOrganizationsResponse parses an HTTP response from a ListLinkedInOrganizationsWithResponse call
func (ListLinkedInOrganizationsResponse) Status ¶
func (r ListLinkedInOrganizationsResponse) Status() string
Status returns HTTPResponse.Status
func (ListLinkedInOrganizationsResponse) StatusCode ¶
func (r ListLinkedInOrganizationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListLogs200LogsStatus ¶ added in v0.0.125
type ListLogs200LogsStatus string
type ListLogsParams ¶ added in v0.0.125
type ListLogsParams struct {
// Type Log category to query
Type *ListLogsParamsType `form:"type,omitempty" json:"type,omitempty"`
// Status Filter by status
Status *ListLogsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
// Platform Filter by platform
Platform *ListLogsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`
// Action Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
Action *string `form:"action,omitempty" json:"action,omitempty"`
// Search Free-text search across log fields
Search *string `form:"search,omitempty" json:"search,omitempty"`
// Days Number of days to look back (max 90)
Days *int `form:"days,omitempty" json:"days,omitempty"`
// Limit Maximum number of logs to return (max 100)
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// Skip Number of logs to skip (for pagination)
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListLogsParams defines parameters for ListLogs.
type ListLogsParamsPlatform ¶ added in v0.0.125
type ListLogsParamsPlatform string
ListLogsParamsPlatform defines parameters for ListLogs.
const ( ListLogsParamsPlatformAll ListLogsParamsPlatform = "all" ListLogsParamsPlatformBluesky ListLogsParamsPlatform = "bluesky" ListLogsParamsPlatformFacebook ListLogsParamsPlatform = "facebook" ListLogsParamsPlatformGooglebusiness ListLogsParamsPlatform = "googlebusiness" ListLogsParamsPlatformInstagram ListLogsParamsPlatform = "instagram" ListLogsParamsPlatformLinkedin ListLogsParamsPlatform = "linkedin" ListLogsParamsPlatformPinterest ListLogsParamsPlatform = "pinterest" ListLogsParamsPlatformReddit ListLogsParamsPlatform = "reddit" ListLogsParamsPlatformSnapchat ListLogsParamsPlatform = "snapchat" ListLogsParamsPlatformTelegram ListLogsParamsPlatform = "telegram" ListLogsParamsPlatformThreads ListLogsParamsPlatform = "threads" ListLogsParamsPlatformTiktok ListLogsParamsPlatform = "tiktok" ListLogsParamsPlatformTwitter ListLogsParamsPlatform = "twitter" ListLogsParamsPlatformWhatsapp ListLogsParamsPlatform = "whatsapp" ListLogsParamsPlatformYoutube ListLogsParamsPlatform = "youtube" )
Defines values for ListLogsParamsPlatform.
func (ListLogsParamsPlatform) Valid ¶ added in v0.0.125
func (e ListLogsParamsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ListLogsParamsPlatform enum.
type ListLogsParamsStatus ¶ added in v0.0.125
type ListLogsParamsStatus string
ListLogsParamsStatus defines parameters for ListLogs.
const ( ListLogsParamsStatusAll ListLogsParamsStatus = "all" ListLogsParamsStatusFailed ListLogsParamsStatus = "failed" ListLogsParamsStatusPending ListLogsParamsStatus = "pending" ListLogsParamsStatusSkipped ListLogsParamsStatus = "skipped" ListLogsParamsStatusSuccess ListLogsParamsStatus = "success" )
Defines values for ListLogsParamsStatus.
func (ListLogsParamsStatus) Valid ¶ added in v0.0.125
func (e ListLogsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListLogsParamsStatus enum.
type ListLogsParamsType ¶ added in v0.0.125
type ListLogsParamsType string
ListLogsParamsType defines parameters for ListLogs.
const ( Connections ListLogsParamsType = "connections" Messaging ListLogsParamsType = "messaging" Publishing ListLogsParamsType = "publishing" Webhooks ListLogsParamsType = "webhooks" )
Defines values for ListLogsParamsType.
func (ListLogsParamsType) Valid ¶ added in v0.0.125
func (e ListLogsParamsType) Valid() bool
Valid indicates whether the value is a known member of the ListLogsParamsType enum.
type ListLogsResponse ¶ added in v0.0.125
type ListLogsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Logs *[]struct {
AccountId *string `json:"account_id,omitempty"`
// Action Specific action (post.published, message.sent, account.connected, etc.)
Action *string `json:"action,omitempty"`
CreatedAt *time.Time `json:"created_at,omitempty"`
DurationMs *int `json:"duration_ms,omitempty"`
// Endpoint The API endpoint that triggered this log
Endpoint *string `json:"endpoint,omitempty"`
ErrorCode *string `json:"error_code,omitempty"`
ErrorMessage *string `json:"error_message,omitempty"`
// Metadata Additional context as JSON string
Metadata *string `json:"metadata,omitempty"`
Platform *string `json:"platform,omitempty"`
// RequestBody Request JSON (truncated to 5KB)
RequestBody *string `json:"request_body,omitempty"`
// ResponseBody Response JSON (truncated to 10KB)
ResponseBody *string `json:"response_body,omitempty"`
Status *ListLogs200LogsStatus `json:"status,omitempty"`
StatusCode *int `json:"status_code,omitempty"`
// Type Log category (publishing, connections, webhooks, messaging)
Type *string `json:"type,omitempty"`
UserId *string `json:"user_id,omitempty"`
} `json:"logs,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Pages *int `json:"pages,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListLogsResponse ¶ added in v0.0.125
func ParseListLogsResponse(rsp *http.Response) (*ListLogsResponse, error)
ParseListLogsResponse parses an HTTP response from a ListLogsWithResponse call
func (ListLogsResponse) Status ¶ added in v0.0.125
func (r ListLogsResponse) Status() string
Status returns HTTPResponse.Status
func (ListLogsResponse) StatusCode ¶ added in v0.0.125
func (r ListLogsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPinterestBoardsForSelectionParams ¶
type ListPinterestBoardsForSelectionParams struct {
// ProfileId Your Zernio profile ID
ProfileId string `form:"profileId" json:"profileId"`
// TempToken Temporary Pinterest access token from the OAuth callback redirect
TempToken string `form:"tempToken" json:"tempToken"`
// XConnectToken Short-lived connect token from the OAuth redirect
XConnectToken string `json:"X-Connect-Token"`
}
ListPinterestBoardsForSelectionParams defines parameters for ListPinterestBoardsForSelection.
type ListPinterestBoardsForSelectionResponse ¶
type ListPinterestBoardsForSelectionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Boards *[]struct {
// Description Board description
Description *string `json:"description,omitempty"`
// Id Pinterest Board ID
Id *string `json:"id,omitempty"`
// Name Board name
Name *string `json:"name,omitempty"`
// Privacy Board privacy setting
Privacy *string `json:"privacy,omitempty"`
} `json:"boards,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListPinterestBoardsForSelectionResponse ¶
func ParseListPinterestBoardsForSelectionResponse(rsp *http.Response) (*ListPinterestBoardsForSelectionResponse, error)
ParseListPinterestBoardsForSelectionResponse parses an HTTP response from a ListPinterestBoardsForSelectionWithResponse call
func (ListPinterestBoardsForSelectionResponse) Status ¶
func (r ListPinterestBoardsForSelectionResponse) Status() string
Status returns HTTPResponse.Status
func (ListPinterestBoardsForSelectionResponse) StatusCode ¶
func (r ListPinterestBoardsForSelectionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPostsParams ¶
type ListPostsParams struct {
// Page Page number (1-based)
Page *PageParam `form:"page,omitempty" json:"page,omitempty"`
// Limit Page size
Limit *LimitParam `form:"limit,omitempty" json:"limit,omitempty"`
Status *ListPostsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Platform *string `form:"platform,omitempty" json:"platform,omitempty"`
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
CreatedBy *string `form:"createdBy,omitempty" json:"createdBy,omitempty"`
DateFrom *openapi_types.Date `form:"dateFrom,omitempty" json:"dateFrom,omitempty"`
DateTo *openapi_types.Date `form:"dateTo,omitempty" json:"dateTo,omitempty"`
IncludeHidden *bool `form:"includeHidden,omitempty" json:"includeHidden,omitempty"`
// Search Search posts by text content.
Search *string `form:"search,omitempty" json:"search,omitempty"`
// SortBy Sort order for results.
SortBy *ListPostsParamsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
// AccountId Filter posts to those published via a specific social account (24-char hex ObjectId).
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}
ListPostsParams defines parameters for ListPosts.
type ListPostsParamsSortBy ¶
type ListPostsParamsSortBy string
ListPostsParamsSortBy defines parameters for ListPosts.
const ( ListPostsParamsSortByCreatedAsc ListPostsParamsSortBy = "created-asc" ListPostsParamsSortByCreatedDesc ListPostsParamsSortBy = "created-desc" ListPostsParamsSortByPlatform ListPostsParamsSortBy = "platform" ListPostsParamsSortByScheduledAsc ListPostsParamsSortBy = "scheduled-asc" ListPostsParamsSortByScheduledDesc ListPostsParamsSortBy = "scheduled-desc" ListPostsParamsSortByStatus ListPostsParamsSortBy = "status" )
Defines values for ListPostsParamsSortBy.
func (ListPostsParamsSortBy) Valid ¶
func (e ListPostsParamsSortBy) Valid() bool
Valid indicates whether the value is a known member of the ListPostsParamsSortBy enum.
type ListPostsParamsStatus ¶
type ListPostsParamsStatus string
ListPostsParamsStatus defines parameters for ListPosts.
const ( ListPostsParamsStatusDraft ListPostsParamsStatus = "draft" ListPostsParamsStatusFailed ListPostsParamsStatus = "failed" ListPostsParamsStatusPublished ListPostsParamsStatus = "published" ListPostsParamsStatusScheduled ListPostsParamsStatus = "scheduled" )
Defines values for ListPostsParamsStatus.
func (ListPostsParamsStatus) Valid ¶
func (e ListPostsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListPostsParamsStatus enum.
type ListPostsResponse ¶
type ListPostsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PostsListResponse
JSON401 *Unauthorized
}
func ParseListPostsResponse ¶
func ParseListPostsResponse(rsp *http.Response) (*ListPostsResponse, error)
ParseListPostsResponse parses an HTTP response from a ListPostsWithResponse call
func (ListPostsResponse) Status ¶
func (r ListPostsResponse) Status() string
Status returns HTTPResponse.Status
func (ListPostsResponse) StatusCode ¶
func (r ListPostsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListProfilesParams ¶
type ListProfilesParams struct {
// IncludeOverLimit When true, includes over-limit profiles (marked with isOverLimit: true).
IncludeOverLimit *bool `form:"includeOverLimit,omitempty" json:"includeOverLimit,omitempty"`
}
ListProfilesParams defines parameters for ListProfiles.
type ListProfilesResponse ¶
type ListProfilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ProfilesListResponse
JSON401 *Unauthorized
}
func ParseListProfilesResponse ¶
func ParseListProfilesResponse(rsp *http.Response) (*ListProfilesResponse, error)
ParseListProfilesResponse parses an HTTP response from a ListProfilesWithResponse call
func (ListProfilesResponse) Status ¶
func (r ListProfilesResponse) Status() string
Status returns HTTPResponse.Status
func (ListProfilesResponse) StatusCode ¶
func (r ListProfilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListQueueSlots2000 ¶
type ListQueueSlots2000 struct {
Exists *bool `json:"exists,omitempty"`
NextSlots *[]time.Time `json:"nextSlots,omitempty"`
Schedule *QueueSchedule `json:"schedule,omitempty"`
}
type ListQueueSlots2001 ¶
type ListQueueSlots2001 struct {
Count *int `json:"count,omitempty"`
Queues *[]QueueSchedule `json:"queues,omitempty"`
}
type ListQueueSlotsParams ¶
type ListQueueSlotsParams struct {
// ProfileId Profile ID to get queues for
ProfileId string `form:"profileId" json:"profileId"`
// QueueId Specific queue ID to retrieve (optional)
QueueId *string `form:"queueId,omitempty" json:"queueId,omitempty"`
// All Set to 'true' to list all queues for the profile
All *ListQueueSlotsParamsAll `form:"all,omitempty" json:"all,omitempty"`
}
ListQueueSlotsParams defines parameters for ListQueueSlots.
type ListQueueSlotsParamsAll ¶
type ListQueueSlotsParamsAll string
ListQueueSlotsParamsAll defines parameters for ListQueueSlots.
const (
True ListQueueSlotsParamsAll = "true"
)
Defines values for ListQueueSlotsParamsAll.
func (ListQueueSlotsParamsAll) Valid ¶
func (e ListQueueSlotsParamsAll) Valid() bool
Valid indicates whether the value is a known member of the ListQueueSlotsParamsAll enum.
type ListQueueSlotsResponse ¶
type ListQueueSlotsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *Unauthorized
}
func ParseListQueueSlotsResponse ¶
func ParseListQueueSlotsResponse(rsp *http.Response) (*ListQueueSlotsResponse, error)
ParseListQueueSlotsResponse parses an HTTP response from a ListQueueSlotsWithResponse call
func (ListQueueSlotsResponse) Status ¶
func (r ListQueueSlotsResponse) Status() string
Status returns HTTPResponse.Status
func (ListQueueSlotsResponse) StatusCode ¶
func (r ListQueueSlotsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSequenceEnrollments200EnrollmentsStatus ¶ added in v0.0.84
type ListSequenceEnrollments200EnrollmentsStatus string
type ListSequenceEnrollmentsParams ¶ added in v0.0.76
type ListSequenceEnrollmentsParams struct {
Status *ListSequenceEnrollmentsParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListSequenceEnrollmentsParams defines parameters for ListSequenceEnrollments.
type ListSequenceEnrollmentsParamsStatus ¶ added in v0.0.76
type ListSequenceEnrollmentsParamsStatus string
ListSequenceEnrollmentsParamsStatus defines parameters for ListSequenceEnrollments.
const ( ListSequenceEnrollmentsParamsStatusActive ListSequenceEnrollmentsParamsStatus = "active" ListSequenceEnrollmentsParamsStatusCompleted ListSequenceEnrollmentsParamsStatus = "completed" ListSequenceEnrollmentsParamsStatusExited ListSequenceEnrollmentsParamsStatus = "exited" ListSequenceEnrollmentsParamsStatusPaused ListSequenceEnrollmentsParamsStatus = "paused" )
Defines values for ListSequenceEnrollmentsParamsStatus.
func (ListSequenceEnrollmentsParamsStatus) Valid ¶ added in v0.0.76
func (e ListSequenceEnrollmentsParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListSequenceEnrollmentsParamsStatus enum.
type ListSequenceEnrollmentsResponse ¶ added in v0.0.76
type ListSequenceEnrollmentsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Enrollments *[]struct {
ChannelId *string `json:"channelId,omitempty"`
ContactId *string `json:"contactId,omitempty"`
ContactName *string `json:"contactName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
CurrentStepIndex *int `json:"currentStepIndex,omitempty"`
ExitReason *string `json:"exitReason,omitempty"`
Id *string `json:"id,omitempty"`
LastStepSentAt *time.Time `json:"lastStepSentAt,omitempty"`
NextStepAt *time.Time `json:"nextStepAt,omitempty"`
PlatformIdentifier *string `json:"platformIdentifier,omitempty"`
Status *ListSequenceEnrollments200EnrollmentsStatus `json:"status,omitempty"`
StepsSent *int `json:"stepsSent,omitempty"`
} `json:"enrollments,omitempty"`
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseListSequenceEnrollmentsResponse ¶ added in v0.0.76
func ParseListSequenceEnrollmentsResponse(rsp *http.Response) (*ListSequenceEnrollmentsResponse, error)
ParseListSequenceEnrollmentsResponse parses an HTTP response from a ListSequenceEnrollmentsWithResponse call
func (ListSequenceEnrollmentsResponse) Status ¶ added in v0.0.76
func (r ListSequenceEnrollmentsResponse) Status() string
Status returns HTTPResponse.Status
func (ListSequenceEnrollmentsResponse) StatusCode ¶ added in v0.0.76
func (r ListSequenceEnrollmentsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSequences200SequencesStatus ¶ added in v0.0.83
type ListSequences200SequencesStatus string
type ListSequencesParams ¶ added in v0.0.76
type ListSequencesParams struct {
// ProfileId Filter by profile. Omit to list across all profiles
ProfileId *string `form:"profileId,omitempty" json:"profileId,omitempty"`
Status *ListSequencesParamsStatus `form:"status,omitempty" json:"status,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
Skip *int `form:"skip,omitempty" json:"skip,omitempty"`
}
ListSequencesParams defines parameters for ListSequences.
type ListSequencesParamsStatus ¶ added in v0.0.76
type ListSequencesParamsStatus string
ListSequencesParamsStatus defines parameters for ListSequences.
const ( ListSequencesParamsStatusActive ListSequencesParamsStatus = "active" ListSequencesParamsStatusDraft ListSequencesParamsStatus = "draft" ListSequencesParamsStatusPaused ListSequencesParamsStatus = "paused" )
Defines values for ListSequencesParamsStatus.
func (ListSequencesParamsStatus) Valid ¶ added in v0.0.76
func (e ListSequencesParamsStatus) Valid() bool
Valid indicates whether the value is a known member of the ListSequencesParamsStatus enum.
type ListSequencesResponse ¶ added in v0.0.76
type ListSequencesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Pagination *struct {
HasMore *bool `json:"hasMore,omitempty"`
Limit *int `json:"limit,omitempty"`
Skip *int `json:"skip,omitempty"`
Total *int `json:"total,omitempty"`
} `json:"pagination,omitempty"`
Sequences *[]struct {
AccountId *string `json:"accountId,omitempty"`
// AccountName Display name of the sending account
AccountName *string `json:"accountName,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
ExitOnReply *bool `json:"exitOnReply,omitempty"`
ExitOnUnsubscribe *bool `json:"exitOnUnsubscribe,omitempty"`
Id *string `json:"id,omitempty"`
// MessagePreview First step template name or message text snippet
MessagePreview *string `json:"messagePreview,omitempty"`
Name *string `json:"name,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *ListSequences200SequencesStatus `json:"status,omitempty"`
StepsCount *int `json:"stepsCount,omitempty"`
TotalCompleted *int `json:"totalCompleted,omitempty"`
TotalEnrolled *int `json:"totalEnrolled,omitempty"`
TotalExited *int `json:"totalExited,omitempty"`
} `json:"sequences,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSequencesResponse ¶ added in v0.0.76
func ParseListSequencesResponse(rsp *http.Response) (*ListSequencesResponse, error)
ParseListSequencesResponse parses an HTTP response from a ListSequencesWithResponse call
func (ListSequencesResponse) Status ¶ added in v0.0.76
func (r ListSequencesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSequencesResponse) StatusCode ¶ added in v0.0.76
func (r ListSequencesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSnapchatProfilesParams ¶
type ListSnapchatProfilesParams struct {
// ProfileId Your Zernio profile ID
ProfileId string `form:"profileId" json:"profileId"`
// TempToken Temporary Snapchat access token from the OAuth callback redirect
TempToken string `form:"tempToken" json:"tempToken"`
// XConnectToken Short-lived connect token from the OAuth redirect
XConnectToken string `json:"X-Connect-Token"`
}
ListSnapchatProfilesParams defines parameters for ListSnapchatProfiles.
type ListSnapchatProfilesResponse ¶
type ListSnapchatProfilesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
PublicProfiles *[]struct {
// DisplayName Public profile display name
DisplayName *string `json:"display_name,omitempty"`
// Id Snapchat Public Profile ID
Id *string `json:"id,omitempty"`
// ProfileImageUrl Profile image URL
ProfileImageUrl *string `json:"profile_image_url,omitempty"`
// SubscriberCount Number of subscribers
SubscriberCount *int `json:"subscriber_count,omitempty"`
// Username Public profile username/handle
Username *string `json:"username,omitempty"`
} `json:"publicProfiles,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListSnapchatProfilesResponse ¶
func ParseListSnapchatProfilesResponse(rsp *http.Response) (*ListSnapchatProfilesResponse, error)
ParseListSnapchatProfilesResponse parses an HTTP response from a ListSnapchatProfilesWithResponse call
func (ListSnapchatProfilesResponse) Status ¶
func (r ListSnapchatProfilesResponse) Status() string
Status returns HTTPResponse.Status
func (ListSnapchatProfilesResponse) StatusCode ¶
func (r ListSnapchatProfilesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListUsersResponse ¶
type ListUsersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CurrentUserId *string `json:"currentUserId,omitempty"`
Users *[]struct {
UnderscoreId *string `json:"_id,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Email *string `json:"email,omitempty"`
IsRoot *bool `json:"isRoot,omitempty"`
Name *string `json:"name,omitempty"`
ProfileAccess *[]string `json:"profileAccess,omitempty"`
Role *string `json:"role,omitempty"`
} `json:"users,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListUsersResponse ¶
func ParseListUsersResponse(rsp *http.Response) (*ListUsersResponse, error)
ParseListUsersResponse parses an HTTP response from a ListUsersWithResponse call
func (ListUsersResponse) Status ¶
func (r ListUsersResponse) Status() string
Status returns HTTPResponse.Status
func (ListUsersResponse) StatusCode ¶
func (r ListUsersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWhatsAppFlows200FlowsStatus ¶ added in v0.0.117
type ListWhatsAppFlows200FlowsStatus string
type ListWhatsAppFlowsParams ¶ added in v0.0.117
type ListWhatsAppFlowsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
ListWhatsAppFlowsParams defines parameters for ListWhatsAppFlows.
type ListWhatsAppFlowsResponse ¶ added in v0.0.117
type ListWhatsAppFlowsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Flows *[]struct {
Categories *[]string `json:"categories,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *ListWhatsAppFlows200FlowsStatus `json:"status,omitempty"`
ValidationErrors *[]map[string]interface{} `json:"validation_errors,omitempty"`
} `json:"flows,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListWhatsAppFlowsResponse ¶ added in v0.0.117
func ParseListWhatsAppFlowsResponse(rsp *http.Response) (*ListWhatsAppFlowsResponse, error)
ParseListWhatsAppFlowsResponse parses an HTTP response from a ListWhatsAppFlowsWithResponse call
func (ListWhatsAppFlowsResponse) Status ¶ added in v0.0.117
func (r ListWhatsAppFlowsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWhatsAppFlowsResponse) StatusCode ¶ added in v0.0.117
func (r ListWhatsAppFlowsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWhatsAppGroupChatsParams ¶ added in v0.0.92
type ListWhatsAppGroupChatsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
// Limit Max groups to return
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
// After Pagination cursor
After *string `form:"after,omitempty" json:"after,omitempty"`
}
ListWhatsAppGroupChatsParams defines parameters for ListWhatsAppGroupChats.
type ListWhatsAppGroupChatsResponse ¶ added in v0.0.92
type ListWhatsAppGroupChatsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Groups *[]struct {
// CreatedAt Group creation timestamp
CreatedAt *string `json:"createdAt,omitempty"`
// Id Group ID
Id *string `json:"id,omitempty"`
// Subject Group name
Subject *string `json:"subject,omitempty"`
} `json:"groups,omitempty"`
Paging *struct {
Cursors *struct {
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
} `json:"cursors,omitempty"`
} `json:"paging,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListWhatsAppGroupChatsResponse ¶ added in v0.0.92
func ParseListWhatsAppGroupChatsResponse(rsp *http.Response) (*ListWhatsAppGroupChatsResponse, error)
ParseListWhatsAppGroupChatsResponse parses an HTTP response from a ListWhatsAppGroupChatsWithResponse call
func (ListWhatsAppGroupChatsResponse) Status ¶ added in v0.0.92
func (r ListWhatsAppGroupChatsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWhatsAppGroupChatsResponse) StatusCode ¶ added in v0.0.92
func (r ListWhatsAppGroupChatsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWhatsAppGroupJoinRequestsParams ¶ added in v0.0.92
type ListWhatsAppGroupJoinRequestsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
ListWhatsAppGroupJoinRequestsParams defines parameters for ListWhatsAppGroupJoinRequests.
type ListWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
type ListWhatsAppGroupJoinRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
JoinRequests *[]struct {
// Timestamp UNIX timestamp of request
Timestamp *int `json:"timestamp,omitempty"`
// User Phone number
User *string `json:"user,omitempty"`
} `json:"joinRequests,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseListWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
func ParseListWhatsAppGroupJoinRequestsResponse(rsp *http.Response) (*ListWhatsAppGroupJoinRequestsResponse, error)
ParseListWhatsAppGroupJoinRequestsResponse parses an HTTP response from a ListWhatsAppGroupJoinRequestsWithResponse call
func (ListWhatsAppGroupJoinRequestsResponse) Status ¶ added in v0.0.92
func (r ListWhatsAppGroupJoinRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (ListWhatsAppGroupJoinRequestsResponse) StatusCode ¶ added in v0.0.92
func (r ListWhatsAppGroupJoinRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MediaItem ¶
type MediaItem struct {
Filename *string `json:"filename,omitempty"`
// InstagramThumbnail Custom cover image URL for Instagram Reels. Can also be set via platformSpecificData.instagramThumbnail or platformSpecificData.reelCover. Resolution order: this field > platformSpecificData.instagramThumbnail > platformSpecificData.reelCover > platformSpecificData.thumbnailUrl (legacy).
InstagramThumbnail *string `json:"instagramThumbnail,omitempty"`
// MimeType Optional MIME type (e.g. image/jpeg, video/mp4)
MimeType *string `json:"mimeType,omitempty"`
// Size Optional file size in bytes
Size *int `json:"size,omitempty"`
// Thumbnail Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, and regular video uploads. Max 10MB, JPG/PNG recommended.
Thumbnail *string `json:"thumbnail,omitempty"`
// TiktokProcessed Internal flag indicating the image was resized for TikTok
TiktokProcessed *bool `json:"tiktokProcessed,omitempty"`
// Title Optional title for the media item. Used as the document title for LinkedIn PDF/carousel posts. If omitted, falls back to the post title, then the filename.
Title *string `json:"title,omitempty"`
Type *MediaItemType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
}
MediaItem Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Zernio auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
type MediaItemType ¶
type MediaItemType string
MediaItemType defines model for MediaItem.Type.
const ( MediaItemTypeDocument MediaItemType = "document" MediaItemTypeGif MediaItemType = "gif" MediaItemTypeImage MediaItemType = "image" MediaItemTypeVideo MediaItemType = "video" )
Defines values for MediaItemType.
func (MediaItemType) Valid ¶
func (e MediaItemType) Valid() bool
Valid indicates whether the value is a known member of the MediaItemType enum.
type Money ¶
type Money struct {
// CurrencyCode ISO 4217 currency code (e.g. USD, EUR)
CurrencyCode string `json:"currencyCode"`
// Nanos Nano units (10^-9) of the amount
Nanos *int `json:"nanos,omitempty"`
// Units Whole units of the amount
Units string `json:"units"`
}
Money defines model for Money.
type NotFound ¶
type NotFound struct {
Error *string `json:"error,omitempty"`
}
NotFound defines model for NotFound.
type Pagination ¶
type Pagination struct {
Limit *int `json:"limit,omitempty"`
Page *int `json:"page,omitempty"`
Pages *int `json:"pages,omitempty"`
Total *int `json:"total,omitempty"`
}
Pagination defines model for Pagination.
type PauseSequenceResponse ¶ added in v0.0.76
type PauseSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Sequence *struct {
Id *string `json:"id,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"sequence,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParsePauseSequenceResponse ¶ added in v0.0.76
func ParsePauseSequenceResponse(rsp *http.Response) (*PauseSequenceResponse, error)
ParsePauseSequenceResponse parses an HTTP response from a PauseSequenceWithResponse call
func (PauseSequenceResponse) Status ¶ added in v0.0.76
func (r PauseSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (PauseSequenceResponse) StatusCode ¶ added in v0.0.76
func (r PauseSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PinterestPlatformData ¶
type PinterestPlatformData struct {
// BoardId Target Pinterest board ID. If omitted, the first available board is used.
BoardId *string `json:"boardId,omitempty"`
// CoverImageKeyFrameTime Optional key frame time in seconds for derived video cover
CoverImageKeyFrameTime *int `json:"coverImageKeyFrameTime,omitempty"`
// CoverImageUrl Optional cover image for video pins
CoverImageUrl *string `json:"coverImageUrl,omitempty"`
// Link Destination link (pin URL)
Link *string `json:"link,omitempty"`
// Title Pin title. Defaults to first line of content or "Pin". Must be ≤ 100 characters.
Title *string `json:"title,omitempty"`
}
PinterestPlatformData defines model for PinterestPlatformData.
type PlatformAnalytics ¶
type PlatformAnalytics struct {
AccountId *string `json:"accountId,omitempty"`
AccountUsername *string `json:"accountUsername,omitempty"`
Analytics *PostAnalytics `json:"analytics,omitempty"`
// ErrorMessage Error details when status is failed
ErrorMessage *string `json:"errorMessage,omitempty"`
Platform *string `json:"platform,omitempty"`
// PlatformPostId The native post ID on the platform (e.g. Instagram media ID, tweet ID)
PlatformPostId *string `json:"platformPostId,omitempty"`
PlatformPostUrl *string `json:"platformPostUrl,omitempty"`
Status *PlatformAnalyticsStatus `json:"status,omitempty"`
// SyncStatus Sync state of analytics for this platform
SyncStatus *PlatformAnalyticsSyncStatus `json:"syncStatus,omitempty"`
}
PlatformAnalytics defines model for PlatformAnalytics.
type PlatformAnalyticsStatus ¶
type PlatformAnalyticsStatus string
PlatformAnalyticsStatus defines model for PlatformAnalytics.Status.
const ( PlatformAnalyticsStatusFailed PlatformAnalyticsStatus = "failed" PlatformAnalyticsStatusPublished PlatformAnalyticsStatus = "published" )
Defines values for PlatformAnalyticsStatus.
func (PlatformAnalyticsStatus) Valid ¶
func (e PlatformAnalyticsStatus) Valid() bool
Valid indicates whether the value is a known member of the PlatformAnalyticsStatus enum.
type PlatformAnalyticsSyncStatus ¶
type PlatformAnalyticsSyncStatus string
PlatformAnalyticsSyncStatus Sync state of analytics for this platform
const ( PlatformAnalyticsSyncStatusPending PlatformAnalyticsSyncStatus = "pending" PlatformAnalyticsSyncStatusSynced PlatformAnalyticsSyncStatus = "synced" )
Defines values for PlatformAnalyticsSyncStatus.
func (PlatformAnalyticsSyncStatus) Valid ¶
func (e PlatformAnalyticsSyncStatus) Valid() bool
Valid indicates whether the value is a known member of the PlatformAnalyticsSyncStatus enum.
type PlatformTarget ¶
type PlatformTarget struct {
AccountId *PlatformTarget_AccountId `json:"accountId,omitempty"`
// CustomContent Platform-specific text override. When set, this content is used instead of the top-level post content for this platform. Useful for tailoring captions per platform (e.g. keeping tweets under 280 characters).
CustomContent *string `json:"customContent,omitempty"`
CustomMedia *[]MediaItem `json:"customMedia,omitempty"`
// ErrorCategory Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
ErrorCategory *PlatformTargetErrorCategory `json:"errorCategory,omitempty"`
// ErrorMessage Human-readable error message when status is failed. Contains platform-specific error details explaining why the publish failed.
ErrorMessage *string `json:"errorMessage,omitempty"`
// ErrorSource Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
ErrorSource *PlatformTargetErrorSource `json:"errorSource,omitempty"`
// Platform Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
Platform *string `json:"platform,omitempty"`
// PlatformPostId The native post ID on the platform (populated after successful publish)
PlatformPostId *string `json:"platformPostId,omitempty"`
// PlatformPostUrl Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time.
PlatformPostUrl *string `json:"platformPostUrl,omitempty"`
// PlatformSpecificData Platform-specific overrides and options.
PlatformSpecificData *PlatformTarget_PlatformSpecificData `json:"platformSpecificData,omitempty"`
// PublishedAt Timestamp when the post was published to this platform
PublishedAt *time.Time `json:"publishedAt,omitempty"`
// ScheduledFor Optional per-platform scheduled time override (uses post.scheduledFor when omitted)
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
// Status Platform-specific status: pending, publishing, published, failed
Status *string `json:"status,omitempty"`
}
PlatformTarget defines model for PlatformTarget.
type PlatformTargetAccountId0 ¶
type PlatformTargetAccountId0 = string
PlatformTargetAccountId0 defines model for .
type PlatformTargetErrorCategory ¶
type PlatformTargetErrorCategory string
PlatformTargetErrorCategory Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Zernio infra), unknown
const ( AccountIssue PlatformTargetErrorCategory = "account_issue" AuthExpired PlatformTargetErrorCategory = "auth_expired" PlatformError PlatformTargetErrorCategory = "platform_error" PlatformRejected PlatformTargetErrorCategory = "platform_rejected" SystemError PlatformTargetErrorCategory = "system_error" Unknown PlatformTargetErrorCategory = "unknown" UserAbuse PlatformTargetErrorCategory = "user_abuse" UserContent PlatformTargetErrorCategory = "user_content" )
Defines values for PlatformTargetErrorCategory.
func (PlatformTargetErrorCategory) Valid ¶
func (e PlatformTargetErrorCategory) Valid() bool
Valid indicates whether the value is a known member of the PlatformTargetErrorCategory enum.
type PlatformTargetErrorSource ¶
type PlatformTargetErrorSource string
PlatformTargetErrorSource Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Zernio issue, rare)
const ( PlatformTargetErrorSourcePlatform PlatformTargetErrorSource = "platform" PlatformTargetErrorSourceSystem PlatformTargetErrorSource = "system" PlatformTargetErrorSourceUser PlatformTargetErrorSource = "user" )
Defines values for PlatformTargetErrorSource.
func (PlatformTargetErrorSource) Valid ¶
func (e PlatformTargetErrorSource) Valid() bool
Valid indicates whether the value is a known member of the PlatformTargetErrorSource enum.
type PlatformTarget_AccountId ¶
type PlatformTarget_AccountId struct {
// contains filtered or unexported fields
}
PlatformTarget_AccountId defines model for PlatformTarget.AccountId.
func (PlatformTarget_AccountId) AsPlatformTargetAccountId0 ¶
func (t PlatformTarget_AccountId) AsPlatformTargetAccountId0() (PlatformTargetAccountId0, error)
AsPlatformTargetAccountId0 returns the union data inside the PlatformTarget_AccountId as a PlatformTargetAccountId0
func (PlatformTarget_AccountId) AsSocialAccount ¶
func (t PlatformTarget_AccountId) AsSocialAccount() (SocialAccount, error)
AsSocialAccount returns the union data inside the PlatformTarget_AccountId as a SocialAccount
func (*PlatformTarget_AccountId) FromPlatformTargetAccountId0 ¶
func (t *PlatformTarget_AccountId) FromPlatformTargetAccountId0(v PlatformTargetAccountId0) error
FromPlatformTargetAccountId0 overwrites any union data inside the PlatformTarget_AccountId as the provided PlatformTargetAccountId0
func (*PlatformTarget_AccountId) FromSocialAccount ¶
func (t *PlatformTarget_AccountId) FromSocialAccount(v SocialAccount) error
FromSocialAccount overwrites any union data inside the PlatformTarget_AccountId as the provided SocialAccount
func (PlatformTarget_AccountId) MarshalJSON ¶
func (t PlatformTarget_AccountId) MarshalJSON() ([]byte, error)
func (*PlatformTarget_AccountId) MergePlatformTargetAccountId0 ¶
func (t *PlatformTarget_AccountId) MergePlatformTargetAccountId0(v PlatformTargetAccountId0) error
MergePlatformTargetAccountId0 performs a merge with any union data inside the PlatformTarget_AccountId, using the provided PlatformTargetAccountId0
func (*PlatformTarget_AccountId) MergeSocialAccount ¶
func (t *PlatformTarget_AccountId) MergeSocialAccount(v SocialAccount) error
MergeSocialAccount performs a merge with any union data inside the PlatformTarget_AccountId, using the provided SocialAccount
func (*PlatformTarget_AccountId) UnmarshalJSON ¶
func (t *PlatformTarget_AccountId) UnmarshalJSON(b []byte) error
type PlatformTarget_PlatformSpecificData ¶
type PlatformTarget_PlatformSpecificData struct {
AdditionalProperties map[string]interface{} `json:"-"`
// contains filtered or unexported fields
}
PlatformTarget_PlatformSpecificData Platform-specific overrides and options.
func (PlatformTarget_PlatformSpecificData) AsBlueskyPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsBlueskyPlatformData() (BlueskyPlatformData, error)
AsBlueskyPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a BlueskyPlatformData
func (PlatformTarget_PlatformSpecificData) AsDiscordPlatformData ¶ added in v0.0.153
func (t PlatformTarget_PlatformSpecificData) AsDiscordPlatformData() (DiscordPlatformData, error)
AsDiscordPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a DiscordPlatformData
func (PlatformTarget_PlatformSpecificData) AsFacebookPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsFacebookPlatformData() (FacebookPlatformData, error)
AsFacebookPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a FacebookPlatformData
func (PlatformTarget_PlatformSpecificData) AsGoogleBusinessPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsGoogleBusinessPlatformData() (GoogleBusinessPlatformData, error)
AsGoogleBusinessPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a GoogleBusinessPlatformData
func (PlatformTarget_PlatformSpecificData) AsInstagramPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsInstagramPlatformData() (InstagramPlatformData, error)
AsInstagramPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a InstagramPlatformData
func (PlatformTarget_PlatformSpecificData) AsLinkedInPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsLinkedInPlatformData() (LinkedInPlatformData, error)
AsLinkedInPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a LinkedInPlatformData
func (PlatformTarget_PlatformSpecificData) AsPinterestPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsPinterestPlatformData() (PinterestPlatformData, error)
AsPinterestPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a PinterestPlatformData
func (PlatformTarget_PlatformSpecificData) AsRedditPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsRedditPlatformData() (RedditPlatformData, error)
AsRedditPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a RedditPlatformData
func (PlatformTarget_PlatformSpecificData) AsSnapchatPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsSnapchatPlatformData() (SnapchatPlatformData, error)
AsSnapchatPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a SnapchatPlatformData
func (PlatformTarget_PlatformSpecificData) AsTelegramPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsTelegramPlatformData() (TelegramPlatformData, error)
AsTelegramPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a TelegramPlatformData
func (PlatformTarget_PlatformSpecificData) AsThreadsPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsThreadsPlatformData() (ThreadsPlatformData, error)
AsThreadsPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a ThreadsPlatformData
func (PlatformTarget_PlatformSpecificData) AsTikTokPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsTikTokPlatformData() (TikTokPlatformData, error)
AsTikTokPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a TikTokPlatformData
func (PlatformTarget_PlatformSpecificData) AsTwitterPlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsTwitterPlatformData() (TwitterPlatformData, error)
AsTwitterPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a TwitterPlatformData
func (PlatformTarget_PlatformSpecificData) AsYouTubePlatformData ¶
func (t PlatformTarget_PlatformSpecificData) AsYouTubePlatformData() (YouTubePlatformData, error)
AsYouTubePlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a YouTubePlatformData
func (*PlatformTarget_PlatformSpecificData) FromBlueskyPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromBlueskyPlatformData(v BlueskyPlatformData) error
FromBlueskyPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided BlueskyPlatformData
func (*PlatformTarget_PlatformSpecificData) FromDiscordPlatformData ¶ added in v0.0.153
func (t *PlatformTarget_PlatformSpecificData) FromDiscordPlatformData(v DiscordPlatformData) error
FromDiscordPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided DiscordPlatformData
func (*PlatformTarget_PlatformSpecificData) FromFacebookPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromFacebookPlatformData(v FacebookPlatformData) error
FromFacebookPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided FacebookPlatformData
func (*PlatformTarget_PlatformSpecificData) FromGoogleBusinessPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromGoogleBusinessPlatformData(v GoogleBusinessPlatformData) error
FromGoogleBusinessPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided GoogleBusinessPlatformData
func (*PlatformTarget_PlatformSpecificData) FromInstagramPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromInstagramPlatformData(v InstagramPlatformData) error
FromInstagramPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided InstagramPlatformData
func (*PlatformTarget_PlatformSpecificData) FromLinkedInPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromLinkedInPlatformData(v LinkedInPlatformData) error
FromLinkedInPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided LinkedInPlatformData
func (*PlatformTarget_PlatformSpecificData) FromPinterestPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromPinterestPlatformData(v PinterestPlatformData) error
FromPinterestPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided PinterestPlatformData
func (*PlatformTarget_PlatformSpecificData) FromRedditPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromRedditPlatformData(v RedditPlatformData) error
FromRedditPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided RedditPlatformData
func (*PlatformTarget_PlatformSpecificData) FromSnapchatPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromSnapchatPlatformData(v SnapchatPlatformData) error
FromSnapchatPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided SnapchatPlatformData
func (*PlatformTarget_PlatformSpecificData) FromTelegramPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromTelegramPlatformData(v TelegramPlatformData) error
FromTelegramPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided TelegramPlatformData
func (*PlatformTarget_PlatformSpecificData) FromThreadsPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromThreadsPlatformData(v ThreadsPlatformData) error
FromThreadsPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided ThreadsPlatformData
func (*PlatformTarget_PlatformSpecificData) FromTikTokPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromTikTokPlatformData(v TikTokPlatformData) error
FromTikTokPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided TikTokPlatformData
func (*PlatformTarget_PlatformSpecificData) FromTwitterPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromTwitterPlatformData(v TwitterPlatformData) error
FromTwitterPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided TwitterPlatformData
func (*PlatformTarget_PlatformSpecificData) FromYouTubePlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) FromYouTubePlatformData(v YouTubePlatformData) error
FromYouTubePlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided YouTubePlatformData
func (PlatformTarget_PlatformSpecificData) Get ¶
func (a PlatformTarget_PlatformSpecificData) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for PlatformTarget_PlatformSpecificData. Returns the specified element and whether it was found
func (PlatformTarget_PlatformSpecificData) MarshalJSON ¶
func (a PlatformTarget_PlatformSpecificData) MarshalJSON() ([]byte, error)
Override default JSON handling for PlatformTarget_PlatformSpecificData to handle AdditionalProperties and union
func (*PlatformTarget_PlatformSpecificData) MergeBlueskyPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeBlueskyPlatformData(v BlueskyPlatformData) error
MergeBlueskyPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided BlueskyPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeDiscordPlatformData ¶ added in v0.0.153
func (t *PlatformTarget_PlatformSpecificData) MergeDiscordPlatformData(v DiscordPlatformData) error
MergeDiscordPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided DiscordPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeFacebookPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeFacebookPlatformData(v FacebookPlatformData) error
MergeFacebookPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided FacebookPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeGoogleBusinessPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeGoogleBusinessPlatformData(v GoogleBusinessPlatformData) error
MergeGoogleBusinessPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided GoogleBusinessPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeInstagramPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeInstagramPlatformData(v InstagramPlatformData) error
MergeInstagramPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided InstagramPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeLinkedInPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeLinkedInPlatformData(v LinkedInPlatformData) error
MergeLinkedInPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided LinkedInPlatformData
func (*PlatformTarget_PlatformSpecificData) MergePinterestPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergePinterestPlatformData(v PinterestPlatformData) error
MergePinterestPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided PinterestPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeRedditPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeRedditPlatformData(v RedditPlatformData) error
MergeRedditPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided RedditPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeSnapchatPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeSnapchatPlatformData(v SnapchatPlatformData) error
MergeSnapchatPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided SnapchatPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeTelegramPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeTelegramPlatformData(v TelegramPlatformData) error
MergeTelegramPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided TelegramPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeThreadsPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeThreadsPlatformData(v ThreadsPlatformData) error
MergeThreadsPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided ThreadsPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeTikTokPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeTikTokPlatformData(v TikTokPlatformData) error
MergeTikTokPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided TikTokPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeTwitterPlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeTwitterPlatformData(v TwitterPlatformData) error
MergeTwitterPlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided TwitterPlatformData
func (*PlatformTarget_PlatformSpecificData) MergeYouTubePlatformData ¶
func (t *PlatformTarget_PlatformSpecificData) MergeYouTubePlatformData(v YouTubePlatformData) error
MergeYouTubePlatformData performs a merge with any union data inside the PlatformTarget_PlatformSpecificData, using the provided YouTubePlatformData
func (*PlatformTarget_PlatformSpecificData) Set ¶
func (a *PlatformTarget_PlatformSpecificData) Set(fieldName string, value interface{})
Setter for additional properties for PlatformTarget_PlatformSpecificData
func (*PlatformTarget_PlatformSpecificData) UnmarshalJSON ¶
func (a *PlatformTarget_PlatformSpecificData) UnmarshalJSON(b []byte) error
Override default JSON handling for PlatformTarget_PlatformSpecificData to handle AdditionalProperties and union
type Post ¶
type Post struct {
UnderscoreId *string `json:"_id,omitempty"`
Content *string `json:"content,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
// Mentions Stored for reference only. This field does NOT automatically create @mentions when publishing. For LinkedIn @mentions, use the /v1/accounts/{accountId}/linkedin-mentions endpoint to resolve profile URLs to URNs, then embed the returned mentionFormat directly in the post content field.
Mentions *[]string `json:"mentions,omitempty"`
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Platforms *[]PlatformTarget `json:"platforms,omitempty"`
// QueueId Queue ID if the post was scheduled via a specific queue
QueueId *string `json:"queueId,omitempty"`
// QueuedFromProfile Profile ID if the post was scheduled via the queue
QueuedFromProfile *string `json:"queuedFromProfile,omitempty"`
// RecycledFromPostId ID of the original post if this post was created via recycling
RecycledFromPostId *string `json:"recycledFromPostId,omitempty"`
// Recycling Current recycling configuration and state on a post
Recycling *RecyclingState `json:"recycling,omitempty"`
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
Status *PostStatus `json:"status,omitempty"`
// Tags YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
Tags *[]string `json:"tags,omitempty"`
Timezone *string `json:"timezone,omitempty"`
// Title YouTube: title must be ≤ 100 characters.
Title *string `json:"title,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
UserId *Post_UserId `json:"userId,omitempty"`
Visibility *PostVisibility `json:"visibility,omitempty"`
}
Post defines model for Post.
type PostAnalytics ¶
type PostAnalytics struct {
Clicks *int `json:"clicks,omitempty"`
Comments *int `json:"comments,omitempty"`
EngagementRate *float32 `json:"engagementRate,omitempty"`
Impressions *int `json:"impressions,omitempty"`
LastUpdated *time.Time `json:"lastUpdated,omitempty"`
Likes *int `json:"likes,omitempty"`
Reach *int `json:"reach,omitempty"`
// Saves Number of saves/bookmarks (Instagram, Pinterest)
Saves *int `json:"saves,omitempty"`
Views *int `json:"views,omitempty"`
}
PostAnalytics defines model for PostAnalytics.
type PostCreateResponse ¶
type PostCreateResponse struct {
Message *string `json:"message,omitempty"`
Post *Post `json:"post,omitempty"`
}
PostCreateResponse defines model for PostCreateResponse.
type PostDeleteResponse ¶
type PostDeleteResponse struct {
Message *string `json:"message,omitempty"`
}
PostDeleteResponse defines model for PostDeleteResponse.
type PostGetResponse ¶
type PostGetResponse struct {
Post *Post `json:"post,omitempty"`
}
PostGetResponse defines model for PostGetResponse.
type PostRetryResponse ¶
type PostRetryResponse struct {
Message *string `json:"message,omitempty"`
Post *Post `json:"post,omitempty"`
}
PostRetryResponse defines model for PostRetryResponse.
type PostStatus ¶
type PostStatus string
PostStatus defines model for Post.Status.
const ( PostStatusDraft PostStatus = "draft" PostStatusFailed PostStatus = "failed" PostStatusPartial PostStatus = "partial" PostStatusPublished PostStatus = "published" PostStatusPublishing PostStatus = "publishing" PostStatusScheduled PostStatus = "scheduled" )
Defines values for PostStatus.
func (PostStatus) Valid ¶
func (e PostStatus) Valid() bool
Valid indicates whether the value is a known member of the PostStatus enum.
type PostUpdateResponse ¶
type PostUpdateResponse struct {
Message *string `json:"message,omitempty"`
Post *Post `json:"post,omitempty"`
}
PostUpdateResponse defines model for PostUpdateResponse.
type PostVisibility ¶
type PostVisibility string
PostVisibility defines model for Post.Visibility.
const ( PostVisibilityPrivate PostVisibility = "private" PostVisibilityPublic PostVisibility = "public" PostVisibilityUnlisted PostVisibility = "unlisted" )
Defines values for PostVisibility.
func (PostVisibility) Valid ¶
func (e PostVisibility) Valid() bool
Valid indicates whether the value is a known member of the PostVisibility enum.
type Post_UserId ¶
type Post_UserId struct {
// contains filtered or unexported fields
}
Post_UserId defines model for Post.UserId.
func (Post_UserId) AsPostUserId0 ¶
func (t Post_UserId) AsPostUserId0() (PostUserId0, error)
AsPostUserId0 returns the union data inside the Post_UserId as a PostUserId0
func (Post_UserId) AsUser ¶
func (t Post_UserId) AsUser() (User, error)
AsUser returns the union data inside the Post_UserId as a User
func (*Post_UserId) FromPostUserId0 ¶
func (t *Post_UserId) FromPostUserId0(v PostUserId0) error
FromPostUserId0 overwrites any union data inside the Post_UserId as the provided PostUserId0
func (*Post_UserId) FromUser ¶
func (t *Post_UserId) FromUser(v User) error
FromUser overwrites any union data inside the Post_UserId as the provided User
func (Post_UserId) MarshalJSON ¶
func (t Post_UserId) MarshalJSON() ([]byte, error)
func (*Post_UserId) MergePostUserId0 ¶
func (t *Post_UserId) MergePostUserId0(v PostUserId0) error
MergePostUserId0 performs a merge with any union data inside the Post_UserId, using the provided PostUserId0
func (*Post_UserId) MergeUser ¶
func (t *Post_UserId) MergeUser(v User) error
MergeUser performs a merge with any union data inside the Post_UserId, using the provided User
func (*Post_UserId) UnmarshalJSON ¶
func (t *Post_UserId) UnmarshalJSON(b []byte) error
type PostsListResponse ¶
type PostsListResponse struct {
Pagination *Pagination `json:"pagination,omitempty"`
Posts *[]Post `json:"posts,omitempty"`
}
PostsListResponse defines model for PostsListResponse.
type PreviewQueueParams ¶
type PreviewQueueParams struct {
ProfileId string `form:"profileId" json:"profileId"`
// QueueId Filter by specific queue ID. Omit to use the default queue.
QueueId *string `form:"queueId,omitempty" json:"queueId,omitempty"`
Count *int `form:"count,omitempty" json:"count,omitempty"`
}
PreviewQueueParams defines parameters for PreviewQueue.
type PreviewQueueResponse ¶
type PreviewQueueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Count *int `json:"count,omitempty"`
ProfileId *string `json:"profileId,omitempty"`
Slots *[]time.Time `json:"slots,omitempty"`
}
JSON401 *Unauthorized
}
func ParsePreviewQueueResponse ¶
func ParsePreviewQueueResponse(rsp *http.Response) (*PreviewQueueResponse, error)
ParsePreviewQueueResponse parses an HTTP response from a PreviewQueueWithResponse call
func (PreviewQueueResponse) Status ¶
func (r PreviewQueueResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewQueueResponse) StatusCode ¶
func (r PreviewQueueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Profile ¶
type Profile struct {
UnderscoreId *string `json:"_id,omitempty"`
Color *string `json:"color,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Description *string `json:"description,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
// IsOverLimit Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
IsOverLimit *bool `json:"isOverLimit,omitempty"`
Name *string `json:"name,omitempty"`
UserId *string `json:"userId,omitempty"`
}
Profile defines model for Profile.
type ProfileCreateResponse ¶
type ProfileCreateResponse struct {
Message *string `json:"message,omitempty"`
Profile *Profile `json:"profile,omitempty"`
}
ProfileCreateResponse defines model for ProfileCreateResponse.
type ProfilesListResponse ¶
type ProfilesListResponse struct {
Profiles *[]Profile `json:"profiles,omitempty"`
}
ProfilesListResponse defines model for ProfilesListResponse.
type PublishWhatsAppFlowJSONBody ¶ added in v0.0.117
type PublishWhatsAppFlowJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
}
PublishWhatsAppFlowJSONBody defines parameters for PublishWhatsAppFlow.
type PublishWhatsAppFlowJSONRequestBody ¶ added in v0.0.117
type PublishWhatsAppFlowJSONRequestBody PublishWhatsAppFlowJSONBody
PublishWhatsAppFlowJSONRequestBody defines body for PublishWhatsAppFlow for application/json ContentType.
type PublishWhatsAppFlowResponse ¶ added in v0.0.117
type PublishWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParsePublishWhatsAppFlowResponse ¶ added in v0.0.117
func ParsePublishWhatsAppFlowResponse(rsp *http.Response) (*PublishWhatsAppFlowResponse, error)
ParsePublishWhatsAppFlowResponse parses an HTTP response from a PublishWhatsAppFlowWithResponse call
func (PublishWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r PublishWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (PublishWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r PublishWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PurchaseWhatsAppPhoneNumber2001 ¶
type PurchaseWhatsAppPhoneNumber2001 struct {
Message *string `json:"message,omitempty"`
PhoneNumber *struct {
Country *string `json:"country,omitempty"`
Id *string `json:"id,omitempty"`
MetaPreverifiedId *string `json:"metaPreverifiedId,omitempty"`
MetaVerificationStatus *string `json:"metaVerificationStatus,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty"`
ProvisionedAt *time.Time `json:"provisionedAt,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"phoneNumber,omitempty"`
}
type PurchaseWhatsAppPhoneNumberJSONBody ¶
type PurchaseWhatsAppPhoneNumberJSONBody struct {
// ProfileId Profile to associate the number with
ProfileId string `json:"profileId"`
}
PurchaseWhatsAppPhoneNumberJSONBody defines parameters for PurchaseWhatsAppPhoneNumber.
type PurchaseWhatsAppPhoneNumberJSONRequestBody ¶
type PurchaseWhatsAppPhoneNumberJSONRequestBody PurchaseWhatsAppPhoneNumberJSONBody
PurchaseWhatsAppPhoneNumberJSONRequestBody defines body for PurchaseWhatsAppPhoneNumber for application/json ContentType.
type PurchaseWhatsAppPhoneNumberResponse ¶
type PurchaseWhatsAppPhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
JSON401 *Unauthorized
}
func ParsePurchaseWhatsAppPhoneNumberResponse ¶
func ParsePurchaseWhatsAppPhoneNumberResponse(rsp *http.Response) (*PurchaseWhatsAppPhoneNumberResponse, error)
ParsePurchaseWhatsAppPhoneNumberResponse parses an HTTP response from a PurchaseWhatsAppPhoneNumberWithResponse call
func (PurchaseWhatsAppPhoneNumberResponse) Status ¶
func (r PurchaseWhatsAppPhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (PurchaseWhatsAppPhoneNumberResponse) StatusCode ¶
func (r PurchaseWhatsAppPhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type QueueSchedule ¶
type QueueSchedule struct {
// UnderscoreId Unique queue identifier
UnderscoreId *string `json:"_id,omitempty"`
// Active Whether the queue is active
Active *bool `json:"active,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
// IsDefault Whether this is the default queue for the profile (used when no queueId specified)
IsDefault *bool `json:"isDefault,omitempty"`
// Name Queue name (e.g., "Morning Posts", "Evening Content")
Name *string `json:"name,omitempty"`
// ProfileId Profile ID this queue belongs to
ProfileId *string `json:"profileId,omitempty"`
Slots *[]QueueSlot `json:"slots,omitempty"`
// Timezone IANA timezone (e.g., America/New_York)
Timezone *string `json:"timezone,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}
QueueSchedule defines model for QueueSchedule.
type QueueSlot ¶
type QueueSlot struct {
// DayOfWeek Day of week (0=Sunday, 6=Saturday)
DayOfWeek *int `json:"dayOfWeek,omitempty"`
// Time Time in HH:mm format (24-hour)
Time *string `json:"time,omitempty"`
}
QueueSlot defines model for QueueSlot.
type RecyclingConfig ¶
type RecyclingConfig struct {
// ContentVariations Array of content variations for recycled copies. On each recycle, the next
// variation is used in round-robin order. Recommended for Twitter and Pinterest
// to avoid duplicate content flags. If omitted, the original post content is
// used for all recycled copies. Send an empty array [] to clear existing
// variations. Must have 2+ entries when setting variations. Platform-level
// customContent still overrides the base content per platform.
ContentVariations *[]string `json:"contentVariations,omitempty"`
// Enabled Set to false to disable recycling on this post
Enabled *bool `json:"enabled,omitempty"`
// ExpireCount Stop recycling after this many copies have been created
ExpireCount *int `json:"expireCount,omitempty"`
// ExpireDate Stop recycling after this date, regardless of count
ExpireDate *time.Time `json:"expireDate,omitempty"`
// Gap Number of interval units between each repost. Required when enabling recycling.
Gap *int `json:"gap,omitempty"`
// GapFreq Interval unit for the gap. Defaults to 'month'.
GapFreq *RecyclingConfigGapFreq `json:"gapFreq,omitempty"`
// StartDate When to start the recycling cycle. Defaults to the post's scheduledFor date.
StartDate *time.Time `json:"startDate,omitempty"`
}
RecyclingConfig Configure automatic post recycling (reposting at regular intervals). After the post is published, the system creates new scheduled copies at the specified interval until expiration conditions are met. Supports weekly or monthly intervals. Maximum 10 active recycling posts per account. YouTube and TikTok platforms are excluded from recycling. Content variations are recommended for Twitter and Pinterest to avoid duplicate flags.
type RecyclingConfigGapFreq ¶
type RecyclingConfigGapFreq string
RecyclingConfigGapFreq Interval unit for the gap. Defaults to 'month'.
const ( RecyclingConfigGapFreqMonth RecyclingConfigGapFreq = "month" RecyclingConfigGapFreqWeek RecyclingConfigGapFreq = "week" )
Defines values for RecyclingConfigGapFreq.
func (RecyclingConfigGapFreq) Valid ¶
func (e RecyclingConfigGapFreq) Valid() bool
Valid indicates whether the value is a known member of the RecyclingConfigGapFreq enum.
type RecyclingState ¶
type RecyclingState struct {
// ContentVariationIndex Current position in the content variations rotation (read-only)
ContentVariationIndex *int `json:"contentVariationIndex,omitempty"`
// ContentVariations Content variations for recycled copies (if configured)
ContentVariations *[]string `json:"contentVariations,omitempty"`
// Enabled Whether recycling is currently active
Enabled *bool `json:"enabled,omitempty"`
ExpireCount *int `json:"expireCount,omitempty"`
ExpireDate *time.Time `json:"expireDate,omitempty"`
// Gap Number of interval units between reposts
Gap *int `json:"gap,omitempty"`
// GapFreq Interval unit (week or month)
GapFreq *RecyclingStateGapFreq `json:"gapFreq,omitempty"`
// LastRecycledAt When the last recycled copy was created (read-only)
LastRecycledAt *time.Time `json:"lastRecycledAt,omitempty"`
// NextRecycleAt When the next recycled copy will be created (read-only)
NextRecycleAt *time.Time `json:"nextRecycleAt,omitempty"`
// RecycleCount How many recycled copies have been created so far (read-only)
RecycleCount *int `json:"recycleCount,omitempty"`
StartDate *time.Time `json:"startDate,omitempty"`
}
RecyclingState Current recycling configuration and state on a post
type RecyclingStateGapFreq ¶
type RecyclingStateGapFreq string
RecyclingStateGapFreq Interval unit (week or month)
const ( RecyclingStateGapFreqMonth RecyclingStateGapFreq = "month" RecyclingStateGapFreqWeek RecyclingStateGapFreq = "week" )
Defines values for RecyclingStateGapFreq.
func (RecyclingStateGapFreq) Valid ¶
func (e RecyclingStateGapFreq) Valid() bool
Valid indicates whether the value is a known member of the RecyclingStateGapFreq enum.
type RedditPlatformData ¶
type RedditPlatformData struct {
// FlairId Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
FlairId *string `json:"flairId,omitempty"`
// ForceSelf When true, creates a text/self post even when a URL or media is provided.
ForceSelf *bool `json:"forceSelf,omitempty"`
// NativeVideo Controls Reddit's native video upload flow. When true (default for video mediaItems), the video is uploaded to Reddit's CDN and submitted with kind=video so it renders as an embedded Reddit video player. Reddit transcodes server-side (1080p/30fps cap). Set to false to fall back to a legacy link post. If the subreddit blocks video posts, the upload falls back to a link post automatically.
NativeVideo *bool `json:"nativeVideo,omitempty"`
// Subreddit Target subreddit name (without "r/" prefix). Overrides the default. Use GET /v1/accounts/{id}/reddit-subreddits to list options.
Subreddit *string `json:"subreddit,omitempty"`
// Title Post title. Defaults to the first line of content, truncated to 300 characters.
Title *string `json:"title,omitempty"`
// Url URL for link posts. If provided (and forceSelf is not true), creates a link post instead of a text post.
Url *string `json:"url,omitempty"`
// VideoPosterUrl Optional poster/thumbnail image URL for native video posts. If omitted, the first frame of the video is extracted and used automatically.
VideoPosterUrl *string `json:"videoPosterUrl,omitempty"`
// Videogif When true (and nativeVideo is active), submits the video as a silent videogif (kind=videogif). Use for short looping clips without audio.
Videogif *bool `json:"videogif,omitempty"`
}
RedditPlatformData Posts are either link (with URL/media), native video (via nativeVideo), or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
type RedditPost ¶ added in v0.0.121
type RedditPost struct {
Author *string `json:"author,omitempty"`
// CreatedUtc Unix timestamp of post creation
CreatedUtc *float32 `json:"createdUtc,omitempty"`
// FlairText Link flair text if set
FlairText *string `json:"flairText,omitempty"`
// Fullname Reddit fullname (e.g. t3_abc123)
Fullname *string `json:"fullname,omitempty"`
// GalleryImages Individual image URLs for gallery posts (only present when isGallery is true)
GalleryImages *[]string `json:"galleryImages,omitempty"`
// Id Reddit post ID (without type prefix)
Id *string `json:"id,omitempty"`
// IsGallery Whether the post is a gallery with multiple images
IsGallery *bool `json:"isGallery,omitempty"`
NumComments *int `json:"numComments,omitempty"`
// Over18 Whether the post is marked NSFW
Over18 *bool `json:"over18,omitempty"`
// Permalink Full permalink to the Reddit post
Permalink *string `json:"permalink,omitempty"`
Score *int `json:"score,omitempty"`
// Selftext Self-post body text (empty string for link posts)
Selftext *string `json:"selftext,omitempty"`
Stickied *bool `json:"stickied,omitempty"`
Subreddit *string `json:"subreddit,omitempty"`
Title *string `json:"title,omitempty"`
// Url Post URL (may be a gallery URL
Url *string `json:"url,omitempty"`
}
RedditPost A normalized Reddit post returned by the feed and search endpoints
type RejectWhatsAppGroupJoinRequestsJSONBody ¶ added in v0.0.92
type RejectWhatsAppGroupJoinRequestsJSONBody struct {
// PhoneNumbers Phone numbers to reject
PhoneNumbers []string `json:"phoneNumbers"`
}
RejectWhatsAppGroupJoinRequestsJSONBody defines parameters for RejectWhatsAppGroupJoinRequests.
type RejectWhatsAppGroupJoinRequestsJSONRequestBody ¶ added in v0.0.92
type RejectWhatsAppGroupJoinRequestsJSONRequestBody RejectWhatsAppGroupJoinRequestsJSONBody
RejectWhatsAppGroupJoinRequestsJSONRequestBody defines body for RejectWhatsAppGroupJoinRequests for application/json ContentType.
type RejectWhatsAppGroupJoinRequestsParams ¶ added in v0.0.92
type RejectWhatsAppGroupJoinRequestsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
RejectWhatsAppGroupJoinRequestsParams defines parameters for RejectWhatsAppGroupJoinRequests.
type RejectWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
type RejectWhatsAppGroupJoinRequestsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRejectWhatsAppGroupJoinRequestsResponse ¶ added in v0.0.92
func ParseRejectWhatsAppGroupJoinRequestsResponse(rsp *http.Response) (*RejectWhatsAppGroupJoinRequestsResponse, error)
ParseRejectWhatsAppGroupJoinRequestsResponse parses an HTTP response from a RejectWhatsAppGroupJoinRequestsWithResponse call
func (RejectWhatsAppGroupJoinRequestsResponse) Status ¶ added in v0.0.92
func (r RejectWhatsAppGroupJoinRequestsResponse) Status() string
Status returns HTTPResponse.Status
func (RejectWhatsAppGroupJoinRequestsResponse) StatusCode ¶ added in v0.0.92
func (r RejectWhatsAppGroupJoinRequestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReleaseWhatsAppPhoneNumberResponse ¶
type ReleaseWhatsAppPhoneNumberResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
PhoneNumber *struct {
Id *string `json:"id,omitempty"`
PhoneNumber *string `json:"phoneNumber,omitempty"`
ReleasedAt *time.Time `json:"releasedAt,omitempty"`
// Status "released"
Status *string `json:"status,omitempty"`
} `json:"phoneNumber,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseReleaseWhatsAppPhoneNumberResponse ¶
func ParseReleaseWhatsAppPhoneNumberResponse(rsp *http.Response) (*ReleaseWhatsAppPhoneNumberResponse, error)
ParseReleaseWhatsAppPhoneNumberResponse parses an HTTP response from a ReleaseWhatsAppPhoneNumberWithResponse call
func (ReleaseWhatsAppPhoneNumberResponse) Status ¶
func (r ReleaseWhatsAppPhoneNumberResponse) Status() string
Status returns HTTPResponse.Status
func (ReleaseWhatsAppPhoneNumberResponse) StatusCode ¶
func (r ReleaseWhatsAppPhoneNumberResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveBookmarkParams ¶
type RemoveBookmarkParams struct {
AccountId string `form:"accountId" json:"accountId"`
// TweetId The ID of the tweet to unbookmark
TweetId string `form:"tweetId" json:"tweetId"`
}
RemoveBookmarkParams defines parameters for RemoveBookmark.
type RemoveBookmarkResponse ¶
type RemoveBookmarkResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Bookmarked *bool `json:"bookmarked,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
TweetId *string `json:"tweetId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRemoveBookmarkResponse ¶
func ParseRemoveBookmarkResponse(rsp *http.Response) (*RemoveBookmarkResponse, error)
ParseRemoveBookmarkResponse parses an HTTP response from a RemoveBookmarkWithResponse call
func (RemoveBookmarkResponse) Status ¶
func (r RemoveBookmarkResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveBookmarkResponse) StatusCode ¶
func (r RemoveBookmarkResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveMessageReactionParams ¶ added in v0.0.96
type RemoveMessageReactionParams struct {
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
}
RemoveMessageReactionParams defines parameters for RemoveMessageReaction.
type RemoveMessageReactionResponse ¶ added in v0.0.96
type RemoveMessageReactionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRemoveMessageReactionResponse ¶ added in v0.0.96
func ParseRemoveMessageReactionResponse(rsp *http.Response) (*RemoveMessageReactionResponse, error)
ParseRemoveMessageReactionResponse parses an HTTP response from a RemoveMessageReactionWithResponse call
func (RemoveMessageReactionResponse) Status ¶ added in v0.0.96
func (r RemoveMessageReactionResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveMessageReactionResponse) StatusCode ¶ added in v0.0.96
func (r RemoveMessageReactionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RemoveWhatsAppGroupParticipantsJSONBody ¶ added in v0.0.92
type RemoveWhatsAppGroupParticipantsJSONBody struct {
// PhoneNumbers Phone numbers to remove
PhoneNumbers []string `json:"phoneNumbers"`
}
RemoveWhatsAppGroupParticipantsJSONBody defines parameters for RemoveWhatsAppGroupParticipants.
type RemoveWhatsAppGroupParticipantsJSONRequestBody ¶ added in v0.0.92
type RemoveWhatsAppGroupParticipantsJSONRequestBody RemoveWhatsAppGroupParticipantsJSONBody
RemoveWhatsAppGroupParticipantsJSONRequestBody defines body for RemoveWhatsAppGroupParticipants for application/json ContentType.
type RemoveWhatsAppGroupParticipantsParams ¶ added in v0.0.92
type RemoveWhatsAppGroupParticipantsParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
RemoveWhatsAppGroupParticipantsParams defines parameters for RemoveWhatsAppGroupParticipants.
type RemoveWhatsAppGroupParticipantsResponse ¶ added in v0.0.92
type RemoveWhatsAppGroupParticipantsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRemoveWhatsAppGroupParticipantsResponse ¶ added in v0.0.92
func ParseRemoveWhatsAppGroupParticipantsResponse(rsp *http.Response) (*RemoveWhatsAppGroupParticipantsResponse, error)
ParseRemoveWhatsAppGroupParticipantsResponse parses an HTTP response from a RemoveWhatsAppGroupParticipantsWithResponse call
func (RemoveWhatsAppGroupParticipantsResponse) Status ¶ added in v0.0.92
func (r RemoveWhatsAppGroupParticipantsResponse) Status() string
Status returns HTTPResponse.Status
func (RemoveWhatsAppGroupParticipantsResponse) StatusCode ¶ added in v0.0.92
func (r RemoveWhatsAppGroupParticipantsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplyToInboxPostJSONBody ¶
type ReplyToInboxPostJSONBody struct {
AccountId string `json:"accountId"`
// CommentId Reply to specific comment (optional)
CommentId *string `json:"commentId,omitempty"`
Message string `json:"message"`
// ParentCid (Bluesky only) Parent content identifier
ParentCid *string `json:"parentCid,omitempty"`
// RootCid (Bluesky only) Root post CID
RootCid *string `json:"rootCid,omitempty"`
// RootUri (Bluesky only) Root post URI
RootUri *string `json:"rootUri,omitempty"`
}
ReplyToInboxPostJSONBody defines parameters for ReplyToInboxPost.
type ReplyToInboxPostJSONRequestBody ¶
type ReplyToInboxPostJSONRequestBody ReplyToInboxPostJSONBody
ReplyToInboxPostJSONRequestBody defines body for ReplyToInboxPost for application/json ContentType.
type ReplyToInboxPostResponse ¶
type ReplyToInboxPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
// Cid Bluesky CID
Cid *string `json:"cid,omitempty"`
CommentId *string `json:"commentId,omitempty"`
IsReply *bool `json:"isReply,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseReplyToInboxPostResponse ¶
func ParseReplyToInboxPostResponse(rsp *http.Response) (*ReplyToInboxPostResponse, error)
ParseReplyToInboxPostResponse parses an HTTP response from a ReplyToInboxPostWithResponse call
func (ReplyToInboxPostResponse) Status ¶
func (r ReplyToInboxPostResponse) Status() string
Status returns HTTPResponse.Status
func (ReplyToInboxPostResponse) StatusCode ¶
func (r ReplyToInboxPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReplyToInboxReviewJSONBody ¶
type ReplyToInboxReviewJSONBody struct {
AccountId string `json:"accountId"`
Message string `json:"message"`
}
ReplyToInboxReviewJSONBody defines parameters for ReplyToInboxReview.
type ReplyToInboxReviewJSONRequestBody ¶
type ReplyToInboxReviewJSONRequestBody ReplyToInboxReviewJSONBody
ReplyToInboxReviewJSONRequestBody defines body for ReplyToInboxReview for application/json ContentType.
type ReplyToInboxReviewResponse ¶
type ReplyToInboxReviewResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Platform *string `json:"platform,omitempty"`
Reply *struct {
Created *time.Time `json:"created,omitempty"`
Id *string `json:"id,omitempty"`
Text *string `json:"text,omitempty"`
} `json:"reply,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseReplyToInboxReviewResponse ¶
func ParseReplyToInboxReviewResponse(rsp *http.Response) (*ReplyToInboxReviewResponse, error)
ParseReplyToInboxReviewResponse parses an HTTP response from a ReplyToInboxReviewWithResponse call
func (ReplyToInboxReviewResponse) Status ¶
func (r ReplyToInboxReviewResponse) Status() string
Status returns HTTPResponse.Status
func (ReplyToInboxReviewResponse) StatusCode ¶
func (r ReplyToInboxReviewResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RetryPostResponse ¶
type RetryPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PostRetryResponse
JSON401 *Unauthorized
JSON404 *NotFound
JSON429 *struct {
Details *map[string]interface{} `json:"details,omitempty"`
Error *string `json:"error,omitempty"`
}
}
func ParseRetryPostResponse ¶
func ParseRetryPostResponse(rsp *http.Response) (*RetryPostResponse, error)
ParseRetryPostResponse parses an HTTP response from a RetryPostWithResponse call
func (RetryPostResponse) Status ¶
func (r RetryPostResponse) Status() string
Status returns HTTPResponse.Status
func (RetryPostResponse) StatusCode ¶
func (r RetryPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RetweetPostJSONBody ¶
type RetweetPostJSONBody struct {
// AccountId The social account ID
AccountId string `json:"accountId"`
// TweetId The ID of the tweet to retweet
TweetId string `json:"tweetId"`
}
RetweetPostJSONBody defines parameters for RetweetPost.
type RetweetPostJSONRequestBody ¶
type RetweetPostJSONRequestBody RetweetPostJSONBody
RetweetPostJSONRequestBody defines body for RetweetPost for application/json ContentType.
type RetweetPostResponse ¶
type RetweetPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Platform *string `json:"platform,omitempty"`
Retweeted *bool `json:"retweeted,omitempty"`
Status *string `json:"status,omitempty"`
TweetId *string `json:"tweetId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseRetweetPostResponse ¶
func ParseRetweetPostResponse(rsp *http.Response) (*RetweetPostResponse, error)
ParseRetweetPostResponse parses an HTTP response from a RetweetPostWithResponse call
func (RetweetPostResponse) Status ¶
func (r RetweetPostResponse) Status() string
Status returns HTTPResponse.Status
func (RetweetPostResponse) StatusCode ¶
func (r RetweetPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ScheduleBroadcastJSONBody ¶ added in v0.0.76
ScheduleBroadcastJSONBody defines parameters for ScheduleBroadcast.
type ScheduleBroadcastJSONRequestBody ¶ added in v0.0.76
type ScheduleBroadcastJSONRequestBody ScheduleBroadcastJSONBody
ScheduleBroadcastJSONRequestBody defines body for ScheduleBroadcast for application/json ContentType.
type ScheduleBroadcastResponse ¶ added in v0.0.76
type ScheduleBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcast *struct {
Id *string `json:"id,omitempty"`
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"broadcast,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseScheduleBroadcastResponse ¶ added in v0.0.76
func ParseScheduleBroadcastResponse(rsp *http.Response) (*ScheduleBroadcastResponse, error)
ParseScheduleBroadcastResponse parses an HTTP response from a ScheduleBroadcastWithResponse call
func (ScheduleBroadcastResponse) Status ¶ added in v0.0.76
func (r ScheduleBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (ScheduleBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r ScheduleBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchAdInterestsParams ¶ added in v0.0.106
type SearchAdInterestsParams struct {
// Q Search query
Q string `form:"q" json:"q"`
// AccountId Social account ID
AccountId string `form:"accountId" json:"accountId"`
}
SearchAdInterestsParams defines parameters for SearchAdInterests.
type SearchAdInterestsResponse ¶ added in v0.0.106
type SearchAdInterestsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Interests *[]struct {
Category *string `json:"category,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"interests,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSearchAdInterestsResponse ¶ added in v0.0.106
func ParseSearchAdInterestsResponse(rsp *http.Response) (*SearchAdInterestsResponse, error)
ParseSearchAdInterestsResponse parses an HTTP response from a SearchAdInterestsWithResponse call
func (SearchAdInterestsResponse) Status ¶ added in v0.0.106
func (r SearchAdInterestsResponse) Status() string
Status returns HTTPResponse.Status
func (SearchAdInterestsResponse) StatusCode ¶ added in v0.0.106
func (r SearchAdInterestsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchRedditParams ¶
type SearchRedditParams struct {
AccountId string `form:"accountId" json:"accountId"`
Subreddit *string `form:"subreddit,omitempty" json:"subreddit,omitempty"`
Q string `form:"q" json:"q"`
RestrictSr *SearchRedditParamsRestrictSr `form:"restrict_sr,omitempty" json:"restrict_sr,omitempty"`
Sort *SearchRedditParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
After *string `form:"after,omitempty" json:"after,omitempty"`
}
SearchRedditParams defines parameters for SearchReddit.
type SearchRedditParamsRestrictSr ¶
type SearchRedditParamsRestrictSr string
SearchRedditParamsRestrictSr defines parameters for SearchReddit.
const ( N0 SearchRedditParamsRestrictSr = "0" N1 SearchRedditParamsRestrictSr = "1" )
Defines values for SearchRedditParamsRestrictSr.
func (SearchRedditParamsRestrictSr) Valid ¶
func (e SearchRedditParamsRestrictSr) Valid() bool
Valid indicates whether the value is a known member of the SearchRedditParamsRestrictSr enum.
type SearchRedditParamsSort ¶
type SearchRedditParamsSort string
SearchRedditParamsSort defines parameters for SearchReddit.
const ( SearchRedditParamsSortComments SearchRedditParamsSort = "comments" SearchRedditParamsSortHot SearchRedditParamsSort = "hot" SearchRedditParamsSortNew SearchRedditParamsSort = "new" SearchRedditParamsSortRelevance SearchRedditParamsSort = "relevance" SearchRedditParamsSortTop SearchRedditParamsSort = "top" )
Defines values for SearchRedditParamsSort.
func (SearchRedditParamsSort) Valid ¶
func (e SearchRedditParamsSort) Valid() bool
Valid indicates whether the value is a known member of the SearchRedditParamsSort enum.
type SearchRedditResponse ¶
type SearchRedditResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
After *string `json:"after,omitempty"`
Before *string `json:"before,omitempty"`
Items *[]RedditPost `json:"items,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSearchRedditResponse ¶
func ParseSearchRedditResponse(rsp *http.Response) (*SearchRedditResponse, error)
ParseSearchRedditResponse parses an HTTP response from a SearchRedditWithResponse call
func (SearchRedditResponse) Status ¶
func (r SearchRedditResponse) Status() string
Status returns HTTPResponse.Status
func (SearchRedditResponse) StatusCode ¶
func (r SearchRedditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectFacebookPage200AccountPlatform ¶
type SelectFacebookPage200AccountPlatform string
type SelectFacebookPageJSONBody ¶
type SelectFacebookPageJSONBody struct {
// PageId The Facebook Page ID selected by the user
PageId string `json:"pageId"`
// ProfileId Profile ID from your connection flow
ProfileId string `json:"profileId"`
// RedirectUrl Optional custom redirect URL to return to after selection
RedirectUrl *string `json:"redirect_url,omitempty"`
// TempToken Temporary Facebook access token from OAuth
TempToken string `json:"tempToken"`
// UserProfile Decoded user profile object from the OAuth callback
UserProfile struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
} `json:"userProfile"`
}
SelectFacebookPageJSONBody defines parameters for SelectFacebookPage.
type SelectFacebookPageJSONRequestBody ¶
type SelectFacebookPageJSONRequestBody SelectFacebookPageJSONBody
SelectFacebookPageJSONRequestBody defines body for SelectFacebookPage for application/json ContentType.
type SelectFacebookPageResponse ¶
type SelectFacebookPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
// AccountId ID of the created SocialAccount
AccountId *string `json:"accountId,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *SelectFacebookPage200AccountPlatform `json:"platform,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
SelectedPageName *string `json:"selectedPageName,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
// RedirectUrl Redirect URL if custom redirect_url was provided
RedirectUrl *string `json:"redirect_url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSelectFacebookPageResponse ¶
func ParseSelectFacebookPageResponse(rsp *http.Response) (*SelectFacebookPageResponse, error)
ParseSelectFacebookPageResponse parses an HTTP response from a SelectFacebookPageWithResponse call
func (SelectFacebookPageResponse) Status ¶
func (r SelectFacebookPageResponse) Status() string
Status returns HTTPResponse.Status
func (SelectFacebookPageResponse) StatusCode ¶
func (r SelectFacebookPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectGoogleBusinessLocation200AccountPlatform ¶
type SelectGoogleBusinessLocation200AccountPlatform string
type SelectGoogleBusinessLocationJSONBody ¶
type SelectGoogleBusinessLocationJSONBody struct {
// LocationId The Google Business location ID selected by the user
LocationId string `json:"locationId"`
// PendingDataToken Token from the OAuth callback redirect (pendingDataToken query param). Tokens and profile data are retrieved server-side from this token.
PendingDataToken string `json:"pendingDataToken"`
// ProfileId Profile ID from your connection flow
ProfileId string `json:"profileId"`
// RedirectUrl Optional custom redirect URL to return to after selection
RedirectUrl *string `json:"redirect_url,omitempty"`
}
SelectGoogleBusinessLocationJSONBody defines parameters for SelectGoogleBusinessLocation.
type SelectGoogleBusinessLocationJSONRequestBody ¶
type SelectGoogleBusinessLocationJSONRequestBody SelectGoogleBusinessLocationJSONBody
SelectGoogleBusinessLocationJSONRequestBody defines body for SelectGoogleBusinessLocation for application/json ContentType.
type SelectGoogleBusinessLocationResponse ¶
type SelectGoogleBusinessLocationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
// AccountId ID of the created SocialAccount
AccountId *string `json:"accountId,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *SelectGoogleBusinessLocation200AccountPlatform `json:"platform,omitempty"`
SelectedLocationId *string `json:"selectedLocationId,omitempty"`
SelectedLocationName *string `json:"selectedLocationName,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
// RedirectUrl Redirect URL if custom redirect_url was provided
RedirectUrl *string `json:"redirect_url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSelectGoogleBusinessLocationResponse ¶
func ParseSelectGoogleBusinessLocationResponse(rsp *http.Response) (*SelectGoogleBusinessLocationResponse, error)
ParseSelectGoogleBusinessLocationResponse parses an HTTP response from a SelectGoogleBusinessLocationWithResponse call
func (SelectGoogleBusinessLocationResponse) Status ¶
func (r SelectGoogleBusinessLocationResponse) Status() string
Status returns HTTPResponse.Status
func (SelectGoogleBusinessLocationResponse) StatusCode ¶
func (r SelectGoogleBusinessLocationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectLinkedInOrganization200AccountAccountType ¶
type SelectLinkedInOrganization200AccountAccountType string
type SelectLinkedInOrganization200AccountPlatform ¶
type SelectLinkedInOrganization200AccountPlatform string
type SelectLinkedInOrganizationJSONBody ¶
type SelectLinkedInOrganizationJSONBody struct {
AccountType SelectLinkedInOrganizationJSONBodyAccountType `json:"accountType"`
ProfileId string `json:"profileId"`
RedirectUrl *string `json:"redirect_url,omitempty"`
SelectedOrganization *map[string]interface{} `json:"selectedOrganization,omitempty"`
TempToken string `json:"tempToken"`
UserProfile map[string]interface{} `json:"userProfile"`
}
SelectLinkedInOrganizationJSONBody defines parameters for SelectLinkedInOrganization.
type SelectLinkedInOrganizationJSONBodyAccountType ¶
type SelectLinkedInOrganizationJSONBodyAccountType string
SelectLinkedInOrganizationJSONBodyAccountType defines parameters for SelectLinkedInOrganization.
const ( SelectLinkedInOrganizationJSONBodyAccountTypeOrganization SelectLinkedInOrganizationJSONBodyAccountType = "organization" SelectLinkedInOrganizationJSONBodyAccountTypePersonal SelectLinkedInOrganizationJSONBodyAccountType = "personal" )
Defines values for SelectLinkedInOrganizationJSONBodyAccountType.
func (SelectLinkedInOrganizationJSONBodyAccountType) Valid ¶
func (e SelectLinkedInOrganizationJSONBodyAccountType) Valid() bool
Valid indicates whether the value is a known member of the SelectLinkedInOrganizationJSONBodyAccountType enum.
type SelectLinkedInOrganizationJSONRequestBody ¶
type SelectLinkedInOrganizationJSONRequestBody SelectLinkedInOrganizationJSONBody
SelectLinkedInOrganizationJSONRequestBody defines body for SelectLinkedInOrganization for application/json ContentType.
type SelectLinkedInOrganizationResponse ¶
type SelectLinkedInOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
// AccountId ID of the created SocialAccount
AccountId *string `json:"accountId,omitempty"`
AccountType *SelectLinkedInOrganization200AccountAccountType `json:"accountType,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *SelectLinkedInOrganization200AccountPlatform `json:"platform,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
BulkRefresh *struct {
Errors *int `json:"errors,omitempty"`
UpdatedCount *int `json:"updatedCount,omitempty"`
} `json:"bulkRefresh,omitempty"`
Message *string `json:"message,omitempty"`
// RedirectUrl The redirect URL with connection params appended (only if redirect_url was provided in request)
RedirectUrl *string `json:"redirect_url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSelectLinkedInOrganizationResponse ¶
func ParseSelectLinkedInOrganizationResponse(rsp *http.Response) (*SelectLinkedInOrganizationResponse, error)
ParseSelectLinkedInOrganizationResponse parses an HTTP response from a SelectLinkedInOrganizationWithResponse call
func (SelectLinkedInOrganizationResponse) Status ¶
func (r SelectLinkedInOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (SelectLinkedInOrganizationResponse) StatusCode ¶
func (r SelectLinkedInOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectPinterestBoard200AccountPlatform ¶
type SelectPinterestBoard200AccountPlatform string
type SelectPinterestBoardJSONBody ¶
type SelectPinterestBoardJSONBody struct {
// BoardId The Pinterest Board ID selected by the user
BoardId string `json:"boardId"`
// BoardName The board name (for display purposes)
BoardName *string `json:"boardName,omitempty"`
// ExpiresIn Token expiration time in seconds
ExpiresIn *int `json:"expiresIn,omitempty"`
// ProfileId Your Zernio profile ID
ProfileId string `json:"profileId"`
// RedirectUrl Custom redirect URL after connection completes
RedirectUrl *string `json:"redirect_url,omitempty"`
// RefreshToken Pinterest refresh token (if available)
RefreshToken *string `json:"refreshToken,omitempty"`
// TempToken Temporary Pinterest access token from OAuth
TempToken string `json:"tempToken"`
// UserProfile User profile data from OAuth redirect
UserProfile *map[string]interface{} `json:"userProfile,omitempty"`
}
SelectPinterestBoardJSONBody defines parameters for SelectPinterestBoard.
type SelectPinterestBoardJSONRequestBody ¶
type SelectPinterestBoardJSONRequestBody SelectPinterestBoardJSONBody
SelectPinterestBoardJSONRequestBody defines body for SelectPinterestBoard for application/json ContentType.
type SelectPinterestBoardResponse ¶
type SelectPinterestBoardResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
// AccountId ID of the created SocialAccount
AccountId *string `json:"accountId,omitempty"`
DefaultBoardName *string `json:"defaultBoardName,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *SelectPinterestBoard200AccountPlatform `json:"platform,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
// RedirectUrl Redirect URL with connection params (if provided)
RedirectUrl *string `json:"redirect_url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSelectPinterestBoardResponse ¶
func ParseSelectPinterestBoardResponse(rsp *http.Response) (*SelectPinterestBoardResponse, error)
ParseSelectPinterestBoardResponse parses an HTTP response from a SelectPinterestBoardWithResponse call
func (SelectPinterestBoardResponse) Status ¶
func (r SelectPinterestBoardResponse) Status() string
Status returns HTTPResponse.Status
func (SelectPinterestBoardResponse) StatusCode ¶
func (r SelectPinterestBoardResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SelectSnapchatProfile200AccountPlatform ¶
type SelectSnapchatProfile200AccountPlatform string
type SelectSnapchatProfileJSONBody ¶
type SelectSnapchatProfileJSONBody struct {
// ExpiresIn Token expiration time in seconds
ExpiresIn *int `json:"expiresIn,omitempty"`
// ProfileId Your Zernio profile ID
ProfileId string `json:"profileId"`
// RedirectUrl Custom redirect URL after connection completes
RedirectUrl *string `json:"redirect_url,omitempty"`
// RefreshToken Snapchat refresh token (if available)
RefreshToken *string `json:"refreshToken,omitempty"`
// SelectedPublicProfile The selected Snapchat Public Profile
SelectedPublicProfile struct {
// DisplayName Display name of the public profile
DisplayName string `json:"display_name"`
// Id Snapchat Public Profile ID
Id string `json:"id"`
// ProfileImageUrl Profile image URL
ProfileImageUrl *string `json:"profile_image_url,omitempty"`
// SubscriberCount Number of subscribers
SubscriberCount *int `json:"subscriber_count,omitempty"`
// Username Username/handle
Username *string `json:"username,omitempty"`
} `json:"selectedPublicProfile"`
// TempToken Temporary Snapchat access token from OAuth
TempToken string `json:"tempToken"`
// UserProfile User profile data from OAuth redirect
UserProfile map[string]interface{} `json:"userProfile"`
}
SelectSnapchatProfileJSONBody defines parameters for SelectSnapchatProfile.
type SelectSnapchatProfileJSONRequestBody ¶
type SelectSnapchatProfileJSONRequestBody SelectSnapchatProfileJSONBody
SelectSnapchatProfileJSONRequestBody defines body for SelectSnapchatProfile for application/json ContentType.
type SelectSnapchatProfileParams ¶
type SelectSnapchatProfileParams struct {
// XConnectToken Short-lived connect token from the OAuth redirect (for API users)
XConnectToken *string `json:"X-Connect-Token,omitempty"`
}
SelectSnapchatProfileParams defines parameters for SelectSnapchatProfile.
type SelectSnapchatProfileResponse ¶
type SelectSnapchatProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
// AccountId ID of the created SocialAccount
AccountId *string `json:"accountId,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Platform *SelectSnapchatProfile200AccountPlatform `json:"platform,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
PublicProfileName *string `json:"publicProfileName,omitempty"`
Username *string `json:"username,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
// RedirectUrl Redirect URL with connection params (if provided in request)
RedirectUrl *string `json:"redirect_url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSelectSnapchatProfileResponse ¶
func ParseSelectSnapchatProfileResponse(rsp *http.Response) (*SelectSnapchatProfileResponse, error)
ParseSelectSnapchatProfileResponse parses an HTTP response from a SelectSnapchatProfileWithResponse call
func (SelectSnapchatProfileResponse) Status ¶
func (r SelectSnapchatProfileResponse) Status() string
Status returns HTTPResponse.Status
func (SelectSnapchatProfileResponse) StatusCode ¶
func (r SelectSnapchatProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendBroadcast200Status ¶ added in v0.0.83
type SendBroadcast200Status string
type SendBroadcastResponse ¶ added in v0.0.76
type SendBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Failed Recipients failed in this batch
Failed *int `json:"failed,omitempty"`
// RecipientCount Total recipient count
RecipientCount *int `json:"recipientCount,omitempty"`
// Sent Recipients sent in this batch
Sent *int `json:"sent,omitempty"`
// Status Current broadcast status after processing first batch
Status *SendBroadcast200Status `json:"status,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseSendBroadcastResponse ¶ added in v0.0.76
func ParseSendBroadcastResponse(rsp *http.Response) (*SendBroadcastResponse, error)
ParseSendBroadcastResponse parses an HTTP response from a SendBroadcastWithResponse call
func (SendBroadcastResponse) Status ¶ added in v0.0.76
func (r SendBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (SendBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r SendBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendConversions200FailuresCode0 ¶ added in v0.0.149
type SendConversions200FailuresCode0 = string
type SendConversions200FailuresCode1 ¶ added in v0.0.149
type SendConversions200FailuresCode1 = int
type SendConversions200Platform ¶ added in v0.0.149
type SendConversions200Platform string
type SendConversionsJSONBody ¶ added in v0.0.149
type SendConversionsJSONBody struct {
// AccountId SocialAccount ID (metaads or googleads).
AccountId string `json:"accountId"`
// Consent Batch-level user consent. Required by Google for EEA/UK
// events under the Feb 2026 restrictions. Ignored by Meta.
Consent *struct {
AdPersonalization *SendConversionsJSONBodyConsentAdPersonalization `json:"adPersonalization,omitempty"`
AdUserData *SendConversionsJSONBodyConsentAdUserData `json:"adUserData,omitempty"`
} `json:"consent,omitempty"`
// DestinationId Platform destination identifier. For Meta, the pixel/dataset
// ID. For Google, the conversion action resource name.
DestinationId string `json:"destinationId"`
Events []ConversionEvent `json:"events"`
// TestCode Meta `test_event_code` passthrough. Ignored by Google.
TestCode *string `json:"testCode,omitempty"`
}
SendConversionsJSONBody defines parameters for SendConversions.
type SendConversionsJSONBodyConsentAdPersonalization ¶ added in v0.0.149
type SendConversionsJSONBodyConsentAdPersonalization string
SendConversionsJSONBodyConsentAdPersonalization defines parameters for SendConversions.
const ( SendConversionsJSONBodyConsentAdPersonalizationDENIED SendConversionsJSONBodyConsentAdPersonalization = "DENIED" SendConversionsJSONBodyConsentAdPersonalizationGRANTED SendConversionsJSONBodyConsentAdPersonalization = "GRANTED" )
Defines values for SendConversionsJSONBodyConsentAdPersonalization.
func (SendConversionsJSONBodyConsentAdPersonalization) Valid ¶ added in v0.0.149
func (e SendConversionsJSONBodyConsentAdPersonalization) Valid() bool
Valid indicates whether the value is a known member of the SendConversionsJSONBodyConsentAdPersonalization enum.
type SendConversionsJSONBodyConsentAdUserData ¶ added in v0.0.149
type SendConversionsJSONBodyConsentAdUserData string
SendConversionsJSONBodyConsentAdUserData defines parameters for SendConversions.
const ( SendConversionsJSONBodyConsentAdUserDataDENIED SendConversionsJSONBodyConsentAdUserData = "DENIED" SendConversionsJSONBodyConsentAdUserDataGRANTED SendConversionsJSONBodyConsentAdUserData = "GRANTED" )
Defines values for SendConversionsJSONBodyConsentAdUserData.
func (SendConversionsJSONBodyConsentAdUserData) Valid ¶ added in v0.0.149
func (e SendConversionsJSONBodyConsentAdUserData) Valid() bool
Valid indicates whether the value is a known member of the SendConversionsJSONBodyConsentAdUserData enum.
type SendConversionsJSONRequestBody ¶ added in v0.0.149
type SendConversionsJSONRequestBody SendConversionsJSONBody
SendConversionsJSONRequestBody defines body for SendConversions for application/json ContentType.
type SendConversionsResponse ¶ added in v0.0.149
type SendConversionsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// EventsFailed Events rejected (see failures).
EventsFailed *int `json:"eventsFailed,omitempty"`
// EventsReceived Events accepted by the platform.
EventsReceived *int `json:"eventsReceived,omitempty"`
Failures *[]struct {
Code *SendConversions_200_Failures_Code `json:"code,omitempty"`
// EventId Echoes back the eventId of the failed event.
EventId *string `json:"eventId,omitempty"`
// EventIndex Index into the submitted events array.
EventIndex *int `json:"eventIndex,omitempty"`
Message *string `json:"message,omitempty"`
} `json:"failures,omitempty"`
Platform *SendConversions200Platform `json:"platform,omitempty"`
// TraceId Platform trace ID (fbtrace_id for Meta, requestId for Google) for debugging.
TraceId *string `json:"traceId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendConversionsResponse ¶ added in v0.0.149
func ParseSendConversionsResponse(rsp *http.Response) (*SendConversionsResponse, error)
ParseSendConversionsResponse parses an HTTP response from a SendConversionsWithResponse call
func (SendConversionsResponse) Status ¶ added in v0.0.149
func (r SendConversionsResponse) Status() string
Status returns HTTPResponse.Status
func (SendConversionsResponse) StatusCode ¶ added in v0.0.149
func (r SendConversionsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendConversions_200_Failures_Code ¶ added in v0.0.149
type SendConversions_200_Failures_Code struct {
// contains filtered or unexported fields
}
type SendInboxMessage400Code ¶
type SendInboxMessage400Code string
type SendInboxMessageJSONBody ¶
type SendInboxMessageJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
// AttachmentType Type of attachment. Defaults to file if not specified.
AttachmentType *SendInboxMessageJSONBodyAttachmentType `json:"attachmentType,omitempty"`
// AttachmentUrl URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
AttachmentUrl *string `json:"attachmentUrl,omitempty"`
// Buttons Action buttons. Mutually exclusive with quickReplies. Max 3 items.
Buttons *[]struct {
// Payload Payload for postback-type buttons
Payload *string `json:"payload,omitempty"`
// Phone Phone number for phone-type buttons (Facebook only)
Phone *string `json:"phone,omitempty"`
// Title Button label (max 20 chars)
Title string `json:"title"`
// Type Button type. phone is Facebook only.
Type SendInboxMessageJSONBodyButtonsType `json:"type"`
// Url URL for url-type buttons
Url *string `json:"url,omitempty"`
} `json:"buttons,omitempty"`
// Interactive WhatsApp-only. Rich interactive payload for list messages, CTA URL
// buttons, and Flow prompts. When set, takes priority over `buttons`
// and `quickReplies`. The shape mirrors Meta's Cloud API `interactive`
// object verbatim, so any payload that works against Meta directly
// will also work here.
//
// Use `buttons` / `quickReplies` for simple button replies
// (WhatsApp's `interactive.type: "button"`) — the abstraction caps at
// 3 buttons and handles the auto-conversion for you. Use this field
// only for `list`, `cta_url`, or `flow` messages.
//
// Tap events come back via the `message.received` webhook with
// `metadata.interactiveType` set to `list_reply` or `nfm_reply`.
Interactive *struct {
Action SendInboxMessageJSONBody_Interactive_Action `json:"action"`
Body struct {
// Text Main body text.
Text string `json:"text"`
} `json:"body"`
// Footer Optional footer shown below the action.
Footer *struct {
Text *string `json:"text,omitempty"`
} `json:"footer,omitempty"`
// Header Optional header shown above the body.
Header *struct {
Document *struct {
Link *string `json:"link,omitempty"`
} `json:"document,omitempty"`
Image *struct {
Link *string `json:"link,omitempty"`
} `json:"image,omitempty"`
// Text Required when header type is text.
Text *string `json:"text,omitempty"`
Type *SendInboxMessageJSONBodyInteractiveHeaderType `json:"type,omitempty"`
Video *struct {
Link *string `json:"link,omitempty"`
} `json:"video,omitempty"`
} `json:"header,omitempty"`
// Type Which interactive layout to render.
Type SendInboxMessageJSONBodyInteractiveType `json:"type"`
} `json:"interactive,omitempty"`
// Message Message text
Message *string `json:"message,omitempty"`
// MessageTag Facebook message tag for messaging outside 24h window. Requires messagingType MESSAGE_TAG. Instagram only supports HUMAN_AGENT.
MessageTag *SendInboxMessageJSONBodyMessageTag `json:"messageTag,omitempty"`
// MessagingType Facebook messaging type. Required when using messageTag.
MessagingType *SendInboxMessageJSONBodyMessagingType `json:"messagingType,omitempty"`
// QuickReplies Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
QuickReplies *[]struct {
// ImageUrl Optional icon URL (Meta only)
ImageUrl *string `json:"imageUrl,omitempty"`
// Payload Payload sent back on tap
Payload string `json:"payload"`
// Title Button label (max 20 chars)
Title string `json:"title"`
} `json:"quickReplies,omitempty"`
// ReplyMarkup Telegram-native keyboard markup. Ignored on other platforms.
ReplyMarkup *struct {
// Keyboard Array of rows, each row is an array of buttons
Keyboard *[][]struct {
// CallbackData Callback data (inline_keyboard only
CallbackData *string `json:"callbackData,omitempty"`
// Text Button text
Text *string `json:"text,omitempty"`
// Url URL to open (inline_keyboard only)
Url *string `json:"url,omitempty"`
} `json:"keyboard,omitempty"`
// OneTime Hide keyboard after use (reply_keyboard only)
OneTime *bool `json:"oneTime,omitempty"`
// Type Keyboard type
Type *SendInboxMessageJSONBodyReplyMarkupType `json:"type,omitempty"`
} `json:"replyMarkup,omitempty"`
// ReplyTo Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
ReplyTo *string `json:"replyTo,omitempty"`
// Template Generic template for carousels (Instagram/Facebook only, ignored on Telegram).
Template *struct {
Elements *[]struct {
Buttons *[]struct {
Payload *string `json:"payload,omitempty"`
Title *string `json:"title,omitempty"`
Type *SendInboxMessageJSONBodyTemplateElementsButtonsType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"buttons,omitempty"`
// ImageUrl Element image URL
ImageUrl *string `json:"imageUrl,omitempty"`
// Subtitle Element subtitle
Subtitle *string `json:"subtitle,omitempty"`
// Title Element title (max 80 chars)
Title string `json:"title"`
} `json:"elements,omitempty"`
// Type Template type
Type *SendInboxMessageJSONBodyTemplateType `json:"type,omitempty"`
} `json:"template,omitempty"`
}
SendInboxMessageJSONBody defines parameters for SendInboxMessage.
type SendInboxMessageJSONBodyAttachmentType ¶ added in v0.0.74
type SendInboxMessageJSONBodyAttachmentType string
SendInboxMessageJSONBodyAttachmentType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyAttachmentTypeAudio SendInboxMessageJSONBodyAttachmentType = "audio" SendInboxMessageJSONBodyAttachmentTypeFile SendInboxMessageJSONBodyAttachmentType = "file" SendInboxMessageJSONBodyAttachmentTypeImage SendInboxMessageJSONBodyAttachmentType = "image" SendInboxMessageJSONBodyAttachmentTypeVideo SendInboxMessageJSONBodyAttachmentType = "video" )
Defines values for SendInboxMessageJSONBodyAttachmentType.
func (SendInboxMessageJSONBodyAttachmentType) Valid ¶ added in v0.0.74
func (e SendInboxMessageJSONBodyAttachmentType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyAttachmentType enum.
type SendInboxMessageJSONBodyButtonsType ¶
type SendInboxMessageJSONBodyButtonsType string
SendInboxMessageJSONBodyButtonsType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyButtonsTypePhone SendInboxMessageJSONBodyButtonsType = "phone" SendInboxMessageJSONBodyButtonsTypePostback SendInboxMessageJSONBodyButtonsType = "postback" SendInboxMessageJSONBodyButtonsTypeUrl SendInboxMessageJSONBodyButtonsType = "url" )
Defines values for SendInboxMessageJSONBodyButtonsType.
func (SendInboxMessageJSONBodyButtonsType) Valid ¶
func (e SendInboxMessageJSONBodyButtonsType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyButtonsType enum.
type SendInboxMessageJSONBodyInteractiveAction0 ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction0 struct {
// Button CTA label that opens the list (max ~20 chars).
Button string `json:"button"`
// Sections 1-10 sections. Total rows across all sections cannot exceed 10.
Sections []struct {
Rows []struct {
// Description Optional description below the title (max 72 chars).
Description *string `json:"description,omitempty"`
// Id Identifier returned in the webhook as metadata.interactiveId (max 200 chars).
Id string `json:"id"`
// Title Row label (max 24 chars).
Title string `json:"title"`
} `json:"rows"`
// Title Optional section header (max 24 chars).
Title *string `json:"title,omitempty"`
} `json:"sections"`
}
SendInboxMessageJSONBodyInteractiveAction0 defines parameters for SendInboxMessage.
type SendInboxMessageJSONBodyInteractiveAction1 ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction1 struct {
Name SendInboxMessageJSONBodyInteractiveAction1Name `json:"name"`
Parameters struct {
// DisplayText Button label (max 20 chars).
DisplayText string `json:"display_text"`
// Url Target URL opened when the user taps the button.
Url string `json:"url"`
} `json:"parameters"`
}
SendInboxMessageJSONBodyInteractiveAction1 defines parameters for SendInboxMessage.
type SendInboxMessageJSONBodyInteractiveAction1Name ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction1Name string
SendInboxMessageJSONBodyInteractiveAction1Name defines parameters for SendInboxMessage.
const (
SendInboxMessageJSONBodyInteractiveAction1NameCtaUrl SendInboxMessageJSONBodyInteractiveAction1Name = "cta_url"
)
Defines values for SendInboxMessageJSONBodyInteractiveAction1Name.
func (SendInboxMessageJSONBodyInteractiveAction1Name) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveAction1Name) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveAction1Name enum.
type SendInboxMessageJSONBodyInteractiveAction2 ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction2 struct {
Name SendInboxMessageJSONBodyInteractiveAction2Name `json:"name"`
Parameters struct {
// FlowAction `navigate` sends the user to `flow_action_payload.screen`; `data_exchange` posts data to your Flow endpoint.
FlowAction SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction `json:"flow_action"`
// FlowActionPayload Required when flow_action is `navigate`.
FlowActionPayload *struct {
// Data Optional pre-filled data passed to the screen.
Data *map[string]interface{} `json:"data,omitempty"`
// Screen First screen to show.
Screen *string `json:"screen,omitempty"`
} `json:"flow_action_payload,omitempty"`
// FlowCta Button label that opens the Flow (max 20 chars).
FlowCta string `json:"flow_cta"`
// FlowId Published Flow ID from Meta Business Manager.
FlowId string `json:"flow_id"`
// FlowMessageVersion Defaults to "3" when omitted.
FlowMessageVersion *SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion `json:"flow_message_version,omitempty"`
// FlowToken Opaque token you choose to correlate Flow responses with your own state (max 200 chars).
FlowToken string `json:"flow_token"`
// Mode Set to `draft` to test an unpublished Flow.
Mode *SendInboxMessageJSONBodyInteractiveAction2ParametersMode `json:"mode,omitempty"`
} `json:"parameters"`
}
SendInboxMessageJSONBodyInteractiveAction2 defines parameters for SendInboxMessage.
type SendInboxMessageJSONBodyInteractiveAction2Name ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction2Name string
SendInboxMessageJSONBodyInteractiveAction2Name defines parameters for SendInboxMessage.
const (
Flow SendInboxMessageJSONBodyInteractiveAction2Name = "flow"
)
Defines values for SendInboxMessageJSONBodyInteractiveAction2Name.
func (SendInboxMessageJSONBodyInteractiveAction2Name) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveAction2Name) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveAction2Name enum.
type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction string
SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyInteractiveAction2ParametersFlowActionDataExchange SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction = "data_exchange" )
Defines values for SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction.
func (SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveAction2ParametersFlowAction enum.
type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion string
SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion defines parameters for SendInboxMessage.
const (
N3 SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion = "3"
)
Defines values for SendInboxMessageJSONBodyInteractiveAction2ParametersFlowMessageVersion.
type SendInboxMessageJSONBodyInteractiveAction2ParametersMode ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveAction2ParametersMode string
SendInboxMessageJSONBodyInteractiveAction2ParametersMode defines parameters for SendInboxMessage.
const (
SendInboxMessageJSONBodyInteractiveAction2ParametersModeDraft SendInboxMessageJSONBodyInteractiveAction2ParametersMode = "draft"
)
Defines values for SendInboxMessageJSONBodyInteractiveAction2ParametersMode.
func (SendInboxMessageJSONBodyInteractiveAction2ParametersMode) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveAction2ParametersMode) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveAction2ParametersMode enum.
type SendInboxMessageJSONBodyInteractiveHeaderType ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveHeaderType string
SendInboxMessageJSONBodyInteractiveHeaderType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyInteractiveHeaderTypeDocument SendInboxMessageJSONBodyInteractiveHeaderType = "document" SendInboxMessageJSONBodyInteractiveHeaderTypeImage SendInboxMessageJSONBodyInteractiveHeaderType = "image" SendInboxMessageJSONBodyInteractiveHeaderTypeText SendInboxMessageJSONBodyInteractiveHeaderType = "text" SendInboxMessageJSONBodyInteractiveHeaderTypeVideo SendInboxMessageJSONBodyInteractiveHeaderType = "video" )
Defines values for SendInboxMessageJSONBodyInteractiveHeaderType.
func (SendInboxMessageJSONBodyInteractiveHeaderType) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveHeaderType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveHeaderType enum.
type SendInboxMessageJSONBodyInteractiveType ¶ added in v0.0.161
type SendInboxMessageJSONBodyInteractiveType string
SendInboxMessageJSONBodyInteractiveType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyInteractiveTypeCtaUrl SendInboxMessageJSONBodyInteractiveType = "cta_url" SendInboxMessageJSONBodyInteractiveTypeFlow SendInboxMessageJSONBodyInteractiveType = "flow" SendInboxMessageJSONBodyInteractiveTypeList SendInboxMessageJSONBodyInteractiveType = "list" )
Defines values for SendInboxMessageJSONBodyInteractiveType.
func (SendInboxMessageJSONBodyInteractiveType) Valid ¶ added in v0.0.161
func (e SendInboxMessageJSONBodyInteractiveType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyInteractiveType enum.
type SendInboxMessageJSONBodyMessageTag ¶
type SendInboxMessageJSONBodyMessageTag string
SendInboxMessageJSONBodyMessageTag defines parameters for SendInboxMessage.
const ( ACCOUNTUPDATE SendInboxMessageJSONBodyMessageTag = "ACCOUNT_UPDATE" CONFIRMEDEVENTUPDATE SendInboxMessageJSONBodyMessageTag = "CONFIRMED_EVENT_UPDATE" HUMANAGENT SendInboxMessageJSONBodyMessageTag = "HUMAN_AGENT" POSTPURCHASEUPDATE SendInboxMessageJSONBodyMessageTag = "POST_PURCHASE_UPDATE" )
Defines values for SendInboxMessageJSONBodyMessageTag.
func (SendInboxMessageJSONBodyMessageTag) Valid ¶
func (e SendInboxMessageJSONBodyMessageTag) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyMessageTag enum.
type SendInboxMessageJSONBodyMessagingType ¶
type SendInboxMessageJSONBodyMessagingType string
SendInboxMessageJSONBodyMessagingType defines parameters for SendInboxMessage.
const ( MESSAGETAG SendInboxMessageJSONBodyMessagingType = "MESSAGE_TAG" RESPONSE SendInboxMessageJSONBodyMessagingType = "RESPONSE" UPDATE SendInboxMessageJSONBodyMessagingType = "UPDATE" )
Defines values for SendInboxMessageJSONBodyMessagingType.
func (SendInboxMessageJSONBodyMessagingType) Valid ¶
func (e SendInboxMessageJSONBodyMessagingType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyMessagingType enum.
type SendInboxMessageJSONBodyReplyMarkupType ¶
type SendInboxMessageJSONBodyReplyMarkupType string
SendInboxMessageJSONBodyReplyMarkupType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyReplyMarkupTypeInlineKeyboard SendInboxMessageJSONBodyReplyMarkupType = "inline_keyboard" SendInboxMessageJSONBodyReplyMarkupTypeReplyKeyboard SendInboxMessageJSONBodyReplyMarkupType = "reply_keyboard" )
Defines values for SendInboxMessageJSONBodyReplyMarkupType.
func (SendInboxMessageJSONBodyReplyMarkupType) Valid ¶
func (e SendInboxMessageJSONBodyReplyMarkupType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyReplyMarkupType enum.
type SendInboxMessageJSONBodyTemplateElementsButtonsType ¶
type SendInboxMessageJSONBodyTemplateElementsButtonsType string
SendInboxMessageJSONBodyTemplateElementsButtonsType defines parameters for SendInboxMessage.
const ( SendInboxMessageJSONBodyTemplateElementsButtonsTypePostback SendInboxMessageJSONBodyTemplateElementsButtonsType = "postback" SendInboxMessageJSONBodyTemplateElementsButtonsTypeUrl SendInboxMessageJSONBodyTemplateElementsButtonsType = "url" )
Defines values for SendInboxMessageJSONBodyTemplateElementsButtonsType.
func (SendInboxMessageJSONBodyTemplateElementsButtonsType) Valid ¶
func (e SendInboxMessageJSONBodyTemplateElementsButtonsType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyTemplateElementsButtonsType enum.
type SendInboxMessageJSONBodyTemplateType ¶
type SendInboxMessageJSONBodyTemplateType string
SendInboxMessageJSONBodyTemplateType defines parameters for SendInboxMessage.
const (
Generic SendInboxMessageJSONBodyTemplateType = "generic"
)
Defines values for SendInboxMessageJSONBodyTemplateType.
func (SendInboxMessageJSONBodyTemplateType) Valid ¶
func (e SendInboxMessageJSONBodyTemplateType) Valid() bool
Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyTemplateType enum.
type SendInboxMessageJSONBody_Interactive_Action ¶ added in v0.0.161
type SendInboxMessageJSONBody_Interactive_Action struct {
// contains filtered or unexported fields
}
SendInboxMessageJSONBody_Interactive_Action defines parameters for SendInboxMessage.
type SendInboxMessageJSONRequestBody ¶
type SendInboxMessageJSONRequestBody SendInboxMessageJSONBody
SendInboxMessageJSONRequestBody defines body for SendInboxMessage for application/json ContentType.
type SendInboxMessageMultipartBody ¶
type SendInboxMessageMultipartBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
// Attachment File attachment (images, videos, documents). Supported formats: JPEG, PNG, GIF, MP4, AAC, WAV. Max 25MB.
Attachment *openapi_types.File `json:"attachment,omitempty"`
// Buttons JSON string of buttons array (same schema as application/json body)
Buttons *string `json:"buttons,omitempty"`
// Message Message text (optional when sending attachment)
Message *string `json:"message,omitempty"`
// MessageTag Message tag (requires messagingType MESSAGE_TAG)
MessageTag *string `json:"messageTag,omitempty"`
// MessagingType Messaging type (Facebook only). RESPONSE, UPDATE, or MESSAGE_TAG.
MessagingType *string `json:"messagingType,omitempty"`
// QuickReplies JSON string of quick replies array (same schema as application/json body)
QuickReplies *string `json:"quickReplies,omitempty"`
// ReplyMarkup JSON string of replyMarkup object (same schema as application/json body)
ReplyMarkup *string `json:"replyMarkup,omitempty"`
// ReplyTo Platform message ID to quote-reply to. For WhatsApp, pass the wamid (available in message.platformMessageId from webhooks). For Telegram, pass the Telegram message ID.
ReplyTo *string `json:"replyTo,omitempty"`
// Template JSON string of template object (same schema as application/json body)
Template *string `json:"template,omitempty"`
}
SendInboxMessageMultipartBody defines parameters for SendInboxMessage.
type SendInboxMessageMultipartRequestBody ¶
type SendInboxMessageMultipartRequestBody SendInboxMessageMultipartBody
SendInboxMessageMultipartRequestBody defines body for SendInboxMessage for multipart/form-data ContentType.
type SendInboxMessageResponse ¶
type SendInboxMessageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
// ConversationId Twitter conversation ID
ConversationId *string `json:"conversationId,omitempty"`
// Message Success message (Reddit only)
Message *string `json:"message,omitempty"`
// MessageId ID of the sent message (not returned for Reddit)
MessageId *string `json:"messageId,omitempty"`
// SentAt Bluesky sent timestamp
SentAt *time.Time `json:"sentAt,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *struct {
Code *SendInboxMessage400Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendInboxMessageResponse ¶
func ParseSendInboxMessageResponse(rsp *http.Response) (*SendInboxMessageResponse, error)
ParseSendInboxMessageResponse parses an HTTP response from a SendInboxMessageWithResponse call
func (SendInboxMessageResponse) Status ¶
func (r SendInboxMessageResponse) Status() string
Status returns HTTPResponse.Status
func (SendInboxMessageResponse) StatusCode ¶
func (r SendInboxMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendPrivateReplyToComment200Platform ¶
type SendPrivateReplyToComment200Platform string
type SendPrivateReplyToComment400Code ¶
type SendPrivateReplyToComment400Code string
type SendPrivateReplyToCommentJSONBody ¶
type SendPrivateReplyToCommentJSONBody struct {
// AccountId The social account ID (Instagram or Facebook)
AccountId string `json:"accountId"`
// Message The message text to send as a private DM
Message string `json:"message"`
}
SendPrivateReplyToCommentJSONBody defines parameters for SendPrivateReplyToComment.
type SendPrivateReplyToCommentJSONRequestBody ¶
type SendPrivateReplyToCommentJSONRequestBody SendPrivateReplyToCommentJSONBody
SendPrivateReplyToCommentJSONRequestBody defines body for SendPrivateReplyToComment for application/json ContentType.
type SendPrivateReplyToCommentResponse ¶
type SendPrivateReplyToCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// CommentId The comment ID that was replied to
CommentId *string `json:"commentId,omitempty"`
// MessageId The ID of the sent message
MessageId *string `json:"messageId,omitempty"`
Platform *SendPrivateReplyToComment200Platform `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON400 *struct {
Code *SendPrivateReplyToComment400Code `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendPrivateReplyToCommentResponse ¶
func ParseSendPrivateReplyToCommentResponse(rsp *http.Response) (*SendPrivateReplyToCommentResponse, error)
ParseSendPrivateReplyToCommentResponse parses an HTTP response from a SendPrivateReplyToCommentWithResponse call
func (SendPrivateReplyToCommentResponse) Status ¶
func (r SendPrivateReplyToCommentResponse) Status() string
Status returns HTTPResponse.Status
func (SendPrivateReplyToCommentResponse) StatusCode ¶
func (r SendPrivateReplyToCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendTypingIndicatorJSONBody ¶ added in v0.0.96
type SendTypingIndicatorJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
}
SendTypingIndicatorJSONBody defines parameters for SendTypingIndicator.
type SendTypingIndicatorJSONRequestBody ¶ added in v0.0.96
type SendTypingIndicatorJSONRequestBody SendTypingIndicatorJSONBody
SendTypingIndicatorJSONRequestBody defines body for SendTypingIndicator for application/json ContentType.
type SendTypingIndicatorResponse ¶ added in v0.0.96
type SendTypingIndicatorResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendTypingIndicatorResponse ¶ added in v0.0.96
func ParseSendTypingIndicatorResponse(rsp *http.Response) (*SendTypingIndicatorResponse, error)
ParseSendTypingIndicatorResponse parses an HTTP response from a SendTypingIndicatorWithResponse call
func (SendTypingIndicatorResponse) Status ¶ added in v0.0.96
func (r SendTypingIndicatorResponse) Status() string
Status returns HTTPResponse.Status
func (SendTypingIndicatorResponse) StatusCode ¶ added in v0.0.96
func (r SendTypingIndicatorResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendWhatsAppConversion200FailuresCode0 ¶ added in v0.0.189
type SendWhatsAppConversion200FailuresCode0 = string
type SendWhatsAppConversion200FailuresCode1 ¶ added in v0.0.189
type SendWhatsAppConversion200FailuresCode1 = int
type SendWhatsAppConversion200Platform ¶ added in v0.0.189
type SendWhatsAppConversion200Platform string
type SendWhatsAppConversionJSONBody ¶ added in v0.0.189
type SendWhatsAppConversionJSONBody struct {
// AccountId WhatsApp SocialAccount ID.
AccountId string `json:"accountId"`
// ContentIds Optional product / content identifiers.
ContentIds *[]string `json:"contentIds,omitempty"`
// ConversationId Zernio Conversation `_id` (preferred lookup). The
// conversation must have a captured `ctwa_clid` in metadata
// (set automatically by the WhatsApp webhook on the first
// inbound message after a CTWA ad click).
ConversationId *string `json:"conversationId,omitempty"`
// Currency ISO 4217 currency code (e.g. `USD`).
Currency *string `json:"currency,omitempty"`
// Email User email. Normalized + SHA-256 hashed before sending to Meta.
Email *openapi_types.Email `json:"email,omitempty"`
// EventId Stable dedup key. Reuse to suppress duplicate events
// (Meta dedupes against pixel events with the same id).
EventId string `json:"eventId"`
// EventName Live-verified allowlist of event names accepted by Meta's
// CAPI for Business Messaging (Graph API v25.0). Other
// standard pixel events including `Lead`,
// `CompleteRegistration`, `Subscribe`, `Schedule`, `Contact`,
// `StartTrial`, `AddPaymentInfo`, `Search`, and
// `SubmitApplication` are rejected with subcode 2804066
// ("Messaging Event Invalid Event Type") on
// `action_source = business_messaging` events. Custom event
// names are also rejected.
//
// Use `LeadSubmitted` (NOT `Lead`) for lead-style conversions.
EventName SendWhatsAppConversionJSONBodyEventName `json:"eventName"`
// EventTime Unix seconds. Defaults to the time of the request when
// omitted. Meta's attribution window is 7 days from click;
// events older than that lose attribution.
EventTime *float32 `json:"eventTime,omitempty"`
// ExternalId Stable customer identifier. Lowercased + SHA-256 hashed
// before sending to Meta.
ExternalId *string `json:"externalId,omitempty"`
// PhoneE164 Contact phone number, digits only with no '+'. When used
// in lieu of `conversationId`, the handler resolves to the
// most recent CTWA-attributed conversation for this phone
// on the supplied account.
PhoneE164 *string `json:"phoneE164,omitempty"`
// TestCode Meta `test_event_code` passthrough. Routes the event to
// the Test Events tab in Events Manager instead of the
// production dataset, useful for development.
TestCode *string `json:"testCode,omitempty"`
// Value Conversion value (e.g. order total).
Value *float32 `json:"value,omitempty"`
}
SendWhatsAppConversionJSONBody defines parameters for SendWhatsAppConversion.
type SendWhatsAppConversionJSONBodyEventName ¶ added in v0.0.189
type SendWhatsAppConversionJSONBodyEventName string
SendWhatsAppConversionJSONBodyEventName defines parameters for SendWhatsAppConversion.
const ( AddToCart SendWhatsAppConversionJSONBodyEventName = "AddToCart" InitiateCheckout SendWhatsAppConversionJSONBodyEventName = "InitiateCheckout" LeadSubmitted SendWhatsAppConversionJSONBodyEventName = "LeadSubmitted" Purchase SendWhatsAppConversionJSONBodyEventName = "Purchase" ViewContent SendWhatsAppConversionJSONBodyEventName = "ViewContent" )
Defines values for SendWhatsAppConversionJSONBodyEventName.
func (SendWhatsAppConversionJSONBodyEventName) Valid ¶ added in v0.0.189
func (e SendWhatsAppConversionJSONBodyEventName) Valid() bool
Valid indicates whether the value is a known member of the SendWhatsAppConversionJSONBodyEventName enum.
type SendWhatsAppConversionJSONRequestBody ¶ added in v0.0.189
type SendWhatsAppConversionJSONRequestBody SendWhatsAppConversionJSONBody
SendWhatsAppConversionJSONRequestBody defines body for SendWhatsAppConversion for application/json ContentType.
type SendWhatsAppConversionResponse ¶ added in v0.0.189
type SendWhatsAppConversionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// EventsFailed Events rejected by Meta (see failures).
EventsFailed *int `json:"eventsFailed,omitempty"`
// EventsReceived Events accepted by Meta.
EventsReceived *int `json:"eventsReceived,omitempty"`
// Failures Per-event failure detail. Empty when all events were
// accepted.
Failures *[]struct {
Code *SendWhatsAppConversion_200_Failures_Code `json:"code,omitempty"`
// EventId Echoes back the eventId of the failed event.
EventId *string `json:"eventId,omitempty"`
// EventIndex Index into the submitted events array.
EventIndex *int `json:"eventIndex,omitempty"`
Message *string `json:"message,omitempty"`
} `json:"failures,omitempty"`
Platform *SendWhatsAppConversion200Platform `json:"platform,omitempty"`
// TraceId Meta `fbtrace_id` for debugging. Surface in support
// tickets.
TraceId *string `json:"traceId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendWhatsAppConversionResponse ¶ added in v0.0.189
func ParseSendWhatsAppConversionResponse(rsp *http.Response) (*SendWhatsAppConversionResponse, error)
ParseSendWhatsAppConversionResponse parses an HTTP response from a SendWhatsAppConversionWithResponse call
func (SendWhatsAppConversionResponse) Status ¶ added in v0.0.189
func (r SendWhatsAppConversionResponse) Status() string
Status returns HTTPResponse.Status
func (SendWhatsAppConversionResponse) StatusCode ¶ added in v0.0.189
func (r SendWhatsAppConversionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendWhatsAppConversion_200_Failures_Code ¶ added in v0.0.189
type SendWhatsAppConversion_200_Failures_Code struct {
// contains filtered or unexported fields
}
type SendWhatsAppFlowMessageJSONBody ¶ added in v0.0.117
type SendWhatsAppFlowMessageJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Body Message body text
Body string `json:"body"`
// Draft Set true to test an unpublished (DRAFT) flow
Draft *bool `json:"draft,omitempty"`
// FlowAction Action type: navigate opens a screen directly, data_exchange hits your endpoint first
FlowAction *SendWhatsAppFlowMessageJSONBodyFlowAction `json:"flow_action,omitempty"`
FlowActionPayload *struct {
// Data Optional data to pass to the screen
Data *map[string]interface{} `json:"data,omitempty"`
// Screen First screen ID to navigate to
Screen *string `json:"screen,omitempty"`
} `json:"flow_action_payload,omitempty"`
// FlowCta CTA button text (e.g. 'Book Now', 'Sign Up')
FlowCta string `json:"flow_cta"`
// FlowId Published flow ID
FlowId string `json:"flow_id"`
// FlowToken Unique token to correlate responses. Auto-generated UUID if omitted.
FlowToken *string `json:"flow_token,omitempty"`
// Footer Optional footer text
Header *struct {
Text *string `json:"text,omitempty"`
Type *SendWhatsAppFlowMessageJSONBodyHeaderType `json:"type,omitempty"`
} `json:"header,omitempty"`
// To Recipient phone number (E.164 format, e.g. +1234567890)
To string `json:"to"`
}
SendWhatsAppFlowMessageJSONBody defines parameters for SendWhatsAppFlowMessage.
type SendWhatsAppFlowMessageJSONBodyFlowAction ¶ added in v0.0.117
type SendWhatsAppFlowMessageJSONBodyFlowAction string
SendWhatsAppFlowMessageJSONBodyFlowAction defines parameters for SendWhatsAppFlowMessage.
const ( SendWhatsAppFlowMessageJSONBodyFlowActionDataExchange SendWhatsAppFlowMessageJSONBodyFlowAction = "data_exchange" )
Defines values for SendWhatsAppFlowMessageJSONBodyFlowAction.
func (SendWhatsAppFlowMessageJSONBodyFlowAction) Valid ¶ added in v0.0.117
func (e SendWhatsAppFlowMessageJSONBodyFlowAction) Valid() bool
Valid indicates whether the value is a known member of the SendWhatsAppFlowMessageJSONBodyFlowAction enum.
type SendWhatsAppFlowMessageJSONBodyHeaderType ¶ added in v0.0.117
type SendWhatsAppFlowMessageJSONBodyHeaderType string
SendWhatsAppFlowMessageJSONBodyHeaderType defines parameters for SendWhatsAppFlowMessage.
const (
Text SendWhatsAppFlowMessageJSONBodyHeaderType = "text"
)
Defines values for SendWhatsAppFlowMessageJSONBodyHeaderType.
func (SendWhatsAppFlowMessageJSONBodyHeaderType) Valid ¶ added in v0.0.117
func (e SendWhatsAppFlowMessageJSONBodyHeaderType) Valid() bool
Valid indicates whether the value is a known member of the SendWhatsAppFlowMessageJSONBodyHeaderType enum.
type SendWhatsAppFlowMessageJSONRequestBody ¶ added in v0.0.117
type SendWhatsAppFlowMessageJSONRequestBody SendWhatsAppFlowMessageJSONBody
SendWhatsAppFlowMessageJSONRequestBody defines body for SendWhatsAppFlowMessage for application/json ContentType.
type SendWhatsAppFlowMessageResponse ¶ added in v0.0.117
type SendWhatsAppFlowMessageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// MessageId WhatsApp message ID (WAMID)
MessageId *string `json:"messageId,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseSendWhatsAppFlowMessageResponse ¶ added in v0.0.117
func ParseSendWhatsAppFlowMessageResponse(rsp *http.Response) (*SendWhatsAppFlowMessageResponse, error)
ParseSendWhatsAppFlowMessageResponse parses an HTTP response from a SendWhatsAppFlowMessageWithResponse call
func (SendWhatsAppFlowMessageResponse) Status ¶ added in v0.0.117
func (r SendWhatsAppFlowMessageResponse) Status() string
Status returns HTTPResponse.Status
func (SendWhatsAppFlowMessageResponse) StatusCode ¶ added in v0.0.117
func (r SendWhatsAppFlowMessageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetContactFieldValueJSONBody ¶ added in v0.0.76
type SetContactFieldValueJSONBody struct {
// Value Field value (type depends on field definition)
Value interface{} `json:"value"`
}
SetContactFieldValueJSONBody defines parameters for SetContactFieldValue.
type SetContactFieldValueJSONRequestBody ¶ added in v0.0.76
type SetContactFieldValueJSONRequestBody SetContactFieldValueJSONBody
SetContactFieldValueJSONRequestBody defines body for SetContactFieldValue for application/json ContentType.
type SetContactFieldValueResponse ¶ added in v0.0.76
type SetContactFieldValueResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseSetContactFieldValueResponse ¶ added in v0.0.76
func ParseSetContactFieldValueResponse(rsp *http.Response) (*SetContactFieldValueResponse, error)
ParseSetContactFieldValueResponse parses an HTTP response from a SetContactFieldValueWithResponse call
func (SetContactFieldValueResponse) Status ¶ added in v0.0.76
func (r SetContactFieldValueResponse) Status() string
Status returns HTTPResponse.Status
func (SetContactFieldValueResponse) StatusCode ¶ added in v0.0.76
func (r SetContactFieldValueResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetInstagramIceBreakersJSONBody ¶
type SetInstagramIceBreakersJSONBody struct {
IceBreakers []struct {
Payload string `json:"payload"`
Question string `json:"question"`
} `json:"ice_breakers"`
}
SetInstagramIceBreakersJSONBody defines parameters for SetInstagramIceBreakers.
type SetInstagramIceBreakersJSONRequestBody ¶
type SetInstagramIceBreakersJSONRequestBody SetInstagramIceBreakersJSONBody
SetInstagramIceBreakersJSONRequestBody defines body for SetInstagramIceBreakers for application/json ContentType.
type SetInstagramIceBreakersResponse ¶
type SetInstagramIceBreakersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseSetInstagramIceBreakersResponse ¶
func ParseSetInstagramIceBreakersResponse(rsp *http.Response) (*SetInstagramIceBreakersResponse, error)
ParseSetInstagramIceBreakersResponse parses an HTTP response from a SetInstagramIceBreakersWithResponse call
func (SetInstagramIceBreakersResponse) Status ¶
func (r SetInstagramIceBreakersResponse) Status() string
Status returns HTTPResponse.Status
func (SetInstagramIceBreakersResponse) StatusCode ¶
func (r SetInstagramIceBreakersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetMessengerMenuJSONBody ¶
type SetMessengerMenuJSONBody struct {
// PersistentMenu Persistent menu configuration array (Meta format)
PersistentMenu []map[string]interface{} `json:"persistent_menu"`
}
SetMessengerMenuJSONBody defines parameters for SetMessengerMenu.
type SetMessengerMenuJSONRequestBody ¶
type SetMessengerMenuJSONRequestBody SetMessengerMenuJSONBody
SetMessengerMenuJSONRequestBody defines body for SetMessengerMenu for application/json ContentType.
type SetMessengerMenuResponse ¶
type SetMessengerMenuResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseSetMessengerMenuResponse ¶
func ParseSetMessengerMenuResponse(rsp *http.Response) (*SetMessengerMenuResponse, error)
ParseSetMessengerMenuResponse parses an HTTP response from a SetMessengerMenuWithResponse call
func (SetMessengerMenuResponse) Status ¶
func (r SetMessengerMenuResponse) Status() string
Status returns HTTPResponse.Status
func (SetMessengerMenuResponse) StatusCode ¶
func (r SetMessengerMenuResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SetTelegramCommandsJSONBody ¶
type SetTelegramCommandsJSONBody struct {
Commands []struct {
// Command Bot command without leading slash
Command string `json:"command"`
// Description Command description
Description string `json:"description"`
} `json:"commands"`
}
SetTelegramCommandsJSONBody defines parameters for SetTelegramCommands.
type SetTelegramCommandsJSONRequestBody ¶
type SetTelegramCommandsJSONRequestBody SetTelegramCommandsJSONBody
SetTelegramCommandsJSONRequestBody defines body for SetTelegramCommands for application/json ContentType.
type SetTelegramCommandsResponse ¶
type SetTelegramCommandsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
}
func ParseSetTelegramCommandsResponse ¶
func ParseSetTelegramCommandsResponse(rsp *http.Response) (*SetTelegramCommandsResponse, error)
ParseSetTelegramCommandsResponse parses an HTTP response from a SetTelegramCommandsWithResponse call
func (SetTelegramCommandsResponse) Status ¶
func (r SetTelegramCommandsResponse) Status() string
Status returns HTTPResponse.Status
func (SetTelegramCommandsResponse) StatusCode ¶
func (r SetTelegramCommandsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SnapchatPlatformData ¶
type SnapchatPlatformData struct {
// ContentType Content type: story (ephemeral 24h, default), saved_story (permanent on Public Profile), spotlight (video feed)
ContentType *SnapchatPlatformDataContentType `json:"contentType,omitempty"`
}
SnapchatPlatformData Requires a Public Profile. Single media item only. Content types: story (ephemeral 24h), saved_story (permanent, title max 45 chars), spotlight (video, max 160 chars).
type SnapchatPlatformDataContentType ¶
type SnapchatPlatformDataContentType string
SnapchatPlatformDataContentType Content type: story (ephemeral 24h, default), saved_story (permanent on Public Profile), spotlight (video feed)
const ( SavedStory SnapchatPlatformDataContentType = "saved_story" Spotlight SnapchatPlatformDataContentType = "spotlight" Story SnapchatPlatformDataContentType = "story" )
Defines values for SnapchatPlatformDataContentType.
func (SnapchatPlatformDataContentType) Valid ¶
func (e SnapchatPlatformDataContentType) Valid() bool
Valid indicates whether the value is a known member of the SnapchatPlatformDataContentType enum.
type SocialAccount ¶
type SocialAccount struct {
UnderscoreId *string `json:"_id,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
// Enabled Whether the user explicitly activated this account. false means the account was
// created as a side effect (e.g., posting account auto-created when user connected
// ads first). Posting UI and scheduler ignore accounts with enabled: false.
Enabled *bool `json:"enabled,omitempty"`
// FollowersCount Follower count (only included if user has analytics add-on)
FollowersCount *float32 `json:"followersCount,omitempty"`
// FollowersLastUpdated Last time follower count was updated (only included if user has analytics add-on)
FollowersLastUpdated *time.Time `json:"followersLastUpdated,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
// Metadata Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
// - qualityRating: Phone number quality rating from Meta (GREEN, YELLOW, RED, or UNKNOWN)
// - nameStatus: Display name review status (APPROVED, PENDING_REVIEW, DECLINED, or NONE). Messages cannot be sent until the display name is approved by Meta.
// - messagingLimitTier: Maximum unique business-initiated conversations per 24h rolling window (TIER_250, TIER_1K, TIER_10K, TIER_100K, or TIER_UNLIMITED). Scales automatically as quality rating improves.
// - verifiedName: Meta-verified business display name
// - displayPhoneNumber: Formatted phone number (e.g., "+1 555-123-4567")
// - wabaId: WhatsApp Business Account ID
// - phoneNumberId: Meta phone number ID
Metadata *map[string]interface{} `json:"metadata,omitempty"`
// ParentAccountId Reference to the parent posting SocialAccount. Set for ads accounts that share
// or derive from a posting account's OAuth token. null for standalone ads (Google Ads)
// and all posting accounts.
ParentAccountId *string `json:"parentAccountId,omitempty"`
Platform *SocialAccountPlatform `json:"platform,omitempty"`
ProfileId *SocialAccount_ProfileId `json:"profileId,omitempty"`
// ProfilePicture URL to the account's profile picture on the platform. May be null if the platform does not provide one.
ProfilePicture *string `json:"profilePicture,omitempty"`
// ProfileUrl Full profile URL for the connected account on its platform.
ProfileUrl *string `json:"profileUrl,omitempty"`
Username *string `json:"username,omitempty"`
}
SocialAccount defines model for SocialAccount.
type SocialAccountPlatform ¶ added in v0.0.130
type SocialAccountPlatform string
SocialAccountPlatform defines model for SocialAccount.Platform.
const ( SocialAccountPlatformBluesky SocialAccountPlatform = "bluesky" SocialAccountPlatformDiscord SocialAccountPlatform = "discord" SocialAccountPlatformFacebook SocialAccountPlatform = "facebook" SocialAccountPlatformGoogleads SocialAccountPlatform = "googleads" SocialAccountPlatformGooglebusiness SocialAccountPlatform = "googlebusiness" SocialAccountPlatformInstagram SocialAccountPlatform = "instagram" SocialAccountPlatformLinkedin SocialAccountPlatform = "linkedin" SocialAccountPlatformLinkedinads SocialAccountPlatform = "linkedinads" SocialAccountPlatformMetaads SocialAccountPlatform = "metaads" SocialAccountPlatformPinterest SocialAccountPlatform = "pinterest" SocialAccountPlatformPinterestads SocialAccountPlatform = "pinterestads" SocialAccountPlatformReddit SocialAccountPlatform = "reddit" SocialAccountPlatformSnapchat SocialAccountPlatform = "snapchat" SocialAccountPlatformTelegram SocialAccountPlatform = "telegram" SocialAccountPlatformThreads SocialAccountPlatform = "threads" SocialAccountPlatformTiktok SocialAccountPlatform = "tiktok" SocialAccountPlatformTiktokads SocialAccountPlatform = "tiktokads" SocialAccountPlatformTwitter SocialAccountPlatform = "twitter" SocialAccountPlatformWhatsapp SocialAccountPlatform = "whatsapp" SocialAccountPlatformXads SocialAccountPlatform = "xads" SocialAccountPlatformYoutube SocialAccountPlatform = "youtube" )
Defines values for SocialAccountPlatform.
func (SocialAccountPlatform) Valid ¶ added in v0.0.130
func (e SocialAccountPlatform) Valid() bool
Valid indicates whether the value is a known member of the SocialAccountPlatform enum.
type SocialAccountProfileId0 ¶
type SocialAccountProfileId0 = string
SocialAccountProfileId0 defines model for .
type SocialAccount_ProfileId ¶
type SocialAccount_ProfileId struct {
// contains filtered or unexported fields
}
SocialAccount_ProfileId defines model for SocialAccount.ProfileId.
func (SocialAccount_ProfileId) AsProfile ¶
func (t SocialAccount_ProfileId) AsProfile() (Profile, error)
AsProfile returns the union data inside the SocialAccount_ProfileId as a Profile
func (SocialAccount_ProfileId) AsSocialAccountProfileId0 ¶
func (t SocialAccount_ProfileId) AsSocialAccountProfileId0() (SocialAccountProfileId0, error)
AsSocialAccountProfileId0 returns the union data inside the SocialAccount_ProfileId as a SocialAccountProfileId0
func (*SocialAccount_ProfileId) FromProfile ¶
func (t *SocialAccount_ProfileId) FromProfile(v Profile) error
FromProfile overwrites any union data inside the SocialAccount_ProfileId as the provided Profile
func (*SocialAccount_ProfileId) FromSocialAccountProfileId0 ¶
func (t *SocialAccount_ProfileId) FromSocialAccountProfileId0(v SocialAccountProfileId0) error
FromSocialAccountProfileId0 overwrites any union data inside the SocialAccount_ProfileId as the provided SocialAccountProfileId0
func (SocialAccount_ProfileId) MarshalJSON ¶
func (t SocialAccount_ProfileId) MarshalJSON() ([]byte, error)
func (*SocialAccount_ProfileId) MergeProfile ¶
func (t *SocialAccount_ProfileId) MergeProfile(v Profile) error
MergeProfile performs a merge with any union data inside the SocialAccount_ProfileId, using the provided Profile
func (*SocialAccount_ProfileId) MergeSocialAccountProfileId0 ¶
func (t *SocialAccount_ProfileId) MergeSocialAccountProfileId0(v SocialAccountProfileId0) error
MergeSocialAccountProfileId0 performs a merge with any union data inside the SocialAccount_ProfileId, using the provided SocialAccountProfileId0
func (*SocialAccount_ProfileId) UnmarshalJSON ¶
func (t *SocialAccount_ProfileId) UnmarshalJSON(b []byte) error
type TelegramPlatformData ¶
type TelegramPlatformData struct {
// DisableNotification Send the message silently (users will receive notification without sound)
DisableNotification *bool `json:"disableNotification,omitempty"`
// DisableWebPagePreview Disable link preview generation for URLs in the message
DisableWebPagePreview *bool `json:"disableWebPagePreview,omitempty"`
// ParseMode Text formatting mode for the message (default is HTML)
ParseMode *TelegramPlatformDataParseMode `json:"parseMode,omitempty"`
// ProtectContent Protect message content from forwarding and saving
ProtectContent *bool `json:"protectContent,omitempty"`
}
TelegramPlatformData Text, images (up to 10), videos (up to 10), and mixed media albums. Captions up to 1024 chars for media, 4096 for text-only.
type TelegramPlatformDataParseMode ¶
type TelegramPlatformDataParseMode string
TelegramPlatformDataParseMode Text formatting mode for the message (default is HTML)
const ( HTML TelegramPlatformDataParseMode = "HTML" Markdown TelegramPlatformDataParseMode = "Markdown" MarkdownV2 TelegramPlatformDataParseMode = "MarkdownV2" )
Defines values for TelegramPlatformDataParseMode.
func (TelegramPlatformDataParseMode) Valid ¶
func (e TelegramPlatformDataParseMode) Valid() bool
Valid indicates whether the value is a known member of the TelegramPlatformDataParseMode enum.
type TestWebhookJSONBody ¶
type TestWebhookJSONBody struct {
// WebhookId ID of the webhook to test
WebhookId string `json:"webhookId"`
}
TestWebhookJSONBody defines parameters for TestWebhook.
type TestWebhookJSONRequestBody ¶
type TestWebhookJSONRequestBody TestWebhookJSONBody
TestWebhookJSONRequestBody defines body for TestWebhook for application/json ContentType.
type TestWebhookResponse ¶
type TestWebhookResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON500 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
}
func ParseTestWebhookResponse ¶
func ParseTestWebhookResponse(rsp *http.Response) (*TestWebhookResponse, error)
ParseTestWebhookResponse parses an HTTP response from a TestWebhookWithResponse call
func (TestWebhookResponse) Status ¶
func (r TestWebhookResponse) Status() string
Status returns HTTPResponse.Status
func (TestWebhookResponse) StatusCode ¶
func (r TestWebhookResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ThreadsPlatformData ¶
type ThreadsPlatformData struct {
// ThreadItems Complete sequence of posts in a Threads thread. The first item becomes the root post, subsequent items are chained as replies. When threadItems is provided, the top-level content field is used only for display and search purposes, it is NOT published. You must include your first post as threadItems[0].
ThreadItems *[]struct {
Content *string `json:"content,omitempty"`
MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
} `json:"threadItems,omitempty"`
// TopicTag Topic tag for post categorization and discoverability on Threads. Must be 1-50 characters, cannot contain periods (.) or ampersands (&). Overrides auto-extraction from content hashtags when provided.
TopicTag *string `json:"topic_tag,omitempty"`
}
ThreadsPlatformData Up to 10 images per carousel (no videos). Videos must be H.264/AAC MP4, max 5 min. Images JPEG/PNG, max 8 MB. Use threadItems for reply chains.
type TikTokPlatformData ¶
type TikTokPlatformData struct {
// AllowComment Allow comments on the post
AllowComment *bool `json:"allowComment,omitempty"`
// AllowDuet Allow duets (required for video posts)
AllowDuet *bool `json:"allowDuet,omitempty"`
// AllowStitch Allow stitches (required for video posts)
AllowStitch *bool `json:"allowStitch,omitempty"`
// AutoAddMusic When true, TikTok may add recommended music (photos only)
AutoAddMusic *bool `json:"autoAddMusic,omitempty"`
// BrandPartnerPromote Whether the post promotes a brand partner
BrandPartnerPromote *bool `json:"brandPartnerPromote,omitempty"`
// CommercialContentType Type of commercial content disclosure
CommercialContentType *TikTokPlatformDataCommercialContentType `json:"commercialContentType,omitempty"`
// ContentPreviewConfirmed User has confirmed they previewed the content
ContentPreviewConfirmed *bool `json:"contentPreviewConfirmed,omitempty"`
// Description Optional long-form description for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated.
Description *string `json:"description,omitempty"`
// Draft When true, sends the post to the TikTok Creator Inbox as a draft instead of publishing
// immediately. The creator receives an inbox notification to complete posting via TikTok's
// editing flow. Maps to TikTok API post_mode: "MEDIA_UPLOAD" (photos) or the dedicated
// inbox endpoint (videos). When false or omitted, publishes directly via post_mode: "DIRECT_POST".
// Note: publish_type is not a supported field. Use this field instead.
Draft *bool `json:"draft,omitempty"`
// ExpressConsentGiven User has given express consent for posting
ExpressConsentGiven *bool `json:"expressConsentGiven,omitempty"`
// IsBrandOrganicPost Whether the post is a brand organic post
IsBrandOrganicPost *bool `json:"isBrandOrganicPost,omitempty"`
// MediaType Optional override. Defaults based on provided media items.
MediaType *TikTokPlatformDataMediaType `json:"mediaType,omitempty"`
// PhotoCoverIndex Optional for photo carousels. Index of image to use as cover, 0-based (defaults to 0/first image).
PhotoCoverIndex *int `json:"photoCoverIndex,omitempty"`
// PrivacyLevel One of the values returned by the TikTok creator info API for the account
PrivacyLevel *string `json:"privacyLevel,omitempty"`
// VideoCoverImageUrl Optional for video posts. URL of a custom thumbnail image (JPG, PNG, or WebP, max 20MB). The image is stitched as a single frame at the start of the video and used as the cover. Overrides videoCoverTimestampMs when provided.
VideoCoverImageUrl *string `json:"videoCoverImageUrl,omitempty"`
// VideoCoverTimestampMs Optional for video posts. Timestamp in milliseconds to select which frame to use as thumbnail (defaults to 1000ms/1 second). Ignored when videoCoverImageUrl is provided.
VideoCoverTimestampMs *int `json:"videoCoverTimestampMs,omitempty"`
// VideoMadeWithAi Set true to disclose AI-generated content
VideoMadeWithAi *bool `json:"videoMadeWithAi,omitempty"`
}
TikTokPlatformData Photo carousels up to 35 images. Video titles up to 2200 chars, photo titles truncated to 90 chars. privacyLevel must match creator_info options. Both camelCase and snake_case accepted.
Creator Inbox (draft mode): Set draft: true to send content to the TikTok Creator Inbox instead of publishing immediately. The creator receives an inbox notification and completes the post using TikTok's editing flow. This maps to TikTok's post_mode: "MEDIA_UPLOAD" internally.
Important: The field publish_type is NOT supported. Use draft: true for Creator Inbox flow.
Photo drafts use the /v2/post/publish/content/init/ endpoint with post_mode: "MEDIA_UPLOAD". Video drafts use the dedicated /v2/post/publish/inbox/video/init/ endpoint.
When draft: true, the video.upload scope is required. When draft is false or omitted (direct post), the video.publish scope is required. For Creator Inbox, TikTok app version must be 31.8 or higher.
type TikTokPlatformDataCommercialContentType ¶
type TikTokPlatformDataCommercialContentType string
TikTokPlatformDataCommercialContentType Type of commercial content disclosure
const ( BrandContent TikTokPlatformDataCommercialContentType = "brand_content" BrandOrganic TikTokPlatformDataCommercialContentType = "brand_organic" None TikTokPlatformDataCommercialContentType = "none" )
Defines values for TikTokPlatformDataCommercialContentType.
func (TikTokPlatformDataCommercialContentType) Valid ¶
func (e TikTokPlatformDataCommercialContentType) Valid() bool
Valid indicates whether the value is a known member of the TikTokPlatformDataCommercialContentType enum.
type TikTokPlatformDataMediaType ¶
type TikTokPlatformDataMediaType string
TikTokPlatformDataMediaType Optional override. Defaults based on provided media items.
const ( TikTokPlatformDataMediaTypePhoto TikTokPlatformDataMediaType = "photo" TikTokPlatformDataMediaTypeVideo TikTokPlatformDataMediaType = "video" )
Defines values for TikTokPlatformDataMediaType.
func (TikTokPlatformDataMediaType) Valid ¶
func (e TikTokPlatformDataMediaType) Valid() bool
Valid indicates whether the value is a known member of the TikTokPlatformDataMediaType enum.
type TwitterPlatformData ¶
type TwitterPlatformData struct {
// GeoRestriction Country-level geo-restriction (allowlist). When set, the post is only visible to users in the specified countries. Supported on Facebook (feed posts, videos, reels), X/Twitter (media-level restriction), and LinkedIn (organization pages only, min 300 targeted followers). Ignored on unsupported platforms. Stories (Facebook, Instagram) do not support geo-restriction.
GeoRestriction *GeoRestriction `json:"geoRestriction,omitempty"`
// LongVideo Enable long video uploads (over 140 seconds) using amplify_video media category. Requires the connected X account to have an active X Premium subscription. When true, videos are uploaded with the amplify_video category which supports longer durations (up to 10 minutes via API). When false or omitted, the standard tweet_video category is used (140 second limit). Note that not all Premium accounts have API long-video access, as X may require separate allowlisting.
LongVideo *bool `json:"longVideo,omitempty"`
// Poll Create a poll with this tweet. Mutually exclusive with media attachments and threads.
Poll *struct {
// DurationMinutes Poll duration in minutes (5 min to 7 days)
DurationMinutes int `json:"duration_minutes"`
// Options Poll options (2-4 choices, max 25 characters each)
Options []string `json:"options"`
} `json:"poll,omitempty"`
// ReplySettings Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
ReplySettings *TwitterPlatformDataReplySettings `json:"replySettings,omitempty"`
// ReplyToTweetId ID of an existing tweet to reply to. The published tweet will appear as a reply in that tweet's thread. For threads, only the first tweet replies to the target; subsequent tweets chain normally.
ReplyToTweetId *string `json:"replyToTweetId,omitempty"`
// ThreadItems Complete sequence of tweets in a thread. The first item becomes the root tweet, subsequent items are chained as replies. When threadItems is provided, the top-level content field is used only for display and search purposes, it is NOT published. You must include your first tweet as threadItems[0].
ThreadItems *[]struct {
Content *string `json:"content,omitempty"`
MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
} `json:"threadItems,omitempty"`
}
TwitterPlatformData X (Twitter) geo-restriction applies at the media level. Media in geo-restricted tweets will be hidden for users outside the specified countries; the tweet text itself remains visible globally. Requires media to be attached (ignored for text-only tweets).
type TwitterPlatformDataReplySettings ¶
type TwitterPlatformDataReplySettings string
TwitterPlatformDataReplySettings Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
const ( Following TwitterPlatformDataReplySettings = "following" MentionedUsers TwitterPlatformDataReplySettings = "mentionedUsers" Subscribers TwitterPlatformDataReplySettings = "subscribers" Verified TwitterPlatformDataReplySettings = "verified" )
Defines values for TwitterPlatformDataReplySettings.
func (TwitterPlatformDataReplySettings) Valid ¶
func (e TwitterPlatformDataReplySettings) Valid() bool
Valid indicates whether the value is a known member of the TwitterPlatformDataReplySettings enum.
type UndoRetweetParams ¶
type UndoRetweetParams struct {
AccountId string `form:"accountId" json:"accountId"`
// TweetId The ID of the original tweet to un-retweet
TweetId string `form:"tweetId" json:"tweetId"`
}
UndoRetweetParams defines parameters for UndoRetweet.
type UndoRetweetResponse ¶
type UndoRetweetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Platform *string `json:"platform,omitempty"`
Retweeted *bool `json:"retweeted,omitempty"`
Status *string `json:"status,omitempty"`
TweetId *string `json:"tweetId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUndoRetweetResponse ¶
func ParseUndoRetweetResponse(rsp *http.Response) (*UndoRetweetResponse, error)
ParseUndoRetweetResponse parses an HTTP response from a UndoRetweetWithResponse call
func (UndoRetweetResponse) Status ¶
func (r UndoRetweetResponse) Status() string
Status returns HTTPResponse.Status
func (UndoRetweetResponse) StatusCode ¶
func (r UndoRetweetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnenrollContactResponse ¶ added in v0.0.76
type UnenrollContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUnenrollContactResponse ¶ added in v0.0.76
func ParseUnenrollContactResponse(rsp *http.Response) (*UnenrollContactResponse, error)
ParseUnenrollContactResponse parses an HTTP response from a UnenrollContactWithResponse call
func (UnenrollContactResponse) Status ¶ added in v0.0.76
func (r UnenrollContactResponse) Status() string
Status returns HTTPResponse.Status
func (UnenrollContactResponse) StatusCode ¶ added in v0.0.76
func (r UnenrollContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnfollowUserParams ¶
type UnfollowUserParams struct {
AccountId string `form:"accountId" json:"accountId"`
// TargetUserId The Twitter ID of the user to unfollow
TargetUserId string `form:"targetUserId" json:"targetUserId"`
}
UnfollowUserParams defines parameters for UnfollowUser.
type UnfollowUserResponse ¶
type UnfollowUserResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Following *bool `json:"following,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
TargetUserId *string `json:"targetUserId,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUnfollowUserResponse ¶
func ParseUnfollowUserResponse(rsp *http.Response) (*UnfollowUserResponse, error)
ParseUnfollowUserResponse parses an HTTP response from a UnfollowUserWithResponse call
func (UnfollowUserResponse) Status ¶
func (r UnfollowUserResponse) Status() string
Status returns HTTPResponse.Status
func (UnfollowUserResponse) StatusCode ¶
func (r UnfollowUserResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnhideInboxCommentParams ¶
type UnhideInboxCommentParams struct {
AccountId string `form:"accountId" json:"accountId"`
}
UnhideInboxCommentParams defines parameters for UnhideInboxComment.
type UnhideInboxCommentResponse ¶
type UnhideInboxCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CommentId *string `json:"commentId,omitempty"`
Hidden *bool `json:"hidden,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUnhideInboxCommentResponse ¶
func ParseUnhideInboxCommentResponse(rsp *http.Response) (*UnhideInboxCommentResponse, error)
ParseUnhideInboxCommentResponse parses an HTTP response from a UnhideInboxCommentWithResponse call
func (UnhideInboxCommentResponse) Status ¶
func (r UnhideInboxCommentResponse) Status() string
Status returns HTTPResponse.Status
func (UnhideInboxCommentResponse) StatusCode ¶
func (r UnhideInboxCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnlikeInboxCommentParams ¶
type UnlikeInboxCommentParams struct {
AccountId string `form:"accountId" json:"accountId"`
// LikeUri (Bluesky only) The like URI returned when liking
LikeUri *string `form:"likeUri,omitempty" json:"likeUri,omitempty"`
}
UnlikeInboxCommentParams defines parameters for UnlikeInboxComment.
type UnlikeInboxCommentResponse ¶
type UnlikeInboxCommentResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
CommentId *string `json:"commentId,omitempty"`
Liked *bool `json:"liked,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *string `json:"status,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUnlikeInboxCommentResponse ¶
func ParseUnlikeInboxCommentResponse(rsp *http.Response) (*UnlikeInboxCommentResponse, error)
ParseUnlikeInboxCommentResponse parses an HTTP response from a UnlikeInboxCommentWithResponse call
func (UnlikeInboxCommentResponse) Status ¶
func (r UnlikeInboxCommentResponse) Status() string
Status returns HTTPResponse.Status
func (UnlikeInboxCommentResponse) StatusCode ¶
func (r UnlikeInboxCommentResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UnpublishPostJSONBody ¶
type UnpublishPostJSONBody struct {
// Platform The platform to delete the post from
Platform UnpublishPostJSONBodyPlatform `json:"platform"`
}
UnpublishPostJSONBody defines parameters for UnpublishPost.
type UnpublishPostJSONBodyPlatform ¶
type UnpublishPostJSONBodyPlatform string
UnpublishPostJSONBodyPlatform defines parameters for UnpublishPost.
const ( UnpublishPostJSONBodyPlatformBluesky UnpublishPostJSONBodyPlatform = "bluesky" UnpublishPostJSONBodyPlatformFacebook UnpublishPostJSONBodyPlatform = "facebook" UnpublishPostJSONBodyPlatformGooglebusiness UnpublishPostJSONBodyPlatform = "googlebusiness" UnpublishPostJSONBodyPlatformLinkedin UnpublishPostJSONBodyPlatform = "linkedin" UnpublishPostJSONBodyPlatformPinterest UnpublishPostJSONBodyPlatform = "pinterest" UnpublishPostJSONBodyPlatformReddit UnpublishPostJSONBodyPlatform = "reddit" UnpublishPostJSONBodyPlatformTelegram UnpublishPostJSONBodyPlatform = "telegram" UnpublishPostJSONBodyPlatformThreads UnpublishPostJSONBodyPlatform = "threads" UnpublishPostJSONBodyPlatformTwitter UnpublishPostJSONBodyPlatform = "twitter" UnpublishPostJSONBodyPlatformYoutube UnpublishPostJSONBodyPlatform = "youtube" )
Defines values for UnpublishPostJSONBodyPlatform.
func (UnpublishPostJSONBodyPlatform) Valid ¶
func (e UnpublishPostJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UnpublishPostJSONBodyPlatform enum.
type UnpublishPostJSONRequestBody ¶
type UnpublishPostJSONRequestBody UnpublishPostJSONBody
UnpublishPostJSONRequestBody defines body for UnpublishPost for application/json ContentType.
type UnpublishPostResponse ¶
type UnpublishPostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUnpublishPostResponse ¶
func ParseUnpublishPostResponse(rsp *http.Response) (*UnpublishPostResponse, error)
ParseUnpublishPostResponse parses an HTTP response from a UnpublishPostWithResponse call
func (UnpublishPostResponse) Status ¶
func (r UnpublishPostResponse) Status() string
Status returns HTTPResponse.Status
func (UnpublishPostResponse) StatusCode ¶
func (r UnpublishPostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAccountGroupJSONBody ¶
type UpdateAccountGroupJSONBody struct {
AccountIds *[]string `json:"accountIds,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateAccountGroupJSONBody defines parameters for UpdateAccountGroup.
type UpdateAccountGroupJSONRequestBody ¶
type UpdateAccountGroupJSONRequestBody UpdateAccountGroupJSONBody
UpdateAccountGroupJSONRequestBody defines body for UpdateAccountGroup for application/json ContentType.
type UpdateAccountGroupResponse ¶
type UpdateAccountGroupResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Group *map[string]interface{} `json:"group,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateAccountGroupResponse ¶
func ParseUpdateAccountGroupResponse(rsp *http.Response) (*UpdateAccountGroupResponse, error)
ParseUpdateAccountGroupResponse parses an HTTP response from a UpdateAccountGroupWithResponse call
func (UpdateAccountGroupResponse) Status ¶
func (r UpdateAccountGroupResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAccountGroupResponse) StatusCode ¶
func (r UpdateAccountGroupResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAccountJSONBody ¶
type UpdateAccountJSONBody struct {
DisplayName *string `json:"displayName,omitempty"`
Username *string `json:"username,omitempty"`
}
UpdateAccountJSONBody defines parameters for UpdateAccount.
type UpdateAccountJSONRequestBody ¶
type UpdateAccountJSONRequestBody UpdateAccountJSONBody
UpdateAccountJSONRequestBody defines body for UpdateAccount for application/json ContentType.
type UpdateAccountResponse ¶
type UpdateAccountResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DisplayName *string `json:"displayName,omitempty"`
Message *string `json:"message,omitempty"`
Username *string `json:"username,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateAccountResponse ¶
func ParseUpdateAccountResponse(rsp *http.Response) (*UpdateAccountResponse, error)
ParseUpdateAccountResponse parses an HTTP response from a UpdateAccountWithResponse call
func (UpdateAccountResponse) Status ¶
func (r UpdateAccountResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAccountResponse) StatusCode ¶
func (r UpdateAccountResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdCampaign200BudgetLevel ¶ added in v0.0.168
type UpdateAdCampaign200BudgetLevel string
type UpdateAdCampaignJSONBody ¶ added in v0.0.168
type UpdateAdCampaignJSONBody struct {
// BidStrategy Campaign-level default. Ad sets inherit this unless they override.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
Budget *struct {
// Amount Budget amount in the ad account's currency
Amount float32 `json:"amount"`
Type UpdateAdCampaignJSONBodyBudgetType `json:"type"`
} `json:"budget,omitempty"`
Platform UpdateAdCampaignJSONBodyPlatform `json:"platform"`
}
UpdateAdCampaignJSONBody defines parameters for UpdateAdCampaign.
type UpdateAdCampaignJSONBodyBudgetType ¶ added in v0.0.168
type UpdateAdCampaignJSONBodyBudgetType string
UpdateAdCampaignJSONBodyBudgetType defines parameters for UpdateAdCampaign.
const ( UpdateAdCampaignJSONBodyBudgetTypeDaily UpdateAdCampaignJSONBodyBudgetType = "daily" UpdateAdCampaignJSONBodyBudgetTypeLifetime UpdateAdCampaignJSONBodyBudgetType = "lifetime" )
Defines values for UpdateAdCampaignJSONBodyBudgetType.
func (UpdateAdCampaignJSONBodyBudgetType) Valid ¶ added in v0.0.168
func (e UpdateAdCampaignJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdCampaignJSONBodyBudgetType enum.
type UpdateAdCampaignJSONBodyPlatform ¶ added in v0.0.168
type UpdateAdCampaignJSONBodyPlatform string
UpdateAdCampaignJSONBodyPlatform defines parameters for UpdateAdCampaign.
const ( UpdateAdCampaignJSONBodyPlatformFacebook UpdateAdCampaignJSONBodyPlatform = "facebook" UpdateAdCampaignJSONBodyPlatformInstagram UpdateAdCampaignJSONBodyPlatform = "instagram" )
Defines values for UpdateAdCampaignJSONBodyPlatform.
func (UpdateAdCampaignJSONBodyPlatform) Valid ¶ added in v0.0.168
func (e UpdateAdCampaignJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdCampaignJSONBodyPlatform enum.
type UpdateAdCampaignJSONRequestBody ¶ added in v0.0.168
type UpdateAdCampaignJSONRequestBody UpdateAdCampaignJSONBody
UpdateAdCampaignJSONRequestBody defines body for UpdateAdCampaign for application/json ContentType.
type UpdateAdCampaignResponse ¶ added in v0.0.168
type UpdateAdCampaignResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// BidStrategy Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set)
// overrides campaign-level. Cross-field rules:
// - `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
// - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
// - `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
// Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`,
// `Campaign_bid_strategy`).
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Budget amount in the ad account's native currency (see the campaign's `currency` field for the code).
Budget *AdBudget `json:"budget,omitempty"`
BudgetLevel *UpdateAdCampaign200BudgetLevel `json:"budgetLevel,omitempty"`
Updated *int `json:"updated,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateAdCampaignResponse ¶ added in v0.0.168
func ParseUpdateAdCampaignResponse(rsp *http.Response) (*UpdateAdCampaignResponse, error)
ParseUpdateAdCampaignResponse parses an HTTP response from a UpdateAdCampaignWithResponse call
func (UpdateAdCampaignResponse) Status ¶ added in v0.0.168
func (r UpdateAdCampaignResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdCampaignResponse) StatusCode ¶ added in v0.0.168
func (r UpdateAdCampaignResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdCampaignStatusJSONBody ¶ added in v0.0.106
type UpdateAdCampaignStatusJSONBody struct {
Platform UpdateAdCampaignStatusJSONBodyPlatform `json:"platform"`
Status UpdateAdCampaignStatusJSONBodyStatus `json:"status"`
}
UpdateAdCampaignStatusJSONBody defines parameters for UpdateAdCampaignStatus.
type UpdateAdCampaignStatusJSONBodyPlatform ¶ added in v0.0.106
type UpdateAdCampaignStatusJSONBodyPlatform string
UpdateAdCampaignStatusJSONBodyPlatform defines parameters for UpdateAdCampaignStatus.
const ( UpdateAdCampaignStatusJSONBodyPlatformFacebook UpdateAdCampaignStatusJSONBodyPlatform = "facebook" UpdateAdCampaignStatusJSONBodyPlatformGoogle UpdateAdCampaignStatusJSONBodyPlatform = "google" UpdateAdCampaignStatusJSONBodyPlatformInstagram UpdateAdCampaignStatusJSONBodyPlatform = "instagram" UpdateAdCampaignStatusJSONBodyPlatformLinkedin UpdateAdCampaignStatusJSONBodyPlatform = "linkedin" UpdateAdCampaignStatusJSONBodyPlatformPinterest UpdateAdCampaignStatusJSONBodyPlatform = "pinterest" UpdateAdCampaignStatusJSONBodyPlatformTiktok UpdateAdCampaignStatusJSONBodyPlatform = "tiktok" UpdateAdCampaignStatusJSONBodyPlatformTwitter UpdateAdCampaignStatusJSONBodyPlatform = "twitter" )
Defines values for UpdateAdCampaignStatusJSONBodyPlatform.
func (UpdateAdCampaignStatusJSONBodyPlatform) Valid ¶ added in v0.0.106
func (e UpdateAdCampaignStatusJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdCampaignStatusJSONBodyPlatform enum.
type UpdateAdCampaignStatusJSONBodyStatus ¶ added in v0.0.106
type UpdateAdCampaignStatusJSONBodyStatus string
UpdateAdCampaignStatusJSONBodyStatus defines parameters for UpdateAdCampaignStatus.
const ( UpdateAdCampaignStatusJSONBodyStatusActive UpdateAdCampaignStatusJSONBodyStatus = "active" UpdateAdCampaignStatusJSONBodyStatusPaused UpdateAdCampaignStatusJSONBodyStatus = "paused" )
Defines values for UpdateAdCampaignStatusJSONBodyStatus.
func (UpdateAdCampaignStatusJSONBodyStatus) Valid ¶ added in v0.0.106
func (e UpdateAdCampaignStatusJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdCampaignStatusJSONBodyStatus enum.
type UpdateAdCampaignStatusJSONRequestBody ¶ added in v0.0.106
type UpdateAdCampaignStatusJSONRequestBody UpdateAdCampaignStatusJSONBody
UpdateAdCampaignStatusJSONRequestBody defines body for UpdateAdCampaignStatus for application/json ContentType.
type UpdateAdCampaignStatusResponse ¶ added in v0.0.106
type UpdateAdCampaignStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// Message Human-readable summary (present when no ads were actionable)
Message *string `json:"message,omitempty"`
// Skipped Number of ads skipped
Skipped *int `json:"skipped,omitempty"`
SkippedReasons *[]string `json:"skippedReasons,omitempty"`
// Updated Number of ads updated
Updated *int `json:"updated,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateAdCampaignStatusResponse ¶ added in v0.0.106
func ParseUpdateAdCampaignStatusResponse(rsp *http.Response) (*UpdateAdCampaignStatusResponse, error)
ParseUpdateAdCampaignStatusResponse parses an HTTP response from a UpdateAdCampaignStatusWithResponse call
func (UpdateAdCampaignStatusResponse) Status ¶ added in v0.0.106
func (r UpdateAdCampaignStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdCampaignStatusResponse) StatusCode ¶ added in v0.0.106
func (r UpdateAdCampaignStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdJSONBody ¶ added in v0.0.106
type UpdateAdJSONBody struct {
Budget *struct {
// Amount Minimum varies by platform: TikTok=$20, Pinterest=$5, others=$1
Amount *float32 `json:"amount,omitempty"`
Type *UpdateAdJSONBodyBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
// Creative Replace the ad's creative. Meta + TikTok only.
//
// - **Meta**: requires `headline`, `body`, `callToAction`, `linkUrl`, `imageUrl`. The
// ad's existing creative is replaced via a new `/act_X/adcreatives` upload + ad
// update. The old creative is retained on the ad account for historical reporting.
// - **TikTok**: patch-style. Pass any subset; `headline` is ignored (TikTok creatives
// have no headline slot). `body` becomes the in-feed `ad_text`; `linkUrl` becomes
// `landing_page_url`; `videoUrl` triggers a fresh upload.
Creative *struct {
Body *string `json:"body,omitempty"`
CallToAction *string `json:"callToAction,omitempty"`
// Headline Meta only
Headline *string `json:"headline,omitempty"`
ImageUrl *string `json:"imageUrl,omitempty"`
LinkUrl *string `json:"linkUrl,omitempty"`
VideoUrl *string `json:"videoUrl,omitempty"`
} `json:"creative,omitempty"`
Name *string `json:"name,omitempty"`
Status *UpdateAdJSONBodyStatus `json:"status,omitempty"`
// Targeting Meta + TikTok only. Pinterest / X / LinkedIn / Google return 501.
Targeting *struct {
// AdvantageAudience Meta only. Omit to preserve the existing setting on update. 0 = disabled, 1 = enabled.
AdvantageAudience *UpdateAdJSONBodyTargetingAdvantageAudience `json:"advantage_audience,omitempty"`
AgeMax *int `json:"ageMax,omitempty"`
AgeMin *int `json:"ageMin,omitempty"`
Countries *[]string `json:"countries,omitempty"`
// Interests Interest objects from /v1/ads/interests. Each must include id and name.
Interests *[]struct {
Id string `json:"id"`
Name string `json:"name"`
} `json:"interests,omitempty"`
} `json:"targeting,omitempty"`
}
UpdateAdJSONBody defines parameters for UpdateAd.
type UpdateAdJSONBodyBudgetType ¶ added in v0.0.106
type UpdateAdJSONBodyBudgetType string
UpdateAdJSONBodyBudgetType defines parameters for UpdateAd.
const ( UpdateAdJSONBodyBudgetTypeDaily UpdateAdJSONBodyBudgetType = "daily" UpdateAdJSONBodyBudgetTypeLifetime UpdateAdJSONBodyBudgetType = "lifetime" )
Defines values for UpdateAdJSONBodyBudgetType.
func (UpdateAdJSONBodyBudgetType) Valid ¶ added in v0.0.106
func (e UpdateAdJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdJSONBodyBudgetType enum.
type UpdateAdJSONBodyStatus ¶ added in v0.0.106
type UpdateAdJSONBodyStatus string
UpdateAdJSONBodyStatus defines parameters for UpdateAd.
const ( UpdateAdJSONBodyStatusActive UpdateAdJSONBodyStatus = "active" UpdateAdJSONBodyStatusPaused UpdateAdJSONBodyStatus = "paused" )
Defines values for UpdateAdJSONBodyStatus.
func (UpdateAdJSONBodyStatus) Valid ¶ added in v0.0.106
func (e UpdateAdJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdJSONBodyStatus enum.
type UpdateAdJSONBodyTargetingAdvantageAudience ¶ added in v0.0.165
type UpdateAdJSONBodyTargetingAdvantageAudience int
UpdateAdJSONBodyTargetingAdvantageAudience defines parameters for UpdateAd.
const ( UpdateAdJSONBodyTargetingAdvantageAudienceN0 UpdateAdJSONBodyTargetingAdvantageAudience = 0 UpdateAdJSONBodyTargetingAdvantageAudienceN1 UpdateAdJSONBodyTargetingAdvantageAudience = 1 )
Defines values for UpdateAdJSONBodyTargetingAdvantageAudience.
func (UpdateAdJSONBodyTargetingAdvantageAudience) Valid ¶ added in v0.0.165
func (e UpdateAdJSONBodyTargetingAdvantageAudience) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdJSONBodyTargetingAdvantageAudience enum.
type UpdateAdJSONRequestBody ¶ added in v0.0.106
type UpdateAdJSONRequestBody UpdateAdJSONBody
UpdateAdJSONRequestBody defines body for UpdateAd for application/json ContentType.
type UpdateAdResponse ¶ added in v0.0.106
type UpdateAdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Ad *Ad `json:"ad,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateAdResponse ¶ added in v0.0.106
func ParseUpdateAdResponse(rsp *http.Response) (*UpdateAdResponse, error)
ParseUpdateAdResponse parses an HTTP response from a UpdateAdWithResponse call
func (UpdateAdResponse) Status ¶ added in v0.0.106
func (r UpdateAdResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdResponse) StatusCode ¶ added in v0.0.106
func (r UpdateAdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdSet200BudgetLevel ¶ added in v0.0.168
type UpdateAdSet200BudgetLevel string
type UpdateAdSet200Status ¶ added in v0.0.168
type UpdateAdSet200Status string
type UpdateAdSetJSONBody ¶ added in v0.0.168
type UpdateAdSetJSONBody struct {
// BidAmount Bid cap in WHOLE currency units (USD: 5 = $5.00; JPY: 100 = ¥100). Required when
// bidStrategy is LOWEST_COST_WITH_BID_CAP or COST_CAP. Internally converted to Meta's
// smallest-denomination integer.
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Ad-set-level bid strategy. Overrides the campaign-level default.
// Supported on Meta (facebook, instagram) and TikTok. On TikTok the
// Meta-style enum is mapped to bid_type / bid_price / deep_bid_type
// automatically. Other platforms (linkedin, pinterest, google, twitter)
// return 501 Not Implemented when bidStrategy is set.
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Omit if not updating budget
Budget *struct {
Amount *float32 `json:"amount,omitempty"`
Type *UpdateAdSetJSONBodyBudgetType `json:"type,omitempty"`
} `json:"budget,omitempty"`
Platform UpdateAdSetJSONBodyPlatform `json:"platform"`
// RoasAverageFloor Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
// LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
// Status Omit if not toggling delivery state
Status *UpdateAdSetJSONBodyStatus `json:"status,omitempty"`
}
UpdateAdSetJSONBody defines parameters for UpdateAdSet.
type UpdateAdSetJSONBodyBudgetType ¶ added in v0.0.168
type UpdateAdSetJSONBodyBudgetType string
UpdateAdSetJSONBodyBudgetType defines parameters for UpdateAdSet.
const ( UpdateAdSetJSONBodyBudgetTypeDaily UpdateAdSetJSONBodyBudgetType = "daily" UpdateAdSetJSONBodyBudgetTypeLifetime UpdateAdSetJSONBodyBudgetType = "lifetime" )
Defines values for UpdateAdSetJSONBodyBudgetType.
func (UpdateAdSetJSONBodyBudgetType) Valid ¶ added in v0.0.168
func (e UpdateAdSetJSONBodyBudgetType) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdSetJSONBodyBudgetType enum.
type UpdateAdSetJSONBodyPlatform ¶ added in v0.0.168
type UpdateAdSetJSONBodyPlatform string
UpdateAdSetJSONBodyPlatform defines parameters for UpdateAdSet.
const ( UpdateAdSetJSONBodyPlatformFacebook UpdateAdSetJSONBodyPlatform = "facebook" UpdateAdSetJSONBodyPlatformGoogle UpdateAdSetJSONBodyPlatform = "google" UpdateAdSetJSONBodyPlatformInstagram UpdateAdSetJSONBodyPlatform = "instagram" UpdateAdSetJSONBodyPlatformLinkedin UpdateAdSetJSONBodyPlatform = "linkedin" UpdateAdSetJSONBodyPlatformPinterest UpdateAdSetJSONBodyPlatform = "pinterest" UpdateAdSetJSONBodyPlatformTiktok UpdateAdSetJSONBodyPlatform = "tiktok" UpdateAdSetJSONBodyPlatformTwitter UpdateAdSetJSONBodyPlatform = "twitter" )
Defines values for UpdateAdSetJSONBodyPlatform.
func (UpdateAdSetJSONBodyPlatform) Valid ¶ added in v0.0.168
func (e UpdateAdSetJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdSetJSONBodyPlatform enum.
type UpdateAdSetJSONBodyStatus ¶ added in v0.0.168
type UpdateAdSetJSONBodyStatus string
UpdateAdSetJSONBodyStatus defines parameters for UpdateAdSet.
const ( UpdateAdSetJSONBodyStatusActive UpdateAdSetJSONBodyStatus = "active" UpdateAdSetJSONBodyStatusPaused UpdateAdSetJSONBodyStatus = "paused" )
Defines values for UpdateAdSetJSONBodyStatus.
func (UpdateAdSetJSONBodyStatus) Valid ¶ added in v0.0.168
func (e UpdateAdSetJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdSetJSONBodyStatus enum.
type UpdateAdSetJSONRequestBody ¶ added in v0.0.168
type UpdateAdSetJSONRequestBody UpdateAdSetJSONBody
UpdateAdSetJSONRequestBody defines body for UpdateAdSet for application/json ContentType.
type UpdateAdSetResponse ¶ added in v0.0.168
type UpdateAdSetResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
BidAmount *float32 `json:"bidAmount,omitempty"`
// BidStrategy Meta bid strategy. Same enum applies at campaign and ad-set level; ad-set value (when set)
// overrides campaign-level. Cross-field rules:
// - `LOWEST_COST_WITHOUT_CAP` (default): auto-bid, forbids `bidAmount` and `roasAverageFloor`.
// - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: require `bidAmount` (whole currency units).
// - `LOWEST_COST_WITH_MIN_ROAS`: requires `roasAverageFloor` (decimal multiplier, 2.0 = 2.0x).
// Source: facebook-business-sdk-codegen api_specs/specs/enum_types.json (`AdSet_bid_strategy`,
// `Campaign_bid_strategy`).
BidStrategy *BidStrategy `json:"bidStrategy,omitempty"`
// Budget Budget amount in the ad account's native currency (see the campaign's `currency` field for the code).
Budget *AdBudget `json:"budget,omitempty"`
BudgetLevel *UpdateAdSet200BudgetLevel `json:"budgetLevel,omitempty"`
RoasAverageFloor *float32 `json:"roasAverageFloor,omitempty"`
Status *UpdateAdSet200Status `json:"status,omitempty"`
StatusSkipped *int `json:"statusSkipped,omitempty"`
StatusUpdated *int `json:"statusUpdated,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateAdSetResponse ¶ added in v0.0.168
func ParseUpdateAdSetResponse(rsp *http.Response) (*UpdateAdSetResponse, error)
ParseUpdateAdSetResponse parses an HTTP response from a UpdateAdSetWithResponse call
func (UpdateAdSetResponse) Status ¶ added in v0.0.168
func (r UpdateAdSetResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdSetResponse) StatusCode ¶ added in v0.0.168
func (r UpdateAdSetResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAdSetStatusJSONBody ¶ added in v0.0.168
type UpdateAdSetStatusJSONBody struct {
Platform UpdateAdSetStatusJSONBodyPlatform `json:"platform"`
Status UpdateAdSetStatusJSONBodyStatus `json:"status"`
}
UpdateAdSetStatusJSONBody defines parameters for UpdateAdSetStatus.
type UpdateAdSetStatusJSONBodyPlatform ¶ added in v0.0.168
type UpdateAdSetStatusJSONBodyPlatform string
UpdateAdSetStatusJSONBodyPlatform defines parameters for UpdateAdSetStatus.
const ( UpdateAdSetStatusJSONBodyPlatformFacebook UpdateAdSetStatusJSONBodyPlatform = "facebook" UpdateAdSetStatusJSONBodyPlatformGoogle UpdateAdSetStatusJSONBodyPlatform = "google" UpdateAdSetStatusJSONBodyPlatformInstagram UpdateAdSetStatusJSONBodyPlatform = "instagram" UpdateAdSetStatusJSONBodyPlatformLinkedin UpdateAdSetStatusJSONBodyPlatform = "linkedin" UpdateAdSetStatusJSONBodyPlatformPinterest UpdateAdSetStatusJSONBodyPlatform = "pinterest" UpdateAdSetStatusJSONBodyPlatformTiktok UpdateAdSetStatusJSONBodyPlatform = "tiktok" UpdateAdSetStatusJSONBodyPlatformTwitter UpdateAdSetStatusJSONBodyPlatform = "twitter" )
Defines values for UpdateAdSetStatusJSONBodyPlatform.
func (UpdateAdSetStatusJSONBodyPlatform) Valid ¶ added in v0.0.168
func (e UpdateAdSetStatusJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdSetStatusJSONBodyPlatform enum.
type UpdateAdSetStatusJSONBodyStatus ¶ added in v0.0.168
type UpdateAdSetStatusJSONBodyStatus string
UpdateAdSetStatusJSONBodyStatus defines parameters for UpdateAdSetStatus.
const ( UpdateAdSetStatusJSONBodyStatusActive UpdateAdSetStatusJSONBodyStatus = "active" UpdateAdSetStatusJSONBodyStatusPaused UpdateAdSetStatusJSONBodyStatus = "paused" )
Defines values for UpdateAdSetStatusJSONBodyStatus.
func (UpdateAdSetStatusJSONBodyStatus) Valid ¶ added in v0.0.168
func (e UpdateAdSetStatusJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateAdSetStatusJSONBodyStatus enum.
type UpdateAdSetStatusJSONRequestBody ¶ added in v0.0.168
type UpdateAdSetStatusJSONRequestBody UpdateAdSetStatusJSONBody
UpdateAdSetStatusJSONRequestBody defines body for UpdateAdSetStatus for application/json ContentType.
type UpdateAdSetStatusResponse ¶ added in v0.0.168
type UpdateAdSetStatusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Skipped *int `json:"skipped,omitempty"`
Updated *int `json:"updated,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateAdSetStatusResponse ¶ added in v0.0.168
func ParseUpdateAdSetStatusResponse(rsp *http.Response) (*UpdateAdSetStatusResponse, error)
ParseUpdateAdSetStatusResponse parses an HTTP response from a UpdateAdSetStatusWithResponse call
func (UpdateAdSetStatusResponse) Status ¶ added in v0.0.168
func (r UpdateAdSetStatusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateAdSetStatusResponse) StatusCode ¶ added in v0.0.168
func (r UpdateAdSetStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateBroadcastResponse ¶ added in v0.0.76
type UpdateBroadcastResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Broadcast *struct {
Description *string `json:"description,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"broadcast,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateBroadcastResponse ¶ added in v0.0.76
func ParseUpdateBroadcastResponse(rsp *http.Response) (*UpdateBroadcastResponse, error)
ParseUpdateBroadcastResponse parses an HTTP response from a UpdateBroadcastWithResponse call
func (UpdateBroadcastResponse) Status ¶ added in v0.0.76
func (r UpdateBroadcastResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateBroadcastResponse) StatusCode ¶ added in v0.0.76
func (r UpdateBroadcastResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCommentAutomation200AutomationMatchMode ¶ added in v0.0.86
type UpdateCommentAutomation200AutomationMatchMode string
type UpdateCommentAutomationJSONBody ¶ added in v0.0.76
type UpdateCommentAutomationJSONBody struct {
CommentReply *string `json:"commentReply,omitempty"`
DmMessage *string `json:"dmMessage,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *UpdateCommentAutomationJSONBodyMatchMode `json:"matchMode,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateCommentAutomationJSONBody defines parameters for UpdateCommentAutomation.
type UpdateCommentAutomationJSONBodyMatchMode ¶ added in v0.0.76
type UpdateCommentAutomationJSONBodyMatchMode string
UpdateCommentAutomationJSONBodyMatchMode defines parameters for UpdateCommentAutomation.
const ( UpdateCommentAutomationJSONBodyMatchModeContains UpdateCommentAutomationJSONBodyMatchMode = "contains" UpdateCommentAutomationJSONBodyMatchModeExact UpdateCommentAutomationJSONBodyMatchMode = "exact" )
Defines values for UpdateCommentAutomationJSONBodyMatchMode.
func (UpdateCommentAutomationJSONBodyMatchMode) Valid ¶ added in v0.0.76
func (e UpdateCommentAutomationJSONBodyMatchMode) Valid() bool
Valid indicates whether the value is a known member of the UpdateCommentAutomationJSONBodyMatchMode enum.
type UpdateCommentAutomationJSONRequestBody ¶ added in v0.0.76
type UpdateCommentAutomationJSONRequestBody UpdateCommentAutomationJSONBody
UpdateCommentAutomationJSONRequestBody defines body for UpdateCommentAutomation for application/json ContentType.
type UpdateCommentAutomationResponse ¶ added in v0.0.76
type UpdateCommentAutomationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Automation *struct {
CommentReply *string `json:"commentReply,omitempty"`
DmMessage *string `json:"dmMessage,omitempty"`
Id *string `json:"id,omitempty"`
IsActive *bool `json:"isActive,omitempty"`
Keywords *[]string `json:"keywords,omitempty"`
MatchMode *UpdateCommentAutomation200AutomationMatchMode `json:"matchMode,omitempty"`
Name *string `json:"name,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"automation,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateCommentAutomationResponse ¶ added in v0.0.76
func ParseUpdateCommentAutomationResponse(rsp *http.Response) (*UpdateCommentAutomationResponse, error)
ParseUpdateCommentAutomationResponse parses an HTTP response from a UpdateCommentAutomationWithResponse call
func (UpdateCommentAutomationResponse) Status ¶ added in v0.0.76
func (r UpdateCommentAutomationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCommentAutomationResponse) StatusCode ¶ added in v0.0.76
func (r UpdateCommentAutomationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateContactJSONBody ¶ added in v0.0.76
type UpdateContactJSONBody struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Company *string `json:"company,omitempty"`
Email *string `json:"email,omitempty"`
IsBlocked *bool `json:"isBlocked,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
UpdateContactJSONBody defines parameters for UpdateContact.
type UpdateContactJSONRequestBody ¶ added in v0.0.76
type UpdateContactJSONRequestBody UpdateContactJSONBody
UpdateContactJSONRequestBody defines body for UpdateContact for application/json ContentType.
type UpdateContactResponse ¶ added in v0.0.76
type UpdateContactResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Contact *struct {
AvatarUrl *string `json:"avatarUrl,omitempty"`
Company *string `json:"company,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
IsBlocked *bool `json:"isBlocked,omitempty"`
IsSubscribed *bool `json:"isSubscribed,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Tags *[]string `json:"tags,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"contact,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateContactResponse ¶ added in v0.0.76
func ParseUpdateContactResponse(rsp *http.Response) (*UpdateContactResponse, error)
ParseUpdateContactResponse parses an HTTP response from a UpdateContactWithResponse call
func (UpdateContactResponse) Status ¶ added in v0.0.76
func (r UpdateContactResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateContactResponse) StatusCode ¶ added in v0.0.76
func (r UpdateContactResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomFieldJSONBody ¶ added in v0.0.76
type UpdateCustomFieldJSONBody struct {
Name *string `json:"name,omitempty"`
Options *[]string `json:"options,omitempty"`
}
UpdateCustomFieldJSONBody defines parameters for UpdateCustomField.
type UpdateCustomFieldJSONRequestBody ¶ added in v0.0.76
type UpdateCustomFieldJSONRequestBody UpdateCustomFieldJSONBody
UpdateCustomFieldJSONRequestBody defines body for UpdateCustomField for application/json ContentType.
type UpdateCustomFieldResponse ¶ added in v0.0.76
type UpdateCustomFieldResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Field *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Options *[]string `json:"options,omitempty"`
Slug *string `json:"slug,omitempty"`
Type *string `json:"type,omitempty"`
} `json:"field,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateCustomFieldResponse ¶ added in v0.0.76
func ParseUpdateCustomFieldResponse(rsp *http.Response) (*UpdateCustomFieldResponse, error)
ParseUpdateCustomFieldResponse parses an HTTP response from a UpdateCustomFieldWithResponse call
func (UpdateCustomFieldResponse) Status ¶ added in v0.0.76
func (r UpdateCustomFieldResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomFieldResponse) StatusCode ¶ added in v0.0.76
func (r UpdateCustomFieldResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateDiscordSettingsJSONBody ¶ added in v0.0.153
type UpdateDiscordSettingsJSONBody struct {
// ChannelId Switch to a different channel in the same guild. Must be a text (0), announcement (5), or forum (15) channel.
ChannelId *string `json:"channelId,omitempty"`
// WebhookAvatarUrl Custom avatar URL. Empty string resets to default bot avatar.
WebhookAvatarUrl *string `json:"webhookAvatarUrl,omitempty"`
// WebhookUsername Custom display name for the webhook (1-80 chars). Empty string resets to default ("Zernio"). Cannot contain "clyde" or "discord".
WebhookUsername *string `json:"webhookUsername,omitempty"`
}
UpdateDiscordSettingsJSONBody defines parameters for UpdateDiscordSettings.
type UpdateDiscordSettingsJSONRequestBody ¶ added in v0.0.153
type UpdateDiscordSettingsJSONRequestBody UpdateDiscordSettingsJSONBody
UpdateDiscordSettingsJSONRequestBody defines body for UpdateDiscordSettings for application/json ContentType.
type UpdateDiscordSettingsResponse ¶ added in v0.0.153
type UpdateDiscordSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *struct {
UnderscoreId *string `json:"_id,omitempty"`
ChannelId *string `json:"channelId,omitempty"`
ChannelName *string `json:"channelName,omitempty"`
ChannelType *string `json:"channelType,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
GuildId *string `json:"guildId,omitempty"`
Platform *string `json:"platform,omitempty"`
ProfilePicture *string `json:"profilePicture,omitempty"`
Username *string `json:"username,omitempty"`
WebhookAvatarUrl *string `json:"webhookAvatarUrl,omitempty"`
WebhookUsername *string `json:"webhookUsername,omitempty"`
} `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateDiscordSettingsResponse ¶ added in v0.0.153
func ParseUpdateDiscordSettingsResponse(rsp *http.Response) (*UpdateDiscordSettingsResponse, error)
ParseUpdateDiscordSettingsResponse parses an HTTP response from a UpdateDiscordSettingsWithResponse call
func (UpdateDiscordSettingsResponse) Status ¶ added in v0.0.153
func (r UpdateDiscordSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateDiscordSettingsResponse) StatusCode ¶ added in v0.0.153
func (r UpdateDiscordSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFacebookPageJSONBody ¶
type UpdateFacebookPageJSONBody struct {
SelectedPageId string `json:"selectedPageId"`
}
UpdateFacebookPageJSONBody defines parameters for UpdateFacebookPage.
type UpdateFacebookPageJSONRequestBody ¶
type UpdateFacebookPageJSONRequestBody UpdateFacebookPageJSONBody
UpdateFacebookPageJSONRequestBody defines body for UpdateFacebookPage for application/json ContentType.
type UpdateFacebookPageResponse ¶
type UpdateFacebookPageResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
SelectedPage *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"selectedPage,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateFacebookPageResponse ¶
func ParseUpdateFacebookPageResponse(rsp *http.Response) (*UpdateFacebookPageResponse, error)
ParseUpdateFacebookPageResponse parses an HTTP response from a UpdateFacebookPageWithResponse call
func (UpdateFacebookPageResponse) Status ¶
func (r UpdateFacebookPageResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateFacebookPageResponse) StatusCode ¶
func (r UpdateFacebookPageResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGmbLocationJSONBody ¶
type UpdateGmbLocationJSONBody struct {
SelectedLocationId string `json:"selectedLocationId"`
}
UpdateGmbLocationJSONBody defines parameters for UpdateGmbLocation.
type UpdateGmbLocationJSONRequestBody ¶
type UpdateGmbLocationJSONRequestBody UpdateGmbLocationJSONBody
UpdateGmbLocationJSONRequestBody defines body for UpdateGmbLocation for application/json ContentType.
type UpdateGmbLocationResponse ¶
type UpdateGmbLocationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
SelectedLocation *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
} `json:"selectedLocation,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateGmbLocationResponse ¶
func ParseUpdateGmbLocationResponse(rsp *http.Response) (*UpdateGmbLocationResponse, error)
ParseUpdateGmbLocationResponse parses an HTTP response from a UpdateGmbLocationWithResponse call
func (UpdateGmbLocationResponse) Status ¶
func (r UpdateGmbLocationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGmbLocationResponse) StatusCode ¶
func (r UpdateGmbLocationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGoogleBusinessAttributesJSONBody ¶
type UpdateGoogleBusinessAttributesJSONBody struct {
// AttributeMask Comma-separated attribute names to update (e.g. 'has_delivery,has_takeout')
AttributeMask string `json:"attributeMask"`
Attributes []struct {
Name *string `json:"name,omitempty"`
RepeatedEnumValue *struct {
SetValues *[]string `json:"setValues,omitempty"`
UnsetValues *[]string `json:"unsetValues,omitempty"`
} `json:"repeatedEnumValue,omitempty"`
Values *[]interface{} `json:"values,omitempty"`
} `json:"attributes"`
}
UpdateGoogleBusinessAttributesJSONBody defines parameters for UpdateGoogleBusinessAttributes.
type UpdateGoogleBusinessAttributesJSONRequestBody ¶
type UpdateGoogleBusinessAttributesJSONRequestBody UpdateGoogleBusinessAttributesJSONBody
UpdateGoogleBusinessAttributesJSONRequestBody defines body for UpdateGoogleBusinessAttributes for application/json ContentType.
type UpdateGoogleBusinessAttributesParams ¶
type UpdateGoogleBusinessAttributesParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
UpdateGoogleBusinessAttributesParams defines parameters for UpdateGoogleBusinessAttributes.
type UpdateGoogleBusinessAttributesResponse ¶
type UpdateGoogleBusinessAttributesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
Attributes *[]map[string]interface{} `json:"attributes,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseUpdateGoogleBusinessAttributesResponse ¶
func ParseUpdateGoogleBusinessAttributesResponse(rsp *http.Response) (*UpdateGoogleBusinessAttributesResponse, error)
ParseUpdateGoogleBusinessAttributesResponse parses an HTTP response from a UpdateGoogleBusinessAttributesWithResponse call
func (UpdateGoogleBusinessAttributesResponse) Status ¶
func (r UpdateGoogleBusinessAttributesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGoogleBusinessAttributesResponse) StatusCode ¶
func (r UpdateGoogleBusinessAttributesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGoogleBusinessFoodMenusJSONBody ¶
type UpdateGoogleBusinessFoodMenusJSONBody struct {
// Menus Array of food menus to set
Menus []FoodMenu `json:"menus"`
// UpdateMask Field mask for partial updates (e.g. "menus")
UpdateMask *string `json:"updateMask,omitempty"`
}
UpdateGoogleBusinessFoodMenusJSONBody defines parameters for UpdateGoogleBusinessFoodMenus.
type UpdateGoogleBusinessFoodMenusJSONRequestBody ¶
type UpdateGoogleBusinessFoodMenusJSONRequestBody UpdateGoogleBusinessFoodMenusJSONBody
UpdateGoogleBusinessFoodMenusJSONRequestBody defines body for UpdateGoogleBusinessFoodMenus for application/json ContentType.
type UpdateGoogleBusinessFoodMenusParams ¶
type UpdateGoogleBusinessFoodMenusParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
UpdateGoogleBusinessFoodMenusParams defines parameters for UpdateGoogleBusinessFoodMenus.
type UpdateGoogleBusinessFoodMenusResponse ¶
type UpdateGoogleBusinessFoodMenusResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Menus *[]FoodMenu `json:"menus,omitempty"`
Name *string `json:"name,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON403 *ErrorResponse
JSON404 *NotFound
JSON500 *ErrorResponse
}
func ParseUpdateGoogleBusinessFoodMenusResponse ¶
func ParseUpdateGoogleBusinessFoodMenusResponse(rsp *http.Response) (*UpdateGoogleBusinessFoodMenusResponse, error)
ParseUpdateGoogleBusinessFoodMenusResponse parses an HTTP response from a UpdateGoogleBusinessFoodMenusWithResponse call
func (UpdateGoogleBusinessFoodMenusResponse) Status ¶
func (r UpdateGoogleBusinessFoodMenusResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGoogleBusinessFoodMenusResponse) StatusCode ¶
func (r UpdateGoogleBusinessFoodMenusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGoogleBusinessLocationDetailsJSONBody ¶
type UpdateGoogleBusinessLocationDetailsJSONBody struct {
// Categories Primary and additional business categories. Use updateMask='categories' to update.
Categories *struct {
AdditionalCategories *[]struct {
// Name Category resource name (e.g. 'categories/gcid:dry_cleaner')
Name *string `json:"name,omitempty"`
} `json:"additionalCategories,omitempty"`
PrimaryCategory *struct {
// Name Category resource name (e.g. 'categories/gcid:laundromat'). Use Google's Categories API to look up valid IDs.
Name *string `json:"name,omitempty"`
} `json:"primaryCategory,omitempty"`
} `json:"categories,omitempty"`
PhoneNumbers *struct {
AdditionalPhones *[]string `json:"additionalPhones,omitempty"`
PrimaryPhone *string `json:"primaryPhone,omitempty"`
} `json:"phoneNumbers,omitempty"`
Profile *struct {
Description *string `json:"description,omitempty"`
} `json:"profile,omitempty"`
RegularHours *struct {
Periods *[]struct {
CloseDay *string `json:"closeDay,omitempty"`
CloseTime *string `json:"closeTime,omitempty"`
OpenDay *string `json:"openDay,omitempty"`
OpenTime *string `json:"openTime,omitempty"`
} `json:"periods,omitempty"`
} `json:"regularHours,omitempty"`
// ServiceItems Services offered by the business. Use updateMask='serviceItems' to update.
ServiceItems *[]struct {
// FreeFormServiceItem A custom service not in Google's catalog
FreeFormServiceItem *struct {
// Category Category resource name this service belongs to (e.g. 'categories/gcid:laundromat')
Category *string `json:"category,omitempty"`
Label *struct {
// DisplayName Service name as displayed to users
DisplayName *string `json:"displayName,omitempty"`
// LanguageCode Language code (e.g. 'en')
LanguageCode *string `json:"languageCode,omitempty"`
} `json:"label,omitempty"`
} `json:"freeFormServiceItem,omitempty"`
// Price Optional price for the service
Price *struct {
// CurrencyCode ISO 4217 currency code (e.g. 'USD')
CurrencyCode *string `json:"currencyCode,omitempty"`
// Nanos Nano units (10^-9) of the amount
Nanos *int `json:"nanos,omitempty"`
// Units Whole units of the amount
Units *string `json:"units,omitempty"`
} `json:"price,omitempty"`
// StructuredServiceItem A predefined service from Google's service type catalog
StructuredServiceItem *struct {
// Description Optional description of the service
Description *string `json:"description,omitempty"`
// ServiceTypeId Service type ID from Google's catalog (e.g. 'job_type_id:plumbing_drain_repair')
ServiceTypeId *string `json:"serviceTypeId,omitempty"`
} `json:"structuredServiceItem,omitempty"`
} `json:"serviceItems,omitempty"`
SpecialHours *struct {
SpecialHourPeriods *[]struct {
CloseTime *string `json:"closeTime,omitempty"`
Closed *bool `json:"closed,omitempty"`
EndDate *struct {
Day *int `json:"day,omitempty"`
Month *int `json:"month,omitempty"`
Year *int `json:"year,omitempty"`
} `json:"endDate,omitempty"`
OpenTime *string `json:"openTime,omitempty"`
StartDate *struct {
Day *int `json:"day,omitempty"`
Month *int `json:"month,omitempty"`
Year *int `json:"year,omitempty"`
} `json:"startDate,omitempty"`
} `json:"specialHourPeriods,omitempty"`
} `json:"specialHours,omitempty"`
// UpdateMask Required. Comma-separated fields to update (e.g. 'regularHours', 'specialHours', 'profile.description', 'categories', 'serviceItems'). Any valid Google Business Information API updateMask field is supported.
UpdateMask string `json:"updateMask"`
WebsiteUri *string `json:"websiteUri,omitempty"`
}
UpdateGoogleBusinessLocationDetailsJSONBody defines parameters for UpdateGoogleBusinessLocationDetails.
type UpdateGoogleBusinessLocationDetailsJSONRequestBody ¶
type UpdateGoogleBusinessLocationDetailsJSONRequestBody UpdateGoogleBusinessLocationDetailsJSONBody
UpdateGoogleBusinessLocationDetailsJSONRequestBody defines body for UpdateGoogleBusinessLocationDetails for application/json ContentType.
type UpdateGoogleBusinessLocationDetailsParams ¶
type UpdateGoogleBusinessLocationDetailsParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location. Use GET /gmb-locations to list valid IDs.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
UpdateGoogleBusinessLocationDetailsParams defines parameters for UpdateGoogleBusinessLocationDetails.
type UpdateGoogleBusinessLocationDetailsResponse ¶
type UpdateGoogleBusinessLocationDetailsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
AccountId *string `json:"accountId,omitempty"`
LocationId *string `json:"locationId,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
JSON404 *NotFound
}
func ParseUpdateGoogleBusinessLocationDetailsResponse ¶
func ParseUpdateGoogleBusinessLocationDetailsResponse(rsp *http.Response) (*UpdateGoogleBusinessLocationDetailsResponse, error)
ParseUpdateGoogleBusinessLocationDetailsResponse parses an HTTP response from a UpdateGoogleBusinessLocationDetailsWithResponse call
func (UpdateGoogleBusinessLocationDetailsResponse) Status ¶
func (r UpdateGoogleBusinessLocationDetailsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGoogleBusinessLocationDetailsResponse) StatusCode ¶
func (r UpdateGoogleBusinessLocationDetailsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGoogleBusinessPlaceActionJSONBody ¶ added in v0.0.158
type UpdateGoogleBusinessPlaceActionJSONBody struct {
// Name Resource name of the place action link (e.g. locations/123/placeActionLinks/456)
Name string `json:"name"`
// PlaceActionType New action type
PlaceActionType *UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType `json:"placeActionType,omitempty"`
// Uri New action URL
Uri *string `json:"uri,omitempty"`
}
UpdateGoogleBusinessPlaceActionJSONBody defines parameters for UpdateGoogleBusinessPlaceAction.
type UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType ¶ added in v0.0.158
type UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType string
UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType defines parameters for UpdateGoogleBusinessPlaceAction.
const ( UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeAPPOINTMENT UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "APPOINTMENT" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeDININGRESERVATION UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "DINING_RESERVATION" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODDELIVERY UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_DELIVERY" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODORDERING UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_ORDERING" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeFOODTAKEOUT UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "FOOD_TAKEOUT" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeONLINEAPPOINTMENT UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "ONLINE_APPOINTMENT" UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionTypeSHOPONLINE UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType = "SHOP_ONLINE" )
Defines values for UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType.
func (UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType) Valid ¶ added in v0.0.158
func (e UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType) Valid() bool
Valid indicates whether the value is a known member of the UpdateGoogleBusinessPlaceActionJSONBodyPlaceActionType enum.
type UpdateGoogleBusinessPlaceActionJSONRequestBody ¶ added in v0.0.158
type UpdateGoogleBusinessPlaceActionJSONRequestBody UpdateGoogleBusinessPlaceActionJSONBody
UpdateGoogleBusinessPlaceActionJSONRequestBody defines body for UpdateGoogleBusinessPlaceAction for application/json ContentType.
type UpdateGoogleBusinessPlaceActionParams ¶ added in v0.0.158
type UpdateGoogleBusinessPlaceActionParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
UpdateGoogleBusinessPlaceActionParams defines parameters for UpdateGoogleBusinessPlaceAction.
type UpdateGoogleBusinessPlaceActionResponse ¶ added in v0.0.158
type UpdateGoogleBusinessPlaceActionResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Name *string `json:"name,omitempty"`
PlaceActionType *string `json:"placeActionType,omitempty"`
Success *bool `json:"success,omitempty"`
Uri *string `json:"uri,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseUpdateGoogleBusinessPlaceActionResponse ¶ added in v0.0.158
func ParseUpdateGoogleBusinessPlaceActionResponse(rsp *http.Response) (*UpdateGoogleBusinessPlaceActionResponse, error)
ParseUpdateGoogleBusinessPlaceActionResponse parses an HTTP response from a UpdateGoogleBusinessPlaceActionWithResponse call
func (UpdateGoogleBusinessPlaceActionResponse) Status ¶ added in v0.0.158
func (r UpdateGoogleBusinessPlaceActionResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGoogleBusinessPlaceActionResponse) StatusCode ¶ added in v0.0.158
func (r UpdateGoogleBusinessPlaceActionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGoogleBusinessServicesJSONBody ¶ added in v0.0.158
type UpdateGoogleBusinessServicesJSONBody struct {
ServiceItems []struct {
FreeFormServiceItem *struct {
Category *string `json:"category,omitempty"`
Label *struct {
Description *string `json:"description,omitempty"`
DisplayName *string `json:"displayName,omitempty"`
} `json:"label,omitempty"`
} `json:"freeFormServiceItem,omitempty"`
Price *struct {
CurrencyCode *string `json:"currencyCode,omitempty"`
Nanos *int `json:"nanos,omitempty"`
Units *string `json:"units,omitempty"`
} `json:"price,omitempty"`
StructuredServiceItem *struct {
Description *string `json:"description,omitempty"`
ServiceTypeId *string `json:"serviceTypeId,omitempty"`
} `json:"structuredServiceItem,omitempty"`
} `json:"serviceItems"`
}
UpdateGoogleBusinessServicesJSONBody defines parameters for UpdateGoogleBusinessServices.
type UpdateGoogleBusinessServicesJSONRequestBody ¶ added in v0.0.158
type UpdateGoogleBusinessServicesJSONRequestBody UpdateGoogleBusinessServicesJSONBody
UpdateGoogleBusinessServicesJSONRequestBody defines body for UpdateGoogleBusinessServices for application/json ContentType.
type UpdateGoogleBusinessServicesParams ¶ added in v0.0.158
type UpdateGoogleBusinessServicesParams struct {
// LocationId Override which location to target. If omitted, uses the account's selected location.
LocationId *string `form:"locationId,omitempty" json:"locationId,omitempty"`
}
UpdateGoogleBusinessServicesParams defines parameters for UpdateGoogleBusinessServices.
type UpdateGoogleBusinessServicesResponse ¶ added in v0.0.158
type UpdateGoogleBusinessServicesResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Services *[]map[string]interface{} `json:"services,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON400 *ErrorResponse
JSON401 *ErrorResponse
}
func ParseUpdateGoogleBusinessServicesResponse ¶ added in v0.0.158
func ParseUpdateGoogleBusinessServicesResponse(rsp *http.Response) (*UpdateGoogleBusinessServicesResponse, error)
ParseUpdateGoogleBusinessServicesResponse parses an HTTP response from a UpdateGoogleBusinessServicesWithResponse call
func (UpdateGoogleBusinessServicesResponse) Status ¶ added in v0.0.158
func (r UpdateGoogleBusinessServicesResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateGoogleBusinessServicesResponse) StatusCode ¶ added in v0.0.158
func (r UpdateGoogleBusinessServicesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateInboxConversation200DataStatus ¶
type UpdateInboxConversation200DataStatus string
type UpdateInboxConversationJSONBody ¶
type UpdateInboxConversationJSONBody struct {
// AccountId Social account ID
AccountId string `json:"accountId"`
Status UpdateInboxConversationJSONBodyStatus `json:"status"`
}
UpdateInboxConversationJSONBody defines parameters for UpdateInboxConversation.
type UpdateInboxConversationJSONBodyStatus ¶
type UpdateInboxConversationJSONBodyStatus string
UpdateInboxConversationJSONBodyStatus defines parameters for UpdateInboxConversation.
const ( UpdateInboxConversationJSONBodyStatusActive UpdateInboxConversationJSONBodyStatus = "active" UpdateInboxConversationJSONBodyStatusArchived UpdateInboxConversationJSONBodyStatus = "archived" )
Defines values for UpdateInboxConversationJSONBodyStatus.
func (UpdateInboxConversationJSONBodyStatus) Valid ¶
func (e UpdateInboxConversationJSONBodyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdateInboxConversationJSONBodyStatus enum.
type UpdateInboxConversationJSONRequestBody ¶
type UpdateInboxConversationJSONRequestBody UpdateInboxConversationJSONBody
UpdateInboxConversationJSONRequestBody defines body for UpdateInboxConversation for application/json ContentType.
type UpdateInboxConversationResponse ¶
type UpdateInboxConversationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Data *struct {
AccountId *string `json:"accountId,omitempty"`
Id *string `json:"id,omitempty"`
Platform *string `json:"platform,omitempty"`
Status *UpdateInboxConversation200DataStatus `json:"status,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"data,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateInboxConversationResponse ¶
func ParseUpdateInboxConversationResponse(rsp *http.Response) (*UpdateInboxConversationResponse, error)
ParseUpdateInboxConversationResponse parses an HTTP response from a UpdateInboxConversationWithResponse call
func (UpdateInboxConversationResponse) Status ¶
func (r UpdateInboxConversationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateInboxConversationResponse) StatusCode ¶
func (r UpdateInboxConversationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLinkedInOrganizationJSONBody ¶
type UpdateLinkedInOrganizationJSONBody struct {
AccountType UpdateLinkedInOrganizationJSONBodyAccountType `json:"accountType"`
SelectedOrganization *map[string]interface{} `json:"selectedOrganization,omitempty"`
}
UpdateLinkedInOrganizationJSONBody defines parameters for UpdateLinkedInOrganization.
type UpdateLinkedInOrganizationJSONBodyAccountType ¶
type UpdateLinkedInOrganizationJSONBodyAccountType string
UpdateLinkedInOrganizationJSONBodyAccountType defines parameters for UpdateLinkedInOrganization.
const ( UpdateLinkedInOrganizationJSONBodyAccountTypeOrganization UpdateLinkedInOrganizationJSONBodyAccountType = "organization" UpdateLinkedInOrganizationJSONBodyAccountTypePersonal UpdateLinkedInOrganizationJSONBodyAccountType = "personal" )
Defines values for UpdateLinkedInOrganizationJSONBodyAccountType.
func (UpdateLinkedInOrganizationJSONBodyAccountType) Valid ¶
func (e UpdateLinkedInOrganizationJSONBodyAccountType) Valid() bool
Valid indicates whether the value is a known member of the UpdateLinkedInOrganizationJSONBodyAccountType enum.
type UpdateLinkedInOrganizationJSONRequestBody ¶
type UpdateLinkedInOrganizationJSONRequestBody UpdateLinkedInOrganizationJSONBody
UpdateLinkedInOrganizationJSONRequestBody defines body for UpdateLinkedInOrganization for application/json ContentType.
type UpdateLinkedInOrganizationResponse ¶
type UpdateLinkedInOrganizationResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *SocialAccount `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateLinkedInOrganizationResponse ¶
func ParseUpdateLinkedInOrganizationResponse(rsp *http.Response) (*UpdateLinkedInOrganizationResponse, error)
ParseUpdateLinkedInOrganizationResponse parses an HTTP response from a UpdateLinkedInOrganizationWithResponse call
func (UpdateLinkedInOrganizationResponse) Status ¶
func (r UpdateLinkedInOrganizationResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateLinkedInOrganizationResponse) StatusCode ¶
func (r UpdateLinkedInOrganizationResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePinterestBoardsJSONBody ¶
type UpdatePinterestBoardsJSONBody struct {
DefaultBoardId string `json:"defaultBoardId"`
DefaultBoardName *string `json:"defaultBoardName,omitempty"`
}
UpdatePinterestBoardsJSONBody defines parameters for UpdatePinterestBoards.
type UpdatePinterestBoardsJSONRequestBody ¶
type UpdatePinterestBoardsJSONRequestBody UpdatePinterestBoardsJSONBody
UpdatePinterestBoardsJSONRequestBody defines body for UpdatePinterestBoards for application/json ContentType.
type UpdatePinterestBoardsResponse ¶
type UpdatePinterestBoardsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Account *SocialAccount `json:"account,omitempty"`
Message *string `json:"message,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdatePinterestBoardsResponse ¶
func ParseUpdatePinterestBoardsResponse(rsp *http.Response) (*UpdatePinterestBoardsResponse, error)
ParseUpdatePinterestBoardsResponse parses an HTTP response from a UpdatePinterestBoardsWithResponse call
func (UpdatePinterestBoardsResponse) Status ¶
func (r UpdatePinterestBoardsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePinterestBoardsResponse) StatusCode ¶
func (r UpdatePinterestBoardsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostJSONBody ¶
type UpdatePostJSONBody struct {
Content *string `json:"content,omitempty"`
// FacebookSettings Feed posts support up to 10 images (no mixed video+image). Stories require single media (24h, no captions). Reels require single vertical video (9:16, 3-60s). Geo-restriction is a hard visibility restriction: users outside the specified countries cannot see the post. Not supported for stories.
FacebookSettings *FacebookPlatformData `json:"facebookSettings,omitempty"`
// Recycling Configure automatic post recycling (reposting at regular intervals).
// After the post is published, the system creates new scheduled copies at the
// specified interval until expiration conditions are met. Supports weekly or
// monthly intervals. Maximum 10 active recycling posts per account.
// YouTube and TikTok platforms are excluded from recycling.
// Content variations are recommended for Twitter and Pinterest to avoid duplicate flags.
Recycling *RecyclingConfig `json:"recycling,omitempty"`
ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
// TiktokSettings Photo carousels up to 35 images. Video titles up to 2200 chars, photo titles truncated to 90 chars.
// privacyLevel must match creator_info options. Both camelCase and snake_case accepted.
//
// Creator Inbox (draft mode): Set draft: true to send content to the TikTok Creator Inbox
// instead of publishing immediately. The creator receives an inbox notification and completes
// the post using TikTok's editing flow. This maps to TikTok's post_mode: "MEDIA_UPLOAD" internally.
//
// Important: The field publish_type is NOT supported. Use draft: true for Creator Inbox flow.
//
// Photo drafts use the /v2/post/publish/content/init/ endpoint with post_mode: "MEDIA_UPLOAD".
// Video drafts use the dedicated /v2/post/publish/inbox/video/init/ endpoint.
//
// When draft: true, the video.upload scope is required. When draft is false or omitted
// (direct post), the video.publish scope is required. For Creator Inbox, TikTok app version
// must be 31.8 or higher.
TiktokSettings *TikTokPlatformData `json:"tiktokSettings,omitempty"`
AdditionalProperties map[string]interface{} `json:"-"`
}
UpdatePostJSONBody defines parameters for UpdatePost.
func (UpdatePostJSONBody) Get ¶
func (a UpdatePostJSONBody) Get(fieldName string) (value interface{}, found bool)
Getter for additional properties for UpdatePostJSONBody. Returns the specified element and whether it was found
func (UpdatePostJSONBody) MarshalJSON ¶
func (a UpdatePostJSONBody) MarshalJSON() ([]byte, error)
Override default JSON handling for UpdatePostJSONBody to handle AdditionalProperties
func (*UpdatePostJSONBody) Set ¶
func (a *UpdatePostJSONBody) Set(fieldName string, value interface{})
Setter for additional properties for UpdatePostJSONBody
func (*UpdatePostJSONBody) UnmarshalJSON ¶
func (a *UpdatePostJSONBody) UnmarshalJSON(b []byte) error
Override default JSON handling for UpdatePostJSONBody to handle AdditionalProperties
type UpdatePostJSONRequestBody ¶
type UpdatePostJSONRequestBody UpdatePostJSONBody
UpdatePostJSONRequestBody defines body for UpdatePost for application/json ContentType.
type UpdatePostMetadataJSONBody ¶ added in v0.0.91
type UpdatePostMetadataJSONBody struct {
// AccountId Zernio social account ID (required for direct mode, ignored for post-based mode)
AccountId *string `json:"accountId,omitempty"`
// CategoryId YouTube video category ID
CategoryId *string `json:"categoryId,omitempty"`
// ContainsSyntheticMedia AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
ContainsSyntheticMedia *bool `json:"containsSyntheticMedia,omitempty"`
// Description New video description
Description *string `json:"description,omitempty"`
// MadeForKids COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
MadeForKids *bool `json:"madeForKids,omitempty"`
// Platform The platform to update metadata on
Platform UpdatePostMetadataJSONBodyPlatform `json:"platform"`
// PlaylistId YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
PlaylistId *string `json:"playlistId,omitempty"`
// PrivacyStatus Video privacy setting
PrivacyStatus *UpdatePostMetadataJSONBodyPrivacyStatus `json:"privacyStatus,omitempty"`
// Tags Array of keyword tags (max 500 characters combined for YouTube)
Tags *[]string `json:"tags,omitempty"`
// ThumbnailUrl Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
ThumbnailUrl *string `json:"thumbnailUrl,omitempty"`
// Title New video title (max 100 characters for YouTube)
Title *string `json:"title,omitempty"`
// VideoId YouTube video ID (required for direct mode, ignored for post-based mode)
VideoId *string `json:"videoId,omitempty"`
}
UpdatePostMetadataJSONBody defines parameters for UpdatePostMetadata.
type UpdatePostMetadataJSONBodyPlatform ¶ added in v0.0.91
type UpdatePostMetadataJSONBodyPlatform string
UpdatePostMetadataJSONBodyPlatform defines parameters for UpdatePostMetadata.
const (
UpdatePostMetadataJSONBodyPlatformYoutube UpdatePostMetadataJSONBodyPlatform = "youtube"
)
Defines values for UpdatePostMetadataJSONBodyPlatform.
func (UpdatePostMetadataJSONBodyPlatform) Valid ¶ added in v0.0.91
func (e UpdatePostMetadataJSONBodyPlatform) Valid() bool
Valid indicates whether the value is a known member of the UpdatePostMetadataJSONBodyPlatform enum.
type UpdatePostMetadataJSONBodyPrivacyStatus ¶ added in v0.0.91
type UpdatePostMetadataJSONBodyPrivacyStatus string
UpdatePostMetadataJSONBodyPrivacyStatus defines parameters for UpdatePostMetadata.
const ( Private UpdatePostMetadataJSONBodyPrivacyStatus = "private" Public UpdatePostMetadataJSONBodyPrivacyStatus = "public" Unlisted UpdatePostMetadataJSONBodyPrivacyStatus = "unlisted" )
Defines values for UpdatePostMetadataJSONBodyPrivacyStatus.
func (UpdatePostMetadataJSONBodyPrivacyStatus) Valid ¶ added in v0.0.91
func (e UpdatePostMetadataJSONBodyPrivacyStatus) Valid() bool
Valid indicates whether the value is a known member of the UpdatePostMetadataJSONBodyPrivacyStatus enum.
type UpdatePostMetadataJSONRequestBody ¶ added in v0.0.91
type UpdatePostMetadataJSONRequestBody UpdatePostMetadataJSONBody
UpdatePostMetadataJSONRequestBody defines body for UpdatePostMetadata for application/json ContentType.
type UpdatePostMetadataResponse ¶ added in v0.0.91
type UpdatePostMetadataResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
UpdatedFields *[]string `json:"updatedFields,omitempty"`
// VideoId Only present in direct video ID mode
VideoId *string `json:"videoId,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdatePostMetadataResponse ¶ added in v0.0.91
func ParseUpdatePostMetadataResponse(rsp *http.Response) (*UpdatePostMetadataResponse, error)
ParseUpdatePostMetadataResponse parses an HTTP response from a UpdatePostMetadataWithResponse call
func (UpdatePostMetadataResponse) Status ¶ added in v0.0.91
func (r UpdatePostMetadataResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePostMetadataResponse) StatusCode ¶ added in v0.0.91
func (r UpdatePostMetadataResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePostResponse ¶
type UpdatePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PostUpdateResponse
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdatePostResponse ¶
func ParseUpdatePostResponse(rsp *http.Response) (*UpdatePostResponse, error)
ParseUpdatePostResponse parses an HTTP response from a UpdatePostWithResponse call
func (UpdatePostResponse) Status ¶
func (r UpdatePostResponse) Status() string
Status returns HTTPResponse.Status
func (UpdatePostResponse) StatusCode ¶
func (r UpdatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateProfileJSONBody ¶
type UpdateProfileJSONBody struct {
Color *string `json:"color,omitempty"`
Description *string `json:"description,omitempty"`
IsDefault *bool `json:"isDefault,omitempty"`
Name *string `json:"name,omitempty"`
}
UpdateProfileJSONBody defines parameters for UpdateProfile.
type UpdateProfileJSONRequestBody ¶
type UpdateProfileJSONRequestBody UpdateProfileJSONBody
UpdateProfileJSONRequestBody defines body for UpdateProfile for application/json ContentType.
type UpdateProfileResponse ¶
type UpdateProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Profile *Profile `json:"profile,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateProfileResponse ¶
func ParseUpdateProfileResponse(rsp *http.Response) (*UpdateProfileResponse, error)
ParseUpdateProfileResponse parses an HTTP response from a UpdateProfileWithResponse call
func (UpdateProfileResponse) Status ¶
func (r UpdateProfileResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateProfileResponse) StatusCode ¶
func (r UpdateProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateQueueSlotJSONBody ¶
type UpdateQueueSlotJSONBody struct {
Active *bool `json:"active,omitempty"`
// Name Queue name
Name *string `json:"name,omitempty"`
ProfileId string `json:"profileId"`
// QueueId Queue ID to update (optional)
QueueId *string `json:"queueId,omitempty"`
// ReshuffleExisting Whether to reschedule existing queued posts to match new slots
ReshuffleExisting *bool `json:"reshuffleExisting,omitempty"`
// SetAsDefault Make this queue the default
SetAsDefault *bool `json:"setAsDefault,omitempty"`
Slots []QueueSlot `json:"slots"`
Timezone string `json:"timezone"`
}
UpdateQueueSlotJSONBody defines parameters for UpdateQueueSlot.
type UpdateQueueSlotJSONRequestBody ¶
type UpdateQueueSlotJSONRequestBody UpdateQueueSlotJSONBody
UpdateQueueSlotJSONRequestBody defines body for UpdateQueueSlot for application/json ContentType.
type UpdateQueueSlotResponse ¶
type UpdateQueueSlotResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
NextSlots *[]time.Time `json:"nextSlots,omitempty"`
ReshuffledCount *int `json:"reshuffledCount,omitempty"`
Schedule *QueueSchedule `json:"schedule,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateQueueSlotResponse ¶
func ParseUpdateQueueSlotResponse(rsp *http.Response) (*UpdateQueueSlotResponse, error)
ParseUpdateQueueSlotResponse parses an HTTP response from a UpdateQueueSlotWithResponse call
func (UpdateQueueSlotResponse) Status ¶
func (r UpdateQueueSlotResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateQueueSlotResponse) StatusCode ¶
func (r UpdateQueueSlotResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateRedditSubredditsJSONBody ¶
type UpdateRedditSubredditsJSONBody struct {
DefaultSubreddit string `json:"defaultSubreddit"`
}
UpdateRedditSubredditsJSONBody defines parameters for UpdateRedditSubreddits.
type UpdateRedditSubredditsJSONRequestBody ¶
type UpdateRedditSubredditsJSONRequestBody UpdateRedditSubredditsJSONBody
UpdateRedditSubredditsJSONRequestBody defines body for UpdateRedditSubreddits for application/json ContentType.
type UpdateRedditSubredditsResponse ¶
type UpdateRedditSubredditsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateRedditSubredditsResponse ¶
func ParseUpdateRedditSubredditsResponse(rsp *http.Response) (*UpdateRedditSubredditsResponse, error)
ParseUpdateRedditSubredditsResponse parses an HTTP response from a UpdateRedditSubredditsWithResponse call
func (UpdateRedditSubredditsResponse) Status ¶
func (r UpdateRedditSubredditsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateRedditSubredditsResponse) StatusCode ¶
func (r UpdateRedditSubredditsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSequenceResponse ¶ added in v0.0.76
type UpdateSequenceResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Sequence *struct {
Description *string `json:"description,omitempty"`
ExitOnReply *bool `json:"exitOnReply,omitempty"`
ExitOnUnsubscribe *bool `json:"exitOnUnsubscribe,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
Steps *[]map[string]interface{} `json:"steps,omitempty"`
UpdatedAt *time.Time `json:"updatedAt,omitempty"`
} `json:"sequence,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateSequenceResponse ¶ added in v0.0.76
func ParseUpdateSequenceResponse(rsp *http.Response) (*UpdateSequenceResponse, error)
ParseUpdateSequenceResponse parses an HTTP response from a UpdateSequenceWithResponse call
func (UpdateSequenceResponse) Status ¶ added in v0.0.76
func (r UpdateSequenceResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateSequenceResponse) StatusCode ¶ added in v0.0.76
func (r UpdateSequenceResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWebhookSettingsJSONBody ¶
type UpdateWebhookSettingsJSONBody struct {
// UnderscoreId Webhook ID to update (required)
UnderscoreId string `json:"_id"`
// CustomHeaders Custom headers to include in webhook requests
CustomHeaders *map[string]string `json:"customHeaders,omitempty"`
// Events Events to subscribe to. Must contain at least one event if provided.
Events *[]UpdateWebhookSettingsJSONBodyEvents `json:"events,omitempty"`
// IsActive Enable or disable webhook delivery
IsActive *bool `json:"isActive,omitempty"`
// Name Webhook name (1-50 characters). Must be non-empty if provided.
Name *string `json:"name,omitempty"`
// Secret Secret key for HMAC-SHA256 signature verification
Secret *string `json:"secret,omitempty"`
// Url Webhook endpoint URL (must be a valid URL, whitespace trimmed). Must be a valid URL if provided.
Url *string `json:"url,omitempty"`
}
UpdateWebhookSettingsJSONBody defines parameters for UpdateWebhookSettings.
type UpdateWebhookSettingsJSONBodyEvents ¶
type UpdateWebhookSettingsJSONBodyEvents string
UpdateWebhookSettingsJSONBodyEvents defines parameters for UpdateWebhookSettings.
const ( AccountAdsInitialSyncCompleted UpdateWebhookSettingsJSONBodyEvents = "account.ads.initial_sync_completed" AccountConnected UpdateWebhookSettingsJSONBodyEvents = "account.connected" AccountDisconnected UpdateWebhookSettingsJSONBodyEvents = "account.disconnected" CommentReceived UpdateWebhookSettingsJSONBodyEvents = "comment.received" MessageReceived UpdateWebhookSettingsJSONBodyEvents = "message.received" PostCancelled UpdateWebhookSettingsJSONBodyEvents = "post.cancelled" PostFailed UpdateWebhookSettingsJSONBodyEvents = "post.failed" PostPartial UpdateWebhookSettingsJSONBodyEvents = "post.partial" PostPublished UpdateWebhookSettingsJSONBodyEvents = "post.published" PostRecycled UpdateWebhookSettingsJSONBodyEvents = "post.recycled" PostScheduled UpdateWebhookSettingsJSONBodyEvents = "post.scheduled" ReviewNew UpdateWebhookSettingsJSONBodyEvents = "review.new" ReviewUpdated UpdateWebhookSettingsJSONBodyEvents = "review.updated" )
Defines values for UpdateWebhookSettingsJSONBodyEvents.
func (UpdateWebhookSettingsJSONBodyEvents) Valid ¶
func (e UpdateWebhookSettingsJSONBodyEvents) Valid() bool
Valid indicates whether the value is a known member of the UpdateWebhookSettingsJSONBodyEvents enum.
type UpdateWebhookSettingsJSONRequestBody ¶
type UpdateWebhookSettingsJSONRequestBody UpdateWebhookSettingsJSONBody
UpdateWebhookSettingsJSONRequestBody defines body for UpdateWebhookSettings for application/json ContentType.
type UpdateWebhookSettingsResponse ¶
type UpdateWebhookSettingsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
// Webhook Individual webhook configuration for receiving real-time notifications
Webhook *Webhook `json:"webhook,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateWebhookSettingsResponse ¶
func ParseUpdateWebhookSettingsResponse(rsp *http.Response) (*UpdateWebhookSettingsResponse, error)
ParseUpdateWebhookSettingsResponse parses an HTTP response from a UpdateWebhookSettingsWithResponse call
func (UpdateWebhookSettingsResponse) Status ¶
func (r UpdateWebhookSettingsResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWebhookSettingsResponse) StatusCode ¶
func (r UpdateWebhookSettingsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWhatsAppBusinessProfileJSONBody ¶
type UpdateWhatsAppBusinessProfileJSONBody struct {
// About Short business description (max 139 characters)
About *string `json:"about,omitempty"`
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Address Business address
Address *string `json:"address,omitempty"`
// Description Full business description (max 512 characters)
Description *string `json:"description,omitempty"`
// Email Business email
Email *openapi_types.Email `json:"email,omitempty"`
// ProfilePictureHandle Handle from resumable upload for profile picture
ProfilePictureHandle *string `json:"profilePictureHandle,omitempty"`
// Vertical Business category (e.g., RETAIL, ENTERTAINMENT, etc.)
Vertical *string `json:"vertical,omitempty"`
// Websites Business websites (max 2)
Websites *[]string `json:"websites,omitempty"`
}
UpdateWhatsAppBusinessProfileJSONBody defines parameters for UpdateWhatsAppBusinessProfile.
type UpdateWhatsAppBusinessProfileJSONRequestBody ¶
type UpdateWhatsAppBusinessProfileJSONRequestBody UpdateWhatsAppBusinessProfileJSONBody
UpdateWhatsAppBusinessProfileJSONRequestBody defines body for UpdateWhatsAppBusinessProfile for application/json ContentType.
type UpdateWhatsAppBusinessProfileResponse ¶
type UpdateWhatsAppBusinessProfileResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateWhatsAppBusinessProfileResponse ¶
func ParseUpdateWhatsAppBusinessProfileResponse(rsp *http.Response) (*UpdateWhatsAppBusinessProfileResponse, error)
ParseUpdateWhatsAppBusinessProfileResponse parses an HTTP response from a UpdateWhatsAppBusinessProfileWithResponse call
func (UpdateWhatsAppBusinessProfileResponse) Status ¶
func (r UpdateWhatsAppBusinessProfileResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWhatsAppBusinessProfileResponse) StatusCode ¶
func (r UpdateWhatsAppBusinessProfileResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWhatsAppDisplayName200DisplayNameStatus ¶
type UpdateWhatsAppDisplayName200DisplayNameStatus string
type UpdateWhatsAppDisplayNameJSONBody ¶
type UpdateWhatsAppDisplayNameJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// DisplayName New display name (must follow WhatsApp naming guidelines)
DisplayName string `json:"displayName"`
}
UpdateWhatsAppDisplayNameJSONBody defines parameters for UpdateWhatsAppDisplayName.
type UpdateWhatsAppDisplayNameJSONRequestBody ¶
type UpdateWhatsAppDisplayNameJSONRequestBody UpdateWhatsAppDisplayNameJSONBody
UpdateWhatsAppDisplayNameJSONRequestBody defines body for UpdateWhatsAppDisplayName for application/json ContentType.
type UpdateWhatsAppDisplayNameResponse ¶
type UpdateWhatsAppDisplayNameResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
DisplayName *struct {
Name *string `json:"name,omitempty"`
Status *UpdateWhatsAppDisplayName200DisplayNameStatus `json:"status,omitempty"`
} `json:"displayName,omitempty"`
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateWhatsAppDisplayNameResponse ¶
func ParseUpdateWhatsAppDisplayNameResponse(rsp *http.Response) (*UpdateWhatsAppDisplayNameResponse, error)
ParseUpdateWhatsAppDisplayNameResponse parses an HTTP response from a UpdateWhatsAppDisplayNameWithResponse call
func (UpdateWhatsAppDisplayNameResponse) Status ¶
func (r UpdateWhatsAppDisplayNameResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWhatsAppDisplayNameResponse) StatusCode ¶
func (r UpdateWhatsAppDisplayNameResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWhatsAppFlowJSONBody ¶ added in v0.0.117
type UpdateWhatsAppFlowJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
Categories *[]UpdateWhatsAppFlowJSONBodyCategories `json:"categories,omitempty"`
// Name New flow name
Name *string `json:"name,omitempty"`
}
UpdateWhatsAppFlowJSONBody defines parameters for UpdateWhatsAppFlow.
type UpdateWhatsAppFlowJSONBodyCategories ¶ added in v0.0.117
type UpdateWhatsAppFlowJSONBodyCategories string
UpdateWhatsAppFlowJSONBodyCategories defines parameters for UpdateWhatsAppFlow.
const ( APPOINTMENTBOOKING UpdateWhatsAppFlowJSONBodyCategories = "APPOINTMENT_BOOKING" CONTACTUS UpdateWhatsAppFlowJSONBodyCategories = "CONTACT_US" CUSTOMERSUPPORT UpdateWhatsAppFlowJSONBodyCategories = "CUSTOMER_SUPPORT" LEADGENERATION UpdateWhatsAppFlowJSONBodyCategories = "LEAD_GENERATION" OTHER UpdateWhatsAppFlowJSONBodyCategories = "OTHER" SIGNIN UpdateWhatsAppFlowJSONBodyCategories = "SIGN_IN" SIGNUP UpdateWhatsAppFlowJSONBodyCategories = "SIGN_UP" SURVEY UpdateWhatsAppFlowJSONBodyCategories = "SURVEY" )
Defines values for UpdateWhatsAppFlowJSONBodyCategories.
func (UpdateWhatsAppFlowJSONBodyCategories) Valid ¶ added in v0.0.117
func (e UpdateWhatsAppFlowJSONBodyCategories) Valid() bool
Valid indicates whether the value is a known member of the UpdateWhatsAppFlowJSONBodyCategories enum.
type UpdateWhatsAppFlowJSONRequestBody ¶ added in v0.0.117
type UpdateWhatsAppFlowJSONRequestBody UpdateWhatsAppFlowJSONBody
UpdateWhatsAppFlowJSONRequestBody defines body for UpdateWhatsAppFlow for application/json ContentType.
type UpdateWhatsAppFlowResponse ¶ added in v0.0.117
type UpdateWhatsAppFlowResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateWhatsAppFlowResponse ¶ added in v0.0.117
func ParseUpdateWhatsAppFlowResponse(rsp *http.Response) (*UpdateWhatsAppFlowResponse, error)
ParseUpdateWhatsAppFlowResponse parses an HTTP response from a UpdateWhatsAppFlowWithResponse call
func (UpdateWhatsAppFlowResponse) Status ¶ added in v0.0.117
func (r UpdateWhatsAppFlowResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWhatsAppFlowResponse) StatusCode ¶ added in v0.0.117
func (r UpdateWhatsAppFlowResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWhatsAppGroupChatJSONBody ¶ added in v0.0.92
type UpdateWhatsAppGroupChatJSONBody struct {
Description *string `json:"description,omitempty"`
JoinApprovalMode *UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode `json:"joinApprovalMode,omitempty"`
Subject *string `json:"subject,omitempty"`
}
UpdateWhatsAppGroupChatJSONBody defines parameters for UpdateWhatsAppGroupChat.
type UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode ¶ added in v0.0.92
type UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode string
UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode defines parameters for UpdateWhatsAppGroupChat.
const ( UpdateWhatsAppGroupChatJSONBodyJoinApprovalModeApprovalRequired UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode = "approval_required" UpdateWhatsAppGroupChatJSONBodyJoinApprovalModeAutoApprove UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode = "auto_approve" )
Defines values for UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode.
func (UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode) Valid ¶ added in v0.0.92
func (e UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode) Valid() bool
Valid indicates whether the value is a known member of the UpdateWhatsAppGroupChatJSONBodyJoinApprovalMode enum.
type UpdateWhatsAppGroupChatJSONRequestBody ¶ added in v0.0.92
type UpdateWhatsAppGroupChatJSONRequestBody UpdateWhatsAppGroupChatJSONBody
UpdateWhatsAppGroupChatJSONRequestBody defines body for UpdateWhatsAppGroupChat for application/json ContentType.
type UpdateWhatsAppGroupChatParams ¶ added in v0.0.92
type UpdateWhatsAppGroupChatParams struct {
// AccountId WhatsApp social account ID
AccountId string `form:"accountId" json:"accountId"`
}
UpdateWhatsAppGroupChatParams defines parameters for UpdateWhatsAppGroupChat.
type UpdateWhatsAppGroupChatResponse ¶ added in v0.0.92
type UpdateWhatsAppGroupChatResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateWhatsAppGroupChatResponse ¶ added in v0.0.92
func ParseUpdateWhatsAppGroupChatResponse(rsp *http.Response) (*UpdateWhatsAppGroupChatResponse, error)
ParseUpdateWhatsAppGroupChatResponse parses an HTTP response from a UpdateWhatsAppGroupChatWithResponse call
func (UpdateWhatsAppGroupChatResponse) Status ¶ added in v0.0.92
func (r UpdateWhatsAppGroupChatResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWhatsAppGroupChatResponse) StatusCode ¶ added in v0.0.92
func (r UpdateWhatsAppGroupChatResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWhatsAppTemplateJSONBody ¶
type UpdateWhatsAppTemplateJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// Components Updated template components
Components []WhatsAppTemplateComponent `json:"components"`
}
UpdateWhatsAppTemplateJSONBody defines parameters for UpdateWhatsAppTemplate.
type UpdateWhatsAppTemplateJSONRequestBody ¶
type UpdateWhatsAppTemplateJSONRequestBody UpdateWhatsAppTemplateJSONBody
UpdateWhatsAppTemplateJSONRequestBody defines body for UpdateWhatsAppTemplate for application/json ContentType.
type UpdateWhatsAppTemplateResponse ¶
type UpdateWhatsAppTemplateResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
Template *struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Status *string `json:"status,omitempty"`
} `json:"template,omitempty"`
}
JSON401 *Unauthorized
JSON404 *NotFound
}
func ParseUpdateWhatsAppTemplateResponse ¶
func ParseUpdateWhatsAppTemplateResponse(rsp *http.Response) (*UpdateWhatsAppTemplateResponse, error)
ParseUpdateWhatsAppTemplateResponse parses an HTTP response from a UpdateWhatsAppTemplateWithResponse call
func (UpdateWhatsAppTemplateResponse) Status ¶
func (r UpdateWhatsAppTemplateResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateWhatsAppTemplateResponse) StatusCode ¶
func (r UpdateWhatsAppTemplateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateYoutubeDefaultPlaylistJSONBody ¶ added in v0.0.99
type UpdateYoutubeDefaultPlaylistJSONBody struct {
DefaultPlaylistId string `json:"defaultPlaylistId"`
DefaultPlaylistName *string `json:"defaultPlaylistName,omitempty"`
}
UpdateYoutubeDefaultPlaylistJSONBody defines parameters for UpdateYoutubeDefaultPlaylist.
type UpdateYoutubeDefaultPlaylistJSONRequestBody ¶ added in v0.0.99
type UpdateYoutubeDefaultPlaylistJSONRequestBody UpdateYoutubeDefaultPlaylistJSONBody
UpdateYoutubeDefaultPlaylistJSONRequestBody defines body for UpdateYoutubeDefaultPlaylist for application/json ContentType.
type UpdateYoutubeDefaultPlaylistResponse ¶ added in v0.0.99
type UpdateYoutubeDefaultPlaylistResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUpdateYoutubeDefaultPlaylistResponse ¶ added in v0.0.99
func ParseUpdateYoutubeDefaultPlaylistResponse(rsp *http.Response) (*UpdateYoutubeDefaultPlaylistResponse, error)
ParseUpdateYoutubeDefaultPlaylistResponse parses an HTTP response from a UpdateYoutubeDefaultPlaylistWithResponse call
func (UpdateYoutubeDefaultPlaylistResponse) Status ¶ added in v0.0.99
func (r UpdateYoutubeDefaultPlaylistResponse) Status() string
Status returns HTTPResponse.Status
func (UpdateYoutubeDefaultPlaylistResponse) StatusCode ¶ added in v0.0.99
func (r UpdateYoutubeDefaultPlaylistResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadMediaDirectMultipartBody ¶ added in v0.0.96
type UploadMediaDirectMultipartBody struct {
// ContentType Override MIME type (e.g. "image/jpeg"). Auto-detected from file if not provided.
ContentType *string `json:"contentType,omitempty"`
// File The file to upload (max 25MB)
File openapi_types.File `json:"file"`
}
UploadMediaDirectMultipartBody defines parameters for UploadMediaDirect.
type UploadMediaDirectMultipartRequestBody ¶ added in v0.0.96
type UploadMediaDirectMultipartRequestBody UploadMediaDirectMultipartBody
UploadMediaDirectMultipartRequestBody defines body for UploadMediaDirect for multipart/form-data ContentType.
type UploadMediaDirectResponse ¶ added in v0.0.96
type UploadMediaDirectResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// ContentType MIME type of the file
ContentType *string `json:"contentType,omitempty"`
// Filename Generated unique filename
Filename *string `json:"filename,omitempty"`
// Size File size in bytes
Size *int `json:"size,omitempty"`
// Url Publicly accessible URL for the uploaded file
Url *string `json:"url,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUploadMediaDirectResponse ¶ added in v0.0.96
func ParseUploadMediaDirectResponse(rsp *http.Response) (*UploadMediaDirectResponse, error)
ParseUploadMediaDirectResponse parses an HTTP response from a UploadMediaDirectWithResponse call
func (UploadMediaDirectResponse) Status ¶ added in v0.0.96
func (r UploadMediaDirectResponse) Status() string
Status returns HTTPResponse.Status
func (UploadMediaDirectResponse) StatusCode ¶ added in v0.0.96
func (r UploadMediaDirectResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadWhatsAppFlowJsonJSONBody ¶ added in v0.0.117
type UploadWhatsAppFlowJsonJSONBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// FlowJson The Flow JSON content. Pass as a JSON object or a JSON string.
FlowJson UploadWhatsAppFlowJsonJSONBody_FlowJson `json:"flow_json"`
}
UploadWhatsAppFlowJsonJSONBody defines parameters for UploadWhatsAppFlowJson.
type UploadWhatsAppFlowJsonJSONBodyFlowJson0 ¶ added in v0.0.117
type UploadWhatsAppFlowJsonJSONBodyFlowJson0 = map[string]interface{}
UploadWhatsAppFlowJsonJSONBodyFlowJson0 defines parameters for UploadWhatsAppFlowJson.
type UploadWhatsAppFlowJsonJSONBodyFlowJson1 ¶ added in v0.0.117
type UploadWhatsAppFlowJsonJSONBodyFlowJson1 = string
UploadWhatsAppFlowJsonJSONBodyFlowJson1 defines parameters for UploadWhatsAppFlowJson.
type UploadWhatsAppFlowJsonJSONBody_FlowJson ¶ added in v0.0.117
type UploadWhatsAppFlowJsonJSONBody_FlowJson struct {
// contains filtered or unexported fields
}
UploadWhatsAppFlowJsonJSONBody_FlowJson defines parameters for UploadWhatsAppFlowJson.
type UploadWhatsAppFlowJsonJSONRequestBody ¶ added in v0.0.117
type UploadWhatsAppFlowJsonJSONRequestBody UploadWhatsAppFlowJsonJSONBody
UploadWhatsAppFlowJsonJSONRequestBody defines body for UploadWhatsAppFlowJson for application/json ContentType.
type UploadWhatsAppFlowJsonResponse ¶ added in v0.0.117
type UploadWhatsAppFlowJsonResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Success *bool `json:"success,omitempty"`
// ValidationErrors Empty array if valid; otherwise, contains validation error details from Meta
ValidationErrors *[]struct {
ColumnEnd *int `json:"column_end,omitempty"`
ColumnStart *int `json:"column_start,omitempty"`
Error *string `json:"error,omitempty"`
ErrorType *string `json:"error_type,omitempty"`
LineEnd *int `json:"line_end,omitempty"`
LineStart *int `json:"line_start,omitempty"`
Message *string `json:"message,omitempty"`
} `json:"validation_errors,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUploadWhatsAppFlowJsonResponse ¶ added in v0.0.117
func ParseUploadWhatsAppFlowJsonResponse(rsp *http.Response) (*UploadWhatsAppFlowJsonResponse, error)
ParseUploadWhatsAppFlowJsonResponse parses an HTTP response from a UploadWhatsAppFlowJsonWithResponse call
func (UploadWhatsAppFlowJsonResponse) Status ¶ added in v0.0.117
func (r UploadWhatsAppFlowJsonResponse) Status() string
Status returns HTTPResponse.Status
func (UploadWhatsAppFlowJsonResponse) StatusCode ¶ added in v0.0.117
func (r UploadWhatsAppFlowJsonResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadWhatsAppProfilePhotoMultipartBody ¶
type UploadWhatsAppProfilePhotoMultipartBody struct {
// AccountId WhatsApp social account ID
AccountId string `json:"accountId"`
// File Image file (JPEG or PNG, max 5MB, recommended 640x640)
File openapi_types.File `json:"file"`
}
UploadWhatsAppProfilePhotoMultipartBody defines parameters for UploadWhatsAppProfilePhoto.
type UploadWhatsAppProfilePhotoMultipartRequestBody ¶
type UploadWhatsAppProfilePhotoMultipartRequestBody UploadWhatsAppProfilePhotoMultipartBody
UploadWhatsAppProfilePhotoMultipartRequestBody defines body for UploadWhatsAppProfilePhoto for multipart/form-data ContentType.
type UploadWhatsAppProfilePhotoResponse ¶
type UploadWhatsAppProfilePhotoResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Message *string `json:"message,omitempty"`
Success *bool `json:"success,omitempty"`
}
JSON401 *Unauthorized
}
func ParseUploadWhatsAppProfilePhotoResponse ¶
func ParseUploadWhatsAppProfilePhotoResponse(rsp *http.Response) (*UploadWhatsAppProfilePhotoResponse, error)
ParseUploadWhatsAppProfilePhotoResponse parses an HTTP response from a UploadWhatsAppProfilePhotoWithResponse call
func (UploadWhatsAppProfilePhotoResponse) Status ¶
func (r UploadWhatsAppProfilePhotoResponse) Status() string
Status returns HTTPResponse.Status
func (UploadWhatsAppProfilePhotoResponse) StatusCode ¶
func (r UploadWhatsAppProfilePhotoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UsageStats ¶
type UsageStats struct {
// BillingAnchorDay Day of month (1-31) when the billing cycle resets
BillingAnchorDay *int `json:"billingAnchorDay,omitempty"`
BillingPeriod *UsageStatsBillingPeriod `json:"billingPeriod,omitempty"`
Limits *struct {
Profiles *int `json:"profiles,omitempty"`
Uploads *int `json:"uploads,omitempty"`
} `json:"limits,omitempty"`
PlanName *string `json:"planName,omitempty"`
SignupDate *time.Time `json:"signupDate,omitempty"`
Usage *struct {
LastReset *time.Time `json:"lastReset,omitempty"`
Profiles *int `json:"profiles,omitempty"`
Uploads *int `json:"uploads,omitempty"`
} `json:"usage,omitempty"`
}
UsageStats defines model for UsageStats.
type UsageStatsBillingPeriod ¶
type UsageStatsBillingPeriod string
UsageStatsBillingPeriod defines model for UsageStats.BillingPeriod.
const ( Monthly UsageStatsBillingPeriod = "monthly" Yearly UsageStatsBillingPeriod = "yearly" )
Defines values for UsageStatsBillingPeriod.
func (UsageStatsBillingPeriod) Valid ¶
func (e UsageStatsBillingPeriod) Valid() bool
Valid indicates whether the value is a known member of the UsageStatsBillingPeriod enum.
type User ¶
type User struct {
UnderscoreId *string `json:"_id,omitempty"`
CreatedAt *time.Time `json:"createdAt,omitempty"`
Email *string `json:"email,omitempty"`
Name *string `json:"name,omitempty"`
Role *string `json:"role,omitempty"`
}
User defines model for User.
type ValidateMedia200Type ¶
type ValidateMedia200Type string
type ValidateMediaJSONBody ¶
type ValidateMediaJSONBody struct {
// Url Public media URL to validate
Url string `json:"url"`
}
ValidateMediaJSONBody defines parameters for ValidateMedia.
type ValidateMediaJSONRequestBody ¶
type ValidateMediaJSONRequestBody ValidateMediaJSONBody
ValidateMediaJSONRequestBody defines body for ValidateMedia for application/json ContentType.
type ValidateMediaResponse ¶
type ValidateMediaResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
ContentType *string `json:"contentType,omitempty"`
// Error Error message if valid is false
Error *string `json:"error,omitempty"`
// PlatformLimits Per-platform size limit comparison (only present when size and type are known)
PlatformLimits *map[string]struct {
// Limit Platform size limit in bytes
Limit *int `json:"limit,omitempty"`
LimitFormatted *string `json:"limitFormatted,omitempty"`
WithinLimit *bool `json:"withinLimit,omitempty"`
} `json:"platformLimits,omitempty"`
// Size File size in bytes
Size *int `json:"size,omitempty"`
SizeFormatted *string `json:"sizeFormatted,omitempty"`
Type *ValidateMedia200Type `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
Valid *bool `json:"valid,omitempty"`
}
}
func ParseValidateMediaResponse ¶
func ParseValidateMediaResponse(rsp *http.Response) (*ValidateMediaResponse, error)
ParseValidateMediaResponse parses an HTTP response from a ValidateMediaWithResponse call
func (ValidateMediaResponse) Status ¶
func (r ValidateMediaResponse) Status() string
Status returns HTTPResponse.Status
func (ValidateMediaResponse) StatusCode ¶
func (r ValidateMediaResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidatePost2000 ¶
type ValidatePost2001 ¶
type ValidatePost2001 struct {
Errors *[]struct {
Error *string `json:"error,omitempty"`
Platform *string `json:"platform,omitempty"`
} `json:"errors,omitempty"`
Valid *bool `json:"valid,omitempty"`
Warnings *[]struct {
Platform *string `json:"platform,omitempty"`
Warning *string `json:"warning,omitempty"`
} `json:"warnings,omitempty"`
}
type ValidatePostJSONBody ¶
type ValidatePostJSONBody struct {
// Content Post text content
Content *string `json:"content,omitempty"`
// MediaItems Root media items shared across platforms
MediaItems *[]struct {
Type *ValidatePostJSONBodyMediaItemsType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"mediaItems,omitempty"`
// Platforms Target platforms (same format as POST /v1/posts)
Platforms []struct {
CustomContent *string `json:"customContent,omitempty"`
CustomMedia *[]struct {
Type *ValidatePostJSONBodyPlatformsCustomMediaType `json:"type,omitempty"`
Url *string `json:"url,omitempty"`
} `json:"customMedia,omitempty"`
Platform ValidatePostJSONBodyPlatformsPlatform `json:"platform"`
PlatformSpecificData *map[string]interface{} `json:"platformSpecificData,omitempty"`
} `json:"platforms"`
}
ValidatePostJSONBody defines parameters for ValidatePost.
type ValidatePostJSONBodyMediaItemsType ¶
type ValidatePostJSONBodyMediaItemsType string
ValidatePostJSONBodyMediaItemsType defines parameters for ValidatePost.
const ( ValidatePostJSONBodyMediaItemsTypeImage ValidatePostJSONBodyMediaItemsType = "image" ValidatePostJSONBodyMediaItemsTypeVideo ValidatePostJSONBodyMediaItemsType = "video" )
Defines values for ValidatePostJSONBodyMediaItemsType.
func (ValidatePostJSONBodyMediaItemsType) Valid ¶
func (e ValidatePostJSONBodyMediaItemsType) Valid() bool
Valid indicates whether the value is a known member of the ValidatePostJSONBodyMediaItemsType enum.
type ValidatePostJSONBodyPlatformsCustomMediaType ¶
type ValidatePostJSONBodyPlatformsCustomMediaType string
ValidatePostJSONBodyPlatformsCustomMediaType defines parameters for ValidatePost.
const ( ValidatePostJSONBodyPlatformsCustomMediaTypeImage ValidatePostJSONBodyPlatformsCustomMediaType = "image" ValidatePostJSONBodyPlatformsCustomMediaTypeVideo ValidatePostJSONBodyPlatformsCustomMediaType = "video" )
Defines values for ValidatePostJSONBodyPlatformsCustomMediaType.
func (ValidatePostJSONBodyPlatformsCustomMediaType) Valid ¶
func (e ValidatePostJSONBodyPlatformsCustomMediaType) Valid() bool
Valid indicates whether the value is a known member of the ValidatePostJSONBodyPlatformsCustomMediaType enum.
type ValidatePostJSONBodyPlatformsPlatform ¶
type ValidatePostJSONBodyPlatformsPlatform string
ValidatePostJSONBodyPlatformsPlatform defines parameters for ValidatePost.
const ( ValidatePostJSONBodyPlatformsPlatformBluesky ValidatePostJSONBodyPlatformsPlatform = "bluesky" ValidatePostJSONBodyPlatformsPlatformDiscord ValidatePostJSONBodyPlatformsPlatform = "discord" ValidatePostJSONBodyPlatformsPlatformFacebook ValidatePostJSONBodyPlatformsPlatform = "facebook" ValidatePostJSONBodyPlatformsPlatformGooglebusiness ValidatePostJSONBodyPlatformsPlatform = "googlebusiness" ValidatePostJSONBodyPlatformsPlatformInstagram ValidatePostJSONBodyPlatformsPlatform = "instagram" ValidatePostJSONBodyPlatformsPlatformLinkedin ValidatePostJSONBodyPlatformsPlatform = "linkedin" ValidatePostJSONBodyPlatformsPlatformPinterest ValidatePostJSONBodyPlatformsPlatform = "pinterest" ValidatePostJSONBodyPlatformsPlatformReddit ValidatePostJSONBodyPlatformsPlatform = "reddit" ValidatePostJSONBodyPlatformsPlatformSnapchat ValidatePostJSONBodyPlatformsPlatform = "snapchat" ValidatePostJSONBodyPlatformsPlatformTelegram ValidatePostJSONBodyPlatformsPlatform = "telegram" ValidatePostJSONBodyPlatformsPlatformThreads ValidatePostJSONBodyPlatformsPlatform = "threads" ValidatePostJSONBodyPlatformsPlatformTiktok ValidatePostJSONBodyPlatformsPlatform = "tiktok" ValidatePostJSONBodyPlatformsPlatformTwitter ValidatePostJSONBodyPlatformsPlatform = "twitter" ValidatePostJSONBodyPlatformsPlatformYoutube ValidatePostJSONBodyPlatformsPlatform = "youtube" )
Defines values for ValidatePostJSONBodyPlatformsPlatform.
func (ValidatePostJSONBodyPlatformsPlatform) Valid ¶
func (e ValidatePostJSONBodyPlatformsPlatform) Valid() bool
Valid indicates whether the value is a known member of the ValidatePostJSONBodyPlatformsPlatform enum.
type ValidatePostJSONRequestBody ¶
type ValidatePostJSONRequestBody ValidatePostJSONBody
ValidatePostJSONRequestBody defines body for ValidatePost for application/json ContentType.
type ValidatePostLengthJSONBody ¶
type ValidatePostLengthJSONBody struct {
// Text The post text to check
Text string `json:"text"`
}
ValidatePostLengthJSONBody defines parameters for ValidatePostLength.
type ValidatePostLengthJSONRequestBody ¶
type ValidatePostLengthJSONRequestBody ValidatePostLengthJSONBody
ValidatePostLengthJSONRequestBody defines body for ValidatePostLength for application/json ContentType.
type ValidatePostLengthResponse ¶
type ValidatePostLengthResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
Platforms *map[string]struct {
// Count Character count for this platform
Count *int `json:"count,omitempty"`
// Limit Maximum allowed characters
Limit *int `json:"limit,omitempty"`
// Valid Whether the text is within the limit
Valid *bool `json:"valid,omitempty"`
} `json:"platforms,omitempty"`
Text *string `json:"text,omitempty"`
}
}
func ParseValidatePostLengthResponse ¶
func ParseValidatePostLengthResponse(rsp *http.Response) (*ValidatePostLengthResponse, error)
ParseValidatePostLengthResponse parses an HTTP response from a ValidatePostLengthWithResponse call
func (ValidatePostLengthResponse) Status ¶
func (r ValidatePostLengthResponse) Status() string
Status returns HTTPResponse.Status
func (ValidatePostLengthResponse) StatusCode ¶
func (r ValidatePostLengthResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidatePostResponse ¶
type ValidatePostResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
}
func ParseValidatePostResponse ¶
func ParseValidatePostResponse(rsp *http.Response) (*ValidatePostResponse, error)
ParseValidatePostResponse parses an HTTP response from a ValidatePostWithResponse call
func (ValidatePostResponse) Status ¶
func (r ValidatePostResponse) Status() string
Status returns HTTPResponse.Status
func (ValidatePostResponse) StatusCode ¶
func (r ValidatePostResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ValidateSubreddit2000 ¶
type ValidateSubreddit2000 struct {
Exists *bool `json:"exists,omitempty"`
Subreddit *struct {
AllowImages *bool `json:"allowImages,omitempty"`
AllowVideos *bool `json:"allowVideos,omitempty"`
Description *string `json:"description,omitempty"`
IsNSFW *bool `json:"isNSFW,omitempty"`
Name *string `json:"name,omitempty"`
Subscribers *int `json:"subscribers,omitempty"`
Title *string `json:"title,omitempty"`
Type *ValidateSubreddit2000SubredditType `json:"type,omitempty"`
} `json:"subreddit,omitempty"`
}
type ValidateSubreddit2000SubredditType ¶
type ValidateSubreddit2000SubredditType string
type ValidateSubreddit2001 ¶
type ValidateSubredditParams ¶
type ValidateSubredditParams struct {
// Name Subreddit name (with or without "r/" prefix)
Name string `form:"name" json:"name"`
// AccountId Reddit social account ID for authenticated lookup (recommended for reliable results)
AccountId *string `form:"accountId,omitempty" json:"accountId,omitempty"`
}
ValidateSubredditParams defines parameters for ValidateSubreddit.
type ValidateSubredditResponse ¶
type ValidateSubredditResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *struct {
// contains filtered or unexported fields
}
}
func ParseValidateSubredditResponse ¶
func ParseValidateSubredditResponse(rsp *http.Response) (*ValidateSubredditResponse, error)
ParseValidateSubredditResponse parses an HTTP response from a ValidateSubredditWithResponse call
func (ValidateSubredditResponse) Status ¶
func (r ValidateSubredditResponse) Status() string
Status returns HTTPResponse.Status
func (ValidateSubredditResponse) StatusCode ¶
func (r ValidateSubredditResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Webhook ¶
type Webhook struct {
// UnderscoreId Unique webhook identifier
UnderscoreId *string `json:"_id,omitempty"`
// CustomHeaders Custom headers included in webhook requests
CustomHeaders *map[string]string `json:"customHeaders,omitempty"`
// Events Events subscribed to
Events *[]WebhookEvents `json:"events,omitempty"`
// FailureCount Consecutive delivery failures (resets on success, webhook disabled at 10)
FailureCount *int `json:"failureCount,omitempty"`
// IsActive Whether webhook delivery is enabled
IsActive *bool `json:"isActive,omitempty"`
// LastFiredAt Timestamp of last successful webhook delivery
LastFiredAt *time.Time `json:"lastFiredAt,omitempty"`
// Name Webhook name (for identification)
Name *string `json:"name,omitempty"`
// Secret Secret key for HMAC-SHA256 signature (not returned in responses for security)
Secret *string `json:"secret,omitempty"`
// Url Webhook endpoint URL
Url *string `json:"url,omitempty"`
}
Webhook Individual webhook configuration for receiving real-time notifications
type WebhookEvents ¶
type WebhookEvents string
WebhookEvents defines model for Webhook.Events.
const ( WebhookEventsAccountAdsInitialSyncCompleted WebhookEvents = "account.ads.initial_sync_completed" WebhookEventsAccountConnected WebhookEvents = "account.connected" WebhookEventsAccountDisconnected WebhookEvents = "account.disconnected" WebhookEventsCommentReceived WebhookEvents = "comment.received" WebhookEventsMessageDeleted WebhookEvents = "message.deleted" WebhookEventsMessageDelivered WebhookEvents = "message.delivered" WebhookEventsMessageEdited WebhookEvents = "message.edited" WebhookEventsMessageFailed WebhookEvents = "message.failed" WebhookEventsMessageRead WebhookEvents = "message.read" WebhookEventsMessageReceived WebhookEvents = "message.received" WebhookEventsMessageSent WebhookEvents = "message.sent" WebhookEventsPostCancelled WebhookEvents = "post.cancelled" WebhookEventsPostFailed WebhookEvents = "post.failed" WebhookEventsPostPartial WebhookEvents = "post.partial" WebhookEventsPostPublished WebhookEvents = "post.published" WebhookEventsPostRecycled WebhookEvents = "post.recycled" WebhookEventsPostScheduled WebhookEvents = "post.scheduled" WebhookEventsReviewNew WebhookEvents = "review.new" WebhookEventsReviewUpdated WebhookEvents = "review.updated" )
Defines values for WebhookEvents.
func (WebhookEvents) Valid ¶
func (e WebhookEvents) Valid() bool
Valid indicates whether the value is a known member of the WebhookEvents enum.
type WhatsAppBodyComponent ¶ added in v0.0.100
type WhatsAppBodyComponent struct {
// AddSecurityRecommendation Add security recommendation text (authentication templates only)
AddSecurityRecommendation *bool `json:"add_security_recommendation,omitempty"`
Example *struct {
// BodyText Sample values for body variables (array of arrays)
BodyText *[][]string `json:"body_text,omitempty"`
} `json:"example,omitempty"`
// Text Body text with optional {{n}} variables
Text string `json:"text"`
Type WhatsAppBodyComponentType `json:"type"`
}
WhatsAppBodyComponent defines model for WhatsAppBodyComponent.
type WhatsAppBodyComponentType ¶ added in v0.0.100
type WhatsAppBodyComponentType string
WhatsAppBodyComponentType defines model for WhatsAppBodyComponent.Type.
const (
Body WhatsAppBodyComponentType = "body"
)
Defines values for WhatsAppBodyComponentType.
func (WhatsAppBodyComponentType) Valid ¶ added in v0.0.100
func (e WhatsAppBodyComponentType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppBodyComponentType enum.
type WhatsAppButtonsComponent ¶ added in v0.0.100
type WhatsAppButtonsComponent struct {
Buttons []WhatsAppTemplateButton `json:"buttons"`
Type WhatsAppButtonsComponentType `json:"type"`
}
WhatsAppButtonsComponent defines model for WhatsAppButtonsComponent.
type WhatsAppButtonsComponentType ¶ added in v0.0.100
type WhatsAppButtonsComponentType string
WhatsAppButtonsComponentType defines model for WhatsAppButtonsComponent.Type.
const (
Buttons WhatsAppButtonsComponentType = "buttons"
)
Defines values for WhatsAppButtonsComponentType.
func (WhatsAppButtonsComponentType) Valid ¶ added in v0.0.100
func (e WhatsAppButtonsComponentType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppButtonsComponentType enum.
type WhatsAppFooterComponent ¶ added in v0.0.100
type WhatsAppFooterComponent struct {
CodeExpirationMinutes *int `json:"code_expiration_minutes,omitempty"`
// Text Static footer text
}
WhatsAppFooterComponent defines model for WhatsAppFooterComponent.
type WhatsAppFooterComponentType ¶ added in v0.0.100
type WhatsAppFooterComponentType string
WhatsAppFooterComponentType defines model for WhatsAppFooterComponent.Type.
const (
)
Defines values for WhatsAppFooterComponentType.
func (WhatsAppFooterComponentType) Valid ¶ added in v0.0.100
func (e WhatsAppFooterComponentType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppFooterComponentType enum.
type WhatsAppHeaderComponent ¶ added in v0.0.100
type WhatsAppHeaderComponent struct {
Example *struct {
// HeaderHandle When the header format is a media type (image, video, gif, document), provide a public URL here. Zernio will download and upload it to WhatsApp on your behalf, replacing it with the internal file handle before creating the template.
HeaderHandle *[]string `json:"header_handle,omitempty"`
// HeaderText Sample values for header text variables
HeaderText *[]string `json:"header_text,omitempty"`
} `json:"example,omitempty"`
Format WhatsAppHeaderComponentFormat `json:"format"`
// Text Header text (may include {{1}} variable). Used when format is TEXT.
Text *string `json:"text,omitempty"`
Type WhatsAppHeaderComponentType `json:"type"`
}
WhatsAppHeaderComponent defines model for WhatsAppHeaderComponent.
type WhatsAppHeaderComponentFormat ¶ added in v0.0.100
type WhatsAppHeaderComponentFormat string
WhatsAppHeaderComponentFormat defines model for WhatsAppHeaderComponent.Format.
const ( WhatsAppHeaderComponentFormatDocument WhatsAppHeaderComponentFormat = "document" WhatsAppHeaderComponentFormatGif WhatsAppHeaderComponentFormat = "gif" WhatsAppHeaderComponentFormatImage WhatsAppHeaderComponentFormat = "image" WhatsAppHeaderComponentFormatLocation WhatsAppHeaderComponentFormat = "location" WhatsAppHeaderComponentFormatText WhatsAppHeaderComponentFormat = "text" WhatsAppHeaderComponentFormatVideo WhatsAppHeaderComponentFormat = "video" )
Defines values for WhatsAppHeaderComponentFormat.
func (WhatsAppHeaderComponentFormat) Valid ¶ added in v0.0.100
func (e WhatsAppHeaderComponentFormat) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppHeaderComponentFormat enum.
type WhatsAppHeaderComponentType ¶ added in v0.0.100
type WhatsAppHeaderComponentType string
WhatsAppHeaderComponentType defines model for WhatsAppHeaderComponent.Type.
const (
Header WhatsAppHeaderComponentType = "header"
)
Defines values for WhatsAppHeaderComponentType.
func (WhatsAppHeaderComponentType) Valid ¶ added in v0.0.100
func (e WhatsAppHeaderComponentType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppHeaderComponentType enum.
type WhatsAppTemplateButton ¶ added in v0.0.100
type WhatsAppTemplateButton struct {
AutofillText *string `json:"autofill_text,omitempty"`
// Example Example values for URL suffix variables
Example *[]string `json:"example,omitempty"`
FlowAction *string `json:"flow_action,omitempty"`
FlowId *string `json:"flow_id,omitempty"`
FlowJson *string `json:"flow_json,omitempty"`
FlowName *string `json:"flow_name,omitempty"`
// OtpType Required when type is otp
OtpType *WhatsAppTemplateButtonOtpType `json:"otp_type,omitempty"`
PackageName *string `json:"package_name,omitempty"`
// PhoneNumber Required when type is phone_number
PhoneNumber *string `json:"phone_number,omitempty"`
SignatureHash *string `json:"signature_hash,omitempty"`
Text string `json:"text"`
Type WhatsAppTemplateButtonType `json:"type"`
// Url Required when type is URL
Url *string `json:"url,omitempty"`
}
WhatsAppTemplateButton defines model for WhatsAppTemplateButton.
type WhatsAppTemplateButtonOtpType ¶ added in v0.0.100
type WhatsAppTemplateButtonOtpType string
WhatsAppTemplateButtonOtpType Required when type is otp
const ( CopyCode WhatsAppTemplateButtonOtpType = "copy_code" OneTap WhatsAppTemplateButtonOtpType = "one_tap" ZeroTap WhatsAppTemplateButtonOtpType = "zero_tap" )
Defines values for WhatsAppTemplateButtonOtpType.
func (WhatsAppTemplateButtonOtpType) Valid ¶ added in v0.0.100
func (e WhatsAppTemplateButtonOtpType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppTemplateButtonOtpType enum.
type WhatsAppTemplateButtonType ¶ added in v0.0.100
type WhatsAppTemplateButtonType string
WhatsAppTemplateButtonType defines model for WhatsAppTemplateButton.Type.
const ( WhatsAppTemplateButtonTypeCatalog WhatsAppTemplateButtonType = "catalog" WhatsAppTemplateButtonTypeFlow WhatsAppTemplateButtonType = "flow" WhatsAppTemplateButtonTypeMpm WhatsAppTemplateButtonType = "mpm" WhatsAppTemplateButtonTypeOtp WhatsAppTemplateButtonType = "otp" WhatsAppTemplateButtonTypePhoneNumber WhatsAppTemplateButtonType = "phone_number" WhatsAppTemplateButtonTypeQuickReply WhatsAppTemplateButtonType = "quick_reply" WhatsAppTemplateButtonTypeUrl WhatsAppTemplateButtonType = "url" )
Defines values for WhatsAppTemplateButtonType.
func (WhatsAppTemplateButtonType) Valid ¶ added in v0.0.100
func (e WhatsAppTemplateButtonType) Valid() bool
Valid indicates whether the value is a known member of the WhatsAppTemplateButtonType enum.
type WhatsAppTemplateComponent ¶ added in v0.0.100
type WhatsAppTemplateComponent struct {
// contains filtered or unexported fields
}
WhatsAppTemplateComponent defines model for WhatsAppTemplateComponent.
func (WhatsAppTemplateComponent) AsWhatsAppBodyComponent ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) AsWhatsAppBodyComponent() (WhatsAppBodyComponent, error)
AsWhatsAppBodyComponent returns the union data inside the WhatsAppTemplateComponent as a WhatsAppBodyComponent
func (WhatsAppTemplateComponent) AsWhatsAppButtonsComponent ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) AsWhatsAppButtonsComponent() (WhatsAppButtonsComponent, error)
AsWhatsAppButtonsComponent returns the union data inside the WhatsAppTemplateComponent as a WhatsAppButtonsComponent
func (WhatsAppTemplateComponent) AsWhatsAppFooterComponent ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) AsWhatsAppFooterComponent() (WhatsAppFooterComponent, error)
AsWhatsAppFooterComponent returns the union data inside the WhatsAppTemplateComponent as a WhatsAppFooterComponent
func (WhatsAppTemplateComponent) AsWhatsAppHeaderComponent ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) AsWhatsAppHeaderComponent() (WhatsAppHeaderComponent, error)
AsWhatsAppHeaderComponent returns the union data inside the WhatsAppTemplateComponent as a WhatsAppHeaderComponent
func (WhatsAppTemplateComponent) Discriminator ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) Discriminator() (string, error)
func (*WhatsAppTemplateComponent) FromWhatsAppBodyComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) FromWhatsAppBodyComponent(v WhatsAppBodyComponent) error
FromWhatsAppBodyComponent overwrites any union data inside the WhatsAppTemplateComponent as the provided WhatsAppBodyComponent
func (*WhatsAppTemplateComponent) FromWhatsAppButtonsComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) FromWhatsAppButtonsComponent(v WhatsAppButtonsComponent) error
FromWhatsAppButtonsComponent overwrites any union data inside the WhatsAppTemplateComponent as the provided WhatsAppButtonsComponent
func (*WhatsAppTemplateComponent) FromWhatsAppFooterComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) FromWhatsAppFooterComponent(v WhatsAppFooterComponent) error
FromWhatsAppFooterComponent overwrites any union data inside the WhatsAppTemplateComponent as the provided WhatsAppFooterComponent
func (*WhatsAppTemplateComponent) FromWhatsAppHeaderComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) FromWhatsAppHeaderComponent(v WhatsAppHeaderComponent) error
FromWhatsAppHeaderComponent overwrites any union data inside the WhatsAppTemplateComponent as the provided WhatsAppHeaderComponent
func (WhatsAppTemplateComponent) MarshalJSON ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) MarshalJSON() ([]byte, error)
func (*WhatsAppTemplateComponent) MergeWhatsAppBodyComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) MergeWhatsAppBodyComponent(v WhatsAppBodyComponent) error
MergeWhatsAppBodyComponent performs a merge with any union data inside the WhatsAppTemplateComponent, using the provided WhatsAppBodyComponent
func (*WhatsAppTemplateComponent) MergeWhatsAppButtonsComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) MergeWhatsAppButtonsComponent(v WhatsAppButtonsComponent) error
MergeWhatsAppButtonsComponent performs a merge with any union data inside the WhatsAppTemplateComponent, using the provided WhatsAppButtonsComponent
func (*WhatsAppTemplateComponent) MergeWhatsAppFooterComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) MergeWhatsAppFooterComponent(v WhatsAppFooterComponent) error
MergeWhatsAppFooterComponent performs a merge with any union data inside the WhatsAppTemplateComponent, using the provided WhatsAppFooterComponent
func (*WhatsAppTemplateComponent) MergeWhatsAppHeaderComponent ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) MergeWhatsAppHeaderComponent(v WhatsAppHeaderComponent) error
MergeWhatsAppHeaderComponent performs a merge with any union data inside the WhatsAppTemplateComponent, using the provided WhatsAppHeaderComponent
func (*WhatsAppTemplateComponent) UnmarshalJSON ¶ added in v0.0.100
func (t *WhatsAppTemplateComponent) UnmarshalJSON(b []byte) error
func (WhatsAppTemplateComponent) ValueByDiscriminator ¶ added in v0.0.100
func (t WhatsAppTemplateComponent) ValueByDiscriminator() (interface{}, error)
type YouTubeDailyViewsResponse ¶
type YouTubeDailyViewsResponse struct {
DailyViews *[]struct {
// AverageViewDuration Average view duration in seconds
AverageViewDuration *float32 `json:"averageViewDuration,omitempty"`
Comments *int `json:"comments,omitempty"`
Date *openapi_types.Date `json:"date,omitempty"`
EstimatedMinutesWatched *float32 `json:"estimatedMinutesWatched,omitempty"`
Likes *int `json:"likes,omitempty"`
Shares *int `json:"shares,omitempty"`
SubscribersGained *int `json:"subscribersGained,omitempty"`
SubscribersLost *int `json:"subscribersLost,omitempty"`
Views *int `json:"views,omitempty"`
} `json:"dailyViews,omitempty"`
DateRange *struct {
EndDate *openapi_types.Date `json:"endDate,omitempty"`
StartDate *openapi_types.Date `json:"startDate,omitempty"`
} `json:"dateRange,omitempty"`
// LastSyncedAt When the data was last synced from YouTube
LastSyncedAt *time.Time `json:"lastSyncedAt,omitempty"`
ScopeStatus *struct {
HasAnalyticsScope *bool `json:"hasAnalyticsScope,omitempty"`
} `json:"scopeStatus,omitempty"`
Success *bool `json:"success,omitempty"`
// TotalViews Sum of views across all days in the range
TotalViews *int `json:"totalViews,omitempty"`
// VideoId The YouTube video ID
VideoId *string `json:"videoId,omitempty"`
}
YouTubeDailyViewsResponse defines model for YouTubeDailyViewsResponse.
type YouTubeDemographicsResponse ¶ added in v0.0.117
type YouTubeDemographicsResponse struct {
// AccountId The Zernio SocialAccount ID
AccountId *string `json:"accountId,omitempty"`
DateRange *struct {
EndDate *string `json:"endDate,omitempty"`
StartDate *string `json:"startDate,omitempty"`
} `json:"dateRange,omitempty"`
// Demographics Object keyed by breakdown dimension (age, gender, country)
Demographics *map[string][]struct {
// Dimension The dimension value (e.g., "25-34", "US", "male")
Dimension *string `json:"dimension,omitempty"`
// Value Viewer percentage (age/gender) or view count (country)
Value *float32 `json:"value,omitempty"`
} `json:"demographics,omitempty"`
Note *string `json:"note,omitempty"`
Platform *string `json:"platform,omitempty"`
Success *bool `json:"success,omitempty"`
}
YouTubeDemographicsResponse defines model for YouTubeDemographicsResponse.
type YouTubePlatformData ¶
type YouTubePlatformData struct {
// CategoryId YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech).
CategoryId *string `json:"categoryId,omitempty"`
// ContainsSyntheticMedia AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
ContainsSyntheticMedia *bool `json:"containsSyntheticMedia,omitempty"`
// FirstComment Optional first comment to post immediately after video upload. Up to 10,000 characters (YouTube's comment limit).
FirstComment *string `json:"firstComment,omitempty"`
// MadeForKids COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting). Defaults to false. YouTube may block views if not explicitly set.
MadeForKids *bool `json:"madeForKids,omitempty"`
// PlaylistId Optional YouTube playlist ID to add the video to after upload (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Works for both immediate and scheduled uploads. Quota cost: 50 YouTube API units per call.
PlaylistId *string `json:"playlistId,omitempty"`
// Title Video title. Defaults to first line of content or "Untitled Video". Must be ≤ 100 characters.
Title *string `json:"title,omitempty"`
// Visibility Video visibility: public (default, anyone can watch), unlisted (link only), private (invite only)
Visibility *YouTubePlatformDataVisibility `json:"visibility,omitempty"`
}
YouTubePlatformData Videos under 3 min auto-detected as Shorts. Custom thumbnails for regular videos only. Scheduled videos are uploaded immediately with the specified visibility.
type YouTubePlatformDataVisibility ¶
type YouTubePlatformDataVisibility string
YouTubePlatformDataVisibility Video visibility: public (default, anyone can watch), unlisted (link only), private (invite only)
const ( YouTubePlatformDataVisibilityPrivate YouTubePlatformDataVisibility = "private" YouTubePlatformDataVisibilityPublic YouTubePlatformDataVisibility = "public" YouTubePlatformDataVisibilityUnlisted YouTubePlatformDataVisibility = "unlisted" )
Defines values for YouTubePlatformDataVisibility.
func (YouTubePlatformDataVisibility) Valid ¶
func (e YouTubePlatformDataVisibility) Valid() bool
Valid indicates whether the value is a known member of the YouTubePlatformDataVisibility enum.
type YouTubeScopeMissingResponse ¶
type YouTubeScopeMissingResponse struct {
Code *string `json:"code,omitempty"`
Error *string `json:"error,omitempty"`
ScopeStatus *struct {
HasAnalyticsScope *bool `json:"hasAnalyticsScope,omitempty"`
// ReauthorizeUrl URL to redirect user for reauthorization
ReauthorizeUrl *string `json:"reauthorizeUrl,omitempty"`
RequiresReauthorization *bool `json:"requiresReauthorization,omitempty"`
} `json:"scopeStatus,omitempty"`
Success *bool `json:"success,omitempty"`
}
YouTubeScopeMissingResponse defines model for YouTubeScopeMissingResponse.