@getlatedev/node 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -169,11 +169,14 @@ declare class Late {
169
169
  getConnectUrl: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetConnectUrlData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetConnectUrlResponse, unknown, ThrowOnError>;
170
170
  handleOAuthCallback: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HandleOAuthCallbackData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<unknown, unknown, ThrowOnError>;
171
171
  getPendingOAuthData: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPendingOAuthDataData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPendingOAuthDataResponse, ErrorResponse, ThrowOnError>;
172
+ getFacebookPages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetFacebookPagesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetFacebookPagesResponse, unknown, ThrowOnError>;
172
173
  updateFacebookPage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateFacebookPageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateFacebookPageResponse, unknown, ThrowOnError>;
173
174
  getLinkedInOrganizations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLinkedInOrganizationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLinkedInOrganizationsResponse, unknown, ThrowOnError>;
174
175
  updateLinkedInOrganization: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateLinkedInOrganizationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateLinkedInOrganizationResponse, unknown, ThrowOnError>;
175
176
  getPinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPinterestBoardsResponse, unknown, ThrowOnError>;
176
177
  updatePinterestBoards: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdatePinterestBoardsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdatePinterestBoardsResponse, unknown, ThrowOnError>;
178
+ getGmbLocations: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetGmbLocationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetGmbLocationsResponse, unknown, ThrowOnError>;
179
+ updateGmbLocation: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateGmbLocationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateGmbLocationResponse, unknown, ThrowOnError>;
177
180
  getRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetRedditSubredditsResponse, unknown, ThrowOnError>;
178
181
  updateRedditSubreddits: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateRedditSubredditsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateRedditSubredditsResponse, unknown, ThrowOnError>;
179
182
  facebook: {
@@ -235,6 +238,37 @@ declare class Late {
235
238
  getLog: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLogData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLogResponse, unknown, ThrowOnError>;
236
239
  getPostLogs: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostLogsResponse, unknown, ThrowOnError>;
237
240
  };
241
+ /**
242
+ * messages API
243
+ */
244
+ messages: {
245
+ listInboxConversations: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListInboxConversationsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListInboxConversationsResponse, unknown, ThrowOnError>;
246
+ getInboxConversation: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetInboxConversationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInboxConversationResponse, unknown, ThrowOnError>;
247
+ updateInboxConversation: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UpdateInboxConversationData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UpdateInboxConversationResponse, unknown, ThrowOnError>;
248
+ getInboxConversationMessages: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetInboxConversationMessagesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInboxConversationMessagesResponse, unknown, ThrowOnError>;
249
+ sendInboxMessage: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<SendInboxMessageData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<SendInboxMessageResponse, unknown, ThrowOnError>;
250
+ };
251
+ /**
252
+ * comments API
253
+ */
254
+ comments: {
255
+ listInboxComments: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListInboxCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListInboxCommentsResponse, unknown, ThrowOnError>;
256
+ getInboxPostComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetInboxPostCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInboxPostCommentsResponse, unknown, ThrowOnError>;
257
+ replyToInboxPost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxPostResponse, unknown, ThrowOnError>;
258
+ deleteInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxCommentResponse, unknown, ThrowOnError>;
259
+ hideInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HideInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HideInboxCommentResponse, unknown, ThrowOnError>;
260
+ unhideInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnhideInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnhideInboxCommentResponse, unknown, ThrowOnError>;
261
+ likeInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<LikeInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<LikeInboxCommentResponse, unknown, ThrowOnError>;
262
+ unlikeInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnlikeInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnlikeInboxCommentResponse, unknown, ThrowOnError>;
263
+ };
264
+ /**
265
+ * reviews API
266
+ */
267
+ reviews: {
268
+ listInboxReviews: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListInboxReviewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListInboxReviewsResponse, unknown, ThrowOnError>;
269
+ replyToInboxReview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxReviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxReviewResponse, unknown, ThrowOnError>;
270
+ deleteInboxReviewReply: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxReviewReplyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxReviewReplyResponse, unknown, ThrowOnError>;
271
+ };
238
272
  /**
239
273
  * Create a new Late API client.
240
274
  *
@@ -1495,7 +1529,7 @@ type Webhook = {
1495
1529
  /**
1496
1530
  * Events subscribed to
1497
1531
  */
1498
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
1532
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
1499
1533
  /**
1500
1534
  * Whether webhook delivery is enabled
1501
1535
  */
@@ -1528,7 +1562,7 @@ type WebhookLog = {
1528
1562
  * Name of the webhook that was triggered
1529
1563
  */
1530
1564
  webhookName?: string;
1531
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1565
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
1532
1566
  url?: string;
1533
1567
  status?: 'success' | 'failed';
1534
1568
  /**
@@ -1559,7 +1593,7 @@ type WebhookLog = {
1559
1593
  responseTime?: number;
1560
1594
  createdAt?: string;
1561
1595
  };
1562
- type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1596
+ type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
1563
1597
  type status5 = 'success' | 'failed';
1564
1598
  /**
1565
1599
  * Webhook payload for account connected events
@@ -1615,6 +1649,79 @@ type event3 = 'account.disconnected';
1615
1649
  * Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
1616
1650
  */
1617
1651
  type disconnectionType = 'intentional' | 'unintentional';
1652
+ /**
1653
+ * Webhook payload for message received events (DMs from Instagram, Telegram)
1654
+ */
1655
+ type WebhookPayloadMessage = {
1656
+ event?: 'message.received';
1657
+ message?: {
1658
+ /**
1659
+ * Internal message ID
1660
+ */
1661
+ id?: string;
1662
+ /**
1663
+ * Internal conversation ID
1664
+ */
1665
+ conversationId?: string;
1666
+ platform?: 'instagram' | 'facebook' | 'telegram';
1667
+ /**
1668
+ * Platform's message ID
1669
+ */
1670
+ platformMessageId?: string;
1671
+ direction?: 'incoming';
1672
+ /**
1673
+ * Message text content
1674
+ */
1675
+ text?: (string) | null;
1676
+ attachments?: Array<{
1677
+ /**
1678
+ * Attachment type (image, video, file, sticker, audio)
1679
+ */
1680
+ type?: string;
1681
+ /**
1682
+ * Attachment URL (may expire for Meta platforms)
1683
+ */
1684
+ url?: string;
1685
+ /**
1686
+ * Additional attachment metadata
1687
+ */
1688
+ payload?: {
1689
+ [key: string]: unknown;
1690
+ };
1691
+ }>;
1692
+ sender?: {
1693
+ id?: string;
1694
+ name?: string;
1695
+ username?: string;
1696
+ picture?: string;
1697
+ };
1698
+ sentAt?: string;
1699
+ isRead?: boolean;
1700
+ };
1701
+ conversation?: {
1702
+ id?: string;
1703
+ platformConversationId?: string;
1704
+ participantId?: string;
1705
+ participantName?: string;
1706
+ participantUsername?: string;
1707
+ participantPicture?: string;
1708
+ status?: 'active' | 'archived';
1709
+ };
1710
+ account?: {
1711
+ /**
1712
+ * Social account ID
1713
+ */
1714
+ id?: string;
1715
+ platform?: string;
1716
+ username?: string;
1717
+ displayName?: string;
1718
+ };
1719
+ timestamp?: string;
1720
+ };
1721
+ type event4 = 'message.received';
1722
+ type platform2 = 'instagram' | 'facebook' | 'telegram';
1723
+ type direction = 'incoming';
1724
+ type status6 = 'active' | 'archived';
1618
1725
  /**
1619
1726
  * Webhook payload for post events
1620
1727
  */
@@ -1635,7 +1742,7 @@ type WebhookPayloadPost = {
1635
1742
  };
1636
1743
  timestamp?: string;
1637
1744
  };
1638
- type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1745
+ type event5 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1639
1746
  type YouTubeDailyViewsResponse = {
1640
1747
  success?: boolean;
1641
1748
  /**
@@ -1680,6 +1787,7 @@ type YouTubeDailyViewsResponse = {
1680
1787
  * - Custom thumbnails NOT supported for Shorts via API
1681
1788
  * - Scheduled videos are uploaded immediately as the specified visibility and published at scheduled time
1682
1789
  * - Visibility defaults to "public" if not specified
1790
+ * - madeForKids defaults to false (not child-directed)
1683
1791
  * - Set containsSyntheticMedia: true if your video contains AI-generated content
1684
1792
  *
1685
1793
  */
@@ -1696,6 +1804,19 @@ type YouTubePlatformData = {
1696
1804
  *
1697
1805
  */
1698
1806
  visibility?: 'public' | 'private' | 'unlisted';
1807
+ /**
1808
+ * COPPA compliance: Audience designation for the video.
1809
+ * - true: Video is made for kids (child-directed content)
1810
+ * - false: Video is NOT made for kids (default)
1811
+ *
1812
+ * This field maps to YouTube's `selfDeclaredMadeForKids` setting. Videos marked as made for kids
1813
+ * have restricted features (no comments, no notifications, limited ad targeting).
1814
+ *
1815
+ * IMPORTANT: If not specified, defaults to false. YouTube requires this to be explicitly set,
1816
+ * otherwise the video may be blocked from views until configured in YouTube Studio.
1817
+ *
1818
+ */
1819
+ madeForKids?: boolean;
1699
1820
  /**
1700
1821
  * Optional first comment to post immediately after video upload. Up to 10,000 characters (YouTube's comment limit).
1701
1822
  */
@@ -2195,6 +2316,13 @@ type CreatePostData = {
2195
2316
  metadata?: {
2196
2317
  [key: string]: unknown;
2197
2318
  };
2319
+ /**
2320
+ * Root-level TikTok settings applied to all TikTok platforms in the request.
2321
+ * This is a convenience shorthand. Settings here are merged into each TikTok
2322
+ * platform's platformSpecificData, with platform-specific settings taking precedence.
2323
+ *
2324
+ */
2325
+ tiktokSettings?: TikTokPlatformData;
2198
2326
  /**
2199
2327
  * Profile ID to schedule via queue.
2200
2328
  *
@@ -2218,6 +2346,21 @@ type CreatePostData = {
2218
2346
  type CreatePostResponse = (PostCreateResponse);
2219
2347
  type CreatePostError = ({
2220
2348
  error?: string;
2349
+ } | {
2350
+ error?: string;
2351
+ details?: {
2352
+ accountId?: string;
2353
+ platform?: string;
2354
+ existingPostId?: string;
2355
+ };
2356
+ } | {
2357
+ error?: string;
2358
+ /**
2359
+ * Additional context about the rate limit
2360
+ */
2361
+ details?: {
2362
+ [key: string]: unknown;
2363
+ };
2221
2364
  });
2222
2365
  type GetPostData = {
2223
2366
  path: {
@@ -2270,6 +2413,11 @@ type BulkUploadPostsResponse = ({
2270
2413
  } | unknown);
2271
2414
  type BulkUploadPostsError = (unknown | {
2272
2415
  error?: string;
2416
+ } | {
2417
+ error?: string;
2418
+ details?: {
2419
+ [key: string]: unknown;
2420
+ };
2273
2421
  });
2274
2422
  type RetryPostData = {
2275
2423
  path: {
@@ -2279,6 +2427,11 @@ type RetryPostData = {
2279
2427
  type RetryPostResponse = (PostRetryResponse | unknown);
2280
2428
  type RetryPostError = (unknown | {
2281
2429
  error?: string;
2430
+ } | {
2431
+ error?: string;
2432
+ details?: {
2433
+ [key: string]: unknown;
2434
+ };
2282
2435
  });
2283
2436
  type ListUsersResponse = ({
2284
2437
  currentUserId?: string;
@@ -2806,6 +2959,10 @@ type SelectFacebookPageResponse = ({
2806
2959
  */
2807
2960
  redirect_url?: string;
2808
2961
  account?: {
2962
+ /**
2963
+ * ID of the created SocialAccount
2964
+ */
2965
+ accountId?: string;
2809
2966
  platform?: 'facebook';
2810
2967
  username?: string;
2811
2968
  displayName?: string;
@@ -2908,6 +3065,10 @@ type SelectGoogleBusinessLocationResponse = ({
2908
3065
  */
2909
3066
  redirect_url?: string;
2910
3067
  account?: {
3068
+ /**
3069
+ * ID of the created SocialAccount
3070
+ */
3071
+ accountId?: string;
2911
3072
  platform?: 'googlebusiness';
2912
3073
  username?: string;
2913
3074
  displayName?: string;
@@ -3102,7 +3263,26 @@ type SelectLinkedInOrganizationData = {
3102
3263
  };
3103
3264
  type SelectLinkedInOrganizationResponse = ({
3104
3265
  message?: string;
3105
- account?: SocialAccount;
3266
+ /**
3267
+ * The redirect URL with connection params appended (only if redirect_url was provided in request)
3268
+ */
3269
+ redirect_url?: string;
3270
+ account?: {
3271
+ /**
3272
+ * ID of the created SocialAccount
3273
+ */
3274
+ accountId?: string;
3275
+ platform?: 'linkedin';
3276
+ username?: string;
3277
+ displayName?: string;
3278
+ profilePicture?: string;
3279
+ isActive?: boolean;
3280
+ accountType?: 'personal' | 'organization';
3281
+ };
3282
+ bulkRefresh?: {
3283
+ updatedCount?: number;
3284
+ errors?: number;
3285
+ };
3106
3286
  });
3107
3287
  type SelectLinkedInOrganizationError = (unknown | {
3108
3288
  error?: string;
@@ -3193,6 +3373,10 @@ type SelectPinterestBoardResponse = ({
3193
3373
  */
3194
3374
  redirect_url?: string;
3195
3375
  account?: {
3376
+ /**
3377
+ * ID of the created SocialAccount
3378
+ */
3379
+ accountId?: string;
3196
3380
  platform?: 'pinterest';
3197
3381
  username?: string;
3198
3382
  displayName?: string;
@@ -3317,6 +3501,10 @@ type SelectSnapchatProfileResponse = ({
3317
3501
  */
3318
3502
  redirect_url?: string;
3319
3503
  account?: {
3504
+ /**
3505
+ * ID of the created SocialAccount
3506
+ */
3507
+ accountId?: string;
3320
3508
  platform?: 'snapchat';
3321
3509
  username?: string;
3322
3510
  displayName?: string;
@@ -3453,6 +3641,25 @@ type CompleteTelegramConnectResponse = (({
3453
3641
  type CompleteTelegramConnectError = ({
3454
3642
  error?: string;
3455
3643
  } | unknown);
3644
+ type GetFacebookPagesData = {
3645
+ path: {
3646
+ accountId: string;
3647
+ };
3648
+ };
3649
+ type GetFacebookPagesResponse = ({
3650
+ pages?: Array<{
3651
+ id?: string;
3652
+ name?: string;
3653
+ username?: string;
3654
+ category?: string;
3655
+ fan_count?: number;
3656
+ }>;
3657
+ selectedPageId?: string;
3658
+ cached?: boolean;
3659
+ });
3660
+ type GetFacebookPagesError = ({
3661
+ error?: string;
3662
+ } | unknown);
3456
3663
  type UpdateFacebookPageData = {
3457
3664
  body: {
3458
3665
  selectedPageId: string;
@@ -3463,7 +3670,10 @@ type UpdateFacebookPageData = {
3463
3670
  };
3464
3671
  type UpdateFacebookPageResponse = ({
3465
3672
  message?: string;
3466
- account?: SocialAccount;
3673
+ selectedPage?: {
3674
+ id?: string;
3675
+ name?: string;
3676
+ };
3467
3677
  });
3468
3678
  type UpdateFacebookPageError = (unknown | {
3469
3679
  error?: string;
@@ -3711,6 +3921,45 @@ type UpdatePinterestBoardsResponse = ({
3711
3921
  type UpdatePinterestBoardsError = (unknown | {
3712
3922
  error?: string;
3713
3923
  });
3924
+ type GetGmbLocationsData = {
3925
+ path: {
3926
+ accountId: string;
3927
+ };
3928
+ };
3929
+ type GetGmbLocationsResponse = ({
3930
+ locations?: Array<{
3931
+ id?: string;
3932
+ name?: string;
3933
+ accountId?: string;
3934
+ accountName?: string;
3935
+ address?: string;
3936
+ category?: string;
3937
+ websiteUrl?: string;
3938
+ }>;
3939
+ selectedLocationId?: string;
3940
+ cached?: boolean;
3941
+ });
3942
+ type GetGmbLocationsError = ({
3943
+ error?: string;
3944
+ } | unknown);
3945
+ type UpdateGmbLocationData = {
3946
+ body: {
3947
+ selectedLocationId: string;
3948
+ };
3949
+ path: {
3950
+ accountId: string;
3951
+ };
3952
+ };
3953
+ type UpdateGmbLocationResponse = ({
3954
+ message?: string;
3955
+ selectedLocation?: {
3956
+ id?: string;
3957
+ name?: string;
3958
+ };
3959
+ });
3960
+ type UpdateGmbLocationError = (unknown | {
3961
+ error?: string;
3962
+ });
3714
3963
  type GetRedditSubredditsData = {
3715
3964
  path: {
3716
3965
  accountId: string;
@@ -3925,7 +4174,7 @@ type CreateWebhookSettingsData = {
3925
4174
  /**
3926
4175
  * Events to subscribe to
3927
4176
  */
3928
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
4177
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
3929
4178
  /**
3930
4179
  * Enable or disable webhook delivery
3931
4180
  */
@@ -3966,7 +4215,7 @@ type UpdateWebhookSettingsData = {
3966
4215
  /**
3967
4216
  * Events to subscribe to
3968
4217
  */
3969
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
4218
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
3970
4219
  /**
3971
4220
  * Enable or disable webhook delivery
3972
4221
  */
@@ -4023,7 +4272,7 @@ type GetWebhookLogsData = {
4023
4272
  /**
4024
4273
  * Filter by event type
4025
4274
  */
4026
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
4275
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
4027
4276
  /**
4028
4277
  * Maximum number of logs to return (max 100)
4029
4278
  */
@@ -4130,5 +4379,686 @@ type GetPostLogsResponse = ({
4130
4379
  type GetPostLogsError = ({
4131
4380
  error?: string;
4132
4381
  } | unknown);
4382
+ type ListInboxConversationsData = {
4383
+ query?: {
4384
+ /**
4385
+ * Filter by specific social account ID
4386
+ */
4387
+ accountId?: string;
4388
+ /**
4389
+ * Pagination cursor for next page
4390
+ */
4391
+ cursor?: string;
4392
+ /**
4393
+ * Maximum number of conversations to return
4394
+ */
4395
+ limit?: number;
4396
+ /**
4397
+ * Filter by platform
4398
+ */
4399
+ platform?: 'facebook' | 'instagram' | 'bluesky' | 'reddit' | 'telegram';
4400
+ /**
4401
+ * Filter by profile ID
4402
+ */
4403
+ profileId?: string;
4404
+ /**
4405
+ * Sort order by updated time
4406
+ */
4407
+ sortOrder?: 'asc' | 'desc';
4408
+ /**
4409
+ * Filter by conversation status
4410
+ */
4411
+ status?: 'active' | 'archived';
4412
+ };
4413
+ };
4414
+ type ListInboxConversationsResponse = ({
4415
+ data?: Array<{
4416
+ id?: string;
4417
+ platform?: string;
4418
+ accountId?: string;
4419
+ accountUsername?: string;
4420
+ participantId?: string;
4421
+ participantName?: string;
4422
+ participantPicture?: (string) | null;
4423
+ lastMessage?: string;
4424
+ updatedTime?: string;
4425
+ status?: 'active' | 'archived';
4426
+ /**
4427
+ * Number of unread messages
4428
+ */
4429
+ unreadCount?: (number) | null;
4430
+ /**
4431
+ * Direct link to open the conversation on the platform (if available)
4432
+ */
4433
+ url?: (string) | null;
4434
+ }>;
4435
+ pagination?: {
4436
+ hasMore?: boolean;
4437
+ nextCursor?: (string) | null;
4438
+ };
4439
+ meta?: {
4440
+ accountsQueried?: number;
4441
+ accountsFailed?: number;
4442
+ failedAccounts?: Array<{
4443
+ accountId?: string;
4444
+ accountUsername?: (string) | null;
4445
+ platform?: string;
4446
+ error?: string;
4447
+ /**
4448
+ * Error code if available
4449
+ */
4450
+ code?: (string) | null;
4451
+ /**
4452
+ * Seconds to wait before retry (rate limits)
4453
+ */
4454
+ retryAfter?: (number) | null;
4455
+ }>;
4456
+ lastUpdated?: string;
4457
+ };
4458
+ });
4459
+ type ListInboxConversationsError = ({
4460
+ error?: string;
4461
+ } | unknown);
4462
+ type GetInboxConversationData = {
4463
+ path: {
4464
+ conversationId: string;
4465
+ };
4466
+ query: {
4467
+ /**
4468
+ * The social account ID
4469
+ */
4470
+ accountId: string;
4471
+ };
4472
+ };
4473
+ type GetInboxConversationResponse = ({
4474
+ data?: {
4475
+ id?: string;
4476
+ accountId?: string;
4477
+ accountUsername?: string;
4478
+ platform?: string;
4479
+ status?: 'active' | 'archived';
4480
+ participantName?: string;
4481
+ participantId?: string;
4482
+ lastMessage?: string;
4483
+ lastMessageAt?: string;
4484
+ updatedTime?: string;
4485
+ participants?: Array<{
4486
+ id?: string;
4487
+ name?: string;
4488
+ }>;
4489
+ };
4490
+ });
4491
+ type GetInboxConversationError = ({
4492
+ error?: string;
4493
+ } | unknown);
4494
+ type UpdateInboxConversationData = {
4495
+ body: {
4496
+ /**
4497
+ * Social account ID
4498
+ */
4499
+ accountId: string;
4500
+ status: 'active' | 'archived';
4501
+ };
4502
+ path: {
4503
+ conversationId: string;
4504
+ };
4505
+ };
4506
+ type UpdateInboxConversationResponse = ({
4507
+ success?: boolean;
4508
+ data?: {
4509
+ id?: string;
4510
+ accountId?: string;
4511
+ status?: 'active' | 'archived';
4512
+ platform?: string;
4513
+ updatedAt?: string;
4514
+ };
4515
+ });
4516
+ type UpdateInboxConversationError = ({
4517
+ error?: string;
4518
+ } | unknown);
4519
+ type GetInboxConversationMessagesData = {
4520
+ path: {
4521
+ conversationId: string;
4522
+ };
4523
+ query: {
4524
+ /**
4525
+ * Social account ID
4526
+ */
4527
+ accountId: string;
4528
+ };
4529
+ };
4530
+ type GetInboxConversationMessagesResponse = ({
4531
+ status?: string;
4532
+ messages?: Array<{
4533
+ id?: string;
4534
+ conversationId?: string;
4535
+ accountId?: string;
4536
+ platform?: string;
4537
+ message?: string;
4538
+ senderId?: string;
4539
+ senderName?: (string) | null;
4540
+ direction?: 'incoming' | 'outgoing';
4541
+ createdAt?: string;
4542
+ attachments?: Array<{
4543
+ id?: string;
4544
+ type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share';
4545
+ url?: string;
4546
+ filename?: (string) | null;
4547
+ previewUrl?: (string) | null;
4548
+ }>;
4549
+ /**
4550
+ * Reddit message subject
4551
+ */
4552
+ subject?: (string) | null;
4553
+ /**
4554
+ * Instagram story reply
4555
+ */
4556
+ storyReply?: (boolean) | null;
4557
+ /**
4558
+ * Instagram story mention
4559
+ */
4560
+ isStoryMention?: (boolean) | null;
4561
+ }>;
4562
+ lastUpdated?: string;
4563
+ });
4564
+ type GetInboxConversationMessagesError = ({
4565
+ error?: string;
4566
+ } | unknown);
4567
+ type SendInboxMessageData = {
4568
+ body: {
4569
+ /**
4570
+ * Social account ID
4571
+ */
4572
+ accountId: string;
4573
+ /**
4574
+ * Message text
4575
+ */
4576
+ message: string;
4577
+ };
4578
+ path: {
4579
+ conversationId: string;
4580
+ };
4581
+ };
4582
+ type SendInboxMessageResponse = ({
4583
+ success?: boolean;
4584
+ data?: {
4585
+ /**
4586
+ * ID of the sent message (not returned for Reddit)
4587
+ */
4588
+ messageId?: string;
4589
+ /**
4590
+ * Twitter conversation ID
4591
+ */
4592
+ conversationId?: (string) | null;
4593
+ /**
4594
+ * Bluesky sent timestamp
4595
+ */
4596
+ sentAt?: (string) | null;
4597
+ /**
4598
+ * Success message (Reddit only)
4599
+ */
4600
+ message?: (string) | null;
4601
+ };
4602
+ });
4603
+ type SendInboxMessageError = ({
4604
+ error?: string;
4605
+ code?: 'PLATFORM_LIMITATION';
4606
+ } | {
4607
+ error?: string;
4608
+ } | unknown);
4609
+ type ListInboxCommentsData = {
4610
+ query?: {
4611
+ /**
4612
+ * Filter by specific social account ID
4613
+ */
4614
+ accountId?: string;
4615
+ cursor?: string;
4616
+ limit?: number;
4617
+ /**
4618
+ * Minimum comment count
4619
+ */
4620
+ minComments?: number;
4621
+ /**
4622
+ * Filter by platform
4623
+ */
4624
+ platform?: 'facebook' | 'instagram' | 'youtube' | 'linkedin' | 'reddit' | 'bluesky' | 'tiktok';
4625
+ /**
4626
+ * Filter by profile ID
4627
+ */
4628
+ profileId?: string;
4629
+ /**
4630
+ * Posts created after this date
4631
+ */
4632
+ since?: string;
4633
+ /**
4634
+ * Sort field
4635
+ */
4636
+ sortBy?: 'date' | 'comments';
4637
+ /**
4638
+ * Sort order
4639
+ */
4640
+ sortOrder?: 'asc' | 'desc';
4641
+ };
4642
+ };
4643
+ type ListInboxCommentsResponse = ({
4644
+ data?: Array<{
4645
+ id?: string;
4646
+ platform?: string;
4647
+ accountId?: string;
4648
+ accountUsername?: string;
4649
+ content?: string;
4650
+ picture?: (string) | null;
4651
+ permalink?: (string) | null;
4652
+ createdTime?: string;
4653
+ commentCount?: number;
4654
+ likeCount?: number;
4655
+ /**
4656
+ * Bluesky content identifier
4657
+ */
4658
+ cid?: (string) | null;
4659
+ /**
4660
+ * Reddit subreddit name
4661
+ */
4662
+ subreddit?: (string) | null;
4663
+ }>;
4664
+ pagination?: {
4665
+ hasMore?: boolean;
4666
+ nextCursor?: (string) | null;
4667
+ };
4668
+ meta?: {
4669
+ accountsQueried?: number;
4670
+ accountsFailed?: number;
4671
+ failedAccounts?: Array<{
4672
+ accountId?: string;
4673
+ accountUsername?: (string) | null;
4674
+ platform?: string;
4675
+ error?: string;
4676
+ /**
4677
+ * Error code if available
4678
+ */
4679
+ code?: (string) | null;
4680
+ /**
4681
+ * Seconds to wait before retry (rate limits)
4682
+ */
4683
+ retryAfter?: (number) | null;
4684
+ }>;
4685
+ lastUpdated?: string;
4686
+ };
4687
+ });
4688
+ type ListInboxCommentsError = ({
4689
+ error?: string;
4690
+ } | unknown);
4691
+ type GetInboxPostCommentsData = {
4692
+ path: {
4693
+ postId: string;
4694
+ };
4695
+ query: {
4696
+ accountId: string;
4697
+ /**
4698
+ * (Reddit only) Get replies to a specific comment
4699
+ */
4700
+ commentId?: string;
4701
+ /**
4702
+ * Pagination cursor
4703
+ */
4704
+ cursor?: string;
4705
+ /**
4706
+ * Maximum number of comments to return
4707
+ */
4708
+ limit?: number;
4709
+ /**
4710
+ * (Reddit only) Subreddit name
4711
+ */
4712
+ subreddit?: string;
4713
+ };
4714
+ };
4715
+ type GetInboxPostCommentsResponse = ({
4716
+ status?: string;
4717
+ comments?: Array<{
4718
+ id?: string;
4719
+ message?: string;
4720
+ createdTime?: string;
4721
+ from?: {
4722
+ id?: string;
4723
+ name?: string;
4724
+ username?: string;
4725
+ picture?: (string) | null;
4726
+ isOwner?: boolean;
4727
+ };
4728
+ likeCount?: number;
4729
+ replyCount?: number;
4730
+ /**
4731
+ * The platform this comment is from
4732
+ */
4733
+ platform?: string;
4734
+ /**
4735
+ * Direct link to the comment on the platform (if available)
4736
+ */
4737
+ url?: (string) | null;
4738
+ replies?: Array<{
4739
+ [key: string]: unknown;
4740
+ }>;
4741
+ canReply?: boolean;
4742
+ canDelete?: boolean;
4743
+ /**
4744
+ * Whether this comment can be hidden (Facebook
4745
+ */
4746
+ canHide?: boolean;
4747
+ /**
4748
+ * Whether this comment can be liked (Facebook
4749
+ */
4750
+ canLike?: boolean;
4751
+ /**
4752
+ * Whether the comment is currently hidden
4753
+ */
4754
+ isHidden?: boolean;
4755
+ /**
4756
+ * Whether the current user has liked this comment
4757
+ */
4758
+ isLiked?: boolean;
4759
+ /**
4760
+ * Bluesky like URI for unliking
4761
+ */
4762
+ likeUri?: (string) | null;
4763
+ /**
4764
+ * Bluesky content identifier
4765
+ */
4766
+ cid?: (string) | null;
4767
+ /**
4768
+ * Parent comment ID for nested replies
4769
+ */
4770
+ parentId?: (string) | null;
4771
+ /**
4772
+ * Bluesky root post URI
4773
+ */
4774
+ rootUri?: (string) | null;
4775
+ /**
4776
+ * Bluesky root post CID
4777
+ */
4778
+ rootCid?: (string) | null;
4779
+ }>;
4780
+ pagination?: {
4781
+ hasMore?: boolean;
4782
+ cursor?: (string) | null;
4783
+ };
4784
+ meta?: {
4785
+ platform?: string;
4786
+ postId?: string;
4787
+ accountId?: string;
4788
+ /**
4789
+ * (Reddit only) Subreddit name
4790
+ */
4791
+ subreddit?: (string) | null;
4792
+ lastUpdated?: string;
4793
+ };
4794
+ });
4795
+ type GetInboxPostCommentsError = ({
4796
+ error?: string;
4797
+ } | unknown);
4798
+ type ReplyToInboxPostData = {
4799
+ body: {
4800
+ accountId: string;
4801
+ message: string;
4802
+ /**
4803
+ * Reply to specific comment (optional)
4804
+ */
4805
+ commentId?: string;
4806
+ /**
4807
+ * (Reddit only) Subreddit name for replies
4808
+ */
4809
+ subreddit?: string;
4810
+ /**
4811
+ * (Bluesky only) Parent content identifier
4812
+ */
4813
+ parentCid?: string;
4814
+ /**
4815
+ * (Bluesky only) Root post URI
4816
+ */
4817
+ rootUri?: string;
4818
+ /**
4819
+ * (Bluesky only) Root post CID
4820
+ */
4821
+ rootCid?: string;
4822
+ };
4823
+ path: {
4824
+ postId: string;
4825
+ };
4826
+ };
4827
+ type ReplyToInboxPostResponse = ({
4828
+ success?: boolean;
4829
+ data?: {
4830
+ commentId?: string;
4831
+ isReply?: boolean;
4832
+ /**
4833
+ * Bluesky CID
4834
+ */
4835
+ cid?: (string) | null;
4836
+ };
4837
+ });
4838
+ type ReplyToInboxPostError = ({
4839
+ error?: string;
4840
+ } | unknown);
4841
+ type DeleteInboxCommentData = {
4842
+ path: {
4843
+ postId: string;
4844
+ };
4845
+ query: {
4846
+ accountId: string;
4847
+ commentId: string;
4848
+ };
4849
+ };
4850
+ type DeleteInboxCommentResponse = ({
4851
+ success?: boolean;
4852
+ data?: {
4853
+ message?: string;
4854
+ };
4855
+ });
4856
+ type DeleteInboxCommentError = ({
4857
+ error?: string;
4858
+ } | unknown);
4859
+ type HideInboxCommentData = {
4860
+ body: {
4861
+ /**
4862
+ * The social account ID
4863
+ */
4864
+ accountId: string;
4865
+ };
4866
+ path: {
4867
+ commentId: string;
4868
+ postId: string;
4869
+ };
4870
+ };
4871
+ type HideInboxCommentResponse = ({
4872
+ status?: string;
4873
+ commentId?: string;
4874
+ hidden?: boolean;
4875
+ platform?: string;
4876
+ });
4877
+ type HideInboxCommentError = (unknown | {
4878
+ error?: string;
4879
+ });
4880
+ type UnhideInboxCommentData = {
4881
+ path: {
4882
+ commentId: string;
4883
+ postId: string;
4884
+ };
4885
+ query: {
4886
+ accountId: string;
4887
+ };
4888
+ };
4889
+ type UnhideInboxCommentResponse = ({
4890
+ status?: string;
4891
+ commentId?: string;
4892
+ hidden?: boolean;
4893
+ platform?: string;
4894
+ });
4895
+ type UnhideInboxCommentError = (unknown | {
4896
+ error?: string;
4897
+ });
4898
+ type LikeInboxCommentData = {
4899
+ body: {
4900
+ /**
4901
+ * The social account ID
4902
+ */
4903
+ accountId: string;
4904
+ /**
4905
+ * (Bluesky only) Content identifier for the comment
4906
+ */
4907
+ cid?: string;
4908
+ };
4909
+ path: {
4910
+ commentId: string;
4911
+ postId: string;
4912
+ };
4913
+ };
4914
+ type LikeInboxCommentResponse = ({
4915
+ status?: string;
4916
+ commentId?: string;
4917
+ liked?: boolean;
4918
+ /**
4919
+ * (Bluesky only) URI to use for unliking
4920
+ */
4921
+ likeUri?: string;
4922
+ platform?: string;
4923
+ });
4924
+ type LikeInboxCommentError = (unknown | {
4925
+ error?: string;
4926
+ });
4927
+ type UnlikeInboxCommentData = {
4928
+ path: {
4929
+ commentId: string;
4930
+ postId: string;
4931
+ };
4932
+ query: {
4933
+ accountId: string;
4934
+ /**
4935
+ * (Bluesky only) The like URI returned when liking
4936
+ */
4937
+ likeUri?: string;
4938
+ };
4939
+ };
4940
+ type UnlikeInboxCommentResponse = ({
4941
+ status?: string;
4942
+ commentId?: string;
4943
+ liked?: boolean;
4944
+ platform?: string;
4945
+ });
4946
+ type UnlikeInboxCommentError = (unknown | {
4947
+ error?: string;
4948
+ });
4949
+ type ListInboxReviewsData = {
4950
+ query?: {
4951
+ /**
4952
+ * Filter by specific social account ID
4953
+ */
4954
+ accountId?: string;
4955
+ cursor?: string;
4956
+ /**
4957
+ * Filter by reply status
4958
+ */
4959
+ hasReply?: boolean;
4960
+ limit?: number;
4961
+ maxRating?: number;
4962
+ minRating?: number;
4963
+ platform?: 'facebook' | 'googlebusiness';
4964
+ profileId?: string;
4965
+ sortBy?: 'date' | 'rating';
4966
+ sortOrder?: 'asc' | 'desc';
4967
+ };
4968
+ };
4969
+ type ListInboxReviewsResponse = ({
4970
+ status?: string;
4971
+ data?: Array<{
4972
+ id?: string;
4973
+ platform?: string;
4974
+ accountId?: string;
4975
+ accountUsername?: string;
4976
+ reviewer?: {
4977
+ id?: (string) | null;
4978
+ name?: string;
4979
+ profileImage?: (string) | null;
4980
+ };
4981
+ rating?: number;
4982
+ text?: string;
4983
+ created?: string;
4984
+ hasReply?: boolean;
4985
+ reply?: {
4986
+ id?: string;
4987
+ text?: string;
4988
+ created?: string;
4989
+ } | null;
4990
+ reviewUrl?: (string) | null;
4991
+ }>;
4992
+ pagination?: {
4993
+ hasMore?: boolean;
4994
+ nextCursor?: (string) | null;
4995
+ };
4996
+ meta?: {
4997
+ accountsQueried?: number;
4998
+ accountsFailed?: number;
4999
+ failedAccounts?: Array<{
5000
+ accountId?: string;
5001
+ accountUsername?: (string) | null;
5002
+ platform?: string;
5003
+ error?: string;
5004
+ /**
5005
+ * Error code if available
5006
+ */
5007
+ code?: (string) | null;
5008
+ /**
5009
+ * Seconds to wait before retry (rate limits)
5010
+ */
5011
+ retryAfter?: (number) | null;
5012
+ }>;
5013
+ lastUpdated?: string;
5014
+ };
5015
+ summary?: {
5016
+ totalReviews?: number;
5017
+ averageRating?: (number) | null;
5018
+ };
5019
+ });
5020
+ type ListInboxReviewsError = ({
5021
+ error?: string;
5022
+ } | unknown);
5023
+ type ReplyToInboxReviewData = {
5024
+ body: {
5025
+ accountId: string;
5026
+ message: string;
5027
+ };
5028
+ path: {
5029
+ /**
5030
+ * Review ID (URL-encoded for Google Business)
5031
+ */
5032
+ reviewId: string;
5033
+ };
5034
+ };
5035
+ type ReplyToInboxReviewResponse = ({
5036
+ status?: string;
5037
+ reply?: {
5038
+ id?: string;
5039
+ text?: string;
5040
+ created?: string;
5041
+ };
5042
+ platform?: string;
5043
+ });
5044
+ type ReplyToInboxReviewError = ({
5045
+ error?: string;
5046
+ } | unknown);
5047
+ type DeleteInboxReviewReplyData = {
5048
+ body: {
5049
+ accountId: string;
5050
+ };
5051
+ path: {
5052
+ reviewId: string;
5053
+ };
5054
+ };
5055
+ type DeleteInboxReviewReplyResponse = ({
5056
+ status?: string;
5057
+ message?: string;
5058
+ platform?: string;
5059
+ });
5060
+ type DeleteInboxReviewReplyError = ({
5061
+ error?: string;
5062
+ } | unknown);
4133
5063
 
4134
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, 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 DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, 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 ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, 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 GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, 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 GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, 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 GetYouTubeDailyViewsData, type GetYouTubeDailyViewsError, type GetYouTubeDailyViewsResponse, type GetYouTubeTranscriptData, type GetYouTubeTranscriptError, type GetYouTubeTranscriptResponse, type GoogleBusinessPlatformData, type HandleOAuthCallbackData, type HandleOAuthCallbackError, type HandleOAuthCallbackResponse, type HashtagCheckResponse, type HashtagInfo, type InitiateTelegramConnectData, type InitiateTelegramConnectError, type InitiateTelegramConnectResponse, type InstagramPlatformData, Late, LateApiError, type LinkedInAggregateAnalyticsDailyResponse, type LinkedInAggregateAnalyticsTotalResponse, type LinkedInPlatformData, type ListAccountGroupsError, type ListAccountGroupsResponse, type ListAccountsData, type ListAccountsError, type ListAccountsResponse, type ListApiKeysError, type ListApiKeysResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, 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 PostLogDetail, 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 QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RetryPostData, type RetryPostError, type RetryPostResponse, 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 SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, 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 UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type disconnectionType, type event, type event2, type event3, type event4, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type status, type status2, type status3, type status4, type status5, type type, type type2, type type3, type visibility };
5064
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BulkUploadPostsData, type BulkUploadPostsError, type BulkUploadPostsResponse, type CaptionResponse, type CheckInstagramHashtagsData, type CheckInstagramHashtagsError, type CheckInstagramHashtagsResponse, type ClientOptions, type CompleteTelegramConnectData, type CompleteTelegramConnectError, type CompleteTelegramConnectResponse, type ConnectBlueskyCredentialsData, type ConnectBlueskyCredentialsError, type ConnectBlueskyCredentialsResponse, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, 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 DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, 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 ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, 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 GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, 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 GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, 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 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 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 ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, 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 PostLogDetail, 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 QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type ReplyToInboxPostData, type ReplyToInboxPostError, type ReplyToInboxPostResponse, type ReplyToInboxReviewData, type ReplyToInboxReviewError, type ReplyToInboxReviewResponse, type RetryPostData, type RetryPostError, type RetryPostResponse, 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 SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, 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 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 UploadTokenResponse, type UploadTokenStatusResponse, type UploadedFile, type UsageStats, type User, type UserGetResponse, type UsersListResponse, ValidationError, type Webhook, type WebhookLog, type WebhookPayloadAccountConnected, type WebhookPayloadAccountDisconnected, type WebhookPayloadMessage, type WebhookPayloadPost, type YouTubeDailyViewsResponse, type YouTubePlatformData, type YouTubeScopeMissingResponse, type action, type aggregation, type aggregation2, type aggregation3, type billingPeriod, type commercialContentType, type contentType, type contentType2, Late as default, type direction, type disconnectionType, type event, type event2, type event3, type event4, type event5, type graduationStrategy, type mediaType, parseApiError, type parseMode, type platform, type platform2, type status, type status2, type status3, type status4, type status5, type status6, type type, type type2, type type3, type visibility };