@blues-inc/notehub-js 1.0.10 → 1.0.12
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/README.md +175 -180
- package/dist/ApiClient.js +155 -155
- package/dist/api/AuthorizationApi.js +15 -15
- package/dist/api/BillingAccountApi.js +13 -13
- package/dist/api/DeviceApi.js +157 -157
- package/dist/api/DevicesApi.js +58 -58
- package/dist/api/EnvironmentVariablesApi.js +110 -110
- package/dist/api/EventApi.js +94 -94
- package/dist/api/FilesApi.js +42 -42
- package/dist/api/FleetApi.js +160 -160
- package/dist/api/NotesApi.js +105 -105
- package/dist/api/ProductApi.js +29 -29
- package/dist/api/ProjectApi.js +137 -137
- package/dist/api/RouteApi.js +51 -51
- package/dist/index.js +14 -0
- package/dist/model/Aws.js +64 -64
- package/dist/model/Azure.js +42 -42
- package/dist/model/BillingAccount.js +20 -20
- package/dist/model/Body.js +4 -4
- package/dist/model/Contact.js +21 -21
- package/dist/model/CreateFleetRequest.js +6 -6
- package/dist/model/CreateProductRequest.js +21 -21
- package/dist/model/CreateProjectRequest.js +13 -13
- package/dist/model/DFUEnv.js +11 -11
- package/dist/model/DFUState.js +64 -64
- package/dist/model/DeleteDeviceFleetsRequest.js +7 -7
- package/dist/model/Device.js +82 -82
- package/dist/model/DeviceSession.js +181 -181
- package/dist/model/DeviceTowerInfo.js +13 -13
- package/dist/model/DeviceUsage.js +31 -31
- package/dist/model/Edgeimpulse.js +214 -0
- package/dist/model/EdgeimpulseSensorsInner.js +106 -0
- package/dist/model/EnvironmentVariables.js +7 -7
- package/dist/model/Error.js +30 -30
- package/dist/model/Event.js +222 -222
- package/dist/model/Fleet.js +20 -20
- package/dist/model/GetBillingAccounts200Response.js +8 -9
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +11 -11
- package/dist/model/GetDeviceHealthLog200Response.js +10 -11
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +18 -18
- package/dist/model/GetDeviceLatest200Response.js +8 -9
- package/dist/model/GetDevicePublicKey200Response.js +15 -15
- package/dist/model/GetDeviceSessions200Response.js +15 -16
- package/dist/model/GetProjectDevicePublicKeys200Response.js +15 -16
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +11 -11
- package/dist/model/GetProjectDevices200Response.js +15 -16
- package/dist/model/GetProjectEvents200Response.js +20 -21
- package/dist/model/GetProjectEventsByCursor200Response.js +22 -23
- package/dist/model/GetProjectFleets200Response.js +10 -11
- package/dist/model/GetProjectMembers200Response.js +10 -11
- package/dist/model/GetProjectProducts200Response.js +8 -9
- package/dist/model/GetProjects200Response.js +8 -9
- package/dist/model/Google.js +27 -27
- package/dist/model/HandleNoteChanges200Response.js +10 -10
- package/dist/model/HandleNoteGet200Response.js +12 -12
- package/dist/model/HandleNoteSignal200Response.js +4 -4
- package/dist/model/HandleNotefileChanges200Response.js +10 -10
- package/dist/model/HandleNotefileChangesPending200Response.js +13 -13
- package/dist/model/HandleNotefileDeleteRequest.js +6 -6
- package/dist/model/Http.js +34 -34
- package/dist/model/HttpFilter.js +18 -18
- package/dist/model/HttpTransform.js +19 -19
- package/dist/model/Location.js +39 -39
- package/dist/model/Login200Response.js +6 -6
- package/dist/model/LoginRequest.js +11 -11
- package/dist/model/Mqtt.js +65 -65
- package/dist/model/Note.js +9 -9
- package/dist/model/Product.js +25 -25
- package/dist/model/Project.js +33 -33
- package/dist/model/ProjectMember.js +21 -21
- package/dist/model/Proxy.js +23 -23
- package/dist/model/PutDeviceFleetsRequest.js +7 -7
- package/dist/model/Radresponder.js +24 -24
- package/dist/model/Route.js +40 -35
- package/dist/model/RouteSchema.js +39 -38
- package/dist/model/Snowflake.js +44 -44
- package/dist/model/SnowflakeTransform.js +11 -11
- package/dist/model/Thingworx.js +32 -32
- package/dist/model/TowerLocation.js +51 -51
- package/dist/model/Twilio.js +42 -42
- package/dist/model/UpdateFleetRequest.js +16 -16
- package/dist/model/UserDbRoute.js +24 -24
- package/package.json +3 -3
package/dist/model/Event.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The Event model module.
|
|
17
17
|
* @module model/Event
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.12
|
|
19
19
|
*/
|
|
20
20
|
var Event = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -48,170 +48,170 @@ var Event = /*#__PURE__*/function () {
|
|
|
48
48
|
value: function constructFromObject(data, obj) {
|
|
49
49
|
if (data) {
|
|
50
50
|
obj = obj || new Event();
|
|
51
|
-
if (data.hasOwnProperty(
|
|
52
|
-
obj[
|
|
51
|
+
if (data.hasOwnProperty("event")) {
|
|
52
|
+
obj["event"] = _ApiClient["default"].convertToType(data["event"], "String");
|
|
53
53
|
}
|
|
54
|
-
if (data.hasOwnProperty(
|
|
55
|
-
obj[
|
|
54
|
+
if (data.hasOwnProperty("session")) {
|
|
55
|
+
obj["session"] = _ApiClient["default"].convertToType(data["session"], "String");
|
|
56
56
|
}
|
|
57
|
-
if (data.hasOwnProperty(
|
|
58
|
-
obj[
|
|
57
|
+
if (data.hasOwnProperty("tls")) {
|
|
58
|
+
obj["tls"] = _ApiClient["default"].convertToType(data["tls"], "Boolean");
|
|
59
59
|
}
|
|
60
|
-
if (data.hasOwnProperty(
|
|
61
|
-
obj[
|
|
60
|
+
if (data.hasOwnProperty("best_id")) {
|
|
61
|
+
obj["best_id"] = _ApiClient["default"].convertToType(data["best_id"], "String");
|
|
62
62
|
}
|
|
63
|
-
if (data.hasOwnProperty(
|
|
64
|
-
obj[
|
|
63
|
+
if (data.hasOwnProperty("device")) {
|
|
64
|
+
obj["device"] = _ApiClient["default"].convertToType(data["device"], "String");
|
|
65
65
|
}
|
|
66
|
-
if (data.hasOwnProperty(
|
|
67
|
-
obj[
|
|
66
|
+
if (data.hasOwnProperty("sn")) {
|
|
67
|
+
obj["sn"] = _ApiClient["default"].convertToType(data["sn"], "String");
|
|
68
68
|
}
|
|
69
|
-
if (data.hasOwnProperty(
|
|
70
|
-
obj[
|
|
69
|
+
if (data.hasOwnProperty("product")) {
|
|
70
|
+
obj["product"] = _ApiClient["default"].convertToType(data["product"], "String");
|
|
71
71
|
}
|
|
72
|
-
if (data.hasOwnProperty(
|
|
73
|
-
obj[
|
|
72
|
+
if (data.hasOwnProperty("app")) {
|
|
73
|
+
obj["app"] = _ApiClient["default"].convertToType(data["app"], "String");
|
|
74
74
|
}
|
|
75
|
-
if (data.hasOwnProperty(
|
|
76
|
-
obj[
|
|
75
|
+
if (data.hasOwnProperty("received")) {
|
|
76
|
+
obj["received"] = _ApiClient["default"].convertToType(data["received"], "Number");
|
|
77
77
|
}
|
|
78
|
-
if (data.hasOwnProperty(
|
|
79
|
-
obj[
|
|
78
|
+
if (data.hasOwnProperty("req")) {
|
|
79
|
+
obj["req"] = _ApiClient["default"].convertToType(data["req"], "String");
|
|
80
80
|
}
|
|
81
|
-
if (data.hasOwnProperty(
|
|
82
|
-
obj[
|
|
81
|
+
if (data.hasOwnProperty("when")) {
|
|
82
|
+
obj["when"] = _ApiClient["default"].convertToType(data["when"], "Number");
|
|
83
83
|
}
|
|
84
|
-
if (data.hasOwnProperty(
|
|
85
|
-
obj[
|
|
84
|
+
if (data.hasOwnProperty("file")) {
|
|
85
|
+
obj["file"] = _ApiClient["default"].convertToType(data["file"], "String");
|
|
86
86
|
}
|
|
87
|
-
if (data.hasOwnProperty(
|
|
88
|
-
obj[
|
|
87
|
+
if (data.hasOwnProperty("note")) {
|
|
88
|
+
obj["note"] = _ApiClient["default"].convertToType(data["note"], "String");
|
|
89
89
|
}
|
|
90
|
-
if (data.hasOwnProperty(
|
|
91
|
-
obj[
|
|
90
|
+
if (data.hasOwnProperty("updates")) {
|
|
91
|
+
obj["updates"] = _ApiClient["default"].convertToType(data["updates"], "Number");
|
|
92
92
|
}
|
|
93
|
-
if (data.hasOwnProperty(
|
|
94
|
-
obj[
|
|
93
|
+
if (data.hasOwnProperty("body")) {
|
|
94
|
+
obj["body"] = _ApiClient["default"].convertToType(data["body"], Object);
|
|
95
95
|
}
|
|
96
|
-
if (data.hasOwnProperty(
|
|
97
|
-
obj[
|
|
96
|
+
if (data.hasOwnProperty("payload")) {
|
|
97
|
+
obj["payload"] = _ApiClient["default"].convertToType(data["payload"], "String");
|
|
98
98
|
}
|
|
99
|
-
if (data.hasOwnProperty(
|
|
100
|
-
obj[
|
|
99
|
+
if (data.hasOwnProperty("best_location_type")) {
|
|
100
|
+
obj["best_location_type"] = _ApiClient["default"].convertToType(data["best_location_type"], "String");
|
|
101
101
|
}
|
|
102
|
-
if (data.hasOwnProperty(
|
|
103
|
-
obj[
|
|
102
|
+
if (data.hasOwnProperty("best_location_when")) {
|
|
103
|
+
obj["best_location_when"] = _ApiClient["default"].convertToType(data["best_location_when"], "Number");
|
|
104
104
|
}
|
|
105
|
-
if (data.hasOwnProperty(
|
|
106
|
-
obj[
|
|
105
|
+
if (data.hasOwnProperty("best_lat")) {
|
|
106
|
+
obj["best_lat"] = _ApiClient["default"].convertToType(data["best_lat"], "Number");
|
|
107
107
|
}
|
|
108
|
-
if (data.hasOwnProperty(
|
|
109
|
-
obj[
|
|
108
|
+
if (data.hasOwnProperty("best_lon")) {
|
|
109
|
+
obj["best_lon"] = _ApiClient["default"].convertToType(data["best_lon"], "Number");
|
|
110
110
|
}
|
|
111
|
-
if (data.hasOwnProperty(
|
|
112
|
-
obj[
|
|
111
|
+
if (data.hasOwnProperty("best_location")) {
|
|
112
|
+
obj["best_location"] = _ApiClient["default"].convertToType(data["best_location"], "String");
|
|
113
113
|
}
|
|
114
|
-
if (data.hasOwnProperty(
|
|
115
|
-
obj[
|
|
114
|
+
if (data.hasOwnProperty("best_country")) {
|
|
115
|
+
obj["best_country"] = _ApiClient["default"].convertToType(data["best_country"], "String");
|
|
116
116
|
}
|
|
117
|
-
if (data.hasOwnProperty(
|
|
118
|
-
obj[
|
|
117
|
+
if (data.hasOwnProperty("best_timezone")) {
|
|
118
|
+
obj["best_timezone"] = _ApiClient["default"].convertToType(data["best_timezone"], "String");
|
|
119
119
|
}
|
|
120
|
-
if (data.hasOwnProperty(
|
|
121
|
-
obj[
|
|
120
|
+
if (data.hasOwnProperty("where_olc")) {
|
|
121
|
+
obj["where_olc"] = _ApiClient["default"].convertToType(data["where_olc"], "String");
|
|
122
122
|
}
|
|
123
|
-
if (data.hasOwnProperty(
|
|
124
|
-
obj[
|
|
123
|
+
if (data.hasOwnProperty("where_when")) {
|
|
124
|
+
obj["where_when"] = _ApiClient["default"].convertToType(data["where_when"], "Number");
|
|
125
125
|
}
|
|
126
|
-
if (data.hasOwnProperty(
|
|
127
|
-
obj[
|
|
126
|
+
if (data.hasOwnProperty("where_lat")) {
|
|
127
|
+
obj["where_lat"] = _ApiClient["default"].convertToType(data["where_lat"], "Number");
|
|
128
128
|
}
|
|
129
|
-
if (data.hasOwnProperty(
|
|
130
|
-
obj[
|
|
129
|
+
if (data.hasOwnProperty("where_lon")) {
|
|
130
|
+
obj["where_lon"] = _ApiClient["default"].convertToType(data["where_lon"], "Number");
|
|
131
131
|
}
|
|
132
|
-
if (data.hasOwnProperty(
|
|
133
|
-
obj[
|
|
132
|
+
if (data.hasOwnProperty("where_location")) {
|
|
133
|
+
obj["where_location"] = _ApiClient["default"].convertToType(data["where_location"], "String");
|
|
134
134
|
}
|
|
135
|
-
if (data.hasOwnProperty(
|
|
136
|
-
obj[
|
|
135
|
+
if (data.hasOwnProperty("where_country")) {
|
|
136
|
+
obj["where_country"] = _ApiClient["default"].convertToType(data["where_country"], "String");
|
|
137
137
|
}
|
|
138
|
-
if (data.hasOwnProperty(
|
|
139
|
-
obj[
|
|
138
|
+
if (data.hasOwnProperty("where_timezone")) {
|
|
139
|
+
obj["where_timezone"] = _ApiClient["default"].convertToType(data["where_timezone"], "String");
|
|
140
140
|
}
|
|
141
|
-
if (data.hasOwnProperty(
|
|
142
|
-
obj[
|
|
141
|
+
if (data.hasOwnProperty("tower_when")) {
|
|
142
|
+
obj["tower_when"] = _ApiClient["default"].convertToType(data["tower_when"], "Number");
|
|
143
143
|
}
|
|
144
|
-
if (data.hasOwnProperty(
|
|
145
|
-
obj[
|
|
144
|
+
if (data.hasOwnProperty("tower_lat")) {
|
|
145
|
+
obj["tower_lat"] = _ApiClient["default"].convertToType(data["tower_lat"], "Number");
|
|
146
146
|
}
|
|
147
|
-
if (data.hasOwnProperty(
|
|
148
|
-
obj[
|
|
147
|
+
if (data.hasOwnProperty("tower_lon")) {
|
|
148
|
+
obj["tower_lon"] = _ApiClient["default"].convertToType(data["tower_lon"], "Number");
|
|
149
149
|
}
|
|
150
|
-
if (data.hasOwnProperty(
|
|
151
|
-
obj[
|
|
150
|
+
if (data.hasOwnProperty("tower_country")) {
|
|
151
|
+
obj["tower_country"] = _ApiClient["default"].convertToType(data["tower_country"], "String");
|
|
152
152
|
}
|
|
153
|
-
if (data.hasOwnProperty(
|
|
154
|
-
obj[
|
|
153
|
+
if (data.hasOwnProperty("tower_location")) {
|
|
154
|
+
obj["tower_location"] = _ApiClient["default"].convertToType(data["tower_location"], "String");
|
|
155
155
|
}
|
|
156
|
-
if (data.hasOwnProperty(
|
|
157
|
-
obj[
|
|
156
|
+
if (data.hasOwnProperty("tower_timezone")) {
|
|
157
|
+
obj["tower_timezone"] = _ApiClient["default"].convertToType(data["tower_timezone"], "String");
|
|
158
158
|
}
|
|
159
|
-
if (data.hasOwnProperty(
|
|
160
|
-
obj[
|
|
159
|
+
if (data.hasOwnProperty("tower_id")) {
|
|
160
|
+
obj["tower_id"] = _ApiClient["default"].convertToType(data["tower_id"], "String");
|
|
161
161
|
}
|
|
162
|
-
if (data.hasOwnProperty(
|
|
163
|
-
obj[
|
|
162
|
+
if (data.hasOwnProperty("tri_when")) {
|
|
163
|
+
obj["tri_when"] = _ApiClient["default"].convertToType(data["tri_when"], "Number");
|
|
164
164
|
}
|
|
165
|
-
if (data.hasOwnProperty(
|
|
166
|
-
obj[
|
|
165
|
+
if (data.hasOwnProperty("tri_lat")) {
|
|
166
|
+
obj["tri_lat"] = _ApiClient["default"].convertToType(data["tri_lat"], "Number");
|
|
167
167
|
}
|
|
168
|
-
if (data.hasOwnProperty(
|
|
169
|
-
obj[
|
|
168
|
+
if (data.hasOwnProperty("tri_lon")) {
|
|
169
|
+
obj["tri_lon"] = _ApiClient["default"].convertToType(data["tri_lon"], "Number");
|
|
170
170
|
}
|
|
171
|
-
if (data.hasOwnProperty(
|
|
172
|
-
obj[
|
|
171
|
+
if (data.hasOwnProperty("tri_location")) {
|
|
172
|
+
obj["tri_location"] = _ApiClient["default"].convertToType(data["tri_location"], "String");
|
|
173
173
|
}
|
|
174
|
-
if (data.hasOwnProperty(
|
|
175
|
-
obj[
|
|
174
|
+
if (data.hasOwnProperty("tri_country")) {
|
|
175
|
+
obj["tri_country"] = _ApiClient["default"].convertToType(data["tri_country"], "String");
|
|
176
176
|
}
|
|
177
|
-
if (data.hasOwnProperty(
|
|
178
|
-
obj[
|
|
177
|
+
if (data.hasOwnProperty("tri_timezone")) {
|
|
178
|
+
obj["tri_timezone"] = _ApiClient["default"].convertToType(data["tri_timezone"], "String");
|
|
179
179
|
}
|
|
180
|
-
if (data.hasOwnProperty(
|
|
181
|
-
obj[
|
|
180
|
+
if (data.hasOwnProperty("tri_points")) {
|
|
181
|
+
obj["tri_points"] = _ApiClient["default"].convertToType(data["tri_points"], "Number");
|
|
182
182
|
}
|
|
183
|
-
if (data.hasOwnProperty(
|
|
184
|
-
obj[
|
|
183
|
+
if (data.hasOwnProperty("moved")) {
|
|
184
|
+
obj["moved"] = _ApiClient["default"].convertToType(data["moved"], "Number");
|
|
185
185
|
}
|
|
186
|
-
if (data.hasOwnProperty(
|
|
187
|
-
obj[
|
|
186
|
+
if (data.hasOwnProperty("orientation")) {
|
|
187
|
+
obj["orientation"] = _ApiClient["default"].convertToType(data["orientation"], "String");
|
|
188
188
|
}
|
|
189
|
-
if (data.hasOwnProperty(
|
|
190
|
-
obj[
|
|
189
|
+
if (data.hasOwnProperty("rssi")) {
|
|
190
|
+
obj["rssi"] = _ApiClient["default"].convertToType(data["rssi"], "Number");
|
|
191
191
|
}
|
|
192
|
-
if (data.hasOwnProperty(
|
|
193
|
-
obj[
|
|
192
|
+
if (data.hasOwnProperty("sinr")) {
|
|
193
|
+
obj["sinr"] = _ApiClient["default"].convertToType(data["sinr"], "Number");
|
|
194
194
|
}
|
|
195
|
-
if (data.hasOwnProperty(
|
|
196
|
-
obj[
|
|
195
|
+
if (data.hasOwnProperty("rsrp")) {
|
|
196
|
+
obj["rsrp"] = _ApiClient["default"].convertToType(data["rsrp"], "Number");
|
|
197
197
|
}
|
|
198
|
-
if (data.hasOwnProperty(
|
|
199
|
-
obj[
|
|
198
|
+
if (data.hasOwnProperty("rsrq")) {
|
|
199
|
+
obj["rsrq"] = _ApiClient["default"].convertToType(data["rsrq"], "Number");
|
|
200
200
|
}
|
|
201
|
-
if (data.hasOwnProperty(
|
|
202
|
-
obj[
|
|
201
|
+
if (data.hasOwnProperty("rat")) {
|
|
202
|
+
obj["rat"] = _ApiClient["default"].convertToType(data["rat"], "String");
|
|
203
203
|
}
|
|
204
|
-
if (data.hasOwnProperty(
|
|
205
|
-
obj[
|
|
204
|
+
if (data.hasOwnProperty("bars")) {
|
|
205
|
+
obj["bars"] = _ApiClient["default"].convertToType(data["bars"], "Number");
|
|
206
206
|
}
|
|
207
|
-
if (data.hasOwnProperty(
|
|
208
|
-
obj[
|
|
207
|
+
if (data.hasOwnProperty("voltage")) {
|
|
208
|
+
obj["voltage"] = _ApiClient["default"].convertToType(data["voltage"], "Number");
|
|
209
209
|
}
|
|
210
|
-
if (data.hasOwnProperty(
|
|
211
|
-
obj[
|
|
210
|
+
if (data.hasOwnProperty("temp")) {
|
|
211
|
+
obj["temp"] = _ApiClient["default"].convertToType(data["temp"], "Number");
|
|
212
212
|
}
|
|
213
|
-
if (data.hasOwnProperty(
|
|
214
|
-
obj[
|
|
213
|
+
if (data.hasOwnProperty("environment")) {
|
|
214
|
+
obj["environment"] = _ApiClient["default"].convertToType(data["environment"], Object);
|
|
215
215
|
}
|
|
216
216
|
} else if (data === null) {
|
|
217
217
|
return null;
|
|
@@ -228,116 +228,116 @@ var Event = /*#__PURE__*/function () {
|
|
|
228
228
|
key: "validateJSON",
|
|
229
229
|
value: function validateJSON(data) {
|
|
230
230
|
// ensure the json data is a string
|
|
231
|
-
if (data[
|
|
232
|
-
throw new Error("Expected the field `event` to be a primitive type in the JSON string but got " + data[
|
|
231
|
+
if (data["event"] && !(typeof data["event"] === "string" || data["event"] instanceof String)) {
|
|
232
|
+
throw new Error("Expected the field `event` to be a primitive type in the JSON string but got " + data["event"]);
|
|
233
233
|
}
|
|
234
234
|
// ensure the json data is a string
|
|
235
|
-
if (data[
|
|
236
|
-
throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data[
|
|
235
|
+
if (data["session"] && !(typeof data["session"] === "string" || data["session"] instanceof String)) {
|
|
236
|
+
throw new Error("Expected the field `session` to be a primitive type in the JSON string but got " + data["session"]);
|
|
237
237
|
}
|
|
238
238
|
// ensure the json data is a string
|
|
239
|
-
if (data[
|
|
240
|
-
throw new Error("Expected the field `best_id` to be a primitive type in the JSON string but got " + data[
|
|
239
|
+
if (data["best_id"] && !(typeof data["best_id"] === "string" || data["best_id"] instanceof String)) {
|
|
240
|
+
throw new Error("Expected the field `best_id` to be a primitive type in the JSON string but got " + data["best_id"]);
|
|
241
241
|
}
|
|
242
242
|
// ensure the json data is a string
|
|
243
|
-
if (data[
|
|
244
|
-
throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data[
|
|
243
|
+
if (data["device"] && !(typeof data["device"] === "string" || data["device"] instanceof String)) {
|
|
244
|
+
throw new Error("Expected the field `device` to be a primitive type in the JSON string but got " + data["device"]);
|
|
245
245
|
}
|
|
246
246
|
// ensure the json data is a string
|
|
247
|
-
if (data[
|
|
248
|
-
throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data[
|
|
247
|
+
if (data["sn"] && !(typeof data["sn"] === "string" || data["sn"] instanceof String)) {
|
|
248
|
+
throw new Error("Expected the field `sn` to be a primitive type in the JSON string but got " + data["sn"]);
|
|
249
249
|
}
|
|
250
250
|
// ensure the json data is a string
|
|
251
|
-
if (data[
|
|
252
|
-
throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data[
|
|
251
|
+
if (data["product"] && !(typeof data["product"] === "string" || data["product"] instanceof String)) {
|
|
252
|
+
throw new Error("Expected the field `product` to be a primitive type in the JSON string but got " + data["product"]);
|
|
253
253
|
}
|
|
254
254
|
// ensure the json data is a string
|
|
255
|
-
if (data[
|
|
256
|
-
throw new Error("Expected the field `app` to be a primitive type in the JSON string but got " + data[
|
|
255
|
+
if (data["app"] && !(typeof data["app"] === "string" || data["app"] instanceof String)) {
|
|
256
|
+
throw new Error("Expected the field `app` to be a primitive type in the JSON string but got " + data["app"]);
|
|
257
257
|
}
|
|
258
258
|
// ensure the json data is a string
|
|
259
|
-
if (data[
|
|
260
|
-
throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data[
|
|
259
|
+
if (data["req"] && !(typeof data["req"] === "string" || data["req"] instanceof String)) {
|
|
260
|
+
throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data["req"]);
|
|
261
261
|
}
|
|
262
262
|
// ensure the json data is a string
|
|
263
|
-
if (data[
|
|
264
|
-
throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data[
|
|
263
|
+
if (data["file"] && !(typeof data["file"] === "string" || data["file"] instanceof String)) {
|
|
264
|
+
throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data["file"]);
|
|
265
265
|
}
|
|
266
266
|
// ensure the json data is a string
|
|
267
|
-
if (data[
|
|
268
|
-
throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data[
|
|
267
|
+
if (data["note"] && !(typeof data["note"] === "string" || data["note"] instanceof String)) {
|
|
268
|
+
throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data["note"]);
|
|
269
269
|
}
|
|
270
270
|
// ensure the json data is a string
|
|
271
|
-
if (data[
|
|
272
|
-
throw new Error("Expected the field `payload` to be a primitive type in the JSON string but got " + data[
|
|
271
|
+
if (data["payload"] && !(typeof data["payload"] === "string" || data["payload"] instanceof String)) {
|
|
272
|
+
throw new Error("Expected the field `payload` to be a primitive type in the JSON string but got " + data["payload"]);
|
|
273
273
|
}
|
|
274
274
|
// ensure the json data is a string
|
|
275
|
-
if (data[
|
|
276
|
-
throw new Error("Expected the field `best_location_type` to be a primitive type in the JSON string but got " + data[
|
|
275
|
+
if (data["best_location_type"] && !(typeof data["best_location_type"] === "string" || data["best_location_type"] instanceof String)) {
|
|
276
|
+
throw new Error("Expected the field `best_location_type` to be a primitive type in the JSON string but got " + data["best_location_type"]);
|
|
277
277
|
}
|
|
278
278
|
// ensure the json data is a string
|
|
279
|
-
if (data[
|
|
280
|
-
throw new Error("Expected the field `best_location` to be a primitive type in the JSON string but got " + data[
|
|
279
|
+
if (data["best_location"] && !(typeof data["best_location"] === "string" || data["best_location"] instanceof String)) {
|
|
280
|
+
throw new Error("Expected the field `best_location` to be a primitive type in the JSON string but got " + data["best_location"]);
|
|
281
281
|
}
|
|
282
282
|
// ensure the json data is a string
|
|
283
|
-
if (data[
|
|
284
|
-
throw new Error("Expected the field `best_country` to be a primitive type in the JSON string but got " + data[
|
|
283
|
+
if (data["best_country"] && !(typeof data["best_country"] === "string" || data["best_country"] instanceof String)) {
|
|
284
|
+
throw new Error("Expected the field `best_country` to be a primitive type in the JSON string but got " + data["best_country"]);
|
|
285
285
|
}
|
|
286
286
|
// ensure the json data is a string
|
|
287
|
-
if (data[
|
|
288
|
-
throw new Error("Expected the field `best_timezone` to be a primitive type in the JSON string but got " + data[
|
|
287
|
+
if (data["best_timezone"] && !(typeof data["best_timezone"] === "string" || data["best_timezone"] instanceof String)) {
|
|
288
|
+
throw new Error("Expected the field `best_timezone` to be a primitive type in the JSON string but got " + data["best_timezone"]);
|
|
289
289
|
}
|
|
290
290
|
// ensure the json data is a string
|
|
291
|
-
if (data[
|
|
292
|
-
throw new Error("Expected the field `where_olc` to be a primitive type in the JSON string but got " + data[
|
|
291
|
+
if (data["where_olc"] && !(typeof data["where_olc"] === "string" || data["where_olc"] instanceof String)) {
|
|
292
|
+
throw new Error("Expected the field `where_olc` to be a primitive type in the JSON string but got " + data["where_olc"]);
|
|
293
293
|
}
|
|
294
294
|
// ensure the json data is a string
|
|
295
|
-
if (data[
|
|
296
|
-
throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data[
|
|
295
|
+
if (data["where_location"] && !(typeof data["where_location"] === "string" || data["where_location"] instanceof String)) {
|
|
296
|
+
throw new Error("Expected the field `where_location` to be a primitive type in the JSON string but got " + data["where_location"]);
|
|
297
297
|
}
|
|
298
298
|
// ensure the json data is a string
|
|
299
|
-
if (data[
|
|
300
|
-
throw new Error("Expected the field `where_country` to be a primitive type in the JSON string but got " + data[
|
|
299
|
+
if (data["where_country"] && !(typeof data["where_country"] === "string" || data["where_country"] instanceof String)) {
|
|
300
|
+
throw new Error("Expected the field `where_country` to be a primitive type in the JSON string but got " + data["where_country"]);
|
|
301
301
|
}
|
|
302
302
|
// ensure the json data is a string
|
|
303
|
-
if (data[
|
|
304
|
-
throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data[
|
|
303
|
+
if (data["where_timezone"] && !(typeof data["where_timezone"] === "string" || data["where_timezone"] instanceof String)) {
|
|
304
|
+
throw new Error("Expected the field `where_timezone` to be a primitive type in the JSON string but got " + data["where_timezone"]);
|
|
305
305
|
}
|
|
306
306
|
// ensure the json data is a string
|
|
307
|
-
if (data[
|
|
308
|
-
throw new Error("Expected the field `tower_country` to be a primitive type in the JSON string but got " + data[
|
|
307
|
+
if (data["tower_country"] && !(typeof data["tower_country"] === "string" || data["tower_country"] instanceof String)) {
|
|
308
|
+
throw new Error("Expected the field `tower_country` to be a primitive type in the JSON string but got " + data["tower_country"]);
|
|
309
309
|
}
|
|
310
310
|
// ensure the json data is a string
|
|
311
|
-
if (data[
|
|
312
|
-
throw new Error("Expected the field `tower_location` to be a primitive type in the JSON string but got " + data[
|
|
311
|
+
if (data["tower_location"] && !(typeof data["tower_location"] === "string" || data["tower_location"] instanceof String)) {
|
|
312
|
+
throw new Error("Expected the field `tower_location` to be a primitive type in the JSON string but got " + data["tower_location"]);
|
|
313
313
|
}
|
|
314
314
|
// ensure the json data is a string
|
|
315
|
-
if (data[
|
|
316
|
-
throw new Error("Expected the field `tower_timezone` to be a primitive type in the JSON string but got " + data[
|
|
315
|
+
if (data["tower_timezone"] && !(typeof data["tower_timezone"] === "string" || data["tower_timezone"] instanceof String)) {
|
|
316
|
+
throw new Error("Expected the field `tower_timezone` to be a primitive type in the JSON string but got " + data["tower_timezone"]);
|
|
317
317
|
}
|
|
318
318
|
// ensure the json data is a string
|
|
319
|
-
if (data[
|
|
320
|
-
throw new Error("Expected the field `tower_id` to be a primitive type in the JSON string but got " + data[
|
|
319
|
+
if (data["tower_id"] && !(typeof data["tower_id"] === "string" || data["tower_id"] instanceof String)) {
|
|
320
|
+
throw new Error("Expected the field `tower_id` to be a primitive type in the JSON string but got " + data["tower_id"]);
|
|
321
321
|
}
|
|
322
322
|
// ensure the json data is a string
|
|
323
|
-
if (data[
|
|
324
|
-
throw new Error("Expected the field `tri_location` to be a primitive type in the JSON string but got " + data[
|
|
323
|
+
if (data["tri_location"] && !(typeof data["tri_location"] === "string" || data["tri_location"] instanceof String)) {
|
|
324
|
+
throw new Error("Expected the field `tri_location` to be a primitive type in the JSON string but got " + data["tri_location"]);
|
|
325
325
|
}
|
|
326
326
|
// ensure the json data is a string
|
|
327
|
-
if (data[
|
|
328
|
-
throw new Error("Expected the field `tri_country` to be a primitive type in the JSON string but got " + data[
|
|
327
|
+
if (data["tri_country"] && !(typeof data["tri_country"] === "string" || data["tri_country"] instanceof String)) {
|
|
328
|
+
throw new Error("Expected the field `tri_country` to be a primitive type in the JSON string but got " + data["tri_country"]);
|
|
329
329
|
}
|
|
330
330
|
// ensure the json data is a string
|
|
331
|
-
if (data[
|
|
332
|
-
throw new Error("Expected the field `tri_timezone` to be a primitive type in the JSON string but got " + data[
|
|
331
|
+
if (data["tri_timezone"] && !(typeof data["tri_timezone"] === "string" || data["tri_timezone"] instanceof String)) {
|
|
332
|
+
throw new Error("Expected the field `tri_timezone` to be a primitive type in the JSON string but got " + data["tri_timezone"]);
|
|
333
333
|
}
|
|
334
334
|
// ensure the json data is a string
|
|
335
|
-
if (data[
|
|
336
|
-
throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data[
|
|
335
|
+
if (data["orientation"] && !(typeof data["orientation"] === "string" || data["orientation"] instanceof String)) {
|
|
336
|
+
throw new Error("Expected the field `orientation` to be a primitive type in the JSON string but got " + data["orientation"]);
|
|
337
337
|
}
|
|
338
338
|
// ensure the json data is a string
|
|
339
|
-
if (data[
|
|
340
|
-
throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data[
|
|
339
|
+
if (data["rat"] && !(typeof data["rat"] === "string" || data["rat"] instanceof String)) {
|
|
340
|
+
throw new Error("Expected the field `rat` to be a primitive type in the JSON string but got " + data["rat"]);
|
|
341
341
|
}
|
|
342
342
|
return true;
|
|
343
343
|
}
|
|
@@ -348,329 +348,329 @@ var Event = /*#__PURE__*/function () {
|
|
|
348
348
|
* Event UID (globally unique)
|
|
349
349
|
* @member {String} event
|
|
350
350
|
*/
|
|
351
|
-
Event.prototype[
|
|
351
|
+
Event.prototype["event"] = undefined;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
354
|
* Session UID (globally unique)
|
|
355
355
|
* @member {String} session
|
|
356
356
|
*/
|
|
357
|
-
Event.prototype[
|
|
357
|
+
Event.prototype["session"] = undefined;
|
|
358
358
|
|
|
359
359
|
/**
|
|
360
360
|
* Whether TLS was used on the connection between the device and notehub. Only available on _session.qo events.
|
|
361
361
|
* @member {Boolean} tls
|
|
362
362
|
*/
|
|
363
|
-
Event.prototype[
|
|
363
|
+
Event.prototype["tls"] = undefined;
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
366
|
* The device serial number, or the DeviceUID if the serial number is not set
|
|
367
367
|
* @member {String} best_id
|
|
368
368
|
*/
|
|
369
|
-
Event.prototype[
|
|
369
|
+
Event.prototype["best_id"] = undefined;
|
|
370
370
|
|
|
371
371
|
/**
|
|
372
372
|
* Device UID (globally unique)
|
|
373
373
|
* @member {String} device
|
|
374
374
|
*/
|
|
375
|
-
Event.prototype[
|
|
375
|
+
Event.prototype["device"] = undefined;
|
|
376
376
|
|
|
377
377
|
/**
|
|
378
378
|
* The device serial number
|
|
379
379
|
* @member {String} sn
|
|
380
380
|
*/
|
|
381
|
-
Event.prototype[
|
|
381
|
+
Event.prototype["sn"] = undefined;
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* Product UID (globally unique)
|
|
385
385
|
* @member {String} product
|
|
386
386
|
*/
|
|
387
|
-
Event.prototype[
|
|
387
|
+
Event.prototype["product"] = undefined;
|
|
388
388
|
|
|
389
389
|
/**
|
|
390
390
|
* App UID (globally unique)
|
|
391
391
|
* @member {String} app
|
|
392
392
|
*/
|
|
393
|
-
Event.prototype[
|
|
393
|
+
Event.prototype["app"] = undefined;
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
396
|
* The unix timestamp when the event was received
|
|
397
397
|
* @member {Number} received
|
|
398
398
|
*/
|
|
399
|
-
Event.prototype[
|
|
399
|
+
Event.prototype["received"] = undefined;
|
|
400
400
|
|
|
401
401
|
/**
|
|
402
402
|
* The notecard request
|
|
403
403
|
* @member {String} req
|
|
404
404
|
*/
|
|
405
|
-
Event.prototype[
|
|
405
|
+
Event.prototype["req"] = undefined;
|
|
406
406
|
|
|
407
407
|
/**
|
|
408
408
|
* When the event was captured on the device
|
|
409
409
|
* @member {Number} when
|
|
410
410
|
*/
|
|
411
|
-
Event.prototype[
|
|
411
|
+
Event.prototype["when"] = undefined;
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
414
|
* The notefile associated with this event
|
|
415
415
|
* @member {String} file
|
|
416
416
|
*/
|
|
417
|
-
Event.prototype[
|
|
417
|
+
Event.prototype["file"] = undefined;
|
|
418
418
|
|
|
419
419
|
/**
|
|
420
420
|
* The note ID in the notefile
|
|
421
421
|
* @member {String} note
|
|
422
422
|
*/
|
|
423
|
-
Event.prototype[
|
|
423
|
+
Event.prototype["note"] = undefined;
|
|
424
424
|
|
|
425
425
|
/**
|
|
426
426
|
* @member {Number} updates
|
|
427
427
|
*/
|
|
428
|
-
Event.prototype[
|
|
428
|
+
Event.prototype["updates"] = undefined;
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
431
|
* A JSON object containing event details
|
|
432
432
|
* @member {Object} body
|
|
433
433
|
*/
|
|
434
|
-
Event.prototype[
|
|
434
|
+
Event.prototype["body"] = undefined;
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
437
|
* A base64-encoded binary payload
|
|
438
438
|
* @member {String} payload
|
|
439
439
|
*/
|
|
440
|
-
Event.prototype[
|
|
440
|
+
Event.prototype["payload"] = undefined;
|
|
441
441
|
|
|
442
442
|
/**
|
|
443
443
|
* One of \"gps\", \"triangulated\", or \"tower\"
|
|
444
444
|
* @member {String} best_location_type
|
|
445
445
|
*/
|
|
446
|
-
Event.prototype[
|
|
446
|
+
Event.prototype["best_location_type"] = undefined;
|
|
447
447
|
|
|
448
448
|
/**
|
|
449
449
|
* Unix timestamp
|
|
450
450
|
* @member {Number} best_location_when
|
|
451
451
|
*/
|
|
452
|
-
Event.prototype[
|
|
452
|
+
Event.prototype["best_location_when"] = undefined;
|
|
453
453
|
|
|
454
454
|
/**
|
|
455
455
|
* Latitude
|
|
456
456
|
* @member {Number} best_lat
|
|
457
457
|
*/
|
|
458
|
-
Event.prototype[
|
|
458
|
+
Event.prototype["best_lat"] = undefined;
|
|
459
459
|
|
|
460
460
|
/**
|
|
461
461
|
* Longitude
|
|
462
462
|
* @member {Number} best_lon
|
|
463
463
|
*/
|
|
464
|
-
Event.prototype[
|
|
464
|
+
Event.prototype["best_lon"] = undefined;
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* Location
|
|
468
468
|
* @member {String} best_location
|
|
469
469
|
*/
|
|
470
|
-
Event.prototype[
|
|
470
|
+
Event.prototype["best_location"] = undefined;
|
|
471
471
|
|
|
472
472
|
/**
|
|
473
473
|
* Country
|
|
474
474
|
* @member {String} best_country
|
|
475
475
|
*/
|
|
476
|
-
Event.prototype[
|
|
476
|
+
Event.prototype["best_country"] = undefined;
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
479
|
* Timezone
|
|
480
480
|
* @member {String} best_timezone
|
|
481
481
|
*/
|
|
482
|
-
Event.prototype[
|
|
482
|
+
Event.prototype["best_timezone"] = undefined;
|
|
483
483
|
|
|
484
484
|
/**
|
|
485
485
|
* Open Location Code
|
|
486
486
|
* @member {String} where_olc
|
|
487
487
|
*/
|
|
488
|
-
Event.prototype[
|
|
488
|
+
Event.prototype["where_olc"] = undefined;
|
|
489
489
|
|
|
490
490
|
/**
|
|
491
491
|
* Unix timestamp
|
|
492
492
|
* @member {Number} where_when
|
|
493
493
|
*/
|
|
494
|
-
Event.prototype[
|
|
494
|
+
Event.prototype["where_when"] = undefined;
|
|
495
495
|
|
|
496
496
|
/**
|
|
497
497
|
* Latitude
|
|
498
498
|
* @member {Number} where_lat
|
|
499
499
|
*/
|
|
500
|
-
Event.prototype[
|
|
500
|
+
Event.prototype["where_lat"] = undefined;
|
|
501
501
|
|
|
502
502
|
/**
|
|
503
503
|
* Longitude
|
|
504
504
|
* @member {Number} where_lon
|
|
505
505
|
*/
|
|
506
|
-
Event.prototype[
|
|
506
|
+
Event.prototype["where_lon"] = undefined;
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
509
|
* Location
|
|
510
510
|
* @member {String} where_location
|
|
511
511
|
*/
|
|
512
|
-
Event.prototype[
|
|
512
|
+
Event.prototype["where_location"] = undefined;
|
|
513
513
|
|
|
514
514
|
/**
|
|
515
515
|
* Country
|
|
516
516
|
* @member {String} where_country
|
|
517
517
|
*/
|
|
518
|
-
Event.prototype[
|
|
518
|
+
Event.prototype["where_country"] = undefined;
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Timezone
|
|
522
522
|
* @member {String} where_timezone
|
|
523
523
|
*/
|
|
524
|
-
Event.prototype[
|
|
524
|
+
Event.prototype["where_timezone"] = undefined;
|
|
525
525
|
|
|
526
526
|
/**
|
|
527
527
|
* Unix timestamp
|
|
528
528
|
* @member {Number} tower_when
|
|
529
529
|
*/
|
|
530
|
-
Event.prototype[
|
|
530
|
+
Event.prototype["tower_when"] = undefined;
|
|
531
531
|
|
|
532
532
|
/**
|
|
533
533
|
* Latitude
|
|
534
534
|
* @member {Number} tower_lat
|
|
535
535
|
*/
|
|
536
|
-
Event.prototype[
|
|
536
|
+
Event.prototype["tower_lat"] = undefined;
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
539
|
* Longitude
|
|
540
540
|
* @member {Number} tower_lon
|
|
541
541
|
*/
|
|
542
|
-
Event.prototype[
|
|
542
|
+
Event.prototype["tower_lon"] = undefined;
|
|
543
543
|
|
|
544
544
|
/**
|
|
545
545
|
* Country
|
|
546
546
|
* @member {String} tower_country
|
|
547
547
|
*/
|
|
548
|
-
Event.prototype[
|
|
548
|
+
Event.prototype["tower_country"] = undefined;
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
551
|
* Location
|
|
552
552
|
* @member {String} tower_location
|
|
553
553
|
*/
|
|
554
|
-
Event.prototype[
|
|
554
|
+
Event.prototype["tower_location"] = undefined;
|
|
555
555
|
|
|
556
556
|
/**
|
|
557
557
|
* Timezone
|
|
558
558
|
* @member {String} tower_timezone
|
|
559
559
|
*/
|
|
560
|
-
Event.prototype[
|
|
560
|
+
Event.prototype["tower_timezone"] = undefined;
|
|
561
561
|
|
|
562
562
|
/**
|
|
563
563
|
* Tower ID
|
|
564
564
|
* @member {String} tower_id
|
|
565
565
|
*/
|
|
566
|
-
Event.prototype[
|
|
566
|
+
Event.prototype["tower_id"] = undefined;
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
569
|
* Unix timestamp
|
|
570
570
|
* @member {Number} tri_when
|
|
571
571
|
*/
|
|
572
|
-
Event.prototype[
|
|
572
|
+
Event.prototype["tri_when"] = undefined;
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Latitude
|
|
576
576
|
* @member {Number} tri_lat
|
|
577
577
|
*/
|
|
578
|
-
Event.prototype[
|
|
578
|
+
Event.prototype["tri_lat"] = undefined;
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* Longitude
|
|
582
582
|
* @member {Number} tri_lon
|
|
583
583
|
*/
|
|
584
|
-
Event.prototype[
|
|
584
|
+
Event.prototype["tri_lon"] = undefined;
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
587
|
* Location
|
|
588
588
|
* @member {String} tri_location
|
|
589
589
|
*/
|
|
590
|
-
Event.prototype[
|
|
590
|
+
Event.prototype["tri_location"] = undefined;
|
|
591
591
|
|
|
592
592
|
/**
|
|
593
593
|
* Country
|
|
594
594
|
* @member {String} tri_country
|
|
595
595
|
*/
|
|
596
|
-
Event.prototype[
|
|
596
|
+
Event.prototype["tri_country"] = undefined;
|
|
597
597
|
|
|
598
598
|
/**
|
|
599
599
|
* Timezone
|
|
600
600
|
* @member {String} tri_timezone
|
|
601
601
|
*/
|
|
602
|
-
Event.prototype[
|
|
602
|
+
Event.prototype["tri_timezone"] = undefined;
|
|
603
603
|
|
|
604
604
|
/**
|
|
605
605
|
* Triangulation points
|
|
606
606
|
* @member {Number} tri_points
|
|
607
607
|
*/
|
|
608
|
-
Event.prototype[
|
|
608
|
+
Event.prototype["tri_points"] = undefined;
|
|
609
609
|
|
|
610
610
|
/**
|
|
611
611
|
* The number of times the device was sensed to have moved between the last session and this session. Only available on _session.qo events.
|
|
612
612
|
* @member {Number} moved
|
|
613
613
|
*/
|
|
614
|
-
Event.prototype[
|
|
614
|
+
Event.prototype["moved"] = undefined;
|
|
615
615
|
|
|
616
616
|
/**
|
|
617
617
|
* The orientation of the device. Only available on _session.qo events.
|
|
618
618
|
* @member {String} orientation
|
|
619
619
|
*/
|
|
620
|
-
Event.prototype[
|
|
620
|
+
Event.prototype["orientation"] = undefined;
|
|
621
621
|
|
|
622
622
|
/**
|
|
623
623
|
* Received Signal Strength Indicator (RSSI) is an estimated measurement of how well a device can receive signals. Only available on _session.qo events.
|
|
624
624
|
* @member {Number} rssi
|
|
625
625
|
*/
|
|
626
|
-
Event.prototype[
|
|
626
|
+
Event.prototype["rssi"] = undefined;
|
|
627
627
|
|
|
628
628
|
/**
|
|
629
629
|
* SINR. Only available on _session.qo events.
|
|
630
630
|
* @member {Number} sinr
|
|
631
631
|
*/
|
|
632
|
-
Event.prototype[
|
|
632
|
+
Event.prototype["sinr"] = undefined;
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
635
|
* RSRP. Only available on _session.qo events.
|
|
636
636
|
* @member {Number} rsrp
|
|
637
637
|
*/
|
|
638
|
-
Event.prototype[
|
|
638
|
+
Event.prototype["rsrp"] = undefined;
|
|
639
639
|
|
|
640
640
|
/**
|
|
641
641
|
* RSRQ. Only available on _session.qo events.
|
|
642
642
|
* @member {Number} rsrq
|
|
643
643
|
*/
|
|
644
|
-
Event.prototype[
|
|
644
|
+
Event.prototype["rsrq"] = undefined;
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
647
|
* Rat. Only available on _session.qo events.
|
|
648
648
|
* @member {String} rat
|
|
649
649
|
*/
|
|
650
|
-
Event.prototype[
|
|
650
|
+
Event.prototype["rat"] = undefined;
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
653
|
* Bars. Only available on _session.qo events.
|
|
654
654
|
* @member {Number} bars
|
|
655
655
|
*/
|
|
656
|
-
Event.prototype[
|
|
656
|
+
Event.prototype["bars"] = undefined;
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
659
|
* Device voltage. Only available on _session.qo events.
|
|
660
660
|
* @member {Number} voltage
|
|
661
661
|
*/
|
|
662
|
-
Event.prototype[
|
|
662
|
+
Event.prototype["voltage"] = undefined;
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
665
|
* Device temperature. Only available on _session.qo events.
|
|
666
666
|
* @member {Number} temp
|
|
667
667
|
*/
|
|
668
|
-
Event.prototype[
|
|
668
|
+
Event.prototype["temp"] = undefined;
|
|
669
669
|
|
|
670
670
|
/**
|
|
671
671
|
* Routed environment variables beginning with \"$\". Only available on _session.qo events.
|
|
672
672
|
* @member {Object} environment
|
|
673
673
|
*/
|
|
674
|
-
Event.prototype[
|
|
674
|
+
Event.prototype["environment"] = undefined;
|
|
675
675
|
var _default = Event;
|
|
676
676
|
exports["default"] = _default;
|