@getlatedev/node 0.2.1379 → 0.2.1380
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 +21 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +21 -0
package/dist/index.d.mts
CHANGED
|
@@ -4253,6 +4253,27 @@ type AdTreeAdSet = {
|
|
|
4253
4253
|
pixel_id?: string;
|
|
4254
4254
|
page_id?: string;
|
|
4255
4255
|
} | null;
|
|
4256
|
+
/**
|
|
4257
|
+
* Meta only. Where the ad set sends people (Meta `destination_type`), e.g. WEBSITE, MESSENGER, WHATSAPP, INSTAGRAM_DIRECT, ON_AD. Meta answers UNDEFINED for an ad set with no explicit destination. As of the last sync; null on other platforms and for ad sets not yet synced.
|
|
4258
|
+
*/
|
|
4259
|
+
destinationType?: (string) | null;
|
|
4260
|
+
/**
|
|
4261
|
+
* Meta only. The ad set's conversion attribution windows (Meta `attribution_spec`), in the same shape `attributionSpec` takes on ad creation so a clone can send it back unchanged. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4262
|
+
*/
|
|
4263
|
+
attributionSpec?: Array<{
|
|
4264
|
+
eventType?: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
|
|
4265
|
+
windowDays?: 1 | 7 | 28;
|
|
4266
|
+
}> | null;
|
|
4267
|
+
/**
|
|
4268
|
+
* Meta only. Regional regulated categories declared on the ad set (Meta `regional_regulated_categories`), e.g. AUSTRALIA_FINSERV, TAIWAN_UNIVERSAL, SINGAPORE_UNIVERSAL or VOLUNTARY_VERIFICATION. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4269
|
+
*/
|
|
4270
|
+
regionalRegulatedCategories?: Array<(string)> | null;
|
|
4271
|
+
/**
|
|
4272
|
+
* Meta only. Verified identity IDs per regional regulation role (Meta `regional_regulation_identities`), keyed by Meta's role name. IDs are strings because they can exceed a JSON number's precision. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4273
|
+
*/
|
|
4274
|
+
regionalRegulationIdentities?: {
|
|
4275
|
+
[key: string]: (string);
|
|
4276
|
+
} | null;
|
|
4256
4277
|
/**
|
|
4257
4278
|
* Individual ads within this ad set (capped at 100). When the ad set has more than 100 ads these are the 100 highest-spending over the requested date range, so this array depends on `fromDate`/`toDate`; `adCount` is always the true ad set size. Returns a subset of Ad fields from the aggregation: `_id`, `name`, `platform`, `status`, `configuredStatus`, `reviewStatus`, `budget`, `metrics`, `creative`, `goal` and the `platform*` ids are always included; `targeting` and `schedule` may be absent. `configuredStatus` (the ad's own on/off toggle) and `reviewStatus` (the platform's review verdict) are part of this contract, not incidental: a rejected ad is only distinguishable from a healthy one through `reviewStatus`. When `timeIncrement=1&dailyLevel=ad`, each entry also carries a `daily[]` array of `AdDailyMetrics`.
|
|
4258
4279
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4253,6 +4253,27 @@ type AdTreeAdSet = {
|
|
|
4253
4253
|
pixel_id?: string;
|
|
4254
4254
|
page_id?: string;
|
|
4255
4255
|
} | null;
|
|
4256
|
+
/**
|
|
4257
|
+
* Meta only. Where the ad set sends people (Meta `destination_type`), e.g. WEBSITE, MESSENGER, WHATSAPP, INSTAGRAM_DIRECT, ON_AD. Meta answers UNDEFINED for an ad set with no explicit destination. As of the last sync; null on other platforms and for ad sets not yet synced.
|
|
4258
|
+
*/
|
|
4259
|
+
destinationType?: (string) | null;
|
|
4260
|
+
/**
|
|
4261
|
+
* Meta only. The ad set's conversion attribution windows (Meta `attribution_spec`), in the same shape `attributionSpec` takes on ad creation so a clone can send it back unchanged. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4262
|
+
*/
|
|
4263
|
+
attributionSpec?: Array<{
|
|
4264
|
+
eventType?: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
|
|
4265
|
+
windowDays?: 1 | 7 | 28;
|
|
4266
|
+
}> | null;
|
|
4267
|
+
/**
|
|
4268
|
+
* Meta only. Regional regulated categories declared on the ad set (Meta `regional_regulated_categories`), e.g. AUSTRALIA_FINSERV, TAIWAN_UNIVERSAL, SINGAPORE_UNIVERSAL or VOLUNTARY_VERIFICATION. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4269
|
+
*/
|
|
4270
|
+
regionalRegulatedCategories?: Array<(string)> | null;
|
|
4271
|
+
/**
|
|
4272
|
+
* Meta only. Verified identity IDs per regional regulation role (Meta `regional_regulation_identities`), keyed by Meta's role name. IDs are strings because they can exceed a JSON number's precision. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
4273
|
+
*/
|
|
4274
|
+
regionalRegulationIdentities?: {
|
|
4275
|
+
[key: string]: (string);
|
|
4276
|
+
} | null;
|
|
4256
4277
|
/**
|
|
4257
4278
|
* Individual ads within this ad set (capped at 100). When the ad set has more than 100 ads these are the 100 highest-spending over the requested date range, so this array depends on `fromDate`/`toDate`; `adCount` is always the true ad set size. Returns a subset of Ad fields from the aggregation: `_id`, `name`, `platform`, `status`, `configuredStatus`, `reviewStatus`, `budget`, `metrics`, `creative`, `goal` and the `platform*` ids are always included; `targeting` and `schedule` may be absent. `configuredStatus` (the ad's own on/off toggle) and `reviewStatus` (the platform's review verdict) are part of this contract, not incidental: a rejected ad is only distinguishable from a healthy one through `reviewStatus`. When `timeIncrement=1&dailyLevel=ad`, each entry also carries a `daily[]` array of `AdDailyMetrics`.
|
|
4258
4279
|
*/
|
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.1380",
|
|
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.1380",
|
|
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
|
@@ -2078,6 +2078,27 @@ export type AdTreeAdSet = {
|
|
|
2078
2078
|
pixel_id?: string;
|
|
2079
2079
|
page_id?: string;
|
|
2080
2080
|
} | null;
|
|
2081
|
+
/**
|
|
2082
|
+
* Meta only. Where the ad set sends people (Meta `destination_type`), e.g. WEBSITE, MESSENGER, WHATSAPP, INSTAGRAM_DIRECT, ON_AD. Meta answers UNDEFINED for an ad set with no explicit destination. As of the last sync; null on other platforms and for ad sets not yet synced.
|
|
2083
|
+
*/
|
|
2084
|
+
destinationType?: (string) | null;
|
|
2085
|
+
/**
|
|
2086
|
+
* Meta only. The ad set's conversion attribution windows (Meta `attribution_spec`), in the same shape `attributionSpec` takes on ad creation so a clone can send it back unchanged. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
2087
|
+
*/
|
|
2088
|
+
attributionSpec?: Array<{
|
|
2089
|
+
eventType?: 'CLICK_THROUGH' | 'VIEW_THROUGH' | 'ENGAGED_VIDEO_VIEW';
|
|
2090
|
+
windowDays?: 1 | 7 | 28;
|
|
2091
|
+
}> | null;
|
|
2092
|
+
/**
|
|
2093
|
+
* Meta only. Regional regulated categories declared on the ad set (Meta `regional_regulated_categories`), e.g. AUSTRALIA_FINSERV, TAIWAN_UNIVERSAL, SINGAPORE_UNIVERSAL or VOLUNTARY_VERIFICATION. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
2094
|
+
*/
|
|
2095
|
+
regionalRegulatedCategories?: Array<(string)> | null;
|
|
2096
|
+
/**
|
|
2097
|
+
* Meta only. Verified identity IDs per regional regulation role (Meta `regional_regulation_identities`), keyed by Meta's role name. IDs are strings because they can exceed a JSON number's precision. As of the last sync; null on other platforms, for ad sets not yet synced and when Meta reports none.
|
|
2098
|
+
*/
|
|
2099
|
+
regionalRegulationIdentities?: {
|
|
2100
|
+
[key: string]: (string);
|
|
2101
|
+
} | null;
|
|
2081
2102
|
/**
|
|
2082
2103
|
* Individual ads within this ad set (capped at 100). When the ad set has more than 100 ads these are the 100 highest-spending over the requested date range, so this array depends on `fromDate`/`toDate`; `adCount` is always the true ad set size. Returns a subset of Ad fields from the aggregation: `_id`, `name`, `platform`, `status`, `configuredStatus`, `reviewStatus`, `budget`, `metrics`, `creative`, `goal` and the `platform*` ids are always included; `targeting` and `schedule` may be absent. `configuredStatus` (the ad's own on/off toggle) and `reviewStatus` (the platform's review verdict) are part of this contract, not incidental: a rejected ad is only distinguishable from a healthy one through `reviewStatus`. When `timeIncrement=1&dailyLevel=ad`, each entry also carries a `daily[]` array of `AdDailyMetrics`.
|
|
2083
2104
|
*/
|