@getlatedev/node 0.1.54 → 0.1.56

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
@@ -12,10 +12,10 @@
12
12
  </p>
13
13
 
14
14
  <p align="center">
15
- <strong>One API to post everywhere. 13 platforms, zero headaches.</strong>
15
+ <strong>One API to post everywhere. 14 platforms, zero headaches.</strong>
16
16
  </p>
17
17
 
18
- The official Node.js SDK for the [Late API](https://getlate.dev) — schedule and publish social media posts across Instagram, TikTok, YouTube, LinkedIn, X/Twitter, Facebook, Pinterest, Threads, Bluesky, Reddit, Snapchat, Telegram, and Google Business Profile with a single integration.
18
+ The official Node.js SDK for the [Late API](https://getlate.dev) — schedule and publish social media posts across Instagram, TikTok, YouTube, LinkedIn, X/Twitter, Facebook, Pinterest, Threads, Bluesky, Reddit, Snapchat, Telegram, WhatsApp, and Google Business Profile with a single integration.
19
19
 
20
20
  ## Installation
21
21
 
package/dist/index.d.mts CHANGED
@@ -553,6 +553,10 @@ type AnalyticsListResponse = {
553
553
  overview?: AnalyticsOverview;
554
554
  posts?: Array<{
555
555
  _id?: string;
556
+ /**
557
+ * Original Late post ID if scheduled via Late
558
+ */
559
+ latePostId?: (string) | null;
556
560
  content?: string;
557
561
  scheduledFor?: string;
558
562
  publishedAt?: string;
@@ -562,6 +566,7 @@ type AnalyticsListResponse = {
562
566
  platform?: string;
563
567
  platformPostUrl?: string;
564
568
  isExternal?: boolean;
569
+ profileId?: (string) | null;
565
570
  thumbnailUrl?: string;
566
571
  mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
567
572
  /**
@@ -593,19 +598,44 @@ type AnalyticsOverview = {
593
598
  totalPosts?: number;
594
599
  publishedPosts?: number;
595
600
  scheduledPosts?: number;
596
- lastSync?: string;
601
+ lastSync?: (string) | null;
602
+ dataStaleness?: {
603
+ /**
604
+ * Number of accounts with stale analytics data
605
+ */
606
+ staleAccountCount?: number;
607
+ /**
608
+ * Whether a background sync was triggered for stale accounts
609
+ */
610
+ syncTriggered?: boolean;
611
+ };
597
612
  };
598
613
  type AnalyticsSinglePostResponse = {
599
614
  postId?: string;
600
- status?: string;
615
+ /**
616
+ * Original Late post ID if scheduled via Late
617
+ */
618
+ latePostId?: (string) | null;
619
+ /**
620
+ * Overall post status. "partial" when some platforms published and others failed.
621
+ */
622
+ status?: 'published' | 'failed' | 'partial';
601
623
  content?: string;
602
624
  scheduledFor?: string;
603
- publishedAt?: string;
625
+ publishedAt?: (string) | null;
604
626
  analytics?: PostAnalytics;
605
627
  platformAnalytics?: Array<PlatformAnalytics>;
606
628
  platform?: string;
607
- platformPostUrl?: string;
629
+ platformPostUrl?: (string) | null;
608
630
  isExternal?: boolean;
631
+ /**
632
+ * Overall sync state across all platforms
633
+ */
634
+ syncStatus?: 'synced' | 'pending' | 'partial' | 'unavailable';
635
+ /**
636
+ * Human-readable status message for pending, partial, or failed states
637
+ */
638
+ message?: (string) | null;
609
639
  thumbnailUrl?: (string) | null;
610
640
  mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
611
641
  /**
@@ -623,6 +653,14 @@ type AnalyticsSinglePostResponse = {
623
653
  thumbnail?: string;
624
654
  }>;
625
655
  };
656
+ /**
657
+ * Overall post status. "partial" when some platforms published and others failed.
658
+ */
659
+ type status = 'published' | 'failed' | 'partial';
660
+ /**
661
+ * Overall sync state across all platforms
662
+ */
663
+ type syncStatus = 'synced' | 'pending' | 'partial' | 'unavailable';
626
664
  type mediaType = 'image' | 'video' | 'carousel' | 'text';
627
665
  type ApiKey = {
628
666
  id?: string;
@@ -927,7 +965,7 @@ type HashtagInfo = {
927
965
  status?: 'safe' | 'banned' | 'restricted' | 'unknown';
928
966
  postCount?: number;
929
967
  };
930
- type status = 'safe' | 'banned' | 'restricted' | 'unknown';
968
+ type status2 = 'safe' | 'banned' | 'restricted' | 'unknown';
931
969
  /**
932
970
  * Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
933
971
  */
@@ -1189,22 +1227,25 @@ type PinterestPlatformData = {
1189
1227
  };
1190
1228
  type PlatformAnalytics = {
1191
1229
  platform?: string;
1192
- status?: string;
1230
+ status?: 'published' | 'failed';
1193
1231
  accountId?: string;
1194
- accountUsername?: string;
1195
- analytics?: PostAnalytics;
1196
- accountMetrics?: {
1197
- /**
1198
- * Followers/fans count (e.g., Instagram, Facebook Pages, Twitter)
1199
- */
1200
- followers?: (number) | null;
1201
- /**
1202
- * Subscribers count (e.g., YouTube)
1203
- */
1204
- subscribers?: (number) | null;
1205
- lastUpdated?: (string) | null;
1206
- } | null;
1232
+ accountUsername?: (string) | null;
1233
+ analytics?: (PostAnalytics) | null;
1234
+ /**
1235
+ * Sync state of analytics for this platform
1236
+ */
1237
+ syncStatus?: 'synced' | 'pending' | 'unavailable';
1238
+ platformPostUrl?: (string) | null;
1239
+ /**
1240
+ * Error details when status is failed
1241
+ */
1242
+ errorMessage?: (string) | null;
1207
1243
  };
1244
+ type status3 = 'published' | 'failed';
1245
+ /**
1246
+ * Sync state of analytics for this platform
1247
+ */
1248
+ type syncStatus2 = 'synced' | 'pending' | 'unavailable';
1208
1249
  type PlatformTarget = {
1209
1250
  /**
1210
1251
  * Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
@@ -1301,7 +1342,7 @@ type Post = {
1301
1342
  createdAt?: string;
1302
1343
  updatedAt?: string;
1303
1344
  };
1304
- type status2 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
1345
+ type status4 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
1305
1346
  type visibility = 'public' | 'private' | 'unlisted';
1306
1347
  type PostAnalytics = {
1307
1348
  impressions?: number;
@@ -1409,7 +1450,7 @@ type PostLog = {
1409
1450
  * Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
1410
1451
  */
1411
1452
  type action = 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled';
1412
- type status3 = 'success' | 'failed' | 'pending' | 'skipped';
1453
+ type status5 = 'success' | 'failed' | 'pending' | 'skipped';
1413
1454
  type PostRetryResponse = {
1414
1455
  message?: string;
1415
1456
  post?: Post;
@@ -1822,7 +1863,7 @@ type UploadTokenResponse = {
1822
1863
  expiresAt?: string;
1823
1864
  status?: 'pending' | 'completed' | 'expired';
1824
1865
  };
1825
- type status4 = 'pending' | 'completed' | 'expired';
1866
+ type status6 = 'pending' | 'completed' | 'expired';
1826
1867
  type UploadTokenStatusResponse = {
1827
1868
  token?: string;
1828
1869
  status?: 'pending' | 'completed' | 'expired';
@@ -1951,7 +1992,7 @@ type WebhookLog = {
1951
1992
  createdAt?: string;
1952
1993
  };
1953
1994
  type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
1954
- type status5 = 'success' | 'failed';
1995
+ type status7 = 'success' | 'failed';
1955
1996
  /**
1956
1997
  * Webhook payload for account connected events
1957
1998
  */
@@ -2184,7 +2225,7 @@ type WebhookPayloadMessage = {
2184
2225
  type event5 = 'message.received';
2185
2226
  type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
2186
2227
  type direction = 'incoming';
2187
- type status6 = 'active' | 'archived';
2228
+ type status8 = 'active' | 'archived';
2188
2229
  /**
2189
2230
  * Webhook payload for post events
2190
2231
  */
@@ -2611,7 +2652,7 @@ type ValidateSubredditError = unknown;
2611
2652
  type GetAnalyticsData = {
2612
2653
  query?: {
2613
2654
  /**
2614
- * Inclusive lower bound
2655
+ * Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
2615
2656
  */
2616
2657
  fromDate?: string;
2617
2658
  /**
@@ -2639,26 +2680,34 @@ type GetAnalyticsData = {
2639
2680
  */
2640
2681
  profileId?: string;
2641
2682
  /**
2642
- * Sort by date or engagement
2683
+ * Sort by date, engagement, or a specific metric
2643
2684
  */
2644
- sortBy?: 'date' | 'engagement';
2685
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2645
2686
  /**
2646
2687
  * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2647
2688
  */
2648
2689
  source?: 'all' | 'late' | 'external';
2649
2690
  /**
2650
- * Inclusive upper bound
2691
+ * Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
2651
2692
  */
2652
2693
  toDate?: string;
2653
2694
  };
2654
2695
  };
2655
- type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
2696
+ type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse) | AnalyticsSinglePostResponse);
2656
2697
  type GetAnalyticsError = ({
2657
2698
  error?: string;
2699
+ /**
2700
+ * Detailed validation errors
2701
+ */
2702
+ details?: {
2703
+ [key: string]: unknown;
2704
+ };
2705
+ } | {
2706
+ error?: string;
2658
2707
  } | {
2659
2708
  error?: string;
2660
2709
  code?: string;
2661
- } | ErrorResponse);
2710
+ } | AnalyticsSinglePostResponse | ErrorResponse);
2662
2711
  type GetYouTubeDailyViewsData = {
2663
2712
  query: {
2664
2713
  /**
@@ -3157,6 +3206,9 @@ type CreatePostData = {
3157
3206
  }>;
3158
3207
  scheduledFor?: string;
3159
3208
  publishNow?: boolean;
3209
+ /**
3210
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
3211
+ */
3160
3212
  isDraft?: boolean;
3161
3213
  timezone?: string;
3162
3214
  /**
@@ -8448,4 +8500,4 @@ type ReleaseWhatsAppPhoneNumberError = (unknown | {
8448
8500
  error?: string;
8449
8501
  });
8450
8502
 
8451
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, 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 FollowUserData, type FollowUserError, type FollowUserResponse, 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 GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, 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 RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, 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 RetweetPostData, type RetweetPostError, type RetweetPostResponse, 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 UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type 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 UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type 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, type mediaType2, 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 };
8503
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, 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 FollowUserData, type FollowUserError, type FollowUserResponse, 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 GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, 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 RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, 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 RetweetPostData, type RetweetPostError, type RetweetPostResponse, 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 UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type 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 UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type 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, type mediaType2, 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 status7, type status8, type syncStatus, type syncStatus2, type type, type type2, type type3, type visibility };
package/dist/index.d.ts CHANGED
@@ -553,6 +553,10 @@ type AnalyticsListResponse = {
553
553
  overview?: AnalyticsOverview;
554
554
  posts?: Array<{
555
555
  _id?: string;
556
+ /**
557
+ * Original Late post ID if scheduled via Late
558
+ */
559
+ latePostId?: (string) | null;
556
560
  content?: string;
557
561
  scheduledFor?: string;
558
562
  publishedAt?: string;
@@ -562,6 +566,7 @@ type AnalyticsListResponse = {
562
566
  platform?: string;
563
567
  platformPostUrl?: string;
564
568
  isExternal?: boolean;
569
+ profileId?: (string) | null;
565
570
  thumbnailUrl?: string;
566
571
  mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
567
572
  /**
@@ -593,19 +598,44 @@ type AnalyticsOverview = {
593
598
  totalPosts?: number;
594
599
  publishedPosts?: number;
595
600
  scheduledPosts?: number;
596
- lastSync?: string;
601
+ lastSync?: (string) | null;
602
+ dataStaleness?: {
603
+ /**
604
+ * Number of accounts with stale analytics data
605
+ */
606
+ staleAccountCount?: number;
607
+ /**
608
+ * Whether a background sync was triggered for stale accounts
609
+ */
610
+ syncTriggered?: boolean;
611
+ };
597
612
  };
598
613
  type AnalyticsSinglePostResponse = {
599
614
  postId?: string;
600
- status?: string;
615
+ /**
616
+ * Original Late post ID if scheduled via Late
617
+ */
618
+ latePostId?: (string) | null;
619
+ /**
620
+ * Overall post status. "partial" when some platforms published and others failed.
621
+ */
622
+ status?: 'published' | 'failed' | 'partial';
601
623
  content?: string;
602
624
  scheduledFor?: string;
603
- publishedAt?: string;
625
+ publishedAt?: (string) | null;
604
626
  analytics?: PostAnalytics;
605
627
  platformAnalytics?: Array<PlatformAnalytics>;
606
628
  platform?: string;
607
- platformPostUrl?: string;
629
+ platformPostUrl?: (string) | null;
608
630
  isExternal?: boolean;
631
+ /**
632
+ * Overall sync state across all platforms
633
+ */
634
+ syncStatus?: 'synced' | 'pending' | 'partial' | 'unavailable';
635
+ /**
636
+ * Human-readable status message for pending, partial, or failed states
637
+ */
638
+ message?: (string) | null;
609
639
  thumbnailUrl?: (string) | null;
610
640
  mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
611
641
  /**
@@ -623,6 +653,14 @@ type AnalyticsSinglePostResponse = {
623
653
  thumbnail?: string;
624
654
  }>;
625
655
  };
656
+ /**
657
+ * Overall post status. "partial" when some platforms published and others failed.
658
+ */
659
+ type status = 'published' | 'failed' | 'partial';
660
+ /**
661
+ * Overall sync state across all platforms
662
+ */
663
+ type syncStatus = 'synced' | 'pending' | 'partial' | 'unavailable';
626
664
  type mediaType = 'image' | 'video' | 'carousel' | 'text';
627
665
  type ApiKey = {
628
666
  id?: string;
@@ -927,7 +965,7 @@ type HashtagInfo = {
927
965
  status?: 'safe' | 'banned' | 'restricted' | 'unknown';
928
966
  postCount?: number;
929
967
  };
930
- type status = 'safe' | 'banned' | 'restricted' | 'unknown';
968
+ type status2 = 'safe' | 'banned' | 'restricted' | 'unknown';
931
969
  /**
932
970
  * Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
933
971
  */
@@ -1189,22 +1227,25 @@ type PinterestPlatformData = {
1189
1227
  };
1190
1228
  type PlatformAnalytics = {
1191
1229
  platform?: string;
1192
- status?: string;
1230
+ status?: 'published' | 'failed';
1193
1231
  accountId?: string;
1194
- accountUsername?: string;
1195
- analytics?: PostAnalytics;
1196
- accountMetrics?: {
1197
- /**
1198
- * Followers/fans count (e.g., Instagram, Facebook Pages, Twitter)
1199
- */
1200
- followers?: (number) | null;
1201
- /**
1202
- * Subscribers count (e.g., YouTube)
1203
- */
1204
- subscribers?: (number) | null;
1205
- lastUpdated?: (string) | null;
1206
- } | null;
1232
+ accountUsername?: (string) | null;
1233
+ analytics?: (PostAnalytics) | null;
1234
+ /**
1235
+ * Sync state of analytics for this platform
1236
+ */
1237
+ syncStatus?: 'synced' | 'pending' | 'unavailable';
1238
+ platformPostUrl?: (string) | null;
1239
+ /**
1240
+ * Error details when status is failed
1241
+ */
1242
+ errorMessage?: (string) | null;
1207
1243
  };
1244
+ type status3 = 'published' | 'failed';
1245
+ /**
1246
+ * Sync state of analytics for this platform
1247
+ */
1248
+ type syncStatus2 = 'synced' | 'pending' | 'unavailable';
1208
1249
  type PlatformTarget = {
1209
1250
  /**
1210
1251
  * Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
@@ -1301,7 +1342,7 @@ type Post = {
1301
1342
  createdAt?: string;
1302
1343
  updatedAt?: string;
1303
1344
  };
1304
- type status2 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
1345
+ type status4 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
1305
1346
  type visibility = 'public' | 'private' | 'unlisted';
1306
1347
  type PostAnalytics = {
1307
1348
  impressions?: number;
@@ -1409,7 +1450,7 @@ type PostLog = {
1409
1450
  * Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
1410
1451
  */
1411
1452
  type action = 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled';
1412
- type status3 = 'success' | 'failed' | 'pending' | 'skipped';
1453
+ type status5 = 'success' | 'failed' | 'pending' | 'skipped';
1413
1454
  type PostRetryResponse = {
1414
1455
  message?: string;
1415
1456
  post?: Post;
@@ -1822,7 +1863,7 @@ type UploadTokenResponse = {
1822
1863
  expiresAt?: string;
1823
1864
  status?: 'pending' | 'completed' | 'expired';
1824
1865
  };
1825
- type status4 = 'pending' | 'completed' | 'expired';
1866
+ type status6 = 'pending' | 'completed' | 'expired';
1826
1867
  type UploadTokenStatusResponse = {
1827
1868
  token?: string;
1828
1869
  status?: 'pending' | 'completed' | 'expired';
@@ -1951,7 +1992,7 @@ type WebhookLog = {
1951
1992
  createdAt?: string;
1952
1993
  };
1953
1994
  type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
1954
- type status5 = 'success' | 'failed';
1995
+ type status7 = 'success' | 'failed';
1955
1996
  /**
1956
1997
  * Webhook payload for account connected events
1957
1998
  */
@@ -2184,7 +2225,7 @@ type WebhookPayloadMessage = {
2184
2225
  type event5 = 'message.received';
2185
2226
  type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'reddit';
2186
2227
  type direction = 'incoming';
2187
- type status6 = 'active' | 'archived';
2228
+ type status8 = 'active' | 'archived';
2188
2229
  /**
2189
2230
  * Webhook payload for post events
2190
2231
  */
@@ -2611,7 +2652,7 @@ type ValidateSubredditError = unknown;
2611
2652
  type GetAnalyticsData = {
2612
2653
  query?: {
2613
2654
  /**
2614
- * Inclusive lower bound
2655
+ * Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
2615
2656
  */
2616
2657
  fromDate?: string;
2617
2658
  /**
@@ -2639,26 +2680,34 @@ type GetAnalyticsData = {
2639
2680
  */
2640
2681
  profileId?: string;
2641
2682
  /**
2642
- * Sort by date or engagement
2683
+ * Sort by date, engagement, or a specific metric
2643
2684
  */
2644
- sortBy?: 'date' | 'engagement';
2685
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2645
2686
  /**
2646
2687
  * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2647
2688
  */
2648
2689
  source?: 'all' | 'late' | 'external';
2649
2690
  /**
2650
- * Inclusive upper bound
2691
+ * Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
2651
2692
  */
2652
2693
  toDate?: string;
2653
2694
  };
2654
2695
  };
2655
- type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
2696
+ type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse) | AnalyticsSinglePostResponse);
2656
2697
  type GetAnalyticsError = ({
2657
2698
  error?: string;
2699
+ /**
2700
+ * Detailed validation errors
2701
+ */
2702
+ details?: {
2703
+ [key: string]: unknown;
2704
+ };
2705
+ } | {
2706
+ error?: string;
2658
2707
  } | {
2659
2708
  error?: string;
2660
2709
  code?: string;
2661
- } | ErrorResponse);
2710
+ } | AnalyticsSinglePostResponse | ErrorResponse);
2662
2711
  type GetYouTubeDailyViewsData = {
2663
2712
  query: {
2664
2713
  /**
@@ -3157,6 +3206,9 @@ type CreatePostData = {
3157
3206
  }>;
3158
3207
  scheduledFor?: string;
3159
3208
  publishNow?: boolean;
3209
+ /**
3210
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
3211
+ */
3160
3212
  isDraft?: boolean;
3161
3213
  timezone?: string;
3162
3214
  /**
@@ -8448,4 +8500,4 @@ type ReleaseWhatsAppPhoneNumberError = (unknown | {
8448
8500
  error?: string;
8449
8501
  });
8450
8502
 
8451
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, 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 FollowUserData, type FollowUserError, type FollowUserResponse, 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 GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, 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 RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, 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 RetweetPostData, type RetweetPostError, type RetweetPostResponse, 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 UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type 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 UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type 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, type mediaType2, 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 };
8503
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AddWhatsAppBroadcastRecipientsData, type AddWhatsAppBroadcastRecipientsError, type AddWhatsAppBroadcastRecipientsResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, type BookmarkPostData, type BookmarkPostError, type BookmarkPostResponse, 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 FollowUserData, type FollowUserError, type FollowUserResponse, 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 GetWhatsAppDisplayNameData, type GetWhatsAppDisplayNameError, type GetWhatsAppDisplayNameResponse, 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 RemoveBookmarkData, type RemoveBookmarkError, type RemoveBookmarkResponse, 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 RetweetPostData, type RetweetPostError, type RetweetPostResponse, 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 UndoRetweetData, type UndoRetweetError, type UndoRetweetResponse, type UnfollowUserData, type UnfollowUserError, type UnfollowUserResponse, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type 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 UpdateWhatsAppDisplayNameData, type UpdateWhatsAppDisplayNameError, type UpdateWhatsAppDisplayNameResponse, type UpdateWhatsAppTemplateData, type UpdateWhatsAppTemplateError, type UpdateWhatsAppTemplateResponse, type UploadTokenResponse, type UploadTokenStatusResponse, type UploadWhatsAppProfilePhotoData, type UploadWhatsAppProfilePhotoError, type UploadWhatsAppProfilePhotoResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, type ValidateMediaData, type ValidateMediaError, type ValidateMediaResponse, type ValidatePostData, type ValidatePostError, type ValidatePostLengthData, type ValidatePostLengthError, type ValidatePostLengthResponse, type ValidatePostResponse, type ValidateSubredditData, type ValidateSubredditError, type ValidateSubredditResponse, ValidationError, type Webhook, type 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, type mediaType2, 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 status7, type status8, type syncStatus, type syncStatus2, type type, type type2, type type3, type visibility };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.1.54",
3
+ "version": "0.1.56",
4
4
  "description": "The official Node.js library for the Late API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -196,7 +196,8 @@ export const validateSubreddit = <ThrowOnError extends boolean = false>(options:
196
196
  /**
197
197
  * Get post analytics
198
198
  * Returns analytics for posts. With postId, returns a single post. Without it, returns a paginated list with overview stats.
199
- * Accepts both Late Post IDs and External Post IDs (auto-resolved). Data is cached and refreshed at most once per hour. For follower stats, use /v1/accounts/follower-stats.
199
+ * Accepts both Late Post IDs and External Post IDs (auto-resolved). fromDate defaults to 90 days ago if omitted, max range 366 days.
200
+ * Single post lookups may return 202 (sync pending) or 424 (all platforms failed). For follower stats, use /v1/accounts/follower-stats.
200
201
  *
201
202
  */
202
203
  export const getAnalytics = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<GetAnalyticsData, ThrowOnError>) => {
@@ -88,6 +88,10 @@ export type AnalyticsListResponse = {
88
88
  overview?: AnalyticsOverview;
89
89
  posts?: Array<{
90
90
  _id?: string;
91
+ /**
92
+ * Original Late post ID if scheduled via Late
93
+ */
94
+ latePostId?: (string) | null;
91
95
  content?: string;
92
96
  scheduledFor?: string;
93
97
  publishedAt?: string;
@@ -97,6 +101,7 @@ export type AnalyticsListResponse = {
97
101
  platform?: string;
98
102
  platformPostUrl?: string;
99
103
  isExternal?: boolean;
104
+ profileId?: (string) | null;
100
105
  thumbnailUrl?: string;
101
106
  mediaType?: 'image' | 'video' | 'gif' | 'document' | 'carousel' | 'text';
102
107
  /**
@@ -129,20 +134,45 @@ export type AnalyticsOverview = {
129
134
  totalPosts?: number;
130
135
  publishedPosts?: number;
131
136
  scheduledPosts?: number;
132
- lastSync?: string;
137
+ lastSync?: (string) | null;
138
+ dataStaleness?: {
139
+ /**
140
+ * Number of accounts with stale analytics data
141
+ */
142
+ staleAccountCount?: number;
143
+ /**
144
+ * Whether a background sync was triggered for stale accounts
145
+ */
146
+ syncTriggered?: boolean;
147
+ };
133
148
  };
134
149
 
135
150
  export type AnalyticsSinglePostResponse = {
136
151
  postId?: string;
137
- status?: string;
152
+ /**
153
+ * Original Late post ID if scheduled via Late
154
+ */
155
+ latePostId?: (string) | null;
156
+ /**
157
+ * Overall post status. "partial" when some platforms published and others failed.
158
+ */
159
+ status?: 'published' | 'failed' | 'partial';
138
160
  content?: string;
139
161
  scheduledFor?: string;
140
- publishedAt?: string;
162
+ publishedAt?: (string) | null;
141
163
  analytics?: PostAnalytics;
142
164
  platformAnalytics?: Array<PlatformAnalytics>;
143
165
  platform?: string;
144
- platformPostUrl?: string;
166
+ platformPostUrl?: (string) | null;
145
167
  isExternal?: boolean;
168
+ /**
169
+ * Overall sync state across all platforms
170
+ */
171
+ syncStatus?: 'synced' | 'pending' | 'partial' | 'unavailable';
172
+ /**
173
+ * Human-readable status message for pending, partial, or failed states
174
+ */
175
+ message?: (string) | null;
146
176
  thumbnailUrl?: (string) | null;
147
177
  mediaType?: ('image' | 'video' | 'carousel' | 'text') | null;
148
178
  /**
@@ -161,6 +191,16 @@ export type AnalyticsSinglePostResponse = {
161
191
  }>;
162
192
  };
163
193
 
194
+ /**
195
+ * Overall post status. "partial" when some platforms published and others failed.
196
+ */
197
+ export type status = 'published' | 'failed' | 'partial';
198
+
199
+ /**
200
+ * Overall sync state across all platforms
201
+ */
202
+ export type syncStatus = 'synced' | 'pending' | 'partial' | 'unavailable';
203
+
164
204
  export type mediaType = 'image' | 'video' | 'carousel' | 'text';
165
205
 
166
206
  export type ApiKey = {
@@ -491,7 +531,7 @@ export type HashtagInfo = {
491
531
  postCount?: number;
492
532
  };
493
533
 
494
- export type status = 'safe' | 'banned' | 'restricted' | 'unknown';
534
+ export type status2 = 'safe' | 'banned' | 'restricted' | 'unknown';
495
535
 
496
536
  /**
497
537
  * Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
@@ -770,23 +810,28 @@ export type PinterestPlatformData = {
770
810
 
771
811
  export type PlatformAnalytics = {
772
812
  platform?: string;
773
- status?: string;
813
+ status?: 'published' | 'failed';
774
814
  accountId?: string;
775
- accountUsername?: string;
776
- analytics?: PostAnalytics;
777
- accountMetrics?: {
778
- /**
779
- * Followers/fans count (e.g., Instagram, Facebook Pages, Twitter)
780
- */
781
- followers?: (number) | null;
782
- /**
783
- * Subscribers count (e.g., YouTube)
784
- */
785
- subscribers?: (number) | null;
786
- lastUpdated?: (string) | null;
787
- } | null;
815
+ accountUsername?: (string) | null;
816
+ analytics?: (PostAnalytics) | null;
817
+ /**
818
+ * Sync state of analytics for this platform
819
+ */
820
+ syncStatus?: 'synced' | 'pending' | 'unavailable';
821
+ platformPostUrl?: (string) | null;
822
+ /**
823
+ * Error details when status is failed
824
+ */
825
+ errorMessage?: (string) | null;
788
826
  };
789
827
 
828
+ export type status3 = 'published' | 'failed';
829
+
830
+ /**
831
+ * Sync state of analytics for this platform
832
+ */
833
+ export type syncStatus2 = 'synced' | 'pending' | 'unavailable';
834
+
790
835
  export type PlatformTarget = {
791
836
  /**
792
837
  * Supported values: twitter, threads, instagram, youtube, facebook, linkedin, pinterest, reddit, tiktok, bluesky, googlebusiness, telegram
@@ -887,7 +932,7 @@ export type Post = {
887
932
  updatedAt?: string;
888
933
  };
889
934
 
890
- export type status2 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
935
+ export type status4 = 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
891
936
 
892
937
  export type visibility = 'public' | 'private' | 'unlisted';
893
938
 
@@ -1003,7 +1048,7 @@ export type PostLog = {
1003
1048
  */
1004
1049
  export type action = 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled';
1005
1050
 
1006
- export type status3 = 'success' | 'failed' | 'pending' | 'skipped';
1051
+ export type status5 = 'success' | 'failed' | 'pending' | 'skipped';
1007
1052
 
1008
1053
  export type PostRetryResponse = {
1009
1054
  message?: string;
@@ -1453,7 +1498,7 @@ export type UploadTokenResponse = {
1453
1498
  status?: 'pending' | 'completed' | 'expired';
1454
1499
  };
1455
1500
 
1456
- export type status4 = 'pending' | 'completed' | 'expired';
1501
+ export type status6 = 'pending' | 'completed' | 'expired';
1457
1502
 
1458
1503
  export type UploadTokenStatusResponse = {
1459
1504
  token?: string;
@@ -1592,7 +1637,7 @@ export type WebhookLog = {
1592
1637
 
1593
1638
  export type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'post.recycled' | 'account.connected' | 'account.disconnected' | 'message.received' | 'comment.received' | 'webhook.test';
1594
1639
 
1595
- export type status5 = 'success' | 'failed';
1640
+ export type status7 = 'success' | 'failed';
1596
1641
 
1597
1642
  /**
1598
1643
  * Webhook payload for account connected events
@@ -1838,7 +1883,7 @@ export type platform3 = 'instagram' | 'facebook' | 'telegram' | 'bluesky' | 'red
1838
1883
 
1839
1884
  export type direction = 'incoming';
1840
1885
 
1841
- export type status6 = 'active' | 'archived';
1886
+ export type status8 = 'active' | 'archived';
1842
1887
 
1843
1888
  /**
1844
1889
  * Webhook payload for post events
@@ -2310,7 +2355,7 @@ export type ValidateSubredditError = unknown;
2310
2355
  export type GetAnalyticsData = {
2311
2356
  query?: {
2312
2357
  /**
2313
- * Inclusive lower bound
2358
+ * Inclusive lower bound (YYYY-MM-DD). Defaults to 90 days ago if omitted. Max range is 366 days.
2314
2359
  */
2315
2360
  fromDate?: string;
2316
2361
  /**
@@ -2338,28 +2383,36 @@ export type GetAnalyticsData = {
2338
2383
  */
2339
2384
  profileId?: string;
2340
2385
  /**
2341
- * Sort by date or engagement
2386
+ * Sort by date, engagement, or a specific metric
2342
2387
  */
2343
- sortBy?: 'date' | 'engagement';
2388
+ sortBy?: 'date' | 'engagement' | 'impressions' | 'reach' | 'likes' | 'comments' | 'shares' | 'saves' | 'clicks' | 'views';
2344
2389
  /**
2345
2390
  * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2346
2391
  */
2347
2392
  source?: 'all' | 'late' | 'external';
2348
2393
  /**
2349
- * Inclusive upper bound
2394
+ * Inclusive upper bound (YYYY-MM-DD). Defaults to today if omitted.
2350
2395
  */
2351
2396
  toDate?: string;
2352
2397
  };
2353
2398
  };
2354
2399
 
2355
- export type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse));
2400
+ export type GetAnalyticsResponse = ((AnalyticsSinglePostResponse | AnalyticsListResponse) | AnalyticsSinglePostResponse);
2356
2401
 
2357
2402
  export type GetAnalyticsError = ({
2358
2403
  error?: string;
2404
+ /**
2405
+ * Detailed validation errors
2406
+ */
2407
+ details?: {
2408
+ [key: string]: unknown;
2409
+ };
2410
+ } | {
2411
+ error?: string;
2359
2412
  } | {
2360
2413
  error?: string;
2361
2414
  code?: string;
2362
- } | ErrorResponse);
2415
+ } | AnalyticsSinglePostResponse | ErrorResponse);
2363
2416
 
2364
2417
  export type GetYouTubeDailyViewsData = {
2365
2418
  query: {
@@ -2902,6 +2955,9 @@ export type CreatePostData = {
2902
2955
  }>;
2903
2956
  scheduledFor?: string;
2904
2957
  publishNow?: boolean;
2958
+ /**
2959
+ * When true, saves the post as a draft. When none of scheduledFor, publishNow, or queuedFromProfile are provided, the post defaults to draft automatically.
2960
+ */
2905
2961
  isDraft?: boolean;
2906
2962
  timezone?: string;
2907
2963
  /**