late

package
v0.0.43 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Overview

Package late 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

View Source
const (
	BearerAuthScopes   = "bearerAuth.Scopes"
	ConnectTokenScopes = "connectToken.Scopes"
)

Variables

This section is empty.

Functions

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 NewCheckInstagramHashtagsRequest

func NewCheckInstagramHashtagsRequest(server string, body CheckInstagramHashtagsJSONRequestBody) (*http.Request, error)

NewCheckInstagramHashtagsRequest calls the generic CheckInstagramHashtags builder with application/json body

func NewCheckInstagramHashtagsRequestWithBody

func NewCheckInstagramHashtagsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewCheckInstagramHashtagsRequestWithBody generates requests for CheckInstagramHashtags with any type of body

func NewCompleteTelegramConnectRequest

func NewCompleteTelegramConnectRequest(server string, params *CompleteTelegramConnectParams) (*http.Request, error)

NewCompleteTelegramConnectRequest generates requests for CompleteTelegramConnect

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 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 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 NewCreateGoogleBusinessMediaRequest added in v0.0.5

func NewCreateGoogleBusinessMediaRequest(server string, accountId string, body CreateGoogleBusinessMediaJSONRequestBody) (*http.Request, error)

NewCreateGoogleBusinessMediaRequest calls the generic CreateGoogleBusinessMedia builder with application/json body

func NewCreateGoogleBusinessMediaRequestWithBody added in v0.0.5

func NewCreateGoogleBusinessMediaRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGoogleBusinessMediaRequestWithBody generates requests for CreateGoogleBusinessMedia with any type of body

func NewCreateGoogleBusinessPlaceActionRequest added in v0.0.5

func NewCreateGoogleBusinessPlaceActionRequest(server string, accountId string, body CreateGoogleBusinessPlaceActionJSONRequestBody) (*http.Request, error)

NewCreateGoogleBusinessPlaceActionRequest calls the generic CreateGoogleBusinessPlaceAction builder with application/json body

func NewCreateGoogleBusinessPlaceActionRequestWithBody added in v0.0.5

func NewCreateGoogleBusinessPlaceActionRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewCreateGoogleBusinessPlaceActionRequestWithBody generates requests for CreateGoogleBusinessPlaceAction 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 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 NewDeleteAccountGroupRequest

func NewDeleteAccountGroupRequest(server string, groupId string) (*http.Request, error)

NewDeleteAccountGroupRequest generates requests for DeleteAccountGroup

func NewDeleteAccountRequest

func NewDeleteAccountRequest(server string, accountId string) (*http.Request, error)

NewDeleteAccountRequest generates requests for DeleteAccount

func NewDeleteApiKeyRequest

func NewDeleteApiKeyRequest(server string, keyId string) (*http.Request, error)

NewDeleteApiKeyRequest generates requests for DeleteApiKey

func NewDeleteGoogleBusinessMediaRequest added in v0.0.5

func NewDeleteGoogleBusinessMediaRequest(server string, accountId string, params *DeleteGoogleBusinessMediaParams) (*http.Request, error)

NewDeleteGoogleBusinessMediaRequest generates requests for DeleteGoogleBusinessMedia

func NewDeleteGoogleBusinessPlaceActionRequest added in v0.0.5

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 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 added in v0.0.10

func NewDeleteInstagramIceBreakersRequest(server string, accountId string) (*http.Request, error)

NewDeleteInstagramIceBreakersRequest generates requests for DeleteInstagramIceBreakers

func NewDeleteMessengerMenuRequest added in v0.0.10

func NewDeleteMessengerMenuRequest(server string, accountId string) (*http.Request, error)

NewDeleteMessengerMenuRequest generates requests for DeleteMessengerMenu

func NewDeletePostRequest

func NewDeletePostRequest(server string, postId string) (*http.Request, error)

NewDeletePostRequest generates requests for DeletePost

func NewDeleteProfileRequest

func NewDeleteProfileRequest(server string, profileId string) (*http.Request, error)

NewDeleteProfileRequest generates requests for DeleteProfile

func NewDeleteQueueSlotRequest

func NewDeleteQueueSlotRequest(server string, params *DeleteQueueSlotParams) (*http.Request, error)

NewDeleteQueueSlotRequest generates requests for DeleteQueueSlot

func NewDeleteTelegramCommandsRequest added in v0.0.10

func NewDeleteTelegramCommandsRequest(server string, accountId string) (*http.Request, error)

NewDeleteTelegramCommandsRequest generates requests for DeleteTelegramCommands

func NewDeleteWebhookSettingsRequest

func NewDeleteWebhookSettingsRequest(server string, params *DeleteWebhookSettingsParams) (*http.Request, error)

NewDeleteWebhookSettingsRequest generates requests for DeleteWebhookSettings

func NewDownloadBlueskyMediaRequest

func NewDownloadBlueskyMediaRequest(server string, params *DownloadBlueskyMediaParams) (*http.Request, error)

NewDownloadBlueskyMediaRequest generates requests for DownloadBlueskyMedia

func NewDownloadFacebookVideoRequest

func NewDownloadFacebookVideoRequest(server string, params *DownloadFacebookVideoParams) (*http.Request, error)

NewDownloadFacebookVideoRequest generates requests for DownloadFacebookVideo

func NewDownloadInstagramMediaRequest

func NewDownloadInstagramMediaRequest(server string, params *DownloadInstagramMediaParams) (*http.Request, error)

NewDownloadInstagramMediaRequest generates requests for DownloadInstagramMedia

func NewDownloadLinkedInVideoRequest

func NewDownloadLinkedInVideoRequest(server string, params *DownloadLinkedInVideoParams) (*http.Request, error)

NewDownloadLinkedInVideoRequest generates requests for DownloadLinkedInVideo

func NewDownloadTikTokVideoRequest

func NewDownloadTikTokVideoRequest(server string, params *DownloadTikTokVideoParams) (*http.Request, error)

NewDownloadTikTokVideoRequest generates requests for DownloadTikTokVideo

func NewDownloadTwitterMediaRequest

func NewDownloadTwitterMediaRequest(server string, params *DownloadTwitterMediaParams) (*http.Request, error)

NewDownloadTwitterMediaRequest generates requests for DownloadTwitterMedia

func NewDownloadYouTubeVideoRequest

func NewDownloadYouTubeVideoRequest(server string, params *DownloadYouTubeVideoParams) (*http.Request, error)

NewDownloadYouTubeVideoRequest generates requests for DownloadYouTubeVideo

func NewEditInboxMessageRequest added in v0.0.10

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 added in v0.0.10

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 NewGetAccountHealthRequest

func NewGetAccountHealthRequest(server string, accountId string) (*http.Request, error)

NewGetAccountHealthRequest generates requests for GetAccountHealth

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 added in v0.0.32

func NewGetBestTimeToPostRequest(server string, params *GetBestTimeToPostParams) (*http.Request, error)

NewGetBestTimeToPostRequest generates requests for GetBestTimeToPost

func NewGetConnectUrlRequest

func NewGetConnectUrlRequest(server string, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams) (*http.Request, error)

NewGetConnectUrlRequest generates requests for GetConnectUrl

func NewGetContentDecayRequest added in v0.0.32

func NewGetContentDecayRequest(server string, params *GetContentDecayParams) (*http.Request, error)

NewGetContentDecayRequest generates requests for GetContentDecay

func NewGetDailyMetricsRequest added in v0.0.32

func NewGetDailyMetricsRequest(server string, params *GetDailyMetricsParams) (*http.Request, error)

NewGetDailyMetricsRequest generates requests for GetDailyMetrics

func NewGetFacebookPagesRequest

func NewGetFacebookPagesRequest(server string, accountId string) (*http.Request, error)

NewGetFacebookPagesRequest generates requests for GetFacebookPages

func NewGetFollowerStatsRequest

func NewGetFollowerStatsRequest(server string, params *GetFollowerStatsParams) (*http.Request, error)

NewGetFollowerStatsRequest generates requests for GetFollowerStats

func NewGetGmbLocationsRequest

func NewGetGmbLocationsRequest(server string, accountId string) (*http.Request, error)

NewGetGmbLocationsRequest generates requests for GetGmbLocations

func NewGetGoogleBusinessAttributesRequest added in v0.0.5

func NewGetGoogleBusinessAttributesRequest(server string, accountId string) (*http.Request, error)

NewGetGoogleBusinessAttributesRequest generates requests for GetGoogleBusinessAttributes

func NewGetGoogleBusinessFoodMenusRequest added in v0.0.4

func NewGetGoogleBusinessFoodMenusRequest(server string, accountId string) (*http.Request, error)

NewGetGoogleBusinessFoodMenusRequest generates requests for GetGoogleBusinessFoodMenus

func NewGetGoogleBusinessLocationDetailsRequest added in v0.0.5

func NewGetGoogleBusinessLocationDetailsRequest(server string, accountId string, params *GetGoogleBusinessLocationDetailsParams) (*http.Request, error)

NewGetGoogleBusinessLocationDetailsRequest generates requests for GetGoogleBusinessLocationDetails

func NewGetGoogleBusinessReviewsRequest

func NewGetGoogleBusinessReviewsRequest(server string, accountId string, params *GetGoogleBusinessReviewsParams) (*http.Request, error)

NewGetGoogleBusinessReviewsRequest generates requests for GetGoogleBusinessReviews

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 NewGetInstagramIceBreakersRequest added in v0.0.10

func NewGetInstagramIceBreakersRequest(server string, accountId string) (*http.Request, error)

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 NewGetLinkedInOrganizationsRequest

func NewGetLinkedInOrganizationsRequest(server string, accountId string) (*http.Request, error)

NewGetLinkedInOrganizationsRequest generates requests for GetLinkedInOrganizations

func NewGetLinkedInPostAnalyticsRequest

func NewGetLinkedInPostAnalyticsRequest(server string, accountId string, params *GetLinkedInPostAnalyticsParams) (*http.Request, error)

NewGetLinkedInPostAnalyticsRequest generates requests for GetLinkedInPostAnalytics

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 added in v0.0.10

func NewGetMessengerMenuRequest(server string, accountId string) (*http.Request, error)

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

func NewGetPinterestBoardsRequest(server string, accountId string) (*http.Request, error)

NewGetPinterestBoardsRequest generates requests for GetPinterestBoards

func NewGetPostLogsRequest

func NewGetPostLogsRequest(server string, postId string, params *GetPostLogsParams) (*http.Request, error)

NewGetPostLogsRequest generates requests for GetPostLogs

func NewGetPostRequest

func NewGetPostRequest(server string, postId string) (*http.Request, error)

NewGetPostRequest generates requests for GetPost

func NewGetPostTimelineRequest added in v0.0.37

func NewGetPostTimelineRequest(server string, params *GetPostTimelineParams) (*http.Request, error)

NewGetPostTimelineRequest generates requests for GetPostTimeline

func NewGetPostingFrequencyRequest added in v0.0.32

func NewGetPostingFrequencyRequest(server string, params *GetPostingFrequencyParams) (*http.Request, error)

NewGetPostingFrequencyRequest generates requests for GetPostingFrequency

func NewGetProfileRequest

func NewGetProfileRequest(server string, profileId string) (*http.Request, error)

NewGetProfileRequest generates requests for GetProfile

func NewGetRedditFeedRequest

func NewGetRedditFeedRequest(server string, params *GetRedditFeedParams) (*http.Request, error)

NewGetRedditFeedRequest generates requests for GetRedditFeed

func NewGetRedditFlairsRequest added in v0.0.12

func NewGetRedditFlairsRequest(server string, accountId string, params *GetRedditFlairsParams) (*http.Request, error)

NewGetRedditFlairsRequest generates requests for GetRedditFlairs

func NewGetRedditSubredditsRequest

func NewGetRedditSubredditsRequest(server string, accountId string) (*http.Request, error)

NewGetRedditSubredditsRequest generates requests for GetRedditSubreddits

func NewGetTelegramCommandsRequest added in v0.0.10

func NewGetTelegramCommandsRequest(server string, accountId string) (*http.Request, error)

NewGetTelegramCommandsRequest generates requests for GetTelegramCommands

func NewGetTelegramConnectStatusRequest

func NewGetTelegramConnectStatusRequest(server string, params *GetTelegramConnectStatusParams) (*http.Request, error)

NewGetTelegramConnectStatusRequest generates requests for GetTelegramConnectStatus

func NewGetUsageStatsRequest

func NewGetUsageStatsRequest(server string) (*http.Request, error)

NewGetUsageStatsRequest generates requests for GetUsageStats

func NewGetUserRequest

func NewGetUserRequest(server string, userId string) (*http.Request, error)

NewGetUserRequest generates requests for GetUser

func NewGetWebhookLogsRequest

func NewGetWebhookLogsRequest(server string, params *GetWebhookLogsParams) (*http.Request, error)

NewGetWebhookLogsRequest generates requests for GetWebhookLogs

func NewGetWebhookSettingsRequest

func NewGetWebhookSettingsRequest(server string) (*http.Request, error)

NewGetWebhookSettingsRequest generates requests for GetWebhookSettings

func NewGetYouTubeDailyViewsRequest

func NewGetYouTubeDailyViewsRequest(server string, params *GetYouTubeDailyViewsParams) (*http.Request, error)

NewGetYouTubeDailyViewsRequest generates requests for GetYouTubeDailyViews

func NewGetYouTubeTranscriptRequest

func NewGetYouTubeTranscriptRequest(server string, params *GetYouTubeTranscriptParams) (*http.Request, error)

NewGetYouTubeTranscriptRequest generates requests for GetYouTubeTranscript

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

func NewListAccountGroupsRequest(server string) (*http.Request, error)

NewListAccountGroupsRequest generates requests for ListAccountGroups

func NewListAccountsRequest

func NewListAccountsRequest(server string, params *ListAccountsParams) (*http.Request, error)

NewListAccountsRequest generates requests for ListAccounts

func NewListApiKeysRequest

func NewListApiKeysRequest(server string) (*http.Request, error)

NewListApiKeysRequest generates requests for ListApiKeys

func NewListConnectionLogsRequest added in v0.0.8

func NewListConnectionLogsRequest(server string, params *ListConnectionLogsParams) (*http.Request, error)

NewListConnectionLogsRequest generates requests for ListConnectionLogs

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 added in v0.0.5

func NewListGoogleBusinessMediaRequest(server string, accountId string, params *ListGoogleBusinessMediaParams) (*http.Request, error)

NewListGoogleBusinessMediaRequest generates requests for ListGoogleBusinessMedia

func NewListGoogleBusinessPlaceActionsRequest added in v0.0.5

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 NewListPinterestBoardsForSelectionRequest

func NewListPinterestBoardsForSelectionRequest(server string, params *ListPinterestBoardsForSelectionParams) (*http.Request, error)

NewListPinterestBoardsForSelectionRequest generates requests for ListPinterestBoardsForSelection

func NewListPostsLogsRequest added in v0.0.8

func NewListPostsLogsRequest(server string, params *ListPostsLogsParams) (*http.Request, error)

NewListPostsLogsRequest generates requests for ListPostsLogs

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 NewListSnapchatProfilesRequest

func NewListSnapchatProfilesRequest(server string, params *ListSnapchatProfilesParams) (*http.Request, error)

NewListSnapchatProfilesRequest generates requests for ListSnapchatProfiles

func NewListUsersRequest

func NewListUsersRequest(server string) (*http.Request, error)

NewListUsersRequest generates requests for ListUsers

func NewPreviewQueueRequest

func NewPreviewQueueRequest(server string, params *PreviewQueueParams) (*http.Request, error)

NewPreviewQueueRequest generates requests for PreviewQueue

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

func NewRetryPostRequest(server string, postId string) (*http.Request, error)

NewRetryPostRequest generates requests for RetryPost

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 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 NewSetInstagramIceBreakersRequest added in v0.0.10

func NewSetInstagramIceBreakersRequest(server string, accountId string, body SetInstagramIceBreakersJSONRequestBody) (*http.Request, error)

NewSetInstagramIceBreakersRequest calls the generic SetInstagramIceBreakers builder with application/json body

func NewSetInstagramIceBreakersRequestWithBody added in v0.0.10

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 added in v0.0.10

func NewSetMessengerMenuRequest(server string, accountId string, body SetMessengerMenuJSONRequestBody) (*http.Request, error)

NewSetMessengerMenuRequest calls the generic SetMessengerMenu builder with application/json body

func NewSetMessengerMenuRequestWithBody added in v0.0.10

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 added in v0.0.10

func NewSetTelegramCommandsRequest(server string, accountId string, body SetTelegramCommandsJSONRequestBody) (*http.Request, error)

NewSetTelegramCommandsRequest calls the generic SetTelegramCommands builder with application/json body

func NewSetTelegramCommandsRequestWithBody added in v0.0.10

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 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 added in v0.0.17

func NewUnpublishPostRequest(server string, postId string, body UnpublishPostJSONRequestBody) (*http.Request, error)

NewUnpublishPostRequest calls the generic UnpublishPost builder with application/json body

func NewUnpublishPostRequestWithBody added in v0.0.17

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 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 added in v0.0.5

func NewUpdateGoogleBusinessAttributesRequest(server string, accountId string, body UpdateGoogleBusinessAttributesJSONRequestBody) (*http.Request, error)

NewUpdateGoogleBusinessAttributesRequest calls the generic UpdateGoogleBusinessAttributes builder with application/json body

func NewUpdateGoogleBusinessAttributesRequestWithBody added in v0.0.5

func NewUpdateGoogleBusinessAttributesRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGoogleBusinessAttributesRequestWithBody generates requests for UpdateGoogleBusinessAttributes with any type of body

func NewUpdateGoogleBusinessFoodMenusRequest added in v0.0.4

func NewUpdateGoogleBusinessFoodMenusRequest(server string, accountId string, body UpdateGoogleBusinessFoodMenusJSONRequestBody) (*http.Request, error)

NewUpdateGoogleBusinessFoodMenusRequest calls the generic UpdateGoogleBusinessFoodMenus builder with application/json body

func NewUpdateGoogleBusinessFoodMenusRequestWithBody added in v0.0.4

func NewUpdateGoogleBusinessFoodMenusRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGoogleBusinessFoodMenusRequestWithBody generates requests for UpdateGoogleBusinessFoodMenus with any type of body

func NewUpdateGoogleBusinessLocationDetailsRequest added in v0.0.5

func NewUpdateGoogleBusinessLocationDetailsRequest(server string, accountId string, body UpdateGoogleBusinessLocationDetailsJSONRequestBody) (*http.Request, error)

NewUpdateGoogleBusinessLocationDetailsRequest calls the generic UpdateGoogleBusinessLocationDetails builder with application/json body

func NewUpdateGoogleBusinessLocationDetailsRequestWithBody added in v0.0.5

func NewUpdateGoogleBusinessLocationDetailsRequestWithBody(server string, accountId string, contentType string, body io.Reader) (*http.Request, error)

NewUpdateGoogleBusinessLocationDetailsRequestWithBody generates requests for UpdateGoogleBusinessLocationDetails 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 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 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 NewValidateMediaRequest added in v0.0.33

func NewValidateMediaRequest(server string, body ValidateMediaJSONRequestBody) (*http.Request, error)

NewValidateMediaRequest calls the generic ValidateMedia builder with application/json body

func NewValidateMediaRequestWithBody added in v0.0.33

func NewValidateMediaRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewValidateMediaRequestWithBody generates requests for ValidateMedia with any type of body

func NewValidatePostLengthRequest added in v0.0.33

func NewValidatePostLengthRequest(server string, body ValidatePostLengthJSONRequestBody) (*http.Request, error)

NewValidatePostLengthRequest calls the generic ValidatePostLength builder with application/json body

func NewValidatePostLengthRequestWithBody added in v0.0.33

func NewValidatePostLengthRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewValidatePostLengthRequestWithBody generates requests for ValidatePostLength with any type of body

func NewValidatePostRequest added in v0.0.33

func NewValidatePostRequest(server string, body ValidatePostJSONRequestBody) (*http.Request, error)

NewValidatePostRequest calls the generic ValidatePost builder with application/json body

func NewValidatePostRequestWithBody added in v0.0.33

func NewValidatePostRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewValidatePostRequestWithBody generates requests for ValidatePost with any type of body

func NewValidateSubredditRequest added in v0.0.33

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

	// CurrentFollowers Current follower count
	CurrentFollowers *float32 `json:"currentFollowers,omitempty"`

	// DataPoints Number of historical snapshots
	DataPoints  *float32 `json:"dataPoints,omitempty"`
	DisplayName *string  `json:"displayName,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"`
	Platform         *string                             `json:"platform,omitempty"`
	ProfileId        *AccountWithFollowerStats_ProfileId `json:"profileId,omitempty"`
	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 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

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

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

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 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"`
		MediaItems      *[]MediaItem                         `json:"mediaItems,omitempty"`
		MediaType       *AnalyticsListResponsePostsMediaType `json:"mediaType,omitempty"`
		Platform        *string                              `json:"platform,omitempty"`
		PlatformPostUrl *string                              `json:"platformPostUrl,omitempty"`
		Platforms       *[]PlatformAnalytics                 `json:"platforms,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 AnalyticsListResponsePostsMediaType

type AnalyticsListResponsePostsMediaType string

AnalyticsListResponsePostsMediaType defines model for AnalyticsListResponse.Posts.MediaType.

const (
	AnalyticsListResponsePostsMediaTypeDocument AnalyticsListResponsePostsMediaType = "document"
	AnalyticsListResponsePostsMediaTypeGif      AnalyticsListResponsePostsMediaType = "gif"
	AnalyticsListResponsePostsMediaTypeImage    AnalyticsListResponsePostsMediaType = "image"
	AnalyticsListResponsePostsMediaTypeVideo    AnalyticsListResponsePostsMediaType = "video"
)

Defines values for AnalyticsListResponsePostsMediaType.

func (AnalyticsListResponsePostsMediaType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the AnalyticsListResponsePostsMediaType enum.

type AnalyticsOverview

type AnalyticsOverview struct {
	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"`
	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            *string              `json:"status,omitempty"`
}

AnalyticsSinglePostResponse defines model for AnalyticsSinglePostResponse.

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 added in v0.0.26

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 added in v0.0.34

func (e ApiKeyPermission) Valid() bool

Valid indicates whether the value is a known member of the ApiKeyPermission enum.

type ApiKeyScope added in v0.0.26

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 added in v0.0.34

func (e ApiKeyScope) Valid() bool

Valid indicates whether the value is a known member of the ApiKeyScope enum.

type BlueskyPlatformData added in v0.0.8

type BlueskyPlatformData struct {
	// ThreadItems Sequence of posts in a Bluesky thread (root then replies in order).
	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 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 CheckInstagramHashtags200ResultsStatus

type CheckInstagramHashtags200ResultsStatus string

type CheckInstagramHashtagsJSONBody

type CheckInstagramHashtagsJSONBody struct {
	Hashtags []string `json:"hashtags"`
}

CheckInstagramHashtagsJSONBody defines parameters for CheckInstagramHashtags.

type CheckInstagramHashtagsJSONRequestBody

type CheckInstagramHashtagsJSONRequestBody CheckInstagramHashtagsJSONBody

CheckInstagramHashtagsJSONRequestBody defines body for CheckInstagramHashtags for application/json ContentType.

type CheckInstagramHashtagsResponse

type CheckInstagramHashtagsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Results *[]struct {
			Confidence *float32                                `json:"confidence,omitempty"`
			Hashtag    *string                                 `json:"hashtag,omitempty"`
			Reason     *string                                 `json:"reason,omitempty"`
			Status     *CheckInstagramHashtags200ResultsStatus `json:"status,omitempty"`
		} `json:"results,omitempty"`
		Success *bool `json:"success,omitempty"`
		Summary *struct {
			Banned     *int `json:"banned,omitempty"`
			Restricted *int `json:"restricted,omitempty"`
			Safe       *int `json:"safe,omitempty"`
		} `json:"summary,omitempty"`
	}
}

func ParseCheckInstagramHashtagsResponse

func ParseCheckInstagramHashtagsResponse(rsp *http.Response) (*CheckInstagramHashtagsResponse, error)

ParseCheckInstagramHashtagsResponse parses an HTTP response from a CheckInstagramHashtagsWithResponse call

func (CheckInstagramHashtagsResponse) Status

Status returns HTTPResponse.Status

func (CheckInstagramHashtagsResponse) StatusCode

func (r CheckInstagramHashtagsResponse) 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) BulkUploadPostsWithBody

func (c *Client) BulkUploadPostsWithBody(ctx context.Context, params *BulkUploadPostsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckInstagramHashtags

func (c *Client) CheckInstagramHashtags(ctx context.Context, body CheckInstagramHashtagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CheckInstagramHashtagsWithBody

func (c *Client) CheckInstagramHashtagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CompleteTelegramConnect

func (c *Client) CompleteTelegramConnect(ctx context.Context, params *CompleteTelegramConnectParams, 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 (c *Client) ConnectBlueskyCredentialsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAccountGroup

func (c *Client) CreateAccountGroup(ctx context.Context, body CreateAccountGroupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateAccountGroupWithBody

func (c *Client) CreateAccountGroupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKey

func (c *Client) CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateApiKeyWithBody

func (c *Client) CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGoogleBusinessMedia added in v0.0.5

func (c *Client) CreateGoogleBusinessMedia(ctx context.Context, accountId string, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGoogleBusinessMediaWithBody added in v0.0.5

func (c *Client) CreateGoogleBusinessMediaWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGoogleBusinessPlaceAction added in v0.0.5

func (c *Client) CreateGoogleBusinessPlaceAction(ctx context.Context, accountId string, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateGoogleBusinessPlaceActionWithBody added in v0.0.5

func (c *Client) CreateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInviteToken

func (c *Client) CreateInviteToken(ctx context.Context, body CreateInviteTokenJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateInviteTokenWithBody

func (c *Client) CreateInviteTokenWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePost

func (c *Client) CreatePost(ctx context.Context, body CreatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreatePostWithBody

func (c *Client) CreatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProfile

func (c *Client) CreateProfile(ctx context.Context, body CreateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateProfileWithBody

func (c *Client) CreateProfileWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateQueueSlot

func (c *Client) CreateQueueSlot(ctx context.Context, body CreateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateQueueSlotWithBody

func (c *Client) CreateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhookSettings

func (c *Client) CreateWebhookSettings(ctx context.Context, body CreateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) CreateWebhookSettingsWithBody

func (c *Client) CreateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAccount

func (c *Client) DeleteAccount(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteAccountGroup

func (c *Client) DeleteAccountGroup(ctx context.Context, groupId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteApiKey

func (c *Client) DeleteApiKey(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGoogleBusinessMedia added in v0.0.5

func (c *Client) DeleteGoogleBusinessMedia(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteGoogleBusinessPlaceAction added in v0.0.5

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) DeleteInboxReviewReply

func (c *Client) DeleteInboxReviewReply(ctx context.Context, reviewId string, body DeleteInboxReviewReplyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInboxReviewReplyWithBody

func (c *Client) DeleteInboxReviewReplyWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteInstagramIceBreakers added in v0.0.10

func (c *Client) DeleteInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteMessengerMenu added in v0.0.10

func (c *Client) DeleteMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeletePost

func (c *Client) DeletePost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteProfile

func (c *Client) DeleteProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteQueueSlot

func (c *Client) DeleteQueueSlot(ctx context.Context, params *DeleteQueueSlotParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteTelegramCommands added in v0.0.10

func (c *Client) DeleteTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DeleteWebhookSettings

func (c *Client) DeleteWebhookSettings(ctx context.Context, params *DeleteWebhookSettingsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadBlueskyMedia

func (c *Client) DownloadBlueskyMedia(ctx context.Context, params *DownloadBlueskyMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadFacebookVideo

func (c *Client) DownloadFacebookVideo(ctx context.Context, params *DownloadFacebookVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadInstagramMedia

func (c *Client) DownloadInstagramMedia(ctx context.Context, params *DownloadInstagramMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadLinkedInVideo

func (c *Client) DownloadLinkedInVideo(ctx context.Context, params *DownloadLinkedInVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadTikTokVideo

func (c *Client) DownloadTikTokVideo(ctx context.Context, params *DownloadTikTokVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadTwitterMedia

func (c *Client) DownloadTwitterMedia(ctx context.Context, params *DownloadTwitterMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) DownloadYouTubeVideo

func (c *Client) DownloadYouTubeVideo(ctx context.Context, params *DownloadYouTubeVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditInboxMessage added in v0.0.10

func (c *Client) EditInboxMessage(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) EditInboxMessageWithBody added in v0.0.10

func (c *Client) EditInboxMessageWithBody(ctx context.Context, conversationId string, messageId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetAccountHealth

func (c *Client) GetAccountHealth(ctx context.Context, accountId string, 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 added in v0.0.32

func (c *Client) GetBestTimeToPost(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetConnectUrl

func (c *Client) GetConnectUrl(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetContentDecay added in v0.0.32

func (c *Client) GetContentDecay(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetDailyMetrics added in v0.0.32

func (c *Client) GetDailyMetrics(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFacebookPages

func (c *Client) GetFacebookPages(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetFollowerStats

func (c *Client) GetFollowerStats(ctx context.Context, params *GetFollowerStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGmbLocations

func (c *Client) GetGmbLocations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGoogleBusinessAttributes added in v0.0.5

func (c *Client) GetGoogleBusinessAttributes(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGoogleBusinessFoodMenus added in v0.0.4

func (c *Client) GetGoogleBusinessFoodMenus(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetGoogleBusinessLocationDetails added in v0.0.5

func (c *Client) GetGoogleBusinessLocationDetails(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, 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) 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) GetInstagramIceBreakers added in v0.0.10

func (c *Client) GetInstagramIceBreakers(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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) GetLinkedInOrganizations

func (c *Client) GetLinkedInOrganizations(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLinkedInPostAnalytics

func (c *Client) GetLinkedInPostAnalytics(ctx context.Context, accountId string, params *GetLinkedInPostAnalyticsParams, 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 (c *Client) GetMediaPresignedUrlWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetMessengerMenu added in v0.0.10

func (c *Client) GetMessengerMenu(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) GetPinterestBoards(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPost

func (c *Client) GetPost(ctx context.Context, postId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPostLogs

func (c *Client) GetPostLogs(ctx context.Context, postId string, params *GetPostLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPostTimeline added in v0.0.37

func (c *Client) GetPostTimeline(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetPostingFrequency added in v0.0.32

func (c *Client) GetPostingFrequency(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetProfile

func (c *Client) GetProfile(ctx context.Context, profileId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRedditFeed

func (c *Client) GetRedditFeed(ctx context.Context, params *GetRedditFeedParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRedditFlairs added in v0.0.12

func (c *Client) GetRedditFlairs(ctx context.Context, accountId string, params *GetRedditFlairsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetRedditSubreddits

func (c *Client) GetRedditSubreddits(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTelegramCommands added in v0.0.10

func (c *Client) GetTelegramCommands(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTelegramConnectStatus

func (c *Client) GetTelegramConnectStatus(ctx context.Context, params *GetTelegramConnectStatusParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUsageStats

func (c *Client) GetUsageStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetUser

func (c *Client) GetUser(ctx context.Context, userId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhookLogs

func (c *Client) GetWebhookLogs(ctx context.Context, params *GetWebhookLogsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetWebhookSettings

func (c *Client) GetWebhookSettings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetYouTubeDailyViews

func (c *Client) GetYouTubeDailyViews(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetYouTubeTranscript

func (c *Client) GetYouTubeTranscript(ctx context.Context, params *GetYouTubeTranscriptParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HandleOAuthCallback

func (c *Client) HandleOAuthCallback(ctx context.Context, platform string, body HandleOAuthCallbackJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) HandleOAuthCallbackWithBody

func (c *Client) HandleOAuthCallbackWithBody(ctx context.Context, platform string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) HideInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InitiateTelegramConnect

func (c *Client) InitiateTelegramConnect(ctx context.Context, body InitiateTelegramConnectJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) InitiateTelegramConnectWithBody

func (c *Client) InitiateTelegramConnectWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) LikeInboxCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAccountGroups

func (c *Client) ListAccountGroups(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListAccounts

func (c *Client) ListAccounts(ctx context.Context, params *ListAccountsParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListApiKeys

func (c *Client) ListApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListConnectionLogs added in v0.0.8

func (c *Client) ListConnectionLogs(ctx context.Context, params *ListConnectionLogsParams, 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 added in v0.0.5

func (c *Client) ListGoogleBusinessMedia(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListGoogleBusinessPlaceActions added in v0.0.5

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) 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) ListPostsLogs added in v0.0.8

func (c *Client) ListPostsLogs(ctx context.Context, params *ListPostsLogsParams, 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) ListSnapchatProfiles

func (c *Client) ListSnapchatProfiles(ctx context.Context, params *ListSnapchatProfilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ListUsers

func (c *Client) ListUsers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PreviewQueue

func (c *Client) PreviewQueue(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplyToInboxPost

func (c *Client) ReplyToInboxPost(ctx context.Context, postId string, body ReplyToInboxPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplyToInboxPostWithBody

func (c *Client) ReplyToInboxPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplyToInboxReview

func (c *Client) ReplyToInboxReview(ctx context.Context, reviewId string, body ReplyToInboxReviewJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ReplyToInboxReviewWithBody

func (c *Client) ReplyToInboxReviewWithBody(ctx context.Context, reviewId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) RetryPost

func (c *Client) RetryPost(ctx context.Context, postId string, 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 (c *Client) SelectFacebookPageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectGoogleBusinessLocation

func (c *Client) SelectGoogleBusinessLocation(ctx context.Context, body SelectGoogleBusinessLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectGoogleBusinessLocationWithBody

func (c *Client) SelectGoogleBusinessLocationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectLinkedInOrganization

func (c *Client) SelectLinkedInOrganization(ctx context.Context, body SelectLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectLinkedInOrganizationWithBody

func (c *Client) SelectLinkedInOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectPinterestBoard

func (c *Client) SelectPinterestBoard(ctx context.Context, body SelectPinterestBoardJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectPinterestBoardWithBody

func (c *Client) SelectPinterestBoardWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectSnapchatProfile

func (c *Client) SelectSnapchatProfile(ctx context.Context, params *SelectSnapchatProfileParams, body SelectSnapchatProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SelectSnapchatProfileWithBody

func (c *Client) SelectSnapchatProfileWithBody(ctx context.Context, params *SelectSnapchatProfileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendInboxMessage

func (c *Client) SendInboxMessage(ctx context.Context, conversationId string, body SendInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SendInboxMessageWithBody

func (c *Client) SendInboxMessageWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) SendPrivateReplyToCommentWithBody(ctx context.Context, postId string, commentId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetInstagramIceBreakers added in v0.0.10

func (c *Client) SetInstagramIceBreakers(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetInstagramIceBreakersWithBody added in v0.0.10

func (c *Client) SetInstagramIceBreakersWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMessengerMenu added in v0.0.10

func (c *Client) SetMessengerMenu(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetMessengerMenuWithBody added in v0.0.10

func (c *Client) SetMessengerMenuWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTelegramCommands added in v0.0.10

func (c *Client) SetTelegramCommands(ctx context.Context, accountId string, body SetTelegramCommandsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) SetTelegramCommandsWithBody added in v0.0.10

func (c *Client) SetTelegramCommandsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TestWebhook

func (c *Client) TestWebhook(ctx context.Context, body TestWebhookJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) TestWebhookWithBody

func (c *Client) TestWebhookWithBody(ctx context.Context, contentType string, body io.Reader, 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 added in v0.0.17

func (c *Client) UnpublishPost(ctx context.Context, postId string, body UnpublishPostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UnpublishPostWithBody added in v0.0.17

func (c *Client) UnpublishPostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

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 (c *Client) UpdateAccountGroupWithBody(ctx context.Context, groupId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateAccountWithBody

func (c *Client) UpdateAccountWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFacebookPage

func (c *Client) UpdateFacebookPage(ctx context.Context, accountId string, body UpdateFacebookPageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateFacebookPageWithBody

func (c *Client) UpdateFacebookPageWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGmbLocation

func (c *Client) UpdateGmbLocation(ctx context.Context, accountId string, body UpdateGmbLocationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGmbLocationWithBody

func (c *Client) UpdateGmbLocationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessAttributes added in v0.0.5

func (c *Client) UpdateGoogleBusinessAttributes(ctx context.Context, accountId string, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessAttributesWithBody added in v0.0.5

func (c *Client) UpdateGoogleBusinessAttributesWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessFoodMenus added in v0.0.4

func (c *Client) UpdateGoogleBusinessFoodMenus(ctx context.Context, accountId string, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessFoodMenusWithBody added in v0.0.4

func (c *Client) UpdateGoogleBusinessFoodMenusWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessLocationDetails added in v0.0.5

func (c *Client) UpdateGoogleBusinessLocationDetails(ctx context.Context, accountId string, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateGoogleBusinessLocationDetailsWithBody added in v0.0.5

func (c *Client) UpdateGoogleBusinessLocationDetailsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInboxConversation

func (c *Client) UpdateInboxConversation(ctx context.Context, conversationId string, body UpdateInboxConversationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateInboxConversationWithBody

func (c *Client) UpdateInboxConversationWithBody(ctx context.Context, conversationId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLinkedInOrganization

func (c *Client) UpdateLinkedInOrganization(ctx context.Context, accountId string, body UpdateLinkedInOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateLinkedInOrganizationWithBody

func (c *Client) UpdateLinkedInOrganizationWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePinterestBoards

func (c *Client) UpdatePinterestBoards(ctx context.Context, accountId string, body UpdatePinterestBoardsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePinterestBoardsWithBody

func (c *Client) UpdatePinterestBoardsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePost

func (c *Client) UpdatePost(ctx context.Context, postId string, body UpdatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdatePostWithBody

func (c *Client) UpdatePostWithBody(ctx context.Context, postId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProfile

func (c *Client) UpdateProfile(ctx context.Context, profileId string, body UpdateProfileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateProfileWithBody

func (c *Client) UpdateProfileWithBody(ctx context.Context, profileId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateQueueSlot

func (c *Client) UpdateQueueSlot(ctx context.Context, body UpdateQueueSlotJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateQueueSlotWithBody

func (c *Client) UpdateQueueSlotWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRedditSubreddits

func (c *Client) UpdateRedditSubreddits(ctx context.Context, accountId string, body UpdateRedditSubredditsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateRedditSubredditsWithBody

func (c *Client) UpdateRedditSubredditsWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookSettings

func (c *Client) UpdateWebhookSettings(ctx context.Context, body UpdateWebhookSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) UpdateWebhookSettingsWithBody

func (c *Client) UpdateWebhookSettingsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidateMedia added in v0.0.33

func (c *Client) ValidateMedia(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidateMediaWithBody added in v0.0.33

func (c *Client) ValidateMediaWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidatePost added in v0.0.33

func (c *Client) ValidatePost(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidatePostLength added in v0.0.33

func (c *Client) ValidatePostLength(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidatePostLengthWithBody added in v0.0.33

func (c *Client) ValidatePostLengthWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidatePostWithBody added in v0.0.33

func (c *Client) ValidatePostWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) ValidateSubreddit added in v0.0.33

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)

	// 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, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGoogleBusinessAttributesWithBody request with any body
	UpdateGoogleBusinessAttributesWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGoogleBusinessAttributes(ctx context.Context, accountId string, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGoogleBusinessFoodMenus request
	GetGoogleBusinessFoodMenus(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// UpdateGoogleBusinessFoodMenusWithBody request with any body
	UpdateGoogleBusinessFoodMenusWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGoogleBusinessFoodMenus(ctx context.Context, accountId string, 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, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	UpdateGoogleBusinessLocationDetails(ctx context.Context, accountId string, 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, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGoogleBusinessMedia(ctx context.Context, accountId string, 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)

	// CreateGoogleBusinessPlaceActionWithBody request with any body
	CreateGoogleBusinessPlaceActionWithBody(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CreateGoogleBusinessPlaceAction(ctx context.Context, accountId string, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetGoogleBusinessReviews request
	GetGoogleBusinessReviews(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, 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)

	// 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)

	// 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)

	// 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)

	// GetYouTubeDailyViews request
	GetYouTubeDailyViews(ctx context.Context, params *GetYouTubeDailyViewsParams, 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)

	// 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)

	// 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)

	// ListConnectionLogs request
	ListConnectionLogs(ctx context.Context, params *ListConnectionLogsParams, 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)

	// 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)

	// 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)

	// 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)

	// 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)

	// 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)

	// ListPostsLogs request
	ListPostsLogs(ctx context.Context, params *ListPostsLogsParams, 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)

	// GetPostLogs request
	GetPostLogs(ctx context.Context, postId string, params *GetPostLogsParams, 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)

	// 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)

	// DownloadBlueskyMedia request
	DownloadBlueskyMedia(ctx context.Context, params *DownloadBlueskyMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadFacebookVideo request
	DownloadFacebookVideo(ctx context.Context, params *DownloadFacebookVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadInstagramMedia request
	DownloadInstagramMedia(ctx context.Context, params *DownloadInstagramMediaParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// CheckInstagramHashtagsWithBody request with any body
	CheckInstagramHashtagsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	CheckInstagramHashtags(ctx context.Context, body CheckInstagramHashtagsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadLinkedInVideo request
	DownloadLinkedInVideo(ctx context.Context, params *DownloadLinkedInVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadTikTokVideo request
	DownloadTikTokVideo(ctx context.Context, params *DownloadTikTokVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// DownloadTwitterMedia request
	DownloadTwitterMedia(ctx context.Context, params *DownloadTwitterMediaParams, 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)

	// DownloadYouTubeVideo request
	DownloadYouTubeVideo(ctx context.Context, params *DownloadYouTubeVideoParams, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetYouTubeTranscript request
	GetYouTubeTranscript(ctx context.Context, params *GetYouTubeTranscriptParams, 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)

	// GetWebhookLogs request
	GetWebhookLogs(ctx context.Context, params *GetWebhookLogsParams, 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)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) 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) CheckInstagramHashtagsWithBodyWithResponse

func (c *ClientWithResponses) CheckInstagramHashtagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckInstagramHashtagsResponse, error)

CheckInstagramHashtagsWithBodyWithResponse request with arbitrary body returning *CheckInstagramHashtagsResponse

func (*ClientWithResponses) CheckInstagramHashtagsWithResponse

func (c *ClientWithResponses) CheckInstagramHashtagsWithResponse(ctx context.Context, body CheckInstagramHashtagsJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckInstagramHashtagsResponse, error)

func (*ClientWithResponses) CompleteTelegramConnectWithResponse

func (c *ClientWithResponses) CompleteTelegramConnectWithResponse(ctx context.Context, params *CompleteTelegramConnectParams, reqEditors ...RequestEditorFn) (*CompleteTelegramConnectResponse, error)

CompleteTelegramConnectWithResponse request returning *CompleteTelegramConnectResponse

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) 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) 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) CreateGoogleBusinessMediaWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateGoogleBusinessMediaWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)

CreateGoogleBusinessMediaWithBodyWithResponse request with arbitrary body returning *CreateGoogleBusinessMediaResponse

func (*ClientWithResponses) CreateGoogleBusinessMediaWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, body CreateGoogleBusinessMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)

func (*ClientWithResponses) CreateGoogleBusinessPlaceActionWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)

CreateGoogleBusinessPlaceActionWithBodyWithResponse request with arbitrary body returning *CreateGoogleBusinessPlaceActionResponse

func (*ClientWithResponses) CreateGoogleBusinessPlaceActionWithResponse added in v0.0.5

func (c *ClientWithResponses) CreateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, 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) 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) 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) DeleteApiKeyWithResponse

func (c *ClientWithResponses) DeleteApiKeyWithResponse(ctx context.Context, keyId string, reqEditors ...RequestEditorFn) (*DeleteApiKeyResponse, error)

DeleteApiKeyWithResponse request returning *DeleteApiKeyResponse

func (*ClientWithResponses) DeleteGoogleBusinessMediaWithResponse added in v0.0.5

func (c *ClientWithResponses) DeleteGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *DeleteGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*DeleteGoogleBusinessMediaResponse, error)

DeleteGoogleBusinessMediaWithResponse request returning *DeleteGoogleBusinessMediaResponse

func (*ClientWithResponses) DeleteGoogleBusinessPlaceActionWithResponse added in v0.0.5

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) 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 added in v0.0.10

func (c *ClientWithResponses) DeleteInstagramIceBreakersWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*DeleteInstagramIceBreakersResponse, error)

DeleteInstagramIceBreakersWithResponse request returning *DeleteInstagramIceBreakersResponse

func (*ClientWithResponses) DeleteMessengerMenuWithResponse added in v0.0.10

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) DeleteTelegramCommandsWithResponse added in v0.0.10

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) DownloadBlueskyMediaWithResponse

func (c *ClientWithResponses) DownloadBlueskyMediaWithResponse(ctx context.Context, params *DownloadBlueskyMediaParams, reqEditors ...RequestEditorFn) (*DownloadBlueskyMediaResponse, error)

DownloadBlueskyMediaWithResponse request returning *DownloadBlueskyMediaResponse

func (*ClientWithResponses) DownloadFacebookVideoWithResponse

func (c *ClientWithResponses) DownloadFacebookVideoWithResponse(ctx context.Context, params *DownloadFacebookVideoParams, reqEditors ...RequestEditorFn) (*DownloadFacebookVideoResponse, error)

DownloadFacebookVideoWithResponse request returning *DownloadFacebookVideoResponse

func (*ClientWithResponses) DownloadInstagramMediaWithResponse

func (c *ClientWithResponses) DownloadInstagramMediaWithResponse(ctx context.Context, params *DownloadInstagramMediaParams, reqEditors ...RequestEditorFn) (*DownloadInstagramMediaResponse, error)

DownloadInstagramMediaWithResponse request returning *DownloadInstagramMediaResponse

func (*ClientWithResponses) DownloadLinkedInVideoWithResponse

func (c *ClientWithResponses) DownloadLinkedInVideoWithResponse(ctx context.Context, params *DownloadLinkedInVideoParams, reqEditors ...RequestEditorFn) (*DownloadLinkedInVideoResponse, error)

DownloadLinkedInVideoWithResponse request returning *DownloadLinkedInVideoResponse

func (*ClientWithResponses) DownloadTikTokVideoWithResponse

func (c *ClientWithResponses) DownloadTikTokVideoWithResponse(ctx context.Context, params *DownloadTikTokVideoParams, reqEditors ...RequestEditorFn) (*DownloadTikTokVideoResponse, error)

DownloadTikTokVideoWithResponse request returning *DownloadTikTokVideoResponse

func (*ClientWithResponses) DownloadTwitterMediaWithResponse

func (c *ClientWithResponses) DownloadTwitterMediaWithResponse(ctx context.Context, params *DownloadTwitterMediaParams, reqEditors ...RequestEditorFn) (*DownloadTwitterMediaResponse, error)

DownloadTwitterMediaWithResponse request returning *DownloadTwitterMediaResponse

func (*ClientWithResponses) DownloadYouTubeVideoWithResponse

func (c *ClientWithResponses) DownloadYouTubeVideoWithResponse(ctx context.Context, params *DownloadYouTubeVideoParams, reqEditors ...RequestEditorFn) (*DownloadYouTubeVideoResponse, error)

DownloadYouTubeVideoWithResponse request returning *DownloadYouTubeVideoResponse

func (*ClientWithResponses) EditInboxMessageWithBodyWithResponse added in v0.0.10

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 added in v0.0.10

func (c *ClientWithResponses) EditInboxMessageWithResponse(ctx context.Context, conversationId string, messageId string, body EditInboxMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*EditInboxMessageResponse, error)

func (*ClientWithResponses) GetAccountHealthWithResponse

func (c *ClientWithResponses) GetAccountHealthWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetAccountHealthResponse, error)

GetAccountHealthWithResponse request returning *GetAccountHealthResponse

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 added in v0.0.32

func (c *ClientWithResponses) GetBestTimeToPostWithResponse(ctx context.Context, params *GetBestTimeToPostParams, reqEditors ...RequestEditorFn) (*GetBestTimeToPostResponse, error)

GetBestTimeToPostWithResponse request returning *GetBestTimeToPostResponse

func (*ClientWithResponses) GetConnectUrlWithResponse

func (c *ClientWithResponses) GetConnectUrlWithResponse(ctx context.Context, platform GetConnectUrlParamsPlatform, params *GetConnectUrlParams, reqEditors ...RequestEditorFn) (*GetConnectUrlResponse, error)

GetConnectUrlWithResponse request returning *GetConnectUrlResponse

func (*ClientWithResponses) GetContentDecayWithResponse added in v0.0.32

func (c *ClientWithResponses) GetContentDecayWithResponse(ctx context.Context, params *GetContentDecayParams, reqEditors ...RequestEditorFn) (*GetContentDecayResponse, error)

GetContentDecayWithResponse request returning *GetContentDecayResponse

func (*ClientWithResponses) GetDailyMetricsWithResponse added in v0.0.32

func (c *ClientWithResponses) GetDailyMetricsWithResponse(ctx context.Context, params *GetDailyMetricsParams, reqEditors ...RequestEditorFn) (*GetDailyMetricsResponse, error)

GetDailyMetricsWithResponse request returning *GetDailyMetricsResponse

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 added in v0.0.5

func (c *ClientWithResponses) GetGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGoogleBusinessAttributesResponse, error)

GetGoogleBusinessAttributesWithResponse request returning *GetGoogleBusinessAttributesResponse

func (*ClientWithResponses) GetGoogleBusinessFoodMenusWithResponse added in v0.0.4

func (c *ClientWithResponses) GetGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGoogleBusinessFoodMenusResponse, error)

GetGoogleBusinessFoodMenusWithResponse request returning *GetGoogleBusinessFoodMenusResponse

func (*ClientWithResponses) GetGoogleBusinessLocationDetailsWithResponse added in v0.0.5

func (c *ClientWithResponses) GetGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessLocationDetailsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessLocationDetailsResponse, error)

GetGoogleBusinessLocationDetailsWithResponse request returning *GetGoogleBusinessLocationDetailsResponse

func (*ClientWithResponses) GetGoogleBusinessReviewsWithResponse

func (c *ClientWithResponses) GetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessReviewsResponse, error)

GetGoogleBusinessReviewsWithResponse request returning *GetGoogleBusinessReviewsResponse

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) GetInstagramIceBreakersWithResponse added in v0.0.10

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) 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) 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 added in v0.0.10

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) GetPostLogsWithResponse

func (c *ClientWithResponses) GetPostLogsWithResponse(ctx context.Context, postId string, params *GetPostLogsParams, reqEditors ...RequestEditorFn) (*GetPostLogsResponse, error)

GetPostLogsWithResponse request returning *GetPostLogsResponse

func (*ClientWithResponses) GetPostTimelineWithResponse added in v0.0.37

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 added in v0.0.32

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 added in v0.0.12

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) GetTelegramCommandsWithResponse added in v0.0.10

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) 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) GetWebhookLogsWithResponse

func (c *ClientWithResponses) GetWebhookLogsWithResponse(ctx context.Context, params *GetWebhookLogsParams, reqEditors ...RequestEditorFn) (*GetWebhookLogsResponse, error)

GetWebhookLogsWithResponse request returning *GetWebhookLogsResponse

func (*ClientWithResponses) GetWebhookSettingsWithResponse

func (c *ClientWithResponses) GetWebhookSettingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetWebhookSettingsResponse, error)

GetWebhookSettingsWithResponse request returning *GetWebhookSettingsResponse

func (*ClientWithResponses) GetYouTubeDailyViewsWithResponse

func (c *ClientWithResponses) GetYouTubeDailyViewsWithResponse(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDailyViewsResponse, error)

GetYouTubeDailyViewsWithResponse request returning *GetYouTubeDailyViewsResponse

func (*ClientWithResponses) GetYouTubeTranscriptWithResponse

func (c *ClientWithResponses) GetYouTubeTranscriptWithResponse(ctx context.Context, params *GetYouTubeTranscriptParams, reqEditors ...RequestEditorFn) (*GetYouTubeTranscriptResponse, error)

GetYouTubeTranscriptWithResponse request returning *GetYouTubeTranscriptResponse

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) ListApiKeysWithResponse

func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysResponse, error)

ListApiKeysWithResponse request returning *ListApiKeysResponse

func (*ClientWithResponses) ListConnectionLogsWithResponse added in v0.0.8

func (c *ClientWithResponses) ListConnectionLogsWithResponse(ctx context.Context, params *ListConnectionLogsParams, reqEditors ...RequestEditorFn) (*ListConnectionLogsResponse, error)

ListConnectionLogsWithResponse request returning *ListConnectionLogsResponse

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 added in v0.0.5

func (c *ClientWithResponses) ListGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, params *ListGoogleBusinessMediaParams, reqEditors ...RequestEditorFn) (*ListGoogleBusinessMediaResponse, error)

ListGoogleBusinessMediaWithResponse request returning *ListGoogleBusinessMediaResponse

func (*ClientWithResponses) ListGoogleBusinessPlaceActionsWithResponse added in v0.0.5

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) ListPinterestBoardsForSelectionWithResponse

func (c *ClientWithResponses) ListPinterestBoardsForSelectionWithResponse(ctx context.Context, params *ListPinterestBoardsForSelectionParams, reqEditors ...RequestEditorFn) (*ListPinterestBoardsForSelectionResponse, error)

ListPinterestBoardsForSelectionWithResponse request returning *ListPinterestBoardsForSelectionResponse

func (*ClientWithResponses) ListPostsLogsWithResponse added in v0.0.8

func (c *ClientWithResponses) ListPostsLogsWithResponse(ctx context.Context, params *ListPostsLogsParams, reqEditors ...RequestEditorFn) (*ListPostsLogsResponse, error)

ListPostsLogsWithResponse request returning *ListPostsLogsResponse

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) 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) PreviewQueueWithResponse

func (c *ClientWithResponses) PreviewQueueWithResponse(ctx context.Context, params *PreviewQueueParams, reqEditors ...RequestEditorFn) (*PreviewQueueResponse, error)

PreviewQueueWithResponse request returning *PreviewQueueResponse

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) 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 (*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) SetInstagramIceBreakersWithBodyWithResponse added in v0.0.10

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 added in v0.0.10

func (c *ClientWithResponses) SetInstagramIceBreakersWithResponse(ctx context.Context, accountId string, body SetInstagramIceBreakersJSONRequestBody, reqEditors ...RequestEditorFn) (*SetInstagramIceBreakersResponse, error)

func (*ClientWithResponses) SetMessengerMenuWithBodyWithResponse added in v0.0.10

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 added in v0.0.10

func (c *ClientWithResponses) SetMessengerMenuWithResponse(ctx context.Context, accountId string, body SetMessengerMenuJSONRequestBody, reqEditors ...RequestEditorFn) (*SetMessengerMenuResponse, error)

func (*ClientWithResponses) SetTelegramCommandsWithBodyWithResponse added in v0.0.10

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 added in v0.0.10

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) 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 added in v0.0.17

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 added in v0.0.17

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) 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 added in v0.0.5

func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)

UpdateGoogleBusinessAttributesWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessAttributesResponse

func (*ClientWithResponses) UpdateGoogleBusinessAttributesWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)

func (*ClientWithResponses) UpdateGoogleBusinessFoodMenusWithBodyWithResponse added in v0.0.4

func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)

UpdateGoogleBusinessFoodMenusWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessFoodMenusResponse

func (*ClientWithResponses) UpdateGoogleBusinessFoodMenusWithResponse added in v0.0.4

func (c *ClientWithResponses) UpdateGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, body UpdateGoogleBusinessFoodMenusJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)

func (*ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithBodyWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)

UpdateGoogleBusinessLocationDetailsWithBodyWithResponse request with arbitrary body returning *UpdateGoogleBusinessLocationDetailsResponse

func (*ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithResponse added in v0.0.5

func (c *ClientWithResponses) UpdateGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, body UpdateGoogleBusinessLocationDetailsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, 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) 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) 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) ValidateMediaWithBodyWithResponse added in v0.0.33

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 added in v0.0.33

func (c *ClientWithResponses) ValidateMediaWithResponse(ctx context.Context, body ValidateMediaJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidateMediaResponse, error)

func (*ClientWithResponses) ValidatePostLengthWithBodyWithResponse added in v0.0.33

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 added in v0.0.33

func (c *ClientWithResponses) ValidatePostLengthWithResponse(ctx context.Context, body ValidatePostLengthJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostLengthResponse, error)

func (*ClientWithResponses) ValidatePostWithBodyWithResponse added in v0.0.33

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 added in v0.0.33

func (c *ClientWithResponses) ValidatePostWithResponse(ctx context.Context, body ValidatePostJSONRequestBody, reqEditors ...RequestEditorFn) (*ValidatePostResponse, error)

func (*ClientWithResponses) ValidateSubredditWithResponse added in v0.0.33

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)

	// 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, reqEditors ...RequestEditorFn) (*GetGoogleBusinessAttributesResponse, error)

	// UpdateGoogleBusinessAttributesWithBodyWithResponse request with any body
	UpdateGoogleBusinessAttributesWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)

	UpdateGoogleBusinessAttributesWithResponse(ctx context.Context, accountId string, body UpdateGoogleBusinessAttributesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessAttributesResponse, error)

	// GetGoogleBusinessFoodMenusWithResponse request
	GetGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, reqEditors ...RequestEditorFn) (*GetGoogleBusinessFoodMenusResponse, error)

	// UpdateGoogleBusinessFoodMenusWithBodyWithResponse request with any body
	UpdateGoogleBusinessFoodMenusWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessFoodMenusResponse, error)

	UpdateGoogleBusinessFoodMenusWithResponse(ctx context.Context, accountId string, 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, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGoogleBusinessLocationDetailsResponse, error)

	UpdateGoogleBusinessLocationDetailsWithResponse(ctx context.Context, accountId string, 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, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessMediaResponse, error)

	CreateGoogleBusinessMediaWithResponse(ctx context.Context, accountId string, 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)

	// CreateGoogleBusinessPlaceActionWithBodyWithResponse request with any body
	CreateGoogleBusinessPlaceActionWithBodyWithResponse(ctx context.Context, accountId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)

	CreateGoogleBusinessPlaceActionWithResponse(ctx context.Context, accountId string, body CreateGoogleBusinessPlaceActionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGoogleBusinessPlaceActionResponse, error)

	// GetGoogleBusinessReviewsWithResponse request
	GetGoogleBusinessReviewsWithResponse(ctx context.Context, accountId string, params *GetGoogleBusinessReviewsParams, reqEditors ...RequestEditorFn) (*GetGoogleBusinessReviewsResponse, 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)

	// 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)

	// 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)

	// GetPostTimelineWithResponse request
	GetPostTimelineWithResponse(ctx context.Context, params *GetPostTimelineParams, reqEditors ...RequestEditorFn) (*GetPostTimelineResponse, error)

	// GetPostingFrequencyWithResponse request
	GetPostingFrequencyWithResponse(ctx context.Context, params *GetPostingFrequencyParams, reqEditors ...RequestEditorFn) (*GetPostingFrequencyResponse, error)

	// GetYouTubeDailyViewsWithResponse request
	GetYouTubeDailyViewsWithResponse(ctx context.Context, params *GetYouTubeDailyViewsParams, reqEditors ...RequestEditorFn) (*GetYouTubeDailyViewsResponse, 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)

	// 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)

	// 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)

	// ListConnectionLogsWithResponse request
	ListConnectionLogsWithResponse(ctx context.Context, params *ListConnectionLogsParams, reqEditors ...RequestEditorFn) (*ListConnectionLogsResponse, 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)

	// 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)

	// 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)

	// 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)

	// 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)

	// 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)

	// ListPostsLogsWithResponse request
	ListPostsLogsWithResponse(ctx context.Context, params *ListPostsLogsParams, reqEditors ...RequestEditorFn) (*ListPostsLogsResponse, 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)

	// GetPostLogsWithResponse request
	GetPostLogsWithResponse(ctx context.Context, postId string, params *GetPostLogsParams, reqEditors ...RequestEditorFn) (*GetPostLogsResponse, 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)

	// 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)

	// DownloadBlueskyMediaWithResponse request
	DownloadBlueskyMediaWithResponse(ctx context.Context, params *DownloadBlueskyMediaParams, reqEditors ...RequestEditorFn) (*DownloadBlueskyMediaResponse, error)

	// DownloadFacebookVideoWithResponse request
	DownloadFacebookVideoWithResponse(ctx context.Context, params *DownloadFacebookVideoParams, reqEditors ...RequestEditorFn) (*DownloadFacebookVideoResponse, error)

	// DownloadInstagramMediaWithResponse request
	DownloadInstagramMediaWithResponse(ctx context.Context, params *DownloadInstagramMediaParams, reqEditors ...RequestEditorFn) (*DownloadInstagramMediaResponse, error)

	// CheckInstagramHashtagsWithBodyWithResponse request with any body
	CheckInstagramHashtagsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CheckInstagramHashtagsResponse, error)

	CheckInstagramHashtagsWithResponse(ctx context.Context, body CheckInstagramHashtagsJSONRequestBody, reqEditors ...RequestEditorFn) (*CheckInstagramHashtagsResponse, error)

	// DownloadLinkedInVideoWithResponse request
	DownloadLinkedInVideoWithResponse(ctx context.Context, params *DownloadLinkedInVideoParams, reqEditors ...RequestEditorFn) (*DownloadLinkedInVideoResponse, error)

	// DownloadTikTokVideoWithResponse request
	DownloadTikTokVideoWithResponse(ctx context.Context, params *DownloadTikTokVideoParams, reqEditors ...RequestEditorFn) (*DownloadTikTokVideoResponse, error)

	// DownloadTwitterMediaWithResponse request
	DownloadTwitterMediaWithResponse(ctx context.Context, params *DownloadTwitterMediaParams, reqEditors ...RequestEditorFn) (*DownloadTwitterMediaResponse, 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)

	// DownloadYouTubeVideoWithResponse request
	DownloadYouTubeVideoWithResponse(ctx context.Context, params *DownloadYouTubeVideoParams, reqEditors ...RequestEditorFn) (*DownloadYouTubeVideoResponse, error)

	// GetYouTubeTranscriptWithResponse request
	GetYouTubeTranscriptWithResponse(ctx context.Context, params *GetYouTubeTranscriptParams, reqEditors ...RequestEditorFn) (*GetYouTubeTranscriptResponse, 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)

	// GetWebhookLogsWithResponse request
	GetWebhookLogsWithResponse(ctx context.Context, params *GetWebhookLogsParams, reqEditors ...RequestEditorFn) (*GetWebhookLogsResponse, 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)
}

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

Status returns HTTPResponse.Status

func (CompleteTelegramConnectResponse) StatusCode

func (r CompleteTelegramConnectResponse) 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

Status returns HTTPResponse.Status

func (ConnectBlueskyCredentialsResponse) StatusCode

func (r ConnectBlueskyCredentialsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ConnectionLog added in v0.0.8

type ConnectionLog struct {
	UnderscoreId *string `json:"_id,omitempty"`

	// AccountId The social account ID (present on successful connections and disconnects)
	AccountId *string `json:"accountId,omitempty"`

	// ConnectionMethod How the connection was initiated
	ConnectionMethod *ConnectionLogConnectionMethod `json:"connectionMethod,omitempty"`

	// Context Additional context about the connection attempt
	Context *struct {
		ConnectToken         *string `json:"connectToken,omitempty"`
		HasCustomRedirectUrl *bool   `json:"hasCustomRedirectUrl,omitempty"`
		InvitationToken      *string `json:"invitationToken,omitempty"`

		// IsBYOK Using bring-your-own-keys
		IsBYOK         *bool `json:"isBYOK,omitempty"`
		IsHeadlessMode *bool `json:"isHeadlessMode,omitempty"`
		IsReconnection *bool `json:"isReconnection,omitempty"`
	} `json:"context,omitempty"`
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// DurationMs How long the operation took in milliseconds
	DurationMs *int `json:"durationMs,omitempty"`

	// Error Error details (present on failed events)
	Error *struct {
		// Code Error code (e.g., oauth_denied, token_exchange_failed)
		Code *string `json:"code,omitempty"`

		// Message Human-readable error message
		Message *string `json:"message,omitempty"`

		// RawResponse Raw error response (truncated to 2000 chars)
		RawResponse *string `json:"rawResponse,omitempty"`
	} `json:"error,omitempty"`

	// EventType Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
	EventType *ConnectionLogEventType `json:"eventType,omitempty"`

	// Metadata Additional metadata
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	Platform  *ConnectionLogPlatform  `json:"platform,omitempty"`
	ProfileId *string                 `json:"profileId,omitempty"`

	// Success Success details (present on successful events)
	Success *struct {
		// AccountType Account type (personal, business, organization)
		AccountType *string `json:"accountType,omitempty"`
		DisplayName *string `json:"displayName,omitempty"`

		// Permissions OAuth scopes/permissions granted
		Permissions    *[]string  `json:"permissions,omitempty"`
		ProfilePicture *string    `json:"profilePicture,omitempty"`
		TokenExpiresAt *time.Time `json:"tokenExpiresAt,omitempty"`
		Username       *string    `json:"username,omitempty"`
	} `json:"success,omitempty"`

	// UserId User who owns the connection (may be null for early OAuth failures)
	UserId *string `json:"userId,omitempty"`
}

ConnectionLog Connection event log showing account connection/disconnection history

type ConnectionLogConnectionMethod added in v0.0.8

type ConnectionLogConnectionMethod string

ConnectionLogConnectionMethod How the connection was initiated

const (
	Credentials ConnectionLogConnectionMethod = "credentials"
	Invitation  ConnectionLogConnectionMethod = "invitation"
	Oauth       ConnectionLogConnectionMethod = "oauth"
)

Defines values for ConnectionLogConnectionMethod.

func (ConnectionLogConnectionMethod) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ConnectionLogConnectionMethod enum.

type ConnectionLogEventType added in v0.0.8

type ConnectionLogEventType string

ConnectionLogEventType Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed

const (
	ConnectionLogEventTypeConnectFailed    ConnectionLogEventType = "connect_failed"
	ConnectionLogEventTypeConnectSuccess   ConnectionLogEventType = "connect_success"
	ConnectionLogEventTypeDisconnect       ConnectionLogEventType = "disconnect"
	ConnectionLogEventTypeReconnectFailed  ConnectionLogEventType = "reconnect_failed"
	ConnectionLogEventTypeReconnectSuccess ConnectionLogEventType = "reconnect_success"
)

Defines values for ConnectionLogEventType.

func (ConnectionLogEventType) Valid added in v0.0.34

func (e ConnectionLogEventType) Valid() bool

Valid indicates whether the value is a known member of the ConnectionLogEventType enum.

type ConnectionLogPlatform added in v0.0.8

type ConnectionLogPlatform string

ConnectionLogPlatform defines model for ConnectionLog.Platform.

const (
	ConnectionLogPlatformBluesky        ConnectionLogPlatform = "bluesky"
	ConnectionLogPlatformFacebook       ConnectionLogPlatform = "facebook"
	ConnectionLogPlatformGooglebusiness ConnectionLogPlatform = "googlebusiness"
	ConnectionLogPlatformInstagram      ConnectionLogPlatform = "instagram"
	ConnectionLogPlatformLinkedin       ConnectionLogPlatform = "linkedin"
	ConnectionLogPlatformPinterest      ConnectionLogPlatform = "pinterest"
	ConnectionLogPlatformReddit         ConnectionLogPlatform = "reddit"
	ConnectionLogPlatformSnapchat       ConnectionLogPlatform = "snapchat"
	ConnectionLogPlatformTelegram       ConnectionLogPlatform = "telegram"
	ConnectionLogPlatformThreads        ConnectionLogPlatform = "threads"
	ConnectionLogPlatformTiktok         ConnectionLogPlatform = "tiktok"
	ConnectionLogPlatformTwitter        ConnectionLogPlatform = "twitter"
	ConnectionLogPlatformYoutube        ConnectionLogPlatform = "youtube"
)

Defines values for ConnectionLogPlatform.

func (ConnectionLogPlatform) Valid added in v0.0.34

func (e ConnectionLogPlatform) Valid() bool

Valid indicates whether the value is a known member of the ConnectionLogPlatform 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

Status returns HTTPResponse.Status

func (CreateAccountGroupResponse) StatusCode

func (r CreateAccountGroupResponse) 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 added in v0.0.26

type CreateApiKeyJSONBodyPermission string

CreateApiKeyJSONBodyPermission defines parameters for CreateApiKey.

const (
	CreateApiKeyJSONBodyPermissionRead      CreateApiKeyJSONBodyPermission = "read"
	CreateApiKeyJSONBodyPermissionReadWrite CreateApiKeyJSONBodyPermission = "read-write"
)

Defines values for CreateApiKeyJSONBodyPermission.

func (CreateApiKeyJSONBodyPermission) Valid added in v0.0.34

Valid indicates whether the value is a known member of the CreateApiKeyJSONBodyPermission enum.

type CreateApiKeyJSONBodyScope added in v0.0.26

type CreateApiKeyJSONBodyScope string

CreateApiKeyJSONBodyScope defines parameters for CreateApiKey.

const (
	CreateApiKeyJSONBodyScopeFull     CreateApiKeyJSONBodyScope = "full"
	CreateApiKeyJSONBodyScopeProfiles CreateApiKeyJSONBodyScope = "profiles"
)

Defines values for CreateApiKeyJSONBodyScope.

func (CreateApiKeyJSONBodyScope) Valid added in v0.0.34

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 CreateGoogleBusinessMediaJSONBody added in v0.0.5

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 added in v0.0.5

type CreateGoogleBusinessMediaJSONBodyCategory string

CreateGoogleBusinessMediaJSONBodyCategory defines parameters for CreateGoogleBusinessMedia.

Defines values for CreateGoogleBusinessMediaJSONBodyCategory.

func (CreateGoogleBusinessMediaJSONBodyCategory) Valid added in v0.0.34

Valid indicates whether the value is a known member of the CreateGoogleBusinessMediaJSONBodyCategory enum.

type CreateGoogleBusinessMediaJSONBodyMediaFormat added in v0.0.5

type CreateGoogleBusinessMediaJSONBodyMediaFormat string

CreateGoogleBusinessMediaJSONBodyMediaFormat defines parameters for CreateGoogleBusinessMedia.

Defines values for CreateGoogleBusinessMediaJSONBodyMediaFormat.

func (CreateGoogleBusinessMediaJSONBodyMediaFormat) Valid added in v0.0.34

Valid indicates whether the value is a known member of the CreateGoogleBusinessMediaJSONBodyMediaFormat enum.

type CreateGoogleBusinessMediaJSONRequestBody added in v0.0.5

type CreateGoogleBusinessMediaJSONRequestBody CreateGoogleBusinessMediaJSONBody

CreateGoogleBusinessMediaJSONRequestBody defines body for CreateGoogleBusinessMedia for application/json ContentType.

type CreateGoogleBusinessMediaResponse added in v0.0.5

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 added in v0.0.5

func ParseCreateGoogleBusinessMediaResponse(rsp *http.Response) (*CreateGoogleBusinessMediaResponse, error)

ParseCreateGoogleBusinessMediaResponse parses an HTTP response from a CreateGoogleBusinessMediaWithResponse call

func (CreateGoogleBusinessMediaResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (CreateGoogleBusinessMediaResponse) StatusCode added in v0.0.5

func (r CreateGoogleBusinessMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type CreateGoogleBusinessPlaceActionJSONBody added in v0.0.5

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 added in v0.0.5

type CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType string

CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType defines parameters for CreateGoogleBusinessPlaceAction.

Defines values for CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType.

func (CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the CreateGoogleBusinessPlaceActionJSONBodyPlaceActionType enum.

type CreateGoogleBusinessPlaceActionJSONRequestBody added in v0.0.5

type CreateGoogleBusinessPlaceActionJSONRequestBody CreateGoogleBusinessPlaceActionJSONBody

CreateGoogleBusinessPlaceActionJSONRequestBody defines body for CreateGoogleBusinessPlaceAction for application/json ContentType.

type CreateGoogleBusinessPlaceActionResponse added in v0.0.5

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 added in v0.0.5

func ParseCreateGoogleBusinessPlaceActionResponse(rsp *http.Response) (*CreateGoogleBusinessPlaceActionResponse, error)

ParseCreateGoogleBusinessPlaceActionResponse parses an HTTP response from a CreateGoogleBusinessPlaceActionWithResponse call

func (CreateGoogleBusinessPlaceActionResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (CreateGoogleBusinessPlaceActionResponse) StatusCode added in v0.0.5

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 added in v0.0.34

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"`
	Hashtags            *[]string `json:"hashtags,omitempty"`
	IsDraft             *bool     `json:"isDraft,omitempty"`
	MediaItems          *[]struct {
		Type *CreatePostJSONBodyMediaItemsType `json:"type,omitempty"`
		Url  *string                           `json:"url,omitempty"`
	} `json:"mediaItems,omitempty"`
	Mentions  *[]string               `json:"mentions,omitempty"`
	Metadata  *map[string]interface{} `json:"metadata,omitempty"`
	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.
	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 added in v0.0.34

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 added in v0.0.34

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 CreateWebhookSettingsJSONBody

type CreateWebhookSettingsJSONBody struct {
	// CustomHeaders Custom headers to include in webhook requests
	CustomHeaders *map[string]string `json:"customHeaders,omitempty"`

	// Events Events to subscribe to
	Events *[]CreateWebhookSettingsJSONBodyEvents `json:"events,omitempty"`

	// IsActive Enable or disable webhook delivery
	IsActive *bool `json:"isActive,omitempty"`

	// Name Webhook name (max 50 characters)
	Name *string `json:"name,omitempty"`

	// Secret Secret key for HMAC-SHA256 signature verification
	Secret *string `json:"secret,omitempty"`

	// Url Webhook endpoint URL (must be HTTPS in production)
	Url *string `json:"url,omitempty"`
}

CreateWebhookSettingsJSONBody defines parameters for CreateWebhookSettings.

type CreateWebhookSettingsJSONBodyEvents

type CreateWebhookSettingsJSONBodyEvents string

CreateWebhookSettingsJSONBodyEvents defines parameters for CreateWebhookSettings.

const (
	CreateWebhookSettingsJSONBodyEventsAccountConnected    CreateWebhookSettingsJSONBodyEvents = "account.connected"
	CreateWebhookSettingsJSONBodyEventsAccountDisconnected CreateWebhookSettingsJSONBodyEvents = "account.disconnected"
	CreateWebhookSettingsJSONBodyEventsCommentReceived     CreateWebhookSettingsJSONBodyEvents = "comment.received"
	CreateWebhookSettingsJSONBodyEventsMessageReceived     CreateWebhookSettingsJSONBodyEvents = "message.received"
	CreateWebhookSettingsJSONBodyEventsPostFailed          CreateWebhookSettingsJSONBodyEvents = "post.failed"
	CreateWebhookSettingsJSONBodyEventsPostPartial         CreateWebhookSettingsJSONBodyEvents = "post.partial"
	CreateWebhookSettingsJSONBodyEventsPostPublished       CreateWebhookSettingsJSONBodyEvents = "post.published"
	CreateWebhookSettingsJSONBodyEventsPostRecycled        CreateWebhookSettingsJSONBodyEvents = "post.recycled"
	CreateWebhookSettingsJSONBodyEventsPostScheduled       CreateWebhookSettingsJSONBodyEvents = "post.scheduled"
)

Defines values for CreateWebhookSettingsJSONBodyEvents.

func (CreateWebhookSettingsJSONBodyEvents) Valid added in v0.0.34

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

Status returns HTTPResponse.Status

func (CreateWebhookSettingsResponse) StatusCode

func (r CreateWebhookSettingsResponse) 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

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 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 DeleteGoogleBusinessMediaParams added in v0.0.5

type DeleteGoogleBusinessMediaParams struct {
	// MediaId The media item ID to delete
	MediaId string `form:"mediaId" json:"mediaId"`
}

DeleteGoogleBusinessMediaParams defines parameters for DeleteGoogleBusinessMedia.

type DeleteGoogleBusinessMediaResponse added in v0.0.5

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 added in v0.0.5

func ParseDeleteGoogleBusinessMediaResponse(rsp *http.Response) (*DeleteGoogleBusinessMediaResponse, error)

ParseDeleteGoogleBusinessMediaResponse parses an HTTP response from a DeleteGoogleBusinessMediaWithResponse call

func (DeleteGoogleBusinessMediaResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (DeleteGoogleBusinessMediaResponse) StatusCode added in v0.0.5

func (r DeleteGoogleBusinessMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteGoogleBusinessPlaceActionParams added in v0.0.5

type DeleteGoogleBusinessPlaceActionParams struct {
	// 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 added in v0.0.5

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 added in v0.0.5

func ParseDeleteGoogleBusinessPlaceActionResponse(rsp *http.Response) (*DeleteGoogleBusinessPlaceActionResponse, error)

ParseDeleteGoogleBusinessPlaceActionResponse parses an HTTP response from a DeleteGoogleBusinessPlaceActionWithResponse call

func (DeleteGoogleBusinessPlaceActionResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (DeleteGoogleBusinessPlaceActionResponse) StatusCode added in v0.0.5

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

Status returns HTTPResponse.Status

func (DeleteInboxCommentResponse) StatusCode

func (r DeleteInboxCommentResponse) 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

Status returns HTTPResponse.Status

func (DeleteInboxReviewReplyResponse) StatusCode

func (r DeleteInboxReviewReplyResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteInstagramIceBreakersResponse added in v0.0.10

type DeleteInstagramIceBreakersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseDeleteInstagramIceBreakersResponse added in v0.0.10

func ParseDeleteInstagramIceBreakersResponse(rsp *http.Response) (*DeleteInstagramIceBreakersResponse, error)

ParseDeleteInstagramIceBreakersResponse parses an HTTP response from a DeleteInstagramIceBreakersWithResponse call

func (DeleteInstagramIceBreakersResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (DeleteInstagramIceBreakersResponse) StatusCode added in v0.0.10

func (r DeleteInstagramIceBreakersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DeleteMessengerMenuResponse added in v0.0.10

type DeleteMessengerMenuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseDeleteMessengerMenuResponse added in v0.0.10

func ParseDeleteMessengerMenuResponse(rsp *http.Response) (*DeleteMessengerMenuResponse, error)

ParseDeleteMessengerMenuResponse parses an HTTP response from a DeleteMessengerMenuWithResponse call

func (DeleteMessengerMenuResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (DeleteMessengerMenuResponse) StatusCode added in v0.0.10

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 DeleteTelegramCommandsResponse added in v0.0.10

type DeleteTelegramCommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseDeleteTelegramCommandsResponse added in v0.0.10

func ParseDeleteTelegramCommandsResponse(rsp *http.Response) (*DeleteTelegramCommandsResponse, error)

ParseDeleteTelegramCommandsResponse parses an HTTP response from a DeleteTelegramCommandsWithResponse call

func (DeleteTelegramCommandsResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (DeleteTelegramCommandsResponse) StatusCode added in v0.0.10

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

Status returns HTTPResponse.Status

func (DeleteWebhookSettingsResponse) StatusCode

func (r DeleteWebhookSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadBlueskyMediaParams

type DownloadBlueskyMediaParams struct {
	// Url Bluesky post URL
	Url string `form:"url" json:"url"`
}

DownloadBlueskyMediaParams defines parameters for DownloadBlueskyMedia.

type DownloadBlueskyMediaResponse

type DownloadBlueskyMediaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Success     *bool   `json:"success,omitempty"`
		Text        *string `json:"text,omitempty"`
		Thumbnail   *string `json:"thumbnail,omitempty"`
		Title       *string `json:"title,omitempty"`
	}
}

func ParseDownloadBlueskyMediaResponse

func ParseDownloadBlueskyMediaResponse(rsp *http.Response) (*DownloadBlueskyMediaResponse, error)

ParseDownloadBlueskyMediaResponse parses an HTTP response from a DownloadBlueskyMediaWithResponse call

func (DownloadBlueskyMediaResponse) Status

Status returns HTTPResponse.Status

func (DownloadBlueskyMediaResponse) StatusCode

func (r DownloadBlueskyMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadFacebookVideoParams

type DownloadFacebookVideoParams struct {
	// Url Facebook video or reel URL
	Url string `form:"url" json:"url"`
}

DownloadFacebookVideoParams defines parameters for DownloadFacebookVideo.

type DownloadFacebookVideoResponse

type DownloadFacebookVideoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Success     *bool   `json:"success,omitempty"`
		Thumbnail   *string `json:"thumbnail,omitempty"`
		Title       *string `json:"title,omitempty"`
	}
}

func ParseDownloadFacebookVideoResponse

func ParseDownloadFacebookVideoResponse(rsp *http.Response) (*DownloadFacebookVideoResponse, error)

ParseDownloadFacebookVideoResponse parses an HTTP response from a DownloadFacebookVideoWithResponse call

func (DownloadFacebookVideoResponse) Status

Status returns HTTPResponse.Status

func (DownloadFacebookVideoResponse) StatusCode

func (r DownloadFacebookVideoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadInstagramMediaParams

type DownloadInstagramMediaParams struct {
	// Url Instagram reel or post URL
	Url string `form:"url" json:"url"`
}

DownloadInstagramMediaParams defines parameters for DownloadInstagramMedia.

type DownloadInstagramMediaResponse

type DownloadInstagramMediaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Success     *bool   `json:"success,omitempty"`
		Title       *string `json:"title,omitempty"`
	}
}

func ParseDownloadInstagramMediaResponse

func ParseDownloadInstagramMediaResponse(rsp *http.Response) (*DownloadInstagramMediaResponse, error)

ParseDownloadInstagramMediaResponse parses an HTTP response from a DownloadInstagramMediaWithResponse call

func (DownloadInstagramMediaResponse) Status

Status returns HTTPResponse.Status

func (DownloadInstagramMediaResponse) StatusCode

func (r DownloadInstagramMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadLinkedInVideoParams

type DownloadLinkedInVideoParams struct {
	// Url LinkedIn post URL
	Url string `form:"url" json:"url"`
}

DownloadLinkedInVideoParams defines parameters for DownloadLinkedInVideo.

type DownloadLinkedInVideoResponse

type DownloadLinkedInVideoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Success     *bool   `json:"success,omitempty"`
		Title       *string `json:"title,omitempty"`
	}
}

func ParseDownloadLinkedInVideoResponse

func ParseDownloadLinkedInVideoResponse(rsp *http.Response) (*DownloadLinkedInVideoResponse, error)

ParseDownloadLinkedInVideoResponse parses an HTTP response from a DownloadLinkedInVideoWithResponse call

func (DownloadLinkedInVideoResponse) Status

Status returns HTTPResponse.Status

func (DownloadLinkedInVideoResponse) StatusCode

func (r DownloadLinkedInVideoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadTikTokVideoParams

type DownloadTikTokVideoParams struct {
	// Url TikTok video URL or ID
	Url string `form:"url" json:"url"`

	// Action 'formats' to list available formats
	Action *DownloadTikTokVideoParamsAction `form:"action,omitempty" json:"action,omitempty"`

	// FormatId Specific format ID (0 = no watermark, etc.)
	FormatId *string `form:"formatId,omitempty" json:"formatId,omitempty"`
}

DownloadTikTokVideoParams defines parameters for DownloadTikTokVideo.

type DownloadTikTokVideoParamsAction

type DownloadTikTokVideoParamsAction string

DownloadTikTokVideoParamsAction defines parameters for DownloadTikTokVideo.

const (
	DownloadTikTokVideoParamsActionDownload DownloadTikTokVideoParamsAction = "download"
	DownloadTikTokVideoParamsActionFormats  DownloadTikTokVideoParamsAction = "formats"
)

Defines values for DownloadTikTokVideoParamsAction.

func (DownloadTikTokVideoParamsAction) Valid added in v0.0.34

Valid indicates whether the value is a known member of the DownloadTikTokVideoParamsAction enum.

type DownloadTikTokVideoResponse

type DownloadTikTokVideoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Formats     *[]struct {
			Ext   *string `json:"ext,omitempty"`
			Id    *string `json:"id,omitempty"`
			Label *string `json:"label,omitempty"`
		} `json:"formats,omitempty"`
		Success *bool   `json:"success,omitempty"`
		Title   *string `json:"title,omitempty"`
	}
}

func ParseDownloadTikTokVideoResponse

func ParseDownloadTikTokVideoResponse(rsp *http.Response) (*DownloadTikTokVideoResponse, error)

ParseDownloadTikTokVideoResponse parses an HTTP response from a DownloadTikTokVideoWithResponse call

func (DownloadTikTokVideoResponse) Status

Status returns HTTPResponse.Status

func (DownloadTikTokVideoResponse) StatusCode

func (r DownloadTikTokVideoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadTwitterMediaParams

type DownloadTwitterMediaParams struct {
	// Url Twitter/X post URL
	Url      string                            `form:"url" json:"url"`
	Action   *DownloadTwitterMediaParamsAction `form:"action,omitempty" json:"action,omitempty"`
	FormatId *string                           `form:"formatId,omitempty" json:"formatId,omitempty"`
}

DownloadTwitterMediaParams defines parameters for DownloadTwitterMedia.

type DownloadTwitterMediaParamsAction

type DownloadTwitterMediaParamsAction string

DownloadTwitterMediaParamsAction defines parameters for DownloadTwitterMedia.

const (
	DownloadTwitterMediaParamsActionDownload DownloadTwitterMediaParamsAction = "download"
	DownloadTwitterMediaParamsActionFormats  DownloadTwitterMediaParamsAction = "formats"
)

Defines values for DownloadTwitterMediaParamsAction.

func (DownloadTwitterMediaParamsAction) Valid added in v0.0.34

Valid indicates whether the value is a known member of the DownloadTwitterMediaParamsAction enum.

type DownloadTwitterMediaResponse

type DownloadTwitterMediaResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Success     *bool   `json:"success,omitempty"`
		Title       *string `json:"title,omitempty"`
	}
}

func ParseDownloadTwitterMediaResponse

func ParseDownloadTwitterMediaResponse(rsp *http.Response) (*DownloadTwitterMediaResponse, error)

ParseDownloadTwitterMediaResponse parses an HTTP response from a DownloadTwitterMediaWithResponse call

func (DownloadTwitterMediaResponse) Status

Status returns HTTPResponse.Status

func (DownloadTwitterMediaResponse) StatusCode

func (r DownloadTwitterMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type DownloadYouTubeVideoParams

type DownloadYouTubeVideoParams struct {
	// Url YouTube video URL or video ID
	Url string `form:"url" json:"url"`

	// Action Action to perform: 'download' returns download URL, 'formats' lists available formats
	Action *DownloadYouTubeVideoParamsAction `form:"action,omitempty" json:"action,omitempty"`

	// Format Desired format (when action=download)
	Format *DownloadYouTubeVideoParamsFormat `form:"format,omitempty" json:"format,omitempty"`

	// Quality Desired quality (when action=download)
	Quality *DownloadYouTubeVideoParamsQuality `form:"quality,omitempty" json:"quality,omitempty"`

	// FormatId Specific format ID from formats list
	FormatId *string `form:"formatId,omitempty" json:"formatId,omitempty"`
}

DownloadYouTubeVideoParams defines parameters for DownloadYouTubeVideo.

type DownloadYouTubeVideoParamsAction

type DownloadYouTubeVideoParamsAction string

DownloadYouTubeVideoParamsAction defines parameters for DownloadYouTubeVideo.

const (
	Download DownloadYouTubeVideoParamsAction = "download"
	Formats  DownloadYouTubeVideoParamsAction = "formats"
)

Defines values for DownloadYouTubeVideoParamsAction.

func (DownloadYouTubeVideoParamsAction) Valid added in v0.0.34

Valid indicates whether the value is a known member of the DownloadYouTubeVideoParamsAction enum.

type DownloadYouTubeVideoParamsFormat

type DownloadYouTubeVideoParamsFormat string

DownloadYouTubeVideoParamsFormat defines parameters for DownloadYouTubeVideo.

const (
	DownloadYouTubeVideoParamsFormatAudio DownloadYouTubeVideoParamsFormat = "audio"
	DownloadYouTubeVideoParamsFormatVideo DownloadYouTubeVideoParamsFormat = "video"
)

Defines values for DownloadYouTubeVideoParamsFormat.

func (DownloadYouTubeVideoParamsFormat) Valid added in v0.0.34

Valid indicates whether the value is a known member of the DownloadYouTubeVideoParamsFormat enum.

type DownloadYouTubeVideoParamsQuality

type DownloadYouTubeVideoParamsQuality string

DownloadYouTubeVideoParamsQuality defines parameters for DownloadYouTubeVideo.

Defines values for DownloadYouTubeVideoParamsQuality.

func (DownloadYouTubeVideoParamsQuality) Valid added in v0.0.34

Valid indicates whether the value is a known member of the DownloadYouTubeVideoParamsQuality enum.

type DownloadYouTubeVideoResponse

type DownloadYouTubeVideoResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		DownloadUrl *string `json:"downloadUrl,omitempty"`
		Formats     *[]struct {
			Ext    *string `json:"ext,omitempty"`
			Height *int    `json:"height,omitempty"`
			Id     *string `json:"id,omitempty"`
			Label  *string `json:"label,omitempty"`
			Type   *string `json:"type,omitempty"`
			Width  *int    `json:"width,omitempty"`
		} `json:"formats,omitempty"`
		Success *bool   `json:"success,omitempty"`
		Title   *string `json:"title,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseDownloadYouTubeVideoResponse

func ParseDownloadYouTubeVideoResponse(rsp *http.Response) (*DownloadYouTubeVideoResponse, error)

ParseDownloadYouTubeVideoResponse parses an HTTP response from a DownloadYouTubeVideoWithResponse call

func (DownloadYouTubeVideoResponse) Status

Status returns HTTPResponse.Status

func (DownloadYouTubeVideoResponse) StatusCode

func (r DownloadYouTubeVideoResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type EditInboxMessageJSONBody added in v0.0.10

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 added in v0.0.10

type EditInboxMessageJSONBodyReplyMarkupType string

EditInboxMessageJSONBodyReplyMarkupType defines parameters for EditInboxMessage.

const (
	EditInboxMessageJSONBodyReplyMarkupTypeInlineKeyboard EditInboxMessageJSONBodyReplyMarkupType = "inline_keyboard"
)

Defines values for EditInboxMessageJSONBodyReplyMarkupType.

func (EditInboxMessageJSONBodyReplyMarkupType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the EditInboxMessageJSONBodyReplyMarkupType enum.

type EditInboxMessageJSONRequestBody added in v0.0.10

type EditInboxMessageJSONRequestBody EditInboxMessageJSONBody

EditInboxMessageJSONRequestBody defines body for EditInboxMessage for application/json ContentType.

type EditInboxMessageResponse added in v0.0.10

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 added in v0.0.10

func ParseEditInboxMessageResponse(rsp *http.Response) (*EditInboxMessageResponse, error)

ParseEditInboxMessageResponse parses an HTTP response from a EditInboxMessageWithResponse call

func (EditInboxMessageResponse) Status added in v0.0.10

func (r EditInboxMessageResponse) Status() string

Status returns HTTPResponse.Status

func (EditInboxMessageResponse) StatusCode added in v0.0.10

func (r EditInboxMessageResponse) 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"`

	// FirstComment Optional first comment to post immediately after publishing (feed posts only, not stories or reels)
	FirstComment *string `json:"firstComment,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).

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 added in v0.0.34

Valid indicates whether the value is a known member of the FacebookPlatformDataContentType enum.

type FoodMenu added in v0.0.4

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 added in v0.0.4

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 added in v0.0.4

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 added in v0.0.4

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 added in v0.0.4

type FoodMenuSection struct {
	Items  *[]FoodMenuItem `json:"items,omitempty"`
	Labels []FoodMenuLabel `json:"labels"`
}

FoodMenuSection defines model for FoodMenuSection.

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 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"
	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 added in v0.0.34

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 added in v0.0.34

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

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 Late Post IDs and External Post IDs. Late 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"`

	// Source Filter by post source: late (posted via Late API), external (synced from platform), all (default)
	Source *GetAnalyticsParamsSource `form:"source,omitempty" json:"source,omitempty"`

	// FromDate Inclusive lower bound
	FromDate *openapi_types.Date `form:"fromDate,omitempty" json:"fromDate,omitempty"`

	// ToDate Inclusive upper bound
	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 or engagement
	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 added in v0.0.34

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 (
	GetAnalyticsParamsSortByDate       GetAnalyticsParamsSortBy = "date"
	GetAnalyticsParamsSortByEngagement GetAnalyticsParamsSortBy = "engagement"
)

Defines values for GetAnalyticsParamsSortBy.

func (GetAnalyticsParamsSortBy) Valid added in v0.0.34

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 added in v0.0.34

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
	}
	JSON401 *Unauthorized
	JSON402 *struct {
		Code  *string `json:"code,omitempty"`
		Error *string `json:"error,omitempty"`
	}
	JSON404 *NotFound
	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 added in v0.0.32

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

	// Source Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
	Source *GetBestTimeToPostParamsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetBestTimeToPostParams defines parameters for GetBestTimeToPost.

type GetBestTimeToPostParamsSource added in v0.0.36

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 added in v0.0.36

Valid indicates whether the value is a known member of the GetBestTimeToPostParamsSource enum.

type GetBestTimeToPostResponse added in v0.0.32

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 added in v0.0.32

func ParseGetBestTimeToPostResponse(rsp *http.Response) (*GetBestTimeToPostResponse, error)

ParseGetBestTimeToPostResponse parses an HTTP response from a GetBestTimeToPostWithResponse call

func (GetBestTimeToPostResponse) Status added in v0.0.32

func (r GetBestTimeToPostResponse) Status() string

Status returns HTTPResponse.Status

func (GetBestTimeToPostResponse) StatusCode added in v0.0.32

func (r GetBestTimeToPostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetConnectUrlParams

type GetConnectUrlParams struct {
	// ProfileId Your Late 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&username=Y. Headless mode appends OAuth data params.
	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 Late'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"
	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 added in v0.0.34

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 GetContentDecayParams added in v0.0.32

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

	// Source Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
	Source *GetContentDecayParamsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetContentDecayParams defines parameters for GetContentDecay.

type GetContentDecayParamsSource added in v0.0.36

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 added in v0.0.36

Valid indicates whether the value is a known member of the GetContentDecayParamsSource enum.

type GetContentDecayResponse added in v0.0.32

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 added in v0.0.32

func ParseGetContentDecayResponse(rsp *http.Response) (*GetContentDecayResponse, error)

ParseGetContentDecayResponse parses an HTTP response from a GetContentDecayWithResponse call

func (GetContentDecayResponse) Status added in v0.0.32

func (r GetContentDecayResponse) Status() string

Status returns HTTPResponse.Status

func (GetContentDecayResponse) StatusCode added in v0.0.32

func (r GetContentDecayResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetDailyMetricsParams added in v0.0.32

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

	// 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 Late, "external" for posts imported from platforms.
	Source *GetDailyMetricsParamsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetDailyMetricsParams defines parameters for GetDailyMetrics.

type GetDailyMetricsParamsSource added in v0.0.36

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 added in v0.0.36

Valid indicates whether the value is a known member of the GetDailyMetricsParamsSource enum.

type GetDailyMetricsResponse added in v0.0.32

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 added in v0.0.32

func ParseGetDailyMetricsResponse(rsp *http.Response) (*GetDailyMetricsResponse, error)

ParseGetDailyMetricsResponse parses an HTTP response from a GetDailyMetricsWithResponse call

func (GetDailyMetricsResponse) Status added in v0.0.32

func (r GetDailyMetricsResponse) Status() string

Status returns HTTPResponse.Status

func (GetDailyMetricsResponse) StatusCode added in v0.0.32

func (r GetDailyMetricsResponse) 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 added in v0.0.34

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 GetGoogleBusinessAttributesResponse added in v0.0.5

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 added in v0.0.5

func ParseGetGoogleBusinessAttributesResponse(rsp *http.Response) (*GetGoogleBusinessAttributesResponse, error)

ParseGetGoogleBusinessAttributesResponse parses an HTTP response from a GetGoogleBusinessAttributesWithResponse call

func (GetGoogleBusinessAttributesResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (GetGoogleBusinessAttributesResponse) StatusCode added in v0.0.5

StatusCode returns HTTPResponse.StatusCode

type GetGoogleBusinessFoodMenusResponse added in v0.0.4

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 added in v0.0.4

func ParseGetGoogleBusinessFoodMenusResponse(rsp *http.Response) (*GetGoogleBusinessFoodMenusResponse, error)

ParseGetGoogleBusinessFoodMenusResponse parses an HTTP response from a GetGoogleBusinessFoodMenusWithResponse call

func (GetGoogleBusinessFoodMenusResponse) Status added in v0.0.4

Status returns HTTPResponse.Status

func (GetGoogleBusinessFoodMenusResponse) StatusCode added in v0.0.4

func (r GetGoogleBusinessFoodMenusResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay added in v0.0.5

type GetGoogleBusinessLocationDetails200RegularHoursPeriodsOpenDay string

type GetGoogleBusinessLocationDetailsParams added in v0.0.5

type GetGoogleBusinessLocationDetailsParams struct {
	// ReadMask Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
	ReadMask *string `form:"readMask,omitempty" json:"readMask,omitempty"`
}

GetGoogleBusinessLocationDetailsParams defines parameters for GetGoogleBusinessLocationDetails.

type GetGoogleBusinessLocationDetailsResponse added in v0.0.5

type GetGoogleBusinessLocationDetailsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		AccountId    *string `json:"accountId,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"`
		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 added in v0.0.5

func ParseGetGoogleBusinessLocationDetailsResponse(rsp *http.Response) (*GetGoogleBusinessLocationDetailsResponse, error)

ParseGetGoogleBusinessLocationDetailsResponse parses an HTTP response from a GetGoogleBusinessLocationDetailsWithResponse call

func (GetGoogleBusinessLocationDetailsResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (GetGoogleBusinessLocationDetailsResponse) StatusCode added in v0.0.5

StatusCode returns HTTPResponse.StatusCode

type GetGoogleBusinessReviews200ReviewsStarRating

type GetGoogleBusinessReviews200ReviewsStarRating string

type GetGoogleBusinessReviewsParams

type GetGoogleBusinessReviewsParams struct {
	// 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

Status returns HTTPResponse.Status

func (GetGoogleBusinessReviewsResponse) StatusCode

func (r GetGoogleBusinessReviewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInboxConversation200DataStatus

type GetInboxConversation200DataStatus string

type GetInboxConversationMessages200MessagesAttachmentsType

type GetInboxConversationMessages200MessagesAttachmentsType string

type GetInboxConversationMessages200MessagesDirection

type GetInboxConversationMessages200MessagesDirection string

type GetInboxConversationMessagesParams

type GetInboxConversationMessagesParams struct {
	// AccountId Social account ID
	AccountId string `form:"accountId" json:"accountId"`
}

GetInboxConversationMessagesParams defines parameters for GetInboxConversationMessages.

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"`
			Direction      *GetInboxConversationMessages200MessagesDirection `json:"direction,omitempty"`
			Id             *string                                           `json:"id,omitempty"`

			// IsStoryMention Instagram story mention
			IsStoryMention *bool   `json:"isStoryMention,omitempty"`
			Message        *string `json:"message,omitempty"`
			Platform       *string `json:"platform,omitempty"`
			SenderId       *string `json:"senderId,omitempty"`
			SenderName     *string `json:"senderName,omitempty"`

			// StoryReply Instagram story reply
			StoryReply *bool `json:"storyReply,omitempty"`

			// Subject Reddit message subject
			Subject *string `json:"subject,omitempty"`
		} `json:"messages,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

Status returns HTTPResponse.Status

func (GetInboxConversationMessagesResponse) StatusCode

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

Status returns HTTPResponse.Status

func (GetInboxConversationResponse) StatusCode

func (r GetInboxConversationResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

Status returns HTTPResponse.Status

func (GetInboxPostCommentsResponse) StatusCode

func (r GetInboxPostCommentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetInstagramIceBreakersResponse added in v0.0.10

type GetInstagramIceBreakersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *[]map[string]interface{} `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseGetInstagramIceBreakersResponse added in v0.0.10

func ParseGetInstagramIceBreakersResponse(rsp *http.Response) (*GetInstagramIceBreakersResponse, error)

ParseGetInstagramIceBreakersResponse parses an HTTP response from a GetInstagramIceBreakersWithResponse call

func (GetInstagramIceBreakersResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (GetInstagramIceBreakersResponse) StatusCode added in v0.0.10

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. 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 added in v0.0.34

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

Status returns HTTPResponse.Status

func (GetLinkedInAggregateAnalyticsResponse) StatusCode

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

Status returns HTTPResponse.Status

func (GetLinkedInMentionsResponse) StatusCode

func (r GetLinkedInMentionsResponse) 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

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

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

Status returns HTTPResponse.Status

func (GetLinkedInPostAnalyticsResponse) StatusCode

func (r GetLinkedInPostAnalyticsResponse) 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 added in v0.0.34

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

Status returns HTTPResponse.Status

func (GetMediaPresignedUrlResponse) StatusCode

func (r GetMediaPresignedUrlResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetMessengerMenuResponse added in v0.0.10

type GetMessengerMenuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Data *[]map[string]interface{} `json:"data,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseGetMessengerMenuResponse added in v0.0.10

func ParseGetMessengerMenuResponse(rsp *http.Response) (*GetMessengerMenuResponse, error)

ParseGetMessengerMenuResponse parses an HTTP response from a GetMessengerMenuWithResponse call

func (GetMessengerMenuResponse) Status added in v0.0.10

func (r GetMessengerMenuResponse) Status() string

Status returns HTTPResponse.Status

func (GetMessengerMenuResponse) StatusCode added in v0.0.10

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

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

Status returns HTTPResponse.Status

func (GetPinterestBoardsResponse) StatusCode

func (r GetPinterestBoardsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostLogsParams

type GetPostLogsParams struct {
	// Limit Maximum number of logs to return (max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`
}

GetPostLogsParams defines parameters for GetPostLogs.

type GetPostLogsResponse

type GetPostLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// Count Number of logs returned
		Count  *int       `json:"count,omitempty"`
		Logs   *[]PostLog `json:"logs,omitempty"`
		PostId *string    `json:"postId,omitempty"`
	}
	JSON401 *Unauthorized
	JSON404 *NotFound
}

func ParseGetPostLogsResponse

func ParseGetPostLogsResponse(rsp *http.Response) (*GetPostLogsResponse, error)

ParseGetPostLogsResponse parses an HTTP response from a GetPostLogsWithResponse call

func (GetPostLogsResponse) Status

func (r GetPostLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostLogsResponse) StatusCode

func (r GetPostLogsResponse) 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 added in v0.0.37

type GetPostTimelineParams struct {
	// PostId The post to fetch timeline for. Accepts an ExternalPost ID, a platformPostId, or a Late 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 added in v0.0.37

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 added in v0.0.37

func ParseGetPostTimelineResponse(rsp *http.Response) (*GetPostTimelineResponse, error)

ParseGetPostTimelineResponse parses an HTTP response from a GetPostTimelineWithResponse call

func (GetPostTimelineResponse) Status added in v0.0.37

func (r GetPostTimelineResponse) Status() string

Status returns HTTPResponse.Status

func (GetPostTimelineResponse) StatusCode added in v0.0.37

func (r GetPostTimelineResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetPostingFrequencyParams added in v0.0.32

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

	// Source Filter by post origin. "late" for posts published via Late, "external" for posts imported from platforms.
	Source *GetPostingFrequencyParamsSource `form:"source,omitempty" json:"source,omitempty"`
}

GetPostingFrequencyParams defines parameters for GetPostingFrequency.

type GetPostingFrequencyParamsSource added in v0.0.36

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 added in v0.0.36

Valid indicates whether the value is a known member of the GetPostingFrequencyParamsSource enum.

type GetPostingFrequencyResponse added in v0.0.32

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 added in v0.0.32

func ParseGetPostingFrequencyResponse(rsp *http.Response) (*GetPostingFrequencyResponse, error)

ParseGetPostingFrequencyResponse parses an HTTP response from a GetPostingFrequencyWithResponse call

func (GetPostingFrequencyResponse) Status added in v0.0.32

Status returns HTTPResponse.Status

func (GetPostingFrequencyResponse) StatusCode added in v0.0.32

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 added in v0.0.34

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 (
	All   GetRedditFeedParamsT = "all"
	Day   GetRedditFeedParamsT = "day"
	Hour  GetRedditFeedParamsT = "hour"
	Month GetRedditFeedParamsT = "month"
	Week  GetRedditFeedParamsT = "week"
	Year  GetRedditFeedParamsT = "year"
)

Defines values for GetRedditFeedParamsT.

func (GetRedditFeedParamsT) Valid added in v0.0.34

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"`
		Posts *[]map[string]interface{} `json:"posts,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 added in v0.0.12

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 added in v0.0.12

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 added in v0.0.12

func ParseGetRedditFlairsResponse(rsp *http.Response) (*GetRedditFlairsResponse, error)

ParseGetRedditFlairsResponse parses an HTTP response from a GetRedditFlairsWithResponse call

func (GetRedditFlairsResponse) Status added in v0.0.12

func (r GetRedditFlairsResponse) Status() string

Status returns HTTPResponse.Status

func (GetRedditFlairsResponse) StatusCode added in v0.0.12

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

Status returns HTTPResponse.Status

func (GetRedditSubredditsResponse) StatusCode

func (r GetRedditSubredditsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTelegramCommandsResponse added in v0.0.10

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 added in v0.0.10

func ParseGetTelegramCommandsResponse(rsp *http.Response) (*GetTelegramCommandsResponse, error)

ParseGetTelegramCommandsResponse parses an HTTP response from a GetTelegramCommandsWithResponse call

func (GetTelegramCommandsResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (GetTelegramCommandsResponse) StatusCode added in v0.0.10

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

Status returns HTTPResponse.Status

func (GetTelegramConnectStatusResponse) StatusCode

func (r GetTelegramConnectStatusResponse) 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 GetWebhookLogsParams

type GetWebhookLogsParams struct {
	// Limit Maximum number of logs to return (max 100)
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Status Filter by delivery status
	Status *GetWebhookLogsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Event Filter by event type
	Event *GetWebhookLogsParamsEvent `form:"event,omitempty" json:"event,omitempty"`

	// WebhookId Filter by webhook ID
	WebhookId *string `form:"webhookId,omitempty" json:"webhookId,omitempty"`
}

GetWebhookLogsParams defines parameters for GetWebhookLogs.

type GetWebhookLogsParamsEvent

type GetWebhookLogsParamsEvent string

GetWebhookLogsParamsEvent defines parameters for GetWebhookLogs.

const (
	GetWebhookLogsParamsEventAccountConnected    GetWebhookLogsParamsEvent = "account.connected"
	GetWebhookLogsParamsEventAccountDisconnected GetWebhookLogsParamsEvent = "account.disconnected"
	GetWebhookLogsParamsEventCommentReceived     GetWebhookLogsParamsEvent = "comment.received"
	GetWebhookLogsParamsEventMessageReceived     GetWebhookLogsParamsEvent = "message.received"
	GetWebhookLogsParamsEventPostFailed          GetWebhookLogsParamsEvent = "post.failed"
	GetWebhookLogsParamsEventPostPartial         GetWebhookLogsParamsEvent = "post.partial"
	GetWebhookLogsParamsEventPostPublished       GetWebhookLogsParamsEvent = "post.published"
	GetWebhookLogsParamsEventPostRecycled        GetWebhookLogsParamsEvent = "post.recycled"
	GetWebhookLogsParamsEventPostScheduled       GetWebhookLogsParamsEvent = "post.scheduled"
	GetWebhookLogsParamsEventWebhookTest         GetWebhookLogsParamsEvent = "webhook.test"
)

Defines values for GetWebhookLogsParamsEvent.

func (GetWebhookLogsParamsEvent) Valid added in v0.0.34

func (e GetWebhookLogsParamsEvent) Valid() bool

Valid indicates whether the value is a known member of the GetWebhookLogsParamsEvent enum.

type GetWebhookLogsParamsStatus

type GetWebhookLogsParamsStatus string

GetWebhookLogsParamsStatus defines parameters for GetWebhookLogs.

const (
	GetWebhookLogsParamsStatusFailed  GetWebhookLogsParamsStatus = "failed"
	GetWebhookLogsParamsStatusSuccess GetWebhookLogsParamsStatus = "success"
)

Defines values for GetWebhookLogsParamsStatus.

func (GetWebhookLogsParamsStatus) Valid added in v0.0.34

func (e GetWebhookLogsParamsStatus) Valid() bool

Valid indicates whether the value is a known member of the GetWebhookLogsParamsStatus enum.

type GetWebhookLogsResponse

type GetWebhookLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Logs *[]WebhookLog `json:"logs,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseGetWebhookLogsResponse

func ParseGetWebhookLogsResponse(rsp *http.Response) (*GetWebhookLogsResponse, error)

ParseGetWebhookLogsResponse parses an HTTP response from a GetWebhookLogsWithResponse call

func (GetWebhookLogsResponse) Status

func (r GetWebhookLogsResponse) Status() string

Status returns HTTPResponse.Status

func (GetWebhookLogsResponse) StatusCode

func (r GetWebhookLogsResponse) 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

Status returns HTTPResponse.Status

func (GetWebhookSettingsResponse) StatusCode

func (r GetWebhookSettingsResponse) 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 Late 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

Status returns HTTPResponse.Status

func (GetYouTubeDailyViewsResponse) StatusCode

func (r GetYouTubeDailyViewsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetYouTubeTranscriptParams

type GetYouTubeTranscriptParams struct {
	// Url YouTube video URL or video ID
	Url string `form:"url" json:"url"`

	// Lang Language code for transcript
	Lang *string `form:"lang,omitempty" json:"lang,omitempty"`
}

GetYouTubeTranscriptParams defines parameters for GetYouTubeTranscript.

type GetYouTubeTranscriptResponse

type GetYouTubeTranscriptResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		FullText *string `json:"fullText,omitempty"`
		Language *string `json:"language,omitempty"`
		Segments *[]struct {
			Duration *float32 `json:"duration,omitempty"`
			Start    *float32 `json:"start,omitempty"`
			Text     *string  `json:"text,omitempty"`
		} `json:"segments,omitempty"`
		Success *bool   `json:"success,omitempty"`
		VideoId *string `json:"videoId,omitempty"`
	}
}

func ParseGetYouTubeTranscriptResponse

func ParseGetYouTubeTranscriptResponse(rsp *http.Response) (*GetYouTubeTranscriptResponse, error)

ParseGetYouTubeTranscriptResponse parses an HTTP response from a GetYouTubeTranscriptWithResponse call

func (GetYouTubeTranscriptResponse) Status

Status returns HTTPResponse.Status

func (GetYouTubeTranscriptResponse) StatusCode

func (r GetYouTubeTranscriptResponse) 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"`

	// 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"`
}

GoogleBusinessPlatformData Text and single image only (no videos). Optional call-to-action button. Posts appear on GBP, Google Search, and Maps. Use locationId for multi-location posting.

type GoogleBusinessPlatformDataCallToActionType

type GoogleBusinessPlatformDataCallToActionType string

GoogleBusinessPlatformDataCallToActionType Button action type: LEARN_MORE, BOOK, ORDER, SHOP, SIGN_UP, CALL

Defines values for GoogleBusinessPlatformDataCallToActionType.

func (GoogleBusinessPlatformDataCallToActionType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the GoogleBusinessPlatformDataCallToActionType 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

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

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

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

Status returns HTTPResponse.Status

func (InitiateTelegramConnectResponse) StatusCode

func (r InitiateTelegramConnectResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

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

	// ShareToFeed For Reels only. When true (default), the Reel appears on both the Reels tab and your main profile feed. Set to false to post to the Reels tab only.
	ShareToFeed *bool `json:"shareToFeed,omitempty"`

	// ThumbOffset Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL 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 added in v0.0.34

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)

Defines values for InstagramPlatformDataTrialParamsGraduationStrategy.

func (InstagramPlatformDataTrialParamsGraduationStrategy) Valid added in v0.0.34

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 LimitParam

type LimitParam = int

LimitParam defines model for LimitParam.

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"`
		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 added in v0.0.34

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

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

Defines values for LinkedInAggregateAnalyticsTotalResponseAggregation.

func (LinkedInAggregateAnalyticsTotalResponseAggregation) Valid added in v0.0.34

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

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

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

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"`
	}
	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 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 ListConnectionLogsParams added in v0.0.8

type ListConnectionLogsParams struct {
	// Platform Filter by platform
	Platform *ListConnectionLogsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`

	// EventType Filter by event type
	EventType *ListConnectionLogsParamsEventType `form:"eventType,omitempty" json:"eventType,omitempty"`

	// Status Filter by status (shorthand for event types)
	Status *ListConnectionLogsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Days Number of days to look back (max 7)
	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"`
}

ListConnectionLogsParams defines parameters for ListConnectionLogs.

type ListConnectionLogsParamsEventType added in v0.0.8

type ListConnectionLogsParamsEventType string

ListConnectionLogsParamsEventType defines parameters for ListConnectionLogs.

const (
	ListConnectionLogsParamsEventTypeAll              ListConnectionLogsParamsEventType = "all"
	ListConnectionLogsParamsEventTypeConnectFailed    ListConnectionLogsParamsEventType = "connect_failed"
	ListConnectionLogsParamsEventTypeConnectSuccess   ListConnectionLogsParamsEventType = "connect_success"
	ListConnectionLogsParamsEventTypeDisconnect       ListConnectionLogsParamsEventType = "disconnect"
	ListConnectionLogsParamsEventTypeReconnectFailed  ListConnectionLogsParamsEventType = "reconnect_failed"
	ListConnectionLogsParamsEventTypeReconnectSuccess ListConnectionLogsParamsEventType = "reconnect_success"
)

Defines values for ListConnectionLogsParamsEventType.

func (ListConnectionLogsParamsEventType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ListConnectionLogsParamsEventType enum.

type ListConnectionLogsParamsPlatform added in v0.0.8

type ListConnectionLogsParamsPlatform string

ListConnectionLogsParamsPlatform defines parameters for ListConnectionLogs.

const (
	ListConnectionLogsParamsPlatformAll            ListConnectionLogsParamsPlatform = "all"
	ListConnectionLogsParamsPlatformBluesky        ListConnectionLogsParamsPlatform = "bluesky"
	ListConnectionLogsParamsPlatformFacebook       ListConnectionLogsParamsPlatform = "facebook"
	ListConnectionLogsParamsPlatformGooglebusiness ListConnectionLogsParamsPlatform = "googlebusiness"
	ListConnectionLogsParamsPlatformInstagram      ListConnectionLogsParamsPlatform = "instagram"
	ListConnectionLogsParamsPlatformLinkedin       ListConnectionLogsParamsPlatform = "linkedin"
	ListConnectionLogsParamsPlatformPinterest      ListConnectionLogsParamsPlatform = "pinterest"
	ListConnectionLogsParamsPlatformReddit         ListConnectionLogsParamsPlatform = "reddit"
	ListConnectionLogsParamsPlatformSnapchat       ListConnectionLogsParamsPlatform = "snapchat"
	ListConnectionLogsParamsPlatformTelegram       ListConnectionLogsParamsPlatform = "telegram"
	ListConnectionLogsParamsPlatformThreads        ListConnectionLogsParamsPlatform = "threads"
	ListConnectionLogsParamsPlatformTiktok         ListConnectionLogsParamsPlatform = "tiktok"
	ListConnectionLogsParamsPlatformTwitter        ListConnectionLogsParamsPlatform = "twitter"
	ListConnectionLogsParamsPlatformYoutube        ListConnectionLogsParamsPlatform = "youtube"
)

Defines values for ListConnectionLogsParamsPlatform.

func (ListConnectionLogsParamsPlatform) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ListConnectionLogsParamsPlatform enum.

type ListConnectionLogsParamsStatus added in v0.0.8

type ListConnectionLogsParamsStatus string

ListConnectionLogsParamsStatus defines parameters for ListConnectionLogs.

const (
	ListConnectionLogsParamsStatusAll     ListConnectionLogsParamsStatus = "all"
	ListConnectionLogsParamsStatusFailed  ListConnectionLogsParamsStatus = "failed"
	ListConnectionLogsParamsStatusSuccess ListConnectionLogsParamsStatus = "success"
)

Defines values for ListConnectionLogsParamsStatus.

func (ListConnectionLogsParamsStatus) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ListConnectionLogsParamsStatus enum.

type ListConnectionLogsResponse added in v0.0.8

type ListConnectionLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Logs       *[]ConnectionLog `json:"logs,omitempty"`
		Pagination *struct {
			HasMore *bool `json:"hasMore,omitempty"`
			Limit   *int  `json:"limit,omitempty"`

			// Pages Total number of pages
			Pages *int `json:"pages,omitempty"`
			Skip  *int `json:"skip,omitempty"`

			// Total Total number of logs matching the query
			Total *int `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseListConnectionLogsResponse added in v0.0.8

func ParseListConnectionLogsResponse(rsp *http.Response) (*ListConnectionLogsResponse, error)

ParseListConnectionLogsResponse parses an HTTP response from a ListConnectionLogsWithResponse call

func (ListConnectionLogsResponse) Status added in v0.0.8

Status returns HTTPResponse.Status

func (ListConnectionLogsResponse) StatusCode added in v0.0.8

func (r ListConnectionLogsResponse) 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
	ProfileId string `form:"profileId" json:"profileId"`

	// TempToken Temporary Google access token from the OAuth callback redirect
	TempToken string `form:"tempToken" json:"tempToken"`
}

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

Status returns HTTPResponse.Status

func (ListGoogleBusinessLocationsResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListGoogleBusinessMedia200MediaItemsMediaFormat added in v0.0.5

type ListGoogleBusinessMedia200MediaItemsMediaFormat string

type ListGoogleBusinessMediaParams added in v0.0.5

type ListGoogleBusinessMediaParams struct {
	// 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 added in v0.0.5

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 added in v0.0.5

func ParseListGoogleBusinessMediaResponse(rsp *http.Response) (*ListGoogleBusinessMediaResponse, error)

ParseListGoogleBusinessMediaResponse parses an HTTP response from a ListGoogleBusinessMediaWithResponse call

func (ListGoogleBusinessMediaResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (ListGoogleBusinessMediaResponse) StatusCode added in v0.0.5

func (r ListGoogleBusinessMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListGoogleBusinessPlaceActionsParams added in v0.0.5

type ListGoogleBusinessPlaceActionsParams struct {
	PageSize  *int    `form:"pageSize,omitempty" json:"pageSize,omitempty"`
	PageToken *string `form:"pageToken,omitempty" json:"pageToken,omitempty"`
}

ListGoogleBusinessPlaceActionsParams defines parameters for ListGoogleBusinessPlaceActions.

type ListGoogleBusinessPlaceActionsResponse added in v0.0.5

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 added in v0.0.5

func ParseListGoogleBusinessPlaceActionsResponse(rsp *http.Response) (*ListGoogleBusinessPlaceActionsResponse, error)

ParseListGoogleBusinessPlaceActionsResponse parses an HTTP response from a ListGoogleBusinessPlaceActionsWithResponse call

func (ListGoogleBusinessPlaceActionsResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (ListGoogleBusinessPlaceActionsResponse) StatusCode added in v0.0.5

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 added in v0.0.34

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 added in v0.0.34

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 added in v0.0.34

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 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 added in v0.0.34

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 added in v0.0.34

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 added in v0.0.34

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

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 added in v0.0.34

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 added in v0.0.34

Valid indicates whether the value is a known member of the ListInboxReviewsParamsSortBy enum.

type ListInboxReviewsParamsSortOrder

type ListInboxReviewsParamsSortOrder string

ListInboxReviewsParamsSortOrder defines parameters for ListInboxReviews.

const (
	ListInboxReviewsParamsSortOrderAsc  ListInboxReviewsParamsSortOrder = "asc"
	ListInboxReviewsParamsSortOrderDesc ListInboxReviewsParamsSortOrder = "desc"
)

Defines values for ListInboxReviewsParamsSortOrder.

func (ListInboxReviewsParamsSortOrder) Valid added in v0.0.34

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

Status returns HTTPResponse.Status

func (ListLinkedInOrganizationsResponse) StatusCode

func (r ListLinkedInOrganizationsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ListPinterestBoardsForSelectionParams

type ListPinterestBoardsForSelectionParams struct {
	// ProfileId Your Late 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

Status returns HTTPResponse.Status

func (ListPinterestBoardsForSelectionResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type ListPostsLogsParams added in v0.0.8

type ListPostsLogsParams struct {
	// Status Filter by log status
	Status *ListPostsLogsParamsStatus `form:"status,omitempty" json:"status,omitempty"`

	// Platform Filter by platform
	Platform *ListPostsLogsParamsPlatform `form:"platform,omitempty" json:"platform,omitempty"`

	// Action Filter by action type
	Action *ListPostsLogsParamsAction `form:"action,omitempty" json:"action,omitempty"`

	// Days Number of days to look back (max 7)
	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"`

	// Search Search through log entries by text content.
	Search *string `form:"search,omitempty" json:"search,omitempty"`
}

ListPostsLogsParams defines parameters for ListPostsLogs.

type ListPostsLogsParamsAction added in v0.0.8

type ListPostsLogsParamsAction string

ListPostsLogsParamsAction defines parameters for ListPostsLogs.

const (
	ListPostsLogsParamsActionAll            ListPostsLogsParamsAction = "all"
	ListPostsLogsParamsActionCancelled      ListPostsLogsParamsAction = "cancelled"
	ListPostsLogsParamsActionMediaUpload    ListPostsLogsParamsAction = "media_upload"
	ListPostsLogsParamsActionPublish        ListPostsLogsParamsAction = "publish"
	ListPostsLogsParamsActionRateLimitPause ListPostsLogsParamsAction = "rate_limit_pause"
	ListPostsLogsParamsActionRetry          ListPostsLogsParamsAction = "retry"
	ListPostsLogsParamsActionTokenRefresh   ListPostsLogsParamsAction = "token_refresh"
)

Defines values for ListPostsLogsParamsAction.

func (ListPostsLogsParamsAction) Valid added in v0.0.34

func (e ListPostsLogsParamsAction) Valid() bool

Valid indicates whether the value is a known member of the ListPostsLogsParamsAction enum.

type ListPostsLogsParamsPlatform added in v0.0.8

type ListPostsLogsParamsPlatform string

ListPostsLogsParamsPlatform defines parameters for ListPostsLogs.

const (
	ListPostsLogsParamsPlatformAll            ListPostsLogsParamsPlatform = "all"
	ListPostsLogsParamsPlatformBluesky        ListPostsLogsParamsPlatform = "bluesky"
	ListPostsLogsParamsPlatformFacebook       ListPostsLogsParamsPlatform = "facebook"
	ListPostsLogsParamsPlatformGooglebusiness ListPostsLogsParamsPlatform = "googlebusiness"
	ListPostsLogsParamsPlatformInstagram      ListPostsLogsParamsPlatform = "instagram"
	ListPostsLogsParamsPlatformLinkedin       ListPostsLogsParamsPlatform = "linkedin"
	ListPostsLogsParamsPlatformPinterest      ListPostsLogsParamsPlatform = "pinterest"
	ListPostsLogsParamsPlatformReddit         ListPostsLogsParamsPlatform = "reddit"
	ListPostsLogsParamsPlatformSnapchat       ListPostsLogsParamsPlatform = "snapchat"
	ListPostsLogsParamsPlatformTelegram       ListPostsLogsParamsPlatform = "telegram"
	ListPostsLogsParamsPlatformThreads        ListPostsLogsParamsPlatform = "threads"
	ListPostsLogsParamsPlatformTiktok         ListPostsLogsParamsPlatform = "tiktok"
	ListPostsLogsParamsPlatformTwitter        ListPostsLogsParamsPlatform = "twitter"
	ListPostsLogsParamsPlatformYoutube        ListPostsLogsParamsPlatform = "youtube"
)

Defines values for ListPostsLogsParamsPlatform.

func (ListPostsLogsParamsPlatform) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ListPostsLogsParamsPlatform enum.

type ListPostsLogsParamsStatus added in v0.0.8

type ListPostsLogsParamsStatus string

ListPostsLogsParamsStatus defines parameters for ListPostsLogs.

const (
	ListPostsLogsParamsStatusAll     ListPostsLogsParamsStatus = "all"
	ListPostsLogsParamsStatusFailed  ListPostsLogsParamsStatus = "failed"
	ListPostsLogsParamsStatusPending ListPostsLogsParamsStatus = "pending"
	ListPostsLogsParamsStatusSkipped ListPostsLogsParamsStatus = "skipped"
	ListPostsLogsParamsStatusSuccess ListPostsLogsParamsStatus = "success"
)

Defines values for ListPostsLogsParamsStatus.

func (ListPostsLogsParamsStatus) Valid added in v0.0.34

func (e ListPostsLogsParamsStatus) Valid() bool

Valid indicates whether the value is a known member of the ListPostsLogsParamsStatus enum.

type ListPostsLogsResponse added in v0.0.8

type ListPostsLogsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		Logs       *[]PostLog `json:"logs,omitempty"`
		Pagination *struct {
			HasMore *bool `json:"hasMore,omitempty"`
			Limit   *int  `json:"limit,omitempty"`

			// Pages Total number of pages
			Pages *int `json:"pages,omitempty"`
			Skip  *int `json:"skip,omitempty"`

			// Total Total number of logs matching the query
			Total *int `json:"total,omitempty"`
		} `json:"pagination,omitempty"`
	}
	JSON401 *Unauthorized
}

func ParseListPostsLogsResponse added in v0.0.8

func ParseListPostsLogsResponse(rsp *http.Response) (*ListPostsLogsResponse, error)

ParseListPostsLogsResponse parses an HTTP response from a ListPostsLogsWithResponse call

func (ListPostsLogsResponse) Status added in v0.0.8

func (r ListPostsLogsResponse) Status() string

Status returns HTTPResponse.Status

func (ListPostsLogsResponse) StatusCode added in v0.0.8

func (r ListPostsLogsResponse) 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"`
}

ListPostsParams defines parameters for ListPosts.

type ListPostsParamsSortBy added in v0.0.36

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 added in v0.0.36

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 added in v0.0.34

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 added in v0.0.34

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 ListSnapchatProfilesParams

type ListSnapchatProfilesParams struct {
	// ProfileId Your Late 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

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 MediaItem

type MediaItem struct {
	Filename *string `json:"filename,omitempty"`

	// InstagramThumbnail Optional custom cover image URL for Instagram Reels
	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 thumbnail image URL for videos
	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. Late 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 added in v0.0.34

func (e MediaItemType) Valid() bool

Valid indicates whether the value is a known member of the MediaItemType enum.

type Money added in v0.0.4

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 PageParam

type PageParam = int

PageParam defines model for PageParam.

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 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"`
	AccountMetrics *struct {
		// Followers Followers/fans count (e.g., Instagram, Facebook Pages, Twitter)
		Followers   *int       `json:"followers,omitempty"`
		LastUpdated *time.Time `json:"lastUpdated,omitempty"`

		// Subscribers Subscribers count (e.g., YouTube)
		Subscribers *int `json:"subscribers,omitempty"`
	} `json:"accountMetrics,omitempty"`
	AccountUsername *string        `json:"accountUsername,omitempty"`
	Analytics       *PostAnalytics `json:"analytics,omitempty"`
	Platform        *string        `json:"platform,omitempty"`
	Status          *string        `json:"status,omitempty"`
}

PlatformAnalytics defines model for PlatformAnalytics.

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 (Late 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 (Late 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 (Late 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 added in v0.0.34

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 (Late issue, rare)

const (
	PlatformTargetErrorSourcePlatform PlatformTargetErrorSource = "platform"
	PlatformTargetErrorSourceSystem   PlatformTargetErrorSource = "system"
	PlatformTargetErrorSourceUser     PlatformTargetErrorSource = "user"
)

Defines values for PlatformTargetErrorSource.

func (PlatformTargetErrorSource) Valid added in v0.0.34

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 added in v0.0.8

func (t PlatformTarget_PlatformSpecificData) AsBlueskyPlatformData() (BlueskyPlatformData, error)

AsBlueskyPlatformData returns the union data inside the PlatformTarget_PlatformSpecificData as a BlueskyPlatformData

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 added in v0.0.8

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 added in v0.0.8

func (t *PlatformTarget_PlatformSpecificData) FromBlueskyPlatformData(v BlueskyPlatformData) error

FromBlueskyPlatformData overwrites any union data inside the PlatformTarget_PlatformSpecificData as the provided BlueskyPlatformData

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 added in v0.0.8

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 added in v0.0.8

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) 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 added in v0.0.8

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"`
	Hashtags     *[]string               `json:"hashtags,omitempty"`
	MediaItems   *[]MediaItem            `json:"mediaItems,omitempty"`
	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"`
	Shares *int `json:"shares,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 PostLog

type PostLog struct {
	UnderscoreId    *string `json:"_id,omitempty"`
	AccountId       *string `json:"accountId,omitempty"`
	AccountUsername *string `json:"accountUsername,omitempty"`

	// Action Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
	Action *PostLogAction `json:"action,omitempty"`

	// AttemptNumber Attempt number (1 for first try, 2+ for retries)
	AttemptNumber *int       `json:"attemptNumber,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`

	// DurationMs How long the operation took in milliseconds
	DurationMs *int `json:"durationMs,omitempty"`

	// Endpoint Platform API endpoint called
	Endpoint  *string          `json:"endpoint,omitempty"`
	Platform  *PostLogPlatform `json:"platform,omitempty"`
	PostId    *PostLog_PostId  `json:"postId,omitempty"`
	ProfileId *string          `json:"profileId,omitempty"`
	Request   *struct {
		// ContentPreview First 200 chars of caption
		ContentPreview *string   `json:"contentPreview,omitempty"`
		MediaCount     *int      `json:"mediaCount,omitempty"`
		MediaTypes     *[]string `json:"mediaTypes,omitempty"`

		// MediaUrls URLs of media items sent to platform
		MediaUrls *[]string `json:"mediaUrls,omitempty"`

		// RawBody Full request body JSON (max 5000 chars)
		RawBody      *string    `json:"rawBody,omitempty"`
		ScheduledFor *time.Time `json:"scheduledFor,omitempty"`
	} `json:"request,omitempty"`
	Response *struct {
		// ErrorCode Platform-specific error code
		ErrorCode *string `json:"errorCode,omitempty"`

		// ErrorMessage Error message on failure
		ErrorMessage *string `json:"errorMessage,omitempty"`

		// PlatformPostId ID returned by platform on success
		PlatformPostId *string `json:"platformPostId,omitempty"`

		// PlatformPostUrl URL of published post
		PlatformPostUrl *string `json:"platformPostUrl,omitempty"`

		// RawBody Full response body JSON (max 5000 chars)
		RawBody *string `json:"rawBody,omitempty"`
	} `json:"response,omitempty"`
	Status *PostLogStatus `json:"status,omitempty"`

	// StatusCode HTTP status code from platform API
	StatusCode *int    `json:"statusCode,omitempty"`
	UserId     *string `json:"userId,omitempty"`
}

PostLog Publishing log entry showing details of a post publishing attempt

type PostLogAction

type PostLogAction string

PostLogAction Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled

const (
	PostLogActionCancelled      PostLogAction = "cancelled"
	PostLogActionMediaUpload    PostLogAction = "media_upload"
	PostLogActionPublish        PostLogAction = "publish"
	PostLogActionRateLimitPause PostLogAction = "rate_limit_pause"
	PostLogActionRetry          PostLogAction = "retry"
	PostLogActionTokenRefresh   PostLogAction = "token_refresh"
)

Defines values for PostLogAction.

func (PostLogAction) Valid added in v0.0.34

func (e PostLogAction) Valid() bool

Valid indicates whether the value is a known member of the PostLogAction enum.

type PostLogPlatform

type PostLogPlatform string

PostLogPlatform defines model for PostLog.Platform.

const (
	PostLogPlatformBluesky        PostLogPlatform = "bluesky"
	PostLogPlatformFacebook       PostLogPlatform = "facebook"
	PostLogPlatformGooglebusiness PostLogPlatform = "googlebusiness"
	PostLogPlatformInstagram      PostLogPlatform = "instagram"
	PostLogPlatformLinkedin       PostLogPlatform = "linkedin"
	PostLogPlatformPinterest      PostLogPlatform = "pinterest"
	PostLogPlatformReddit         PostLogPlatform = "reddit"
	PostLogPlatformSnapchat       PostLogPlatform = "snapchat"
	PostLogPlatformTelegram       PostLogPlatform = "telegram"
	PostLogPlatformThreads        PostLogPlatform = "threads"
	PostLogPlatformTiktok         PostLogPlatform = "tiktok"
	PostLogPlatformTwitter        PostLogPlatform = "twitter"
	PostLogPlatformYoutube        PostLogPlatform = "youtube"
)

Defines values for PostLogPlatform.

func (PostLogPlatform) Valid added in v0.0.34

func (e PostLogPlatform) Valid() bool

Valid indicates whether the value is a known member of the PostLogPlatform enum.

type PostLogPostId0

type PostLogPostId0 = string

PostLogPostId0 defines model for .

type PostLogPostId1

type PostLogPostId1 struct {
	UnderscoreId *string `json:"_id,omitempty"`
	Content      *string `json:"content,omitempty"`
	Status       *string `json:"status,omitempty"`
}

PostLogPostId1 Populated post reference

type PostLogStatus

type PostLogStatus string

PostLogStatus defines model for PostLog.Status.

const (
	PostLogStatusFailed  PostLogStatus = "failed"
	PostLogStatusPending PostLogStatus = "pending"
	PostLogStatusSkipped PostLogStatus = "skipped"
	PostLogStatusSuccess PostLogStatus = "success"
)

Defines values for PostLogStatus.

func (PostLogStatus) Valid added in v0.0.34

func (e PostLogStatus) Valid() bool

Valid indicates whether the value is a known member of the PostLogStatus enum.

type PostLog_PostId

type PostLog_PostId struct {
	// contains filtered or unexported fields
}

PostLog_PostId defines model for PostLog.PostId.

func (PostLog_PostId) AsPostLogPostId0

func (t PostLog_PostId) AsPostLogPostId0() (PostLogPostId0, error)

AsPostLogPostId0 returns the union data inside the PostLog_PostId as a PostLogPostId0

func (PostLog_PostId) AsPostLogPostId1

func (t PostLog_PostId) AsPostLogPostId1() (PostLogPostId1, error)

AsPostLogPostId1 returns the union data inside the PostLog_PostId as a PostLogPostId1

func (*PostLog_PostId) FromPostLogPostId0

func (t *PostLog_PostId) FromPostLogPostId0(v PostLogPostId0) error

FromPostLogPostId0 overwrites any union data inside the PostLog_PostId as the provided PostLogPostId0

func (*PostLog_PostId) FromPostLogPostId1

func (t *PostLog_PostId) FromPostLogPostId1(v PostLogPostId1) error

FromPostLogPostId1 overwrites any union data inside the PostLog_PostId as the provided PostLogPostId1

func (PostLog_PostId) MarshalJSON

func (t PostLog_PostId) MarshalJSON() ([]byte, error)

func (*PostLog_PostId) MergePostLogPostId0

func (t *PostLog_PostId) MergePostLogPostId0(v PostLogPostId0) error

MergePostLogPostId0 performs a merge with any union data inside the PostLog_PostId, using the provided PostLogPostId0

func (*PostLog_PostId) MergePostLogPostId1

func (t *PostLog_PostId) MergePostLogPostId1(v PostLogPostId1) error

MergePostLogPostId1 performs a merge with any union data inside the PostLog_PostId, using the provided PostLogPostId1

func (*PostLog_PostId) UnmarshalJSON

func (t *PostLog_PostId) UnmarshalJSON(b []byte) error

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 added in v0.0.34

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 PostUserId0

type PostUserId0 = string

PostUserId0 defines model for .

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 added in v0.0.34

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 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 added in v0.0.42

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 added in v0.0.42

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 added in v0.0.42

func (e RecyclingConfigGapFreq) Valid() bool

Valid indicates whether the value is a known member of the RecyclingConfigGapFreq enum.

type RecyclingState added in v0.0.42

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 added in v0.0.42

type RecyclingStateGapFreq string

RecyclingStateGapFreq Interval unit (week or month)

const (
	RecyclingStateGapFreqMonth RecyclingStateGapFreq = "month"
	RecyclingStateGapFreqWeek  RecyclingStateGapFreq = "week"
)

Defines values for RecyclingStateGapFreq.

func (RecyclingStateGapFreq) Valid added in v0.0.42

func (e RecyclingStateGapFreq) Valid() bool

Valid indicates whether the value is a known member of the RecyclingStateGapFreq enum.

type RedditPlatformData added in v0.0.8

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

	// 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"`
}

RedditPlatformData Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.

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

Status returns HTTPResponse.Status

func (ReplyToInboxReviewResponse) StatusCode

func (r ReplyToInboxReviewResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

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

Defines values for SearchRedditParamsRestrictSr.

func (SearchRedditParamsRestrictSr) Valid added in v0.0.34

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 added in v0.0.34

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"`
		Posts *[]struct {
			Author      *string  `json:"author,omitempty"`
			CreatedUtc  *float32 `json:"created_utc,omitempty"`
			Id          *string  `json:"id,omitempty"`
			NumComments *int     `json:"num_comments,omitempty"`
			Permalink   *string  `json:"permalink,omitempty"`
			Score       *int     `json:"score,omitempty"`
			Selftext    *string  `json:"selftext,omitempty"`
			Subreddit   *string  `json:"subreddit,omitempty"`
			Title       *string  `json:"title,omitempty"`
		} `json:"posts,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,omitempty"`
}

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

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

	// 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 Google access token from OAuth
	TempToken string `json:"tempToken"`

	// UserProfile Decoded user profile from the OAuth callback. Contains the refresh token. Always include this field.
	UserProfile *struct {
		Id   *string `json:"id,omitempty"`
		Name *string `json:"name,omitempty"`

		// RefreshToken Google refresh token for long-lived access
		RefreshToken *string `json:"refreshToken,omitempty"`

		// Scope Granted OAuth scopes
		Scope *string `json:"scope,omitempty"`

		// TokenExpiresIn Token expiration time in seconds
		TokenExpiresIn *int `json:"tokenExpiresIn,omitempty"`
	} `json:"userProfile,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

Status returns HTTPResponse.Status

func (SelectGoogleBusinessLocationResponse) StatusCode

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 added in v0.0.34

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

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

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

Status returns HTTPResponse.Status

func (SelectSnapchatProfileResponse) StatusCode

func (r SelectSnapchatProfileResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SendInboxMessage400Code

type SendInboxMessage400Code string

type SendInboxMessageJSONBody

type SendInboxMessageJSONBody struct {
	// AccountId Social account ID
	AccountId string `json:"accountId"`

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

	// 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 reply to (Telegram only).
	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 SendInboxMessageJSONBodyButtonsType added in v0.0.10

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 added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyButtonsType enum.

type SendInboxMessageJSONBodyMessageTag added in v0.0.10

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 added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyMessageTag enum.

type SendInboxMessageJSONBodyMessagingType added in v0.0.10

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 added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyMessagingType enum.

type SendInboxMessageJSONBodyReplyMarkupType added in v0.0.10

type SendInboxMessageJSONBodyReplyMarkupType string

SendInboxMessageJSONBodyReplyMarkupType defines parameters for SendInboxMessage.

const (
	SendInboxMessageJSONBodyReplyMarkupTypeInlineKeyboard SendInboxMessageJSONBodyReplyMarkupType = "inline_keyboard"
	SendInboxMessageJSONBodyReplyMarkupTypeReplyKeyboard  SendInboxMessageJSONBodyReplyMarkupType = "reply_keyboard"
)

Defines values for SendInboxMessageJSONBodyReplyMarkupType.

func (SendInboxMessageJSONBodyReplyMarkupType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyReplyMarkupType enum.

type SendInboxMessageJSONBodyTemplateElementsButtonsType added in v0.0.10

type SendInboxMessageJSONBodyTemplateElementsButtonsType string

SendInboxMessageJSONBodyTemplateElementsButtonsType defines parameters for SendInboxMessage.

const (
	SendInboxMessageJSONBodyTemplateElementsButtonsTypePostback SendInboxMessageJSONBodyTemplateElementsButtonsType = "postback"
	SendInboxMessageJSONBodyTemplateElementsButtonsTypeUrl      SendInboxMessageJSONBodyTemplateElementsButtonsType = "url"
)

Defines values for SendInboxMessageJSONBodyTemplateElementsButtonsType.

func (SendInboxMessageJSONBodyTemplateElementsButtonsType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyTemplateElementsButtonsType enum.

type SendInboxMessageJSONBodyTemplateType added in v0.0.10

type SendInboxMessageJSONBodyTemplateType string

SendInboxMessageJSONBodyTemplateType defines parameters for SendInboxMessage.

const (
	Generic SendInboxMessageJSONBodyTemplateType = "generic"
)

Defines values for SendInboxMessageJSONBodyTemplateType.

func (SendInboxMessageJSONBodyTemplateType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the SendInboxMessageJSONBodyTemplateType enum.

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 reply to (Telegram only)
	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 added in v0.0.14

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

Status returns HTTPResponse.Status

func (SendPrivateReplyToCommentResponse) StatusCode

func (r SendPrivateReplyToCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetInstagramIceBreakersJSONBody added in v0.0.10

type SetInstagramIceBreakersJSONBody struct {
	IceBreakers []struct {
		Payload  string `json:"payload"`
		Question string `json:"question"`
	} `json:"ice_breakers"`
}

SetInstagramIceBreakersJSONBody defines parameters for SetInstagramIceBreakers.

type SetInstagramIceBreakersJSONRequestBody added in v0.0.10

type SetInstagramIceBreakersJSONRequestBody SetInstagramIceBreakersJSONBody

SetInstagramIceBreakersJSONRequestBody defines body for SetInstagramIceBreakers for application/json ContentType.

type SetInstagramIceBreakersResponse added in v0.0.10

type SetInstagramIceBreakersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseSetInstagramIceBreakersResponse added in v0.0.10

func ParseSetInstagramIceBreakersResponse(rsp *http.Response) (*SetInstagramIceBreakersResponse, error)

ParseSetInstagramIceBreakersResponse parses an HTTP response from a SetInstagramIceBreakersWithResponse call

func (SetInstagramIceBreakersResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (SetInstagramIceBreakersResponse) StatusCode added in v0.0.10

func (r SetInstagramIceBreakersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetMessengerMenuJSONBody added in v0.0.10

type SetMessengerMenuJSONBody struct {
	// PersistentMenu Persistent menu configuration array (Meta format)
	PersistentMenu []map[string]interface{} `json:"persistent_menu"`
}

SetMessengerMenuJSONBody defines parameters for SetMessengerMenu.

type SetMessengerMenuJSONRequestBody added in v0.0.10

type SetMessengerMenuJSONRequestBody SetMessengerMenuJSONBody

SetMessengerMenuJSONRequestBody defines body for SetMessengerMenu for application/json ContentType.

type SetMessengerMenuResponse added in v0.0.10

type SetMessengerMenuResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseSetMessengerMenuResponse added in v0.0.10

func ParseSetMessengerMenuResponse(rsp *http.Response) (*SetMessengerMenuResponse, error)

ParseSetMessengerMenuResponse parses an HTTP response from a SetMessengerMenuWithResponse call

func (SetMessengerMenuResponse) Status added in v0.0.10

func (r SetMessengerMenuResponse) Status() string

Status returns HTTPResponse.Status

func (SetMessengerMenuResponse) StatusCode added in v0.0.10

func (r SetMessengerMenuResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type SetTelegramCommandsJSONBody added in v0.0.10

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 added in v0.0.10

type SetTelegramCommandsJSONRequestBody SetTelegramCommandsJSONBody

SetTelegramCommandsJSONRequestBody defines body for SetTelegramCommands for application/json ContentType.

type SetTelegramCommandsResponse added in v0.0.10

type SetTelegramCommandsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON401      *Unauthorized
}

func ParseSetTelegramCommandsResponse added in v0.0.10

func ParseSetTelegramCommandsResponse(rsp *http.Response) (*SetTelegramCommandsResponse, error)

ParseSetTelegramCommandsResponse parses an HTTP response from a SetTelegramCommandsWithResponse call

func (SetTelegramCommandsResponse) Status added in v0.0.10

Status returns HTTPResponse.Status

func (SetTelegramCommandsResponse) StatusCode added in v0.0.10

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 added in v0.0.34

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

	// 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"`
	Platform             *string                  `json:"platform,omitempty"`
	ProfileId            *SocialAccount_ProfileId `json:"profileId,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 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 added in v0.0.34

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 Sequence of posts in a Threads thread (root then replies in order).
	ThreadItems *[]struct {
		Content    *string      `json:"content,omitempty"`
		MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
	} `json:"threadItems,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.
	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"`

	// VideoCoverTimestampMs Optional for video posts. Timestamp in milliseconds to select which frame to use as thumbnail (defaults to 1000ms/1 second).
	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.

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 added in v0.0.34

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 added in v0.0.34

Valid indicates whether the value is a known member of the TikTokPlatformDataMediaType enum.

type TwitterPlatformData

type TwitterPlatformData struct {
	// ReplySettings Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers. Omit for default (everyone can reply). For threads, applies to the first tweet only.
	ReplySettings *TwitterPlatformDataReplySettings `json:"replySettings,omitempty"`

	// ThreadItems Sequence of tweets in a thread. First item is the root tweet.
	ThreadItems *[]struct {
		Content    *string      `json:"content,omitempty"`
		MediaItems *[]MediaItem `json:"mediaItems,omitempty"`
	} `json:"threadItems,omitempty"`
}

TwitterPlatformData defines model for TwitterPlatformData.

type TwitterPlatformDataReplySettings added in v0.0.31

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. Omit for default (everyone can reply). For threads, applies to the first tweet only.

const (
	Following      TwitterPlatformDataReplySettings = "following"
	MentionedUsers TwitterPlatformDataReplySettings = "mentionedUsers"
	Subscribers    TwitterPlatformDataReplySettings = "subscribers"
)

Defines values for TwitterPlatformDataReplySettings.

func (TwitterPlatformDataReplySettings) Valid added in v0.0.34

Valid indicates whether the value is a known member of the TwitterPlatformDataReplySettings enum.

type Unauthorized

type Unauthorized struct {
	Error *string `json:"error,omitempty"`
}

Unauthorized defines model for Unauthorized.

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

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

Status returns HTTPResponse.Status

func (UnlikeInboxCommentResponse) StatusCode

func (r UnlikeInboxCommentResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UnpublishPostJSONBody added in v0.0.17

type UnpublishPostJSONBody struct {
	// Platform The platform to delete the post from
	Platform UnpublishPostJSONBodyPlatform `json:"platform"`
}

UnpublishPostJSONBody defines parameters for UnpublishPost.

type UnpublishPostJSONBodyPlatform added in v0.0.17

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 added in v0.0.34

Valid indicates whether the value is a known member of the UnpublishPostJSONBodyPlatform enum.

type UnpublishPostJSONRequestBody added in v0.0.17

type UnpublishPostJSONRequestBody UnpublishPostJSONBody

UnpublishPostJSONRequestBody defines body for UnpublishPost for application/json ContentType.

type UnpublishPostResponse added in v0.0.17

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 added in v0.0.17

func ParseUnpublishPostResponse(rsp *http.Response) (*UnpublishPostResponse, error)

ParseUnpublishPostResponse parses an HTTP response from a UnpublishPostWithResponse call

func (UnpublishPostResponse) Status added in v0.0.17

func (r UnpublishPostResponse) Status() string

Status returns HTTPResponse.Status

func (UnpublishPostResponse) StatusCode added in v0.0.17

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

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

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 added in v0.0.5

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 added in v0.0.5

type UpdateGoogleBusinessAttributesJSONRequestBody UpdateGoogleBusinessAttributesJSONBody

UpdateGoogleBusinessAttributesJSONRequestBody defines body for UpdateGoogleBusinessAttributes for application/json ContentType.

type UpdateGoogleBusinessAttributesResponse added in v0.0.5

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 added in v0.0.5

func ParseUpdateGoogleBusinessAttributesResponse(rsp *http.Response) (*UpdateGoogleBusinessAttributesResponse, error)

ParseUpdateGoogleBusinessAttributesResponse parses an HTTP response from a UpdateGoogleBusinessAttributesWithResponse call

func (UpdateGoogleBusinessAttributesResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (UpdateGoogleBusinessAttributesResponse) StatusCode added in v0.0.5

StatusCode returns HTTPResponse.StatusCode

type UpdateGoogleBusinessFoodMenusJSONBody added in v0.0.4

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 added in v0.0.4

type UpdateGoogleBusinessFoodMenusJSONRequestBody UpdateGoogleBusinessFoodMenusJSONBody

UpdateGoogleBusinessFoodMenusJSONRequestBody defines body for UpdateGoogleBusinessFoodMenus for application/json ContentType.

type UpdateGoogleBusinessFoodMenusResponse added in v0.0.4

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 added in v0.0.4

func ParseUpdateGoogleBusinessFoodMenusResponse(rsp *http.Response) (*UpdateGoogleBusinessFoodMenusResponse, error)

ParseUpdateGoogleBusinessFoodMenusResponse parses an HTTP response from a UpdateGoogleBusinessFoodMenusWithResponse call

func (UpdateGoogleBusinessFoodMenusResponse) Status added in v0.0.4

Status returns HTTPResponse.Status

func (UpdateGoogleBusinessFoodMenusResponse) StatusCode added in v0.0.4

StatusCode returns HTTPResponse.StatusCode

type UpdateGoogleBusinessLocationDetailsJSONBody added in v0.0.5

type UpdateGoogleBusinessLocationDetailsJSONBody struct {
	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"`
	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')
	UpdateMask string  `json:"updateMask"`
	WebsiteUri *string `json:"websiteUri,omitempty"`
}

UpdateGoogleBusinessLocationDetailsJSONBody defines parameters for UpdateGoogleBusinessLocationDetails.

type UpdateGoogleBusinessLocationDetailsJSONRequestBody added in v0.0.5

type UpdateGoogleBusinessLocationDetailsJSONRequestBody UpdateGoogleBusinessLocationDetailsJSONBody

UpdateGoogleBusinessLocationDetailsJSONRequestBody defines body for UpdateGoogleBusinessLocationDetails for application/json ContentType.

type UpdateGoogleBusinessLocationDetailsResponse added in v0.0.5

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 added in v0.0.5

func ParseUpdateGoogleBusinessLocationDetailsResponse(rsp *http.Response) (*UpdateGoogleBusinessLocationDetailsResponse, error)

ParseUpdateGoogleBusinessLocationDetailsResponse parses an HTTP response from a UpdateGoogleBusinessLocationDetailsWithResponse call

func (UpdateGoogleBusinessLocationDetailsResponse) Status added in v0.0.5

Status returns HTTPResponse.Status

func (UpdateGoogleBusinessLocationDetailsResponse) StatusCode added in v0.0.5

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 added in v0.0.34

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

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 added in v0.0.34

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

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

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

	// 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.
	TiktokSettings       *TikTokPlatformData    `json:"tiktokSettings,omitempty"`
	AdditionalProperties map[string]interface{} `json:"-"`
}

UpdatePostJSONBody defines parameters for UpdatePost.

func (UpdatePostJSONBody) Get added in v0.0.9

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 added in v0.0.9

func (a UpdatePostJSONBody) MarshalJSON() ([]byte, error)

Override default JSON handling for UpdatePostJSONBody to handle AdditionalProperties

func (*UpdatePostJSONBody) Set added in v0.0.9

func (a *UpdatePostJSONBody) Set(fieldName string, value interface{})

Setter for additional properties for UpdatePostJSONBody

func (*UpdatePostJSONBody) UnmarshalJSON added in v0.0.9

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

Status returns HTTPResponse.Status

func (UpdateRedditSubredditsResponse) StatusCode

func (r UpdateRedditSubredditsResponse) 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
	Events *[]UpdateWebhookSettingsJSONBodyEvents `json:"events,omitempty"`

	// IsActive Enable or disable webhook delivery
	IsActive *bool `json:"isActive,omitempty"`

	// Name Webhook name (max 50 characters)
	Name *string `json:"name,omitempty"`

	// Secret Secret key for HMAC-SHA256 signature verification
	Secret *string `json:"secret,omitempty"`

	// Url Webhook endpoint URL (must be HTTPS in production)
	Url *string `json:"url,omitempty"`
}

UpdateWebhookSettingsJSONBody defines parameters for UpdateWebhookSettings.

type UpdateWebhookSettingsJSONBodyEvents

type UpdateWebhookSettingsJSONBodyEvents string

UpdateWebhookSettingsJSONBodyEvents defines parameters for UpdateWebhookSettings.

const (
	AccountConnected    UpdateWebhookSettingsJSONBodyEvents = "account.connected"
	AccountDisconnected UpdateWebhookSettingsJSONBodyEvents = "account.disconnected"
	CommentReceived     UpdateWebhookSettingsJSONBodyEvents = "comment.received"
	MessageReceived     UpdateWebhookSettingsJSONBodyEvents = "message.received"
	PostFailed          UpdateWebhookSettingsJSONBodyEvents = "post.failed"
	PostPartial         UpdateWebhookSettingsJSONBodyEvents = "post.partial"
	PostPublished       UpdateWebhookSettingsJSONBodyEvents = "post.published"
	PostRecycled        UpdateWebhookSettingsJSONBodyEvents = "post.recycled"
	PostScheduled       UpdateWebhookSettingsJSONBodyEvents = "post.scheduled"
)

Defines values for UpdateWebhookSettingsJSONBodyEvents.

func (UpdateWebhookSettingsJSONBodyEvents) Valid added in v0.0.34

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

Status returns HTTPResponse.Status

func (UpdateWebhookSettingsResponse) StatusCode

func (r UpdateWebhookSettingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type UsageStats

type UsageStats struct {
	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 (
	UsageStatsBillingPeriodMonthly UsageStatsBillingPeriod = "monthly"
	UsageStatsBillingPeriodYearly  UsageStatsBillingPeriod = "yearly"
)

Defines values for UsageStatsBillingPeriod.

func (UsageStatsBillingPeriod) Valid added in v0.0.34

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 added in v0.0.33

type ValidateMedia200Type string

type ValidateMediaJSONBody added in v0.0.33

type ValidateMediaJSONBody struct {
	// Url Public media URL to validate
	Url string `json:"url"`
}

ValidateMediaJSONBody defines parameters for ValidateMedia.

type ValidateMediaJSONRequestBody added in v0.0.33

type ValidateMediaJSONRequestBody ValidateMediaJSONBody

ValidateMediaJSONRequestBody defines body for ValidateMedia for application/json ContentType.

type ValidateMediaResponse added in v0.0.33

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 added in v0.0.33

func ParseValidateMediaResponse(rsp *http.Response) (*ValidateMediaResponse, error)

ParseValidateMediaResponse parses an HTTP response from a ValidateMediaWithResponse call

func (ValidateMediaResponse) Status added in v0.0.33

func (r ValidateMediaResponse) Status() string

Status returns HTTPResponse.Status

func (ValidateMediaResponse) StatusCode added in v0.0.33

func (r ValidateMediaResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidatePost2000 added in v0.0.33

type ValidatePost2000 struct {
	Message  *string `json:"message,omitempty"`
	Valid    *bool   `json:"valid,omitempty"`
	Warnings *[]struct {
		Platform *string `json:"platform,omitempty"`
		Warning  *string `json:"warning,omitempty"`
	} `json:"warnings,omitempty"`
}

type ValidatePost2001 added in v0.0.33

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 added in v0.0.33

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 added in v0.0.33

type ValidatePostJSONBodyMediaItemsType string

ValidatePostJSONBodyMediaItemsType defines parameters for ValidatePost.

const (
	ValidatePostJSONBodyMediaItemsTypeImage ValidatePostJSONBodyMediaItemsType = "image"
	ValidatePostJSONBodyMediaItemsTypeVideo ValidatePostJSONBodyMediaItemsType = "video"
)

Defines values for ValidatePostJSONBodyMediaItemsType.

func (ValidatePostJSONBodyMediaItemsType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ValidatePostJSONBodyMediaItemsType enum.

type ValidatePostJSONBodyPlatformsCustomMediaType added in v0.0.33

type ValidatePostJSONBodyPlatformsCustomMediaType string

ValidatePostJSONBodyPlatformsCustomMediaType defines parameters for ValidatePost.

const (
	ValidatePostJSONBodyPlatformsCustomMediaTypeImage ValidatePostJSONBodyPlatformsCustomMediaType = "image"
	ValidatePostJSONBodyPlatformsCustomMediaTypeVideo ValidatePostJSONBodyPlatformsCustomMediaType = "video"
)

Defines values for ValidatePostJSONBodyPlatformsCustomMediaType.

func (ValidatePostJSONBodyPlatformsCustomMediaType) Valid added in v0.0.34

Valid indicates whether the value is a known member of the ValidatePostJSONBodyPlatformsCustomMediaType enum.

type ValidatePostJSONBodyPlatformsPlatform added in v0.0.33

type ValidatePostJSONBodyPlatformsPlatform string

ValidatePostJSONBodyPlatformsPlatform defines parameters for ValidatePost.

const (
	ValidatePostJSONBodyPlatformsPlatformBluesky        ValidatePostJSONBodyPlatformsPlatform = "bluesky"
	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 added in v0.0.34

Valid indicates whether the value is a known member of the ValidatePostJSONBodyPlatformsPlatform enum.

type ValidatePostJSONRequestBody added in v0.0.33

type ValidatePostJSONRequestBody ValidatePostJSONBody

ValidatePostJSONRequestBody defines body for ValidatePost for application/json ContentType.

type ValidatePostLengthJSONBody added in v0.0.33

type ValidatePostLengthJSONBody struct {
	// Text The post text to check
	Text string `json:"text"`
}

ValidatePostLengthJSONBody defines parameters for ValidatePostLength.

type ValidatePostLengthJSONRequestBody added in v0.0.33

type ValidatePostLengthJSONRequestBody ValidatePostLengthJSONBody

ValidatePostLengthJSONRequestBody defines body for ValidatePostLength for application/json ContentType.

type ValidatePostLengthResponse added in v0.0.33

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 added in v0.0.33

func ParseValidatePostLengthResponse(rsp *http.Response) (*ValidatePostLengthResponse, error)

ParseValidatePostLengthResponse parses an HTTP response from a ValidatePostLengthWithResponse call

func (ValidatePostLengthResponse) Status added in v0.0.33

Status returns HTTPResponse.Status

func (ValidatePostLengthResponse) StatusCode added in v0.0.33

func (r ValidatePostLengthResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidatePostResponse added in v0.0.33

type ValidatePostResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseValidatePostResponse added in v0.0.33

func ParseValidatePostResponse(rsp *http.Response) (*ValidatePostResponse, error)

ParseValidatePostResponse parses an HTTP response from a ValidatePostWithResponse call

func (ValidatePostResponse) Status added in v0.0.33

func (r ValidatePostResponse) Status() string

Status returns HTTPResponse.Status

func (ValidatePostResponse) StatusCode added in v0.0.33

func (r ValidatePostResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type ValidateSubreddit2000 added in v0.0.33

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 added in v0.0.33

type ValidateSubreddit2000SubredditType string

type ValidateSubreddit2001 added in v0.0.33

type ValidateSubreddit2001 struct {
	Error  *string `json:"error,omitempty"`
	Exists *bool   `json:"exists,omitempty"`
}

type ValidateSubredditParams added in v0.0.33

type ValidateSubredditParams struct {
	// Name Subreddit name (with or without "r/" prefix)
	Name string `form:"name" json:"name"`
}

ValidateSubredditParams defines parameters for ValidateSubreddit.

type ValidateSubredditResponse added in v0.0.33

type ValidateSubredditResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *struct {
		// contains filtered or unexported fields
	}
}

func ParseValidateSubredditResponse added in v0.0.33

func ParseValidateSubredditResponse(rsp *http.Response) (*ValidateSubredditResponse, error)

ParseValidateSubredditResponse parses an HTTP response from a ValidateSubredditWithResponse call

func (ValidateSubredditResponse) Status added in v0.0.33

func (r ValidateSubredditResponse) Status() string

Status returns HTTPResponse.Status

func (ValidateSubredditResponse) StatusCode added in v0.0.33

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 (
	WebhookEventsAccountConnected    WebhookEvents = "account.connected"
	WebhookEventsAccountDisconnected WebhookEvents = "account.disconnected"
	WebhookEventsCommentReceived     WebhookEvents = "comment.received"
	WebhookEventsMessageReceived     WebhookEvents = "message.received"
	WebhookEventsPostFailed          WebhookEvents = "post.failed"
	WebhookEventsPostPartial         WebhookEvents = "post.partial"
	WebhookEventsPostPublished       WebhookEvents = "post.published"
	WebhookEventsPostRecycled        WebhookEvents = "post.recycled"
	WebhookEventsPostScheduled       WebhookEvents = "post.scheduled"
)

Defines values for WebhookEvents.

func (WebhookEvents) Valid added in v0.0.34

func (e WebhookEvents) Valid() bool

Valid indicates whether the value is a known member of the WebhookEvents enum.

type WebhookLog

type WebhookLog struct {
	UnderscoreId *string `json:"_id,omitempty"`

	// AttemptNumber Delivery attempt number (max 3 retries)
	AttemptNumber *int       `json:"attemptNumber,omitempty"`
	CreatedAt     *time.Time `json:"createdAt,omitempty"`

	// ErrorMessage Error message if delivery failed
	ErrorMessage *string          `json:"errorMessage,omitempty"`
	Event        *WebhookLogEvent `json:"event,omitempty"`

	// RequestPayload Payload sent to webhook endpoint
	RequestPayload *map[string]interface{} `json:"requestPayload,omitempty"`

	// ResponseBody Response body from webhook endpoint (truncated to 10KB)
	ResponseBody *string `json:"responseBody,omitempty"`

	// ResponseTime Response time in milliseconds
	ResponseTime *int              `json:"responseTime,omitempty"`
	Status       *WebhookLogStatus `json:"status,omitempty"`

	// StatusCode HTTP status code from webhook endpoint
	StatusCode *int    `json:"statusCode,omitempty"`
	Url        *string `json:"url,omitempty"`

	// WebhookId ID of the webhook that was triggered
	WebhookId *string `json:"webhookId,omitempty"`

	// WebhookName Name of the webhook that was triggered
	WebhookName *string `json:"webhookName,omitempty"`
}

WebhookLog Webhook delivery log entry

type WebhookLogEvent

type WebhookLogEvent string

WebhookLogEvent defines model for WebhookLog.Event.

const (
	WebhookLogEventAccountConnected    WebhookLogEvent = "account.connected"
	WebhookLogEventAccountDisconnected WebhookLogEvent = "account.disconnected"
	WebhookLogEventCommentReceived     WebhookLogEvent = "comment.received"
	WebhookLogEventMessageReceived     WebhookLogEvent = "message.received"
	WebhookLogEventPostFailed          WebhookLogEvent = "post.failed"
	WebhookLogEventPostPartial         WebhookLogEvent = "post.partial"
	WebhookLogEventPostPublished       WebhookLogEvent = "post.published"
	WebhookLogEventPostRecycled        WebhookLogEvent = "post.recycled"
	WebhookLogEventPostScheduled       WebhookLogEvent = "post.scheduled"
	WebhookLogEventWebhookTest         WebhookLogEvent = "webhook.test"
)

Defines values for WebhookLogEvent.

func (WebhookLogEvent) Valid added in v0.0.34

func (e WebhookLogEvent) Valid() bool

Valid indicates whether the value is a known member of the WebhookLogEvent enum.

type WebhookLogStatus

type WebhookLogStatus string

WebhookLogStatus defines model for WebhookLog.Status.

const (
	WebhookLogStatusFailed  WebhookLogStatus = "failed"
	WebhookLogStatusSuccess WebhookLogStatus = "success"
)

Defines values for WebhookLogStatus.

func (WebhookLogStatus) Valid added in v0.0.34

func (e WebhookLogStatus) Valid() bool

Valid indicates whether the value is a known member of the WebhookLogStatus enum.

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

	// 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 added in v0.0.34

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.

Jump to

Keyboard shortcuts

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