@getlatedev/node 0.2.1417 → 0.2.1419
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 +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +16 -1
package/dist/index.d.mts
CHANGED
|
@@ -10372,11 +10372,26 @@ type FacebookPlatformData = {
|
|
|
10372
10372
|
* Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true.
|
|
10373
10373
|
*/
|
|
10374
10374
|
firstComment?: string;
|
|
10375
|
+
/**
|
|
10376
|
+
* When true, Facebook shows its AI-disclosure label on the post. Forwarded as is_ai_generated on Reels (contentType=reel) and video Stories (contentType=story with a video). Meta documents no such parameter for feed posts, feed videos or photo Stories, so the flag is accepted with a warning and no label there.
|
|
10377
|
+
*/
|
|
10378
|
+
isAiGenerated?: boolean;
|
|
10375
10379
|
/**
|
|
10376
10380
|
* Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
|
|
10377
10381
|
*/
|
|
10378
10382
|
pageId?: string;
|
|
10379
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
|
+
}>;
|
|
10380
10395
|
facebookSettings?: FacebookSettings;
|
|
10381
10396
|
};
|
|
10382
10397
|
/**
|
|
@@ -12611,7 +12626,7 @@ type InstagramPlatformData = {
|
|
|
12611
12626
|
*/
|
|
12612
12627
|
shareToFeed?: boolean;
|
|
12613
12628
|
/**
|
|
12614
|
-
* 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.
|
|
12615
12630
|
*/
|
|
12616
12631
|
collaborators?: Array<(string)>;
|
|
12617
12632
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -10372,11 +10372,26 @@ type FacebookPlatformData = {
|
|
|
10372
10372
|
* Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true.
|
|
10373
10373
|
*/
|
|
10374
10374
|
firstComment?: string;
|
|
10375
|
+
/**
|
|
10376
|
+
* When true, Facebook shows its AI-disclosure label on the post. Forwarded as is_ai_generated on Reels (contentType=reel) and video Stories (contentType=story with a video). Meta documents no such parameter for feed posts, feed videos or photo Stories, so the flag is accepted with a warning and no label there.
|
|
10377
|
+
*/
|
|
10378
|
+
isAiGenerated?: boolean;
|
|
10375
10379
|
/**
|
|
10376
10380
|
* Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
|
|
10377
10381
|
*/
|
|
10378
10382
|
pageId?: string;
|
|
10379
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
|
+
}>;
|
|
10380
10395
|
facebookSettings?: FacebookSettings;
|
|
10381
10396
|
};
|
|
10382
10397
|
/**
|
|
@@ -12611,7 +12626,7 @@ type InstagramPlatformData = {
|
|
|
12611
12626
|
*/
|
|
12612
12627
|
shareToFeed?: boolean;
|
|
12613
12628
|
/**
|
|
12614
|
-
* 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.
|
|
12615
12630
|
*/
|
|
12616
12631
|
collaborators?: Array<(string)>;
|
|
12617
12632
|
/**
|
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.
|
|
39
|
+
version: "0.2.1419",
|
|
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.
|
|
8
|
+
version: "0.2.1419",
|
|
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
|
@@ -8447,11 +8447,26 @@ export type FacebookPlatformData = {
|
|
|
8447
8447
|
* Optional first comment to post immediately after publishing (feed posts and reels, not stories). Skipped when facebookSettings.draft is true.
|
|
8448
8448
|
*/
|
|
8449
8449
|
firstComment?: string;
|
|
8450
|
+
/**
|
|
8451
|
+
* When true, Facebook shows its AI-disclosure label on the post. Forwarded as is_ai_generated on Reels (contentType=reel) and video Stories (contentType=story with a video). Meta documents no such parameter for feed posts, feed videos or photo Stories, so the flag is accepted with a warning and no label there.
|
|
8452
|
+
*/
|
|
8453
|
+
isAiGenerated?: boolean;
|
|
8450
8454
|
/**
|
|
8451
8455
|
* Target Facebook Page ID for multi-page posting. If omitted, uses the default page. Use GET /v1/accounts/{id}/facebook-page to list pages.
|
|
8452
8456
|
*/
|
|
8453
8457
|
pageId?: string;
|
|
8454
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
|
+
}>;
|
|
8455
8470
|
facebookSettings?: FacebookSettings;
|
|
8456
8471
|
};
|
|
8457
8472
|
|
|
@@ -10804,7 +10819,7 @@ export type InstagramPlatformData = {
|
|
|
10804
10819
|
*/
|
|
10805
10820
|
shareToFeed?: boolean;
|
|
10806
10821
|
/**
|
|
10807
|
-
* 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.
|
|
10808
10823
|
*/
|
|
10809
10824
|
collaborators?: Array<(string)>;
|
|
10810
10825
|
/**
|