@pushwoosh/rpc-v2-http-api-data 0.2.112 → 0.2.114

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/data.js CHANGED
@@ -11845,6 +11845,12 @@ export const data = {
11845
11845
  },
11846
11846
  "days": {
11847
11847
  "type": "number"
11848
+ },
11849
+ "mode": {
11850
+ "type": "string"
11851
+ },
11852
+ "timezone": {
11853
+ "type": "string"
11848
11854
  }
11849
11855
  }
11850
11856
  },
@@ -26238,6 +26244,10 @@ export const data = {
26238
26244
  },
26239
26245
  "perPage": {
26240
26246
  "type": "number"
26247
+ },
26248
+ "platforms": {
26249
+ "type": "number",
26250
+ "array": true
26241
26251
  }
26242
26252
  }
26243
26253
  },
@@ -15,6 +15,10 @@ export type Capping = {
15
15
  count: number;
16
16
  /** Length of the rolling window in days (1-30). */
17
17
  days: number;
18
+ /** How the counting window is anchored: "" (rolling window, default) or "calendar_day". */
19
+ mode: string;
20
+ /** IANA timezone name midnight is calculated in for calendar_day mode; empty means UTC. */
21
+ timezone: string;
18
22
  };
19
23
  export type FrequencyCapping = {
20
24
  push: Capping;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.112",
3
+ "version": "0.2.114",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
package/tags.d.ts CHANGED
@@ -83,6 +83,11 @@ export type GetTagValuesRequest = {
83
83
  /** additional pagination for front */
84
84
  page?: number;
85
85
  perPage?: number;
86
+ /**
87
+ * Device platform codes to count values on; empty means every platform.
88
+ * User-level tag values are counted under platform 0 and match no filter.
89
+ */
90
+ platforms?: number[];
86
91
  };
87
92
  export type GetTagValuesResponse_TagValue = {
88
93
  value: string;