@blues-inc/notehub-js 6.4.0-beta.68 → 6.4.0-beta.69
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 +2 -2
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +7 -7
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/Device.js +86 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +10 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccount200Response.js +1 -1
- package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +6 -6
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetEventsByCursor200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/{GetDeviceHealthLog200ResponseHealthLogInner.js → HealthLog.js} +22 -22
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
package/dist/model/Device.js
CHANGED
|
@@ -8,6 +8,7 @@ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
|
8
8
|
var _Contact = _interopRequireDefault(require("./Contact"));
|
|
9
9
|
var _DFUEnv = _interopRequireDefault(require("./DFUEnv"));
|
|
10
10
|
var _DeviceTowerInfo = _interopRequireDefault(require("./DeviceTowerInfo"));
|
|
11
|
+
var _HealthLog = _interopRequireDefault(require("./HealthLog"));
|
|
11
12
|
var _Location = _interopRequireDefault(require("./Location"));
|
|
12
13
|
var _SimUsage = _interopRequireDefault(require("./SimUsage"));
|
|
13
14
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -34,7 +35,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
35
|
/**
|
|
35
36
|
* The Device model module.
|
|
36
37
|
* @module model/Device
|
|
37
|
-
* @version 6.4.0-beta.
|
|
38
|
+
* @version 6.4.0-beta.69
|
|
38
39
|
*/
|
|
39
40
|
var Device = /*#__PURE__*/function () {
|
|
40
41
|
/**
|
|
@@ -110,6 +111,9 @@ var Device = /*#__PURE__*/function () {
|
|
|
110
111
|
if (data.hasOwnProperty("gps_location")) {
|
|
111
112
|
obj["gps_location"] = _Location["default"].constructFromObject(data["gps_location"]);
|
|
112
113
|
}
|
|
114
|
+
if (data.hasOwnProperty("health_log")) {
|
|
115
|
+
obj["health_log"] = _ApiClient["default"].convertToType(data["health_log"], [_HealthLog["default"]]);
|
|
116
|
+
}
|
|
113
117
|
if (data.hasOwnProperty("last_activity")) {
|
|
114
118
|
obj["last_activity"] = _ApiClient["default"].convertToType(data["last_activity"], "Date");
|
|
115
119
|
}
|
|
@@ -119,12 +123,27 @@ var Device = /*#__PURE__*/function () {
|
|
|
119
123
|
if (data.hasOwnProperty("provisioned")) {
|
|
120
124
|
obj["provisioned"] = _ApiClient["default"].convertToType(data["provisioned"], "Date");
|
|
121
125
|
}
|
|
126
|
+
if (data.hasOwnProperty("recent_event_count")) {
|
|
127
|
+
obj["recent_event_count"] = _ApiClient["default"].convertToType(data["recent_event_count"], ["Number"]);
|
|
128
|
+
}
|
|
129
|
+
if (data.hasOwnProperty("recent_session_count")) {
|
|
130
|
+
obj["recent_session_count"] = _ApiClient["default"].convertToType(data["recent_session_count"], ["Number"]);
|
|
131
|
+
}
|
|
132
|
+
if (data.hasOwnProperty("recent_session_seconds")) {
|
|
133
|
+
obj["recent_session_seconds"] = _ApiClient["default"].convertToType(data["recent_session_seconds"], ["Number"]);
|
|
134
|
+
}
|
|
135
|
+
if (data.hasOwnProperty("recent_when")) {
|
|
136
|
+
obj["recent_when"] = _ApiClient["default"].convertToType(data["recent_when"], "Date");
|
|
137
|
+
}
|
|
122
138
|
if (data.hasOwnProperty("serial_number")) {
|
|
123
139
|
obj["serial_number"] = _ApiClient["default"].convertToType(data["serial_number"], "String");
|
|
124
140
|
}
|
|
125
141
|
if (data.hasOwnProperty("sku")) {
|
|
126
142
|
obj["sku"] = _ApiClient["default"].convertToType(data["sku"], "String");
|
|
127
143
|
}
|
|
144
|
+
if (data.hasOwnProperty("tags")) {
|
|
145
|
+
obj["tags"] = _ApiClient["default"].convertToType(data["tags"], "String");
|
|
146
|
+
}
|
|
128
147
|
if (data.hasOwnProperty("temperature")) {
|
|
129
148
|
obj["temperature"] = _ApiClient["default"].convertToType(data["temperature"], "Number");
|
|
130
149
|
}
|
|
@@ -228,10 +247,42 @@ var Device = /*#__PURE__*/function () {
|
|
|
228
247
|
// data not null
|
|
229
248
|
_Location["default"].validateJSON(data["gps_location"]);
|
|
230
249
|
}
|
|
250
|
+
if (data["health_log"]) {
|
|
251
|
+
// data not null
|
|
252
|
+
// ensure the json data is an array
|
|
253
|
+
if (!Array.isArray(data["health_log"])) {
|
|
254
|
+
throw new Error("Expected the field `health_log` to be an array in the JSON data but got " + data["health_log"]);
|
|
255
|
+
}
|
|
256
|
+
// validate the optional field `health_log` (array)
|
|
257
|
+
var _iterator3 = _createForOfIteratorHelper(data["health_log"]),
|
|
258
|
+
_step3;
|
|
259
|
+
try {
|
|
260
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
261
|
+
var _item = _step3.value;
|
|
262
|
+
_HealthLog["default"].validateJsonObject(_item);
|
|
263
|
+
}
|
|
264
|
+
} catch (err) {
|
|
265
|
+
_iterator3.e(err);
|
|
266
|
+
} finally {
|
|
267
|
+
_iterator3.f();
|
|
268
|
+
}
|
|
269
|
+
}
|
|
231
270
|
// ensure the json data is a string
|
|
232
271
|
if (data["product_uid"] && !(typeof data["product_uid"] === "string" || data["product_uid"] instanceof String)) {
|
|
233
272
|
throw new Error("Expected the field `product_uid` to be a primitive type in the JSON string but got " + data["product_uid"]);
|
|
234
273
|
}
|
|
274
|
+
// ensure the json data is an array
|
|
275
|
+
if (!Array.isArray(data["recent_event_count"])) {
|
|
276
|
+
throw new Error("Expected the field `recent_event_count` to be an array in the JSON data but got " + data["recent_event_count"]);
|
|
277
|
+
}
|
|
278
|
+
// ensure the json data is an array
|
|
279
|
+
if (!Array.isArray(data["recent_session_count"])) {
|
|
280
|
+
throw new Error("Expected the field `recent_session_count` to be an array in the JSON data but got " + data["recent_session_count"]);
|
|
281
|
+
}
|
|
282
|
+
// ensure the json data is an array
|
|
283
|
+
if (!Array.isArray(data["recent_session_seconds"])) {
|
|
284
|
+
throw new Error("Expected the field `recent_session_seconds` to be an array in the JSON data but got " + data["recent_session_seconds"]);
|
|
285
|
+
}
|
|
235
286
|
// ensure the json data is a string
|
|
236
287
|
if (data["serial_number"] && !(typeof data["serial_number"] === "string" || data["serial_number"] instanceof String)) {
|
|
237
288
|
throw new Error("Expected the field `serial_number` to be a primitive type in the JSON string but got " + data["serial_number"]);
|
|
@@ -240,6 +291,10 @@ var Device = /*#__PURE__*/function () {
|
|
|
240
291
|
if (data["sku"] && !(typeof data["sku"] === "string" || data["sku"] instanceof String)) {
|
|
241
292
|
throw new Error("Expected the field `sku` to be a primitive type in the JSON string but got " + data["sku"]);
|
|
242
293
|
}
|
|
294
|
+
// ensure the json data is a string
|
|
295
|
+
if (data["tags"] && !(typeof data["tags"] === "string" || data["tags"] instanceof String)) {
|
|
296
|
+
throw new Error("Expected the field `tags` to be a primitive type in the JSON string but got " + data["tags"]);
|
|
297
|
+
}
|
|
243
298
|
// validate the optional field `tower_info`
|
|
244
299
|
if (data["tower_info"]) {
|
|
245
300
|
// data not null
|
|
@@ -316,6 +371,11 @@ Device.prototype["fleet_uids"] = undefined;
|
|
|
316
371
|
*/
|
|
317
372
|
Device.prototype["gps_location"] = undefined;
|
|
318
373
|
|
|
374
|
+
/**
|
|
375
|
+
* @member {Array.<module:model/HealthLog>} health_log
|
|
376
|
+
*/
|
|
377
|
+
Device.prototype["health_log"] = undefined;
|
|
378
|
+
|
|
319
379
|
/**
|
|
320
380
|
* @member {Date} last_activity
|
|
321
381
|
*/
|
|
@@ -331,6 +391,26 @@ Device.prototype["product_uid"] = undefined;
|
|
|
331
391
|
*/
|
|
332
392
|
Device.prototype["provisioned"] = undefined;
|
|
333
393
|
|
|
394
|
+
/**
|
|
395
|
+
* @member {Array.<Number>} recent_event_count
|
|
396
|
+
*/
|
|
397
|
+
Device.prototype["recent_event_count"] = undefined;
|
|
398
|
+
|
|
399
|
+
/**
|
|
400
|
+
* @member {Array.<Number>} recent_session_count
|
|
401
|
+
*/
|
|
402
|
+
Device.prototype["recent_session_count"] = undefined;
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @member {Array.<Number>} recent_session_seconds
|
|
406
|
+
*/
|
|
407
|
+
Device.prototype["recent_session_seconds"] = undefined;
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* @member {Date} recent_when
|
|
411
|
+
*/
|
|
412
|
+
Device.prototype["recent_when"] = undefined;
|
|
413
|
+
|
|
334
414
|
/**
|
|
335
415
|
* @member {String} serial_number
|
|
336
416
|
*/
|
|
@@ -341,6 +421,11 @@ Device.prototype["serial_number"] = undefined;
|
|
|
341
421
|
*/
|
|
342
422
|
Device.prototype["sku"] = undefined;
|
|
343
423
|
|
|
424
|
+
/**
|
|
425
|
+
* @member {String} tags
|
|
426
|
+
*/
|
|
427
|
+
Device.prototype["tags"] = undefined;
|
|
428
|
+
|
|
344
429
|
/**
|
|
345
430
|
* @member {Number} temperature
|
|
346
431
|
*/
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The DeviceDfuHistory model module.
|
|
33
33
|
* @module model/DeviceDfuHistory
|
|
34
|
-
* @version 6.4.0-beta.
|
|
34
|
+
* @version 6.4.0-beta.69
|
|
35
35
|
*/
|
|
36
36
|
var DeviceDfuHistory = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceDfuHistoryCurrent model module.
|
|
28
28
|
* @module model/DeviceDfuHistoryCurrent
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var DeviceDfuHistoryCurrent = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuHistoryPage model module.
|
|
32
32
|
* @module model/DeviceDfuHistoryPage
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuHistoryPage = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuStateMachine model module.
|
|
32
32
|
* @module model/DeviceDfuStateMachine
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuStateMachine = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceDfuStateMachineNode model module.
|
|
28
28
|
* @module model/DeviceDfuStateMachineNode
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var DeviceDfuStateMachineNode = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DeviceDfuStatus model module.
|
|
30
30
|
* @module model/DeviceDfuStatus
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.69
|
|
32
32
|
*/
|
|
33
33
|
var DeviceDfuStatus = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The DeviceDfuStatusPage model module.
|
|
32
32
|
* @module model/DeviceDfuStatusPage
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var DeviceDfuStatusPage = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DeviceSession model module.
|
|
30
30
|
* @module model/DeviceSession
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.69
|
|
32
32
|
*/
|
|
33
33
|
var DeviceSession = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceTowerInfo model module.
|
|
28
28
|
* @module model/DeviceTowerInfo
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var DeviceTowerInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeviceUsage model module.
|
|
28
28
|
* @module model/DeviceUsage
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var DeviceUsage = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DfuActionRequest model module.
|
|
28
28
|
* @module model/DfuActionRequest
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var DfuActionRequest = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The EmailNotification model module.
|
|
28
28
|
* @module model/EmailNotification
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var EmailNotification = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The EnvTreeJsonNode model module.
|
|
32
32
|
* @module model/EnvTreeJsonNode
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var EnvTreeJsonNode = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/EnvVar.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The EnvironmentVariables model module.
|
|
31
31
|
* @module model/EnvironmentVariables
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Error.js
CHANGED
package/dist/model/Event.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Event model module.
|
|
28
28
|
* @module model/Event
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var Event = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -122,6 +122,9 @@ var Event = /*#__PURE__*/function () {
|
|
|
122
122
|
if (data.hasOwnProperty("payload")) {
|
|
123
123
|
obj["payload"] = _ApiClient["default"].convertToType(data["payload"], "String");
|
|
124
124
|
}
|
|
125
|
+
if (data.hasOwnProperty("platform")) {
|
|
126
|
+
obj["platform"] = _ApiClient["default"].convertToType(data["platform"], "Boolean");
|
|
127
|
+
}
|
|
125
128
|
if (data.hasOwnProperty("product")) {
|
|
126
129
|
obj["product"] = _ApiClient["default"].convertToType(data["product"], "String");
|
|
127
130
|
}
|
|
@@ -525,6 +528,12 @@ Event.prototype["orientation"] = undefined;
|
|
|
525
528
|
*/
|
|
526
529
|
Event.prototype["payload"] = undefined;
|
|
527
530
|
|
|
531
|
+
/**
|
|
532
|
+
* Whether this is a platform event (administrative, e.g. _health.qo, _session.qo) rather than user data
|
|
533
|
+
* @member {Boolean} platform
|
|
534
|
+
*/
|
|
535
|
+
Event.prototype["platform"] = undefined;
|
|
536
|
+
|
|
528
537
|
/**
|
|
529
538
|
* Product UID (globally unique)
|
|
530
539
|
* @member {String} product
|
package/dist/model/Filter.js
CHANGED
package/dist/model/Firmware.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The Firmware model module.
|
|
28
28
|
* @module model/Firmware
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var Firmware = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FirmwareInfo model module.
|
|
28
28
|
* @module model/FirmwareInfo
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var FirmwareInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Fleet.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The FleetConnectivityAssurance model module.
|
|
28
28
|
* @module model/FleetConnectivityAssurance
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var FleetConnectivityAssurance = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetAlerts200Response model module.
|
|
32
32
|
* @module model/GetAlerts200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetAlerts200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The GetBillingAccount200Response model module.
|
|
29
29
|
* @module model/GetBillingAccount200Response
|
|
30
|
-
* @version 6.4.0-beta.
|
|
30
|
+
* @version 6.4.0-beta.69
|
|
31
31
|
*/
|
|
32
32
|
var GetBillingAccount200Response = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The GetBillingAccount200ResponsePlan model module.
|
|
28
28
|
* @module model/GetBillingAccount200ResponsePlan
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var GetBillingAccount200ResponsePlan = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetBillingAccountBalanceHistory200Response model module.
|
|
32
32
|
* @module model/GetBillingAccountBalanceHistory200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetBillingAccountBalanceHistory200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetBillingAccountBalanceHistory200ResponseDataInner model module.
|
|
31
31
|
* @module model/GetBillingAccountBalanceHistory200ResponseDataInner
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var GetBillingAccountBalanceHistory200ResponseDataInner = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetBillingAccounts200Response model module.
|
|
32
32
|
* @module model/GetBillingAccounts200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200Response model module.
|
|
32
32
|
* @module model/GetDataUsage200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDataUsage200ResponseDataInner model module.
|
|
32
32
|
* @module model/GetDataUsage200ResponseDataInner
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDataUsage200ResponseDataInner = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The GetDbNote200Response model module.
|
|
28
28
|
* @module model/GetDbNote200Response
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.69
|
|
30
30
|
*/
|
|
31
31
|
var GetDbNote200Response = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDeviceEnvironmentVariablesByPin200Response model module.
|
|
31
31
|
* @module model/GetDeviceEnvironmentVariablesByPin200Response
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceEnvironmentVariablesByPin200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceFleets200Response model module.
|
|
32
32
|
* @module model/GetDeviceFleets200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceFleets200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var
|
|
8
|
+
var _HealthLog = _interopRequireDefault(require("./HealthLog"));
|
|
9
9
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
10
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
11
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -30,13 +30,13 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceHealthLog200Response model module.
|
|
32
32
|
* @module model/GetDeviceHealthLog200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
37
37
|
* Constructs a new <code>GetDeviceHealthLog200Response</code>.
|
|
38
38
|
* @alias module:model/GetDeviceHealthLog200Response
|
|
39
|
-
* @param healthLog {Array.<module:model/
|
|
39
|
+
* @param healthLog {Array.<module:model/HealthLog>}
|
|
40
40
|
*/
|
|
41
41
|
function GetDeviceHealthLog200Response(healthLog) {
|
|
42
42
|
_classCallCheck(this, GetDeviceHealthLog200Response);
|
|
@@ -67,7 +67,7 @@ var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
|
67
67
|
if (data) {
|
|
68
68
|
obj = obj || new GetDeviceHealthLog200Response();
|
|
69
69
|
if (data.hasOwnProperty("health_log")) {
|
|
70
|
-
obj["health_log"] = _ApiClient["default"].convertToType(data["health_log"], [
|
|
70
|
+
obj["health_log"] = _ApiClient["default"].convertToType(data["health_log"], [_HealthLog["default"]]);
|
|
71
71
|
}
|
|
72
72
|
} else if (data === null) {
|
|
73
73
|
return null;
|
|
@@ -110,7 +110,7 @@ var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
|
110
110
|
try {
|
|
111
111
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
112
112
|
var item = _step2.value;
|
|
113
|
-
|
|
113
|
+
_HealthLog["default"].validateJsonObject(item);
|
|
114
114
|
}
|
|
115
115
|
} catch (err) {
|
|
116
116
|
_iterator2.e(err);
|
|
@@ -125,7 +125,7 @@ var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
|
125
125
|
GetDeviceHealthLog200Response.RequiredProperties = ["health_log"];
|
|
126
126
|
|
|
127
127
|
/**
|
|
128
|
-
* @member {Array.<module:model/
|
|
128
|
+
* @member {Array.<module:model/HealthLog>} health_log
|
|
129
129
|
*/
|
|
130
130
|
GetDeviceHealthLog200Response.prototype["health_log"] = undefined;
|
|
131
131
|
var _default = exports["default"] = GetDeviceHealthLog200Response;
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourney200Response model module.
|
|
32
32
|
* @module model/GetDeviceJourney200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourney200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourney200ResponseJourney model module.
|
|
32
32
|
* @module model/GetDeviceJourney200ResponseJourney
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourney200ResponseJourney = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceJourneys200Response model module.
|
|
32
32
|
* @module model/GetDeviceJourneys200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceJourneys200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDeviceJourneys200ResponseJourneysInner model module.
|
|
31
31
|
* @module model/GetDeviceJourneys200ResponseJourneysInner
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceJourneys200ResponseJourneysInner = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDeviceLatestEvents200Response model module.
|
|
32
32
|
* @module model/GetDeviceLatestEvents200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceLatestEvents200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* The GetDevicePlans200Response model module.
|
|
32
32
|
* @module model/GetDevicePlans200Response
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.69
|
|
34
34
|
*/
|
|
35
35
|
var GetDevicePlans200Response = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The GetDevicePublicKey200Response model module.
|
|
31
31
|
* @module model/GetDevicePublicKey200Response
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.69
|
|
33
33
|
*/
|
|
34
34
|
var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|