@blues-inc/notehub-js 1.0.20 → 1.0.22
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 +34 -18
- package/dist/ApiClient.js +7 -7
- package/dist/api/AlertApi.js +10 -7
- package/dist/api/AuthorizationApi.js +6 -6
- package/dist/api/BillingAccountApi.js +6 -6
- package/dist/api/DeviceApi.js +8 -8
- package/dist/api/EventApi.js +74 -33
- package/dist/api/MonitorApi.js +6 -6
- package/dist/api/ProjectApi.js +177 -6
- package/dist/api/RouteApi.js +9 -9
- package/dist/index.js +55 -13
- package/dist/model/Alert.js +22 -9
- package/dist/model/AlertDataInner.js +6 -6
- package/dist/model/AlertNotificationsInner.js +6 -6
- package/dist/model/Aws.js +6 -6
- package/dist/model/Azure.js +6 -6
- package/dist/model/BillingAccount.js +9 -9
- package/dist/model/BillingAccountRole.js +15 -15
- package/dist/model/Body.js +6 -6
- package/dist/model/CloneProjectRequest.js +9 -9
- package/dist/model/Contact.js +6 -6
- package/dist/model/CreateFleetRequest.js +6 -6
- package/dist/model/CreateMonitor.js +102 -23
- package/dist/model/CreateProductRequest.js +9 -9
- package/dist/model/CreateProjectRequest.js +9 -9
- package/dist/model/DFUEnv.js +6 -6
- package/dist/model/DFUState.js +6 -6
- package/dist/model/DeleteDeviceFleetsRequest.js +9 -9
- package/dist/model/Device.js +9 -9
- package/dist/model/DeviceSession.js +6 -6
- package/dist/model/DeviceTowerInfo.js +6 -6
- package/dist/model/DeviceUsage.js +6 -6
- package/dist/model/{MonitorThresholds.js → EmailNotification.js} +31 -27
- package/dist/model/EnvironmentVariables.js +9 -9
- package/dist/model/Error.js +9 -9
- package/dist/model/Event.js +6 -6
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/FirmwareStatus.js +144 -0
- package/dist/model/Fleet.js +9 -9
- package/dist/model/GetAlerts200Response.js +9 -9
- package/dist/model/GetBillingAccounts200Response.js +9 -9
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +9 -9
- package/dist/model/GetDeviceHealthLog200Response.js +9 -9
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +9 -9
- package/dist/model/GetDeviceLatest200Response.js +9 -9
- package/dist/model/GetDevicePublicKey200Response.js +9 -9
- package/dist/model/GetDeviceSessions200Response.js +9 -9
- package/dist/model/GetProjectDevicePublicKeys200Response.js +9 -9
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +6 -6
- package/dist/model/GetProjectDevices200Response.js +9 -9
- package/dist/model/GetProjectEvents200Response.js +22 -9
- package/dist/model/GetProjectEventsByCursor200Response.js +9 -9
- package/dist/model/GetProjectFleets200Response.js +9 -9
- package/dist/model/GetProjectMembers200Response.js +9 -9
- package/dist/model/GetProjectProducts200Response.js +9 -9
- package/dist/model/GetProjects200Response.js +9 -9
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +6 -6
- package/dist/model/Google.js +6 -6
- package/dist/model/HandleNoteChanges200Response.js +6 -6
- package/dist/model/HandleNoteGet200Response.js +6 -6
- package/dist/model/HandleNoteSignal200Response.js +6 -6
- package/dist/model/HandleNotefileChanges200Response.js +6 -6
- package/dist/model/HandleNotefileChangesPending200Response.js +6 -6
- package/dist/model/HandleNotefileDeleteRequest.js +6 -6
- package/dist/model/Http.js +6 -6
- package/dist/model/HttpFilter.js +6 -6
- package/dist/model/HttpTransform.js +6 -6
- package/dist/model/Location.js +9 -9
- package/dist/model/Login200Response.js +6 -6
- package/dist/model/LoginRequest.js +6 -6
- package/dist/model/Monitor.js +83 -20
- package/dist/model/MonitorAlertRoutesInner.js +145 -44
- package/dist/model/Mqtt.js +6 -6
- package/dist/model/Note.js +6 -6
- package/dist/model/OTAStatus.js +306 -0
- package/dist/model/OTAStatusList.js +120 -0
- package/dist/model/OTAUpdateRequest.js +214 -0
- package/dist/model/OTAUpdateStatus.js +118 -0
- package/dist/model/PostProvisionProjectDeviceRequest.js +9 -9
- package/dist/model/Product.js +9 -9
- package/dist/model/Project.js +9 -9
- package/dist/model/ProjectMember.js +9 -9
- package/dist/model/Proxy.js +6 -6
- package/dist/model/PutDeviceFleetsRequest.js +9 -9
- package/dist/model/Radresponder.js +6 -6
- package/dist/model/Role.js +6 -6
- package/dist/model/Route.js +6 -6
- package/dist/model/RouteSchema.js +7 -7
- package/dist/model/Slack.js +6 -6
- package/dist/model/SlackBearerNotification.js +149 -0
- package/dist/model/SlackWebHookNotification.js +136 -0
- package/dist/model/Snowflake.js +6 -6
- package/dist/model/SnowflakeTransform.js +6 -6
- package/dist/model/Thingworx.js +6 -6
- package/dist/model/TowerLocation.js +6 -6
- package/dist/model/Twilio.js +6 -6
- package/dist/model/UpdateFleetRequest.js +6 -6
- package/dist/model/UserDbRoute.js +6 -6
- package/package.json +1 -1
- package/dist/api/FirmwareApi.js +0 -109
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(
|
|
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 _classCallCheck(
|
|
11
|
-
function _defineProperties(
|
|
12
|
-
function _createClass(
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
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); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.1.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateFleetRequest model module.
|
|
28
28
|
* @module model/CreateFleetRequest
|
|
29
|
-
* @version 1.0.
|
|
29
|
+
* @version 1.0.22
|
|
30
30
|
*/
|
|
31
31
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -7,21 +7,20 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Monitor = _interopRequireDefault(require("./Monitor"));
|
|
9
9
|
var _MonitorAlertRoutesInner = _interopRequireDefault(require("./MonitorAlertRoutesInner"));
|
|
10
|
-
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
12
11
|
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); }
|
|
13
|
-
function _createForOfIteratorHelper(
|
|
14
|
-
function _unsupportedIterableToArray(
|
|
15
|
-
function _arrayLikeToArray(
|
|
16
|
-
function _classCallCheck(
|
|
17
|
-
function _defineProperties(
|
|
18
|
-
function _createClass(
|
|
12
|
+
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; } } }; }
|
|
13
|
+
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; } }
|
|
14
|
+
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; }
|
|
15
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
16
|
+
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); } }
|
|
17
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
19
18
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
20
19
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
21
20
|
* Notehub API
|
|
22
21
|
* The OpenAPI definition for the Notehub.io API.
|
|
23
22
|
*
|
|
24
|
-
* The version of the OpenAPI document: 1.
|
|
23
|
+
* The version of the OpenAPI document: 1.1.0
|
|
25
24
|
* Contact: engineering@blues.io
|
|
26
25
|
*
|
|
27
26
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -32,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
32
31
|
/**
|
|
33
32
|
* The CreateMonitor model module.
|
|
34
33
|
* @module model/CreateMonitor
|
|
35
|
-
* @version 1.0.
|
|
34
|
+
* @version 1.0.22
|
|
36
35
|
*/
|
|
37
36
|
var CreateMonitor = /*#__PURE__*/function () {
|
|
38
37
|
/**
|
|
@@ -107,8 +106,8 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
107
106
|
if (data.hasOwnProperty("condition_type")) {
|
|
108
107
|
obj["condition_type"] = _ApiClient["default"].convertToType(data["condition_type"], "String");
|
|
109
108
|
}
|
|
110
|
-
if (data.hasOwnProperty("
|
|
111
|
-
obj["
|
|
109
|
+
if (data.hasOwnProperty("threshold")) {
|
|
110
|
+
obj["threshold"] = _ApiClient["default"].convertToType(data["threshold"], "Number");
|
|
112
111
|
}
|
|
113
112
|
if (data.hasOwnProperty("alert_routes")) {
|
|
114
113
|
obj["alert_routes"] = _ApiClient["default"].convertToType(data["alert_routes"], [_MonitorAlertRoutesInner["default"]]);
|
|
@@ -122,6 +121,15 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
122
121
|
if (data.hasOwnProperty("routing_cooldown_period")) {
|
|
123
122
|
obj["routing_cooldown_period"] = _ApiClient["default"].convertToType(data["routing_cooldown_period"], "String");
|
|
124
123
|
}
|
|
124
|
+
if (data.hasOwnProperty("aggregate_function")) {
|
|
125
|
+
obj["aggregate_function"] = _ApiClient["default"].convertToType(data["aggregate_function"], "String");
|
|
126
|
+
}
|
|
127
|
+
if (data.hasOwnProperty("aggregate_window")) {
|
|
128
|
+
obj["aggregate_window"] = _ApiClient["default"].convertToType(data["aggregate_window"], "String");
|
|
129
|
+
}
|
|
130
|
+
if (data.hasOwnProperty("per_device")) {
|
|
131
|
+
obj["per_device"] = _ApiClient["default"].convertToType(data["per_device"], "Boolean");
|
|
132
|
+
}
|
|
125
133
|
} else if (data === null) {
|
|
126
134
|
return null;
|
|
127
135
|
}
|
|
@@ -183,11 +191,6 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
183
191
|
if (data["condition_type"] && !(typeof data["condition_type"] === "string" || data["condition_type"] instanceof String)) {
|
|
184
192
|
throw new Error("Expected the field `condition_type` to be a primitive type in the JSON string but got " + data["condition_type"]);
|
|
185
193
|
}
|
|
186
|
-
// validate the optional field `thresholds`
|
|
187
|
-
if (data["thresholds"]) {
|
|
188
|
-
// data not null
|
|
189
|
-
_MonitorThresholds["default"].validateJSON(data["thresholds"]);
|
|
190
|
-
}
|
|
191
194
|
if (data["alert_routes"]) {
|
|
192
195
|
// data not null
|
|
193
196
|
// ensure the json data is an array
|
|
@@ -216,6 +219,14 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
216
219
|
if (data["routing_cooldown_period"] && !(typeof data["routing_cooldown_period"] === "string" || data["routing_cooldown_period"] instanceof String)) {
|
|
217
220
|
throw new Error("Expected the field `routing_cooldown_period` to be a primitive type in the JSON string but got " + data["routing_cooldown_period"]);
|
|
218
221
|
}
|
|
222
|
+
// ensure the json data is a string
|
|
223
|
+
if (data["aggregate_function"] && !(typeof data["aggregate_function"] === "string" || data["aggregate_function"] instanceof String)) {
|
|
224
|
+
throw new Error("Expected the field `aggregate_function` to be a primitive type in the JSON string but got " + data["aggregate_function"]);
|
|
225
|
+
}
|
|
226
|
+
// ensure the json data is a string
|
|
227
|
+
if (data["aggregate_window"] && !(typeof data["aggregate_window"] === "string" || data["aggregate_window"] instanceof String)) {
|
|
228
|
+
throw new Error("Expected the field `aggregate_window` to be a primitive type in the JSON string but got " + data["aggregate_window"]);
|
|
229
|
+
}
|
|
219
230
|
return true;
|
|
220
231
|
}
|
|
221
232
|
}]);
|
|
@@ -272,15 +283,16 @@ CreateMonitor.prototype["fleet_filter"] = undefined;
|
|
|
272
283
|
CreateMonitor.prototype["source_selector"] = undefined;
|
|
273
284
|
|
|
274
285
|
/**
|
|
275
|
-
*
|
|
286
|
+
* A comparison operation to apply to the value selected by the source_selector [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
276
287
|
* @member {module:model/CreateMonitor.ConditionTypeEnum} condition_type
|
|
277
288
|
*/
|
|
278
289
|
CreateMonitor.prototype["condition_type"] = undefined;
|
|
279
290
|
|
|
280
291
|
/**
|
|
281
|
-
*
|
|
292
|
+
* The type of condition to apply to the value selected by the source_selector
|
|
293
|
+
* @member {Number} threshold
|
|
282
294
|
*/
|
|
283
|
-
CreateMonitor.prototype["
|
|
295
|
+
CreateMonitor.prototype["threshold"] = undefined;
|
|
284
296
|
|
|
285
297
|
/**
|
|
286
298
|
* @member {Array.<module:model/MonitorAlertRoutesInner>} alert_routes
|
|
@@ -305,6 +317,24 @@ CreateMonitor.prototype["silenced"] = undefined;
|
|
|
305
317
|
*/
|
|
306
318
|
CreateMonitor.prototype["routing_cooldown_period"] = undefined;
|
|
307
319
|
|
|
320
|
+
/**
|
|
321
|
+
* Aggregate function to apply to the selected values before applying the condition. [none, sum, average, max, min]
|
|
322
|
+
* @member {module:model/CreateMonitor.AggregateFunctionEnum} aggregate_function
|
|
323
|
+
*/
|
|
324
|
+
CreateMonitor.prototype["aggregate_function"] = undefined;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* The time window to aggregate the selected values. It follows the format of a number followed by a time unit
|
|
328
|
+
* @member {String} aggregate_window
|
|
329
|
+
*/
|
|
330
|
+
CreateMonitor.prototype["aggregate_window"] = undefined;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* Only relevant when using an aggregate_function. If true, the monitor will be evaluated per device, | rather than across the set of selected devices. If true then if a single device matches the specified criteria, | and alert will be created, otherwise the aggregate function will be applied across all devices.
|
|
334
|
+
* @member {Boolean} per_device
|
|
335
|
+
*/
|
|
336
|
+
CreateMonitor.prototype["per_device"] = undefined;
|
|
337
|
+
|
|
308
338
|
// Implement Monitor interface:
|
|
309
339
|
/**
|
|
310
340
|
* @member {String} uid
|
|
@@ -347,14 +377,15 @@ _Monitor["default"].prototype["fleet_filter"] = undefined;
|
|
|
347
377
|
*/
|
|
348
378
|
_Monitor["default"].prototype["source_selector"] = undefined;
|
|
349
379
|
/**
|
|
350
|
-
*
|
|
380
|
+
* A comparison operation to apply to the value selected by the source_selector [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
351
381
|
* @member {module:model/Monitor.ConditionTypeEnum} condition_type
|
|
352
382
|
*/
|
|
353
383
|
_Monitor["default"].prototype["condition_type"] = undefined;
|
|
354
384
|
/**
|
|
355
|
-
*
|
|
385
|
+
* The type of condition to apply to the value selected by the source_selector
|
|
386
|
+
* @member {Number} threshold
|
|
356
387
|
*/
|
|
357
|
-
_Monitor["default"].prototype["
|
|
388
|
+
_Monitor["default"].prototype["threshold"] = undefined;
|
|
358
389
|
/**
|
|
359
390
|
* @member {Array.<module:model/MonitorAlertRoutesInner>} alert_routes
|
|
360
391
|
*/
|
|
@@ -374,6 +405,21 @@ _Monitor["default"].prototype["silenced"] = undefined;
|
|
|
374
405
|
* @member {String} routing_cooldown_period
|
|
375
406
|
*/
|
|
376
407
|
_Monitor["default"].prototype["routing_cooldown_period"] = undefined;
|
|
408
|
+
/**
|
|
409
|
+
* Aggregate function to apply to the selected values before applying the condition. [none, sum, average, max, min]
|
|
410
|
+
* @member {module:model/Monitor.AggregateFunctionEnum} aggregate_function
|
|
411
|
+
*/
|
|
412
|
+
_Monitor["default"].prototype["aggregate_function"] = undefined;
|
|
413
|
+
/**
|
|
414
|
+
* The time window to aggregate the selected values. It follows the format of a number followed by a time unit
|
|
415
|
+
* @member {String} aggregate_window
|
|
416
|
+
*/
|
|
417
|
+
_Monitor["default"].prototype["aggregate_window"] = undefined;
|
|
418
|
+
/**
|
|
419
|
+
* Only relevant when using an aggregate_function. If true, the monitor will be evaluated per device, | rather than across the set of selected devices. If true then if a single device matches the specified criteria, | and alert will be created, otherwise the aggregate function will be applied across all devices.
|
|
420
|
+
* @member {Boolean} per_device
|
|
421
|
+
*/
|
|
422
|
+
_Monitor["default"].prototype["per_device"] = undefined;
|
|
377
423
|
|
|
378
424
|
/**
|
|
379
425
|
* Allowed values for the <code>source_type</code> property.
|
|
@@ -425,4 +471,37 @@ CreateMonitor["ConditionTypeEnum"] = {
|
|
|
425
471
|
*/
|
|
426
472
|
not_equal_to: "not_equal_to"
|
|
427
473
|
};
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Allowed values for the <code>aggregate_function</code> property.
|
|
477
|
+
* @enum {String}
|
|
478
|
+
* @readonly
|
|
479
|
+
*/
|
|
480
|
+
CreateMonitor["AggregateFunctionEnum"] = {
|
|
481
|
+
/**
|
|
482
|
+
* value: "none"
|
|
483
|
+
* @const
|
|
484
|
+
*/
|
|
485
|
+
none: "none",
|
|
486
|
+
/**
|
|
487
|
+
* value: "sum"
|
|
488
|
+
* @const
|
|
489
|
+
*/
|
|
490
|
+
sum: "sum",
|
|
491
|
+
/**
|
|
492
|
+
* value: "average"
|
|
493
|
+
* @const
|
|
494
|
+
*/
|
|
495
|
+
average: "average",
|
|
496
|
+
/**
|
|
497
|
+
* value: "max"
|
|
498
|
+
* @const
|
|
499
|
+
*/
|
|
500
|
+
max: "max",
|
|
501
|
+
/**
|
|
502
|
+
* value: "min"
|
|
503
|
+
* @const
|
|
504
|
+
*/
|
|
505
|
+
min: "min"
|
|
506
|
+
};
|
|
428
507
|
var _default = exports["default"] = CreateMonitor;
|
|
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(
|
|
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(
|
|
11
|
-
function _unsupportedIterableToArray(
|
|
12
|
-
function _arrayLikeToArray(
|
|
13
|
-
function _classCallCheck(
|
|
14
|
-
function _defineProperties(
|
|
15
|
-
function _createClass(
|
|
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
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.1.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProductRequest model module.
|
|
31
31
|
* @module model/CreateProductRequest
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.22
|
|
33
33
|
*/
|
|
34
34
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(
|
|
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(
|
|
11
|
-
function _unsupportedIterableToArray(
|
|
12
|
-
function _arrayLikeToArray(
|
|
13
|
-
function _classCallCheck(
|
|
14
|
-
function _defineProperties(
|
|
15
|
-
function _createClass(
|
|
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
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.1.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectRequest model module.
|
|
31
31
|
* @module model/CreateProjectRequest
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.22
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/DFUEnv.js
CHANGED
|
@@ -6,17 +6,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _DFUState = _interopRequireDefault(require("./DFUState"));
|
|
9
|
-
function _interopRequireDefault(
|
|
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
|
-
function _classCallCheck(
|
|
12
|
-
function _defineProperties(
|
|
13
|
-
function _createClass(
|
|
11
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
12
|
+
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); } }
|
|
13
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
14
14
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
15
15
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
16
16
|
* Notehub API
|
|
17
17
|
* The OpenAPI definition for the Notehub.io API.
|
|
18
18
|
*
|
|
19
|
-
* The version of the OpenAPI document: 1.
|
|
19
|
+
* The version of the OpenAPI document: 1.1.0
|
|
20
20
|
* Contact: engineering@blues.io
|
|
21
21
|
*
|
|
22
22
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The DFUEnv model module.
|
|
29
29
|
* @module model/DFUEnv
|
|
30
|
-
* @version 1.0.
|
|
30
|
+
* @version 1.0.22
|
|
31
31
|
*/
|
|
32
32
|
var DFUEnv = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/DFUState.js
CHANGED
|
@@ -5,17 +5,17 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(
|
|
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 _classCallCheck(
|
|
11
|
-
function _defineProperties(
|
|
12
|
-
function _createClass(
|
|
10
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
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); } }
|
|
12
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
13
13
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
14
14
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
15
15
|
* Notehub API
|
|
16
16
|
* The OpenAPI definition for the Notehub.io API.
|
|
17
17
|
*
|
|
18
|
-
* The version of the OpenAPI document: 1.
|
|
18
|
+
* The version of the OpenAPI document: 1.1.0
|
|
19
19
|
* Contact: engineering@blues.io
|
|
20
20
|
*
|
|
21
21
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DFUState model module.
|
|
28
28
|
* @module model/DFUState
|
|
29
|
-
* @version 1.0.
|
|
29
|
+
* @version 1.0.22
|
|
30
30
|
*/
|
|
31
31
|
var DFUState = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -5,20 +5,20 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
function _interopRequireDefault(
|
|
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(
|
|
11
|
-
function _unsupportedIterableToArray(
|
|
12
|
-
function _arrayLikeToArray(
|
|
13
|
-
function _classCallCheck(
|
|
14
|
-
function _defineProperties(
|
|
15
|
-
function _createClass(
|
|
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
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
|
-
* The version of the OpenAPI document: 1.
|
|
21
|
+
* The version of the OpenAPI document: 1.1.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
23
23
|
*
|
|
24
24
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The DeleteDeviceFleetsRequest model module.
|
|
31
31
|
* @module model/DeleteDeviceFleetsRequest
|
|
32
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.22
|
|
33
33
|
*/
|
|
34
34
|
var DeleteDeviceFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Device.js
CHANGED
|
@@ -9,20 +9,20 @@ var _Contact = _interopRequireDefault(require("./Contact"));
|
|
|
9
9
|
var _DFUEnv = _interopRequireDefault(require("./DFUEnv"));
|
|
10
10
|
var _DeviceTowerInfo = _interopRequireDefault(require("./DeviceTowerInfo"));
|
|
11
11
|
var _Location = _interopRequireDefault(require("./Location"));
|
|
12
|
-
function _interopRequireDefault(
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
13
|
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); }
|
|
14
|
-
function _createForOfIteratorHelper(
|
|
15
|
-
function _unsupportedIterableToArray(
|
|
16
|
-
function _arrayLikeToArray(
|
|
17
|
-
function _classCallCheck(
|
|
18
|
-
function _defineProperties(
|
|
19
|
-
function _createClass(
|
|
14
|
+
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; } } }; }
|
|
15
|
+
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; } }
|
|
16
|
+
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; }
|
|
17
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
18
|
+
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); } }
|
|
19
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
20
20
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
21
21
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
22
22
|
* Notehub API
|
|
23
23
|
* The OpenAPI definition for the Notehub.io API.
|
|
24
24
|
*
|
|
25
|
-
* The version of the OpenAPI document: 1.
|
|
25
|
+
* The version of the OpenAPI document: 1.1.0
|
|
26
26
|
* Contact: engineering@blues.io
|
|
27
27
|
*
|
|
28
28
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
33
33
|
/**
|
|
34
34
|
* The Device model module.
|
|
35
35
|
* @module model/Device
|
|
36
|
-
* @version 1.0.
|
|
36
|
+
* @version 1.0.22
|
|
37
37
|
*/
|
|
38
38
|
var Device = /*#__PURE__*/function () {
|
|
39
39
|
/**
|
|
@@ -7,17 +7,17 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _DeviceUsage = _interopRequireDefault(require("./DeviceUsage"));
|
|
9
9
|
var _TowerLocation = _interopRequireDefault(require("./TowerLocation"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
11
11
|
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); }
|
|
12
|
-
function _classCallCheck(
|
|
13
|
-
function _defineProperties(
|
|
14
|
-
function _createClass(
|
|
12
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
13
|
+
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); } }
|
|
14
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
15
15
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
16
16
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
17
17
|
* Notehub API
|
|
18
18
|
* The OpenAPI definition for the Notehub.io API.
|
|
19
19
|
*
|
|
20
|
-
* The version of the OpenAPI document: 1.
|
|
20
|
+
* The version of the OpenAPI document: 1.1.0
|
|
21
21
|
* Contact: engineering@blues.io
|
|
22
22
|
*
|
|
23
23
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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 1.0.
|
|
31
|
+
* @version 1.0.22
|
|
32
32
|
*/
|
|
33
33
|
var DeviceSession = /*#__PURE__*/function () {
|
|
34
34
|
/**
|