@blues-inc/notehub-js 2.3.0-beta.9 → 3.0.0-beta.1
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 +9 -10
- 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 +131 -166
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +97 -97
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +23 -5
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +14 -14
- 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/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.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/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.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/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/DeleteNotefilesRequest.js +1 -1
- package/dist/model/Device.js +14 -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 +1 -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 +4 -27
- package/dist/model/GetAlerts200Response.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 +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.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/GetNotefile200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjects200Response.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/HttpRoute.js +1 -1
- package/dist/model/ListNotefiles200Response.js +106 -0
- package/dist/model/ListPendingNotefiles200Response.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 +10 -90
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +15 -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/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/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/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/S3ArchiveRoute.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 +223 -0
- 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/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +12 -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/Notefile.js +0 -147
- package/dist/model/NotefileTemplate.js +0 -128
package/dist/model/DataUsage.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The DataUsage model module.
|
|
31
31
|
* @module model/DataUsage
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var DataUsage = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DatacakeRoute model module.
|
|
30
30
|
* @module model/DatacakeRoute
|
|
31
|
-
* @version
|
|
31
|
+
* @version 3.0.0-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var DatacakeRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The DeleteDeviceFromFleetsRequest model module.
|
|
31
31
|
* @module model/DeleteDeviceFromFleetsRequest
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var DeleteDeviceFromFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DeleteNotefilesRequest model module.
|
|
28
28
|
* @module model/DeleteNotefilesRequest
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var DeleteNotefilesRequest = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Device.js
CHANGED
|
@@ -34,7 +34,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
/**
|
|
35
35
|
* The Device model module.
|
|
36
36
|
* @module model/Device
|
|
37
|
-
* @version
|
|
37
|
+
* @version 3.0.0-beta.1
|
|
38
38
|
*/
|
|
39
39
|
var Device = /*#__PURE__*/function () {
|
|
40
40
|
/**
|
|
@@ -80,6 +80,9 @@ var Device = /*#__PURE__*/function () {
|
|
|
80
80
|
value: function constructFromObject(data, obj) {
|
|
81
81
|
if (data) {
|
|
82
82
|
obj = obj || new Device();
|
|
83
|
+
if (data.hasOwnProperty('best_location')) {
|
|
84
|
+
obj['best_location'] = _Location["default"].constructFromObject(data['best_location']);
|
|
85
|
+
}
|
|
83
86
|
if (data.hasOwnProperty('cellular_usage')) {
|
|
84
87
|
obj['cellular_usage'] = _ApiClient["default"].convertToType(data['cellular_usage'], [_SimUsage["default"]]);
|
|
85
88
|
}
|
|
@@ -161,11 +164,16 @@ var Device = /*#__PURE__*/function () {
|
|
|
161
164
|
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
162
165
|
}
|
|
163
166
|
}
|
|
167
|
+
// validate the optional field `best_location`
|
|
164
168
|
} catch (err) {
|
|
165
169
|
_iterator.e(err);
|
|
166
170
|
} finally {
|
|
167
171
|
_iterator.f();
|
|
168
172
|
}
|
|
173
|
+
if (data['best_location']) {
|
|
174
|
+
// data not null
|
|
175
|
+
_Location["default"].validateJSON(data['best_location']);
|
|
176
|
+
}
|
|
169
177
|
if (data['cellular_usage']) {
|
|
170
178
|
// data not null
|
|
171
179
|
// ensure the json data is an array
|
|
@@ -251,6 +259,11 @@ var Device = /*#__PURE__*/function () {
|
|
|
251
259
|
}();
|
|
252
260
|
Device.RequiredProperties = ["fleet_uids", "product_uid", "provisioned", "temperature", "uid", "voltage"];
|
|
253
261
|
|
|
262
|
+
/**
|
|
263
|
+
* @member {module:model/Location} best_location
|
|
264
|
+
*/
|
|
265
|
+
Device.prototype['best_location'] = undefined;
|
|
266
|
+
|
|
254
267
|
/**
|
|
255
268
|
* @member {Array.<module:model/SimUsage>} cellular_usage
|
|
256
269
|
*/
|
|
@@ -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
|
|
34
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
31
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
31
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Error.js
CHANGED
package/dist/model/Event.js
CHANGED
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 FirmwareInfo model module.
|
|
28
28
|
* @module model/FirmwareInfo
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var FirmwareInfo = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/Fleet.js
CHANGED
|
@@ -7,9 +7,6 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
9
|
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); }
|
|
10
|
-
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; } } }; }
|
|
11
|
-
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
-
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
10
|
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
11
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
12
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
@@ -29,17 +26,16 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
26
|
/**
|
|
30
27
|
* The FleetConnectivityAssurance model module.
|
|
31
28
|
* @module model/FleetConnectivityAssurance
|
|
32
|
-
* @version
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
33
30
|
*/
|
|
34
31
|
var FleetConnectivityAssurance = /*#__PURE__*/function () {
|
|
35
32
|
/**
|
|
36
33
|
* Constructs a new <code>FleetConnectivityAssurance</code>.
|
|
37
34
|
* @alias module:model/FleetConnectivityAssurance
|
|
38
|
-
* @param enabled {Boolean} Whether Connectivity Assurance is enabled for this fleet
|
|
39
35
|
*/
|
|
40
|
-
function FleetConnectivityAssurance(
|
|
36
|
+
function FleetConnectivityAssurance() {
|
|
41
37
|
_classCallCheck(this, FleetConnectivityAssurance);
|
|
42
|
-
FleetConnectivityAssurance.initialize(this
|
|
38
|
+
FleetConnectivityAssurance.initialize(this);
|
|
43
39
|
}
|
|
44
40
|
|
|
45
41
|
/**
|
|
@@ -49,9 +45,7 @@ var FleetConnectivityAssurance = /*#__PURE__*/function () {
|
|
|
49
45
|
*/
|
|
50
46
|
return _createClass(FleetConnectivityAssurance, null, [{
|
|
51
47
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj
|
|
53
|
-
obj['enabled'] = enabled;
|
|
54
|
-
}
|
|
48
|
+
value: function initialize(obj) {}
|
|
55
49
|
|
|
56
50
|
/**
|
|
57
51
|
* Constructs a <code>FleetConnectivityAssurance</code> from a plain JavaScript object, optionally creating a new instance.
|
|
@@ -82,27 +76,10 @@ var FleetConnectivityAssurance = /*#__PURE__*/function () {
|
|
|
82
76
|
}, {
|
|
83
77
|
key: "validateJSON",
|
|
84
78
|
value: function validateJSON(data) {
|
|
85
|
-
// check to make sure all required properties are present in the JSON string
|
|
86
|
-
var _iterator = _createForOfIteratorHelper(FleetConnectivityAssurance.RequiredProperties),
|
|
87
|
-
_step;
|
|
88
|
-
try {
|
|
89
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
90
|
-
var property = _step.value;
|
|
91
|
-
if (!data[property]) {
|
|
92
|
-
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
} catch (err) {
|
|
96
|
-
_iterator.e(err);
|
|
97
|
-
} finally {
|
|
98
|
-
_iterator.f();
|
|
99
|
-
}
|
|
100
79
|
return true;
|
|
101
80
|
}
|
|
102
81
|
}]);
|
|
103
82
|
}();
|
|
104
|
-
FleetConnectivityAssurance.RequiredProperties = ["enabled"];
|
|
105
|
-
|
|
106
83
|
/**
|
|
107
84
|
* Whether Connectivity Assurance is enabled for this fleet
|
|
108
85
|
* @member {Boolean} enabled
|
|
@@ -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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetAlerts200Response = /*#__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 GetBillingAccounts200Response model module.
|
|
32
32
|
* @module model/GetBillingAccounts200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceFleets200Response = /*#__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 GetDeviceHealthLog200Response model module.
|
|
32
32
|
* @module model/GetDeviceHealthLog200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceHealthLog200Response = /*#__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 GetDeviceHealthLog200ResponseHealthLogInner model module.
|
|
31
31
|
* @module model/GetDeviceHealthLog200ResponseHealthLogInner
|
|
32
|
-
* @version
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var GetDeviceHealthLog200ResponseHealthLogInner = /*#__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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
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
|
|
32
|
+
* @version 3.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var GetDevicePublicKey200Response = /*#__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 GetDevicePublicKeys200Response model module.
|
|
32
32
|
* @module model/GetDevicePublicKeys200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetDevicePublicKeys200Response = /*#__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 GetDevicePublicKeys200ResponseDevicePublicKeysInner model module.
|
|
28
28
|
* @module model/GetDevicePublicKeys200ResponseDevicePublicKeysInner
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var GetDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__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 GetDeviceSessions200Response model module.
|
|
32
32
|
* @module model/GetDeviceSessions200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetDeviceSessions200Response = /*#__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 GetDevices200Response model module.
|
|
32
32
|
* @module model/GetDevices200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetDevices200Response = /*#__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 GetEvents200Response model module.
|
|
32
32
|
* @module model/GetEvents200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetEvents200Response = /*#__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 GetEventsByCursor200Response model module.
|
|
32
32
|
* @module model/GetEventsByCursor200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetEventsByCursor200Response = /*#__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 GetNotefile200Response model module.
|
|
28
28
|
* @module model/GetNotefile200Response
|
|
29
|
-
* @version
|
|
29
|
+
* @version 3.0.0-beta.1
|
|
30
30
|
*/
|
|
31
31
|
var GetNotefile200Response = /*#__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 GetProducts200Response model module.
|
|
32
32
|
* @module model/GetProducts200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetProducts200Response = /*#__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 GetProjectMembers200Response model module.
|
|
32
32
|
* @module model/GetProjectMembers200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetProjectMembers200Response = /*#__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 GetProjects200Response model module.
|
|
32
32
|
* @module model/GetProjects200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetProjects200Response = /*#__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 GetSessionsUsage200Response model module.
|
|
32
32
|
* @module model/GetSessionsUsage200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetSessionsUsage200Response = /*#__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 GetWebhooks200Response model module.
|
|
32
32
|
* @module model/GetWebhooks200Response
|
|
33
|
-
* @version
|
|
33
|
+
* @version 3.0.0-beta.1
|
|
34
34
|
*/
|
|
35
35
|
var GetWebhooks200Response = /*#__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 GoogleRoute model module.
|
|
30
30
|
* @module model/GoogleRoute
|
|
31
|
-
* @version
|
|
31
|
+
* @version 3.0.0-beta.1
|
|
32
32
|
*/
|
|
33
33
|
var GoogleRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|