@zernio/node 0.2.46 → 0.2.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.mts +127 -27
- package/dist/index.d.ts +127 -27
- package/dist/index.js +7 -7
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/src/client.ts +2 -2
- package/src/generated/sdk.gen.ts +32 -19
- package/src/generated/types.gen.ts +130 -27
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
|
|
4
|
-
import type { ValidatePostLengthData, ValidatePostLengthError, ValidatePostLengthResponse, ValidatePostData, ValidatePostError, ValidatePostResponse, ValidateMediaData, ValidateMediaError, ValidateMediaResponse, ValidateSubredditData, ValidateSubredditError, ValidateSubredditResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, GetInstagramAccountInsightsData, GetInstagramAccountInsightsError, GetInstagramAccountInsightsResponse, GetInstagramDemographicsData, GetInstagramDemographicsError, GetInstagramDemographicsResponse, GetYouTubeDemographicsData, GetYouTubeDemographicsError, GetYouTubeDemographicsResponse, GetDailyMetricsData, GetDailyMetricsError, GetDailyMetricsResponse, GetBestTimeToPostData, GetBestTimeToPostError, GetBestTimeToPostResponse, GetContentDecayData, GetContentDecayError, GetContentDecayResponse, GetPostingFrequencyData, GetPostingFrequencyError, GetPostingFrequencyResponse, GetPostTimelineData, GetPostTimelineError, GetPostTimelineResponse, GetGoogleBusinessPerformanceData, GetGoogleBusinessPerformanceError, GetGoogleBusinessPerformanceResponse, GetGoogleBusinessSearchKeywordsData, GetGoogleBusinessSearchKeywordsError, GetGoogleBusinessSearchKeywordsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, UnpublishPostData, UnpublishPostError, UnpublishPostResponse, EditPostData, EditPostError, EditPostResponse, UpdatePostMetadataData, UpdatePostMetadataError, UpdatePostMetadataResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, GetTikTokCreatorInfoData, GetTikTokCreatorInfoError, GetTikTokCreatorInfoResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ConnectAdsData, ConnectAdsError, ConnectAdsResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, ConnectWhatsAppCredentialsData, ConnectWhatsAppCredentialsError, ConnectWhatsAppCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, GetLinkedInPostReactionsData, GetLinkedInPostReactionsError, GetLinkedInPostReactionsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetYoutubePlaylistsData, GetYoutubePlaylistsError, GetYoutubePlaylistsResponse, UpdateYoutubeDefaultPlaylistData, UpdateYoutubeDefaultPlaylistError, UpdateYoutubeDefaultPlaylistResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, GetRedditFlairsData, GetRedditFlairsError, GetRedditFlairsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, ListLogsData, ListLogsError, ListLogsResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, CreateInboxConversationData, CreateInboxConversationError, CreateInboxConversationResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, EditInboxMessageData, EditInboxMessageError, EditInboxMessageResponse, DeleteInboxMessageData, DeleteInboxMessageError, DeleteInboxMessageResponse, SendTypingIndicatorData, SendTypingIndicatorError, SendTypingIndicatorResponse, AddMessageReactionData, AddMessageReactionError, AddMessageReactionResponse, RemoveMessageReactionData, RemoveMessageReactionError, RemoveMessageReactionResponse, UploadMediaDirectData, UploadMediaDirectError, UploadMediaDirectResponse, GetMessengerMenuData, GetMessengerMenuError, GetMessengerMenuResponse, SetMessengerMenuData, SetMessengerMenuError, SetMessengerMenuResponse, DeleteMessengerMenuData, DeleteMessengerMenuError, DeleteMessengerMenuResponse, GetInstagramIceBreakersData, GetInstagramIceBreakersError, GetInstagramIceBreakersResponse, SetInstagramIceBreakersData, SetInstagramIceBreakersError, SetInstagramIceBreakersResponse, DeleteInstagramIceBreakersData, DeleteInstagramIceBreakersError, DeleteInstagramIceBreakersResponse, GetTelegramCommandsData, GetTelegramCommandsError, GetTelegramCommandsResponse, SetTelegramCommandsData, SetTelegramCommandsError, SetTelegramCommandsResponse, DeleteTelegramCommandsData, DeleteTelegramCommandsError, DeleteTelegramCommandsResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, RetweetPostData, RetweetPostError, RetweetPostResponse, UndoRetweetData, UndoRetweetError, UndoRetweetResponse, BookmarkPostData, BookmarkPostError, BookmarkPostResponse, RemoveBookmarkData, RemoveBookmarkError, RemoveBookmarkResponse, FollowUserData, FollowUserError, FollowUserResponse, UnfollowUserData, UnfollowUserError, UnfollowUserResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse, SendWhatsAppBulkData, SendWhatsAppBulkError, SendWhatsAppBulkResponse, GetWhatsAppContactsData, GetWhatsAppContactsError, GetWhatsAppContactsResponse, CreateWhatsAppContactData, CreateWhatsAppContactError, CreateWhatsAppContactResponse, GetWhatsAppContactData, GetWhatsAppContactError, GetWhatsAppContactResponse, UpdateWhatsAppContactData, UpdateWhatsAppContactError, UpdateWhatsAppContactResponse, DeleteWhatsAppContactData, DeleteWhatsAppContactError, DeleteWhatsAppContactResponse, ImportWhatsAppContactsData, ImportWhatsAppContactsError, ImportWhatsAppContactsResponse, BulkUpdateWhatsAppContactsData, BulkUpdateWhatsAppContactsError, BulkUpdateWhatsAppContactsResponse, BulkDeleteWhatsAppContactsData, BulkDeleteWhatsAppContactsError, BulkDeleteWhatsAppContactsResponse, GetWhatsAppGroupsData, GetWhatsAppGroupsError, GetWhatsAppGroupsResponse, RenameWhatsAppGroupData, RenameWhatsAppGroupError, RenameWhatsAppGroupResponse, DeleteWhatsAppGroupData, DeleteWhatsAppGroupError, DeleteWhatsAppGroupResponse, GetWhatsAppTemplatesData, GetWhatsAppTemplatesError, GetWhatsAppTemplatesResponse, CreateWhatsAppTemplateData, CreateWhatsAppTemplateError, CreateWhatsAppTemplateResponse, GetWhatsAppTemplateData, GetWhatsAppTemplateError, GetWhatsAppTemplateResponse, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateError, UpdateWhatsAppTemplateResponse, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateError, DeleteWhatsAppTemplateResponse, GetWhatsAppBroadcastsData, GetWhatsAppBroadcastsError, GetWhatsAppBroadcastsResponse, CreateWhatsAppBroadcastData, CreateWhatsAppBroadcastError, CreateWhatsAppBroadcastResponse, GetWhatsAppBroadcastData, GetWhatsAppBroadcastError, GetWhatsAppBroadcastResponse, DeleteWhatsAppBroadcastData, DeleteWhatsAppBroadcastError, DeleteWhatsAppBroadcastResponse, SendWhatsAppBroadcastData, SendWhatsAppBroadcastError, SendWhatsAppBroadcastResponse, ScheduleWhatsAppBroadcastData, ScheduleWhatsAppBroadcastError, ScheduleWhatsAppBroadcastResponse, CancelWhatsAppBroadcastScheduleData, CancelWhatsAppBroadcastScheduleError, CancelWhatsAppBroadcastScheduleResponse, GetWhatsAppBroadcastRecipientsData, GetWhatsAppBroadcastRecipientsError, GetWhatsAppBroadcastRecipientsResponse, AddWhatsAppBroadcastRecipientsData, AddWhatsAppBroadcastRecipientsError, AddWhatsAppBroadcastRecipientsResponse, RemoveWhatsAppBroadcastRecipientsData, RemoveWhatsAppBroadcastRecipientsError, RemoveWhatsAppBroadcastRecipientsResponse, GetWhatsAppBusinessProfileData, GetWhatsAppBusinessProfileError, GetWhatsAppBusinessProfileResponse, UpdateWhatsAppBusinessProfileData, UpdateWhatsAppBusinessProfileError, UpdateWhatsAppBusinessProfileResponse, UploadWhatsAppProfilePhotoData, UploadWhatsAppProfilePhotoError, UploadWhatsAppProfilePhotoResponse, GetWhatsAppDisplayNameData, GetWhatsAppDisplayNameError, GetWhatsAppDisplayNameResponse, UpdateWhatsAppDisplayNameData, UpdateWhatsAppDisplayNameError, UpdateWhatsAppDisplayNameResponse, GetWhatsAppPhoneNumbersData, GetWhatsAppPhoneNumbersError, GetWhatsAppPhoneNumbersResponse, PurchaseWhatsAppPhoneNumberData, PurchaseWhatsAppPhoneNumberError, PurchaseWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberData, GetWhatsAppPhoneNumberError, GetWhatsAppPhoneNumberResponse, ReleaseWhatsAppPhoneNumberData, ReleaseWhatsAppPhoneNumberError, ReleaseWhatsAppPhoneNumberResponse, ListWhatsAppGroupChatsData, ListWhatsAppGroupChatsError, ListWhatsAppGroupChatsResponse, CreateWhatsAppGroupChatData, CreateWhatsAppGroupChatError, CreateWhatsAppGroupChatResponse, GetWhatsAppGroupChatData, GetWhatsAppGroupChatError, GetWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatData, UpdateWhatsAppGroupChatError, UpdateWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatData, DeleteWhatsAppGroupChatError, DeleteWhatsAppGroupChatResponse, AddWhatsAppGroupParticipantsData, AddWhatsAppGroupParticipantsError, AddWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsData, RemoveWhatsAppGroupParticipantsError, RemoveWhatsAppGroupParticipantsResponse, CreateWhatsAppGroupInviteLinkData, CreateWhatsAppGroupInviteLinkError, CreateWhatsAppGroupInviteLinkResponse, ListWhatsAppGroupJoinRequestsData, ListWhatsAppGroupJoinRequestsError, ListWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsData, ApproveWhatsAppGroupJoinRequestsError, ApproveWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsData, RejectWhatsAppGroupJoinRequestsError, RejectWhatsAppGroupJoinRequestsResponse, ListWhatsAppFlowsData, ListWhatsAppFlowsError, ListWhatsAppFlowsResponse, CreateWhatsAppFlowData, CreateWhatsAppFlowError, CreateWhatsAppFlowResponse, GetWhatsAppFlowData, GetWhatsAppFlowError, GetWhatsAppFlowResponse, UpdateWhatsAppFlowData, UpdateWhatsAppFlowError, UpdateWhatsAppFlowResponse, DeleteWhatsAppFlowData, DeleteWhatsAppFlowError, DeleteWhatsAppFlowResponse, GetWhatsAppFlowJsonData, GetWhatsAppFlowJsonError, GetWhatsAppFlowJsonResponse, UploadWhatsAppFlowJsonData, UploadWhatsAppFlowJsonError, UploadWhatsAppFlowJsonResponse, PublishWhatsAppFlowData, PublishWhatsAppFlowError, PublishWhatsAppFlowResponse, DeprecateWhatsAppFlowData, DeprecateWhatsAppFlowError, DeprecateWhatsAppFlowResponse, SendWhatsAppFlowMessageData, SendWhatsAppFlowMessageError, SendWhatsAppFlowMessageResponse, ListContactsData, ListContactsError, ListContactsResponse, CreateContactData, CreateContactError, CreateContactResponse, GetContactData, GetContactError, GetContactResponse, UpdateContactData, UpdateContactError, UpdateContactResponse, DeleteContactData, DeleteContactError, DeleteContactResponse, GetContactChannelsData, GetContactChannelsError, GetContactChannelsResponse, BulkCreateContactsData, BulkCreateContactsError, BulkCreateContactsResponse, SetContactFieldValueData, SetContactFieldValueError, SetContactFieldValueResponse, ClearContactFieldValueData, ClearContactFieldValueError, ClearContactFieldValueResponse, ListCustomFieldsData, ListCustomFieldsError, ListCustomFieldsResponse, CreateCustomFieldData, CreateCustomFieldError, CreateCustomFieldResponse, UpdateCustomFieldData, UpdateCustomFieldError, UpdateCustomFieldResponse, DeleteCustomFieldData, DeleteCustomFieldError, DeleteCustomFieldResponse, ListBroadcastsData, ListBroadcastsError, ListBroadcastsResponse, CreateBroadcastData, CreateBroadcastError, CreateBroadcastResponse, GetBroadcastData, GetBroadcastError, GetBroadcastResponse, UpdateBroadcastData, UpdateBroadcastError, UpdateBroadcastResponse, DeleteBroadcastData, DeleteBroadcastError, DeleteBroadcastResponse, SendBroadcastData, SendBroadcastError, SendBroadcastResponse, ScheduleBroadcastData, ScheduleBroadcastError, ScheduleBroadcastResponse, CancelBroadcastData, CancelBroadcastError, CancelBroadcastResponse, ListBroadcastRecipientsData, ListBroadcastRecipientsError, ListBroadcastRecipientsResponse, AddBroadcastRecipientsData, AddBroadcastRecipientsError, AddBroadcastRecipientsResponse, ListSequencesData, ListSequencesError, ListSequencesResponse, CreateSequenceData, CreateSequenceError, CreateSequenceResponse, GetSequenceData, GetSequenceError, GetSequenceResponse, UpdateSequenceData, UpdateSequenceError, UpdateSequenceResponse, DeleteSequenceData, DeleteSequenceError, DeleteSequenceResponse, ActivateSequenceData, ActivateSequenceError, ActivateSequenceResponse, PauseSequenceData, PauseSequenceError, PauseSequenceResponse, EnrollContactsData, EnrollContactsError, EnrollContactsResponse, UnenrollContactData, UnenrollContactError, UnenrollContactResponse, ListSequenceEnrollmentsData, ListSequenceEnrollmentsError, ListSequenceEnrollmentsResponse, ListCommentAutomationsData, ListCommentAutomationsError, ListCommentAutomationsResponse, CreateCommentAutomationData, CreateCommentAutomationError, CreateCommentAutomationResponse, GetCommentAutomationData, GetCommentAutomationError, GetCommentAutomationResponse, UpdateCommentAutomationData, UpdateCommentAutomationError, UpdateCommentAutomationResponse, DeleteCommentAutomationData, DeleteCommentAutomationError, DeleteCommentAutomationResponse, ListCommentAutomationLogsData, ListCommentAutomationLogsError, ListCommentAutomationLogsResponse, ListAdsData, ListAdsError, ListAdsResponse, ListAdCampaignsData, ListAdCampaignsError, ListAdCampaignsResponse, UpdateAdCampaignStatusData, UpdateAdCampaignStatusError, UpdateAdCampaignStatusResponse, GetAdTreeData, GetAdTreeError, GetAdTreeResponse, GetAdData, GetAdError, GetAdResponse, UpdateAdData, UpdateAdError, UpdateAdResponse, DeleteAdData, DeleteAdError, DeleteAdResponse, GetAdAnalyticsData, GetAdAnalyticsError, GetAdAnalyticsResponse, ListAdAccountsData, ListAdAccountsError, ListAdAccountsResponse, BoostPostData, BoostPostError, BoostPostResponse, CreateStandaloneAdData, CreateStandaloneAdError, CreateStandaloneAdResponse, SyncExternalAdsError, SyncExternalAdsResponse, SearchAdInterestsData, SearchAdInterestsError, SearchAdInterestsResponse, ListAdAudiencesData, ListAdAudiencesError, ListAdAudiencesResponse, CreateAdAudienceData, CreateAdAudienceError, CreateAdAudienceResponse, GetAdAudienceData, GetAdAudienceError, GetAdAudienceResponse, DeleteAdAudienceData, DeleteAdAudienceError, DeleteAdAudienceResponse, AddUsersToAdAudienceData, AddUsersToAdAudienceError, AddUsersToAdAudienceResponse } from './types.gen';
|
|
4
|
+
import type { ValidatePostLengthData, ValidatePostLengthError, ValidatePostLengthResponse, ValidatePostData, ValidatePostError, ValidatePostResponse, ValidateMediaData, ValidateMediaError, ValidateMediaResponse, ValidateSubredditData, ValidateSubredditError, ValidateSubredditResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, GetInstagramAccountInsightsData, GetInstagramAccountInsightsError, GetInstagramAccountInsightsResponse, GetInstagramDemographicsData, GetInstagramDemographicsError, GetInstagramDemographicsResponse, GetYouTubeDemographicsData, GetYouTubeDemographicsError, GetYouTubeDemographicsResponse, GetDailyMetricsData, GetDailyMetricsError, GetDailyMetricsResponse, GetBestTimeToPostData, GetBestTimeToPostError, GetBestTimeToPostResponse, GetContentDecayData, GetContentDecayError, GetContentDecayResponse, GetPostingFrequencyData, GetPostingFrequencyError, GetPostingFrequencyResponse, GetPostTimelineData, GetPostTimelineError, GetPostTimelineResponse, GetGoogleBusinessPerformanceData, GetGoogleBusinessPerformanceError, GetGoogleBusinessPerformanceResponse, GetGoogleBusinessSearchKeywordsData, GetGoogleBusinessSearchKeywordsError, GetGoogleBusinessSearchKeywordsResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, UnpublishPostData, UnpublishPostError, UnpublishPostResponse, EditPostData, EditPostError, EditPostResponse, UpdatePostMetadataData, UpdatePostMetadataError, UpdatePostMetadataResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, DisconnectAdsData, DisconnectAdsError, DisconnectAdsResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, GetTikTokCreatorInfoData, GetTikTokCreatorInfoError, GetTikTokCreatorInfoResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ConnectAdsData, ConnectAdsError, ConnectAdsResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, ConnectWhatsAppCredentialsData, ConnectWhatsAppCredentialsError, ConnectWhatsAppCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, GetLinkedInPostReactionsData, GetLinkedInPostReactionsError, GetLinkedInPostReactionsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetYoutubePlaylistsData, GetYoutubePlaylistsError, GetYoutubePlaylistsResponse, UpdateYoutubeDefaultPlaylistData, UpdateYoutubeDefaultPlaylistError, UpdateYoutubeDefaultPlaylistResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, GetRedditFlairsData, GetRedditFlairsError, GetRedditFlairsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, ListLogsData, ListLogsError, ListLogsResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, CreateInboxConversationData, CreateInboxConversationError, CreateInboxConversationResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, EditInboxMessageData, EditInboxMessageError, EditInboxMessageResponse, DeleteInboxMessageData, DeleteInboxMessageError, DeleteInboxMessageResponse, SendTypingIndicatorData, SendTypingIndicatorError, SendTypingIndicatorResponse, AddMessageReactionData, AddMessageReactionError, AddMessageReactionResponse, RemoveMessageReactionData, RemoveMessageReactionError, RemoveMessageReactionResponse, UploadMediaDirectData, UploadMediaDirectError, UploadMediaDirectResponse, GetMessengerMenuData, GetMessengerMenuError, GetMessengerMenuResponse, SetMessengerMenuData, SetMessengerMenuError, SetMessengerMenuResponse, DeleteMessengerMenuData, DeleteMessengerMenuError, DeleteMessengerMenuResponse, GetInstagramIceBreakersData, GetInstagramIceBreakersError, GetInstagramIceBreakersResponse, SetInstagramIceBreakersData, SetInstagramIceBreakersError, SetInstagramIceBreakersResponse, DeleteInstagramIceBreakersData, DeleteInstagramIceBreakersError, DeleteInstagramIceBreakersResponse, GetTelegramCommandsData, GetTelegramCommandsError, GetTelegramCommandsResponse, SetTelegramCommandsData, SetTelegramCommandsError, SetTelegramCommandsResponse, DeleteTelegramCommandsData, DeleteTelegramCommandsError, DeleteTelegramCommandsResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, RetweetPostData, RetweetPostError, RetweetPostResponse, UndoRetweetData, UndoRetweetError, UndoRetweetResponse, BookmarkPostData, BookmarkPostError, BookmarkPostResponse, RemoveBookmarkData, RemoveBookmarkError, RemoveBookmarkResponse, FollowUserData, FollowUserError, FollowUserResponse, UnfollowUserData, UnfollowUserError, UnfollowUserResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse, SendWhatsAppBulkData, SendWhatsAppBulkError, SendWhatsAppBulkResponse, GetWhatsAppContactsData, GetWhatsAppContactsError, GetWhatsAppContactsResponse, CreateWhatsAppContactData, CreateWhatsAppContactError, CreateWhatsAppContactResponse, GetWhatsAppContactData, GetWhatsAppContactError, GetWhatsAppContactResponse, UpdateWhatsAppContactData, UpdateWhatsAppContactError, UpdateWhatsAppContactResponse, DeleteWhatsAppContactData, DeleteWhatsAppContactError, DeleteWhatsAppContactResponse, ImportWhatsAppContactsData, ImportWhatsAppContactsError, ImportWhatsAppContactsResponse, BulkUpdateWhatsAppContactsData, BulkUpdateWhatsAppContactsError, BulkUpdateWhatsAppContactsResponse, BulkDeleteWhatsAppContactsData, BulkDeleteWhatsAppContactsError, BulkDeleteWhatsAppContactsResponse, GetWhatsAppGroupsData, GetWhatsAppGroupsError, GetWhatsAppGroupsResponse, RenameWhatsAppGroupData, RenameWhatsAppGroupError, RenameWhatsAppGroupResponse, DeleteWhatsAppGroupData, DeleteWhatsAppGroupError, DeleteWhatsAppGroupResponse, GetWhatsAppTemplatesData, GetWhatsAppTemplatesError, GetWhatsAppTemplatesResponse, CreateWhatsAppTemplateData, CreateWhatsAppTemplateError, CreateWhatsAppTemplateResponse, GetWhatsAppTemplateData, GetWhatsAppTemplateError, GetWhatsAppTemplateResponse, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateError, UpdateWhatsAppTemplateResponse, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateError, DeleteWhatsAppTemplateResponse, GetWhatsAppBroadcastsData, GetWhatsAppBroadcastsError, GetWhatsAppBroadcastsResponse, CreateWhatsAppBroadcastData, CreateWhatsAppBroadcastError, CreateWhatsAppBroadcastResponse, GetWhatsAppBroadcastData, GetWhatsAppBroadcastError, GetWhatsAppBroadcastResponse, DeleteWhatsAppBroadcastData, DeleteWhatsAppBroadcastError, DeleteWhatsAppBroadcastResponse, SendWhatsAppBroadcastData, SendWhatsAppBroadcastError, SendWhatsAppBroadcastResponse, ScheduleWhatsAppBroadcastData, ScheduleWhatsAppBroadcastError, ScheduleWhatsAppBroadcastResponse, CancelWhatsAppBroadcastScheduleData, CancelWhatsAppBroadcastScheduleError, CancelWhatsAppBroadcastScheduleResponse, GetWhatsAppBroadcastRecipientsData, GetWhatsAppBroadcastRecipientsError, GetWhatsAppBroadcastRecipientsResponse, AddWhatsAppBroadcastRecipientsData, AddWhatsAppBroadcastRecipientsError, AddWhatsAppBroadcastRecipientsResponse, RemoveWhatsAppBroadcastRecipientsData, RemoveWhatsAppBroadcastRecipientsError, RemoveWhatsAppBroadcastRecipientsResponse, GetWhatsAppBusinessProfileData, GetWhatsAppBusinessProfileError, GetWhatsAppBusinessProfileResponse, UpdateWhatsAppBusinessProfileData, UpdateWhatsAppBusinessProfileError, UpdateWhatsAppBusinessProfileResponse, UploadWhatsAppProfilePhotoData, UploadWhatsAppProfilePhotoError, UploadWhatsAppProfilePhotoResponse, GetWhatsAppDisplayNameData, GetWhatsAppDisplayNameError, GetWhatsAppDisplayNameResponse, UpdateWhatsAppDisplayNameData, UpdateWhatsAppDisplayNameError, UpdateWhatsAppDisplayNameResponse, GetWhatsAppPhoneNumbersData, GetWhatsAppPhoneNumbersError, GetWhatsAppPhoneNumbersResponse, PurchaseWhatsAppPhoneNumberData, PurchaseWhatsAppPhoneNumberError, PurchaseWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberData, GetWhatsAppPhoneNumberError, GetWhatsAppPhoneNumberResponse, ReleaseWhatsAppPhoneNumberData, ReleaseWhatsAppPhoneNumberError, ReleaseWhatsAppPhoneNumberResponse, ListWhatsAppGroupChatsData, ListWhatsAppGroupChatsError, ListWhatsAppGroupChatsResponse, CreateWhatsAppGroupChatData, CreateWhatsAppGroupChatError, CreateWhatsAppGroupChatResponse, GetWhatsAppGroupChatData, GetWhatsAppGroupChatError, GetWhatsAppGroupChatResponse, UpdateWhatsAppGroupChatData, UpdateWhatsAppGroupChatError, UpdateWhatsAppGroupChatResponse, DeleteWhatsAppGroupChatData, DeleteWhatsAppGroupChatError, DeleteWhatsAppGroupChatResponse, AddWhatsAppGroupParticipantsData, AddWhatsAppGroupParticipantsError, AddWhatsAppGroupParticipantsResponse, RemoveWhatsAppGroupParticipantsData, RemoveWhatsAppGroupParticipantsError, RemoveWhatsAppGroupParticipantsResponse, CreateWhatsAppGroupInviteLinkData, CreateWhatsAppGroupInviteLinkError, CreateWhatsAppGroupInviteLinkResponse, ListWhatsAppGroupJoinRequestsData, ListWhatsAppGroupJoinRequestsError, ListWhatsAppGroupJoinRequestsResponse, ApproveWhatsAppGroupJoinRequestsData, ApproveWhatsAppGroupJoinRequestsError, ApproveWhatsAppGroupJoinRequestsResponse, RejectWhatsAppGroupJoinRequestsData, RejectWhatsAppGroupJoinRequestsError, RejectWhatsAppGroupJoinRequestsResponse, ListWhatsAppFlowsData, ListWhatsAppFlowsError, ListWhatsAppFlowsResponse, CreateWhatsAppFlowData, CreateWhatsAppFlowError, CreateWhatsAppFlowResponse, GetWhatsAppFlowData, GetWhatsAppFlowError, GetWhatsAppFlowResponse, UpdateWhatsAppFlowData, UpdateWhatsAppFlowError, UpdateWhatsAppFlowResponse, DeleteWhatsAppFlowData, DeleteWhatsAppFlowError, DeleteWhatsAppFlowResponse, GetWhatsAppFlowJsonData, GetWhatsAppFlowJsonError, GetWhatsAppFlowJsonResponse, UploadWhatsAppFlowJsonData, UploadWhatsAppFlowJsonError, UploadWhatsAppFlowJsonResponse, PublishWhatsAppFlowData, PublishWhatsAppFlowError, PublishWhatsAppFlowResponse, DeprecateWhatsAppFlowData, DeprecateWhatsAppFlowError, DeprecateWhatsAppFlowResponse, SendWhatsAppFlowMessageData, SendWhatsAppFlowMessageError, SendWhatsAppFlowMessageResponse, ListContactsData, ListContactsError, ListContactsResponse, CreateContactData, CreateContactError, CreateContactResponse, GetContactData, GetContactError, GetContactResponse, UpdateContactData, UpdateContactError, UpdateContactResponse, DeleteContactData, DeleteContactError, DeleteContactResponse, GetContactChannelsData, GetContactChannelsError, GetContactChannelsResponse, BulkCreateContactsData, BulkCreateContactsError, BulkCreateContactsResponse, SetContactFieldValueData, SetContactFieldValueError, SetContactFieldValueResponse, ClearContactFieldValueData, ClearContactFieldValueError, ClearContactFieldValueResponse, ListCustomFieldsData, ListCustomFieldsError, ListCustomFieldsResponse, CreateCustomFieldData, CreateCustomFieldError, CreateCustomFieldResponse, UpdateCustomFieldData, UpdateCustomFieldError, UpdateCustomFieldResponse, DeleteCustomFieldData, DeleteCustomFieldError, DeleteCustomFieldResponse, ListBroadcastsData, ListBroadcastsError, ListBroadcastsResponse, CreateBroadcastData, CreateBroadcastError, CreateBroadcastResponse, GetBroadcastData, GetBroadcastError, GetBroadcastResponse, UpdateBroadcastData, UpdateBroadcastError, UpdateBroadcastResponse, DeleteBroadcastData, DeleteBroadcastError, DeleteBroadcastResponse, SendBroadcastData, SendBroadcastError, SendBroadcastResponse, ScheduleBroadcastData, ScheduleBroadcastError, ScheduleBroadcastResponse, CancelBroadcastData, CancelBroadcastError, CancelBroadcastResponse, ListBroadcastRecipientsData, ListBroadcastRecipientsError, ListBroadcastRecipientsResponse, AddBroadcastRecipientsData, AddBroadcastRecipientsError, AddBroadcastRecipientsResponse, ListSequencesData, ListSequencesError, ListSequencesResponse, CreateSequenceData, CreateSequenceError, CreateSequenceResponse, GetSequenceData, GetSequenceError, GetSequenceResponse, UpdateSequenceData, UpdateSequenceError, UpdateSequenceResponse, DeleteSequenceData, DeleteSequenceError, DeleteSequenceResponse, ActivateSequenceData, ActivateSequenceError, ActivateSequenceResponse, PauseSequenceData, PauseSequenceError, PauseSequenceResponse, EnrollContactsData, EnrollContactsError, EnrollContactsResponse, UnenrollContactData, UnenrollContactError, UnenrollContactResponse, ListSequenceEnrollmentsData, ListSequenceEnrollmentsError, ListSequenceEnrollmentsResponse, ListCommentAutomationsData, ListCommentAutomationsError, ListCommentAutomationsResponse, CreateCommentAutomationData, CreateCommentAutomationError, CreateCommentAutomationResponse, GetCommentAutomationData, GetCommentAutomationError, GetCommentAutomationResponse, UpdateCommentAutomationData, UpdateCommentAutomationError, UpdateCommentAutomationResponse, DeleteCommentAutomationData, DeleteCommentAutomationError, DeleteCommentAutomationResponse, ListCommentAutomationLogsData, ListCommentAutomationLogsError, ListCommentAutomationLogsResponse, ListAdsData, ListAdsError, ListAdsResponse, ListAdCampaignsData, ListAdCampaignsError, ListAdCampaignsResponse, UpdateAdCampaignStatusData, UpdateAdCampaignStatusError, UpdateAdCampaignStatusResponse, GetAdTreeData, GetAdTreeError, GetAdTreeResponse, GetAdData, GetAdError, GetAdResponse, UpdateAdData, UpdateAdError, UpdateAdResponse, DeleteAdData, DeleteAdError, DeleteAdResponse, GetAdAnalyticsData, GetAdAnalyticsError, GetAdAnalyticsResponse, ListAdAccountsData, ListAdAccountsError, ListAdAccountsResponse, BoostPostData, BoostPostError, BoostPostResponse, CreateStandaloneAdData, CreateStandaloneAdError, CreateStandaloneAdResponse, SearchAdInterestsData, SearchAdInterestsError, SearchAdInterestsResponse, ListAdAudiencesData, ListAdAudiencesError, ListAdAudiencesResponse, CreateAdAudienceData, CreateAdAudienceError, CreateAdAudienceResponse, GetAdAudienceData, GetAdAudienceError, GetAdAudienceResponse, DeleteAdAudienceData, DeleteAdAudienceError, DeleteAdAudienceResponse, AddUsersToAdAudienceData, AddUsersToAdAudienceError, AddUsersToAdAudienceResponse } from './types.gen';
|
|
5
5
|
|
|
6
6
|
export const client = createClient(createConfig());
|
|
7
7
|
|
|
@@ -592,6 +592,24 @@ export const deleteAccount = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
592
592
|
});
|
|
593
593
|
};
|
|
594
594
|
|
|
595
|
+
/**
|
|
596
|
+
* Disconnect ads from an account
|
|
597
|
+
* Disconnects ads from a social account without removing the posting connection.
|
|
598
|
+
*
|
|
599
|
+
* **Same-token platforms** (metaads, linkedinads, pinterestads): Sets an `adsOptOut` flag. The posting account and OAuth token are preserved. Reconnecting ads clears the flag.
|
|
600
|
+
*
|
|
601
|
+
* **Separate-token platforms** (tiktokads, xads): Clears the ads-specific metadata (marketing API tokens). The posting account stays intact.
|
|
602
|
+
*
|
|
603
|
+
* **Standalone platforms** (googleads): Do not use this endpoint. Use `DELETE /v1/accounts/{accountId}` instead, since Google Ads accounts are standalone.
|
|
604
|
+
*
|
|
605
|
+
*/
|
|
606
|
+
export const disconnectAds = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DisconnectAdsData, ThrowOnError>) => {
|
|
607
|
+
return (options?.client ?? client).post<DisconnectAdsResponse, DisconnectAdsError, ThrowOnError>({
|
|
608
|
+
...options,
|
|
609
|
+
url: '/v1/accounts/{accountId}/disconnect-ads'
|
|
610
|
+
});
|
|
611
|
+
};
|
|
612
|
+
|
|
595
613
|
/**
|
|
596
614
|
* Check accounts health
|
|
597
615
|
* Returns health status of all connected accounts including token validity, permissions, and issues needing attention.
|
|
@@ -699,9 +717,9 @@ export const handleOAuthCallback = <ThrowOnError extends boolean = false>(option
|
|
|
699
717
|
* Connect ads for a platform
|
|
700
718
|
* Unified ads connection endpoint. Handles all platforms through a single route:
|
|
701
719
|
*
|
|
702
|
-
* **Same-token platforms** (facebook, instagram, linkedin): If a posting account already exists, returns `alreadyConnected: true` immediately (no extra OAuth needed). If not, starts the normal OAuth flow, and the resulting account supports both posting and ads.
|
|
720
|
+
* **Same-token platforms** (facebook, instagram, linkedin, pinterest): If a posting account already exists, returns `alreadyConnected: true` immediately (no extra OAuth needed). If not, starts the normal OAuth flow, and the resulting account supports both posting and ads.
|
|
703
721
|
*
|
|
704
|
-
* **Separate-token platforms** (tiktok, twitter
|
|
722
|
+
* **Separate-token platforms** (tiktok, twitter): Requires an existing posting account (`accountId` param). If ads are already connected, returns `alreadyConnected: true`. Otherwise, starts the platform-specific marketing API OAuth flow.
|
|
705
723
|
*
|
|
706
724
|
* **Ads-only platforms** (googleads): If a Google Ads account exists, returns `alreadyConnected: true`. Otherwise, starts the Google Ads OAuth flow.
|
|
707
725
|
*
|
|
@@ -3172,7 +3190,10 @@ export const listCommentAutomationLogs = <ThrowOnError extends boolean = false>(
|
|
|
3172
3190
|
|
|
3173
3191
|
/**
|
|
3174
3192
|
* List ads
|
|
3175
|
-
* Returns a paginated list of ads with
|
|
3193
|
+
* Returns a paginated list of ads with metrics computed over an optional date range.
|
|
3194
|
+
* Use `source=all` to include externally-synced ads from platform ad managers.
|
|
3195
|
+
* If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
|
|
3196
|
+
*
|
|
3176
3197
|
*/
|
|
3177
3198
|
export const listAds = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListAdsData, ThrowOnError>) => {
|
|
3178
3199
|
return (options?.client ?? client).get<ListAdsResponse, ListAdsError, ThrowOnError>({
|
|
@@ -3212,8 +3233,10 @@ export const updateAdCampaignStatus = <ThrowOnError extends boolean = false>(opt
|
|
|
3212
3233
|
* Get nested campaign/ad-set/ad tree
|
|
3213
3234
|
* Returns a nested Campaign > Ad Set > Ad hierarchy with rolled-up metrics at each level.
|
|
3214
3235
|
* Uses a two-stage aggregation: ads are grouped into ad sets, then ad sets into campaigns.
|
|
3215
|
-
*
|
|
3216
|
-
*
|
|
3236
|
+
* Metrics are computed over an optional date range, then rolled up from ad level to ad set
|
|
3237
|
+
* and campaign levels. Pagination is at the campaign level. Ads without a campaign or ad set
|
|
3238
|
+
* ID are grouped into synthetic "Ungrouped" buckets.
|
|
3239
|
+
* If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
|
|
3217
3240
|
*
|
|
3218
3241
|
*/
|
|
3219
3242
|
export const getAdTree = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAdTreeData, ThrowOnError>) => {
|
|
@@ -3257,8 +3280,9 @@ export const deleteAd = <ThrowOnError extends boolean = false>(options: OptionsL
|
|
|
3257
3280
|
|
|
3258
3281
|
/**
|
|
3259
3282
|
* Get ad analytics with daily breakdown
|
|
3260
|
-
* Returns
|
|
3261
|
-
*
|
|
3283
|
+
* Returns detailed performance analytics for an ad. Includes summary metrics, a daily timeline
|
|
3284
|
+
* over the requested date range, and optional demographic breakdowns (Meta and TikTok only).
|
|
3285
|
+
* If no date range is provided, defaults to the last 90 days. Date range is capped at 90 days max.
|
|
3262
3286
|
*
|
|
3263
3287
|
*/
|
|
3264
3288
|
export const getAdAnalytics = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetAdAnalyticsData, ThrowOnError>) => {
|
|
@@ -3301,17 +3325,6 @@ export const createStandaloneAd = <ThrowOnError extends boolean = false>(options
|
|
|
3301
3325
|
});
|
|
3302
3326
|
};
|
|
3303
3327
|
|
|
3304
|
-
/**
|
|
3305
|
-
* Sync external ads from platform ad managers
|
|
3306
|
-
* Discovers and imports ads created outside Zernio (e.g. in Meta Ads Manager, Google Ads). Upserts new ads and updates metrics/status for existing ones. Also runs automatically every 30 minutes.
|
|
3307
|
-
*/
|
|
3308
|
-
export const syncExternalAds = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<unknown, ThrowOnError>) => {
|
|
3309
|
-
return (options?.client ?? client).post<SyncExternalAdsResponse, SyncExternalAdsError, ThrowOnError>({
|
|
3310
|
-
...options,
|
|
3311
|
-
url: '/v1/ads/sync'
|
|
3312
|
-
});
|
|
3313
|
-
};
|
|
3314
|
-
|
|
3315
3328
|
/**
|
|
3316
3329
|
* Search targeting interests
|
|
3317
3330
|
* Search for interest-based targeting options available on the platform.
|
|
@@ -1910,7 +1910,7 @@ export type Webhook = {
|
|
|
1910
1910
|
/**
|
|
1911
1911
|
* Events subscribed to
|
|
1912
1912
|
*/
|
|
1913
|
-
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received')>;
|
|
1913
|
+
events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'comment.received')>;
|
|
1914
1914
|
/**
|
|
1915
1915
|
* Whether webhook delivery is enabled
|
|
1916
1916
|
*/
|
|
@@ -1944,7 +1944,7 @@ export type WebhookLog = {
|
|
|
1944
1944
|
* Name of the webhook that was triggered
|
|
1945
1945
|
*/
|
|
1946
1946
|
webhookName?: string;
|
|
1947
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1947
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'comment.received' | 'webhook.test';
|
|
1948
1948
|
url?: string;
|
|
1949
1949
|
status?: 'success' | 'failed';
|
|
1950
1950
|
/**
|
|
@@ -1976,7 +1976,7 @@ export type WebhookLog = {
|
|
|
1976
1976
|
createdAt?: string;
|
|
1977
1977
|
};
|
|
1978
1978
|
|
|
1979
|
-
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
1979
|
+
export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'comment.received' | 'webhook.test';
|
|
1980
1980
|
|
|
1981
1981
|
export type status7 = 'success' | 'failed';
|
|
1982
1982
|
|
|
@@ -2242,6 +2242,82 @@ export type direction = 'incoming' | 'outgoing';
|
|
|
2242
2242
|
|
|
2243
2243
|
export type status8 = 'active' | 'archived';
|
|
2244
2244
|
|
|
2245
|
+
/**
|
|
2246
|
+
* Webhook payload for message sent events (fired when a message is sent via the API)
|
|
2247
|
+
*/
|
|
2248
|
+
export type WebhookPayloadMessageSent = {
|
|
2249
|
+
/**
|
|
2250
|
+
* Stable webhook event ID
|
|
2251
|
+
*/
|
|
2252
|
+
id: string;
|
|
2253
|
+
event: 'message.sent';
|
|
2254
|
+
message: {
|
|
2255
|
+
/**
|
|
2256
|
+
* Internal message ID
|
|
2257
|
+
*/
|
|
2258
|
+
id: string;
|
|
2259
|
+
/**
|
|
2260
|
+
* Internal conversation ID
|
|
2261
|
+
*/
|
|
2262
|
+
conversationId: string;
|
|
2263
|
+
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp';
|
|
2264
|
+
/**
|
|
2265
|
+
* Platform's message ID
|
|
2266
|
+
*/
|
|
2267
|
+
platformMessageId: string;
|
|
2268
|
+
direction: 'incoming' | 'outgoing';
|
|
2269
|
+
/**
|
|
2270
|
+
* Message text content
|
|
2271
|
+
*/
|
|
2272
|
+
text: (string) | null;
|
|
2273
|
+
attachments: Array<{
|
|
2274
|
+
/**
|
|
2275
|
+
* Attachment type (image, video, file, sticker, audio)
|
|
2276
|
+
*/
|
|
2277
|
+
type: string;
|
|
2278
|
+
/**
|
|
2279
|
+
* Attachment URL (may expire for Meta platforms)
|
|
2280
|
+
*/
|
|
2281
|
+
url: string;
|
|
2282
|
+
/**
|
|
2283
|
+
* Additional attachment metadata
|
|
2284
|
+
*/
|
|
2285
|
+
payload?: {
|
|
2286
|
+
[key: string]: unknown;
|
|
2287
|
+
};
|
|
2288
|
+
}>;
|
|
2289
|
+
sender: {
|
|
2290
|
+
id: string;
|
|
2291
|
+
name?: string;
|
|
2292
|
+
username?: string;
|
|
2293
|
+
picture?: string;
|
|
2294
|
+
};
|
|
2295
|
+
sentAt: string;
|
|
2296
|
+
isRead: boolean;
|
|
2297
|
+
};
|
|
2298
|
+
conversation: {
|
|
2299
|
+
id: string;
|
|
2300
|
+
platformConversationId: string;
|
|
2301
|
+
participantId?: string;
|
|
2302
|
+
participantName?: string;
|
|
2303
|
+
participantUsername?: string;
|
|
2304
|
+
participantPicture?: string;
|
|
2305
|
+
status: 'active' | 'archived';
|
|
2306
|
+
};
|
|
2307
|
+
account: {
|
|
2308
|
+
/**
|
|
2309
|
+
* Social account ID
|
|
2310
|
+
*/
|
|
2311
|
+
id: string;
|
|
2312
|
+
platform: string;
|
|
2313
|
+
username: string;
|
|
2314
|
+
displayName?: string;
|
|
2315
|
+
};
|
|
2316
|
+
timestamp: string;
|
|
2317
|
+
};
|
|
2318
|
+
|
|
2319
|
+
export type event6 = 'message.sent';
|
|
2320
|
+
|
|
2245
2321
|
/**
|
|
2246
2322
|
* Webhook payload for post events
|
|
2247
2323
|
*/
|
|
@@ -2268,7 +2344,7 @@ export type WebhookPayloadPost = {
|
|
|
2268
2344
|
timestamp: string;
|
|
2269
2345
|
};
|
|
2270
2346
|
|
|
2271
|
-
export type
|
|
2347
|
+
export type event7 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled';
|
|
2272
2348
|
|
|
2273
2349
|
/**
|
|
2274
2350
|
* Webhook payload for test deliveries
|
|
@@ -2286,7 +2362,7 @@ export type WebhookPayloadTest = {
|
|
|
2286
2362
|
timestamp: string;
|
|
2287
2363
|
};
|
|
2288
2364
|
|
|
2289
|
-
export type
|
|
2365
|
+
export type event8 = 'webhook.test';
|
|
2290
2366
|
|
|
2291
2367
|
export type WhatsAppBodyComponent = {
|
|
2292
2368
|
type: 'body';
|
|
@@ -4005,6 +4081,29 @@ export type DeleteAccountError = ({
|
|
|
4005
4081
|
error?: string;
|
|
4006
4082
|
});
|
|
4007
4083
|
|
|
4084
|
+
export type DisconnectAdsData = {
|
|
4085
|
+
body: {
|
|
4086
|
+
/**
|
|
4087
|
+
* The ads platform to disconnect
|
|
4088
|
+
*/
|
|
4089
|
+
adsPlatform: 'metaads' | 'linkedinads' | 'pinterestads' | 'tiktokads' | 'xads';
|
|
4090
|
+
};
|
|
4091
|
+
path: {
|
|
4092
|
+
/**
|
|
4093
|
+
* The SocialAccount ID (parent posting account for same-token/separate-token platforms)
|
|
4094
|
+
*/
|
|
4095
|
+
accountId: string;
|
|
4096
|
+
};
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
export type DisconnectAdsResponse = ({
|
|
4100
|
+
message?: string;
|
|
4101
|
+
});
|
|
4102
|
+
|
|
4103
|
+
export type DisconnectAdsError = (unknown | {
|
|
4104
|
+
error?: string;
|
|
4105
|
+
});
|
|
4106
|
+
|
|
4008
4107
|
export type GetAllAccountsHealthData = {
|
|
4009
4108
|
query?: {
|
|
4010
4109
|
/**
|
|
@@ -4347,7 +4446,7 @@ export type ConnectAdsData = {
|
|
|
4347
4446
|
};
|
|
4348
4447
|
query: {
|
|
4349
4448
|
/**
|
|
4350
|
-
* Existing SocialAccount ID. Required for separate-token platforms (tiktok, twitter
|
|
4449
|
+
* Existing SocialAccount ID. Required for separate-token platforms (tiktok, twitter). Ignored for same-token and ads-only platforms.
|
|
4351
4450
|
*/
|
|
4352
4451
|
accountId?: string;
|
|
4353
4452
|
/**
|
|
@@ -6739,7 +6838,7 @@ export type GetWebhookLogsData = {
|
|
|
6739
6838
|
/**
|
|
6740
6839
|
* Filter by event type
|
|
6741
6840
|
*/
|
|
6742
|
-
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
|
|
6841
|
+
event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'comment.received' | 'webhook.test';
|
|
6743
6842
|
/**
|
|
6744
6843
|
* Maximum number of logs to return (max 100)
|
|
6745
6844
|
*/
|
|
@@ -11735,6 +11834,10 @@ export type ListAdsData = {
|
|
|
11735
11834
|
* Platform campaign ID (filter ads within a campaign)
|
|
11736
11835
|
*/
|
|
11737
11836
|
campaignId?: string;
|
|
11837
|
+
/**
|
|
11838
|
+
* Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
|
|
11839
|
+
*/
|
|
11840
|
+
fromDate?: string;
|
|
11738
11841
|
limit?: number;
|
|
11739
11842
|
/**
|
|
11740
11843
|
* Page number (1-based)
|
|
@@ -11750,6 +11853,10 @@ export type ListAdsData = {
|
|
|
11750
11853
|
*/
|
|
11751
11854
|
source?: 'zernio' | 'all';
|
|
11752
11855
|
status?: 'active' | 'paused' | 'pending_review' | 'rejected' | 'completed' | 'cancelled' | 'error';
|
|
11856
|
+
/**
|
|
11857
|
+
* End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
|
|
11858
|
+
*/
|
|
11859
|
+
toDate?: string;
|
|
11753
11860
|
};
|
|
11754
11861
|
};
|
|
11755
11862
|
|
|
@@ -11842,6 +11949,10 @@ export type GetAdTreeData = {
|
|
|
11842
11949
|
* Platform ad account ID
|
|
11843
11950
|
*/
|
|
11844
11951
|
adAccountId?: string;
|
|
11952
|
+
/**
|
|
11953
|
+
* Start of metrics date range (YYYY-MM-DD). Defaults to 90 days ago.
|
|
11954
|
+
*/
|
|
11955
|
+
fromDate?: string;
|
|
11845
11956
|
/**
|
|
11846
11957
|
* Campaigns per page
|
|
11847
11958
|
*/
|
|
@@ -11860,6 +11971,10 @@ export type GetAdTreeData = {
|
|
|
11860
11971
|
* Filter by derived campaign status (post-aggregation)
|
|
11861
11972
|
*/
|
|
11862
11973
|
status?: 'active' | 'paused' | 'pending_review' | 'rejected' | 'completed' | 'cancelled' | 'error';
|
|
11974
|
+
/**
|
|
11975
|
+
* End of metrics date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
|
|
11976
|
+
*/
|
|
11977
|
+
toDate?: string;
|
|
11863
11978
|
};
|
|
11864
11979
|
};
|
|
11865
11980
|
|
|
@@ -11944,6 +12059,14 @@ export type GetAdAnalyticsData = {
|
|
|
11944
12059
|
* Comma-separated breakdown dimensions. Meta: age, gender, country, publisher_platform, device_platform, region. TikTok: gender, age, country_code, platform, ac, language.
|
|
11945
12060
|
*/
|
|
11946
12061
|
breakdowns?: string;
|
|
12062
|
+
/**
|
|
12063
|
+
* Start of date range (YYYY-MM-DD). Defaults to 90 days ago.
|
|
12064
|
+
*/
|
|
12065
|
+
fromDate?: string;
|
|
12066
|
+
/**
|
|
12067
|
+
* End of date range (YYYY-MM-DD). Defaults to today. Max 90-day range.
|
|
12068
|
+
*/
|
|
12069
|
+
toDate?: string;
|
|
11947
12070
|
};
|
|
11948
12071
|
};
|
|
11949
12072
|
|
|
@@ -12142,26 +12265,6 @@ export type CreateStandaloneAdError = (unknown | {
|
|
|
12142
12265
|
error?: string;
|
|
12143
12266
|
});
|
|
12144
12267
|
|
|
12145
|
-
export type SyncExternalAdsResponse = ({
|
|
12146
|
-
success?: boolean;
|
|
12147
|
-
/**
|
|
12148
|
-
* New ads imported
|
|
12149
|
-
*/
|
|
12150
|
-
synced?: number;
|
|
12151
|
-
/**
|
|
12152
|
-
* Already-known ads (skipped import
|
|
12153
|
-
*/
|
|
12154
|
-
skipped?: number;
|
|
12155
|
-
/**
|
|
12156
|
-
* Failed ad imports
|
|
12157
|
-
*/
|
|
12158
|
-
errors?: number;
|
|
12159
|
-
});
|
|
12160
|
-
|
|
12161
|
-
export type SyncExternalAdsError = ({
|
|
12162
|
-
error?: string;
|
|
12163
|
-
} | unknown);
|
|
12164
|
-
|
|
12165
12268
|
export type SearchAdInterestsData = {
|
|
12166
12269
|
query: {
|
|
12167
12270
|
/**
|