@pushwoosh/rpc-v2-http-api-data 0.2.191 → 0.2.193

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
@@ -12075,6 +12075,9 @@ export const data = {
12075
12075
  },
12076
12076
  "timestampFrom": {
12077
12077
  "type": "Date"
12078
+ },
12079
+ "controlGroupCode": {
12080
+ "type": "string"
12078
12081
  }
12079
12082
  }
12080
12083
  },
@@ -14785,6 +14788,24 @@ export const data = {
14785
14788
  },
14786
14789
  "eventName": {
14787
14790
  "type": "string"
14791
+ },
14792
+ "fireExitEvent": {
14793
+ "type": "boolean"
14794
+ },
14795
+ "exitEventName": {
14796
+ "type": "string"
14797
+ },
14798
+ "exitTimeoutSeconds": {
14799
+ "type": "number"
14800
+ },
14801
+ "exitTimeoutEventName": {
14802
+ "type": "string"
14803
+ },
14804
+ "dwellSeconds": {
14805
+ "type": "number"
14806
+ },
14807
+ "dwellEventName": {
14808
+ "type": "string"
14788
14809
  }
14789
14810
  }
14790
14811
  },
package/geozones.d.ts CHANGED
@@ -70,6 +70,24 @@ export type Properties = {
70
70
  fireEvent: boolean;
71
71
  /** Event fired on entry; empty falls back to the system PW_GeozoneEntered. */
72
72
  eventName: string;
73
+ /**
74
+ * Fires when the device is seen outside a zone it was inside. The exit is
75
+ * noticed on the device's next contact, never at the moment it happens.
76
+ */
77
+ fireExitEvent: boolean;
78
+ /** Empty falls back to the system PW_GeozoneExited. */
79
+ exitEventName: string;
80
+ /**
81
+ * Seconds of silence after which the device counts as gone. Reported as its
82
+ * own event because it is an assumption, not an observed exit; 0 disables it.
83
+ */
84
+ exitTimeoutSeconds: number;
85
+ /** Empty falls back to the system PW_GeozoneExitedByTimeout. */
86
+ exitTimeoutEventName: string;
87
+ /** Seconds inside the zone after which the dwell event fires; 0 disables it. */
88
+ dwellSeconds: number;
89
+ /** Empty falls back to the system PW_GeozoneDwell. */
90
+ dwellEventName: string;
73
91
  };
74
92
  export type Geozone = {
75
93
  code: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.191",
3
+ "version": "0.2.193",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -235,6 +235,11 @@ export type GetLastTasksRequest = {
235
235
  event?: string;
236
236
  channel?: Channel;
237
237
  timestampFrom?: Date;
238
+ /**
239
+ * Control group code (format XXXXX-XXXXX) to narrow control group exports
240
+ * to a single group. Empty matches every group.
241
+ */
242
+ controlGroupCode?: string;
238
243
  };
239
244
  export type TaskInfo_args_trackingLogCsv = {
240
245
  type: 'trackingLogCsv';