@pushwoosh/rpc-v2-http-api-data 0.2.191 → 0.2.192
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 +18 -0
- package/geozones.d.ts +18 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -14785,6 +14785,24 @@ export const data = {
|
|
|
14785
14785
|
},
|
|
14786
14786
|
"eventName": {
|
|
14787
14787
|
"type": "string"
|
|
14788
|
+
},
|
|
14789
|
+
"fireExitEvent": {
|
|
14790
|
+
"type": "boolean"
|
|
14791
|
+
},
|
|
14792
|
+
"exitEventName": {
|
|
14793
|
+
"type": "string"
|
|
14794
|
+
},
|
|
14795
|
+
"exitTimeoutSeconds": {
|
|
14796
|
+
"type": "number"
|
|
14797
|
+
},
|
|
14798
|
+
"exitTimeoutEventName": {
|
|
14799
|
+
"type": "string"
|
|
14800
|
+
},
|
|
14801
|
+
"dwellSeconds": {
|
|
14802
|
+
"type": "number"
|
|
14803
|
+
},
|
|
14804
|
+
"dwellEventName": {
|
|
14805
|
+
"type": "string"
|
|
14788
14806
|
}
|
|
14789
14807
|
}
|
|
14790
14808
|
},
|
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;
|