@getlatedev/node 0.2.1418 → 0.2.1420

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.mts CHANGED
@@ -10381,6 +10381,17 @@ type FacebookPlatformData = {
10381
10381
  */
10382
10382
  pageId?: string;
10383
10383
  geoRestriction?: GeoRestriction;
10384
+ /**
10385
+ * Facebook Page IDs (numeric, up to 10 unique) to invite as collaborators. Reels only (contentType=reel), sent after the Reel is published, never for drafts. Each Page must accept. Meta allows 10 invites per Page per 24 hours; rejected invites are listed in failedCollaborators. Other values are ignored with a warning.
10386
+ */
10387
+ collaborators?: Array<(string)>;
10388
+ /**
10389
+ * Output only. Collaborator invites Facebook rejected after the Reel was published. The Reel itself stays published.
10390
+ */
10391
+ readonly failedCollaborators?: Array<{
10392
+ pageId: string;
10393
+ reason: string;
10394
+ }>;
10384
10395
  facebookSettings?: FacebookSettings;
10385
10396
  };
10386
10397
  /**
@@ -12615,7 +12626,7 @@ type InstagramPlatformData = {
12615
12626
  */
12616
12627
  shareToFeed?: boolean;
12617
12628
  /**
12618
- * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only)
12629
+ * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only). Collaborators are supported on Instagram and Facebook Page Reels only. TikTok, YouTube, Threads, LinkedIn, X and Pinterest do not expose collaborators in their public APIs.
12619
12630
  */
12620
12631
  collaborators?: Array<(string)>;
12621
12632
  /**
@@ -13446,7 +13457,7 @@ type MediaItem = {
13446
13457
  */
13447
13458
  mimeType?: string;
13448
13459
  /**
13449
- * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, regular video uploads, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
13460
+ * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, YouTube videos and Shorts, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
13450
13461
  */
13451
13462
  thumbnail?: string;
13452
13463
  /**
@@ -23358,7 +23369,7 @@ type YouTubeDemographicsResponse = {
23358
23369
  * YouTube video settings.
23359
23370
  *
23360
23371
  * - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
23361
- * - Custom thumbnails work for regular videos only.
23372
+ * - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
23362
23373
  * - Scheduled videos are uploaded immediately with the specified visibility.
23363
23374
  * - There is no description field here: the description comes from the post content, or from customContent on this platform target when set, truncated to 5000 characters.
23364
23375
  *
package/dist/index.d.ts CHANGED
@@ -10381,6 +10381,17 @@ type FacebookPlatformData = {
10381
10381
  */
10382
10382
  pageId?: string;
10383
10383
  geoRestriction?: GeoRestriction;
10384
+ /**
10385
+ * Facebook Page IDs (numeric, up to 10 unique) to invite as collaborators. Reels only (contentType=reel), sent after the Reel is published, never for drafts. Each Page must accept. Meta allows 10 invites per Page per 24 hours; rejected invites are listed in failedCollaborators. Other values are ignored with a warning.
10386
+ */
10387
+ collaborators?: Array<(string)>;
10388
+ /**
10389
+ * Output only. Collaborator invites Facebook rejected after the Reel was published. The Reel itself stays published.
10390
+ */
10391
+ readonly failedCollaborators?: Array<{
10392
+ pageId: string;
10393
+ reason: string;
10394
+ }>;
10384
10395
  facebookSettings?: FacebookSettings;
10385
10396
  };
10386
10397
  /**
@@ -12615,7 +12626,7 @@ type InstagramPlatformData = {
12615
12626
  */
12616
12627
  shareToFeed?: boolean;
12617
12628
  /**
12618
- * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only)
12629
+ * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only). Collaborators are supported on Instagram and Facebook Page Reels only. TikTok, YouTube, Threads, LinkedIn, X and Pinterest do not expose collaborators in their public APIs.
12619
12630
  */
12620
12631
  collaborators?: Array<(string)>;
12621
12632
  /**
@@ -13446,7 +13457,7 @@ type MediaItem = {
13446
13457
  */
13447
13458
  mimeType?: string;
13448
13459
  /**
13449
- * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, regular video uploads, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
13460
+ * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, YouTube videos and Shorts, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
13450
13461
  */
13451
13462
  thumbnail?: string;
13452
13463
  /**
@@ -23358,7 +23369,7 @@ type YouTubeDemographicsResponse = {
23358
23369
  * YouTube video settings.
23359
23370
  *
23360
23371
  * - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
23361
- * - Custom thumbnails work for regular videos only.
23372
+ * - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
23362
23373
  * - Scheduled videos are uploaded immediately with the specified visibility.
23363
23374
  * - There is no description field here: the description comes from the post content, or from customContent on this platform target when set, truncated to 5000 characters.
23364
23375
  *
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1418",
39
+ version: "0.2.1420",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1418",
8
+ version: "0.2.1420",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1418",
3
+ "version": "0.2.1420",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -8456,6 +8456,17 @@ export type FacebookPlatformData = {
8456
8456
  */
8457
8457
  pageId?: string;
8458
8458
  geoRestriction?: GeoRestriction;
8459
+ /**
8460
+ * Facebook Page IDs (numeric, up to 10 unique) to invite as collaborators. Reels only (contentType=reel), sent after the Reel is published, never for drafts. Each Page must accept. Meta allows 10 invites per Page per 24 hours; rejected invites are listed in failedCollaborators. Other values are ignored with a warning.
8461
+ */
8462
+ collaborators?: Array<(string)>;
8463
+ /**
8464
+ * Output only. Collaborator invites Facebook rejected after the Reel was published. The Reel itself stays published.
8465
+ */
8466
+ readonly failedCollaborators?: Array<{
8467
+ pageId: string;
8468
+ reason: string;
8469
+ }>;
8459
8470
  facebookSettings?: FacebookSettings;
8460
8471
  };
8461
8472
 
@@ -10808,7 +10819,7 @@ export type InstagramPlatformData = {
10808
10819
  */
10809
10820
  shareToFeed?: boolean;
10810
10821
  /**
10811
- * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only)
10822
+ * Up to 3 Instagram usernames to invite as collaborators (feed/Reels only). Collaborators are supported on Instagram and Facebook Page Reels only. TikTok, YouTube, Threads, LinkedIn, X and Pinterest do not expose collaborators in their public APIs.
10812
10823
  */
10813
10824
  collaborators?: Array<(string)>;
10814
10825
  /**
@@ -11660,7 +11671,7 @@ export type MediaItem = {
11660
11671
  */
11661
11672
  mimeType?: string;
11662
11673
  /**
11663
- * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, regular video uploads, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
11674
+ * Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels, YouTube videos and Shorts, and LinkedIn video posts. Max 10MB, JPG/PNG recommended.
11664
11675
  */
11665
11676
  thumbnail?: string;
11666
11677
  /**
@@ -22026,7 +22037,7 @@ export type YouTubeDemographicsResponse = {
22026
22037
  * YouTube video settings.
22027
22038
  *
22028
22039
  * - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
22029
- * - Custom thumbnails work for regular videos only.
22040
+ * - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
22030
22041
  * - Scheduled videos are uploaded immediately with the specified visibility.
22031
22042
  * - There is no description field here: the description comes from the post content, or from customContent on this platform target when set, truncated to 5000 characters.
22032
22043
  *