@getlatedev/node 0.2.1456 → 0.2.1457

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.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.1456",
39
+ version: "0.2.1457",
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.1456",
8
+ version: "0.2.1457",
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.1456",
3
+ "version": "0.2.1457",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -1810,11 +1810,16 @@ export type window = 'today' | 'yesterday' | 'last_3d' | 'last_7d' | 'last_14d'
1810
1810
 
1811
1811
  export type op = '>' | '>=' | '<' | '<=';
1812
1812
 
1813
+ export type AdRuleConditionItem = AdRuleCondition | AdRuleConditions;
1814
+
1813
1815
  /**
1814
- * Every condition must hold for an object to match. A rate with no denominator (a CPA with no conversions) never matches.
1816
+ * A group: `all` (every item must hold) or `any` (one is enough). An item is a condition or another group, nested up to 3 levels, with at most 10 conditions in total. A rate with no denominator (a CPA with no conversions) never matches.
1817
+ *
1815
1818
  */
1816
1819
  export type AdRuleConditions = {
1817
- all: Array<AdRuleCondition>;
1820
+ all: Array<AdRuleConditionItem>;
1821
+ } | {
1822
+ any: Array<AdRuleConditionItem>;
1818
1823
  };
1819
1824
 
1820
1825
  export type AdRuleEvaluation = {