@getlatedev/node 0.1.24 → 0.1.26

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
@@ -273,8 +273,6 @@ declare class Late {
273
273
  * Logs API - Publishing logs
274
274
  */
275
275
  logs: {
276
- listLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListLogsResponse, ListLogsError, ThrowOnError>;
277
- getLog: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetLogData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetLogResponse, unknown, ThrowOnError>;
278
276
  listPostsLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListPostsLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListPostsLogsResponse, ListPostsLogsError, ThrowOnError>;
279
277
  listConnectionLogs: <ThrowOnError extends boolean = false>(options?: _hey_api_client_fetch.OptionsLegacyParser<ListConnectionLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<ListConnectionLogsResponse, ListConnectionLogsError, ThrowOnError>;
280
278
  getPostLogs: <ThrowOnError extends boolean = false>(options: _hey_api_client_fetch.OptionsLegacyParser<GetPostLogsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<GetPostLogsResponse, unknown, ThrowOnError>;
@@ -484,12 +482,7 @@ type ApiKey = {
484
482
  key?: string;
485
483
  };
486
484
  /**
487
- * Bluesky post settings:
488
- * - Supports text posts with up to 4 images per post
489
- * - Videos supported (single video per post)
490
- * - threadItems creates a reply chain (Bluesky thread)
491
- * - Images exceeding Bluesky's 1MB limit are automatically compressed
492
- * - Alt text for images is supported via mediaItem properties
485
+ * Bluesky post settings. Supports text posts with up to 4 images or a single video. threadItems creates a reply chain (Bluesky thread). Images exceeding 1MB are automatically compressed. Alt text supported via mediaItem properties.
493
486
  *
494
487
  */
495
488
  type BlueskyPlatformData = {
@@ -520,13 +513,7 @@ type ConnectionLog = {
520
513
  accountId?: string;
521
514
  platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
522
515
  /**
523
- * Type of connection event:
524
- * - `connect_success` - New account connected successfully
525
- * - `connect_failed` - Connection attempt failed
526
- * - `disconnect` - Account was disconnected
527
- * - `reconnect_success` - Existing account reconnected successfully
528
- * - `reconnect_failed` - Reconnection attempt failed
529
- *
516
+ * Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
530
517
  */
531
518
  eventType?: 'connect_success' | 'connect_failed' | 'disconnect' | 'reconnect_success' | 'reconnect_failed';
532
519
  /**
@@ -595,13 +582,7 @@ type ConnectionLog = {
595
582
  };
596
583
  type platform = 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat';
597
584
  /**
598
- * Type of connection event:
599
- * - `connect_success` - New account connected successfully
600
- * - `connect_failed` - Connection attempt failed
601
- * - `disconnect` - Account was disconnected
602
- * - `reconnect_success` - Existing account reconnected successfully
603
- * - `reconnect_failed` - Reconnection attempt failed
604
- *
585
+ * Type of connection event: connect_success, connect_failed, disconnect, reconnect_success, reconnect_failed
605
586
  */
606
587
  type eventType = 'connect_success' | 'connect_failed' | 'disconnect' | 'reconnect_success' | 'reconnect_failed';
607
588
  /**
@@ -629,14 +610,7 @@ type ErrorResponse = {
629
610
  };
630
611
  };
631
612
  /**
632
- * Constraints:
633
- * - Posts cannot mix videos and images.
634
- * - Multiple images supported via attached_media (up to 10 images for feed posts).
635
- * - Multiple videos in the same post are not supported.
636
- * - Stories require media (single image or video); text captions are not displayed with stories.
637
- * - Stories are ephemeral (disappear after 24 hours).
638
- * - Use pageId to post to multiple pages from the same account connection.
639
- *
613
+ * Up to 10 images for feed posts, cannot mix videos and images. Stories require single image or video (ephemeral 24h, no captions). Use pageId for multi-page posting.
640
614
  */
641
615
  type FacebookPlatformData = {
642
616
  /**
@@ -648,10 +622,7 @@ type FacebookPlatformData = {
648
622
  */
649
623
  firstComment?: string;
650
624
  /**
651
- * Target Facebook Page ID for multi-page posting.
652
- * If omitted, uses the selected/default page on the connection.
653
- * Use GET /api/v1/accounts/{id}/facebook-page to list available pages.
654
- *
625
+ * Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
655
626
  */
656
627
  pageId?: string;
657
628
  };
@@ -737,30 +708,15 @@ type FoodMenuSection = {
737
708
  items?: Array<FoodMenuItem>;
738
709
  };
739
710
  /**
740
- * Google Business Profile post settings:
741
- * - Posts support text content and a single image (no videos)
742
- * - Images must be publicly accessible URLs
743
- * - Call-to-action buttons drive user engagement
744
- * - Posts appear on your Google Business Profile and in Google Search/Maps
745
- * - Use locationId to post to multiple locations from the same account connection
746
- * - Language is auto-detected from content; override with languageCode if needed
747
- *
711
+ * Text and single image only (no videos). Optional call-to-action button. Posts appear on GBP, Google Search, and Maps. Use locationId for multi-location posting.
748
712
  */
749
713
  type GoogleBusinessPlatformData = {
750
714
  /**
751
- * Target Google Business location ID for multi-location posting.
752
- * Format: "locations/123456789"
753
- * If omitted, uses the selected/default location on the connection.
754
- * Use GET /api/v1/accounts/{id}/gmb-locations to list available locations.
755
- *
715
+ * Target GBP location ID (e.g. "locations/123456789"). If omitted, uses the default location. Use GET /v1/accounts/{id}/gmb-locations to list locations.
756
716
  */
757
717
  locationId?: string;
758
718
  /**
759
- * BCP 47 language code for the post content (e.g., "en", "de", "es", "fr").
760
- * If omitted, the language is automatically detected from the post text.
761
- * Setting this explicitly is recommended when auto-detection may not be accurate
762
- * (e.g., very short posts, mixed-language content, or transliterated text).
763
- *
719
+ * BCP 47 language code (e.g. "en", "de", "es"). Auto-detected if omitted. Set explicitly for short or mixed-language posts.
764
720
  */
765
721
  languageCode?: string;
766
722
  /**
@@ -768,14 +724,7 @@ type GoogleBusinessPlatformData = {
768
724
  */
769
725
  callToAction?: {
770
726
  /**
771
- * Button action type:
772
- * - LEARN_MORE: Link to more information
773
- * - BOOK: Booking/reservation link
774
- * - ORDER: Online ordering link
775
- * - SHOP: E-commerce/shopping link
776
- * - SIGN_UP: Registration/signup link
777
- * - CALL: Phone call action
778
- *
727
+ * Button action type: LEARN_MORE, BOOK, ORDER, SHOP, SIGN_UP, CALL
779
728
  */
780
729
  type: 'LEARN_MORE' | 'BOOK' | 'ORDER' | 'SHOP' | 'SIGN_UP' | 'CALL';
781
730
  /**
@@ -785,14 +734,7 @@ type GoogleBusinessPlatformData = {
785
734
  };
786
735
  };
787
736
  /**
788
- * Button action type:
789
- * - LEARN_MORE: Link to more information
790
- * - BOOK: Booking/reservation link
791
- * - ORDER: Online ordering link
792
- * - SHOP: E-commerce/shopping link
793
- * - SIGN_UP: Registration/signup link
794
- * - CALL: Phone call action
795
- *
737
+ * Button action type: LEARN_MORE, BOOK, ORDER, SHOP, SIGN_UP, CALL
796
738
  */
797
739
  type type = 'LEARN_MORE' | 'BOOK' | 'ORDER' | 'SHOP' | 'SIGN_UP' | 'CALL';
798
740
  type HashtagCheckResponse = {
@@ -805,21 +747,7 @@ type HashtagInfo = {
805
747
  };
806
748
  type status = 'safe' | 'banned' | 'restricted' | 'unknown';
807
749
  /**
808
- * Constraints:
809
- * - Feed posts require images with aspect ratio between 0.8 (4:5 portrait) and 1.91 (1.91:1 landscape).
810
- * - Images outside this range (e.g., 9:16 Stories/TikTok format) must use contentType 'story'.
811
- * - Validation happens at post creation; invalid images are rejected immediately with helpful error messages.
812
- * - Carousels support up to 10 media items.
813
- * - Stories require media; no captions are published with Stories.
814
- * - User tags: coordinates range from 0.0 to 1.0 representing position from top-left corner. For carousels, use `mediaIndex` to tag specific slides. Tagged users receive notifications.
815
- *
816
- * **Automatic Compression (similar to Bluesky):**
817
- * - All images (story, post, carousel, thumbnails) exceeding 8 MB are automatically compressed using quality reduction and resizing.
818
- * - Story videos exceeding 100 MB are automatically compressed.
819
- * - Reel videos exceeding 300 MB are automatically compressed.
820
- * - Compression uses Sharp (images) and FFmpeg (videos) to maintain quality while meeting size limits.
821
- * - Original files are preserved; compressed versions are uploaded to blob storage automatically.
822
- *
750
+ * Feed aspect ratio 0.8-1.91, carousels up to 10 items, stories require media (no captions). User tag coordinates 0.0-1.0 from top-left. Images over 8 MB and videos over platform limits are auto-compressed.
823
751
  */
824
752
  type InstagramPlatformData = {
825
753
  /**
@@ -839,27 +767,16 @@ type InstagramPlatformData = {
839
767
  */
840
768
  firstComment?: string;
841
769
  /**
842
- * Trial Reels configuration. Trial reels are only shared to non-followers initially.
843
- * They can later be "graduated" (converted to regular reels visible to followers)
844
- * either manually in the Instagram app or automatically based on performance.
845
- * Only applies to Reels (video posts).
846
- *
770
+ * Trial Reels configuration. Trial reels are shared to non-followers first and can later be graduated to regular reels manually or automatically based on performance. Only applies to Reels.
847
771
  */
848
772
  trialParams?: {
849
773
  /**
850
- * The graduation strategy specifies when a trial reel becomes a regular reel:
851
- * - MANUAL: The trial reel can only be manually graduated from the native Instagram app.
852
- * - SS_PERFORMANCE: The trial reel will be automatically graduated if it performs well with non-followers.
853
- *
774
+ * MANUAL (graduate from Instagram app) or SS_PERFORMANCE (auto-graduate if performs well with non-followers)
854
775
  */
855
776
  graduationStrategy?: 'MANUAL' | 'SS_PERFORMANCE';
856
777
  };
857
778
  /**
858
- * Tag Instagram users in photos by username and position coordinates. Not supported for stories or videos.
859
- * For carousel posts, use the optional `mediaIndex` field to specify which slide each tag applies to.
860
- * Tags without `mediaIndex` default to the first image (index 0) for backwards compatibility.
861
- * Tags targeting video items are silently skipped (Instagram only supports tagging on images).
862
- *
779
+ * Tag Instagram users in photos by username and position. Not supported for stories or videos. For carousels, use mediaIndex to target specific slides (defaults to 0). Tags on video items are silently skipped.
863
780
  */
864
781
  userTags?: Array<{
865
782
  /**
@@ -875,33 +792,21 @@ type InstagramPlatformData = {
875
792
  */
876
793
  y: number;
877
794
  /**
878
- * Zero-based index of the carousel item to tag. Defaults to 0 (first image) if omitted.
879
- * Only relevant for carousel posts. Tags targeting video items or out-of-range indices are ignored.
880
- *
795
+ * Zero-based index of the carousel item to tag. Defaults to 0. Tags on video items or out-of-range indices are ignored.
881
796
  */
882
797
  mediaIndex?: number;
883
798
  }>;
884
799
  /**
885
- * Custom name for the original audio in Reels. Replaces the default "Original Audio" label.
886
- * Only applies to Reels (video posts). Can only be set once - either during creation or
887
- * later from the Instagram audio page in the app.
888
- *
800
+ * Custom name for original audio in Reels. Replaces the default "Original Audio" label. Can only be set once.
889
801
  */
890
802
  audioName?: string;
891
803
  /**
892
- * Millisecond offset from the start of the video to use as the Reel thumbnail.
893
- * Only applies to Reels (video posts). If a custom thumbnail URL (instagramThumbnail
894
- * in mediaItems) is provided, it takes priority and this offset is ignored.
895
- * Defaults to 0 (first frame).
896
- *
804
+ * Millisecond offset from video start for the Reel thumbnail. Ignored if a custom thumbnail URL is provided. Defaults to 0.
897
805
  */
898
806
  thumbOffset?: number;
899
807
  };
900
808
  /**
901
- * The graduation strategy specifies when a trial reel becomes a regular reel:
902
- * - MANUAL: The trial reel can only be manually graduated from the native Instagram app.
903
- * - SS_PERFORMANCE: The trial reel will be automatically graduated if it performs well with non-followers.
904
- *
809
+ * MANUAL (graduate from Instagram app) or SS_PERFORMANCE (auto-graduate if performs well with non-followers)
905
810
  */
906
811
  type graduationStrategy = 'MANUAL' | 'SS_PERFORMANCE';
907
812
  /**
@@ -918,9 +823,7 @@ type LinkedInAggregateAnalyticsDailyResponse = {
918
823
  endDate?: string;
919
824
  } | null;
920
825
  /**
921
- * Daily breakdown of each metric. Each metric contains an array of date/count pairs.
922
- * Note: 'reach' (MEMBERS_REACHED) is not available with DAILY aggregation per LinkedIn API limitations.
923
- *
826
+ * Daily breakdown of each metric as date/count pairs. Reach not available with DAILY aggregation.
924
827
  */
925
828
  analytics?: {
926
829
  impressions?: Array<{
@@ -992,22 +895,11 @@ type LinkedInAggregateAnalyticsTotalResponse = {
992
895
  };
993
896
  type aggregation3 = 'TOTAL';
994
897
  /**
995
- * Constraints:
996
- * - Multi-image posts support up to 20 images.
997
- * - Multi-video posts are not supported.
998
- * - Single PDF document posts are supported (max 100MB, ~300 pages). Documents cannot be mixed with other media.
999
- * - Post ID is returned in the x-restli-id response header.
1000
- * - Link previews are automatically generated for URLs when no media is attached (can be disabled with disableLinkPreview).
1001
- * - Use organizationUrn to post to multiple organizations from the same account connection.
1002
- *
898
+ * Up to 20 images, no multi-video. Single PDF supported (max 100MB). Link previews auto-generated when no media attached. Use organizationUrn for multi-org posting.
1003
899
  */
1004
900
  type LinkedInPlatformData = {
1005
901
  /**
1006
- * Target LinkedIn Organization URN for multi-organization posting.
1007
- * Format: "urn:li:organization:123456789"
1008
- * If omitted, uses the selected/default organization on the connection.
1009
- * Use GET /api/v1/accounts/{id}/linkedin-organizations to list available organizations.
1010
- *
902
+ * Target LinkedIn Organization URN (e.g. "urn:li:organization:123456789"). If omitted, uses the default org. Use GET /v1/accounts/{id}/linkedin-organizations to list orgs.
1011
903
  */
1012
904
  organizationUrn?: string;
1013
905
  /**
@@ -1020,16 +912,7 @@ type LinkedInPlatformData = {
1020
912
  disableLinkPreview?: boolean;
1021
913
  };
1022
914
  /**
1023
- * Media referenced in posts. URLs must be publicly reachable over HTTPS by the destination platforms.
1024
- * When using third-party storage, ensure signed links remain valid until upload completes.
1025
- *
1026
- * **Uploading Media:**
1027
- * Use `POST /v1/media/presign` to get a presigned URL, then upload your file directly to cloud storage.
1028
- * Supports files up to 5GB. See the `/v1/media/presign` endpoint documentation for details.
1029
- *
1030
- * **Automatic Media Compression:**
1031
- * Late automatically compresses images and videos that exceed platform limits. Compression happens server-side during publishing. Videos larger than 200 MB may not be compressed due to server timeout constraints.
1032
- *
915
+ * Media referenced in posts. URLs must be publicly reachable over HTTPS. Use POST /v1/media/presign for uploads up to 5GB. Late auto-compresses images and videos that exceed platform limits (videos over 200 MB may not be compressed).
1033
916
  */
1034
917
  type MediaItem = {
1035
918
  type?: 'image' | 'video' | 'gif' | 'document';
@@ -1156,11 +1039,7 @@ type PlatformTarget = {
1156
1039
  */
1157
1040
  platformPostId?: string;
1158
1041
  /**
1159
- * Public URL of the published post on the platform.
1160
- * Populated after successful publish. For immediate posts (publishNow=true),
1161
- * this is included in the response. For scheduled posts, fetch the post
1162
- * via GET /v1/posts/{postId} after the scheduled time.
1163
- *
1042
+ * Public URL of the published post. Included in the response for immediate posts; for scheduled posts, fetch via GET /v1/posts/{postId} after publish time.
1164
1043
  */
1165
1044
  platformPostUrl?: string;
1166
1045
  /**
@@ -1168,57 +1047,24 @@ type PlatformTarget = {
1168
1047
  */
1169
1048
  publishedAt?: string;
1170
1049
  /**
1171
- * Human-readable error message when status is 'failed'.
1172
- * Contains platform-specific error details explaining why the publish failed.
1173
- * Examples:
1174
- * - "Instagram access token has expired. Please reconnect your account."
1175
- * - "Post text exceeds the 500 character limit for Threads."
1176
- * - "You do not have enough karma to post in this subreddit."
1177
- * - "Video is too long for Reels. Facebook Reels must be 90 seconds or less."
1178
- *
1050
+ * Human-readable error message when status is failed. Contains platform-specific error details explaining why the publish failed.
1179
1051
  */
1180
1052
  errorMessage?: string;
1181
1053
  /**
1182
- * Error category for programmatic handling:
1183
- * - auth_expired: Token expired or revoked, account needs reconnection
1184
- * - user_content: Content doesn't meet platform requirements (too long, wrong format, etc.)
1185
- * - user_abuse: Rate limits, spam detection, excessive posting
1186
- * - account_issue: Account configuration problems (missing board, inactive account)
1187
- * - platform_rejected: Platform rules violated (banned, suspended, policy violation)
1188
- * - platform_error: Platform-side issues (5xx errors, maintenance)
1189
- * - system_error: Late infrastructure issues (timeouts, network errors)
1190
- * - unknown: Unclassified error
1191
- *
1054
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1192
1055
  */
1193
1056
  errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1194
1057
  /**
1195
- * Who/what caused the error:
1196
- * - user: User action required (fix content, reconnect account)
1197
- * - platform: Platform-side issue (outage, API change)
1198
- * - system: Late system issue (rare)
1199
- *
1058
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1200
1059
  */
1201
1060
  errorSource?: 'user' | 'platform' | 'system';
1202
1061
  };
1203
1062
  /**
1204
- * Error category for programmatic handling:
1205
- * - auth_expired: Token expired or revoked, account needs reconnection
1206
- * - user_content: Content doesn't meet platform requirements (too long, wrong format, etc.)
1207
- * - user_abuse: Rate limits, spam detection, excessive posting
1208
- * - account_issue: Account configuration problems (missing board, inactive account)
1209
- * - platform_rejected: Platform rules violated (banned, suspended, policy violation)
1210
- * - platform_error: Platform-side issues (5xx errors, maintenance)
1211
- * - system_error: Late infrastructure issues (timeouts, network errors)
1212
- * - unknown: Unclassified error
1213
- *
1063
+ * Error category for programmatic handling: auth_expired (token expired/revoked), user_content (wrong format/too long), user_abuse (rate limits/spam), account_issue (config problems), platform_rejected (policy violation), platform_error (5xx/maintenance), system_error (Late infra), unknown
1214
1064
  */
1215
1065
  type errorCategory = 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'system_error' | 'unknown';
1216
1066
  /**
1217
- * Who/what caused the error:
1218
- * - user: User action required (fix content, reconnect account)
1219
- * - platform: Platform-side issue (outage, API change)
1220
- * - system: Late system issue (rare)
1221
- *
1067
+ * Who caused the error: user (fix content/reconnect), platform (outage/API change), system (Late issue, rare)
1222
1068
  */
1223
1069
  type errorSource = 'user' | 'platform' | 'system';
1224
1070
  type Post = {
@@ -1236,11 +1082,7 @@ type Post = {
1236
1082
  timezone?: string;
1237
1083
  status?: 'draft' | 'scheduled' | 'publishing' | 'published' | 'failed' | 'partial';
1238
1084
  /**
1239
- * YouTube tag constraints when targeting YouTube:
1240
- * - No count cap; duplicates removed.
1241
- * - Each tag must be ≤ 100 chars.
1242
- * - Combined characters across all tags ≤ 500.
1243
- *
1085
+ * YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates removed.
1244
1086
  */
1245
1087
  tags?: Array<(string)>;
1246
1088
  hashtags?: Array<(string)>;
@@ -1303,14 +1145,7 @@ type PostLog = {
1303
1145
  accountId?: string;
1304
1146
  accountUsername?: string;
1305
1147
  /**
1306
- * Type of action logged:
1307
- * - `publish` - Initial publish attempt
1308
- * - `retry` - Retry after failure
1309
- * - `media_upload` - Media upload step
1310
- * - `rate_limit_pause` - Account paused due to rate limits
1311
- * - `token_refresh` - Token was refreshed
1312
- * - `cancelled` - Post was cancelled
1313
- *
1148
+ * Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
1314
1149
  */
1315
1150
  action?: 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled';
1316
1151
  status?: 'success' | 'failed' | 'pending' | 'skipped';
@@ -1372,49 +1207,10 @@ type PostLog = {
1372
1207
  createdAt?: string;
1373
1208
  };
1374
1209
  /**
1375
- * Type of action logged:
1376
- * - `publish` - Initial publish attempt
1377
- * - `retry` - Retry after failure
1378
- * - `media_upload` - Media upload step
1379
- * - `rate_limit_pause` - Account paused due to rate limits
1380
- * - `token_refresh` - Token was refreshed
1381
- * - `cancelled` - Post was cancelled
1382
- *
1210
+ * Type of action logged: publish (initial attempt), retry (after failure), media_upload, rate_limit_pause, token_refresh, cancelled
1383
1211
  */
1384
1212
  type action = 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled';
1385
1213
  type status3 = 'success' | 'failed' | 'pending' | 'skipped';
1386
- type PostLogDetail = PostLog & {
1387
- /**
1388
- * Populated post with full details
1389
- */
1390
- postId?: {
1391
- _id?: string;
1392
- content?: string;
1393
- status?: string;
1394
- scheduledFor?: string;
1395
- platforms?: Array<{
1396
- [key: string]: unknown;
1397
- }>;
1398
- mediaItems?: Array<{
1399
- [key: string]: unknown;
1400
- }>;
1401
- };
1402
- /**
1403
- * Populated account reference
1404
- */
1405
- accountId?: {
1406
- _id?: string;
1407
- platform?: string;
1408
- username?: string;
1409
- displayName?: string;
1410
- };
1411
- /**
1412
- * Additional metadata (e.g., rate limit info)
1413
- */
1414
- metadata?: {
1415
- [key: string]: unknown;
1416
- };
1417
- };
1418
1214
  type PostRetryResponse = {
1419
1215
  message?: string;
1420
1216
  post?: Post;
@@ -1435,10 +1231,7 @@ type Profile = {
1435
1231
  color?: string;
1436
1232
  isDefault?: boolean;
1437
1233
  /**
1438
- * Only present when `includeOverLimit=true` is used. Indicates if this profile
1439
- * exceeds the user's plan limit. Over-limit profiles cannot be used for posting
1440
- * but can be managed (disconnected accounts, deleted).
1441
- *
1234
+ * Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
1442
1235
  */
1443
1236
  isOverLimit?: boolean;
1444
1237
  createdAt?: string;
@@ -1525,22 +1318,11 @@ type QueueUpdateResponse = {
1525
1318
  reshuffledCount?: number;
1526
1319
  };
1527
1320
  /**
1528
- * Reddit post settings:
1529
- * - Posts are either "link" (with URL/media) or "self" (text-only)
1530
- * - If media is provided, the first media item's URL is used as the link
1531
- * - Use forceSelf to override and create a text post with the URL in the body
1532
- * - Subreddit defaults to the account's configured subreddit if omitted
1533
- * - Use the same accountId multiple times with different subreddit values in platformSpecificData to post to multiple subreddits
1534
- * - Images are automatically compressed if they exceed Reddit's 20MB limit
1535
- * - Some subreddits require a flair; if not provided, the API will attempt to use the first available flair as fallback
1536
- *
1321
+ * Posts are either link (with URL/media) or self (text-only). Use forceSelf to override. Subreddit defaults to the account's configured one. Some subreddits require a flair.
1537
1322
  */
1538
1323
  type RedditPlatformData = {
1539
1324
  /**
1540
- * Target subreddit name (without "r/" prefix).
1541
- * Overrides the default subreddit configured on the account connection.
1542
- * Use GET /api/v1/accounts/{id}/reddit-subreddits to list available subreddits.
1543
- *
1325
+ * Target subreddit name (without "r/" prefix). Overrides the default. Use GET /v1/accounts/{id}/reddit-subreddits to list options.
1544
1326
  */
1545
1327
  subreddit?: string;
1546
1328
  /**
@@ -1556,36 +1338,21 @@ type RedditPlatformData = {
1556
1338
  */
1557
1339
  forceSelf?: boolean;
1558
1340
  /**
1559
- * Flair ID for the post. Required by some subreddits.
1560
- * Use GET /api/v1/accounts/{id}/reddit-flairs?subreddit=name to list available flairs.
1561
- *
1341
+ * Flair ID for the post. Required by some subreddits. Use GET /v1/accounts/{id}/reddit-flairs?subreddit=name to list flairs.
1562
1342
  */
1563
1343
  flairId?: string;
1564
1344
  };
1565
1345
  /**
1566
- * Snapchat requires a Public Profile. Media is required for all content types (single item only, auto-encrypted before upload).
1567
- *
1568
- * **Content types:** Story (ephemeral 24h, no caption), Saved Story (permanent, title max 45 chars), Spotlight (video, description max 160 chars).
1569
- *
1570
- * **Media limits:** Images max 20 MB (JPEG/PNG), videos max 500 MB (MP4, 5-60s, min 540x960px, 9:16 recommended).
1571
- *
1346
+ * Requires a Public Profile. Single media item only. Content types: story (ephemeral 24h), saved_story (permanent, title max 45 chars), spotlight (video, max 160 chars).
1572
1347
  */
1573
1348
  type SnapchatPlatformData = {
1574
1349
  /**
1575
- * Type of Snapchat content to publish:
1576
- * - `story` - Ephemeral snap visible for 24 hours (default)
1577
- * - `saved_story` - Permanent story saved to Public Profile
1578
- * - `spotlight` - Video posted to Spotlight (Snapchat's TikTok-like feed)
1579
- *
1350
+ * Content type: story (ephemeral 24h, default), saved_story (permanent on Public Profile), spotlight (video feed)
1580
1351
  */
1581
1352
  contentType?: 'story' | 'saved_story' | 'spotlight';
1582
1353
  };
1583
1354
  /**
1584
- * Type of Snapchat content to publish:
1585
- * - `story` - Ephemeral snap visible for 24 hours (default)
1586
- * - `saved_story` - Permanent story saved to Public Profile
1587
- * - `spotlight` - Video posted to Spotlight (Snapchat's TikTok-like feed)
1588
- *
1355
+ * Content type: story (ephemeral 24h, default), saved_story (permanent on Public Profile), spotlight (video feed)
1589
1356
  */
1590
1357
  type contentType2 = 'story' | 'saved_story' | 'spotlight';
1591
1358
  type SocialAccount = {
@@ -1595,20 +1362,7 @@ type SocialAccount = {
1595
1362
  username?: string;
1596
1363
  displayName?: string;
1597
1364
  /**
1598
- * Full profile URL for the connected account. Available for all platforms:
1599
- * - Twitter/X: https://x.com/{username}
1600
- * - Instagram: https://instagram.com/{username}
1601
- * - TikTok: https://tiktok.com/@{username}
1602
- * - YouTube: https://youtube.com/@{handle} or https://youtube.com/channel/{id}
1603
- * - LinkedIn Personal: https://www.linkedin.com/in/{vanityName}/
1604
- * - LinkedIn Organization: https://www.linkedin.com/company/{vanityName}/
1605
- * - Threads: https://threads.net/@{username}
1606
- * - Pinterest: https://pinterest.com/{username}
1607
- * - Reddit: https://reddit.com/user/{username}
1608
- * - Bluesky: https://bsky.app/profile/{handle}
1609
- * - Facebook: https://facebook.com/{username} or https://facebook.com/{pageId}
1610
- * - Google Business: Google Maps URL for the business location
1611
- *
1365
+ * Full profile URL for the connected account on its platform.
1612
1366
  */
1613
1367
  profileUrl?: string;
1614
1368
  isActive?: boolean;
@@ -1622,18 +1376,7 @@ type SocialAccount = {
1622
1376
  followersLastUpdated?: string;
1623
1377
  };
1624
1378
  /**
1625
- * Telegram channel/group posting settings:
1626
- * - Supports text, images (up to 10), videos (up to 10), and mixed media albums
1627
- * - Posts to channels display the channel name and logo as author
1628
- * - Posts to groups display the bot name (Late) as author
1629
- * - Message IDs are returned for analytics tracking
1630
- * - Captions support up to 1024 characters for media posts, 4096 for text-only
1631
- *
1632
- * **Analytics:**
1633
- * - **Not available via API.** The Telegram Bot API does not expose message analytics (views, forwards, reactions).
1634
- * - View counts are only visible to channel admins directly in the Telegram app.
1635
- * - This is a Telegram platform limitation that affects all third-party tools.
1636
- *
1379
+ * Text, images (up to 10), videos (up to 10), and mixed media albums. Captions up to 1024 chars for media, 4096 for text-only.
1637
1380
  */
1638
1381
  type TelegramPlatformData = {
1639
1382
  /**
@@ -1658,13 +1401,7 @@ type TelegramPlatformData = {
1658
1401
  */
1659
1402
  type parseMode = 'HTML' | 'Markdown' | 'MarkdownV2';
1660
1403
  /**
1661
- * Constraints:
1662
- * - Carousel posts support up to 10 images (no videos in carousels).
1663
- * - Single posts support one image or one video.
1664
- * - Videos must be H.264/AAC MP4 format, max 5 minutes duration.
1665
- * - Images must be JPEG or PNG, max 8 MB each.
1666
- * - threadItems creates a reply chain (Threads equivalent of Twitter threads).
1667
- *
1404
+ * Up to 10 images per carousel (no videos). Videos must be H.264/AAC MP4, max 5 min. Images JPEG/PNG, max 8 MB. Use threadItems for reply chains.
1668
1405
  */
1669
1406
  type ThreadsPlatformData = {
1670
1407
  /**
@@ -1676,25 +1413,11 @@ type ThreadsPlatformData = {
1676
1413
  }>;
1677
1414
  };
1678
1415
  /**
1679
- * TikTok platform-specific settings for video/photo posting.
1680
- *
1681
- * **Constraints:**
1682
- * - Photo carousels support up to 35 images.
1683
- * - **Title length limits**:
1684
- * - Videos: up to 2200 chars (full content used as title)
1685
- * - Photos: content is automatically truncated to 90 chars for title (hashtags/URLs stripped). Use 'description' field for longer text (up to 4000 chars).
1686
- * - privacyLevel must be chosen from creator_info.privacy_level_options (no defaulting).
1687
- * - allowDuet and allowStitch required for videos; allowComment for all.
1688
- * - contentPreviewConfirmed and expressConsentGiven must be true before posting.
1689
- *
1690
- * **Note:** Both camelCase and snake_case field names are accepted for backwards compatibility.
1691
- * The nested `tiktokSettings` object format is also still supported but deprecated.
1692
- *
1416
+ * Photo carousels up to 35 images. Video titles up to 2200 chars, photo titles truncated to 90 chars. privacyLevel must match creator_info options. Both camelCase and snake_case accepted.
1693
1417
  */
1694
1418
  type TikTokPlatformData = {
1695
1419
  /**
1696
- * When true, Late sends the post to the TikTok Creator Inbox as a draft instead of publishing it immediately. When omitted or false, TikTok uses direct posting (live publish) as usual.
1697
- *
1420
+ * When true, sends the post to the TikTok Creator Inbox as a draft instead of publishing immediately.
1698
1421
  */
1699
1422
  draft?: boolean;
1700
1423
  /**
@@ -1754,9 +1477,7 @@ type TikTokPlatformData = {
1754
1477
  */
1755
1478
  videoMadeWithAi?: boolean;
1756
1479
  /**
1757
- * Optional long-form description for photo posts (max 4000 chars).
1758
- * Recommended for photo posts when content exceeds 90 characters, as photo titles are automatically truncated to 90 chars (after stripping hashtags/URLs).
1759
- *
1480
+ * Optional long-form description for photo posts (max 4000 chars). Recommended when content exceeds 90 chars, as photo titles are auto-truncated.
1760
1481
  */
1761
1482
  description?: string;
1762
1483
  };
@@ -1768,29 +1489,6 @@ type commercialContentType = 'none' | 'brand_organic' | 'brand_content';
1768
1489
  * Optional override. Defaults based on provided media items.
1769
1490
  */
1770
1491
  type mediaType = 'video' | 'photo';
1771
- /**
1772
- * **DEPRECATED**: Use flat properties directly in TikTokPlatformData instead.
1773
- * This nested format is supported for backwards compatibility only.
1774
- *
1775
- * @deprecated
1776
- */
1777
- type TikTokSettings = {
1778
- privacyLevel?: string;
1779
- allowComment?: boolean;
1780
- allowDuet?: boolean;
1781
- allowStitch?: boolean;
1782
- commercialContentType?: string;
1783
- brandPartnerPromote?: boolean;
1784
- isBrandOrganicPost?: boolean;
1785
- contentPreviewConfirmed?: boolean;
1786
- expressConsentGiven?: boolean;
1787
- mediaType?: string;
1788
- videoCoverTimestampMs?: number;
1789
- photoCoverIndex?: number;
1790
- autoAddMusic?: boolean;
1791
- videoMadeWithAi?: boolean;
1792
- description?: string;
1793
- };
1794
1492
  type TranscriptResponse = {
1795
1493
  transcript?: string;
1796
1494
  segments?: Array<TranscriptSegment>;
@@ -2177,16 +1875,7 @@ type YouTubeDailyViewsResponse = {
2177
1875
  };
2178
1876
  };
2179
1877
  /**
2180
- * YouTube video upload settings:
2181
- * - Videos ≤ 3 minutes are automatically detected as YouTube Shorts
2182
- * - Videos > 3 minutes become regular YouTube videos
2183
- * - Custom thumbnails supported for regular videos (via mediaItem.thumbnail)
2184
- * - Custom thumbnails NOT supported for Shorts via API
2185
- * - Scheduled videos are uploaded immediately as the specified visibility and published at scheduled time
2186
- * - Visibility defaults to "public" if not specified
2187
- * - madeForKids defaults to false (not child-directed)
2188
- * - Set containsSyntheticMedia: true if your video contains AI-generated content
2189
- *
1878
+ * Videos under 3 min auto-detected as Shorts. Custom thumbnails for regular videos only. Scheduled videos are uploaded immediately with the specified visibility.
2190
1879
  */
2191
1880
  type YouTubePlatformData = {
2192
1881
  /**
@@ -2194,24 +1883,11 @@ type YouTubePlatformData = {
2194
1883
  */
2195
1884
  title?: string;
2196
1885
  /**
2197
- * Video visibility setting:
2198
- * - public: Anyone can search for and watch (default)
2199
- * - unlisted: Only people with the link can watch
2200
- * - private: Only you and people you specifically share with can watch
2201
- *
1886
+ * Video visibility: public (default, anyone can watch), unlisted (link only), private (invite only)
2202
1887
  */
2203
1888
  visibility?: 'public' | 'private' | 'unlisted';
2204
1889
  /**
2205
- * COPPA compliance: Audience designation for the video.
2206
- * - true: Video is made for kids (child-directed content)
2207
- * - false: Video is NOT made for kids (default)
2208
- *
2209
- * This field maps to YouTube's `selfDeclaredMadeForKids` setting. Videos marked as made for kids
2210
- * have restricted features (no comments, no notifications, limited ad targeting).
2211
- *
2212
- * IMPORTANT: If not specified, defaults to false. YouTube requires this to be explicitly set,
2213
- * otherwise the video may be blocked from views until configured in YouTube Studio.
2214
- *
1890
+ * COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting). Defaults to false. YouTube may block views if not explicitly set.
2215
1891
  */
2216
1892
  madeForKids?: boolean;
2217
1893
  /**
@@ -2219,20 +1895,11 @@ type YouTubePlatformData = {
2219
1895
  */
2220
1896
  firstComment?: string;
2221
1897
  /**
2222
- * AI-generated content disclosure flag. Set to true if your video contains AI-generated or synthetic content
2223
- * that could be mistaken for real people, places, or events. This helps viewers understand when realistic
2224
- * content has been created or altered using AI. YouTube may add a label to videos when this is set.
2225
- * Added to YouTube Data API in October 2024.
2226
- *
1898
+ * AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
2227
1899
  */
2228
1900
  containsSyntheticMedia?: boolean;
2229
1901
  /**
2230
- * YouTube video category ID. Defaults to '22' (People & Blogs).
2231
- * Common categories: 1 (Film & Animation), 2 (Autos & Vehicles), 10 (Music),
2232
- * 15 (Pets & Animals), 17 (Sports), 20 (Gaming), 22 (People & Blogs),
2233
- * 23 (Comedy), 24 (Entertainment), 25 (News & Politics), 26 (Howto & Style),
2234
- * 27 (Education), 28 (Science & Technology).
2235
- *
1902
+ * YouTube video category ID. Defaults to 22 (People & Blogs). Common: 1 (Film), 2 (Autos), 10 (Music), 15 (Pets), 17 (Sports), 20 (Gaming), 23 (Comedy), 24 (Entertainment), 25 (News), 26 (Howto), 27 (Education), 28 (Science & Tech).
2236
1903
  */
2237
1904
  categoryId?: string;
2238
1905
  };
@@ -2458,10 +2125,7 @@ type GetAnalyticsData = {
2458
2125
  */
2459
2126
  platform?: string;
2460
2127
  /**
2461
- * Returns analytics for a single post. Accepts both Late Post IDs (from `POST /v1/posts`)
2462
- * and External Post IDs (from this endpoint's list response). The API automatically
2463
- * resolves Late Post IDs to their corresponding External Post analytics.
2464
- *
2128
+ * Returns analytics for a single post. Accepts both Late Post IDs and External Post IDs. Late IDs are auto-resolved to External Post analytics.
2465
2129
  */
2466
2130
  postId?: string;
2467
2131
  /**
@@ -2473,11 +2137,7 @@ type GetAnalyticsData = {
2473
2137
  */
2474
2138
  sortBy?: 'date' | 'engagement';
2475
2139
  /**
2476
- * Filter by post source:
2477
- * - `late` - Only posts scheduled/published via Late API
2478
- * - `external` - Only posts synced from the platform (not posted via Late)
2479
- * - `all` - All posts (default)
2480
- *
2140
+ * Filter by post source: late (posted via Late API), external (synced from platform), all (default)
2481
2141
  */
2482
2142
  source?: 'all' | 'late' | 'external';
2483
2143
  /**
@@ -2694,9 +2354,7 @@ type CreatePostData = {
2694
2354
  body: {
2695
2355
  title?: string;
2696
2356
  /**
2697
- * Post caption/text content. Optional when media is attached (images, videos, etc.).
2698
- * Required for text-only posts. Can also be omitted if all platforms have customContent set.
2699
- *
2357
+ * Post caption/text. Optional when media is attached or all platforms have customContent. Required for text-only posts.
2700
2358
  */
2701
2359
  content?: string;
2702
2360
  mediaItems?: Array<{
@@ -2725,11 +2383,7 @@ type CreatePostData = {
2725
2383
  isDraft?: boolean;
2726
2384
  timezone?: string;
2727
2385
  /**
2728
- * Tags/keywords for the post. YouTube-specific constraints:
2729
- * - No count limit; duplicates are automatically removed
2730
- * - Each tag must be ≤ 100 characters
2731
- * - Combined total across all tags ≤ 500 characters (YouTube's limit)
2732
- *
2386
+ * Tags/keywords. YouTube constraints: each tag max 100 chars, combined max 500 chars, duplicates auto-removed.
2733
2387
  */
2734
2388
  tags?: Array<(string)>;
2735
2389
  hashtags?: Array<(string)>;
@@ -2739,21 +2393,11 @@ type CreatePostData = {
2739
2393
  [key: string]: unknown;
2740
2394
  };
2741
2395
  /**
2742
- * Root-level TikTok settings applied to all TikTok platforms in the request.
2743
- * This is a convenience shorthand. Settings here are merged into each TikTok
2744
- * platform's platformSpecificData, with platform-specific settings taking precedence.
2745
- *
2396
+ * Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
2746
2397
  */
2747
2398
  tiktokSettings?: TikTokPlatformData;
2748
2399
  /**
2749
- * Profile ID to schedule via queue.
2750
- *
2751
- * When provided (without `scheduledFor`), the post will be automatically assigned
2752
- * to the next available slot from the profile's queue. The system uses distributed
2753
- * locking to prevent race conditions when multiple posts are scheduled concurrently.
2754
- * Do not call `/v1/queue/next-slot` and then use that time in `scheduledFor`.
2755
- * That bypasses the queue system and can cause duplicate slot assignments.
2756
- *
2400
+ * Profile ID to schedule via queue. When provided without scheduledFor, the post is auto-assigned to the next available slot. Do not call /v1/queue/next-slot and use that time in scheduledFor, as that bypasses queue locking.
2757
2401
  */
2758
2402
  queuedFromProfile?: string;
2759
2403
  /**
@@ -2798,10 +2442,7 @@ type UpdatePostData = {
2798
2442
  content?: string;
2799
2443
  scheduledFor?: string;
2800
2444
  /**
2801
- * Root-level TikTok settings applied to all TikTok platforms in the request.
2802
- * This is a convenience shorthand. Settings here are merged into each TikTok
2803
- * platform's platformSpecificData, with platform-specific settings taking precedence.
2804
- *
2445
+ * Root-level TikTok settings applied to all TikTok platforms. Merged into each platform's platformSpecificData, with platform-specific settings taking precedence.
2805
2446
  */
2806
2447
  tiktokSettings?: TikTokPlatformData;
2807
2448
  [key: string]: unknown | string | TikTokPlatformData;
@@ -2918,10 +2559,7 @@ type GetUserError = ({
2918
2559
  type ListProfilesData = {
2919
2560
  query?: {
2920
2561
  /**
2921
- * When true, includes profiles that exceed the user's plan limit.
2922
- * Over-limit profiles will have `isOverLimit: true` in the response.
2923
- * Useful for managing/deleting profiles after a plan downgrade.
2924
- *
2562
+ * When true, includes over-limit profiles (marked with isOverLimit: true).
2925
2563
  */
2926
2564
  includeOverLimit?: boolean;
2927
2565
  };
@@ -2984,9 +2622,7 @@ type DeleteProfileError = (unknown | {
2984
2622
  type ListAccountsData = {
2985
2623
  query?: {
2986
2624
  /**
2987
- * When true, includes accounts from profiles that exceed the user's plan limit.
2988
- * Useful for disconnecting accounts from over-limit profiles so they can be deleted.
2989
- *
2625
+ * When true, includes accounts from over-limit profiles.
2990
2626
  */
2991
2627
  includeOverLimit?: boolean;
2992
2628
  /**
@@ -3267,14 +2903,7 @@ type GetConnectUrlData = {
3267
2903
  */
3268
2904
  profileId: string;
3269
2905
  /**
3270
- * Your custom redirect URL after connection completes.
3271
- *
3272
- * **Standard Mode:** After the user selects an account, Late redirects here with `?connected={platform}&profileId=X&username=Y`.
3273
- *
3274
- * **Headless Mode:** Pass `headless=true` as a query parameter on this endpoint. After OAuth, the user is redirected to your URL with OAuth data (`profileId`, `tempToken`, `userProfile`, `connect_token`, `platform`, `step`). See the main endpoint description for details.
3275
- *
3276
- * Example: `https://yourdomain.com/integrations/callback`
3277
- *
2906
+ * Your custom redirect URL after connection completes. Standard mode appends ?connected={platform}&profileId=X&username=Y. Headless mode appends OAuth data params.
3278
2907
  */
3279
2908
  redirect_url?: string;
3280
2909
  };
@@ -3457,9 +3086,7 @@ type SelectGoogleBusinessLocationData = {
3457
3086
  */
3458
3087
  tempToken: string;
3459
3088
  /**
3460
- * Decoded user profile object from the OAuth callback. **Important:** This contains
3461
- * the refresh token needed for token refresh. Always include this field.
3462
- *
3089
+ * Decoded user profile from the OAuth callback. Contains the refresh token. Always include this field.
3463
3090
  */
3464
3091
  userProfile?: {
3465
3092
  id?: string;
@@ -3637,10 +3264,7 @@ type GetGoogleBusinessLocationDetailsData = {
3637
3264
  };
3638
3265
  query?: {
3639
3266
  /**
3640
- * Comma-separated fields to return. Defaults to common fields.
3641
- * Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri,
3642
- * regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours
3643
- *
3267
+ * Comma-separated fields to return. Available: name, title, phoneNumbers, categories, storefrontAddress, websiteUri, regularHours, specialHours, serviceArea, profile, openInfo, metadata, moreHours.
3644
3268
  */
3645
3269
  readMask?: string;
3646
3270
  };
@@ -3964,7 +3588,7 @@ type DeleteGoogleBusinessPlaceActionError = (ErrorResponse);
3964
3588
  type GetPendingOAuthDataData = {
3965
3589
  query: {
3966
3590
  /**
3967
- * The pending data token from the OAuth redirect URL (`pendingDataToken` parameter)
3591
+ * The pending data token from the OAuth redirect URL (pendingDataToken parameter)
3968
3592
  */
3969
3593
  token: string;
3970
3594
  };
@@ -4334,10 +3958,7 @@ type ConnectBlueskyCredentialsData = {
4334
3958
  */
4335
3959
  appPassword: string;
4336
3960
  /**
4337
- * Required state parameter formatted as `{userId}-{profileId}`.
4338
- * - `userId`: Your Late user ID (get from `GET /v1/users` → `currentUserId`)
4339
- * - `profileId`: The profile ID to connect the account to (get from `GET /v1/profiles`)
4340
- *
3961
+ * Required state formatted as {userId}-{profileId}. Get userId from GET /v1/users and profileId from GET /v1/profiles.
4341
3962
  */
4342
3963
  state: string;
4343
3964
  /**
@@ -4389,10 +4010,7 @@ type GetTelegramConnectStatusError = (unknown | {
4389
4010
  type InitiateTelegramConnectData = {
4390
4011
  body: {
4391
4012
  /**
4392
- * The Telegram chat ID. Can be:
4393
- * - Numeric ID (e.g., "-1001234567890")
4394
- * - Username with @ prefix (e.g., "@mychannel")
4395
- *
4013
+ * The Telegram chat ID. Numeric ID (e.g. "-1001234567890") or username with @ prefix (e.g. "@mychannel").
4396
4014
  */
4397
4015
  chatId: string;
4398
4016
  /**
@@ -4510,31 +4128,19 @@ type GetLinkedInAggregateAnalyticsData = {
4510
4128
  };
4511
4129
  query?: {
4512
4130
  /**
4513
- * Type of aggregation for the analytics data.
4514
- * - `TOTAL` (default): Returns single totals for each metric
4515
- * - `DAILY`: Returns daily breakdown of metrics
4516
- *
4517
- * Note: `MEMBERS_REACHED` metric is not available with `DAILY` aggregation.
4518
- *
4131
+ * TOTAL (default, lifetime totals) or DAILY (time series). MEMBERS_REACHED not available with DAILY.
4519
4132
  */
4520
4133
  aggregation?: 'TOTAL' | 'DAILY';
4521
4134
  /**
4522
- * End date for analytics data in YYYY-MM-DD format (exclusive).
4523
- * If provided without startDate, startDate defaults to 30 days before endDate.
4524
- *
4135
+ * End date (YYYY-MM-DD, exclusive). Defaults to today if omitted.
4525
4136
  */
4526
4137
  endDate?: string;
4527
4138
  /**
4528
- * Comma-separated list of metrics to fetch. If omitted, fetches all available metrics.
4529
- * Valid values: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE
4530
- *
4139
+ * Comma-separated metrics: IMPRESSION, MEMBERS_REACHED, REACTION, COMMENT, RESHARE. Omit for all.
4531
4140
  */
4532
4141
  metrics?: string;
4533
4142
  /**
4534
- * Start date for analytics data in YYYY-MM-DD format.
4535
- * If provided without endDate, endDate defaults to today.
4536
- * If omitted entirely, returns lifetime analytics.
4537
- *
4143
+ * Start date (YYYY-MM-DD). If omitted, returns lifetime analytics.
4538
4144
  */
4539
4145
  startDate?: string;
4540
4146
  };
@@ -4652,17 +4258,11 @@ type GetLinkedInMentionsData = {
4652
4258
  };
4653
4259
  query: {
4654
4260
  /**
4655
- * The exact display name as shown on LinkedIn.
4656
- * - **Person mentions:** Required for clickable mentions. If not provided, a name is derived from the vanity URL which may not match exactly.
4657
- * - **Organization mentions:** Optional. If not provided, the company name is automatically retrieved from LinkedIn.
4658
- *
4261
+ * Exact display name as shown on LinkedIn. Required for person mentions to be clickable. Optional for org mentions.
4659
4262
  */
4660
4263
  displayName?: string;
4661
4264
  /**
4662
4265
  * LinkedIn profile URL, company URL, or vanity name.
4663
- * - Person: `miquelpalet`, `linkedin.com/in/miquelpalet`
4664
- * - Organization: `company/microsoft`, `linkedin.com/company/microsoft`
4665
- *
4666
4266
  */
4667
4267
  url: string;
4668
4268
  };
@@ -5134,67 +4734,6 @@ type GetWebhookLogsResponse = ({
5134
4734
  type GetWebhookLogsError = ({
5135
4735
  error?: string;
5136
4736
  });
5137
- type ListLogsData = {
5138
- query?: {
5139
- /**
5140
- * Filter by action type
5141
- */
5142
- action?: 'publish' | 'retry' | 'media_upload' | 'rate_limit_pause' | 'token_refresh' | 'cancelled' | 'all';
5143
- /**
5144
- * Number of days to look back (max 7)
5145
- */
5146
- days?: number;
5147
- /**
5148
- * Maximum number of logs to return (max 100)
5149
- */
5150
- limit?: number;
5151
- /**
5152
- * Filter by platform
5153
- */
5154
- platform?: 'tiktok' | 'instagram' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
5155
- /**
5156
- * Number of logs to skip (for pagination)
5157
- */
5158
- skip?: number;
5159
- /**
5160
- * Filter by log status
5161
- */
5162
- status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
5163
- };
5164
- };
5165
- type ListLogsResponse = ({
5166
- logs?: Array<PostLog>;
5167
- pagination?: {
5168
- /**
5169
- * Total number of logs matching the query
5170
- */
5171
- total?: number;
5172
- limit?: number;
5173
- skip?: number;
5174
- /**
5175
- * Total number of pages
5176
- */
5177
- pages?: number;
5178
- hasMore?: boolean;
5179
- };
5180
- });
5181
- type ListLogsError = ({
5182
- error?: string;
5183
- });
5184
- type GetLogData = {
5185
- path: {
5186
- /**
5187
- * The log entry ID
5188
- */
5189
- logId: string;
5190
- };
5191
- };
5192
- type GetLogResponse = ({
5193
- log?: PostLogDetail;
5194
- });
5195
- type GetLogError = ({
5196
- error?: string;
5197
- } | unknown);
5198
4737
  type ListPostsLogsData = {
5199
4738
  query?: {
5200
4739
  /**
@@ -5963,12 +5502,7 @@ type ListInboxCommentsError = ({
5963
5502
  type GetInboxPostCommentsData = {
5964
5503
  path: {
5965
5504
  /**
5966
- * The post identifier. Accepts a Late post ID (MongoDB ObjectId) which is automatically resolved to the platform-specific post ID, or a platform-specific post ID directly (e.g. tweet ID, Facebook Graph ID, YouTube video ID).
5967
- *
5968
- * **LinkedIn:** For your own posts, the full URN stored in Late (e.g., `urn:li:share:7429218977714745345`) is used automatically.
5969
- * For third-party posts, pass either the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the LinkedIn URL (automatically wrapped as `urn:li:activity:`).
5970
- * Note: LinkedIn post URLs use activity IDs (`linkedin.com/feed/update/urn:li:activity:XXXX`).
5971
- *
5505
+ * Late post ID or platform-specific post ID. Late IDs are auto-resolved. LinkedIn third-party posts accept full activity URN or numeric ID.
5972
5506
  */
5973
5507
  postId: string;
5974
5508
  };
@@ -6102,10 +5636,7 @@ type ReplyToInboxPostData = {
6102
5636
  };
6103
5637
  path: {
6104
5638
  /**
6105
- * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6106
- *
6107
- * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6108
- *
5639
+ * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6109
5640
  */
6110
5641
  postId: string;
6111
5642
  };
@@ -6127,10 +5658,7 @@ type ReplyToInboxPostError = ({
6127
5658
  type DeleteInboxCommentData = {
6128
5659
  path: {
6129
5660
  /**
6130
- * The post identifier. Accepts a Late post ID or a platform-specific post ID.
6131
- *
6132
- * **LinkedIn:** For third-party posts, pass the full activity URN (e.g., `urn:li:activity:7422459067685855232`) or the raw numeric activity ID from the URL.
6133
- *
5661
+ * Late post ID or platform-specific post ID. LinkedIn third-party posts accept full activity URN or numeric ID.
6134
5662
  */
6135
5663
  postId: string;
6136
5664
  };
@@ -6393,4 +5921,4 @@ type DeleteInboxReviewReplyError = ({
6393
5921
  error?: string;
6394
5922
  } | unknown);
6395
5923
 
6396
- export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetLogData, type GetLogError, type GetLogResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type 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 ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListLogsData, type ListLogsError, type ListLogsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type 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 RedditPlatformData, 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 SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TikTokSettings, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type 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 connectionMethod, type contentType, type contentType2, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type eventType, 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 };
5924
+ export { type AccountGetResponse, type AccountWithFollowerStats, type AccountsListResponse, type AnalyticsListResponse, type AnalyticsOverview, type AnalyticsSinglePostResponse, type ApiKey, type BlueskyPlatformData, 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 ConnectionLog, type CreateAccountGroupData, type CreateAccountGroupError, type CreateAccountGroupResponse, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyResponse, type CreateGoogleBusinessMediaData, type CreateGoogleBusinessMediaError, type CreateGoogleBusinessMediaResponse, type CreateGoogleBusinessPlaceActionData, type CreateGoogleBusinessPlaceActionError, type CreateGoogleBusinessPlaceActionResponse, type CreateInviteTokenData, type CreateInviteTokenError, type CreateInviteTokenResponse, type CreatePostData, type CreatePostError, type CreatePostResponse, type CreateProfileData, type CreateProfileError, type CreateProfileResponse, type CreateQueueSlotData, type CreateQueueSlotError, type CreateQueueSlotResponse, type CreateWebhookSettingsData, type CreateWebhookSettingsError, type CreateWebhookSettingsResponse, type DeleteAccountData, type DeleteAccountError, type DeleteAccountGroupData, type DeleteAccountGroupError, type DeleteAccountGroupResponse, type DeleteAccountResponse, type DeleteApiKeyData, type DeleteApiKeyError, type DeleteApiKeyResponse, type DeleteGoogleBusinessMediaData, type DeleteGoogleBusinessMediaError, type DeleteGoogleBusinessMediaResponse, type DeleteGoogleBusinessPlaceActionData, type DeleteGoogleBusinessPlaceActionError, type DeleteGoogleBusinessPlaceActionResponse, type DeleteInboxCommentData, type DeleteInboxCommentError, type DeleteInboxCommentResponse, type DeleteInboxReviewReplyData, type DeleteInboxReviewReplyError, type DeleteInboxReviewReplyResponse, type DeleteInstagramIceBreakersData, type DeleteInstagramIceBreakersError, type DeleteInstagramIceBreakersResponse, type DeleteMessengerMenuData, type DeleteMessengerMenuError, type DeleteMessengerMenuResponse, type DeletePostData, type DeletePostError, type DeletePostResponse, type DeleteProfileData, type DeleteProfileError, type DeleteProfileResponse, type DeleteQueueSlotData, type DeleteQueueSlotError, type DeleteQueueSlotResponse, type DeleteTelegramCommandsData, type DeleteTelegramCommandsError, type DeleteTelegramCommandsResponse, type DeleteWebhookSettingsData, type DeleteWebhookSettingsError, type DeleteWebhookSettingsResponse, type DownloadBlueskyMediaData, type DownloadBlueskyMediaError, type DownloadBlueskyMediaResponse, type DownloadFacebookVideoData, type DownloadFacebookVideoError, type DownloadFacebookVideoResponse, type DownloadFormat, type DownloadInstagramMediaData, type DownloadInstagramMediaError, type DownloadInstagramMediaResponse, type DownloadLinkedInVideoData, type DownloadLinkedInVideoError, type DownloadLinkedInVideoResponse, type DownloadResponse, type DownloadTikTokVideoData, type DownloadTikTokVideoError, type DownloadTikTokVideoResponse, type DownloadTwitterMediaData, type DownloadTwitterMediaError, type DownloadTwitterMediaResponse, type DownloadYouTubeVideoData, type DownloadYouTubeVideoError, type DownloadYouTubeVideoResponse, type EditInboxMessageData, type EditInboxMessageError, type EditInboxMessageResponse, type ErrorResponse, type FacebookPlatformData, type FollowerStatsResponse, type FoodMenu, type FoodMenuItem, type FoodMenuItemAttributes, type FoodMenuLabel, type FoodMenuSection, type GetAccountHealthData, type GetAccountHealthError, type GetAccountHealthResponse, type GetAllAccountsHealthData, type GetAllAccountsHealthError, type GetAllAccountsHealthResponse, type GetAnalyticsData, type GetAnalyticsError, type GetAnalyticsResponse, type GetConnectUrlData, type GetConnectUrlError, type GetConnectUrlResponse, type GetFacebookPagesData, type GetFacebookPagesError, type GetFacebookPagesResponse, type GetFollowerStatsData, type GetFollowerStatsError, type GetFollowerStatsResponse, type GetGmbLocationsData, type GetGmbLocationsError, type GetGmbLocationsResponse, type GetGoogleBusinessAttributesData, type GetGoogleBusinessAttributesError, type GetGoogleBusinessAttributesResponse, type GetGoogleBusinessFoodMenusData, type GetGoogleBusinessFoodMenusError, type GetGoogleBusinessFoodMenusResponse, type GetGoogleBusinessLocationDetailsData, type GetGoogleBusinessLocationDetailsError, type GetGoogleBusinessLocationDetailsResponse, type GetGoogleBusinessReviewsData, type GetGoogleBusinessReviewsError, type GetGoogleBusinessReviewsResponse, type GetInboxConversationData, type GetInboxConversationError, type GetInboxConversationMessagesData, type GetInboxConversationMessagesError, type GetInboxConversationMessagesResponse, type GetInboxConversationResponse, type GetInboxPostCommentsData, type GetInboxPostCommentsError, type GetInboxPostCommentsResponse, type GetInstagramIceBreakersData, type GetInstagramIceBreakersError, type GetInstagramIceBreakersResponse, type GetLinkedInAggregateAnalyticsData, type GetLinkedInAggregateAnalyticsError, type GetLinkedInAggregateAnalyticsResponse, type GetLinkedInMentionsData, type GetLinkedInMentionsError, type GetLinkedInMentionsResponse, type GetLinkedInOrganizationsData, type GetLinkedInOrganizationsError, type GetLinkedInOrganizationsResponse, type GetLinkedInPostAnalyticsData, type GetLinkedInPostAnalyticsError, type GetLinkedInPostAnalyticsResponse, type GetMediaPresignedUrlData, type GetMediaPresignedUrlError, type GetMediaPresignedUrlResponse, type GetMessengerMenuData, type GetMessengerMenuError, type GetMessengerMenuResponse, type GetNextQueueSlotData, type GetNextQueueSlotError, type GetNextQueueSlotResponse, type GetPendingOAuthDataData, type GetPendingOAuthDataError, type GetPendingOAuthDataResponse, type GetPinterestBoardsData, type GetPinterestBoardsError, type GetPinterestBoardsResponse, type GetPostData, type GetPostError, type GetPostLogsData, type GetPostLogsError, type GetPostLogsResponse, type GetPostResponse, type GetProfileData, type GetProfileError, type GetProfileResponse, type GetRedditFeedData, type GetRedditFeedError, type GetRedditFeedResponse, type GetRedditFlairsData, type GetRedditFlairsError, type GetRedditFlairsResponse, type GetRedditSubredditsData, type GetRedditSubredditsError, type GetRedditSubredditsResponse, type GetTelegramCommandsData, type GetTelegramCommandsError, type GetTelegramCommandsResponse, type GetTelegramConnectStatusData, type GetTelegramConnectStatusError, type GetTelegramConnectStatusResponse, type GetUsageStatsError, type GetUsageStatsResponse, type GetUserData, type GetUserError, type GetUserResponse, type GetWebhookLogsData, type GetWebhookLogsError, type GetWebhookLogsResponse, type GetWebhookSettingsError, type GetWebhookSettingsResponse, type 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 ListConnectionLogsData, type ListConnectionLogsError, type ListConnectionLogsResponse, type ListFacebookPagesData, type ListFacebookPagesError, type ListFacebookPagesResponse, type ListGoogleBusinessLocationsData, type ListGoogleBusinessLocationsError, type ListGoogleBusinessLocationsResponse, type ListGoogleBusinessMediaData, type ListGoogleBusinessMediaError, type ListGoogleBusinessMediaResponse, type ListGoogleBusinessPlaceActionsData, type ListGoogleBusinessPlaceActionsError, type ListGoogleBusinessPlaceActionsResponse, type ListInboxCommentsData, type ListInboxCommentsError, type ListInboxCommentsResponse, type ListInboxConversationsData, type ListInboxConversationsError, type ListInboxConversationsResponse, type ListInboxReviewsData, type ListInboxReviewsError, type ListInboxReviewsResponse, type ListLinkedInOrganizationsData, type ListLinkedInOrganizationsError, type ListLinkedInOrganizationsResponse, type ListPinterestBoardsForSelectionData, type ListPinterestBoardsForSelectionError, type ListPinterestBoardsForSelectionResponse, type ListPostsData, type ListPostsError, type ListPostsLogsData, type ListPostsLogsError, type ListPostsLogsResponse, type ListPostsResponse, type ListProfilesData, type ListProfilesError, type ListProfilesResponse, type ListQueueSlotsData, type ListQueueSlotsError, type ListQueueSlotsResponse, type ListSnapchatProfilesData, type ListSnapchatProfilesError, type ListSnapchatProfilesResponse, type ListUsersError, type ListUsersResponse, type MediaItem, type MediaUploadResponse, type Money, type Pagination, type ParameterLimitParam, type ParameterPageParam, type PinterestPlatformData, type PlatformAnalytics, type PlatformTarget, type Post, type PostAnalytics, type PostCreateResponse, type PostDeleteResponse, type PostGetResponse, type PostLog, type PostRetryResponse, type PostUpdateResponse, type PostsListResponse, type PreviewQueueData, type PreviewQueueError, type PreviewQueueResponse, type Profile, type ProfileCreateResponse, type ProfileDeleteResponse, type ProfileGetResponse, type ProfileUpdateResponse, type ProfilesListResponse, type QueueDeleteResponse, type QueueNextSlotResponse, type QueuePreviewResponse, type QueueSchedule, type QueueSlot, type QueueSlotsResponse, type QueueUpdateResponse, RateLimitError, type RedditPlatformData, 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 SendPrivateReplyToCommentData, type SendPrivateReplyToCommentError, type SendPrivateReplyToCommentResponse, type SetInstagramIceBreakersData, type SetInstagramIceBreakersError, type SetInstagramIceBreakersResponse, type SetMessengerMenuData, type SetMessengerMenuError, type SetMessengerMenuResponse, type SetTelegramCommandsData, type SetTelegramCommandsError, type SetTelegramCommandsResponse, type SnapchatPlatformData, type SocialAccount, type TelegramPlatformData, type TestWebhookData, type TestWebhookError, type TestWebhookResponse, type ThreadsPlatformData, type TikTokPlatformData, type TranscriptResponse, type TranscriptSegment, type TwitterPlatformData, type UnhideInboxCommentData, type UnhideInboxCommentError, type UnhideInboxCommentResponse, type UnlikeInboxCommentData, type UnlikeInboxCommentError, type UnlikeInboxCommentResponse, type UnpublishPostData, type UnpublishPostError, type UnpublishPostResponse, type UpdateAccountData, type UpdateAccountError, type UpdateAccountGroupData, type UpdateAccountGroupError, type UpdateAccountGroupResponse, type UpdateAccountResponse, type UpdateFacebookPageData, type UpdateFacebookPageError, type UpdateFacebookPageResponse, type UpdateGmbLocationData, type UpdateGmbLocationError, type UpdateGmbLocationResponse, type UpdateGoogleBusinessAttributesData, type UpdateGoogleBusinessAttributesError, type UpdateGoogleBusinessAttributesResponse, type UpdateGoogleBusinessFoodMenusData, type UpdateGoogleBusinessFoodMenusError, type UpdateGoogleBusinessFoodMenusResponse, type UpdateGoogleBusinessLocationDetailsData, type UpdateGoogleBusinessLocationDetailsError, type UpdateGoogleBusinessLocationDetailsResponse, type UpdateInboxConversationData, type UpdateInboxConversationError, type UpdateInboxConversationResponse, type UpdateLinkedInOrganizationData, type UpdateLinkedInOrganizationError, type UpdateLinkedInOrganizationResponse, type UpdatePinterestBoardsData, type UpdatePinterestBoardsError, type UpdatePinterestBoardsResponse, type UpdatePostData, type UpdatePostError, type UpdatePostResponse, type UpdateProfileData, type UpdateProfileError, type UpdateProfileResponse, type UpdateQueueSlotData, type UpdateQueueSlotError, type UpdateQueueSlotResponse, type UpdateRedditSubredditsData, type UpdateRedditSubredditsError, type UpdateRedditSubredditsResponse, type UpdateWebhookSettingsData, type UpdateWebhookSettingsError, type UpdateWebhookSettingsResponse, type 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 connectionMethod, type contentType, type contentType2, Late as default, type direction, type disconnectionType, type errorCategory, type errorSource, type event, type event2, type event3, type event4, type event5, type eventType, 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 };