@zernio/node 0.2.69 → 0.2.71

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/dist/index.d.mts CHANGED
@@ -2795,7 +2795,7 @@ type Webhook = {
2795
2795
  /**
2796
2796
  * Events subscribed to
2797
2797
  */
2798
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
2798
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'review.new' | 'review.updated')>;
2799
2799
  /**
2800
2800
  * Whether webhook delivery is enabled
2801
2801
  */
@@ -3042,25 +3042,68 @@ type WebhookPayloadMessage = {
3042
3042
  */
3043
3043
  metadata?: {
3044
3044
  /**
3045
- * Payload from a quick reply tap (Meta platforms)
3045
+ * Payload from a quick reply tap (Facebook/Instagram Messenger).
3046
3046
  */
3047
3047
  quickReplyPayload?: string;
3048
3048
  /**
3049
- * Payload from a postback button tap (Meta platforms)
3049
+ * Payload from a postback button tap (Facebook/Instagram Messenger).
3050
3050
  */
3051
3051
  postbackPayload?: string;
3052
3052
  /**
3053
- * Title of the tapped postback button (Meta platforms)
3053
+ * Title of the tapped postback button (Facebook/Instagram Messenger).
3054
3054
  */
3055
3055
  postbackTitle?: string;
3056
3056
  /**
3057
- * Callback data from an inline keyboard button tap (Telegram)
3057
+ * Callback data from an inline keyboard button tap (Telegram).
3058
3058
  */
3059
3059
  callbackData?: string;
3060
+ /**
3061
+ * WhatsApp only. Which kind of interactive reply the user sent:
3062
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
3063
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
3064
+ *
3065
+ */
3066
+ interactiveType?: 'button_reply' | 'list_reply' | 'nfm_reply';
3067
+ /**
3068
+ * WhatsApp only. The `id` of the tapped button or list row, matching the
3069
+ * `id` you supplied when the message was sent. Not set for Flow responses.
3070
+ *
3071
+ */
3072
+ interactiveId?: string;
3073
+ /**
3074
+ * WhatsApp only. Payload attached to a tapped template button. Template
3075
+ * buttons emit a plain `button` webhook (not an interactive reply), so
3076
+ * `interactiveType` is empty while this field is populated.
3077
+ *
3078
+ */
3079
+ buttonPayload?: string;
3080
+ /**
3081
+ * WhatsApp only. Raw `nfm_reply.response_json` string returned by a
3082
+ * Flow submission. Useful if you need the exact wire payload; for
3083
+ * typed access use `flowResponseData` instead.
3084
+ *
3085
+ */
3086
+ flowResponseJson?: string;
3087
+ /**
3088
+ * WhatsApp only. Parsed Flow response JSON. Populated when
3089
+ * `flowResponseJson` is valid JSON; otherwise omitted. Keys and
3090
+ * value types depend on the specific Flow that was submitted.
3091
+ *
3092
+ */
3093
+ flowResponseData?: {
3094
+ [key: string]: unknown;
3095
+ };
3060
3096
  } | null;
3061
3097
  timestamp: string;
3062
3098
  };
3063
3099
  type event4 = 'message.received';
3100
+ /**
3101
+ * WhatsApp only. Which kind of interactive reply the user sent:
3102
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
3103
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
3104
+ *
3105
+ */
3106
+ type interactiveType = 'button_reply' | 'list_reply' | 'nfm_reply';
3064
3107
  /**
3065
3108
  * Webhook payload for message.deleted events. Fires when the sender
3066
3109
  * deletes (unsends) a message. Supported platforms: Instagram (incoming
@@ -7449,7 +7492,7 @@ type CreateWebhookSettingsData = {
7449
7492
  /**
7450
7493
  * Events to subscribe to
7451
7494
  */
7452
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7495
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7453
7496
  /**
7454
7497
  * Enable or disable webhook delivery
7455
7498
  */
@@ -7490,7 +7533,7 @@ type UpdateWebhookSettingsData = {
7490
7533
  /**
7491
7534
  * Events to subscribe to
7492
7535
  */
7493
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7536
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7494
7537
  /**
7495
7538
  * Enable or disable webhook delivery
7496
7539
  */
@@ -8077,6 +8120,143 @@ type SendInboxMessageData = {
8077
8120
  }>;
8078
8121
  }>;
8079
8122
  };
8123
+ /**
8124
+ * WhatsApp-only. Rich interactive payload for list messages, CTA URL
8125
+ * buttons, and Flow prompts. When set, takes priority over `buttons`
8126
+ * and `quickReplies`. The shape mirrors Meta's Cloud API `interactive`
8127
+ * object verbatim, so any payload that works against Meta directly
8128
+ * will also work here.
8129
+ *
8130
+ * Use `buttons` / `quickReplies` for simple button replies
8131
+ * (WhatsApp's `interactive.type: "button"`) — the abstraction caps at
8132
+ * 3 buttons and handles the auto-conversion for you. Use this field
8133
+ * only for `list`, `cta_url`, or `flow` messages.
8134
+ *
8135
+ * Tap events come back via the `message.received` webhook with
8136
+ * `metadata.interactiveType` set to `list_reply` or `nfm_reply`.
8137
+ *
8138
+ */
8139
+ interactive?: {
8140
+ /**
8141
+ * Which interactive layout to render.
8142
+ */
8143
+ type: 'list' | 'cta_url' | 'flow';
8144
+ /**
8145
+ * Optional header shown above the body.
8146
+ */
8147
+ header?: {
8148
+ type?: 'text' | 'image' | 'video' | 'document';
8149
+ /**
8150
+ * Required when header type is text.
8151
+ */
8152
+ text?: string;
8153
+ image?: {
8154
+ link?: string;
8155
+ };
8156
+ video?: {
8157
+ link?: string;
8158
+ };
8159
+ document?: {
8160
+ link?: string;
8161
+ };
8162
+ };
8163
+ body: {
8164
+ /**
8165
+ * Main body text.
8166
+ */
8167
+ text: string;
8168
+ };
8169
+ /**
8170
+ * Optional footer shown below the action.
8171
+ */
8172
+ footer?: {
8173
+ text?: string;
8174
+ };
8175
+ action: ({
8176
+ /**
8177
+ * CTA label that opens the list (max ~20 chars).
8178
+ */
8179
+ button: string;
8180
+ /**
8181
+ * 1-10 sections. Total rows across all sections cannot exceed 10.
8182
+ */
8183
+ sections: Array<{
8184
+ /**
8185
+ * Optional section header (max 24 chars).
8186
+ */
8187
+ title?: string;
8188
+ rows: Array<{
8189
+ /**
8190
+ * Identifier returned in the webhook as metadata.interactiveId (max 200 chars).
8191
+ */
8192
+ id: string;
8193
+ /**
8194
+ * Row label (max 24 chars).
8195
+ */
8196
+ title: string;
8197
+ /**
8198
+ * Optional description below the title (max 72 chars).
8199
+ */
8200
+ description?: string;
8201
+ }>;
8202
+ }>;
8203
+ } | {
8204
+ name: 'cta_url';
8205
+ parameters: {
8206
+ /**
8207
+ * Button label (max 20 chars).
8208
+ */
8209
+ display_text: string;
8210
+ /**
8211
+ * Target URL opened when the user taps the button.
8212
+ */
8213
+ url: string;
8214
+ };
8215
+ } | {
8216
+ name: 'flow';
8217
+ parameters: {
8218
+ /**
8219
+ * Defaults to "3" when omitted.
8220
+ */
8221
+ flow_message_version?: '3';
8222
+ /**
8223
+ * Opaque token you choose to correlate Flow responses with your own state (max 200 chars).
8224
+ */
8225
+ flow_token: string;
8226
+ /**
8227
+ * Published Flow ID from Meta Business Manager.
8228
+ */
8229
+ flow_id: string;
8230
+ /**
8231
+ * Button label that opens the Flow (max 20 chars).
8232
+ */
8233
+ flow_cta: string;
8234
+ /**
8235
+ * `navigate` sends the user to `flow_action_payload.screen`; `data_exchange` posts data to your Flow endpoint.
8236
+ */
8237
+ flow_action: 'navigate' | 'data_exchange';
8238
+ /**
8239
+ * Required when flow_action is `navigate`.
8240
+ */
8241
+ flow_action_payload?: {
8242
+ /**
8243
+ * First screen to show.
8244
+ */
8245
+ screen?: string;
8246
+ /**
8247
+ * Optional pre-filled data passed to the screen.
8248
+ */
8249
+ data?: {
8250
+ [key: string]: unknown;
8251
+ };
8252
+ };
8253
+ /**
8254
+ * Set to `draft` to test an unpublished Flow.
8255
+ */
8256
+ mode?: 'draft';
8257
+ };
8258
+ });
8259
+ };
8080
8260
  /**
8081
8261
  * Telegram-native keyboard markup. Ignored on other platforms.
8082
8262
  */
@@ -11896,4 +12076,4 @@ type ListConversionDestinationsError = (unknown | {
11896
12076
  error?: string;
11897
12077
  });
11898
12078
 
11899
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
12079
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
package/dist/index.d.ts CHANGED
@@ -2795,7 +2795,7 @@ type Webhook = {
2795
2795
  /**
2796
2796
  * Events subscribed to
2797
2797
  */
2798
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
2798
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'review.new' | 'review.updated')>;
2799
2799
  /**
2800
2800
  * Whether webhook delivery is enabled
2801
2801
  */
@@ -3042,25 +3042,68 @@ type WebhookPayloadMessage = {
3042
3042
  */
3043
3043
  metadata?: {
3044
3044
  /**
3045
- * Payload from a quick reply tap (Meta platforms)
3045
+ * Payload from a quick reply tap (Facebook/Instagram Messenger).
3046
3046
  */
3047
3047
  quickReplyPayload?: string;
3048
3048
  /**
3049
- * Payload from a postback button tap (Meta platforms)
3049
+ * Payload from a postback button tap (Facebook/Instagram Messenger).
3050
3050
  */
3051
3051
  postbackPayload?: string;
3052
3052
  /**
3053
- * Title of the tapped postback button (Meta platforms)
3053
+ * Title of the tapped postback button (Facebook/Instagram Messenger).
3054
3054
  */
3055
3055
  postbackTitle?: string;
3056
3056
  /**
3057
- * Callback data from an inline keyboard button tap (Telegram)
3057
+ * Callback data from an inline keyboard button tap (Telegram).
3058
3058
  */
3059
3059
  callbackData?: string;
3060
+ /**
3061
+ * WhatsApp only. Which kind of interactive reply the user sent:
3062
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
3063
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
3064
+ *
3065
+ */
3066
+ interactiveType?: 'button_reply' | 'list_reply' | 'nfm_reply';
3067
+ /**
3068
+ * WhatsApp only. The `id` of the tapped button or list row, matching the
3069
+ * `id` you supplied when the message was sent. Not set for Flow responses.
3070
+ *
3071
+ */
3072
+ interactiveId?: string;
3073
+ /**
3074
+ * WhatsApp only. Payload attached to a tapped template button. Template
3075
+ * buttons emit a plain `button` webhook (not an interactive reply), so
3076
+ * `interactiveType` is empty while this field is populated.
3077
+ *
3078
+ */
3079
+ buttonPayload?: string;
3080
+ /**
3081
+ * WhatsApp only. Raw `nfm_reply.response_json` string returned by a
3082
+ * Flow submission. Useful if you need the exact wire payload; for
3083
+ * typed access use `flowResponseData` instead.
3084
+ *
3085
+ */
3086
+ flowResponseJson?: string;
3087
+ /**
3088
+ * WhatsApp only. Parsed Flow response JSON. Populated when
3089
+ * `flowResponseJson` is valid JSON; otherwise omitted. Keys and
3090
+ * value types depend on the specific Flow that was submitted.
3091
+ *
3092
+ */
3093
+ flowResponseData?: {
3094
+ [key: string]: unknown;
3095
+ };
3060
3096
  } | null;
3061
3097
  timestamp: string;
3062
3098
  };
3063
3099
  type event4 = 'message.received';
3100
+ /**
3101
+ * WhatsApp only. Which kind of interactive reply the user sent:
3102
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
3103
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
3104
+ *
3105
+ */
3106
+ type interactiveType = 'button_reply' | 'list_reply' | 'nfm_reply';
3064
3107
  /**
3065
3108
  * Webhook payload for message.deleted events. Fires when the sender
3066
3109
  * deletes (unsends) a message. Supported platforms: Instagram (incoming
@@ -7449,7 +7492,7 @@ type CreateWebhookSettingsData = {
7449
7492
  /**
7450
7493
  * Events to subscribe to
7451
7494
  */
7452
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7495
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7453
7496
  /**
7454
7497
  * Enable or disable webhook delivery
7455
7498
  */
@@ -7490,7 +7533,7 @@ type UpdateWebhookSettingsData = {
7490
7533
  /**
7491
7534
  * Events to subscribe to
7492
7535
  */
7493
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7536
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7494
7537
  /**
7495
7538
  * Enable or disable webhook delivery
7496
7539
  */
@@ -8077,6 +8120,143 @@ type SendInboxMessageData = {
8077
8120
  }>;
8078
8121
  }>;
8079
8122
  };
8123
+ /**
8124
+ * WhatsApp-only. Rich interactive payload for list messages, CTA URL
8125
+ * buttons, and Flow prompts. When set, takes priority over `buttons`
8126
+ * and `quickReplies`. The shape mirrors Meta's Cloud API `interactive`
8127
+ * object verbatim, so any payload that works against Meta directly
8128
+ * will also work here.
8129
+ *
8130
+ * Use `buttons` / `quickReplies` for simple button replies
8131
+ * (WhatsApp's `interactive.type: "button"`) — the abstraction caps at
8132
+ * 3 buttons and handles the auto-conversion for you. Use this field
8133
+ * only for `list`, `cta_url`, or `flow` messages.
8134
+ *
8135
+ * Tap events come back via the `message.received` webhook with
8136
+ * `metadata.interactiveType` set to `list_reply` or `nfm_reply`.
8137
+ *
8138
+ */
8139
+ interactive?: {
8140
+ /**
8141
+ * Which interactive layout to render.
8142
+ */
8143
+ type: 'list' | 'cta_url' | 'flow';
8144
+ /**
8145
+ * Optional header shown above the body.
8146
+ */
8147
+ header?: {
8148
+ type?: 'text' | 'image' | 'video' | 'document';
8149
+ /**
8150
+ * Required when header type is text.
8151
+ */
8152
+ text?: string;
8153
+ image?: {
8154
+ link?: string;
8155
+ };
8156
+ video?: {
8157
+ link?: string;
8158
+ };
8159
+ document?: {
8160
+ link?: string;
8161
+ };
8162
+ };
8163
+ body: {
8164
+ /**
8165
+ * Main body text.
8166
+ */
8167
+ text: string;
8168
+ };
8169
+ /**
8170
+ * Optional footer shown below the action.
8171
+ */
8172
+ footer?: {
8173
+ text?: string;
8174
+ };
8175
+ action: ({
8176
+ /**
8177
+ * CTA label that opens the list (max ~20 chars).
8178
+ */
8179
+ button: string;
8180
+ /**
8181
+ * 1-10 sections. Total rows across all sections cannot exceed 10.
8182
+ */
8183
+ sections: Array<{
8184
+ /**
8185
+ * Optional section header (max 24 chars).
8186
+ */
8187
+ title?: string;
8188
+ rows: Array<{
8189
+ /**
8190
+ * Identifier returned in the webhook as metadata.interactiveId (max 200 chars).
8191
+ */
8192
+ id: string;
8193
+ /**
8194
+ * Row label (max 24 chars).
8195
+ */
8196
+ title: string;
8197
+ /**
8198
+ * Optional description below the title (max 72 chars).
8199
+ */
8200
+ description?: string;
8201
+ }>;
8202
+ }>;
8203
+ } | {
8204
+ name: 'cta_url';
8205
+ parameters: {
8206
+ /**
8207
+ * Button label (max 20 chars).
8208
+ */
8209
+ display_text: string;
8210
+ /**
8211
+ * Target URL opened when the user taps the button.
8212
+ */
8213
+ url: string;
8214
+ };
8215
+ } | {
8216
+ name: 'flow';
8217
+ parameters: {
8218
+ /**
8219
+ * Defaults to "3" when omitted.
8220
+ */
8221
+ flow_message_version?: '3';
8222
+ /**
8223
+ * Opaque token you choose to correlate Flow responses with your own state (max 200 chars).
8224
+ */
8225
+ flow_token: string;
8226
+ /**
8227
+ * Published Flow ID from Meta Business Manager.
8228
+ */
8229
+ flow_id: string;
8230
+ /**
8231
+ * Button label that opens the Flow (max 20 chars).
8232
+ */
8233
+ flow_cta: string;
8234
+ /**
8235
+ * `navigate` sends the user to `flow_action_payload.screen`; `data_exchange` posts data to your Flow endpoint.
8236
+ */
8237
+ flow_action: 'navigate' | 'data_exchange';
8238
+ /**
8239
+ * Required when flow_action is `navigate`.
8240
+ */
8241
+ flow_action_payload?: {
8242
+ /**
8243
+ * First screen to show.
8244
+ */
8245
+ screen?: string;
8246
+ /**
8247
+ * Optional pre-filled data passed to the screen.
8248
+ */
8249
+ data?: {
8250
+ [key: string]: unknown;
8251
+ };
8252
+ };
8253
+ /**
8254
+ * Set to `draft` to test an unpublished Flow.
8255
+ */
8256
+ mode?: 'draft';
8257
+ };
8258
+ });
8259
+ };
8080
8260
  /**
8081
8261
  * Telegram-native keyboard markup. Ignored on other platforms.
8082
8262
  */
@@ -11896,4 +12076,4 @@ type ListConversionDestinationsError = (unknown | {
11896
12076
  error?: string;
11897
12077
  });
11898
12078
 
11899
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
12079
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type ActivateSequenceData, type ActivateSequenceError, type ActivateSequenceResponse, type Ad, type AdCampaign, type AdMetrics, type AdStatus, type AdTreeAdSet, type AdTreeCampaign, type AddBroadcastRecipientsData, type AddBroadcastRecipientsError, type AddBroadcastRecipientsResponse, type AddMessageReactionData, type AddMessageReactionError, type AddMessageReactionResponse, type AddUsersToAdAudienceData, type AddUsersToAdAudienceError, type AddUsersToAdAudienceResponse, type AddWhatsAppGroupParticipantsData, type AddWhatsAppGroupParticipantsError, type AddWhatsAppGroupParticipantsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type ApproveWhatsAppGroupJoinRequestsData, type ApproveWhatsAppGroupJoinRequestsError, type ApproveWhatsAppGroupJoinRequestsResponse, type BatchGetGoogleBusinessReviewsData, type BatchGetGoogleBusinessReviewsError, type BatchGetGoogleBusinessReviewsResponse, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, type BoostPostData, type BoostPostError, type BoostPostResponse, type BulkCreateContactsData, type BulkCreateContactsError, type BulkCreateContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelBroadcastData, type CancelBroadcastError, type CancelBroadcastResponse, type ClearContactFieldValueData, type ClearContactFieldValueError, type ClearContactFieldValueResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectAdsData, type ConnectAdsError, type ConnectAdsResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConversionEvent, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateAdAudienceData, type CreateAdAudienceError, type CreateAdAudienceResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateBroadcastData, type CreateBroadcastError, type CreateBroadcastResponse, type CreateCommentAutomationData, type CreateCommentAutomationError, type CreateCommentAutomationResponse, type CreateContactData, type CreateContactError, type CreateContactResponse, type CreateCustomFieldData, type CreateCustomFieldError, type CreateCustomFieldResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInboxConversationData, type CreateInboxConversationError, type CreateInboxConversationResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateSequenceData, type CreateSequenceError, type CreateSequenceResponse, type CreateStandaloneAdData, type CreateStandaloneAdError, type CreateStandaloneAdResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppFlowData, type CreateWhatsAppFlowError, type CreateWhatsAppFlowResponse, type CreateWhatsAppGroupChatData, type CreateWhatsAppGroupChatError, type CreateWhatsAppGroupChatResponse, type CreateWhatsAppGroupInviteLinkData, type CreateWhatsAppGroupInviteLinkError, type CreateWhatsAppGroupInviteLinkResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteAdAudienceData, type DeleteAdAudienceError, type DeleteAdAudienceResponse, type DeleteAdData, type DeleteAdError, type DeleteAdResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteBroadcastData, type DeleteBroadcastError, type DeleteBroadcastResponse, type DeleteCommentAutomationData, type DeleteCommentAutomationError, type DeleteCommentAutomationResponse, type DeleteContactData, type DeleteContactError, type DeleteContactResponse, type DeleteCustomFieldData, type DeleteCustomFieldError, type DeleteCustomFieldResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxMessageData, type DeleteInboxMessageError, type DeleteInboxMessageResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteSequenceData, type DeleteSequenceError, type DeleteSequenceResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppFlowData, type DeleteWhatsAppFlowError, type DeleteWhatsAppFlowResponse, type DeleteWhatsAppGroupChatData, type DeleteWhatsAppGroupChatError, type DeleteWhatsAppGroupChatResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DeprecateWhatsAppFlowData, type DeprecateWhatsAppFlowError, type DeprecateWhatsAppFlowResponse, type DiscordPlatformData, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type EditPostData, type EditPostError, type EditPostResponse, type EnrollContactsData, type EnrollContactsError, type EnrollContactsResponse, type ErrorResponse, type FacebookPlatformData, type FollowUserData, type FollowUserError, type FollowUserResponse, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GeoRestriction, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAdAnalyticsData, type GetAdAnalyticsError, type GetAdAnalyticsResponse, type GetAdAudienceData, type GetAdAudienceError, type GetAdAudienceResponse, type GetAdData, type GetAdError, type GetAdResponse, type GetAdTreeData, type GetAdTreeError, type GetAdTreeResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetBroadcastData, type GetBroadcastError, type GetBroadcastResponse, type GetCommentAutomationData, type GetCommentAutomationError, type GetCommentAutomationResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContactChannelsData, type GetContactChannelsError, type GetContactChannelsResponse, type GetContactData, type GetContactError, type GetContactResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, type GetDiscordChannelsData, type GetDiscordChannelsError, type GetDiscordChannelsResponse, type GetDiscordSettingsData, type GetDiscordSettingsError, type GetDiscordSettingsResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessPerformanceData, type GetGoogleBusinessPerformanceError, type GetGoogleBusinessPerformanceResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetGoogleBusinessSearchKeywordsData, type GetGoogleBusinessSearchKeywordsError, type GetGoogleBusinessSearchKeywordsResponse, type GetGoogleBusinessServicesData, type GetGoogleBusinessServicesError, type GetGoogleBusinessServicesResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramAccountInsightsData, type GetInstagramAccountInsightsError, type GetInstagramAccountInsightsResponse, type GetInstagramDemographicsData, type GetInstagramDemographicsError, type GetInstagramDemographicsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLinkedInPostReactionsData, type GetLinkedInPostReactionsError, type GetLinkedInPostReactionsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetSequenceData, type GetSequenceError, type GetSequenceResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetTikTokCreatorInfoData, type GetTikTokCreatorInfoError, type GetTikTokCreatorInfoResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, type GetWhatsAppFlowData, type GetWhatsAppFlowError, type GetWhatsAppFlowJsonData, type GetWhatsAppFlowJsonError, type GetWhatsAppFlowJsonResponse, type GetWhatsAppFlowResponse, type GetWhatsAppGroupChatData, type GetWhatsAppGroupChatError, type GetWhatsAppGroupChatResponse, type GetWhatsAppPhoneNumberData, type GetWhatsAppPhoneNumberError, type GetWhatsAppPhoneNumberResponse, type GetWhatsAppPhoneNumbersData, type GetWhatsAppPhoneNumbersError, type GetWhatsAppPhoneNumbersResponse, type GetWhatsAppTemplateData, type GetWhatsAppTemplateError, type GetWhatsAppTemplateResponse, type GetWhatsAppTemplatesData, type GetWhatsAppTemplatesError, type GetWhatsAppTemplatesResponse, type GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeDemographicsData, type GetYouTubeDemographicsError, type GetYouTubeDemographicsResponse, type GetYoutubePlaylistsData, type GetYoutubePlaylistsError, type GetYoutubePlaylistsResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type InboxWebhookAccount, type InboxWebhookConversation, type InboxWebhookMessage, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramAccountInsightsResponse, type InstagramDemographicsResponse, type InstagramPlatformData, Late, LateApiError, type LikeInboxCommentData, type LikeInboxCommentError, type LikeInboxCommentResponse, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListAdAccountsData, type ListAdAccountsError, type ListAdAccountsResponse, type ListAdAudiencesData, type ListAdAudiencesError, type ListAdAudiencesResponse, type ListAdCampaignsData, type ListAdCampaignsError, type ListAdCampaignsResponse, type ListAdsData, type ListAdsError, type ListAdsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListBroadcastRecipientsData, type ListBroadcastRecipientsError, type ListBroadcastRecipientsResponse, type ListBroadcastsData, type ListBroadcastsError, type ListBroadcastsResponse, type ListCommentAutomationLogsData, type ListCommentAutomationLogsError, type ListCommentAutomationLogsResponse, type ListCommentAutomationsData, type ListCommentAutomationsError, type ListCommentAutomationsResponse, type ListContactsData, type ListContactsError, type ListContactsResponse, type ListConversionDestinationsData, type ListConversionDestinationsError, type ListConversionDestinationsResponse, type ListCustomFieldsData, type ListCustomFieldsError, type ListCustomFieldsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSequenceEnrollmentsData, type ListSequenceEnrollmentsError, type ListSequenceEnrollmentsResponse, type ListSequencesData, type ListSequencesError, type ListSequencesResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type ListWhatsAppFlowsData, type ListWhatsAppFlowsError, type ListWhatsAppFlowsResponse, type ListWhatsAppGroupChatsData, type ListWhatsAppGroupChatsError, type ListWhatsAppGroupChatsResponse, type ListWhatsAppGroupJoinRequestsData, type ListWhatsAppGroupJoinRequestsError, type ListWhatsAppGroupJoinRequestsResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PauseSequenceData, type PauseSequenceError, type PauseSequenceResponse, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type PublishWhatsAppFlowData, type PublishWhatsAppFlowError, type PublishWhatsAppFlowResponse, type PurchaseWhatsAppPhoneNumberData, type PurchaseWhatsAppPhoneNumberError, type PurchaseWhatsAppPhoneNumberResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RecyclingConfig, type RecyclingState, type RedditPlatformData, type RedditPost, type RejectWhatsAppGroupJoinRequestsData, type RejectWhatsAppGroupJoinRequestsError, type RejectWhatsAppGroupJoinRequestsResponse, type ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, type RemoveMessageReactionData, type RemoveMessageReactionError, type RemoveMessageReactionResponse, type RemoveWhatsAppGroupParticipantsData, type RemoveWhatsAppGroupParticipantsError, type RemoveWhatsAppGroupParticipantsResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type RetweetPostData, type RetweetPostError, type RetweetPostResponse, type ScheduleBroadcastData, type ScheduleBroadcastError, type ScheduleBroadcastResponse, type SearchAdInterestsData, type SearchAdInterestsError, type SearchAdInterestsResponse, type SearchRedditData, type SearchRedditError, type SearchRedditResponse, type SelectFacebookPageData, type SelectFacebookPageError, type SelectFacebookPageResponse, type SelectGoogleBusinessLocationData, type SelectGoogleBusinessLocationError, type SelectGoogleBusinessLocationResponse, type SelectLinkedInOrganizationData, type SelectLinkedInOrganizationError, type SelectLinkedInOrganizationResponse, type SelectPinterestBoardData, type SelectPinterestBoardError, type SelectPinterestBoardResponse, type SelectSnapchatProfileData, type SelectSnapchatProfileError, type SelectSnapchatProfileResponse, type SendBroadcastData, type SendBroadcastError, type SendBroadcastResponse, type SendConversionsData, type SendConversionsError, type SendConversionsResponse, type SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendTypingIndicatorData, type SendTypingIndicatorError, type SendTypingIndicatorResponse, type SendWhatsAppFlowMessageData, type SendWhatsAppFlowMessageError, type SendWhatsAppFlowMessageResponse, type SetContactFieldValueData, type SetContactFieldValueError, type SetContactFieldValueResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TwitterPlatformData, type UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnenrollContactData, type UnenrollContactError, type UnenrollContactResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateAdCampaignStatusData, type UpdateAdCampaignStatusError, type UpdateAdCampaignStatusResponse, type UpdateAdData, type UpdateAdError, type UpdateAdResponse, type UpdateBroadcastData, type UpdateBroadcastError, type UpdateBroadcastResponse, type UpdateCommentAutomationData, type UpdateCommentAutomationError, type UpdateCommentAutomationResponse, type UpdateContactData, type UpdateContactError, type UpdateContactResponse, type UpdateCustomFieldData, type UpdateCustomFieldError, type UpdateCustomFieldResponse, type UpdateDiscordSettingsData, type UpdateDiscordSettingsError, type UpdateDiscordSettingsResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateGoogleBusinessPlaceActionData, type UpdateGoogleBusinessPlaceActionError, type UpdateGoogleBusinessPlaceActionResponse, type UpdateGoogleBusinessServicesData, type UpdateGoogleBusinessServicesError, type UpdateGoogleBusinessServicesResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostMetadataData, type UpdatePostMetadataError, type UpdatePostMetadataResponse, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateSequenceData, type UpdateSequenceError, type UpdateSequenceResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppFlowData, type UpdateWhatsAppFlowError, type UpdateWhatsAppFlowResponse, type UpdateWhatsAppGroupChatData, type UpdateWhatsAppGroupChatError, type UpdateWhatsAppGroupChatResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UpdateYoutubeDefaultPlaylistData, type UpdateYoutubeDefaultPlaylistError, type UpdateYoutubeDefaultPlaylistResponse, type UploadMediaDirectData, type UploadMediaDirectError, type UploadMediaDirectResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppFlowJsonData, type UploadWhatsAppFlowJsonError, type UploadWhatsAppFlowJsonResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadMessageDeleted, type WebhookPayloadMessageDeliveryStatus, type WebhookPayloadMessageEdited, type WebhookPayloadMessageSent, type WebhookPayloadPost, type WebhookPayloadTest, type WhatsAppBodyComponent, type WhatsAppButtonsComponent, type WhatsAppFooterComponent, type WhatsAppHeaderComponent, type WhatsAppTemplateButton, type WhatsAppTemplateComponent, type YouTubeDailyViewsResponse, type YouTubeDemographicsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, Zernio, ZernioApiError, type actionSource, type adType, type aggregation, type aggregation2, type aggregation3, type autoArchiveDuration, type billingPeriod, type commercialContentType, type contentType, type contentType2, type contentType3, Zernio as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event10, type event2, type event3, type event4, type event5, type event6, type event7, type event8, type event9, type format, type gapFreq, type goal, type graduationStrategy, type interactiveType, type mediaType, type mediaType2, type metric, type metricType, type offerType, type otp_type, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type platform4, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type syncStatus, type syncStatus2, type timeframe, type topicType, type type, type type2, type type3, type type4, type type5, type visibility };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.69",
3
+ "version": "0.2.71",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1592,7 +1592,15 @@ export const getInboxConversationMessages = <ThrowOnError extends boolean = fals
1592
1592
 
1593
1593
  /**
1594
1594
  * Send message
1595
- * Send a message in a conversation. Supports text, attachments, quick replies, buttons, and message tags. Attachment and interactive message support varies by platform.
1595
+ * Send a message in a conversation. Supports text, attachments, quick replies,
1596
+ * buttons, templates, and message tags. Attachment and interactive message
1597
+ * support varies by platform.
1598
+ *
1599
+ * WhatsApp rich interactive messages (list, CTA URL, Flow) are available via
1600
+ * the `interactive` field. Tap events are delivered through the
1601
+ * `message.received` webhook with WhatsApp-specific `metadata` fields
1602
+ * (`interactiveType`, `interactiveId`, `flowResponseJson`, `flowResponseData`).
1603
+ *
1596
1604
  */
1597
1605
  export const sendInboxMessage = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendInboxMessageData, ThrowOnError>) => {
1598
1606
  return (options?.client ?? client).post<SendInboxMessageResponse, SendInboxMessageError, ThrowOnError>({
@@ -2329,7 +2329,7 @@ export type Webhook = {
2329
2329
  /**
2330
2330
  * Events subscribed to
2331
2331
  */
2332
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
2332
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'message.sent' | 'message.edited' | 'message.deleted' | 'message.delivered' | 'message.read' | 'message.failed' | 'comment.received' | 'review.new' | 'review.updated')>;
2333
2333
  /**
2334
2334
  * Whether webhook delivery is enabled
2335
2335
  */
@@ -2585,27 +2585,71 @@ export type WebhookPayloadMessage = {
2585
2585
  */
2586
2586
  metadata?: {
2587
2587
  /**
2588
- * Payload from a quick reply tap (Meta platforms)
2588
+ * Payload from a quick reply tap (Facebook/Instagram Messenger).
2589
2589
  */
2590
2590
  quickReplyPayload?: string;
2591
2591
  /**
2592
- * Payload from a postback button tap (Meta platforms)
2592
+ * Payload from a postback button tap (Facebook/Instagram Messenger).
2593
2593
  */
2594
2594
  postbackPayload?: string;
2595
2595
  /**
2596
- * Title of the tapped postback button (Meta platforms)
2596
+ * Title of the tapped postback button (Facebook/Instagram Messenger).
2597
2597
  */
2598
2598
  postbackTitle?: string;
2599
2599
  /**
2600
- * Callback data from an inline keyboard button tap (Telegram)
2600
+ * Callback data from an inline keyboard button tap (Telegram).
2601
2601
  */
2602
2602
  callbackData?: string;
2603
+ /**
2604
+ * WhatsApp only. Which kind of interactive reply the user sent:
2605
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
2606
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
2607
+ *
2608
+ */
2609
+ interactiveType?: 'button_reply' | 'list_reply' | 'nfm_reply';
2610
+ /**
2611
+ * WhatsApp only. The `id` of the tapped button or list row, matching the
2612
+ * `id` you supplied when the message was sent. Not set for Flow responses.
2613
+ *
2614
+ */
2615
+ interactiveId?: string;
2616
+ /**
2617
+ * WhatsApp only. Payload attached to a tapped template button. Template
2618
+ * buttons emit a plain `button` webhook (not an interactive reply), so
2619
+ * `interactiveType` is empty while this field is populated.
2620
+ *
2621
+ */
2622
+ buttonPayload?: string;
2623
+ /**
2624
+ * WhatsApp only. Raw `nfm_reply.response_json` string returned by a
2625
+ * Flow submission. Useful if you need the exact wire payload; for
2626
+ * typed access use `flowResponseData` instead.
2627
+ *
2628
+ */
2629
+ flowResponseJson?: string;
2630
+ /**
2631
+ * WhatsApp only. Parsed Flow response JSON. Populated when
2632
+ * `flowResponseJson` is valid JSON; otherwise omitted. Keys and
2633
+ * value types depend on the specific Flow that was submitted.
2634
+ *
2635
+ */
2636
+ flowResponseData?: {
2637
+ [key: string]: unknown;
2638
+ };
2603
2639
  } | null;
2604
2640
  timestamp: string;
2605
2641
  };
2606
2642
 
2607
2643
  export type event4 = 'message.received';
2608
2644
 
2645
+ /**
2646
+ * WhatsApp only. Which kind of interactive reply the user sent:
2647
+ * `button_reply` (tap on an interactive button), `list_reply` (tap on a
2648
+ * list row), or `nfm_reply` (a WhatsApp Flow submission).
2649
+ *
2650
+ */
2651
+ export type interactiveType = 'button_reply' | 'list_reply' | 'nfm_reply';
2652
+
2609
2653
  /**
2610
2654
  * Webhook payload for message.deleted events. Fires when the sender
2611
2655
  * deletes (unsends) a message. Supported platforms: Instagram (incoming
@@ -7359,7 +7403,7 @@ export type CreateWebhookSettingsData = {
7359
7403
  /**
7360
7404
  * Events to subscribe to
7361
7405
  */
7362
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7406
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7363
7407
  /**
7364
7408
  * Enable or disable webhook delivery
7365
7409
  */
@@ -7403,7 +7447,7 @@ export type UpdateWebhookSettingsData = {
7403
7447
  /**
7404
7448
  * Events to subscribe to
7405
7449
  */
7406
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'gbp.review.new' | 'gbp.review.updated' | 'gbp.media.new')>;
7450
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.cancelled' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'review.new' | 'review.updated')>;
7407
7451
  /**
7408
7452
  * Enable or disable webhook delivery
7409
7453
  */
@@ -8017,6 +8061,143 @@ export type SendInboxMessageData = {
8017
8061
  }>;
8018
8062
  }>;
8019
8063
  };
8064
+ /**
8065
+ * WhatsApp-only. Rich interactive payload for list messages, CTA URL
8066
+ * buttons, and Flow prompts. When set, takes priority over `buttons`
8067
+ * and `quickReplies`. The shape mirrors Meta's Cloud API `interactive`
8068
+ * object verbatim, so any payload that works against Meta directly
8069
+ * will also work here.
8070
+ *
8071
+ * Use `buttons` / `quickReplies` for simple button replies
8072
+ * (WhatsApp's `interactive.type: "button"`) — the abstraction caps at
8073
+ * 3 buttons and handles the auto-conversion for you. Use this field
8074
+ * only for `list`, `cta_url`, or `flow` messages.
8075
+ *
8076
+ * Tap events come back via the `message.received` webhook with
8077
+ * `metadata.interactiveType` set to `list_reply` or `nfm_reply`.
8078
+ *
8079
+ */
8080
+ interactive?: {
8081
+ /**
8082
+ * Which interactive layout to render.
8083
+ */
8084
+ type: 'list' | 'cta_url' | 'flow';
8085
+ /**
8086
+ * Optional header shown above the body.
8087
+ */
8088
+ header?: {
8089
+ type?: 'text' | 'image' | 'video' | 'document';
8090
+ /**
8091
+ * Required when header type is text.
8092
+ */
8093
+ text?: string;
8094
+ image?: {
8095
+ link?: string;
8096
+ };
8097
+ video?: {
8098
+ link?: string;
8099
+ };
8100
+ document?: {
8101
+ link?: string;
8102
+ };
8103
+ };
8104
+ body: {
8105
+ /**
8106
+ * Main body text.
8107
+ */
8108
+ text: string;
8109
+ };
8110
+ /**
8111
+ * Optional footer shown below the action.
8112
+ */
8113
+ footer?: {
8114
+ text?: string;
8115
+ };
8116
+ action: ({
8117
+ /**
8118
+ * CTA label that opens the list (max ~20 chars).
8119
+ */
8120
+ button: string;
8121
+ /**
8122
+ * 1-10 sections. Total rows across all sections cannot exceed 10.
8123
+ */
8124
+ sections: Array<{
8125
+ /**
8126
+ * Optional section header (max 24 chars).
8127
+ */
8128
+ title?: string;
8129
+ rows: Array<{
8130
+ /**
8131
+ * Identifier returned in the webhook as metadata.interactiveId (max 200 chars).
8132
+ */
8133
+ id: string;
8134
+ /**
8135
+ * Row label (max 24 chars).
8136
+ */
8137
+ title: string;
8138
+ /**
8139
+ * Optional description below the title (max 72 chars).
8140
+ */
8141
+ description?: string;
8142
+ }>;
8143
+ }>;
8144
+ } | {
8145
+ name: 'cta_url';
8146
+ parameters: {
8147
+ /**
8148
+ * Button label (max 20 chars).
8149
+ */
8150
+ display_text: string;
8151
+ /**
8152
+ * Target URL opened when the user taps the button.
8153
+ */
8154
+ url: string;
8155
+ };
8156
+ } | {
8157
+ name: 'flow';
8158
+ parameters: {
8159
+ /**
8160
+ * Defaults to "3" when omitted.
8161
+ */
8162
+ flow_message_version?: '3';
8163
+ /**
8164
+ * Opaque token you choose to correlate Flow responses with your own state (max 200 chars).
8165
+ */
8166
+ flow_token: string;
8167
+ /**
8168
+ * Published Flow ID from Meta Business Manager.
8169
+ */
8170
+ flow_id: string;
8171
+ /**
8172
+ * Button label that opens the Flow (max 20 chars).
8173
+ */
8174
+ flow_cta: string;
8175
+ /**
8176
+ * `navigate` sends the user to `flow_action_payload.screen`; `data_exchange` posts data to your Flow endpoint.
8177
+ */
8178
+ flow_action: 'navigate' | 'data_exchange';
8179
+ /**
8180
+ * Required when flow_action is `navigate`.
8181
+ */
8182
+ flow_action_payload?: {
8183
+ /**
8184
+ * First screen to show.
8185
+ */
8186
+ screen?: string;
8187
+ /**
8188
+ * Optional pre-filled data passed to the screen.
8189
+ */
8190
+ data?: {
8191
+ [key: string]: unknown;
8192
+ };
8193
+ };
8194
+ /**
8195
+ * Set to `draft` to test an unpublished Flow.
8196
+ */
8197
+ mode?: 'draft';
8198
+ };
8199
+ });
8200
+ };
8020
8201
  /**
8021
8202
  * Telegram-native keyboard markup. Ignored on other platforms.
8022
8203
  */