@getlatedev/node 0.2.1739 → 0.2.1740
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 +6 -4
- package/dist/index.d.ts +6 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +6 -4
package/dist/index.d.mts
CHANGED
|
@@ -68971,15 +68971,17 @@ type UpdateAdData = {
|
|
|
68971
68971
|
*/
|
|
68972
68972
|
squareImageUrl?: string;
|
|
68973
68973
|
/**
|
|
68974
|
-
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option (422 when it has several: send `bodies`).
|
|
68974
|
+
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option and the story text (422 when it has several: send `bodies`). Sent with `bodies`, it sets the story's fallback primary text (`link_data.message` or `video_data.message`) while `bodies` replaces the options.
|
|
68975
68975
|
*/
|
|
68976
68976
|
body?: string;
|
|
68977
68977
|
/**
|
|
68978
|
-
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
68978
|
+
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
68979
|
+
*
|
|
68980
|
+
* A different count returns 422, as does a single-text creative (send `body`). Add `body` to set the story's fallback text as well.
|
|
68979
68981
|
*/
|
|
68980
68982
|
bodies?: Array<(string)>;
|
|
68981
68983
|
/**
|
|
68982
|
-
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`).
|
|
68984
|
+
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`). Add `headline` to set the story's fallback title. Not the top-level Google `headlines`.
|
|
68983
68985
|
*/
|
|
68984
68986
|
headlines?: Array<(string)>;
|
|
68985
68987
|
/**
|
|
@@ -68987,7 +68989,7 @@ type UpdateAdData = {
|
|
|
68987
68989
|
*/
|
|
68988
68990
|
description?: string;
|
|
68989
68991
|
/**
|
|
68990
|
-
* Meta only. Same as `bodies`, for the description options.
|
|
68992
|
+
* Meta only. Same as `bodies`, for the description options. Add `description` to set the story's fallback description. Not the top-level Google `descriptions`.
|
|
68991
68993
|
*/
|
|
68992
68994
|
descriptions?: Array<(string)>;
|
|
68993
68995
|
callToAction?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -68971,15 +68971,17 @@ type UpdateAdData = {
|
|
|
68971
68971
|
*/
|
|
68972
68972
|
squareImageUrl?: string;
|
|
68973
68973
|
/**
|
|
68974
|
-
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option (422 when it has several: send `bodies`).
|
|
68974
|
+
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option and the story text (422 when it has several: send `bodies`). Sent with `bodies`, it sets the story's fallback primary text (`link_data.message` or `video_data.message`) while `bodies` replaces the options.
|
|
68975
68975
|
*/
|
|
68976
68976
|
body?: string;
|
|
68977
68977
|
/**
|
|
68978
|
-
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
68978
|
+
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
68979
|
+
*
|
|
68980
|
+
* A different count returns 422, as does a single-text creative (send `body`). Add `body` to set the story's fallback text as well.
|
|
68979
68981
|
*/
|
|
68980
68982
|
bodies?: Array<(string)>;
|
|
68981
68983
|
/**
|
|
68982
|
-
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`).
|
|
68984
|
+
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`). Add `headline` to set the story's fallback title. Not the top-level Google `headlines`.
|
|
68983
68985
|
*/
|
|
68984
68986
|
headlines?: Array<(string)>;
|
|
68985
68987
|
/**
|
|
@@ -68987,7 +68989,7 @@ type UpdateAdData = {
|
|
|
68987
68989
|
*/
|
|
68988
68990
|
description?: string;
|
|
68989
68991
|
/**
|
|
68990
|
-
* Meta only. Same as `bodies`, for the description options.
|
|
68992
|
+
* Meta only. Same as `bodies`, for the description options. Add `description` to set the story's fallback description. Not the top-level Google `descriptions`.
|
|
68991
68993
|
*/
|
|
68992
68994
|
descriptions?: Array<(string)>;
|
|
68993
68995
|
callToAction?: string;
|
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.1740",
|
|
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.1740",
|
|
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
|
@@ -70365,15 +70365,17 @@ export type UpdateAdData = {
|
|
|
70365
70365
|
*/
|
|
70366
70366
|
squareImageUrl?: string;
|
|
70367
70367
|
/**
|
|
70368
|
-
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option (422 when it has several: send `bodies`).
|
|
70368
|
+
* Primary text. On a Meta asset_feed creative it replaces the feed's only body option and the story text (422 when it has several: send `bodies`). Sent with `bodies`, it sets the story's fallback primary text (`link_data.message` or `video_data.message`) while `bodies` replaces the options.
|
|
70369
70369
|
*/
|
|
70370
70370
|
body?: string;
|
|
70371
70371
|
/**
|
|
70372
|
-
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
70372
|
+
* Meta only. The primary text options of an asset_feed creative, one text per option in the order GET /v1/ads/{adId} returns them. Each replaces the option in its position and keeps its rule.
|
|
70373
|
+
*
|
|
70374
|
+
* A different count returns 422, as does a single-text creative (send `body`). Add `body` to set the story's fallback text as well.
|
|
70373
70375
|
*/
|
|
70374
70376
|
bodies?: Array<(string)>;
|
|
70375
70377
|
/**
|
|
70376
|
-
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`).
|
|
70378
|
+
* Meta only. Same as `bodies`, for the headline options (Meta `asset_feed_spec.titles`). Add `headline` to set the story's fallback title. Not the top-level Google `headlines`.
|
|
70377
70379
|
*/
|
|
70378
70380
|
headlines?: Array<(string)>;
|
|
70379
70381
|
/**
|
|
@@ -70381,7 +70383,7 @@ export type UpdateAdData = {
|
|
|
70381
70383
|
*/
|
|
70382
70384
|
description?: string;
|
|
70383
70385
|
/**
|
|
70384
|
-
* Meta only. Same as `bodies`, for the description options.
|
|
70386
|
+
* Meta only. Same as `bodies`, for the description options. Add `description` to set the story's fallback description. Not the top-level Google `descriptions`.
|
|
70385
70387
|
*/
|
|
70386
70388
|
descriptions?: Array<(string)>;
|
|
70387
70389
|
callToAction?: string;
|