@getlatedev/node 0.2.387 → 0.2.388
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 +64 -0
- package/dist/index.d.ts +64 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +64 -0
package/dist/index.d.mts
CHANGED
|
@@ -23258,6 +23258,18 @@ type QueryAdInsightsData = {
|
|
|
23258
23258
|
* Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
23259
23259
|
*/
|
|
23260
23260
|
accountId: string;
|
|
23261
|
+
/**
|
|
23262
|
+
* Comma-separated Meta attribution windows. Action values are returned keyed per window.
|
|
23263
|
+
*/
|
|
23264
|
+
actionAttributionWindows?: string;
|
|
23265
|
+
/**
|
|
23266
|
+
* Comma-separated Graph action breakdowns. Segments the actions[] arrays in each row.
|
|
23267
|
+
*/
|
|
23268
|
+
actionBreakdowns?: string;
|
|
23269
|
+
/**
|
|
23270
|
+
* When actions are counted: impression, conversion or mixed.
|
|
23271
|
+
*/
|
|
23272
|
+
actionReportTime?: string;
|
|
23261
23273
|
/**
|
|
23262
23274
|
* Cursor from paging.after of the previous page.
|
|
23263
23275
|
*/
|
|
@@ -23302,6 +23314,10 @@ type QueryAdInsightsData = {
|
|
|
23302
23314
|
* End of range (YYYY-MM-DD); requires fromDate.
|
|
23303
23315
|
*/
|
|
23304
23316
|
toDate?: string;
|
|
23317
|
+
/**
|
|
23318
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
23319
|
+
*/
|
|
23320
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23305
23321
|
};
|
|
23306
23322
|
};
|
|
23307
23323
|
type QueryAdInsightsResponse = ({
|
|
@@ -23338,6 +23354,22 @@ type CreateAdInsightsReportData = {
|
|
|
23338
23354
|
* Comma-separated Graph breakdowns.
|
|
23339
23355
|
*/
|
|
23340
23356
|
breakdowns?: string;
|
|
23357
|
+
/**
|
|
23358
|
+
* Comma-separated Graph action breakdowns (e.g. action_type,action_destination).
|
|
23359
|
+
*/
|
|
23360
|
+
actionBreakdowns?: string;
|
|
23361
|
+
/**
|
|
23362
|
+
* Meta attribution windows (e.g. ["7d_click", "1d_view"]). Action values are returned keyed per window.
|
|
23363
|
+
*/
|
|
23364
|
+
actionAttributionWindows?: Array<(string)>;
|
|
23365
|
+
/**
|
|
23366
|
+
* When actions are counted: impression, conversion or mixed.
|
|
23367
|
+
*/
|
|
23368
|
+
actionReportTime?: string;
|
|
23369
|
+
/**
|
|
23370
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
23371
|
+
*/
|
|
23372
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23341
23373
|
/**
|
|
23342
23374
|
* Meta filter objects, applied server-side.
|
|
23343
23375
|
*/
|
|
@@ -24440,6 +24472,38 @@ type CreateStandaloneAdData = {
|
|
|
24440
24472
|
*/
|
|
24441
24473
|
adFormat?: 'SINGLE_IMAGE' | 'CAROUSEL_IMAGE';
|
|
24442
24474
|
};
|
|
24475
|
+
/**
|
|
24476
|
+
* Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to
|
|
24477
|
+
* the creative's `link_data.child_attachments`. Unlike `dynamicCreative`,
|
|
24478
|
+
* you control the card order and per-card copy/link. Requires top-level `body`,
|
|
24479
|
+
* `linkUrl` and `callToAction`.
|
|
24480
|
+
* Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`,
|
|
24481
|
+
* `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal
|
|
24482
|
+
* `catalog_sales`.
|
|
24483
|
+
*
|
|
24484
|
+
*/
|
|
24485
|
+
carouselCards?: Array<{
|
|
24486
|
+
/**
|
|
24487
|
+
* Card image; uploaded to the ad account and referenced by hash.
|
|
24488
|
+
*/
|
|
24489
|
+
imageUrl: string;
|
|
24490
|
+
/**
|
|
24491
|
+
* Card destination URL. Defaults to the top-level linkUrl.
|
|
24492
|
+
*/
|
|
24493
|
+
linkUrl?: string;
|
|
24494
|
+
/**
|
|
24495
|
+
* Card headline, shown below the card image.
|
|
24496
|
+
*/
|
|
24497
|
+
headline?: string;
|
|
24498
|
+
/**
|
|
24499
|
+
* Card description, shown under the headline.
|
|
24500
|
+
*/
|
|
24501
|
+
description?: string;
|
|
24502
|
+
/**
|
|
24503
|
+
* Card CTA override. Defaults to the top-level callToAction; same enum.
|
|
24504
|
+
*/
|
|
24505
|
+
callToAction?: string;
|
|
24506
|
+
}>;
|
|
24443
24507
|
/**
|
|
24444
24508
|
* Meta only. Placement asset customization: pin a SPECIFIC asset (image OR video) to
|
|
24445
24509
|
* each placement group on a SINGLE ad (e.g. a 9:16 on Stories/Reels and a 4:5 on Feed).
|
package/dist/index.d.ts
CHANGED
|
@@ -23258,6 +23258,18 @@ type QueryAdInsightsData = {
|
|
|
23258
23258
|
* Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
23259
23259
|
*/
|
|
23260
23260
|
accountId: string;
|
|
23261
|
+
/**
|
|
23262
|
+
* Comma-separated Meta attribution windows. Action values are returned keyed per window.
|
|
23263
|
+
*/
|
|
23264
|
+
actionAttributionWindows?: string;
|
|
23265
|
+
/**
|
|
23266
|
+
* Comma-separated Graph action breakdowns. Segments the actions[] arrays in each row.
|
|
23267
|
+
*/
|
|
23268
|
+
actionBreakdowns?: string;
|
|
23269
|
+
/**
|
|
23270
|
+
* When actions are counted: impression, conversion or mixed.
|
|
23271
|
+
*/
|
|
23272
|
+
actionReportTime?: string;
|
|
23261
23273
|
/**
|
|
23262
23274
|
* Cursor from paging.after of the previous page.
|
|
23263
23275
|
*/
|
|
@@ -23302,6 +23314,10 @@ type QueryAdInsightsData = {
|
|
|
23302
23314
|
* End of range (YYYY-MM-DD); requires fromDate.
|
|
23303
23315
|
*/
|
|
23304
23316
|
toDate?: string;
|
|
23317
|
+
/**
|
|
23318
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
23319
|
+
*/
|
|
23320
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23305
23321
|
};
|
|
23306
23322
|
};
|
|
23307
23323
|
type QueryAdInsightsResponse = ({
|
|
@@ -23338,6 +23354,22 @@ type CreateAdInsightsReportData = {
|
|
|
23338
23354
|
* Comma-separated Graph breakdowns.
|
|
23339
23355
|
*/
|
|
23340
23356
|
breakdowns?: string;
|
|
23357
|
+
/**
|
|
23358
|
+
* Comma-separated Graph action breakdowns (e.g. action_type,action_destination).
|
|
23359
|
+
*/
|
|
23360
|
+
actionBreakdowns?: string;
|
|
23361
|
+
/**
|
|
23362
|
+
* Meta attribution windows (e.g. ["7d_click", "1d_view"]). Action values are returned keyed per window.
|
|
23363
|
+
*/
|
|
23364
|
+
actionAttributionWindows?: Array<(string)>;
|
|
23365
|
+
/**
|
|
23366
|
+
* When actions are counted: impression, conversion or mixed.
|
|
23367
|
+
*/
|
|
23368
|
+
actionReportTime?: string;
|
|
23369
|
+
/**
|
|
23370
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
23371
|
+
*/
|
|
23372
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23341
23373
|
/**
|
|
23342
23374
|
* Meta filter objects, applied server-side.
|
|
23343
23375
|
*/
|
|
@@ -24440,6 +24472,38 @@ type CreateStandaloneAdData = {
|
|
|
24440
24472
|
*/
|
|
24441
24473
|
adFormat?: 'SINGLE_IMAGE' | 'CAROUSEL_IMAGE';
|
|
24442
24474
|
};
|
|
24475
|
+
/**
|
|
24476
|
+
* Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to
|
|
24477
|
+
* the creative's `link_data.child_attachments`. Unlike `dynamicCreative`,
|
|
24478
|
+
* you control the card order and per-card copy/link. Requires top-level `body`,
|
|
24479
|
+
* `linkUrl` and `callToAction`.
|
|
24480
|
+
* Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`,
|
|
24481
|
+
* `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal
|
|
24482
|
+
* `catalog_sales`.
|
|
24483
|
+
*
|
|
24484
|
+
*/
|
|
24485
|
+
carouselCards?: Array<{
|
|
24486
|
+
/**
|
|
24487
|
+
* Card image; uploaded to the ad account and referenced by hash.
|
|
24488
|
+
*/
|
|
24489
|
+
imageUrl: string;
|
|
24490
|
+
/**
|
|
24491
|
+
* Card destination URL. Defaults to the top-level linkUrl.
|
|
24492
|
+
*/
|
|
24493
|
+
linkUrl?: string;
|
|
24494
|
+
/**
|
|
24495
|
+
* Card headline, shown below the card image.
|
|
24496
|
+
*/
|
|
24497
|
+
headline?: string;
|
|
24498
|
+
/**
|
|
24499
|
+
* Card description, shown under the headline.
|
|
24500
|
+
*/
|
|
24501
|
+
description?: string;
|
|
24502
|
+
/**
|
|
24503
|
+
* Card CTA override. Defaults to the top-level callToAction; same enum.
|
|
24504
|
+
*/
|
|
24505
|
+
callToAction?: string;
|
|
24506
|
+
}>;
|
|
24443
24507
|
/**
|
|
24444
24508
|
* Meta only. Placement asset customization: pin a SPECIFIC asset (image OR video) to
|
|
24445
24509
|
* each placement group on a SINGLE ad (e.g. a 9:16 on Stories/Reels and a 4:5 on Feed).
|
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.388",
|
|
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.388",
|
|
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
|
@@ -23892,6 +23892,18 @@ export type QueryAdInsightsData = {
|
|
|
23892
23892
|
* Zernio SocialAccount id (posting or ads variant) used to resolve the Meta token.
|
|
23893
23893
|
*/
|
|
23894
23894
|
accountId: string;
|
|
23895
|
+
/**
|
|
23896
|
+
* Comma-separated Meta attribution windows. Action values are returned keyed per window.
|
|
23897
|
+
*/
|
|
23898
|
+
actionAttributionWindows?: string;
|
|
23899
|
+
/**
|
|
23900
|
+
* Comma-separated Graph action breakdowns. Segments the actions[] arrays in each row.
|
|
23901
|
+
*/
|
|
23902
|
+
actionBreakdowns?: string;
|
|
23903
|
+
/**
|
|
23904
|
+
* When actions are counted: impression, conversion or mixed.
|
|
23905
|
+
*/
|
|
23906
|
+
actionReportTime?: string;
|
|
23895
23907
|
/**
|
|
23896
23908
|
* Cursor from paging.after of the previous page.
|
|
23897
23909
|
*/
|
|
@@ -23936,6 +23948,10 @@ export type QueryAdInsightsData = {
|
|
|
23936
23948
|
* End of range (YYYY-MM-DD); requires fromDate.
|
|
23937
23949
|
*/
|
|
23938
23950
|
toDate?: string;
|
|
23951
|
+
/**
|
|
23952
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
23953
|
+
*/
|
|
23954
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23939
23955
|
};
|
|
23940
23956
|
};
|
|
23941
23957
|
|
|
@@ -23975,6 +23991,22 @@ export type CreateAdInsightsReportData = {
|
|
|
23975
23991
|
* Comma-separated Graph breakdowns.
|
|
23976
23992
|
*/
|
|
23977
23993
|
breakdowns?: string;
|
|
23994
|
+
/**
|
|
23995
|
+
* Comma-separated Graph action breakdowns (e.g. action_type,action_destination).
|
|
23996
|
+
*/
|
|
23997
|
+
actionBreakdowns?: string;
|
|
23998
|
+
/**
|
|
23999
|
+
* Meta attribution windows (e.g. ["7d_click", "1d_view"]). Action values are returned keyed per window.
|
|
24000
|
+
*/
|
|
24001
|
+
actionAttributionWindows?: Array<(string)>;
|
|
24002
|
+
/**
|
|
24003
|
+
* When actions are counted: impression, conversion or mixed.
|
|
24004
|
+
*/
|
|
24005
|
+
actionReportTime?: string;
|
|
24006
|
+
/**
|
|
24007
|
+
* Use the ad sets' own attribution settings for action counting.
|
|
24008
|
+
*/
|
|
24009
|
+
useUnifiedAttributionSetting?: boolean;
|
|
23978
24010
|
/**
|
|
23979
24011
|
* Meta filter objects, applied server-side.
|
|
23980
24012
|
*/
|
|
@@ -25113,6 +25145,38 @@ export type CreateStandaloneAdData = {
|
|
|
25113
25145
|
*/
|
|
25114
25146
|
adFormat?: 'SINGLE_IMAGE' | 'CAROUSEL_IMAGE';
|
|
25115
25147
|
};
|
|
25148
|
+
/**
|
|
25149
|
+
* Meta only. Hand-built carousel: 2-10 authored cards in DETERMINISTIC order, mapped to
|
|
25150
|
+
* the creative's `link_data.child_attachments`. Unlike `dynamicCreative`,
|
|
25151
|
+
* you control the card order and per-card copy/link. Requires top-level `body`,
|
|
25152
|
+
* `linkUrl` and `callToAction`.
|
|
25153
|
+
* Mutually exclusive with `imageUrl`/`video`, `creatives[]`, `dynamicCreative`,
|
|
25154
|
+
* `placementAssets`, `existingCreativeId`, `adSetId`, `leadGenFormId` and goal
|
|
25155
|
+
* `catalog_sales`.
|
|
25156
|
+
*
|
|
25157
|
+
*/
|
|
25158
|
+
carouselCards?: Array<{
|
|
25159
|
+
/**
|
|
25160
|
+
* Card image; uploaded to the ad account and referenced by hash.
|
|
25161
|
+
*/
|
|
25162
|
+
imageUrl: string;
|
|
25163
|
+
/**
|
|
25164
|
+
* Card destination URL. Defaults to the top-level linkUrl.
|
|
25165
|
+
*/
|
|
25166
|
+
linkUrl?: string;
|
|
25167
|
+
/**
|
|
25168
|
+
* Card headline, shown below the card image.
|
|
25169
|
+
*/
|
|
25170
|
+
headline?: string;
|
|
25171
|
+
/**
|
|
25172
|
+
* Card description, shown under the headline.
|
|
25173
|
+
*/
|
|
25174
|
+
description?: string;
|
|
25175
|
+
/**
|
|
25176
|
+
* Card CTA override. Defaults to the top-level callToAction; same enum.
|
|
25177
|
+
*/
|
|
25178
|
+
callToAction?: string;
|
|
25179
|
+
}>;
|
|
25116
25180
|
/**
|
|
25117
25181
|
* Meta only. Placement asset customization: pin a SPECIFIC asset (image OR video) to
|
|
25118
25182
|
* each placement group on a SINGLE ad (e.g. a 9:16 on Stories/Reels and a 4:5 on Feed).
|