@getlatedev/node 0.2.1419 → 0.2.1421
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 +10 -2
- package/dist/index.d.ts +10 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +10 -2
package/dist/index.d.mts
CHANGED
|
@@ -13457,7 +13457,7 @@ type MediaItem = {
|
|
|
13457
13457
|
*/
|
|
13458
13458
|
mimeType?: string;
|
|
13459
13459
|
/**
|
|
13460
|
-
* Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels,
|
|
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.
|
|
13461
13461
|
*/
|
|
13462
13462
|
thumbnail?: string;
|
|
13463
13463
|
/**
|
|
@@ -23369,7 +23369,7 @@ type YouTubeDemographicsResponse = {
|
|
|
23369
23369
|
* YouTube video settings.
|
|
23370
23370
|
*
|
|
23371
23371
|
* - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
|
|
23372
|
-
* - Custom thumbnails work
|
|
23372
|
+
* - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
|
|
23373
23373
|
* - Scheduled videos are uploaded immediately with the specified visibility.
|
|
23374
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.
|
|
23375
23375
|
*
|
|
@@ -52425,6 +52425,8 @@ type UpdateAdData = {
|
|
|
52425
52425
|
* - Meta creatives are immutable: any change creates a new creative and repoints the ad. The old creative stays on the ad account for historical reporting.
|
|
52426
52426
|
* - `creativeFeatures` is Meta-only. Omitted settings are preserved from the live creative, including on full rebuilds; a supplied creativeFeatures map overrides individual existing keys.
|
|
52427
52427
|
*
|
|
52428
|
+
* - A `creative` object with no recognised field (`promotion` alone does not count) is a 400 `missing_required_field` when it is the only update, and is ignored (no creative rebuild) next to another updatable field.
|
|
52429
|
+
*
|
|
52428
52430
|
* **TikTok**: patch-style. Pass any subset.
|
|
52429
52431
|
*
|
|
52430
52432
|
* - `headline` is ignored (no headline slot).
|
|
@@ -52446,6 +52448,12 @@ type UpdateAdData = {
|
|
|
52446
52448
|
*/
|
|
52447
52449
|
promotion?: MetaPromotion;
|
|
52448
52450
|
creativeFeatures?: MetaCreativeFeatures;
|
|
52451
|
+
/**
|
|
52452
|
+
* Meta catalog template ads only. Rebuilds the creative with this `template_data.format_option` (same mapping as on create) and repoints the ad at the new creative.
|
|
52453
|
+
*
|
|
52454
|
+
* Returns 400 on any other network, on a Meta ad without a catalog template creative, or with `existingCreativeId`. Copy or media fields return 422 on a catalog creative.
|
|
52455
|
+
*/
|
|
52456
|
+
catalogFormat?: 'single_image' | 'carousel_images_multi_items' | 'carousel_images_single_item' | 'carousel_slideshows';
|
|
52449
52457
|
/**
|
|
52450
52458
|
* Meta and LinkedIn (TikTok has no headline slot)
|
|
52451
52459
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -13457,7 +13457,7 @@ type MediaItem = {
|
|
|
13457
13457
|
*/
|
|
13458
13458
|
mimeType?: string;
|
|
13459
13459
|
/**
|
|
13460
|
-
* Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels,
|
|
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.
|
|
13461
13461
|
*/
|
|
13462
13462
|
thumbnail?: string;
|
|
13463
13463
|
/**
|
|
@@ -23369,7 +23369,7 @@ type YouTubeDemographicsResponse = {
|
|
|
23369
23369
|
* YouTube video settings.
|
|
23370
23370
|
*
|
|
23371
23371
|
* - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
|
|
23372
|
-
* - Custom thumbnails work
|
|
23372
|
+
* - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
|
|
23373
23373
|
* - Scheduled videos are uploaded immediately with the specified visibility.
|
|
23374
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.
|
|
23375
23375
|
*
|
|
@@ -52425,6 +52425,8 @@ type UpdateAdData = {
|
|
|
52425
52425
|
* - Meta creatives are immutable: any change creates a new creative and repoints the ad. The old creative stays on the ad account for historical reporting.
|
|
52426
52426
|
* - `creativeFeatures` is Meta-only. Omitted settings are preserved from the live creative, including on full rebuilds; a supplied creativeFeatures map overrides individual existing keys.
|
|
52427
52427
|
*
|
|
52428
|
+
* - A `creative` object with no recognised field (`promotion` alone does not count) is a 400 `missing_required_field` when it is the only update, and is ignored (no creative rebuild) next to another updatable field.
|
|
52429
|
+
*
|
|
52428
52430
|
* **TikTok**: patch-style. Pass any subset.
|
|
52429
52431
|
*
|
|
52430
52432
|
* - `headline` is ignored (no headline slot).
|
|
@@ -52446,6 +52448,12 @@ type UpdateAdData = {
|
|
|
52446
52448
|
*/
|
|
52447
52449
|
promotion?: MetaPromotion;
|
|
52448
52450
|
creativeFeatures?: MetaCreativeFeatures;
|
|
52451
|
+
/**
|
|
52452
|
+
* Meta catalog template ads only. Rebuilds the creative with this `template_data.format_option` (same mapping as on create) and repoints the ad at the new creative.
|
|
52453
|
+
*
|
|
52454
|
+
* Returns 400 on any other network, on a Meta ad without a catalog template creative, or with `existingCreativeId`. Copy or media fields return 422 on a catalog creative.
|
|
52455
|
+
*/
|
|
52456
|
+
catalogFormat?: 'single_image' | 'carousel_images_multi_items' | 'carousel_images_single_item' | 'carousel_slideshows';
|
|
52449
52457
|
/**
|
|
52450
52458
|
* Meta and LinkedIn (TikTok has no headline slot)
|
|
52451
52459
|
*/
|
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.1421",
|
|
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.1421",
|
|
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
|
@@ -11671,7 +11671,7 @@ export type MediaItem = {
|
|
|
11671
11671
|
*/
|
|
11672
11672
|
mimeType?: string;
|
|
11673
11673
|
/**
|
|
11674
|
-
* Optional custom thumbnail/cover image URL for videos. Supported for Facebook video posts, Facebook Reels,
|
|
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.
|
|
11675
11675
|
*/
|
|
11676
11676
|
thumbnail?: string;
|
|
11677
11677
|
/**
|
|
@@ -22037,7 +22037,7 @@ export type YouTubeDemographicsResponse = {
|
|
|
22037
22037
|
* YouTube video settings.
|
|
22038
22038
|
*
|
|
22039
22039
|
* - YouTube publishes a vertical or square video of 3 minutes or less as a Short; there is no flag.
|
|
22040
|
-
* - Custom thumbnails work
|
|
22040
|
+
* - Custom thumbnails work on regular videos and Shorts (verified on a Short on 2026-11-01).
|
|
22041
22041
|
* - Scheduled videos are uploaded immediately with the specified visibility.
|
|
22042
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.
|
|
22043
22043
|
*
|
|
@@ -53257,6 +53257,8 @@ export type UpdateAdData = {
|
|
|
53257
53257
|
* - Meta creatives are immutable: any change creates a new creative and repoints the ad. The old creative stays on the ad account for historical reporting.
|
|
53258
53258
|
* - `creativeFeatures` is Meta-only. Omitted settings are preserved from the live creative, including on full rebuilds; a supplied creativeFeatures map overrides individual existing keys.
|
|
53259
53259
|
*
|
|
53260
|
+
* - A `creative` object with no recognised field (`promotion` alone does not count) is a 400 `missing_required_field` when it is the only update, and is ignored (no creative rebuild) next to another updatable field.
|
|
53261
|
+
*
|
|
53260
53262
|
* **TikTok**: patch-style. Pass any subset.
|
|
53261
53263
|
*
|
|
53262
53264
|
* - `headline` is ignored (no headline slot).
|
|
@@ -53278,6 +53280,12 @@ export type UpdateAdData = {
|
|
|
53278
53280
|
*/
|
|
53279
53281
|
promotion?: MetaPromotion;
|
|
53280
53282
|
creativeFeatures?: MetaCreativeFeatures;
|
|
53283
|
+
/**
|
|
53284
|
+
* Meta catalog template ads only. Rebuilds the creative with this `template_data.format_option` (same mapping as on create) and repoints the ad at the new creative.
|
|
53285
|
+
*
|
|
53286
|
+
* Returns 400 on any other network, on a Meta ad without a catalog template creative, or with `existingCreativeId`. Copy or media fields return 422 on a catalog creative.
|
|
53287
|
+
*/
|
|
53288
|
+
catalogFormat?: 'single_image' | 'carousel_images_multi_items' | 'carousel_images_single_item' | 'carousel_slideshows';
|
|
53281
53289
|
/**
|
|
53282
53290
|
* Meta and LinkedIn (TikTok has no headline slot)
|
|
53283
53291
|
*/
|