@zernio/node 0.2.1477 → 0.2.1478
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 +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +11 -3
package/dist/index.d.mts
CHANGED
|
@@ -4204,16 +4204,24 @@ type AdRuleEvaluation = {
|
|
|
4204
4204
|
objects: Array<AdRuleObjectEvaluation>;
|
|
4205
4205
|
};
|
|
4206
4206
|
/**
|
|
4207
|
-
* Narrows the objects the rule checks. Every filter must hold.
|
|
4207
|
+
* Narrows the objects the rule checks. Every filter must hold. A campaign rule reads `name`, `campaign_id`, `goal` and `days_live`; an ad set rule also `campaign_name` and `adset_id`; an ad rule also `adset_name` and `ad_id`.
|
|
4208
4208
|
*/
|
|
4209
|
-
type AdRuleFilters = Array<{
|
|
4209
|
+
type AdRuleFilters = Array<({
|
|
4210
4210
|
/**
|
|
4211
4211
|
* The object's own name, its campaign's or ad set's name, or the campaign goal (objective) as the platform reports it.
|
|
4212
4212
|
*/
|
|
4213
4213
|
field: 'name' | 'campaign_name' | 'adset_name' | 'goal';
|
|
4214
4214
|
op: 'contains' | 'not_contains' | 'equals' | 'not_equals' | 'starts_with';
|
|
4215
4215
|
value: string;
|
|
4216
|
-
}
|
|
4216
|
+
} | {
|
|
4217
|
+
field: 'campaign_id' | 'adset_id' | 'ad_id';
|
|
4218
|
+
op: 'in' | 'not_in';
|
|
4219
|
+
values: Array<(string)>;
|
|
4220
|
+
} | {
|
|
4221
|
+
field: 'days_live';
|
|
4222
|
+
op: '>=' | '<';
|
|
4223
|
+
value: number;
|
|
4224
|
+
})>;
|
|
4217
4225
|
/**
|
|
4218
4226
|
* Whether the rule checks campaigns, ad sets or single ads. Each one is evaluated on its own.
|
|
4219
4227
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -4204,16 +4204,24 @@ type AdRuleEvaluation = {
|
|
|
4204
4204
|
objects: Array<AdRuleObjectEvaluation>;
|
|
4205
4205
|
};
|
|
4206
4206
|
/**
|
|
4207
|
-
* Narrows the objects the rule checks. Every filter must hold.
|
|
4207
|
+
* Narrows the objects the rule checks. Every filter must hold. A campaign rule reads `name`, `campaign_id`, `goal` and `days_live`; an ad set rule also `campaign_name` and `adset_id`; an ad rule also `adset_name` and `ad_id`.
|
|
4208
4208
|
*/
|
|
4209
|
-
type AdRuleFilters = Array<{
|
|
4209
|
+
type AdRuleFilters = Array<({
|
|
4210
4210
|
/**
|
|
4211
4211
|
* The object's own name, its campaign's or ad set's name, or the campaign goal (objective) as the platform reports it.
|
|
4212
4212
|
*/
|
|
4213
4213
|
field: 'name' | 'campaign_name' | 'adset_name' | 'goal';
|
|
4214
4214
|
op: 'contains' | 'not_contains' | 'equals' | 'not_equals' | 'starts_with';
|
|
4215
4215
|
value: string;
|
|
4216
|
-
}
|
|
4216
|
+
} | {
|
|
4217
|
+
field: 'campaign_id' | 'adset_id' | 'ad_id';
|
|
4218
|
+
op: 'in' | 'not_in';
|
|
4219
|
+
values: Array<(string)>;
|
|
4220
|
+
} | {
|
|
4221
|
+
field: 'days_live';
|
|
4222
|
+
op: '>=' | '<';
|
|
4223
|
+
value: number;
|
|
4224
|
+
})>;
|
|
4217
4225
|
/**
|
|
4218
4226
|
* Whether the rule checks campaigns, ad sets or single ads. Each one is evaluated on its own.
|
|
4219
4227
|
*/
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.1478",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.1478",
|
|
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
|
@@ -1991,16 +1991,24 @@ export type AdRuleEvaluation = {
|
|
|
1991
1991
|
};
|
|
1992
1992
|
|
|
1993
1993
|
/**
|
|
1994
|
-
* Narrows the objects the rule checks. Every filter must hold.
|
|
1994
|
+
* Narrows the objects the rule checks. Every filter must hold. A campaign rule reads `name`, `campaign_id`, `goal` and `days_live`; an ad set rule also `campaign_name` and `adset_id`; an ad rule also `adset_name` and `ad_id`.
|
|
1995
1995
|
*/
|
|
1996
|
-
export type AdRuleFilters = Array<{
|
|
1996
|
+
export type AdRuleFilters = Array<({
|
|
1997
1997
|
/**
|
|
1998
1998
|
* The object's own name, its campaign's or ad set's name, or the campaign goal (objective) as the platform reports it.
|
|
1999
1999
|
*/
|
|
2000
2000
|
field: 'name' | 'campaign_name' | 'adset_name' | 'goal';
|
|
2001
2001
|
op: 'contains' | 'not_contains' | 'equals' | 'not_equals' | 'starts_with';
|
|
2002
2002
|
value: string;
|
|
2003
|
-
}
|
|
2003
|
+
} | {
|
|
2004
|
+
field: 'campaign_id' | 'adset_id' | 'ad_id';
|
|
2005
|
+
op: 'in' | 'not_in';
|
|
2006
|
+
values: Array<(string)>;
|
|
2007
|
+
} | {
|
|
2008
|
+
field: 'days_live';
|
|
2009
|
+
op: '>=' | '<';
|
|
2010
|
+
value: number;
|
|
2011
|
+
})>;
|
|
2004
2012
|
|
|
2005
2013
|
/**
|
|
2006
2014
|
* Whether the rule checks campaigns, ad sets or single ads. Each one is evaluated on its own.
|