@getlatedev/node 0.1.44 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -308,6 +308,7 @@ try {
308
308
  | `connect.updateRedditSubreddits()` | Set default subreddit |
309
309
  | `connect.completeTelegramConnect()` | Check Telegram status |
310
310
  | `connect.connectBlueskyCredentials()` | Connect Bluesky account |
311
+ | `connect.connectWhatsAppCredentials()` | Connect WhatsApp via credentials |
311
312
  | `connect.handleOAuthCallback()` | Complete OAuth callback |
312
313
  | `connect.initiateTelegramConnect()` | Connect Telegram directly |
313
314
  | `connect.selectFacebookPage()` | Select Facebook page |
@@ -441,14 +442,10 @@ try {
441
442
  ### WhatsApp Phone Numbers
442
443
  | Method | Description |
443
444
  |--------|-------------|
444
- | `whatsappPhoneNumbers.getPreverifiedWhatsAppNumbers()` | Get pre-verified numbers |
445
445
  | `whatsappPhoneNumbers.getWhatsAppPhoneNumber()` | Get phone number |
446
446
  | `whatsappPhoneNumbers.getWhatsAppPhoneNumbers()` | List phone numbers |
447
447
  | `whatsappPhoneNumbers.purchaseWhatsAppPhoneNumber()` | Purchase phone number |
448
448
  | `whatsappPhoneNumbers.releaseWhatsAppPhoneNumber()` | Release phone number |
449
- | `whatsappPhoneNumbers.requestWhatsAppVerificationCode()` | Request OTP |
450
- | `whatsappPhoneNumbers.searchAvailableWhatsAppNumbers()` | Search available numbers |
451
- | `whatsappPhoneNumbers.verifyWhatsAppPhoneNumber()` | Verify OTP |
452
449
 
453
450
  ### Invites
454
451
  | Method | Description |
package/dist/index.d.mts CHANGED
@@ -185,6 +185,7 @@ declare class Late {
185
185
  getConnectUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetConnectUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetConnectUrlResponse, unknown, ThrowOnError>;
186
186
  handleOAuthCallback: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HandleOAuthCallbackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
187
187
  getPendingOAuthData: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPendingOAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPendingOAuthDataResponse, ErrorResponse, ThrowOnError>;
188
+ connectWhatsAppCredentials: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ConnectWhatsAppCredentialsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ConnectWhatsAppCredentialsResponse, unknown, ThrowOnError>;
188
189
  getFacebookPages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetFacebookPagesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetFacebookPagesResponse, unknown, ThrowOnError>;
189
190
  updateFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateFacebookPageResponse, unknown, ThrowOnError>;
190
191
  getLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInOrganizationsResponse, unknown, ThrowOnError>;
@@ -378,13 +379,9 @@ declare class Late {
378
379
  */
379
380
  whatsappphonenumbers: {
380
381
  getWhatsAppPhoneNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppPhoneNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppPhoneNumbersResponse, GetWhatsAppPhoneNumbersError, ThrowOnError>;
381
- searchAvailableWhatsAppNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<SearchAvailableWhatsAppNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchAvailableWhatsAppNumbersResponse, unknown, ThrowOnError>;
382
- getPreverifiedWhatsAppNumbers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPreverifiedWhatsAppNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPreverifiedWhatsAppNumbersResponse, unknown, ThrowOnError>;
383
382
  purchaseWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PurchaseWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PurchaseWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
384
383
  getWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberError, ThrowOnError>;
385
384
  releaseWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReleaseWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReleaseWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
386
- requestWhatsAppVerificationCode: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RequestWhatsAppVerificationCodeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RequestWhatsAppVerificationCodeResponse, unknown, ThrowOnError>;
387
- verifyWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<VerifyWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<VerifyWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
388
385
  };
389
386
  /**
390
387
  * Create a new Late API client.
@@ -4677,6 +4674,49 @@ type ConnectBlueskyCredentialsResponse = ({
4677
4674
  type ConnectBlueskyCredentialsError = (unknown | {
4678
4675
  error?: string;
4679
4676
  });
4677
+ type ConnectWhatsAppCredentialsData = {
4678
+ body: {
4679
+ /**
4680
+ * Your Late profile ID
4681
+ */
4682
+ profileId: string;
4683
+ /**
4684
+ * Permanent System User access token from Meta Business Suite
4685
+ */
4686
+ accessToken: string;
4687
+ /**
4688
+ * WhatsApp Business Account ID from Meta
4689
+ */
4690
+ wabaId: string;
4691
+ /**
4692
+ * Phone Number ID from Meta WhatsApp Manager
4693
+ */
4694
+ phoneNumberId: string;
4695
+ };
4696
+ };
4697
+ type ConnectWhatsAppCredentialsResponse = ({
4698
+ message?: string;
4699
+ account?: {
4700
+ accountId?: string;
4701
+ platform?: 'whatsapp';
4702
+ /**
4703
+ * Display phone number
4704
+ */
4705
+ username?: string;
4706
+ /**
4707
+ * Meta-verified business name
4708
+ */
4709
+ displayName?: string;
4710
+ isActive?: boolean;
4711
+ phoneNumber?: string;
4712
+ verifiedName?: string;
4713
+ /**
4714
+ * GREEN, YELLOW, or RED
4715
+ */
4716
+ qualityRating?: string;
4717
+ };
4718
+ });
4719
+ type ConnectWhatsAppCredentialsError = (unknown);
4680
4720
  type GetTelegramConnectStatusData = {
4681
4721
  query: {
4682
4722
  /**
@@ -7260,11 +7300,39 @@ type CreateWhatsAppTemplateData = {
7260
7300
  */
7261
7301
  language: string;
7262
7302
  /**
7263
- * Template components (header, body, footer, buttons)
7303
+ * Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
7264
7304
  */
7265
- components: Array<{
7305
+ components?: Array<{
7266
7306
  [key: string]: unknown;
7267
7307
  }>;
7308
+ /**
7309
+ * Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
7310
+ * "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
7311
+ * by Meta with no review wait. Omit `components` when using this field.
7312
+ *
7313
+ */
7314
+ library_template_name?: string;
7315
+ /**
7316
+ * Optional body customizations for library templates. Available options depend on the
7317
+ * template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
7318
+ * add_track_package_link, code_expiration_minutes).
7319
+ *
7320
+ */
7321
+ library_template_body_inputs?: {
7322
+ [key: string]: unknown;
7323
+ };
7324
+ /**
7325
+ * Optional button customizations for library templates. Each item specifies button type
7326
+ * and configuration (e.g., URL, phone number, quick reply).
7327
+ *
7328
+ */
7329
+ library_template_button_inputs?: Array<{
7330
+ type?: 'QUICK_REPLY' | 'URL' | 'PHONE_NUMBER';
7331
+ url?: {
7332
+ base_url?: string;
7333
+ };
7334
+ phone_number?: string;
7335
+ }>;
7268
7336
  };
7269
7337
  };
7270
7338
  type CreateWhatsAppTemplateResponse = ({
@@ -7272,6 +7340,9 @@ type CreateWhatsAppTemplateResponse = ({
7272
7340
  template?: {
7273
7341
  id?: string;
7274
7342
  name?: string;
7343
+ /**
7344
+ * APPROVED for library templates, PENDING for custom
7345
+ */
7275
7346
  status?: string;
7276
7347
  category?: string;
7277
7348
  language?: string;
@@ -7838,58 +7909,6 @@ type GetWhatsAppPhoneNumbersResponse = ({
7838
7909
  type GetWhatsAppPhoneNumbersError = ({
7839
7910
  error?: string;
7840
7911
  });
7841
- type SearchAvailableWhatsAppNumbersData = {
7842
- query?: {
7843
- /**
7844
- * Pattern to match within the phone number
7845
- */
7846
- contains?: string;
7847
- /**
7848
- * Maximum results (default 20, max 100)
7849
- */
7850
- limit?: number;
7851
- /**
7852
- * City name (e.g., "New York")
7853
- */
7854
- locality?: string;
7855
- /**
7856
- * Area code to search (e.g., "212" for New York)
7857
- */
7858
- prefix?: string;
7859
- };
7860
- };
7861
- type SearchAvailableWhatsAppNumbersResponse = ({
7862
- numbers?: Array<{
7863
- [key: string]: unknown;
7864
- }>;
7865
- });
7866
- type SearchAvailableWhatsAppNumbersError = ({
7867
- error?: string;
7868
- } | unknown);
7869
- type GetPreverifiedWhatsAppNumbersData = {
7870
- query: {
7871
- /**
7872
- * Profile ID to filter by
7873
- */
7874
- profileId: string;
7875
- };
7876
- };
7877
- type GetPreverifiedWhatsAppNumbersResponse = ({
7878
- /**
7879
- * IDs to pass in FB.login() extras.setup.preVerifiedPhone.ids
7880
- */
7881
- preVerifiedIds?: Array<(string)>;
7882
- numbers?: Array<{
7883
- id?: string;
7884
- phoneNumber?: string;
7885
- metaPreverifiedId?: string;
7886
- metaVerifiedAt?: string;
7887
- metaVerificationExpiresAt?: string;
7888
- }>;
7889
- });
7890
- type GetPreverifiedWhatsAppNumbersError = (unknown | {
7891
- error?: string;
7892
- });
7893
7912
  type PurchaseWhatsAppPhoneNumberData = {
7894
7913
  body: {
7895
7914
  /**
@@ -7961,48 +7980,5 @@ type ReleaseWhatsAppPhoneNumberResponse = ({
7961
7980
  type ReleaseWhatsAppPhoneNumberError = (unknown | {
7962
7981
  error?: string;
7963
7982
  });
7964
- type RequestWhatsAppVerificationCodeData = {
7965
- body?: {
7966
- /**
7967
- * Delivery method for the verification code
7968
- */
7969
- method?: 'SMS' | 'VOICE';
7970
- };
7971
- path: {
7972
- /**
7973
- * Phone number record ID
7974
- */
7975
- phoneNumberId: string;
7976
- };
7977
- };
7978
- type RequestWhatsAppVerificationCodeResponse = ({
7979
- message?: string;
7980
- method?: 'SMS' | 'VOICE';
7981
- });
7982
- type RequestWhatsAppVerificationCodeError = (unknown | {
7983
- error?: string;
7984
- });
7985
- type VerifyWhatsAppPhoneNumberData = {
7986
- body: {
7987
- /**
7988
- * 6-digit verification code
7989
- */
7990
- code: string;
7991
- };
7992
- path: {
7993
- /**
7994
- * Phone number record ID
7995
- */
7996
- phoneNumberId: string;
7997
- };
7998
- };
7999
- type VerifyWhatsAppPhoneNumberResponse = ({
8000
- message?: string;
8001
- metaVerifiedAt?: string;
8002
- metaVerificationExpiresAt?: string;
8003
- });
8004
- type VerifyWhatsAppPhoneNumberError = (unknown | {
8005
- error?: string;
8006
- });
8007
7983
 
8008
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BulkDeleteWhatsAppContactsData, type BulkDeleteWhatsAppContactsError, type BulkDeleteWhatsAppContactsResponse, type BulkUpdateWhatsAppContactsData, type BulkUpdateWhatsAppContactsError, type BulkUpdateWhatsAppContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelWhatsAppBroadcastScheduleData, type CancelWhatsAppBroadcastScheduleError, type CancelWhatsAppBroadcastScheduleResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppBroadcastData, type CreateWhatsAppBroadcastError, type CreateWhatsAppBroadcastResponse, type CreateWhatsAppContactData, type CreateWhatsAppContactError, type CreateWhatsAppContactResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, 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 DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppBroadcastData, type DeleteWhatsAppBroadcastError, type DeleteWhatsAppBroadcastResponse, type DeleteWhatsAppContactData, type DeleteWhatsAppContactError, type DeleteWhatsAppContactResponse, type DeleteWhatsAppGroupData, type DeleteWhatsAppGroupError, type DeleteWhatsAppGroupResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, 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 GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, 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 GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetPreverifiedWhatsAppNumbersData, type GetPreverifiedWhatsAppNumbersError, type GetPreverifiedWhatsAppNumbersResponse, 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 GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBroadcastData, type GetWhatsAppBroadcastError, type GetWhatsAppBroadcastRecipientsData, type GetWhatsAppBroadcastRecipientsError, type GetWhatsAppBroadcastRecipientsResponse, type GetWhatsAppBroadcastResponse, type GetWhatsAppBroadcastsData, type GetWhatsAppBroadcastsError, type GetWhatsAppBroadcastsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppContactData, type GetWhatsAppContactError, type GetWhatsAppContactResponse, type GetWhatsAppContactsData, type GetWhatsAppContactsError, type GetWhatsAppContactsResponse, type GetWhatsAppGroupsData, type GetWhatsAppGroupsError, type GetWhatsAppGroupsResponse, 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 GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type ImportWhatsAppContactsData, type ImportWhatsAppContactsError, type ImportWhatsAppContactsResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, 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 ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, 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 ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, 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 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 ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveWhatsAppBroadcastRecipientsData, type RemoveWhatsAppBroadcastRecipientsError, type RemoveWhatsAppBroadcastRecipientsResponse, type RenameWhatsAppGroupData, type RenameWhatsAppGroupError, type RenameWhatsAppGroupResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RequestWhatsAppVerificationCodeData, type RequestWhatsAppVerificationCodeError, type RequestWhatsAppVerificationCodeResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type ScheduleWhatsAppBroadcastData, type ScheduleWhatsAppBroadcastError, type ScheduleWhatsAppBroadcastResponse, type SearchAvailableWhatsAppNumbersData, type SearchAvailableWhatsAppNumbersError, type SearchAvailableWhatsAppNumbersResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendWhatsAppBroadcastData, type SendWhatsAppBroadcastError, type SendWhatsAppBroadcastResponse, type SendWhatsAppBulkData, type SendWhatsAppBulkError, type SendWhatsAppBulkResponse, 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 TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, 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 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 UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppContactData, type UpdateWhatsAppContactError, type UpdateWhatsAppContactResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, 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 VerifyWhatsAppPhoneNumberData, type VerifyWhatsAppPhoneNumberError, type VerifyWhatsAppPhoneNumberResponse, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type gapFreq, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
7984
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BulkDeleteWhatsAppContactsData, type BulkDeleteWhatsAppContactsError, type BulkDeleteWhatsAppContactsResponse, type BulkUpdateWhatsAppContactsData, type BulkUpdateWhatsAppContactsError, type BulkUpdateWhatsAppContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelWhatsAppBroadcastScheduleData, type CancelWhatsAppBroadcastScheduleError, type CancelWhatsAppBroadcastScheduleResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppBroadcastData, type CreateWhatsAppBroadcastError, type CreateWhatsAppBroadcastResponse, type CreateWhatsAppContactData, type CreateWhatsAppContactError, type CreateWhatsAppContactResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, 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 DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppBroadcastData, type DeleteWhatsAppBroadcastError, type DeleteWhatsAppBroadcastResponse, type DeleteWhatsAppContactData, type DeleteWhatsAppContactError, type DeleteWhatsAppContactResponse, type DeleteWhatsAppGroupData, type DeleteWhatsAppGroupError, type DeleteWhatsAppGroupResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, 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 GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, 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 GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, 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 GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBroadcastData, type GetWhatsAppBroadcastError, type GetWhatsAppBroadcastRecipientsData, type GetWhatsAppBroadcastRecipientsError, type GetWhatsAppBroadcastRecipientsResponse, type GetWhatsAppBroadcastResponse, type GetWhatsAppBroadcastsData, type GetWhatsAppBroadcastsError, type GetWhatsAppBroadcastsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppContactData, type GetWhatsAppContactError, type GetWhatsAppContactResponse, type GetWhatsAppContactsData, type GetWhatsAppContactsError, type GetWhatsAppContactsResponse, type GetWhatsAppGroupsData, type GetWhatsAppGroupsError, type GetWhatsAppGroupsResponse, 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 GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type ImportWhatsAppContactsData, type ImportWhatsAppContactsError, type ImportWhatsAppContactsResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, 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 ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, 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 ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, 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 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 ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveWhatsAppBroadcastRecipientsData, type RemoveWhatsAppBroadcastRecipientsError, type RemoveWhatsAppBroadcastRecipientsResponse, type RenameWhatsAppGroupData, type RenameWhatsAppGroupError, type RenameWhatsAppGroupResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type ScheduleWhatsAppBroadcastData, type ScheduleWhatsAppBroadcastError, type ScheduleWhatsAppBroadcastResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendWhatsAppBroadcastData, type SendWhatsAppBroadcastError, type SendWhatsAppBroadcastResponse, type SendWhatsAppBulkData, type SendWhatsAppBulkError, type SendWhatsAppBulkResponse, 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 TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, 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 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 UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppContactData, type UpdateWhatsAppContactError, type UpdateWhatsAppContactResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, 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 WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type gapFreq, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
package/dist/index.d.ts CHANGED
@@ -185,6 +185,7 @@ declare class Late {
185
185
  getConnectUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetConnectUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetConnectUrlResponse, unknown, ThrowOnError>;
186
186
  handleOAuthCallback: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HandleOAuthCallbackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
187
187
  getPendingOAuthData: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPendingOAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPendingOAuthDataResponse, ErrorResponse, ThrowOnError>;
188
+ connectWhatsAppCredentials: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ConnectWhatsAppCredentialsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ConnectWhatsAppCredentialsResponse, unknown, ThrowOnError>;
188
189
  getFacebookPages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetFacebookPagesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetFacebookPagesResponse, unknown, ThrowOnError>;
189
190
  updateFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateFacebookPageResponse, unknown, ThrowOnError>;
190
191
  getLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInOrganizationsResponse, unknown, ThrowOnError>;
@@ -378,13 +379,9 @@ declare class Late {
378
379
  */
379
380
  whatsappphonenumbers: {
380
381
  getWhatsAppPhoneNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppPhoneNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppPhoneNumbersResponse, GetWhatsAppPhoneNumbersError, ThrowOnError>;
381
- searchAvailableWhatsAppNumbers: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<SearchAvailableWhatsAppNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SearchAvailableWhatsAppNumbersResponse, unknown, ThrowOnError>;
382
- getPreverifiedWhatsAppNumbers: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPreverifiedWhatsAppNumbersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPreverifiedWhatsAppNumbersResponse, unknown, ThrowOnError>;
383
382
  purchaseWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<PurchaseWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<PurchaseWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
384
383
  getWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberError, ThrowOnError>;
385
384
  releaseWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReleaseWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReleaseWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
386
- requestWhatsAppVerificationCode: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<RequestWhatsAppVerificationCodeData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RequestWhatsAppVerificationCodeResponse, unknown, ThrowOnError>;
387
- verifyWhatsAppPhoneNumber: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<VerifyWhatsAppPhoneNumberData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<VerifyWhatsAppPhoneNumberResponse, unknown, ThrowOnError>;
388
385
  };
389
386
  /**
390
387
  * Create a new Late API client.
@@ -4677,6 +4674,49 @@ type ConnectBlueskyCredentialsResponse = ({
4677
4674
  type ConnectBlueskyCredentialsError = (unknown | {
4678
4675
  error?: string;
4679
4676
  });
4677
+ type ConnectWhatsAppCredentialsData = {
4678
+ body: {
4679
+ /**
4680
+ * Your Late profile ID
4681
+ */
4682
+ profileId: string;
4683
+ /**
4684
+ * Permanent System User access token from Meta Business Suite
4685
+ */
4686
+ accessToken: string;
4687
+ /**
4688
+ * WhatsApp Business Account ID from Meta
4689
+ */
4690
+ wabaId: string;
4691
+ /**
4692
+ * Phone Number ID from Meta WhatsApp Manager
4693
+ */
4694
+ phoneNumberId: string;
4695
+ };
4696
+ };
4697
+ type ConnectWhatsAppCredentialsResponse = ({
4698
+ message?: string;
4699
+ account?: {
4700
+ accountId?: string;
4701
+ platform?: 'whatsapp';
4702
+ /**
4703
+ * Display phone number
4704
+ */
4705
+ username?: string;
4706
+ /**
4707
+ * Meta-verified business name
4708
+ */
4709
+ displayName?: string;
4710
+ isActive?: boolean;
4711
+ phoneNumber?: string;
4712
+ verifiedName?: string;
4713
+ /**
4714
+ * GREEN, YELLOW, or RED
4715
+ */
4716
+ qualityRating?: string;
4717
+ };
4718
+ });
4719
+ type ConnectWhatsAppCredentialsError = (unknown);
4680
4720
  type GetTelegramConnectStatusData = {
4681
4721
  query: {
4682
4722
  /**
@@ -7260,11 +7300,39 @@ type CreateWhatsAppTemplateData = {
7260
7300
  */
7261
7301
  language: string;
7262
7302
  /**
7263
- * Template components (header, body, footer, buttons)
7303
+ * Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
7264
7304
  */
7265
- components: Array<{
7305
+ components?: Array<{
7266
7306
  [key: string]: unknown;
7267
7307
  }>;
7308
+ /**
7309
+ * Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
7310
+ * "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
7311
+ * by Meta with no review wait. Omit `components` when using this field.
7312
+ *
7313
+ */
7314
+ library_template_name?: string;
7315
+ /**
7316
+ * Optional body customizations for library templates. Available options depend on the
7317
+ * template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
7318
+ * add_track_package_link, code_expiration_minutes).
7319
+ *
7320
+ */
7321
+ library_template_body_inputs?: {
7322
+ [key: string]: unknown;
7323
+ };
7324
+ /**
7325
+ * Optional button customizations for library templates. Each item specifies button type
7326
+ * and configuration (e.g., URL, phone number, quick reply).
7327
+ *
7328
+ */
7329
+ library_template_button_inputs?: Array<{
7330
+ type?: 'QUICK_REPLY' | 'URL' | 'PHONE_NUMBER';
7331
+ url?: {
7332
+ base_url?: string;
7333
+ };
7334
+ phone_number?: string;
7335
+ }>;
7268
7336
  };
7269
7337
  };
7270
7338
  type CreateWhatsAppTemplateResponse = ({
@@ -7272,6 +7340,9 @@ type CreateWhatsAppTemplateResponse = ({
7272
7340
  template?: {
7273
7341
  id?: string;
7274
7342
  name?: string;
7343
+ /**
7344
+ * APPROVED for library templates, PENDING for custom
7345
+ */
7275
7346
  status?: string;
7276
7347
  category?: string;
7277
7348
  language?: string;
@@ -7838,58 +7909,6 @@ type GetWhatsAppPhoneNumbersResponse = ({
7838
7909
  type GetWhatsAppPhoneNumbersError = ({
7839
7910
  error?: string;
7840
7911
  });
7841
- type SearchAvailableWhatsAppNumbersData = {
7842
- query?: {
7843
- /**
7844
- * Pattern to match within the phone number
7845
- */
7846
- contains?: string;
7847
- /**
7848
- * Maximum results (default 20, max 100)
7849
- */
7850
- limit?: number;
7851
- /**
7852
- * City name (e.g., "New York")
7853
- */
7854
- locality?: string;
7855
- /**
7856
- * Area code to search (e.g., "212" for New York)
7857
- */
7858
- prefix?: string;
7859
- };
7860
- };
7861
- type SearchAvailableWhatsAppNumbersResponse = ({
7862
- numbers?: Array<{
7863
- [key: string]: unknown;
7864
- }>;
7865
- });
7866
- type SearchAvailableWhatsAppNumbersError = ({
7867
- error?: string;
7868
- } | unknown);
7869
- type GetPreverifiedWhatsAppNumbersData = {
7870
- query: {
7871
- /**
7872
- * Profile ID to filter by
7873
- */
7874
- profileId: string;
7875
- };
7876
- };
7877
- type GetPreverifiedWhatsAppNumbersResponse = ({
7878
- /**
7879
- * IDs to pass in FB.login() extras.setup.preVerifiedPhone.ids
7880
- */
7881
- preVerifiedIds?: Array<(string)>;
7882
- numbers?: Array<{
7883
- id?: string;
7884
- phoneNumber?: string;
7885
- metaPreverifiedId?: string;
7886
- metaVerifiedAt?: string;
7887
- metaVerificationExpiresAt?: string;
7888
- }>;
7889
- });
7890
- type GetPreverifiedWhatsAppNumbersError = (unknown | {
7891
- error?: string;
7892
- });
7893
7912
  type PurchaseWhatsAppPhoneNumberData = {
7894
7913
  body: {
7895
7914
  /**
@@ -7961,48 +7980,5 @@ type ReleaseWhatsAppPhoneNumberResponse = ({
7961
7980
  type ReleaseWhatsAppPhoneNumberError = (unknown | {
7962
7981
  error?: string;
7963
7982
  });
7964
- type RequestWhatsAppVerificationCodeData = {
7965
- body?: {
7966
- /**
7967
- * Delivery method for the verification code
7968
- */
7969
- method?: 'SMS' | 'VOICE';
7970
- };
7971
- path: {
7972
- /**
7973
- * Phone number record ID
7974
- */
7975
- phoneNumberId: string;
7976
- };
7977
- };
7978
- type RequestWhatsAppVerificationCodeResponse = ({
7979
- message?: string;
7980
- method?: 'SMS' | 'VOICE';
7981
- });
7982
- type RequestWhatsAppVerificationCodeError = (unknown | {
7983
- error?: string;
7984
- });
7985
- type VerifyWhatsAppPhoneNumberData = {
7986
- body: {
7987
- /**
7988
- * 6-digit verification code
7989
- */
7990
- code: string;
7991
- };
7992
- path: {
7993
- /**
7994
- * Phone number record ID
7995
- */
7996
- phoneNumberId: string;
7997
- };
7998
- };
7999
- type VerifyWhatsAppPhoneNumberResponse = ({
8000
- message?: string;
8001
- metaVerifiedAt?: string;
8002
- metaVerificationExpiresAt?: string;
8003
- });
8004
- type VerifyWhatsAppPhoneNumberError = (unknown | {
8005
- error?: string;
8006
- });
8007
7983
 
8008
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BulkDeleteWhatsAppContactsData, type BulkDeleteWhatsAppContactsError, type BulkDeleteWhatsAppContactsResponse, type BulkUpdateWhatsAppContactsData, type BulkUpdateWhatsAppContactsError, type BulkUpdateWhatsAppContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelWhatsAppBroadcastScheduleData, type CancelWhatsAppBroadcastScheduleError, type CancelWhatsAppBroadcastScheduleResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppBroadcastData, type CreateWhatsAppBroadcastError, type CreateWhatsAppBroadcastResponse, type CreateWhatsAppContactData, type CreateWhatsAppContactError, type CreateWhatsAppContactResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, 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 DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppBroadcastData, type DeleteWhatsAppBroadcastError, type DeleteWhatsAppBroadcastResponse, type DeleteWhatsAppContactData, type DeleteWhatsAppContactError, type DeleteWhatsAppContactResponse, type DeleteWhatsAppGroupData, type DeleteWhatsAppGroupError, type DeleteWhatsAppGroupResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, 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 GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, 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 GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetPostTimelineData, type GetPostTimelineError, type GetPostTimelineResponse, type GetPostingFrequencyData, type GetPostingFrequencyError, type GetPostingFrequencyResponse, type GetPreverifiedWhatsAppNumbersData, type GetPreverifiedWhatsAppNumbersError, type GetPreverifiedWhatsAppNumbersResponse, 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 GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBroadcastData, type GetWhatsAppBroadcastError, type GetWhatsAppBroadcastRecipientsData, type GetWhatsAppBroadcastRecipientsError, type GetWhatsAppBroadcastRecipientsResponse, type GetWhatsAppBroadcastResponse, type GetWhatsAppBroadcastsData, type GetWhatsAppBroadcastsError, type GetWhatsAppBroadcastsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppContactData, type GetWhatsAppContactError, type GetWhatsAppContactResponse, type GetWhatsAppContactsData, type GetWhatsAppContactsError, type GetWhatsAppContactsResponse, type GetWhatsAppGroupsData, type GetWhatsAppGroupsError, type GetWhatsAppGroupsResponse, 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 GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type ImportWhatsAppContactsData, type ImportWhatsAppContactsError, type ImportWhatsAppContactsResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, 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 ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, 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 ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, 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 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 ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveWhatsAppBroadcastRecipientsData, type RemoveWhatsAppBroadcastRecipientsError, type RemoveWhatsAppBroadcastRecipientsResponse, type RenameWhatsAppGroupData, type RenameWhatsAppGroupError, type RenameWhatsAppGroupResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RequestWhatsAppVerificationCodeData, type RequestWhatsAppVerificationCodeError, type RequestWhatsAppVerificationCodeResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type ScheduleWhatsAppBroadcastData, type ScheduleWhatsAppBroadcastError, type ScheduleWhatsAppBroadcastResponse, type SearchAvailableWhatsAppNumbersData, type SearchAvailableWhatsAppNumbersError, type SearchAvailableWhatsAppNumbersResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendWhatsAppBroadcastData, type SendWhatsAppBroadcastError, type SendWhatsAppBroadcastResponse, type SendWhatsAppBulkData, type SendWhatsAppBulkError, type SendWhatsAppBulkResponse, 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 TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, 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 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 UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppContactData, type UpdateWhatsAppContactError, type UpdateWhatsAppContactResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, 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 VerifyWhatsAppPhoneNumberData, type VerifyWhatsAppPhoneNumberError, type VerifyWhatsAppPhoneNumberResponse, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type gapFreq, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
7984
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BulkDeleteWhatsAppContactsData, type BulkDeleteWhatsAppContactsError, type BulkDeleteWhatsAppContactsResponse, type BulkUpdateWhatsAppContactsData, type BulkUpdateWhatsAppContactsError, type BulkUpdateWhatsAppContactsResponse, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CancelWhatsAppBroadcastScheduleData, type CancelWhatsAppBroadcastScheduleError, type CancelWhatsAppBroadcastScheduleResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type ConnectWhatsAppCredentialsData, type ConnectWhatsAppCredentialsError, type ConnectWhatsAppCredentialsResponse, type ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, 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 CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type CreateWhatsAppBroadcastData, type CreateWhatsAppBroadcastError, type CreateWhatsAppBroadcastResponse, type CreateWhatsAppContactData, type CreateWhatsAppContactError, type CreateWhatsAppContactResponse, type CreateWhatsAppTemplateData, type CreateWhatsAppTemplateError, type CreateWhatsAppTemplateResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, 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 DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DeleteWhatsAppBroadcastData, type DeleteWhatsAppBroadcastError, type DeleteWhatsAppBroadcastResponse, type DeleteWhatsAppContactData, type DeleteWhatsAppContactError, type DeleteWhatsAppContactResponse, type DeleteWhatsAppGroupData, type DeleteWhatsAppGroupError, type DeleteWhatsAppGroupResponse, type DeleteWhatsAppTemplateData, type DeleteWhatsAppTemplateError, type DeleteWhatsAppTemplateResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetBestTimeToPostData, type GetBestTimeToPostError, type GetBestTimeToPostResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetContentDecayData, type GetContentDecayError, type GetContentDecayResponse, type GetDailyMetricsData, type GetDailyMetricsError, type GetDailyMetricsResponse, 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 GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, 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 GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, 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 GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type GetWhatsAppBroadcastData, type GetWhatsAppBroadcastError, type GetWhatsAppBroadcastRecipientsData, type GetWhatsAppBroadcastRecipientsError, type GetWhatsAppBroadcastRecipientsResponse, type GetWhatsAppBroadcastResponse, type GetWhatsAppBroadcastsData, type GetWhatsAppBroadcastsError, type GetWhatsAppBroadcastsResponse, type GetWhatsAppBusinessProfileData, type GetWhatsAppBusinessProfileError, type GetWhatsAppBusinessProfileResponse, type GetWhatsAppContactData, type GetWhatsAppContactError, type GetWhatsAppContactResponse, type GetWhatsAppContactsData, type GetWhatsAppContactsError, type GetWhatsAppContactsResponse, type GetWhatsAppGroupsData, type GetWhatsAppGroupsError, type GetWhatsAppGroupsResponse, 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 GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type HideInboxCommentData, type HideInboxCommentError, type HideInboxCommentResponse, type ImportWhatsAppContactsData, type ImportWhatsAppContactsError, type ImportWhatsAppContactsResponse, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, 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 ListApiKeysError, type ListApiKeysResponse, type ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, 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 ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, 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 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 ReleaseWhatsAppPhoneNumberData, type ReleaseWhatsAppPhoneNumberError, type ReleaseWhatsAppPhoneNumberResponse, type RemoveWhatsAppBroadcastRecipientsData, type RemoveWhatsAppBroadcastRecipientsError, type RemoveWhatsAppBroadcastRecipientsResponse, type RenameWhatsAppGroupData, type RenameWhatsAppGroupError, type RenameWhatsAppGroupResponse, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, type ScheduleWhatsAppBroadcastData, type ScheduleWhatsAppBroadcastError, type ScheduleWhatsAppBroadcastResponse, 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 SendInboxMessageData, type SendInboxMessageError, type SendInboxMessageResponse, type SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SendWhatsAppBroadcastData, type SendWhatsAppBroadcastError, type SendWhatsAppBroadcastResponse, type SendWhatsAppBulkData, type SendWhatsAppBulkError, type SendWhatsAppBulkResponse, 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 TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, 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 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 UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type UpdateWhatsAppBusinessProfileData, type UpdateWhatsAppBusinessProfileError, type UpdateWhatsAppBusinessProfileResponse, type UpdateWhatsAppContactData, type UpdateWhatsAppContactError, type UpdateWhatsAppContactResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, 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 WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadComment, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type connectionMethod, type contentType, type contentType2, type contentType3, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type event6, type eventType, type gapFreq, type graduationStrategy, type mediaType, parseApiError, type parseMode, type permission, type platform, type platform2, type platform3, type replySettings, type scope, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };
package/dist/index.js CHANGED
@@ -757,6 +757,12 @@ var connectBlueskyCredentials = (options) => {
757
757
  url: "/v1/connect/bluesky/credentials"
758
758
  });
759
759
  };
760
+ var connectWhatsAppCredentials = (options) => {
761
+ return (options?.client ?? client).post({
762
+ ...options,
763
+ url: "/v1/connect/whatsapp/credentials"
764
+ });
765
+ };
760
766
  var getTelegramConnectStatus = (options) => {
761
767
  return (options?.client ?? client).get({
762
768
  ...options,
@@ -1297,18 +1303,6 @@ var getWhatsAppPhoneNumbers = (options) => {
1297
1303
  url: "/v1/whatsapp/phone-numbers"
1298
1304
  });
1299
1305
  };
1300
- var searchAvailableWhatsAppNumbers = (options) => {
1301
- return (options?.client ?? client).get({
1302
- ...options,
1303
- url: "/v1/whatsapp/phone-numbers/available"
1304
- });
1305
- };
1306
- var getPreverifiedWhatsAppNumbers = (options) => {
1307
- return (options?.client ?? client).get({
1308
- ...options,
1309
- url: "/v1/whatsapp/phone-numbers/preverified"
1310
- });
1311
- };
1312
1306
  var purchaseWhatsAppPhoneNumber = (options) => {
1313
1307
  return (options?.client ?? client).post({
1314
1308
  ...options,
@@ -1327,18 +1321,6 @@ var releaseWhatsAppPhoneNumber = (options) => {
1327
1321
  url: "/v1/whatsapp/phone-numbers/{phoneNumberId}"
1328
1322
  });
1329
1323
  };
1330
- var requestWhatsAppVerificationCode = (options) => {
1331
- return (options?.client ?? client).post({
1332
- ...options,
1333
- url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/request-code"
1334
- });
1335
- };
1336
- var verifyWhatsAppPhoneNumber = (options) => {
1337
- return (options?.client ?? client).post({
1338
- ...options,
1339
- url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/verify"
1340
- });
1341
- };
1342
1324
 
1343
1325
  // src/errors.ts
1344
1326
  var LateApiError = class _LateApiError extends Error {
@@ -1571,6 +1553,7 @@ var Late = class {
1571
1553
  getConnectUrl,
1572
1554
  handleOAuthCallback,
1573
1555
  getPendingOAuthData,
1556
+ connectWhatsAppCredentials,
1574
1557
  getFacebookPages,
1575
1558
  updateFacebookPage,
1576
1559
  getLinkedInOrganizations,
@@ -1764,13 +1747,9 @@ var Late = class {
1764
1747
  */
1765
1748
  this.whatsappphonenumbers = {
1766
1749
  getWhatsAppPhoneNumbers,
1767
- searchAvailableWhatsAppNumbers,
1768
- getPreverifiedWhatsAppNumbers,
1769
1750
  purchaseWhatsAppPhoneNumber,
1770
1751
  getWhatsAppPhoneNumber,
1771
- releaseWhatsAppPhoneNumber,
1772
- requestWhatsAppVerificationCode,
1773
- verifyWhatsAppPhoneNumber
1752
+ releaseWhatsAppPhoneNumber
1774
1753
  };
1775
1754
  const apiKey = options.apiKey ?? process.env["LATE_API_KEY"];
1776
1755
  if (!apiKey) {
package/dist/index.mjs CHANGED
@@ -728,6 +728,12 @@ var connectBlueskyCredentials = (options) => {
728
728
  url: "/v1/connect/bluesky/credentials"
729
729
  });
730
730
  };
731
+ var connectWhatsAppCredentials = (options) => {
732
+ return (options?.client ?? client).post({
733
+ ...options,
734
+ url: "/v1/connect/whatsapp/credentials"
735
+ });
736
+ };
731
737
  var getTelegramConnectStatus = (options) => {
732
738
  return (options?.client ?? client).get({
733
739
  ...options,
@@ -1268,18 +1274,6 @@ var getWhatsAppPhoneNumbers = (options) => {
1268
1274
  url: "/v1/whatsapp/phone-numbers"
1269
1275
  });
1270
1276
  };
1271
- var searchAvailableWhatsAppNumbers = (options) => {
1272
- return (options?.client ?? client).get({
1273
- ...options,
1274
- url: "/v1/whatsapp/phone-numbers/available"
1275
- });
1276
- };
1277
- var getPreverifiedWhatsAppNumbers = (options) => {
1278
- return (options?.client ?? client).get({
1279
- ...options,
1280
- url: "/v1/whatsapp/phone-numbers/preverified"
1281
- });
1282
- };
1283
1277
  var purchaseWhatsAppPhoneNumber = (options) => {
1284
1278
  return (options?.client ?? client).post({
1285
1279
  ...options,
@@ -1298,18 +1292,6 @@ var releaseWhatsAppPhoneNumber = (options) => {
1298
1292
  url: "/v1/whatsapp/phone-numbers/{phoneNumberId}"
1299
1293
  });
1300
1294
  };
1301
- var requestWhatsAppVerificationCode = (options) => {
1302
- return (options?.client ?? client).post({
1303
- ...options,
1304
- url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/request-code"
1305
- });
1306
- };
1307
- var verifyWhatsAppPhoneNumber = (options) => {
1308
- return (options?.client ?? client).post({
1309
- ...options,
1310
- url: "/v1/whatsapp/phone-numbers/{phoneNumberId}/verify"
1311
- });
1312
- };
1313
1295
 
1314
1296
  // src/errors.ts
1315
1297
  var LateApiError = class _LateApiError extends Error {
@@ -1542,6 +1524,7 @@ var Late = class {
1542
1524
  getConnectUrl,
1543
1525
  handleOAuthCallback,
1544
1526
  getPendingOAuthData,
1527
+ connectWhatsAppCredentials,
1545
1528
  getFacebookPages,
1546
1529
  updateFacebookPage,
1547
1530
  getLinkedInOrganizations,
@@ -1735,13 +1718,9 @@ var Late = class {
1735
1718
  */
1736
1719
  this.whatsappphonenumbers = {
1737
1720
  getWhatsAppPhoneNumbers,
1738
- searchAvailableWhatsAppNumbers,
1739
- getPreverifiedWhatsAppNumbers,
1740
1721
  purchaseWhatsAppPhoneNumber,
1741
1722
  getWhatsAppPhoneNumber,
1742
- releaseWhatsAppPhoneNumber,
1743
- requestWhatsAppVerificationCode,
1744
- verifyWhatsAppPhoneNumber
1723
+ releaseWhatsAppPhoneNumber
1745
1724
  };
1746
1725
  const apiKey = options.apiKey ?? process.env["LATE_API_KEY"];
1747
1726
  if (!apiKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.44",
3
+ "version": "0.1.46",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -8,6 +8,7 @@ import {
8
8
  checkInstagramHashtags,
9
9
  completeTelegramConnect,
10
10
  connectBlueskyCredentials,
11
+ connectWhatsAppCredentials,
11
12
  createAccountGroup,
12
13
  createApiKey,
13
14
  createGoogleBusinessMedia,
@@ -78,7 +79,6 @@ import {
78
79
  getPostLogs,
79
80
  getPostTimeline,
80
81
  getPostingFrequency,
81
- getPreverifiedWhatsAppNumbers,
82
82
  getProfile,
83
83
  getRedditFeed,
84
84
  getRedditFlairs,
@@ -133,10 +133,8 @@ import {
133
133
  renameWhatsAppGroup,
134
134
  replyToInboxPost,
135
135
  replyToInboxReview,
136
- requestWhatsAppVerificationCode,
137
136
  retryPost,
138
137
  scheduleWhatsAppBroadcast,
139
- searchAvailableWhatsAppNumbers,
140
138
  searchReddit,
141
139
  selectFacebookPage,
142
140
  selectGoogleBusinessLocation,
@@ -176,7 +174,6 @@ import {
176
174
  validatePost,
177
175
  validatePostLength,
178
176
  validateSubreddit,
179
- verifyWhatsAppPhoneNumber,
180
177
  } from './generated/sdk.gen';
181
178
 
182
179
  import { LateApiError, parseApiError } from './errors';
@@ -384,6 +381,7 @@ export class Late {
384
381
  getConnectUrl: getConnectUrl,
385
382
  handleOAuthCallback: handleOAuthCallback,
386
383
  getPendingOAuthData: getPendingOAuthData,
384
+ connectWhatsAppCredentials: connectWhatsAppCredentials,
387
385
  getFacebookPages: getFacebookPages,
388
386
  updateFacebookPage: updateFacebookPage,
389
387
  getLinkedInOrganizations: getLinkedInOrganizations,
@@ -591,13 +589,9 @@ export class Late {
591
589
  */
592
590
  whatsappphonenumbers = {
593
591
  getWhatsAppPhoneNumbers: getWhatsAppPhoneNumbers,
594
- searchAvailableWhatsAppNumbers: searchAvailableWhatsAppNumbers,
595
- getPreverifiedWhatsAppNumbers: getPreverifiedWhatsAppNumbers,
596
592
  purchaseWhatsAppPhoneNumber: purchaseWhatsAppPhoneNumber,
597
593
  getWhatsAppPhoneNumber: getWhatsAppPhoneNumber,
598
594
  releaseWhatsAppPhoneNumber: releaseWhatsAppPhoneNumber,
599
- requestWhatsAppVerificationCode: requestWhatsAppVerificationCode,
600
- verifyWhatsAppPhoneNumber: verifyWhatsAppPhoneNumber,
601
595
  };
602
596
 
603
597
  /**
@@ -1,7 +1,7 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
2
 
3
3
  import { createClient, createConfig, type OptionsLegacyParser, formDataBodySerializer } from '@hey-api/client-fetch';
4
- import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, ValidatePostLengthData, ValidatePostLengthError, ValidatePostLengthResponse, ValidatePostData, ValidatePostError, ValidatePostResponse, ValidateMediaData, ValidateMediaError, ValidateMediaResponse, ValidateSubredditData, ValidateSubredditError, ValidateSubredditResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, GetDailyMetricsData, GetDailyMetricsError, GetDailyMetricsResponse, GetBestTimeToPostData, GetBestTimeToPostError, GetBestTimeToPostResponse, GetContentDecayData, GetContentDecayError, GetContentDecayResponse, GetPostingFrequencyData, GetPostingFrequencyError, GetPostingFrequencyResponse, GetPostTimelineData, GetPostTimelineError, GetPostTimelineResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, UnpublishPostData, UnpublishPostError, UnpublishPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, GetLinkedInPostReactionsData, GetLinkedInPostReactionsError, GetLinkedInPostReactionsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, GetRedditFlairsData, GetRedditFlairsError, GetRedditFlairsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, EditInboxMessageData, EditInboxMessageError, EditInboxMessageResponse, GetMessengerMenuData, GetMessengerMenuError, GetMessengerMenuResponse, SetMessengerMenuData, SetMessengerMenuError, SetMessengerMenuResponse, DeleteMessengerMenuData, DeleteMessengerMenuError, DeleteMessengerMenuResponse, GetInstagramIceBreakersData, GetInstagramIceBreakersError, GetInstagramIceBreakersResponse, SetInstagramIceBreakersData, SetInstagramIceBreakersError, SetInstagramIceBreakersResponse, DeleteInstagramIceBreakersData, DeleteInstagramIceBreakersError, DeleteInstagramIceBreakersResponse, GetTelegramCommandsData, GetTelegramCommandsError, GetTelegramCommandsResponse, SetTelegramCommandsData, SetTelegramCommandsError, SetTelegramCommandsResponse, DeleteTelegramCommandsData, DeleteTelegramCommandsError, DeleteTelegramCommandsResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse, SendWhatsAppBulkData, SendWhatsAppBulkError, SendWhatsAppBulkResponse, GetWhatsAppContactsData, GetWhatsAppContactsError, GetWhatsAppContactsResponse, CreateWhatsAppContactData, CreateWhatsAppContactError, CreateWhatsAppContactResponse, GetWhatsAppContactData, GetWhatsAppContactError, GetWhatsAppContactResponse, UpdateWhatsAppContactData, UpdateWhatsAppContactError, UpdateWhatsAppContactResponse, DeleteWhatsAppContactData, DeleteWhatsAppContactError, DeleteWhatsAppContactResponse, ImportWhatsAppContactsData, ImportWhatsAppContactsError, ImportWhatsAppContactsResponse, BulkUpdateWhatsAppContactsData, BulkUpdateWhatsAppContactsError, BulkUpdateWhatsAppContactsResponse, BulkDeleteWhatsAppContactsData, BulkDeleteWhatsAppContactsError, BulkDeleteWhatsAppContactsResponse, GetWhatsAppGroupsData, GetWhatsAppGroupsError, GetWhatsAppGroupsResponse, RenameWhatsAppGroupData, RenameWhatsAppGroupError, RenameWhatsAppGroupResponse, DeleteWhatsAppGroupData, DeleteWhatsAppGroupError, DeleteWhatsAppGroupResponse, GetWhatsAppTemplatesData, GetWhatsAppTemplatesError, GetWhatsAppTemplatesResponse, CreateWhatsAppTemplateData, CreateWhatsAppTemplateError, CreateWhatsAppTemplateResponse, GetWhatsAppTemplateData, GetWhatsAppTemplateError, GetWhatsAppTemplateResponse, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateError, UpdateWhatsAppTemplateResponse, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateError, DeleteWhatsAppTemplateResponse, GetWhatsAppBroadcastsData, GetWhatsAppBroadcastsError, GetWhatsAppBroadcastsResponse, CreateWhatsAppBroadcastData, CreateWhatsAppBroadcastError, CreateWhatsAppBroadcastResponse, GetWhatsAppBroadcastData, GetWhatsAppBroadcastError, GetWhatsAppBroadcastResponse, DeleteWhatsAppBroadcastData, DeleteWhatsAppBroadcastError, DeleteWhatsAppBroadcastResponse, SendWhatsAppBroadcastData, SendWhatsAppBroadcastError, SendWhatsAppBroadcastResponse, ScheduleWhatsAppBroadcastData, ScheduleWhatsAppBroadcastError, ScheduleWhatsAppBroadcastResponse, CancelWhatsAppBroadcastScheduleData, CancelWhatsAppBroadcastScheduleError, CancelWhatsAppBroadcastScheduleResponse, GetWhatsAppBroadcastRecipientsData, GetWhatsAppBroadcastRecipientsError, GetWhatsAppBroadcastRecipientsResponse, AddWhatsAppBroadcastRecipientsData, AddWhatsAppBroadcastRecipientsError, AddWhatsAppBroadcastRecipientsResponse, RemoveWhatsAppBroadcastRecipientsData, RemoveWhatsAppBroadcastRecipientsError, RemoveWhatsAppBroadcastRecipientsResponse, GetWhatsAppBusinessProfileData, GetWhatsAppBusinessProfileError, GetWhatsAppBusinessProfileResponse, UpdateWhatsAppBusinessProfileData, UpdateWhatsAppBusinessProfileError, UpdateWhatsAppBusinessProfileResponse, GetWhatsAppPhoneNumbersData, GetWhatsAppPhoneNumbersError, GetWhatsAppPhoneNumbersResponse, SearchAvailableWhatsAppNumbersData, SearchAvailableWhatsAppNumbersError, SearchAvailableWhatsAppNumbersResponse, GetPreverifiedWhatsAppNumbersData, GetPreverifiedWhatsAppNumbersError, GetPreverifiedWhatsAppNumbersResponse, PurchaseWhatsAppPhoneNumberData, PurchaseWhatsAppPhoneNumberError, PurchaseWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberData, GetWhatsAppPhoneNumberError, GetWhatsAppPhoneNumberResponse, ReleaseWhatsAppPhoneNumberData, ReleaseWhatsAppPhoneNumberError, ReleaseWhatsAppPhoneNumberResponse, RequestWhatsAppVerificationCodeData, RequestWhatsAppVerificationCodeError, RequestWhatsAppVerificationCodeResponse, VerifyWhatsAppPhoneNumberData, VerifyWhatsAppPhoneNumberError, VerifyWhatsAppPhoneNumberResponse } from './types.gen';
4
+ import type { DownloadYouTubeVideoData, DownloadYouTubeVideoError, DownloadYouTubeVideoResponse, GetYouTubeTranscriptData, GetYouTubeTranscriptError, GetYouTubeTranscriptResponse, DownloadInstagramMediaData, DownloadInstagramMediaError, DownloadInstagramMediaResponse, CheckInstagramHashtagsData, CheckInstagramHashtagsError, CheckInstagramHashtagsResponse, DownloadTikTokVideoData, DownloadTikTokVideoError, DownloadTikTokVideoResponse, DownloadTwitterMediaData, DownloadTwitterMediaError, DownloadTwitterMediaResponse, DownloadFacebookVideoData, DownloadFacebookVideoError, DownloadFacebookVideoResponse, DownloadLinkedInVideoData, DownloadLinkedInVideoError, DownloadLinkedInVideoResponse, DownloadBlueskyMediaData, DownloadBlueskyMediaError, DownloadBlueskyMediaResponse, ValidatePostLengthData, ValidatePostLengthError, ValidatePostLengthResponse, ValidatePostData, ValidatePostError, ValidatePostResponse, ValidateMediaData, ValidateMediaError, ValidateMediaResponse, ValidateSubredditData, ValidateSubredditError, ValidateSubredditResponse, GetAnalyticsData, GetAnalyticsError, GetAnalyticsResponse, GetYouTubeDailyViewsData, GetYouTubeDailyViewsError, GetYouTubeDailyViewsResponse, GetDailyMetricsData, GetDailyMetricsError, GetDailyMetricsResponse, GetBestTimeToPostData, GetBestTimeToPostError, GetBestTimeToPostResponse, GetContentDecayData, GetContentDecayError, GetContentDecayResponse, GetPostingFrequencyData, GetPostingFrequencyError, GetPostingFrequencyResponse, GetPostTimelineData, GetPostTimelineError, GetPostTimelineResponse, ListAccountGroupsError, ListAccountGroupsResponse, CreateAccountGroupData, CreateAccountGroupError, CreateAccountGroupResponse, UpdateAccountGroupData, UpdateAccountGroupError, UpdateAccountGroupResponse, DeleteAccountGroupData, DeleteAccountGroupError, DeleteAccountGroupResponse, GetMediaPresignedUrlData, GetMediaPresignedUrlError, GetMediaPresignedUrlResponse, SearchRedditData, SearchRedditError, SearchRedditResponse, GetRedditFeedData, GetRedditFeedError, GetRedditFeedResponse, GetUsageStatsError, GetUsageStatsResponse, ListPostsData, ListPostsError, ListPostsResponse, CreatePostData, CreatePostError, CreatePostResponse, GetPostData, GetPostError, GetPostResponse, UpdatePostData, UpdatePostError, UpdatePostResponse, DeletePostData, DeletePostError, DeletePostResponse, BulkUploadPostsData, BulkUploadPostsError, BulkUploadPostsResponse, RetryPostData, RetryPostError, RetryPostResponse, UnpublishPostData, UnpublishPostError, UnpublishPostResponse, ListUsersError, ListUsersResponse, GetUserData, GetUserError, GetUserResponse, ListProfilesData, ListProfilesError, ListProfilesResponse, CreateProfileData, CreateProfileError, CreateProfileResponse, GetProfileData, GetProfileError, GetProfileResponse, UpdateProfileData, UpdateProfileError, UpdateProfileResponse, DeleteProfileData, DeleteProfileError, DeleteProfileResponse, ListAccountsData, ListAccountsError, ListAccountsResponse, GetFollowerStatsData, GetFollowerStatsError, GetFollowerStatsResponse, UpdateAccountData, UpdateAccountError, UpdateAccountResponse, DeleteAccountData, DeleteAccountError, DeleteAccountResponse, GetAllAccountsHealthData, GetAllAccountsHealthError, GetAllAccountsHealthResponse, GetAccountHealthData, GetAccountHealthError, GetAccountHealthResponse, ListApiKeysError, ListApiKeysResponse, CreateApiKeyData, CreateApiKeyError, CreateApiKeyResponse, DeleteApiKeyData, DeleteApiKeyError, DeleteApiKeyResponse, CreateInviteTokenData, CreateInviteTokenError, CreateInviteTokenResponse, GetConnectUrlData, GetConnectUrlError, GetConnectUrlResponse, HandleOAuthCallbackData, HandleOAuthCallbackError, HandleOAuthCallbackResponse, ListFacebookPagesData, ListFacebookPagesError, ListFacebookPagesResponse, SelectFacebookPageData, SelectFacebookPageError, SelectFacebookPageResponse, ListGoogleBusinessLocationsData, ListGoogleBusinessLocationsError, ListGoogleBusinessLocationsResponse, SelectGoogleBusinessLocationData, SelectGoogleBusinessLocationError, SelectGoogleBusinessLocationResponse, GetGoogleBusinessReviewsData, GetGoogleBusinessReviewsError, GetGoogleBusinessReviewsResponse, GetGoogleBusinessFoodMenusData, GetGoogleBusinessFoodMenusError, GetGoogleBusinessFoodMenusResponse, UpdateGoogleBusinessFoodMenusData, UpdateGoogleBusinessFoodMenusError, UpdateGoogleBusinessFoodMenusResponse, GetGoogleBusinessLocationDetailsData, GetGoogleBusinessLocationDetailsError, GetGoogleBusinessLocationDetailsResponse, UpdateGoogleBusinessLocationDetailsData, UpdateGoogleBusinessLocationDetailsError, UpdateGoogleBusinessLocationDetailsResponse, ListGoogleBusinessMediaData, ListGoogleBusinessMediaError, ListGoogleBusinessMediaResponse, CreateGoogleBusinessMediaData, CreateGoogleBusinessMediaError, CreateGoogleBusinessMediaResponse, DeleteGoogleBusinessMediaData, DeleteGoogleBusinessMediaError, DeleteGoogleBusinessMediaResponse, GetGoogleBusinessAttributesData, GetGoogleBusinessAttributesError, GetGoogleBusinessAttributesResponse, UpdateGoogleBusinessAttributesData, UpdateGoogleBusinessAttributesError, UpdateGoogleBusinessAttributesResponse, ListGoogleBusinessPlaceActionsData, ListGoogleBusinessPlaceActionsError, ListGoogleBusinessPlaceActionsResponse, CreateGoogleBusinessPlaceActionData, CreateGoogleBusinessPlaceActionError, CreateGoogleBusinessPlaceActionResponse, DeleteGoogleBusinessPlaceActionData, DeleteGoogleBusinessPlaceActionError, DeleteGoogleBusinessPlaceActionResponse, GetPendingOAuthDataData, GetPendingOAuthDataError, GetPendingOAuthDataResponse, ListLinkedInOrganizationsData, ListLinkedInOrganizationsError, ListLinkedInOrganizationsResponse, SelectLinkedInOrganizationData, SelectLinkedInOrganizationError, SelectLinkedInOrganizationResponse, ListPinterestBoardsForSelectionData, ListPinterestBoardsForSelectionError, ListPinterestBoardsForSelectionResponse, SelectPinterestBoardData, SelectPinterestBoardError, SelectPinterestBoardResponse, ListSnapchatProfilesData, ListSnapchatProfilesError, ListSnapchatProfilesResponse, SelectSnapchatProfileData, SelectSnapchatProfileError, SelectSnapchatProfileResponse, ConnectBlueskyCredentialsData, ConnectBlueskyCredentialsError, ConnectBlueskyCredentialsResponse, ConnectWhatsAppCredentialsData, ConnectWhatsAppCredentialsError, ConnectWhatsAppCredentialsResponse, GetTelegramConnectStatusData, GetTelegramConnectStatusError, GetTelegramConnectStatusResponse, InitiateTelegramConnectData, InitiateTelegramConnectError, InitiateTelegramConnectResponse, CompleteTelegramConnectData, CompleteTelegramConnectError, CompleteTelegramConnectResponse, GetFacebookPagesData, GetFacebookPagesError, GetFacebookPagesResponse, UpdateFacebookPageData, UpdateFacebookPageError, UpdateFacebookPageResponse, GetLinkedInOrganizationsData, GetLinkedInOrganizationsError, GetLinkedInOrganizationsResponse, GetLinkedInAggregateAnalyticsData, GetLinkedInAggregateAnalyticsError, GetLinkedInAggregateAnalyticsResponse, GetLinkedInPostAnalyticsData, GetLinkedInPostAnalyticsError, GetLinkedInPostAnalyticsResponse, GetLinkedInPostReactionsData, GetLinkedInPostReactionsError, GetLinkedInPostReactionsResponse, UpdateLinkedInOrganizationData, UpdateLinkedInOrganizationError, UpdateLinkedInOrganizationResponse, GetLinkedInMentionsData, GetLinkedInMentionsError, GetLinkedInMentionsResponse, GetPinterestBoardsData, GetPinterestBoardsError, GetPinterestBoardsResponse, UpdatePinterestBoardsData, UpdatePinterestBoardsError, UpdatePinterestBoardsResponse, GetGmbLocationsData, GetGmbLocationsError, GetGmbLocationsResponse, UpdateGmbLocationData, UpdateGmbLocationError, UpdateGmbLocationResponse, GetRedditSubredditsData, GetRedditSubredditsError, GetRedditSubredditsResponse, UpdateRedditSubredditsData, UpdateRedditSubredditsError, UpdateRedditSubredditsResponse, GetRedditFlairsData, GetRedditFlairsError, GetRedditFlairsResponse, ListQueueSlotsData, ListQueueSlotsError, ListQueueSlotsResponse, CreateQueueSlotData, CreateQueueSlotError, CreateQueueSlotResponse, UpdateQueueSlotData, UpdateQueueSlotError, UpdateQueueSlotResponse, DeleteQueueSlotData, DeleteQueueSlotError, DeleteQueueSlotResponse, PreviewQueueData, PreviewQueueError, PreviewQueueResponse, GetNextQueueSlotData, GetNextQueueSlotError, GetNextQueueSlotResponse, GetWebhookSettingsError, GetWebhookSettingsResponse, CreateWebhookSettingsData, CreateWebhookSettingsError, CreateWebhookSettingsResponse, UpdateWebhookSettingsData, UpdateWebhookSettingsError, UpdateWebhookSettingsResponse, DeleteWebhookSettingsData, DeleteWebhookSettingsError, DeleteWebhookSettingsResponse, TestWebhookData, TestWebhookError, TestWebhookResponse, GetWebhookLogsData, GetWebhookLogsError, GetWebhookLogsResponse, ListPostsLogsData, ListPostsLogsError, ListPostsLogsResponse, ListConnectionLogsData, ListConnectionLogsError, ListConnectionLogsResponse, GetPostLogsData, GetPostLogsError, GetPostLogsResponse, ListInboxConversationsData, ListInboxConversationsError, ListInboxConversationsResponse, GetInboxConversationData, GetInboxConversationError, GetInboxConversationResponse, UpdateInboxConversationData, UpdateInboxConversationError, UpdateInboxConversationResponse, GetInboxConversationMessagesData, GetInboxConversationMessagesError, GetInboxConversationMessagesResponse, SendInboxMessageData, SendInboxMessageError, SendInboxMessageResponse, EditInboxMessageData, EditInboxMessageError, EditInboxMessageResponse, GetMessengerMenuData, GetMessengerMenuError, GetMessengerMenuResponse, SetMessengerMenuData, SetMessengerMenuError, SetMessengerMenuResponse, DeleteMessengerMenuData, DeleteMessengerMenuError, DeleteMessengerMenuResponse, GetInstagramIceBreakersData, GetInstagramIceBreakersError, GetInstagramIceBreakersResponse, SetInstagramIceBreakersData, SetInstagramIceBreakersError, SetInstagramIceBreakersResponse, DeleteInstagramIceBreakersData, DeleteInstagramIceBreakersError, DeleteInstagramIceBreakersResponse, GetTelegramCommandsData, GetTelegramCommandsError, GetTelegramCommandsResponse, SetTelegramCommandsData, SetTelegramCommandsError, SetTelegramCommandsResponse, DeleteTelegramCommandsData, DeleteTelegramCommandsError, DeleteTelegramCommandsResponse, ListInboxCommentsData, ListInboxCommentsError, ListInboxCommentsResponse, GetInboxPostCommentsData, GetInboxPostCommentsError, GetInboxPostCommentsResponse, ReplyToInboxPostData, ReplyToInboxPostError, ReplyToInboxPostResponse, DeleteInboxCommentData, DeleteInboxCommentError, DeleteInboxCommentResponse, HideInboxCommentData, HideInboxCommentError, HideInboxCommentResponse, UnhideInboxCommentData, UnhideInboxCommentError, UnhideInboxCommentResponse, LikeInboxCommentData, LikeInboxCommentError, LikeInboxCommentResponse, UnlikeInboxCommentData, UnlikeInboxCommentError, UnlikeInboxCommentResponse, SendPrivateReplyToCommentData, SendPrivateReplyToCommentError, SendPrivateReplyToCommentResponse, ListInboxReviewsData, ListInboxReviewsError, ListInboxReviewsResponse, ReplyToInboxReviewData, ReplyToInboxReviewError, ReplyToInboxReviewResponse, DeleteInboxReviewReplyData, DeleteInboxReviewReplyError, DeleteInboxReviewReplyResponse, SendWhatsAppBulkData, SendWhatsAppBulkError, SendWhatsAppBulkResponse, GetWhatsAppContactsData, GetWhatsAppContactsError, GetWhatsAppContactsResponse, CreateWhatsAppContactData, CreateWhatsAppContactError, CreateWhatsAppContactResponse, GetWhatsAppContactData, GetWhatsAppContactError, GetWhatsAppContactResponse, UpdateWhatsAppContactData, UpdateWhatsAppContactError, UpdateWhatsAppContactResponse, DeleteWhatsAppContactData, DeleteWhatsAppContactError, DeleteWhatsAppContactResponse, ImportWhatsAppContactsData, ImportWhatsAppContactsError, ImportWhatsAppContactsResponse, BulkUpdateWhatsAppContactsData, BulkUpdateWhatsAppContactsError, BulkUpdateWhatsAppContactsResponse, BulkDeleteWhatsAppContactsData, BulkDeleteWhatsAppContactsError, BulkDeleteWhatsAppContactsResponse, GetWhatsAppGroupsData, GetWhatsAppGroupsError, GetWhatsAppGroupsResponse, RenameWhatsAppGroupData, RenameWhatsAppGroupError, RenameWhatsAppGroupResponse, DeleteWhatsAppGroupData, DeleteWhatsAppGroupError, DeleteWhatsAppGroupResponse, GetWhatsAppTemplatesData, GetWhatsAppTemplatesError, GetWhatsAppTemplatesResponse, CreateWhatsAppTemplateData, CreateWhatsAppTemplateError, CreateWhatsAppTemplateResponse, GetWhatsAppTemplateData, GetWhatsAppTemplateError, GetWhatsAppTemplateResponse, UpdateWhatsAppTemplateData, UpdateWhatsAppTemplateError, UpdateWhatsAppTemplateResponse, DeleteWhatsAppTemplateData, DeleteWhatsAppTemplateError, DeleteWhatsAppTemplateResponse, GetWhatsAppBroadcastsData, GetWhatsAppBroadcastsError, GetWhatsAppBroadcastsResponse, CreateWhatsAppBroadcastData, CreateWhatsAppBroadcastError, CreateWhatsAppBroadcastResponse, GetWhatsAppBroadcastData, GetWhatsAppBroadcastError, GetWhatsAppBroadcastResponse, DeleteWhatsAppBroadcastData, DeleteWhatsAppBroadcastError, DeleteWhatsAppBroadcastResponse, SendWhatsAppBroadcastData, SendWhatsAppBroadcastError, SendWhatsAppBroadcastResponse, ScheduleWhatsAppBroadcastData, ScheduleWhatsAppBroadcastError, ScheduleWhatsAppBroadcastResponse, CancelWhatsAppBroadcastScheduleData, CancelWhatsAppBroadcastScheduleError, CancelWhatsAppBroadcastScheduleResponse, GetWhatsAppBroadcastRecipientsData, GetWhatsAppBroadcastRecipientsError, GetWhatsAppBroadcastRecipientsResponse, AddWhatsAppBroadcastRecipientsData, AddWhatsAppBroadcastRecipientsError, AddWhatsAppBroadcastRecipientsResponse, RemoveWhatsAppBroadcastRecipientsData, RemoveWhatsAppBroadcastRecipientsError, RemoveWhatsAppBroadcastRecipientsResponse, GetWhatsAppBusinessProfileData, GetWhatsAppBusinessProfileError, GetWhatsAppBusinessProfileResponse, UpdateWhatsAppBusinessProfileData, UpdateWhatsAppBusinessProfileError, UpdateWhatsAppBusinessProfileResponse, GetWhatsAppPhoneNumbersData, GetWhatsAppPhoneNumbersError, GetWhatsAppPhoneNumbersResponse, PurchaseWhatsAppPhoneNumberData, PurchaseWhatsAppPhoneNumberError, PurchaseWhatsAppPhoneNumberResponse, GetWhatsAppPhoneNumberData, GetWhatsAppPhoneNumberError, GetWhatsAppPhoneNumberResponse, ReleaseWhatsAppPhoneNumberData, ReleaseWhatsAppPhoneNumberError, ReleaseWhatsAppPhoneNumberResponse } from './types.gen';
5
5
 
6
6
  export const client = createClient(createConfig());
7
7
 
@@ -986,6 +986,28 @@ export const connectBlueskyCredentials = <ThrowOnError extends boolean = false>(
986
986
  });
987
987
  };
988
988
 
989
+ /**
990
+ * Connect WhatsApp via credentials
991
+ * Connect a WhatsApp Business Account by providing Meta credentials directly.
992
+ * This is the headless alternative to the Embedded Signup browser flow.
993
+ *
994
+ * To get the required credentials:
995
+ * 1. Go to Meta Business Suite (business.facebook.com)
996
+ * 2. Create or select a WhatsApp Business Account
997
+ * 3. In Business Settings > System Users, create a System User
998
+ * 4. Assign it the `whatsapp_business_management` and `whatsapp_business_messaging` permissions
999
+ * 5. Generate a permanent access token
1000
+ * 6. Get the WABA ID from WhatsApp Manager > Account Tools > Phone Numbers
1001
+ * 7. Get the Phone Number ID from the same page (click on the number)
1002
+ *
1003
+ */
1004
+ export const connectWhatsAppCredentials = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ConnectWhatsAppCredentialsData, ThrowOnError>) => {
1005
+ return (options?.client ?? client).post<ConnectWhatsAppCredentialsResponse, ConnectWhatsAppCredentialsError, ThrowOnError>({
1006
+ ...options,
1007
+ url: '/v1/connect/whatsapp/credentials'
1008
+ });
1009
+ };
1010
+
989
1011
  /**
990
1012
  * Generate Telegram code
991
1013
  * Generate an access code (valid 15 minutes) for connecting a Telegram channel or group. Add the bot as admin, then send the code + @yourchannel to the bot. Poll PATCH /v1/connect/telegram to check status.
@@ -1849,8 +1871,15 @@ export const getWhatsAppTemplates = <ThrowOnError extends boolean = false>(optio
1849
1871
 
1850
1872
  /**
1851
1873
  * Create template
1852
- * Create a new message template. Template names must be lowercase, start with a letter,
1853
- * and contain only letters, numbers, and underscores. Templates are submitted to Meta for review.
1874
+ * Create a new message template. Supports two modes:
1875
+ *
1876
+ * **Custom template:** Provide `components` with your own content. Submitted to Meta for review (can take up to 24h).
1877
+ *
1878
+ * **Library template:** Provide `library_template_name` instead of `components` to use a pre-built template
1879
+ * from Meta's template library. Library templates are **pre-approved** (no review wait). You can optionally
1880
+ * customize parameters and buttons via `library_template_body_inputs` and `library_template_button_inputs`.
1881
+ *
1882
+ * Browse available library templates at: https://business.facebook.com/wa/manage/message-templates/
1854
1883
  *
1855
1884
  */
1856
1885
  export const createWhatsAppTemplate = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateWhatsAppTemplateData, ThrowOnError>) => {
@@ -2056,32 +2085,6 @@ export const getWhatsAppPhoneNumbers = <ThrowOnError extends boolean = false>(op
2056
2085
  });
2057
2086
  };
2058
2087
 
2059
- /**
2060
- * Search available numbers
2061
- * Search for available US phone numbers that can be purchased for WhatsApp Business.
2062
- * Requires a paid plan. Numbers are sourced from Telnyx.
2063
- *
2064
- */
2065
- export const searchAvailableWhatsAppNumbers = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<SearchAvailableWhatsAppNumbersData, ThrowOnError>) => {
2066
- return (options?.client ?? client).get<SearchAvailableWhatsAppNumbersResponse, SearchAvailableWhatsAppNumbersError, ThrowOnError>({
2067
- ...options,
2068
- url: '/v1/whatsapp/phone-numbers/available'
2069
- });
2070
- };
2071
-
2072
- /**
2073
- * Get pre-verified numbers
2074
- * Returns the user's pre-verified phone number IDs that are ready for OTP-free
2075
- * Embedded Signup. Only returns numbers with verified Meta status and non-expired verification.
2076
- *
2077
- */
2078
- export const getPreverifiedWhatsAppNumbers = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<GetPreverifiedWhatsAppNumbersData, ThrowOnError>) => {
2079
- return (options?.client ?? client).get<GetPreverifiedWhatsAppNumbersResponse, GetPreverifiedWhatsAppNumbersError, ThrowOnError>({
2080
- ...options,
2081
- url: '/v1/whatsapp/phone-numbers/preverified'
2082
- });
2083
- };
2084
-
2085
2088
  /**
2086
2089
  * Purchase phone number
2087
2090
  * Initiate purchasing a WhatsApp phone number. Payment-first flow: the user does not pick
@@ -2125,31 +2128,4 @@ export const releaseWhatsAppPhoneNumber = <ThrowOnError extends boolean = false>
2125
2128
  ...options,
2126
2129
  url: '/v1/whatsapp/phone-numbers/{phoneNumberId}'
2127
2130
  });
2128
- };
2129
-
2130
- /**
2131
- * Request OTP
2132
- * Request a new OTP verification code from Meta for a pre-verified phone number.
2133
- * Useful when the initial SMS did not arrive or when re-verifying before the 90-day expiry.
2134
- *
2135
- */
2136
- export const requestWhatsAppVerificationCode = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<RequestWhatsAppVerificationCodeData, ThrowOnError>) => {
2137
- return (options?.client ?? client).post<RequestWhatsAppVerificationCodeResponse, RequestWhatsAppVerificationCodeError, ThrowOnError>({
2138
- ...options,
2139
- url: '/v1/whatsapp/phone-numbers/{phoneNumberId}/request-code'
2140
- });
2141
- };
2142
-
2143
- /**
2144
- * Verify OTP
2145
- * Manually verify a phone number by entering the OTP code received via SMS or voice call.
2146
- * This is a fallback for when the auto-verification webhook does not capture the code.
2147
- * Verification is valid for 90 days.
2148
- *
2149
- */
2150
- export const verifyWhatsAppPhoneNumber = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<VerifyWhatsAppPhoneNumberData, ThrowOnError>) => {
2151
- return (options?.client ?? client).post<VerifyWhatsAppPhoneNumberResponse, VerifyWhatsAppPhoneNumberError, ThrowOnError>({
2152
- ...options,
2153
- url: '/v1/whatsapp/phone-numbers/{phoneNumberId}/verify'
2154
- });
2155
2131
  };
@@ -4583,6 +4583,52 @@ export type ConnectBlueskyCredentialsError = (unknown | {
4583
4583
  error?: string;
4584
4584
  });
4585
4585
 
4586
+ export type ConnectWhatsAppCredentialsData = {
4587
+ body: {
4588
+ /**
4589
+ * Your Late profile ID
4590
+ */
4591
+ profileId: string;
4592
+ /**
4593
+ * Permanent System User access token from Meta Business Suite
4594
+ */
4595
+ accessToken: string;
4596
+ /**
4597
+ * WhatsApp Business Account ID from Meta
4598
+ */
4599
+ wabaId: string;
4600
+ /**
4601
+ * Phone Number ID from Meta WhatsApp Manager
4602
+ */
4603
+ phoneNumberId: string;
4604
+ };
4605
+ };
4606
+
4607
+ export type ConnectWhatsAppCredentialsResponse = ({
4608
+ message?: string;
4609
+ account?: {
4610
+ accountId?: string;
4611
+ platform?: 'whatsapp';
4612
+ /**
4613
+ * Display phone number
4614
+ */
4615
+ username?: string;
4616
+ /**
4617
+ * Meta-verified business name
4618
+ */
4619
+ displayName?: string;
4620
+ isActive?: boolean;
4621
+ phoneNumber?: string;
4622
+ verifiedName?: string;
4623
+ /**
4624
+ * GREEN, YELLOW, or RED
4625
+ */
4626
+ qualityRating?: string;
4627
+ };
4628
+ });
4629
+
4630
+ export type ConnectWhatsAppCredentialsError = (unknown);
4631
+
4586
4632
  export type GetTelegramConnectStatusData = {
4587
4633
  query: {
4588
4634
  /**
@@ -7384,10 +7430,38 @@ export type CreateWhatsAppTemplateData = {
7384
7430
  */
7385
7431
  language: string;
7386
7432
  /**
7387
- * Template components (header, body, footer, buttons)
7433
+ * Template components (header, body, footer, buttons). Required for custom templates, omit when using library_template_name.
7388
7434
  */
7389
- components: Array<{
7435
+ components?: Array<{
7436
+ [key: string]: unknown;
7437
+ }>;
7438
+ /**
7439
+ * Name of a pre-built template from Meta's template library (e.g., "appointment_reminder",
7440
+ * "auto_pay_reminder_1", "address_update"). When provided, the template is pre-approved
7441
+ * by Meta with no review wait. Omit `components` when using this field.
7442
+ *
7443
+ */
7444
+ library_template_name?: string;
7445
+ /**
7446
+ * Optional body customizations for library templates. Available options depend on the
7447
+ * template (e.g., add_contact_number, add_learn_more_link, add_security_recommendation,
7448
+ * add_track_package_link, code_expiration_minutes).
7449
+ *
7450
+ */
7451
+ library_template_body_inputs?: {
7390
7452
  [key: string]: unknown;
7453
+ };
7454
+ /**
7455
+ * Optional button customizations for library templates. Each item specifies button type
7456
+ * and configuration (e.g., URL, phone number, quick reply).
7457
+ *
7458
+ */
7459
+ library_template_button_inputs?: Array<{
7460
+ type?: 'QUICK_REPLY' | 'URL' | 'PHONE_NUMBER';
7461
+ url?: {
7462
+ base_url?: string;
7463
+ };
7464
+ phone_number?: string;
7391
7465
  }>;
7392
7466
  };
7393
7467
  };
@@ -7397,6 +7471,9 @@ export type CreateWhatsAppTemplateResponse = ({
7397
7471
  template?: {
7398
7472
  id?: string;
7399
7473
  name?: string;
7474
+ /**
7475
+ * APPROVED for library templates, PENDING for custom
7476
+ */
7400
7477
  status?: string;
7401
7478
  category?: string;
7402
7479
  language?: string;
@@ -8013,64 +8090,6 @@ export type GetWhatsAppPhoneNumbersError = ({
8013
8090
  error?: string;
8014
8091
  });
8015
8092
 
8016
- export type SearchAvailableWhatsAppNumbersData = {
8017
- query?: {
8018
- /**
8019
- * Pattern to match within the phone number
8020
- */
8021
- contains?: string;
8022
- /**
8023
- * Maximum results (default 20, max 100)
8024
- */
8025
- limit?: number;
8026
- /**
8027
- * City name (e.g., "New York")
8028
- */
8029
- locality?: string;
8030
- /**
8031
- * Area code to search (e.g., "212" for New York)
8032
- */
8033
- prefix?: string;
8034
- };
8035
- };
8036
-
8037
- export type SearchAvailableWhatsAppNumbersResponse = ({
8038
- numbers?: Array<{
8039
- [key: string]: unknown;
8040
- }>;
8041
- });
8042
-
8043
- export type SearchAvailableWhatsAppNumbersError = ({
8044
- error?: string;
8045
- } | unknown);
8046
-
8047
- export type GetPreverifiedWhatsAppNumbersData = {
8048
- query: {
8049
- /**
8050
- * Profile ID to filter by
8051
- */
8052
- profileId: string;
8053
- };
8054
- };
8055
-
8056
- export type GetPreverifiedWhatsAppNumbersResponse = ({
8057
- /**
8058
- * IDs to pass in FB.login() extras.setup.preVerifiedPhone.ids
8059
- */
8060
- preVerifiedIds?: Array<(string)>;
8061
- numbers?: Array<{
8062
- id?: string;
8063
- phoneNumber?: string;
8064
- metaPreverifiedId?: string;
8065
- metaVerifiedAt?: string;
8066
- metaVerificationExpiresAt?: string;
8067
- }>;
8068
- });
8069
-
8070
- export type GetPreverifiedWhatsAppNumbersError = (unknown | {
8071
- error?: string;
8072
- });
8073
-
8074
8093
  export type PurchaseWhatsAppPhoneNumberData = {
8075
8094
  body: {
8076
8095
  /**
@@ -8149,53 +8168,4 @@ export type ReleaseWhatsAppPhoneNumberResponse = ({
8149
8168
 
8150
8169
  export type ReleaseWhatsAppPhoneNumberError = (unknown | {
8151
8170
  error?: string;
8152
- });
8153
-
8154
- export type RequestWhatsAppVerificationCodeData = {
8155
- body?: {
8156
- /**
8157
- * Delivery method for the verification code
8158
- */
8159
- method?: 'SMS' | 'VOICE';
8160
- };
8161
- path: {
8162
- /**
8163
- * Phone number record ID
8164
- */
8165
- phoneNumberId: string;
8166
- };
8167
- };
8168
-
8169
- export type RequestWhatsAppVerificationCodeResponse = ({
8170
- message?: string;
8171
- method?: 'SMS' | 'VOICE';
8172
- });
8173
-
8174
- export type RequestWhatsAppVerificationCodeError = (unknown | {
8175
- error?: string;
8176
- });
8177
-
8178
- export type VerifyWhatsAppPhoneNumberData = {
8179
- body: {
8180
- /**
8181
- * 6-digit verification code
8182
- */
8183
- code: string;
8184
- };
8185
- path: {
8186
- /**
8187
- * Phone number record ID
8188
- */
8189
- phoneNumberId: string;
8190
- };
8191
- };
8192
-
8193
- export type VerifyWhatsAppPhoneNumberResponse = ({
8194
- message?: string;
8195
- metaVerifiedAt?: string;
8196
- metaVerificationExpiresAt?: string;
8197
- });
8198
-
8199
- export type VerifyWhatsAppPhoneNumberError = (unknown | {
8200
- error?: string;
8201
8171
  });