@getlatedev/node 0.2.238 → 0.2.240
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 +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -5718,9 +5718,9 @@ type WhatsAppTemplateButton = {
|
|
|
5718
5718
|
*/
|
|
5719
5719
|
url?: string;
|
|
5720
5720
|
/**
|
|
5721
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5721
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5722
5722
|
*/
|
|
5723
|
-
example?:
|
|
5723
|
+
example?: unknown;
|
|
5724
5724
|
/**
|
|
5725
5725
|
* Required when type is phone_number
|
|
5726
5726
|
*/
|
|
@@ -18688,7 +18688,7 @@ type CreateStandaloneAdData = {
|
|
|
18688
18688
|
*/
|
|
18689
18689
|
url: string;
|
|
18690
18690
|
/**
|
|
18691
|
-
* Public URL of a still-image thumbnail for the video.
|
|
18691
|
+
* Public URL of a still-image thumbnail for the video. OPTIONAL: when omitted on Meta, the poster is auto-generated from Meta's own preferred video thumbnail (the same candidates Ads Manager shows), so video ads publish without supplying one. Provide it to control the poster frame exactly (uploaded as an ad image and referenced in object_story_spec.video_data). Ignored by LinkedIn (auto-generated poster frame).
|
|
18692
18692
|
*/
|
|
18693
18693
|
thumbnailUrl?: string;
|
|
18694
18694
|
};
|
|
@@ -18715,11 +18715,11 @@ type CreateStandaloneAdData = {
|
|
|
18715
18715
|
*/
|
|
18716
18716
|
imageUrl?: string;
|
|
18717
18717
|
/**
|
|
18718
|
-
* Video creative for this entry. Mutually exclusive with `imageUrl`.
|
|
18718
|
+
* Video creative for this entry. Mutually exclusive with `imageUrl`. thumbnailUrl is optional — when omitted, the poster is auto-generated from Meta's preferred video thumbnail.
|
|
18719
18719
|
*/
|
|
18720
18720
|
video?: {
|
|
18721
18721
|
url: string;
|
|
18722
|
-
thumbnailUrl
|
|
18722
|
+
thumbnailUrl?: string;
|
|
18723
18723
|
};
|
|
18724
18724
|
linkUrl: string;
|
|
18725
18725
|
callToAction: 'LEARN_MORE' | 'SHOP_NOW' | 'SIGN_UP' | 'BOOK_TRAVEL' | 'CONTACT_US' | 'DOWNLOAD' | 'GET_OFFER' | 'GET_QUOTE' | 'SUBSCRIBE' | 'WATCH_MORE';
|
package/dist/index.d.ts
CHANGED
|
@@ -5718,9 +5718,9 @@ type WhatsAppTemplateButton = {
|
|
|
5718
5718
|
*/
|
|
5719
5719
|
url?: string;
|
|
5720
5720
|
/**
|
|
5721
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5721
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5722
5722
|
*/
|
|
5723
|
-
example?:
|
|
5723
|
+
example?: unknown;
|
|
5724
5724
|
/**
|
|
5725
5725
|
* Required when type is phone_number
|
|
5726
5726
|
*/
|
|
@@ -18688,7 +18688,7 @@ type CreateStandaloneAdData = {
|
|
|
18688
18688
|
*/
|
|
18689
18689
|
url: string;
|
|
18690
18690
|
/**
|
|
18691
|
-
* Public URL of a still-image thumbnail for the video.
|
|
18691
|
+
* Public URL of a still-image thumbnail for the video. OPTIONAL: when omitted on Meta, the poster is auto-generated from Meta's own preferred video thumbnail (the same candidates Ads Manager shows), so video ads publish without supplying one. Provide it to control the poster frame exactly (uploaded as an ad image and referenced in object_story_spec.video_data). Ignored by LinkedIn (auto-generated poster frame).
|
|
18692
18692
|
*/
|
|
18693
18693
|
thumbnailUrl?: string;
|
|
18694
18694
|
};
|
|
@@ -18715,11 +18715,11 @@ type CreateStandaloneAdData = {
|
|
|
18715
18715
|
*/
|
|
18716
18716
|
imageUrl?: string;
|
|
18717
18717
|
/**
|
|
18718
|
-
* Video creative for this entry. Mutually exclusive with `imageUrl`.
|
|
18718
|
+
* Video creative for this entry. Mutually exclusive with `imageUrl`. thumbnailUrl is optional — when omitted, the poster is auto-generated from Meta's preferred video thumbnail.
|
|
18719
18719
|
*/
|
|
18720
18720
|
video?: {
|
|
18721
18721
|
url: string;
|
|
18722
|
-
thumbnailUrl
|
|
18722
|
+
thumbnailUrl?: string;
|
|
18723
18723
|
};
|
|
18724
18724
|
linkUrl: string;
|
|
18725
18725
|
callToAction: 'LEARN_MORE' | 'SHOP_NOW' | 'SIGN_UP' | 'BOOK_TRAVEL' | 'CONTACT_US' | 'DOWNLOAD' | 'GET_OFFER' | 'GET_QUOTE' | 'SUBSCRIBE' | 'WATCH_MORE';
|
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.240",
|
|
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.240",
|
|
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
|
@@ -5194,9 +5194,9 @@ export type WhatsAppTemplateButton = {
|
|
|
5194
5194
|
*/
|
|
5195
5195
|
url?: string;
|
|
5196
5196
|
/**
|
|
5197
|
-
* Example value(s). For URL buttons, an array of URL-suffix samples
|
|
5197
|
+
* Example value(s). Accepts either a string or an array of strings. For URL buttons, an array of URL-suffix samples; for copy_code (marketing) buttons, the coupon code as a single string. Left untyped (string | string[]) on purpose: a typed oneOf of string-vs-array breaks several SDK code generators.
|
|
5198
5198
|
*/
|
|
5199
|
-
example?:
|
|
5199
|
+
example?: unknown;
|
|
5200
5200
|
/**
|
|
5201
5201
|
* Required when type is phone_number
|
|
5202
5202
|
*/
|
|
@@ -19181,7 +19181,7 @@ export type CreateStandaloneAdData = {
|
|
|
19181
19181
|
*/
|
|
19182
19182
|
url: string;
|
|
19183
19183
|
/**
|
|
19184
|
-
* Public URL of a still-image thumbnail for the video.
|
|
19184
|
+
* Public URL of a still-image thumbnail for the video. OPTIONAL: when omitted on Meta, the poster is auto-generated from Meta's own preferred video thumbnail (the same candidates Ads Manager shows), so video ads publish without supplying one. Provide it to control the poster frame exactly (uploaded as an ad image and referenced in object_story_spec.video_data). Ignored by LinkedIn (auto-generated poster frame).
|
|
19185
19185
|
*/
|
|
19186
19186
|
thumbnailUrl?: string;
|
|
19187
19187
|
};
|
|
@@ -19208,11 +19208,11 @@ export type CreateStandaloneAdData = {
|
|
|
19208
19208
|
*/
|
|
19209
19209
|
imageUrl?: string;
|
|
19210
19210
|
/**
|
|
19211
|
-
* Video creative for this entry. Mutually exclusive with `imageUrl`.
|
|
19211
|
+
* Video creative for this entry. Mutually exclusive with `imageUrl`. thumbnailUrl is optional — when omitted, the poster is auto-generated from Meta's preferred video thumbnail.
|
|
19212
19212
|
*/
|
|
19213
19213
|
video?: {
|
|
19214
19214
|
url: string;
|
|
19215
|
-
thumbnailUrl
|
|
19215
|
+
thumbnailUrl?: string;
|
|
19216
19216
|
};
|
|
19217
19217
|
linkUrl: string;
|
|
19218
19218
|
callToAction: 'LEARN_MORE' | 'SHOP_NOW' | 'SIGN_UP' | 'BOOK_TRAVEL' | 'CONTACT_US' | 'DOWNLOAD' | 'GET_OFFER' | 'GET_QUOTE' | 'SUBSCRIBE' | 'WATCH_MORE';
|