@getlatedev/node 0.2.1104 → 0.2.1105

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
@@ -2341,6 +2341,48 @@ type Ad = {
2341
2341
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
2342
2342
  */
2343
2343
  mediaUrls?: Array<(string)>;
2344
+ /**
2345
+ * Meta only today. The carousel's cards in the order the ad shows them, one per
2346
+ * Meta `link_data.child_attachments` entry, using the same field names as the
2347
+ * `carouselCards` create input. On a carousel synced from Meta, `imageUrl` is resolved
2348
+ * exactly like `mediaUrls` (the stable `/adimages` permalink first), so the cards that
2349
+ * carry an image line up with `mediaUrls` in order; a card whose image Meta does not
2350
+ * resolve keeps its place without `imageUrl`. On a carousel created through Zernio
2351
+ * it starts as the cards you sent. Absent on non-carousel ads and on
2352
+ * other platforms. Synced carousels stored before this field existed fill it in on
2353
+ * their next sync.
2354
+ *
2355
+ */
2356
+ carouselCards?: Array<{
2357
+ /**
2358
+ * Card image, resolved like the matching `mediaUrls` entry. Absent when Meta returns no resolvable image for the card.
2359
+ */
2360
+ imageUrl?: string;
2361
+ /**
2362
+ * Meta ad image hash of the card image (`image_hash`).
2363
+ */
2364
+ imageHash?: string;
2365
+ /**
2366
+ * Card title (Meta `name`).
2367
+ */
2368
+ headline?: string;
2369
+ /**
2370
+ * Card description, under the title (Meta `description`).
2371
+ */
2372
+ description?: string;
2373
+ /**
2374
+ * Card destination URL (Meta `link`).
2375
+ */
2376
+ linkUrl?: string;
2377
+ /**
2378
+ * Card call to action type (Meta `call_to_action.type`), e.g. SHOP_NOW or WATCH_MORE.
2379
+ */
2380
+ callToAction?: string;
2381
+ /**
2382
+ * Meta video id when the card is a video (`video_id`).
2383
+ */
2384
+ videoId?: string;
2385
+ }>;
2344
2386
  /**
2345
2387
  * LinkedIn only. Whether LinkedIn is currently serving this specific creative. Complements the ad-level `servingStatuses`, which describes the parent campaign.
2346
2388
  */
package/dist/index.d.ts CHANGED
@@ -2341,6 +2341,48 @@ type Ad = {
2341
2341
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
2342
2342
  */
2343
2343
  mediaUrls?: Array<(string)>;
2344
+ /**
2345
+ * Meta only today. The carousel's cards in the order the ad shows them, one per
2346
+ * Meta `link_data.child_attachments` entry, using the same field names as the
2347
+ * `carouselCards` create input. On a carousel synced from Meta, `imageUrl` is resolved
2348
+ * exactly like `mediaUrls` (the stable `/adimages` permalink first), so the cards that
2349
+ * carry an image line up with `mediaUrls` in order; a card whose image Meta does not
2350
+ * resolve keeps its place without `imageUrl`. On a carousel created through Zernio
2351
+ * it starts as the cards you sent. Absent on non-carousel ads and on
2352
+ * other platforms. Synced carousels stored before this field existed fill it in on
2353
+ * their next sync.
2354
+ *
2355
+ */
2356
+ carouselCards?: Array<{
2357
+ /**
2358
+ * Card image, resolved like the matching `mediaUrls` entry. Absent when Meta returns no resolvable image for the card.
2359
+ */
2360
+ imageUrl?: string;
2361
+ /**
2362
+ * Meta ad image hash of the card image (`image_hash`).
2363
+ */
2364
+ imageHash?: string;
2365
+ /**
2366
+ * Card title (Meta `name`).
2367
+ */
2368
+ headline?: string;
2369
+ /**
2370
+ * Card description, under the title (Meta `description`).
2371
+ */
2372
+ description?: string;
2373
+ /**
2374
+ * Card destination URL (Meta `link`).
2375
+ */
2376
+ linkUrl?: string;
2377
+ /**
2378
+ * Card call to action type (Meta `call_to_action.type`), e.g. SHOP_NOW or WATCH_MORE.
2379
+ */
2380
+ callToAction?: string;
2381
+ /**
2382
+ * Meta video id when the card is a video (`video_id`).
2383
+ */
2384
+ videoId?: string;
2385
+ }>;
2344
2386
  /**
2345
2387
  * LinkedIn only. Whether LinkedIn is currently serving this specific creative. Complements the ad-level `servingStatuses`, which describes the parent campaign.
2346
2388
  */
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.1104",
39
+ version: "0.2.1105",
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.1104",
8
+ version: "0.2.1105",
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.1104",
3
+ "version": "0.2.1105",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -355,6 +355,48 @@ export type Ad = {
355
355
  * All media URLs for this ad (carousel images, multiple assets). Populated for Meta (carousel child_attachments), Google Ads (responsive display marketing_images), and LinkedIn (multi-image posts).
356
356
  */
357
357
  mediaUrls?: Array<(string)>;
358
+ /**
359
+ * Meta only today. The carousel's cards in the order the ad shows them, one per
360
+ * Meta `link_data.child_attachments` entry, using the same field names as the
361
+ * `carouselCards` create input. On a carousel synced from Meta, `imageUrl` is resolved
362
+ * exactly like `mediaUrls` (the stable `/adimages` permalink first), so the cards that
363
+ * carry an image line up with `mediaUrls` in order; a card whose image Meta does not
364
+ * resolve keeps its place without `imageUrl`. On a carousel created through Zernio
365
+ * it starts as the cards you sent. Absent on non-carousel ads and on
366
+ * other platforms. Synced carousels stored before this field existed fill it in on
367
+ * their next sync.
368
+ *
369
+ */
370
+ carouselCards?: Array<{
371
+ /**
372
+ * Card image, resolved like the matching `mediaUrls` entry. Absent when Meta returns no resolvable image for the card.
373
+ */
374
+ imageUrl?: string;
375
+ /**
376
+ * Meta ad image hash of the card image (`image_hash`).
377
+ */
378
+ imageHash?: string;
379
+ /**
380
+ * Card title (Meta `name`).
381
+ */
382
+ headline?: string;
383
+ /**
384
+ * Card description, under the title (Meta `description`).
385
+ */
386
+ description?: string;
387
+ /**
388
+ * Card destination URL (Meta `link`).
389
+ */
390
+ linkUrl?: string;
391
+ /**
392
+ * Card call to action type (Meta `call_to_action.type`), e.g. SHOP_NOW or WATCH_MORE.
393
+ */
394
+ callToAction?: string;
395
+ /**
396
+ * Meta video id when the card is a video (`video_id`).
397
+ */
398
+ videoId?: string;
399
+ }>;
358
400
  /**
359
401
  * LinkedIn only. Whether LinkedIn is currently serving this specific creative. Complements the ad-level `servingStatuses`, which describes the parent campaign.
360
402
  */