@getlatedev/node 0.1.3 → 0.1.5

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,27 @@ 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
+ * inbox API
243
+ */
244
+ inbox: {
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
+ listInboxComments: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListInboxCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListInboxCommentsResponse, unknown, ThrowOnError>;
251
+ getInboxPostComments: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetInboxPostCommentsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetInboxPostCommentsResponse, unknown, ThrowOnError>;
252
+ replyToInboxPost: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxPostResponse, unknown, ThrowOnError>;
253
+ deleteInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxCommentResponse, unknown, ThrowOnError>;
254
+ hideInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<HideInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HideInboxCommentResponse, unknown, ThrowOnError>;
255
+ unhideInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnhideInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnhideInboxCommentResponse, unknown, ThrowOnError>;
256
+ likeInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<LikeInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<LikeInboxCommentResponse, unknown, ThrowOnError>;
257
+ unlikeInboxComment: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<UnlikeInboxCommentData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<UnlikeInboxCommentResponse, unknown, ThrowOnError>;
258
+ listInboxReviews: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListInboxReviewsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListInboxReviewsResponse, unknown, ThrowOnError>;
259
+ replyToInboxReview: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<ReplyToInboxReviewData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ReplyToInboxReviewResponse, unknown, ThrowOnError>;
260
+ deleteInboxReviewReply: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<DeleteInboxReviewReplyData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<DeleteInboxReviewReplyResponse, unknown, ThrowOnError>;
261
+ };
238
262
  /**
239
263
  * Create a new Late API client.
240
264
  *
@@ -1495,7 +1519,7 @@ type Webhook = {
1495
1519
  /**
1496
1520
  * Events subscribed to
1497
1521
  */
1498
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
1522
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
1499
1523
  /**
1500
1524
  * Whether webhook delivery is enabled
1501
1525
  */
@@ -1528,7 +1552,7 @@ type WebhookLog = {
1528
1552
  * Name of the webhook that was triggered
1529
1553
  */
1530
1554
  webhookName?: string;
1531
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1555
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
1532
1556
  url?: string;
1533
1557
  status?: 'success' | 'failed';
1534
1558
  /**
@@ -1559,7 +1583,7 @@ type WebhookLog = {
1559
1583
  responseTime?: number;
1560
1584
  createdAt?: string;
1561
1585
  };
1562
- type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
1586
+ type event = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
1563
1587
  type status5 = 'success' | 'failed';
1564
1588
  /**
1565
1589
  * Webhook payload for account connected events
@@ -1615,6 +1639,79 @@ type event3 = 'account.disconnected';
1615
1639
  * Whether the disconnection was intentional (user action) or unintentional (token expired/revoked)
1616
1640
  */
1617
1641
  type disconnectionType = 'intentional' | 'unintentional';
1642
+ /**
1643
+ * Webhook payload for message received events (DMs from Instagram, Facebook, Telegram)
1644
+ */
1645
+ type WebhookPayloadMessage = {
1646
+ event?: 'message.received';
1647
+ message?: {
1648
+ /**
1649
+ * Internal message ID
1650
+ */
1651
+ id?: string;
1652
+ /**
1653
+ * Internal conversation ID
1654
+ */
1655
+ conversationId?: string;
1656
+ platform?: 'instagram' | 'facebook' | 'telegram';
1657
+ /**
1658
+ * Platform's message ID
1659
+ */
1660
+ platformMessageId?: string;
1661
+ direction?: 'incoming';
1662
+ /**
1663
+ * Message text content
1664
+ */
1665
+ text?: (string) | null;
1666
+ attachments?: Array<{
1667
+ /**
1668
+ * Attachment type (image, video, file, sticker, audio)
1669
+ */
1670
+ type?: string;
1671
+ /**
1672
+ * Attachment URL (may expire for Meta platforms)
1673
+ */
1674
+ url?: string;
1675
+ /**
1676
+ * Additional attachment metadata
1677
+ */
1678
+ payload?: {
1679
+ [key: string]: unknown;
1680
+ };
1681
+ }>;
1682
+ sender?: {
1683
+ id?: string;
1684
+ name?: string;
1685
+ username?: string;
1686
+ picture?: string;
1687
+ };
1688
+ sentAt?: string;
1689
+ isRead?: boolean;
1690
+ };
1691
+ conversation?: {
1692
+ id?: string;
1693
+ platformConversationId?: string;
1694
+ participantId?: string;
1695
+ participantName?: string;
1696
+ participantUsername?: string;
1697
+ participantPicture?: string;
1698
+ status?: 'active' | 'archived';
1699
+ };
1700
+ account?: {
1701
+ /**
1702
+ * Social account ID
1703
+ */
1704
+ id?: string;
1705
+ platform?: string;
1706
+ username?: string;
1707
+ displayName?: string;
1708
+ };
1709
+ timestamp?: string;
1710
+ };
1711
+ type event4 = 'message.received';
1712
+ type platform2 = 'instagram' | 'facebook' | 'telegram';
1713
+ type direction = 'incoming';
1714
+ type status6 = 'active' | 'archived';
1618
1715
  /**
1619
1716
  * Webhook payload for post events
1620
1717
  */
@@ -1635,7 +1732,7 @@ type WebhookPayloadPost = {
1635
1732
  };
1636
1733
  timestamp?: string;
1637
1734
  };
1638
- type event4 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1735
+ type event5 = 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial';
1639
1736
  type YouTubeDailyViewsResponse = {
1640
1737
  success?: boolean;
1641
1738
  /**
@@ -1680,6 +1777,7 @@ type YouTubeDailyViewsResponse = {
1680
1777
  * - Custom thumbnails NOT supported for Shorts via API
1681
1778
  * - Scheduled videos are uploaded immediately as the specified visibility and published at scheduled time
1682
1779
  * - Visibility defaults to "public" if not specified
1780
+ * - madeForKids defaults to false (not child-directed)
1683
1781
  * - Set containsSyntheticMedia: true if your video contains AI-generated content
1684
1782
  *
1685
1783
  */
@@ -1696,6 +1794,19 @@ type YouTubePlatformData = {
1696
1794
  *
1697
1795
  */
1698
1796
  visibility?: 'public' | 'private' | 'unlisted';
1797
+ /**
1798
+ * COPPA compliance: Audience designation for the video.
1799
+ * - true: Video is made for kids (child-directed content)
1800
+ * - false: Video is NOT made for kids (default)
1801
+ *
1802
+ * This field maps to YouTube's `selfDeclaredMadeForKids` setting. Videos marked as made for kids
1803
+ * have restricted features (no comments, no notifications, limited ad targeting).
1804
+ *
1805
+ * IMPORTANT: If not specified, defaults to false. YouTube requires this to be explicitly set,
1806
+ * otherwise the video may be blocked from views until configured in YouTube Studio.
1807
+ *
1808
+ */
1809
+ madeForKids?: boolean;
1699
1810
  /**
1700
1811
  * Optional first comment to post immediately after video upload. Up to 10,000 characters (YouTube's comment limit).
1701
1812
  */
@@ -2196,9 +2307,13 @@ type CreatePostData = {
2196
2307
  [key: string]: unknown;
2197
2308
  };
2198
2309
  /**
2199
- * Profile ID to schedule via queue. When provided without scheduledFor,
2200
- * the post will be automatically assigned to the next available slot
2201
- * from the profile's default queue (or the queue specified by queueId).
2310
+ * Profile ID to schedule via queue.
2311
+ *
2312
+ * When provided (without `scheduledFor`), the post will be automatically assigned
2313
+ * to the next available slot from the profile's queue. The system uses distributed
2314
+ * locking to prevent race conditions when multiple posts are scheduled concurrently.
2315
+ * Do not call `/v1/queue/next-slot` and then use that time in `scheduledFor`.
2316
+ * That bypasses the queue system and can cause duplicate slot assignments.
2202
2317
  *
2203
2318
  */
2204
2319
  queuedFromProfile?: string;
@@ -2214,6 +2329,21 @@ type CreatePostData = {
2214
2329
  type CreatePostResponse = (PostCreateResponse);
2215
2330
  type CreatePostError = ({
2216
2331
  error?: string;
2332
+ } | {
2333
+ error?: string;
2334
+ details?: {
2335
+ accountId?: string;
2336
+ platform?: string;
2337
+ existingPostId?: string;
2338
+ };
2339
+ } | {
2340
+ error?: string;
2341
+ /**
2342
+ * Additional context about the rate limit
2343
+ */
2344
+ details?: {
2345
+ [key: string]: unknown;
2346
+ };
2217
2347
  });
2218
2348
  type GetPostData = {
2219
2349
  path: {
@@ -2266,6 +2396,11 @@ type BulkUploadPostsResponse = ({
2266
2396
  } | unknown);
2267
2397
  type BulkUploadPostsError = (unknown | {
2268
2398
  error?: string;
2399
+ } | {
2400
+ error?: string;
2401
+ details?: {
2402
+ [key: string]: unknown;
2403
+ };
2269
2404
  });
2270
2405
  type RetryPostData = {
2271
2406
  path: {
@@ -2275,6 +2410,11 @@ type RetryPostData = {
2275
2410
  type RetryPostResponse = (PostRetryResponse | unknown);
2276
2411
  type RetryPostError = (unknown | {
2277
2412
  error?: string;
2413
+ } | {
2414
+ error?: string;
2415
+ details?: {
2416
+ [key: string]: unknown;
2417
+ };
2278
2418
  });
2279
2419
  type ListUsersResponse = ({
2280
2420
  currentUserId?: string;
@@ -2802,6 +2942,10 @@ type SelectFacebookPageResponse = ({
2802
2942
  */
2803
2943
  redirect_url?: string;
2804
2944
  account?: {
2945
+ /**
2946
+ * ID of the created SocialAccount
2947
+ */
2948
+ accountId?: string;
2805
2949
  platform?: 'facebook';
2806
2950
  username?: string;
2807
2951
  displayName?: string;
@@ -2904,6 +3048,10 @@ type SelectGoogleBusinessLocationResponse = ({
2904
3048
  */
2905
3049
  redirect_url?: string;
2906
3050
  account?: {
3051
+ /**
3052
+ * ID of the created SocialAccount
3053
+ */
3054
+ accountId?: string;
2907
3055
  platform?: 'googlebusiness';
2908
3056
  username?: string;
2909
3057
  displayName?: string;
@@ -3098,7 +3246,26 @@ type SelectLinkedInOrganizationData = {
3098
3246
  };
3099
3247
  type SelectLinkedInOrganizationResponse = ({
3100
3248
  message?: string;
3101
- account?: SocialAccount;
3249
+ /**
3250
+ * The redirect URL with connection params appended (only if redirect_url was provided in request)
3251
+ */
3252
+ redirect_url?: string;
3253
+ account?: {
3254
+ /**
3255
+ * ID of the created SocialAccount
3256
+ */
3257
+ accountId?: string;
3258
+ platform?: 'linkedin';
3259
+ username?: string;
3260
+ displayName?: string;
3261
+ profilePicture?: string;
3262
+ isActive?: boolean;
3263
+ accountType?: 'personal' | 'organization';
3264
+ };
3265
+ bulkRefresh?: {
3266
+ updatedCount?: number;
3267
+ errors?: number;
3268
+ };
3102
3269
  });
3103
3270
  type SelectLinkedInOrganizationError = (unknown | {
3104
3271
  error?: string;
@@ -3189,6 +3356,10 @@ type SelectPinterestBoardResponse = ({
3189
3356
  */
3190
3357
  redirect_url?: string;
3191
3358
  account?: {
3359
+ /**
3360
+ * ID of the created SocialAccount
3361
+ */
3362
+ accountId?: string;
3192
3363
  platform?: 'pinterest';
3193
3364
  username?: string;
3194
3365
  displayName?: string;
@@ -3313,6 +3484,10 @@ type SelectSnapchatProfileResponse = ({
3313
3484
  */
3314
3485
  redirect_url?: string;
3315
3486
  account?: {
3487
+ /**
3488
+ * ID of the created SocialAccount
3489
+ */
3490
+ accountId?: string;
3316
3491
  platform?: 'snapchat';
3317
3492
  username?: string;
3318
3493
  displayName?: string;
@@ -3449,6 +3624,25 @@ type CompleteTelegramConnectResponse = (({
3449
3624
  type CompleteTelegramConnectError = ({
3450
3625
  error?: string;
3451
3626
  } | unknown);
3627
+ type GetFacebookPagesData = {
3628
+ path: {
3629
+ accountId: string;
3630
+ };
3631
+ };
3632
+ type GetFacebookPagesResponse = ({
3633
+ pages?: Array<{
3634
+ id?: string;
3635
+ name?: string;
3636
+ username?: string;
3637
+ category?: string;
3638
+ fan_count?: number;
3639
+ }>;
3640
+ selectedPageId?: string;
3641
+ cached?: boolean;
3642
+ });
3643
+ type GetFacebookPagesError = ({
3644
+ error?: string;
3645
+ } | unknown);
3452
3646
  type UpdateFacebookPageData = {
3453
3647
  body: {
3454
3648
  selectedPageId: string;
@@ -3707,6 +3901,45 @@ type UpdatePinterestBoardsResponse = ({
3707
3901
  type UpdatePinterestBoardsError = (unknown | {
3708
3902
  error?: string;
3709
3903
  });
3904
+ type GetGmbLocationsData = {
3905
+ path: {
3906
+ accountId: string;
3907
+ };
3908
+ };
3909
+ type GetGmbLocationsResponse = ({
3910
+ locations?: Array<{
3911
+ id?: string;
3912
+ name?: string;
3913
+ accountId?: string;
3914
+ accountName?: string;
3915
+ address?: string;
3916
+ category?: string;
3917
+ websiteUrl?: string;
3918
+ }>;
3919
+ selectedLocationId?: string;
3920
+ cached?: boolean;
3921
+ });
3922
+ type GetGmbLocationsError = ({
3923
+ error?: string;
3924
+ } | unknown);
3925
+ type UpdateGmbLocationData = {
3926
+ body: {
3927
+ selectedLocationId: string;
3928
+ };
3929
+ path: {
3930
+ accountId: string;
3931
+ };
3932
+ };
3933
+ type UpdateGmbLocationResponse = ({
3934
+ message?: string;
3935
+ selectedLocation?: {
3936
+ id?: string;
3937
+ name?: string;
3938
+ };
3939
+ });
3940
+ type UpdateGmbLocationError = (unknown | {
3941
+ error?: string;
3942
+ });
3710
3943
  type GetRedditSubredditsData = {
3711
3944
  path: {
3712
3945
  accountId: string;
@@ -3714,11 +3947,31 @@ type GetRedditSubredditsData = {
3714
3947
  };
3715
3948
  type GetRedditSubredditsResponse = ({
3716
3949
  subreddits?: Array<{
3950
+ /**
3951
+ * Reddit subreddit ID
3952
+ */
3953
+ id?: string;
3954
+ /**
3955
+ * Subreddit name without r/ prefix
3956
+ */
3717
3957
  name?: string;
3718
- displayName?: string;
3719
- subscribers?: number;
3720
- public_description?: string;
3958
+ /**
3959
+ * Subreddit title
3960
+ */
3961
+ title?: string;
3962
+ /**
3963
+ * Subreddit URL path
3964
+ */
3965
+ url?: string;
3966
+ /**
3967
+ * Whether the subreddit is NSFW
3968
+ */
3969
+ over18?: boolean;
3721
3970
  }>;
3971
+ /**
3972
+ * Currently set default subreddit for posting
3973
+ */
3974
+ defaultSubreddit?: string;
3722
3975
  });
3723
3976
  type GetRedditSubredditsError = (unknown | {
3724
3977
  error?: string;
@@ -3732,8 +3985,7 @@ type UpdateRedditSubredditsData = {
3732
3985
  };
3733
3986
  };
3734
3987
  type UpdateRedditSubredditsResponse = ({
3735
- message?: string;
3736
- account?: SocialAccount;
3988
+ success?: boolean;
3737
3989
  });
3738
3990
  type UpdateRedditSubredditsError = (unknown | {
3739
3991
  error?: string;
@@ -3902,7 +4154,7 @@ type CreateWebhookSettingsData = {
3902
4154
  /**
3903
4155
  * Events to subscribe to
3904
4156
  */
3905
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
4157
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
3906
4158
  /**
3907
4159
  * Enable or disable webhook delivery
3908
4160
  */
@@ -3943,7 +4195,7 @@ type UpdateWebhookSettingsData = {
3943
4195
  /**
3944
4196
  * Events to subscribe to
3945
4197
  */
3946
- events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected')>;
4198
+ events?: Array<('post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received')>;
3947
4199
  /**
3948
4200
  * Enable or disable webhook delivery
3949
4201
  */
@@ -4000,7 +4252,7 @@ type GetWebhookLogsData = {
4000
4252
  /**
4001
4253
  * Filter by event type
4002
4254
  */
4003
- event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'webhook.test';
4255
+ event?: 'post.scheduled' | 'post.published' | 'post.failed' | 'post.partial' | 'account.connected' | 'account.disconnected' | 'message.received' | 'webhook.test';
4004
4256
  /**
4005
4257
  * Maximum number of logs to return (max 100)
4006
4258
  */
@@ -4107,5 +4359,686 @@ type GetPostLogsResponse = ({
4107
4359
  type GetPostLogsError = ({
4108
4360
  error?: string;
4109
4361
  } | unknown);
4362
+ type ListInboxConversationsData = {
4363
+ query?: {
4364
+ /**
4365
+ * Filter by specific social account ID
4366
+ */
4367
+ accountId?: string;
4368
+ /**
4369
+ * Pagination cursor for next page
4370
+ */
4371
+ cursor?: string;
4372
+ /**
4373
+ * Maximum number of conversations to return
4374
+ */
4375
+ limit?: number;
4376
+ /**
4377
+ * Filter by platform
4378
+ */
4379
+ platform?: 'facebook' | 'instagram' | 'bluesky' | 'reddit' | 'telegram';
4380
+ /**
4381
+ * Filter by profile ID
4382
+ */
4383
+ profileId?: string;
4384
+ /**
4385
+ * Sort order by updated time
4386
+ */
4387
+ sortOrder?: 'asc' | 'desc';
4388
+ /**
4389
+ * Filter by conversation status
4390
+ */
4391
+ status?: 'active' | 'archived';
4392
+ };
4393
+ };
4394
+ type ListInboxConversationsResponse = ({
4395
+ data?: Array<{
4396
+ id?: string;
4397
+ platform?: string;
4398
+ accountId?: string;
4399
+ accountUsername?: string;
4400
+ participantId?: string;
4401
+ participantName?: string;
4402
+ participantPicture?: (string) | null;
4403
+ lastMessage?: string;
4404
+ updatedTime?: string;
4405
+ status?: 'active' | 'archived';
4406
+ /**
4407
+ * Number of unread messages
4408
+ */
4409
+ unreadCount?: (number) | null;
4410
+ /**
4411
+ * Direct link to open the conversation on the platform (if available)
4412
+ */
4413
+ url?: (string) | null;
4414
+ }>;
4415
+ pagination?: {
4416
+ hasMore?: boolean;
4417
+ nextCursor?: (string) | null;
4418
+ };
4419
+ meta?: {
4420
+ accountsQueried?: number;
4421
+ accountsFailed?: number;
4422
+ failedAccounts?: Array<{
4423
+ accountId?: string;
4424
+ accountUsername?: (string) | null;
4425
+ platform?: string;
4426
+ error?: string;
4427
+ /**
4428
+ * Error code if available
4429
+ */
4430
+ code?: (string) | null;
4431
+ /**
4432
+ * Seconds to wait before retry (rate limits)
4433
+ */
4434
+ retryAfter?: (number) | null;
4435
+ }>;
4436
+ lastUpdated?: string;
4437
+ };
4438
+ });
4439
+ type ListInboxConversationsError = ({
4440
+ error?: string;
4441
+ } | unknown);
4442
+ type GetInboxConversationData = {
4443
+ path: {
4444
+ conversationId: string;
4445
+ };
4446
+ query: {
4447
+ /**
4448
+ * The social account ID
4449
+ */
4450
+ accountId: string;
4451
+ };
4452
+ };
4453
+ type GetInboxConversationResponse = ({
4454
+ data?: {
4455
+ id?: string;
4456
+ accountId?: string;
4457
+ accountUsername?: string;
4458
+ platform?: string;
4459
+ status?: 'active' | 'archived';
4460
+ participantName?: string;
4461
+ participantId?: string;
4462
+ lastMessage?: string;
4463
+ lastMessageAt?: string;
4464
+ updatedTime?: string;
4465
+ participants?: Array<{
4466
+ id?: string;
4467
+ name?: string;
4468
+ }>;
4469
+ };
4470
+ });
4471
+ type GetInboxConversationError = ({
4472
+ error?: string;
4473
+ } | unknown);
4474
+ type UpdateInboxConversationData = {
4475
+ body: {
4476
+ /**
4477
+ * Social account ID
4478
+ */
4479
+ accountId: string;
4480
+ status: 'active' | 'archived';
4481
+ };
4482
+ path: {
4483
+ conversationId: string;
4484
+ };
4485
+ };
4486
+ type UpdateInboxConversationResponse = ({
4487
+ success?: boolean;
4488
+ data?: {
4489
+ id?: string;
4490
+ accountId?: string;
4491
+ status?: 'active' | 'archived';
4492
+ platform?: string;
4493
+ updatedAt?: string;
4494
+ };
4495
+ });
4496
+ type UpdateInboxConversationError = ({
4497
+ error?: string;
4498
+ } | unknown);
4499
+ type GetInboxConversationMessagesData = {
4500
+ path: {
4501
+ conversationId: string;
4502
+ };
4503
+ query: {
4504
+ /**
4505
+ * Social account ID
4506
+ */
4507
+ accountId: string;
4508
+ };
4509
+ };
4510
+ type GetInboxConversationMessagesResponse = ({
4511
+ status?: string;
4512
+ messages?: Array<{
4513
+ id?: string;
4514
+ conversationId?: string;
4515
+ accountId?: string;
4516
+ platform?: string;
4517
+ message?: string;
4518
+ senderId?: string;
4519
+ senderName?: (string) | null;
4520
+ direction?: 'incoming' | 'outgoing';
4521
+ createdAt?: string;
4522
+ attachments?: Array<{
4523
+ id?: string;
4524
+ type?: 'image' | 'video' | 'audio' | 'file' | 'sticker' | 'share';
4525
+ url?: string;
4526
+ filename?: (string) | null;
4527
+ previewUrl?: (string) | null;
4528
+ }>;
4529
+ /**
4530
+ * Reddit message subject
4531
+ */
4532
+ subject?: (string) | null;
4533
+ /**
4534
+ * Instagram story reply
4535
+ */
4536
+ storyReply?: (boolean) | null;
4537
+ /**
4538
+ * Instagram story mention
4539
+ */
4540
+ isStoryMention?: (boolean) | null;
4541
+ }>;
4542
+ lastUpdated?: string;
4543
+ });
4544
+ type GetInboxConversationMessagesError = ({
4545
+ error?: string;
4546
+ } | unknown);
4547
+ type SendInboxMessageData = {
4548
+ body: {
4549
+ /**
4550
+ * Social account ID
4551
+ */
4552
+ accountId: string;
4553
+ /**
4554
+ * Message text
4555
+ */
4556
+ message: string;
4557
+ };
4558
+ path: {
4559
+ conversationId: string;
4560
+ };
4561
+ };
4562
+ type SendInboxMessageResponse = ({
4563
+ success?: boolean;
4564
+ data?: {
4565
+ /**
4566
+ * ID of the sent message (not returned for Reddit)
4567
+ */
4568
+ messageId?: string;
4569
+ /**
4570
+ * Twitter conversation ID
4571
+ */
4572
+ conversationId?: (string) | null;
4573
+ /**
4574
+ * Bluesky sent timestamp
4575
+ */
4576
+ sentAt?: (string) | null;
4577
+ /**
4578
+ * Success message (Reddit only)
4579
+ */
4580
+ message?: (string) | null;
4581
+ };
4582
+ });
4583
+ type SendInboxMessageError = ({
4584
+ error?: string;
4585
+ code?: 'PLATFORM_LIMITATION';
4586
+ } | {
4587
+ error?: string;
4588
+ } | unknown);
4589
+ type ListInboxCommentsData = {
4590
+ query?: {
4591
+ /**
4592
+ * Filter by specific social account ID
4593
+ */
4594
+ accountId?: string;
4595
+ cursor?: string;
4596
+ limit?: number;
4597
+ /**
4598
+ * Minimum comment count
4599
+ */
4600
+ minComments?: number;
4601
+ /**
4602
+ * Filter by platform
4603
+ */
4604
+ platform?: 'facebook' | 'instagram' | 'youtube' | 'linkedin' | 'reddit' | 'bluesky' | 'tiktok';
4605
+ /**
4606
+ * Filter by profile ID
4607
+ */
4608
+ profileId?: string;
4609
+ /**
4610
+ * Posts created after this date
4611
+ */
4612
+ since?: string;
4613
+ /**
4614
+ * Sort field
4615
+ */
4616
+ sortBy?: 'date' | 'comments';
4617
+ /**
4618
+ * Sort order
4619
+ */
4620
+ sortOrder?: 'asc' | 'desc';
4621
+ };
4622
+ };
4623
+ type ListInboxCommentsResponse = ({
4624
+ data?: Array<{
4625
+ id?: string;
4626
+ platform?: string;
4627
+ accountId?: string;
4628
+ accountUsername?: string;
4629
+ content?: string;
4630
+ picture?: (string) | null;
4631
+ permalink?: (string) | null;
4632
+ createdTime?: string;
4633
+ commentCount?: number;
4634
+ likeCount?: number;
4635
+ /**
4636
+ * Bluesky content identifier
4637
+ */
4638
+ cid?: (string) | null;
4639
+ /**
4640
+ * Reddit subreddit name
4641
+ */
4642
+ subreddit?: (string) | null;
4643
+ }>;
4644
+ pagination?: {
4645
+ hasMore?: boolean;
4646
+ nextCursor?: (string) | null;
4647
+ };
4648
+ meta?: {
4649
+ accountsQueried?: number;
4650
+ accountsFailed?: number;
4651
+ failedAccounts?: Array<{
4652
+ accountId?: string;
4653
+ accountUsername?: (string) | null;
4654
+ platform?: string;
4655
+ error?: string;
4656
+ /**
4657
+ * Error code if available
4658
+ */
4659
+ code?: (string) | null;
4660
+ /**
4661
+ * Seconds to wait before retry (rate limits)
4662
+ */
4663
+ retryAfter?: (number) | null;
4664
+ }>;
4665
+ lastUpdated?: string;
4666
+ };
4667
+ });
4668
+ type ListInboxCommentsError = ({
4669
+ error?: string;
4670
+ } | unknown);
4671
+ type GetInboxPostCommentsData = {
4672
+ path: {
4673
+ postId: string;
4674
+ };
4675
+ query: {
4676
+ accountId: string;
4677
+ /**
4678
+ * (Reddit only) Get replies to a specific comment
4679
+ */
4680
+ commentId?: string;
4681
+ /**
4682
+ * Pagination cursor
4683
+ */
4684
+ cursor?: string;
4685
+ /**
4686
+ * Maximum number of comments to return
4687
+ */
4688
+ limit?: number;
4689
+ /**
4690
+ * (Reddit only) Subreddit name
4691
+ */
4692
+ subreddit?: string;
4693
+ };
4694
+ };
4695
+ type GetInboxPostCommentsResponse = ({
4696
+ status?: string;
4697
+ comments?: Array<{
4698
+ id?: string;
4699
+ message?: string;
4700
+ createdTime?: string;
4701
+ from?: {
4702
+ id?: string;
4703
+ name?: string;
4704
+ username?: string;
4705
+ picture?: (string) | null;
4706
+ isOwner?: boolean;
4707
+ };
4708
+ likeCount?: number;
4709
+ replyCount?: number;
4710
+ /**
4711
+ * The platform this comment is from
4712
+ */
4713
+ platform?: string;
4714
+ /**
4715
+ * Direct link to the comment on the platform (if available)
4716
+ */
4717
+ url?: (string) | null;
4718
+ replies?: Array<{
4719
+ [key: string]: unknown;
4720
+ }>;
4721
+ canReply?: boolean;
4722
+ canDelete?: boolean;
4723
+ /**
4724
+ * Whether this comment can be hidden (Facebook
4725
+ */
4726
+ canHide?: boolean;
4727
+ /**
4728
+ * Whether this comment can be liked (Facebook
4729
+ */
4730
+ canLike?: boolean;
4731
+ /**
4732
+ * Whether the comment is currently hidden
4733
+ */
4734
+ isHidden?: boolean;
4735
+ /**
4736
+ * Whether the current user has liked this comment
4737
+ */
4738
+ isLiked?: boolean;
4739
+ /**
4740
+ * Bluesky like URI for unliking
4741
+ */
4742
+ likeUri?: (string) | null;
4743
+ /**
4744
+ * Bluesky content identifier
4745
+ */
4746
+ cid?: (string) | null;
4747
+ /**
4748
+ * Parent comment ID for nested replies
4749
+ */
4750
+ parentId?: (string) | null;
4751
+ /**
4752
+ * Bluesky root post URI
4753
+ */
4754
+ rootUri?: (string) | null;
4755
+ /**
4756
+ * Bluesky root post CID
4757
+ */
4758
+ rootCid?: (string) | null;
4759
+ }>;
4760
+ pagination?: {
4761
+ hasMore?: boolean;
4762
+ cursor?: (string) | null;
4763
+ };
4764
+ meta?: {
4765
+ platform?: string;
4766
+ postId?: string;
4767
+ accountId?: string;
4768
+ /**
4769
+ * (Reddit only) Subreddit name
4770
+ */
4771
+ subreddit?: (string) | null;
4772
+ lastUpdated?: string;
4773
+ };
4774
+ });
4775
+ type GetInboxPostCommentsError = ({
4776
+ error?: string;
4777
+ } | unknown);
4778
+ type ReplyToInboxPostData = {
4779
+ body: {
4780
+ accountId: string;
4781
+ message: string;
4782
+ /**
4783
+ * Reply to specific comment (optional)
4784
+ */
4785
+ commentId?: string;
4786
+ /**
4787
+ * (Reddit only) Subreddit name for replies
4788
+ */
4789
+ subreddit?: string;
4790
+ /**
4791
+ * (Bluesky only) Parent content identifier
4792
+ */
4793
+ parentCid?: string;
4794
+ /**
4795
+ * (Bluesky only) Root post URI
4796
+ */
4797
+ rootUri?: string;
4798
+ /**
4799
+ * (Bluesky only) Root post CID
4800
+ */
4801
+ rootCid?: string;
4802
+ };
4803
+ path: {
4804
+ postId: string;
4805
+ };
4806
+ };
4807
+ type ReplyToInboxPostResponse = ({
4808
+ success?: boolean;
4809
+ data?: {
4810
+ commentId?: string;
4811
+ isReply?: boolean;
4812
+ /**
4813
+ * Bluesky CID
4814
+ */
4815
+ cid?: (string) | null;
4816
+ };
4817
+ });
4818
+ type ReplyToInboxPostError = ({
4819
+ error?: string;
4820
+ } | unknown);
4821
+ type DeleteInboxCommentData = {
4822
+ path: {
4823
+ postId: string;
4824
+ };
4825
+ query: {
4826
+ accountId: string;
4827
+ commentId: string;
4828
+ };
4829
+ };
4830
+ type DeleteInboxCommentResponse = ({
4831
+ success?: boolean;
4832
+ data?: {
4833
+ message?: string;
4834
+ };
4835
+ });
4836
+ type DeleteInboxCommentError = ({
4837
+ error?: string;
4838
+ } | unknown);
4839
+ type HideInboxCommentData = {
4840
+ body: {
4841
+ /**
4842
+ * The social account ID
4843
+ */
4844
+ accountId: string;
4845
+ };
4846
+ path: {
4847
+ commentId: string;
4848
+ postId: string;
4849
+ };
4850
+ };
4851
+ type HideInboxCommentResponse = ({
4852
+ status?: string;
4853
+ commentId?: string;
4854
+ hidden?: boolean;
4855
+ platform?: string;
4856
+ });
4857
+ type HideInboxCommentError = (unknown | {
4858
+ error?: string;
4859
+ });
4860
+ type UnhideInboxCommentData = {
4861
+ path: {
4862
+ commentId: string;
4863
+ postId: string;
4864
+ };
4865
+ query: {
4866
+ accountId: string;
4867
+ };
4868
+ };
4869
+ type UnhideInboxCommentResponse = ({
4870
+ status?: string;
4871
+ commentId?: string;
4872
+ hidden?: boolean;
4873
+ platform?: string;
4874
+ });
4875
+ type UnhideInboxCommentError = (unknown | {
4876
+ error?: string;
4877
+ });
4878
+ type LikeInboxCommentData = {
4879
+ body: {
4880
+ /**
4881
+ * The social account ID
4882
+ */
4883
+ accountId: string;
4884
+ /**
4885
+ * (Bluesky only) Content identifier for the comment
4886
+ */
4887
+ cid?: string;
4888
+ };
4889
+ path: {
4890
+ commentId: string;
4891
+ postId: string;
4892
+ };
4893
+ };
4894
+ type LikeInboxCommentResponse = ({
4895
+ status?: string;
4896
+ commentId?: string;
4897
+ liked?: boolean;
4898
+ /**
4899
+ * (Bluesky only) URI to use for unliking
4900
+ */
4901
+ likeUri?: string;
4902
+ platform?: string;
4903
+ });
4904
+ type LikeInboxCommentError = (unknown | {
4905
+ error?: string;
4906
+ });
4907
+ type UnlikeInboxCommentData = {
4908
+ path: {
4909
+ commentId: string;
4910
+ postId: string;
4911
+ };
4912
+ query: {
4913
+ accountId: string;
4914
+ /**
4915
+ * (Bluesky only) The like URI returned when liking
4916
+ */
4917
+ likeUri?: string;
4918
+ };
4919
+ };
4920
+ type UnlikeInboxCommentResponse = ({
4921
+ status?: string;
4922
+ commentId?: string;
4923
+ liked?: boolean;
4924
+ platform?: string;
4925
+ });
4926
+ type UnlikeInboxCommentError = (unknown | {
4927
+ error?: string;
4928
+ });
4929
+ type ListInboxReviewsData = {
4930
+ query?: {
4931
+ /**
4932
+ * Filter by specific social account ID
4933
+ */
4934
+ accountId?: string;
4935
+ cursor?: string;
4936
+ /**
4937
+ * Filter by reply status
4938
+ */
4939
+ hasReply?: boolean;
4940
+ limit?: number;
4941
+ maxRating?: number;
4942
+ minRating?: number;
4943
+ platform?: 'facebook' | 'googlebusiness';
4944
+ profileId?: string;
4945
+ sortBy?: 'date' | 'rating';
4946
+ sortOrder?: 'asc' | 'desc';
4947
+ };
4948
+ };
4949
+ type ListInboxReviewsResponse = ({
4950
+ status?: string;
4951
+ data?: Array<{
4952
+ id?: string;
4953
+ platform?: string;
4954
+ accountId?: string;
4955
+ accountUsername?: string;
4956
+ reviewer?: {
4957
+ id?: (string) | null;
4958
+ name?: string;
4959
+ profileImage?: (string) | null;
4960
+ };
4961
+ rating?: number;
4962
+ text?: string;
4963
+ created?: string;
4964
+ hasReply?: boolean;
4965
+ reply?: {
4966
+ id?: string;
4967
+ text?: string;
4968
+ created?: string;
4969
+ } | null;
4970
+ reviewUrl?: (string) | null;
4971
+ }>;
4972
+ pagination?: {
4973
+ hasMore?: boolean;
4974
+ nextCursor?: (string) | null;
4975
+ };
4976
+ meta?: {
4977
+ accountsQueried?: number;
4978
+ accountsFailed?: number;
4979
+ failedAccounts?: Array<{
4980
+ accountId?: string;
4981
+ accountUsername?: (string) | null;
4982
+ platform?: string;
4983
+ error?: string;
4984
+ /**
4985
+ * Error code if available
4986
+ */
4987
+ code?: (string) | null;
4988
+ /**
4989
+ * Seconds to wait before retry (rate limits)
4990
+ */
4991
+ retryAfter?: (number) | null;
4992
+ }>;
4993
+ lastUpdated?: string;
4994
+ };
4995
+ summary?: {
4996
+ totalReviews?: number;
4997
+ averageRating?: (number) | null;
4998
+ };
4999
+ });
5000
+ type ListInboxReviewsError = ({
5001
+ error?: string;
5002
+ } | unknown);
5003
+ type ReplyToInboxReviewData = {
5004
+ body: {
5005
+ accountId: string;
5006
+ message: string;
5007
+ };
5008
+ path: {
5009
+ /**
5010
+ * Review ID (URL-encoded for Google Business)
5011
+ */
5012
+ reviewId: string;
5013
+ };
5014
+ };
5015
+ type ReplyToInboxReviewResponse = ({
5016
+ status?: string;
5017
+ reply?: {
5018
+ id?: string;
5019
+ text?: string;
5020
+ created?: string;
5021
+ };
5022
+ platform?: string;
5023
+ });
5024
+ type ReplyToInboxReviewError = ({
5025
+ error?: string;
5026
+ } | unknown);
5027
+ type DeleteInboxReviewReplyData = {
5028
+ body: {
5029
+ accountId: string;
5030
+ };
5031
+ path: {
5032
+ reviewId: string;
5033
+ };
5034
+ };
5035
+ type DeleteInboxReviewReplyResponse = ({
5036
+ status?: string;
5037
+ message?: string;
5038
+ platform?: string;
5039
+ });
5040
+ type DeleteInboxReviewReplyError = ({
5041
+ error?: string;
5042
+ } | unknown);
4110
5043
 
4111
- 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 };
5044
+ 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 };