@blues-inc/notehub-js 1.0.18 → 1.0.20
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 +86 -95
- package/dist/ApiClient.js +18 -9
- package/dist/api/AlertApi.js +95 -0
- package/dist/api/AuthorizationApi.js +18 -9
- package/dist/api/BillingAccountApi.js +18 -9
- package/dist/api/DeviceApi.js +904 -182
- package/dist/api/EventApi.js +69 -16
- package/dist/api/FirmwareApi.js +109 -0
- package/dist/api/MonitorApi.js +275 -0
- package/dist/api/ProjectApi.js +471 -282
- package/dist/api/RouteApi.js +96 -9
- package/dist/index.js +76 -41
- package/dist/model/Alert.js +259 -0
- package/dist/model/AlertDataInner.js +184 -0
- package/dist/model/AlertNotificationsInner.js +132 -0
- package/dist/model/Aws.js +17 -8
- package/dist/model/Azure.js +17 -8
- package/dist/model/BillingAccount.js +17 -8
- package/dist/model/BillingAccountRole.js +29 -8
- package/dist/model/Body.js +17 -8
- package/dist/model/CloneProjectRequest.js +17 -8
- package/dist/model/Contact.js +17 -8
- package/dist/model/CreateFleetRequest.js +17 -8
- package/dist/model/CreateMonitor.js +428 -0
- package/dist/model/CreateProductRequest.js +17 -8
- package/dist/model/CreateProjectRequest.js +17 -8
- package/dist/model/DFUEnv.js +17 -8
- package/dist/model/DFUState.js +17 -8
- package/dist/model/DeleteDeviceFleetsRequest.js +17 -8
- package/dist/model/Device.js +21 -14
- package/dist/model/DeviceSession.js +17 -8
- package/dist/model/DeviceTowerInfo.js +17 -8
- package/dist/model/DeviceUsage.js +17 -8
- package/dist/model/EnvironmentVariables.js +17 -8
- package/dist/model/Error.js +17 -8
- package/dist/model/Event.js +17 -8
- package/dist/model/FirmwareInfo.js +231 -0
- package/dist/model/Fleet.js +17 -8
- package/dist/model/GetAlerts200Response.js +143 -0
- package/dist/model/GetBillingAccounts200Response.js +17 -8
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +17 -8
- package/dist/model/GetDeviceHealthLog200Response.js +17 -8
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +17 -8
- package/dist/model/GetDeviceLatest200Response.js +17 -8
- package/dist/model/GetDevicePublicKey200Response.js +17 -8
- package/dist/model/GetDeviceSessions200Response.js +17 -8
- package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -8
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +17 -8
- package/dist/model/GetProjectDevices200Response.js +17 -8
- package/dist/model/GetProjectEvents200Response.js +21 -27
- package/dist/model/GetProjectEventsByCursor200Response.js +17 -8
- package/dist/model/GetProjectFleets200Response.js +17 -8
- package/dist/model/GetProjectMembers200Response.js +17 -8
- package/dist/model/GetProjectProducts200Response.js +17 -8
- package/dist/model/GetProjects200Response.js +17 -8
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +17 -8
- package/dist/model/Google.js +17 -8
- package/dist/model/HandleNoteChanges200Response.js +17 -8
- package/dist/model/HandleNoteGet200Response.js +17 -8
- package/dist/model/HandleNoteSignal200Response.js +17 -8
- package/dist/model/HandleNotefileChanges200Response.js +17 -8
- package/dist/model/HandleNotefileChangesPending200Response.js +17 -8
- package/dist/model/HandleNotefileDeleteRequest.js +17 -8
- package/dist/model/Http.js +17 -8
- package/dist/model/HttpFilter.js +17 -8
- package/dist/model/HttpTransform.js +17 -8
- package/dist/model/Location.js +17 -8
- package/dist/model/Login200Response.js +17 -8
- package/dist/model/LoginRequest.js +17 -8
- package/dist/model/Monitor.js +328 -0
- package/dist/model/MonitorAlertRoutesInner.js +92 -0
- package/dist/model/MonitorThresholds.js +88 -0
- package/dist/model/Mqtt.js +17 -8
- package/dist/model/Note.js +17 -8
- package/dist/model/PostProvisionProjectDeviceRequest.js +17 -8
- package/dist/model/Product.js +17 -8
- package/dist/model/Project.js +17 -8
- package/dist/model/ProjectMember.js +17 -8
- package/dist/model/Proxy.js +17 -8
- package/dist/model/PutDeviceFleetsRequest.js +17 -8
- package/dist/model/Radresponder.js +17 -8
- package/dist/model/Role.js +37 -8
- package/dist/model/Route.js +17 -8
- package/dist/model/RouteSchema.js +29 -14
- package/dist/model/Slack.js +17 -8
- package/dist/model/Snowflake.js +17 -8
- package/dist/model/SnowflakeTransform.js +17 -8
- package/dist/model/Thingworx.js +17 -8
- package/dist/model/TowerLocation.js +17 -8
- package/dist/model/Twilio.js +17 -8
- package/dist/model/UpdateFleetRequest.js +17 -8
- package/dist/model/UserDbRoute.js +17 -8
- package/package.json +1 -1
- package/dist/api/DevicesApi.js +0 -346
- package/dist/api/EnvironmentVariablesApi.js +0 -567
- package/dist/api/FilesApi.js +0 -193
- package/dist/api/FleetApi.js +0 -736
- package/dist/api/NotesApi.js +0 -435
- package/dist/api/ProductApi.js +0 -163
- package/dist/api/RouteLogsApi.js +0 -160
|
@@ -7,19 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _BillingAccount = _interopRequireDefault(require("./BillingAccount"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(
|
|
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(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
19
30
|
/**
|
|
20
31
|
* The GetBillingAccounts200Response model module.
|
|
21
32
|
* @module model/GetBillingAccounts200Response
|
|
22
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.20
|
|
23
34
|
*/
|
|
24
35
|
var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
25
36
|
/**
|
|
@@ -36,7 +47,7 @@ var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
|
36
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
37
48
|
* Only for internal use.
|
|
38
49
|
*/
|
|
39
|
-
_createClass(GetBillingAccounts200Response, null, [{
|
|
50
|
+
return _createClass(GetBillingAccounts200Response, null, [{
|
|
40
51
|
key: "initialize",
|
|
41
52
|
value: function initialize(obj) {}
|
|
42
53
|
|
|
@@ -92,11 +103,9 @@ var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
|
92
103
|
return true;
|
|
93
104
|
}
|
|
94
105
|
}]);
|
|
95
|
-
return GetBillingAccounts200Response;
|
|
96
106
|
}();
|
|
97
107
|
/**
|
|
98
108
|
* @member {Array.<module:model/BillingAccount>} billing_accounts
|
|
99
109
|
*/
|
|
100
110
|
GetBillingAccounts200Response.prototype["billing_accounts"] = undefined;
|
|
101
|
-
var _default = GetBillingAccounts200Response;
|
|
102
|
-
exports["default"] = _default;
|
|
111
|
+
var _default = exports["default"] = GetBillingAccounts200Response;
|
|
@@ -6,19 +6,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
function _typeof(
|
|
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
10
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
14
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _toPropertyKey(
|
|
17
|
-
function _toPrimitive(
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
* Notehub API
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 1.0.0
|
|
22
|
+
* Contact: engineering@blues.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
18
29
|
/**
|
|
19
30
|
* The GetDeviceEnvironmentVariables200Response model module.
|
|
20
31
|
* @module model/GetDeviceEnvironmentVariables200Response
|
|
21
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.20
|
|
22
33
|
*/
|
|
23
34
|
var GetDeviceEnvironmentVariables200Response = /*#__PURE__*/function () {
|
|
24
35
|
/**
|
|
@@ -37,7 +48,7 @@ var GetDeviceEnvironmentVariables200Response = /*#__PURE__*/function () {
|
|
|
37
48
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
38
49
|
* Only for internal use.
|
|
39
50
|
*/
|
|
40
|
-
_createClass(GetDeviceEnvironmentVariables200Response, null, [{
|
|
51
|
+
return _createClass(GetDeviceEnvironmentVariables200Response, null, [{
|
|
41
52
|
key: "initialize",
|
|
42
53
|
value: function initialize(obj, environmentVariables, environmentVariablesEnvDefault) {
|
|
43
54
|
obj["environment_variables"] = environmentVariables;
|
|
@@ -98,7 +109,6 @@ var GetDeviceEnvironmentVariables200Response = /*#__PURE__*/function () {
|
|
|
98
109
|
return true;
|
|
99
110
|
}
|
|
100
111
|
}]);
|
|
101
|
-
return GetDeviceEnvironmentVariables200Response;
|
|
102
112
|
}();
|
|
103
113
|
GetDeviceEnvironmentVariables200Response.RequiredProperties = ["environment_variables", "environment_variables_env_default"];
|
|
104
114
|
|
|
@@ -113,5 +123,4 @@ GetDeviceEnvironmentVariables200Response.prototype["environment_variables"] = un
|
|
|
113
123
|
* @member {Object.<String, String>} environment_variables_env_default
|
|
114
124
|
*/
|
|
115
125
|
GetDeviceEnvironmentVariables200Response.prototype["environment_variables_env_default"] = undefined;
|
|
116
|
-
var _default = GetDeviceEnvironmentVariables200Response;
|
|
117
|
-
exports["default"] = _default;
|
|
126
|
+
var _default = exports["default"] = GetDeviceEnvironmentVariables200Response;
|
|
@@ -7,19 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _GetDeviceHealthLog200ResponseHealthLogInner = _interopRequireDefault(require("./GetDeviceHealthLog200ResponseHealthLogInner"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(
|
|
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(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
19
30
|
/**
|
|
20
31
|
* The GetDeviceHealthLog200Response model module.
|
|
21
32
|
* @module model/GetDeviceHealthLog200Response
|
|
22
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.20
|
|
23
34
|
*/
|
|
24
35
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
25
36
|
/**
|
|
@@ -37,7 +48,7 @@ var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
|
37
48
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
38
49
|
* Only for internal use.
|
|
39
50
|
*/
|
|
40
|
-
_createClass(GetDeviceHealthLog200Response, null, [{
|
|
51
|
+
return _createClass(GetDeviceHealthLog200Response, null, [{
|
|
41
52
|
key: "initialize",
|
|
42
53
|
value: function initialize(obj, healthLog) {
|
|
43
54
|
obj["health_log"] = healthLog;
|
|
@@ -110,7 +121,6 @@ var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
|
110
121
|
return true;
|
|
111
122
|
}
|
|
112
123
|
}]);
|
|
113
|
-
return GetDeviceHealthLog200Response;
|
|
114
124
|
}();
|
|
115
125
|
GetDeviceHealthLog200Response.RequiredProperties = ["health_log"];
|
|
116
126
|
|
|
@@ -118,5 +128,4 @@ GetDeviceHealthLog200Response.RequiredProperties = ["health_log"];
|
|
|
118
128
|
* @member {Array.<module:model/GetDeviceHealthLog200ResponseHealthLogInner>} health_log
|
|
119
129
|
*/
|
|
120
130
|
GetDeviceHealthLog200Response.prototype["health_log"] = undefined;
|
|
121
|
-
var _default = GetDeviceHealthLog200Response;
|
|
122
|
-
exports["default"] = _default;
|
|
131
|
+
var _default = exports["default"] = GetDeviceHealthLog200Response;
|
|
@@ -6,19 +6,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
function _typeof(
|
|
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
10
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
14
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _toPropertyKey(
|
|
17
|
-
function _toPrimitive(
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
* Notehub API
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 1.0.0
|
|
22
|
+
* Contact: engineering@blues.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
18
29
|
/**
|
|
19
30
|
* The GetDeviceHealthLog200ResponseHealthLogInner model module.
|
|
20
31
|
* @module model/GetDeviceHealthLog200ResponseHealthLogInner
|
|
21
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.20
|
|
22
33
|
*/
|
|
23
34
|
var GetDeviceHealthLog200ResponseHealthLogInner = /*#__PURE__*/function () {
|
|
24
35
|
/**
|
|
@@ -38,7 +49,7 @@ var GetDeviceHealthLog200ResponseHealthLogInner = /*#__PURE__*/function () {
|
|
|
38
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
39
50
|
* Only for internal use.
|
|
40
51
|
*/
|
|
41
|
-
_createClass(GetDeviceHealthLog200ResponseHealthLogInner, null, [{
|
|
52
|
+
return _createClass(GetDeviceHealthLog200ResponseHealthLogInner, null, [{
|
|
42
53
|
key: "initialize",
|
|
43
54
|
value: function initialize(obj, when, alert, text) {
|
|
44
55
|
obj["when"] = when;
|
|
@@ -103,7 +114,6 @@ var GetDeviceHealthLog200ResponseHealthLogInner = /*#__PURE__*/function () {
|
|
|
103
114
|
return true;
|
|
104
115
|
}
|
|
105
116
|
}]);
|
|
106
|
-
return GetDeviceHealthLog200ResponseHealthLogInner;
|
|
107
117
|
}();
|
|
108
118
|
GetDeviceHealthLog200ResponseHealthLogInner.RequiredProperties = ["when", "alert", "text"];
|
|
109
119
|
|
|
@@ -121,5 +131,4 @@ GetDeviceHealthLog200ResponseHealthLogInner.prototype["alert"] = undefined;
|
|
|
121
131
|
* @member {String} text
|
|
122
132
|
*/
|
|
123
133
|
GetDeviceHealthLog200ResponseHealthLogInner.prototype["text"] = undefined;
|
|
124
|
-
var _default = GetDeviceHealthLog200ResponseHealthLogInner;
|
|
125
|
-
exports["default"] = _default;
|
|
134
|
+
var _default = exports["default"] = GetDeviceHealthLog200ResponseHealthLogInner;
|
|
@@ -7,19 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _Event = _interopRequireDefault(require("./Event"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(
|
|
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(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
19
30
|
/**
|
|
20
31
|
* The GetDeviceLatest200Response model module.
|
|
21
32
|
* @module model/GetDeviceLatest200Response
|
|
22
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.20
|
|
23
34
|
*/
|
|
24
35
|
var GetDeviceLatest200Response = /*#__PURE__*/function () {
|
|
25
36
|
/**
|
|
@@ -36,7 +47,7 @@ var GetDeviceLatest200Response = /*#__PURE__*/function () {
|
|
|
36
47
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
37
48
|
* Only for internal use.
|
|
38
49
|
*/
|
|
39
|
-
_createClass(GetDeviceLatest200Response, null, [{
|
|
50
|
+
return _createClass(GetDeviceLatest200Response, null, [{
|
|
40
51
|
key: "initialize",
|
|
41
52
|
value: function initialize(obj) {}
|
|
42
53
|
|
|
@@ -92,12 +103,10 @@ var GetDeviceLatest200Response = /*#__PURE__*/function () {
|
|
|
92
103
|
return true;
|
|
93
104
|
}
|
|
94
105
|
}]);
|
|
95
|
-
return GetDeviceLatest200Response;
|
|
96
106
|
}();
|
|
97
107
|
/**
|
|
98
108
|
* The set of latest events. Will always include the current \"session.begin\" event.
|
|
99
109
|
* @member {Array.<module:model/Event>} latest_events
|
|
100
110
|
*/
|
|
101
111
|
GetDeviceLatest200Response.prototype["latest_events"] = undefined;
|
|
102
|
-
var _default = GetDeviceLatest200Response;
|
|
103
|
-
exports["default"] = _default;
|
|
112
|
+
var _default = exports["default"] = GetDeviceLatest200Response;
|
|
@@ -6,19 +6,30 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
function _typeof(
|
|
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
10
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
11
11
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
13
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
14
14
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
15
15
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
16
|
-
function _toPropertyKey(
|
|
17
|
-
function _toPrimitive(
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
* Notehub API
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 1.0.0
|
|
22
|
+
* Contact: engineering@blues.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
18
29
|
/**
|
|
19
30
|
* The GetDevicePublicKey200Response model module.
|
|
20
31
|
* @module model/GetDevicePublicKey200Response
|
|
21
|
-
* @version 1.0.
|
|
32
|
+
* @version 1.0.20
|
|
22
33
|
*/
|
|
23
34
|
var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
24
35
|
/**
|
|
@@ -37,7 +48,7 @@ var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
|
37
48
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
38
49
|
* Only for internal use.
|
|
39
50
|
*/
|
|
40
|
-
_createClass(GetDevicePublicKey200Response, null, [{
|
|
51
|
+
return _createClass(GetDevicePublicKey200Response, null, [{
|
|
41
52
|
key: "initialize",
|
|
42
53
|
value: function initialize(obj, uid, key) {
|
|
43
54
|
obj["uid"] = uid;
|
|
@@ -102,7 +113,6 @@ var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
|
102
113
|
return true;
|
|
103
114
|
}
|
|
104
115
|
}]);
|
|
105
|
-
return GetDevicePublicKey200Response;
|
|
106
116
|
}();
|
|
107
117
|
GetDevicePublicKey200Response.RequiredProperties = ["uid", "key"];
|
|
108
118
|
|
|
@@ -115,5 +125,4 @@ GetDevicePublicKey200Response.prototype["uid"] = undefined;
|
|
|
115
125
|
* @member {String} key
|
|
116
126
|
*/
|
|
117
127
|
GetDevicePublicKey200Response.prototype["key"] = undefined;
|
|
118
|
-
var _default = GetDevicePublicKey200Response;
|
|
119
|
-
exports["default"] = _default;
|
|
128
|
+
var _default = exports["default"] = GetDevicePublicKey200Response;
|
|
@@ -7,19 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _DeviceSession = _interopRequireDefault(require("./DeviceSession"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(
|
|
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(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
19
30
|
/**
|
|
20
31
|
* The GetDeviceSessions200Response model module.
|
|
21
32
|
* @module model/GetDeviceSessions200Response
|
|
22
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.20
|
|
23
34
|
*/
|
|
24
35
|
var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
25
36
|
/**
|
|
@@ -38,7 +49,7 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
|
38
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
39
50
|
* Only for internal use.
|
|
40
51
|
*/
|
|
41
|
-
_createClass(GetDeviceSessions200Response, null, [{
|
|
52
|
+
return _createClass(GetDeviceSessions200Response, null, [{
|
|
42
53
|
key: "initialize",
|
|
43
54
|
value: function initialize(obj, sessions, hasMore) {
|
|
44
55
|
obj["sessions"] = sessions;
|
|
@@ -115,7 +126,6 @@ var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
|
115
126
|
return true;
|
|
116
127
|
}
|
|
117
128
|
}]);
|
|
118
|
-
return GetDeviceSessions200Response;
|
|
119
129
|
}();
|
|
120
130
|
GetDeviceSessions200Response.RequiredProperties = ["sessions", "has_more"];
|
|
121
131
|
|
|
@@ -128,5 +138,4 @@ GetDeviceSessions200Response.prototype["sessions"] = undefined;
|
|
|
128
138
|
* @member {Boolean} has_more
|
|
129
139
|
*/
|
|
130
140
|
GetDeviceSessions200Response.prototype["has_more"] = undefined;
|
|
131
|
-
var _default = GetDeviceSessions200Response;
|
|
132
|
-
exports["default"] = _default;
|
|
141
|
+
var _default = exports["default"] = GetDeviceSessions200Response;
|
|
@@ -7,19 +7,30 @@ exports["default"] = void 0;
|
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = _interopRequireDefault(require("./GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner"));
|
|
9
9
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
10
|
-
function _typeof(
|
|
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(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, 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 normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
|
|
12
12
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
13
13
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
14
14
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
15
15
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
16
16
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
17
|
-
function _toPropertyKey(
|
|
18
|
-
function _toPrimitive(
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
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); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.0.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
19
30
|
/**
|
|
20
31
|
* The GetProjectDevicePublicKeys200Response model module.
|
|
21
32
|
* @module model/GetProjectDevicePublicKeys200Response
|
|
22
|
-
* @version 1.0.
|
|
33
|
+
* @version 1.0.20
|
|
23
34
|
*/
|
|
24
35
|
var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
25
36
|
/**
|
|
@@ -38,7 +49,7 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
|
38
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
39
50
|
* Only for internal use.
|
|
40
51
|
*/
|
|
41
|
-
_createClass(GetProjectDevicePublicKeys200Response, null, [{
|
|
52
|
+
return _createClass(GetProjectDevicePublicKeys200Response, null, [{
|
|
42
53
|
key: "initialize",
|
|
43
54
|
value: function initialize(obj, devicePublicKeys, hasMore) {
|
|
44
55
|
obj["device_public_keys"] = devicePublicKeys;
|
|
@@ -115,7 +126,6 @@ var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
|
115
126
|
return true;
|
|
116
127
|
}
|
|
117
128
|
}]);
|
|
118
|
-
return GetProjectDevicePublicKeys200Response;
|
|
119
129
|
}();
|
|
120
130
|
GetProjectDevicePublicKeys200Response.RequiredProperties = ["device_public_keys", "has_more"];
|
|
121
131
|
|
|
@@ -128,5 +138,4 @@ GetProjectDevicePublicKeys200Response.prototype["device_public_keys"] = undefine
|
|
|
128
138
|
* @member {Boolean} has_more
|
|
129
139
|
*/
|
|
130
140
|
GetProjectDevicePublicKeys200Response.prototype["has_more"] = undefined;
|
|
131
|
-
var _default = GetProjectDevicePublicKeys200Response;
|
|
132
|
-
exports["default"] = _default;
|
|
141
|
+
var _default = exports["default"] = GetProjectDevicePublicKeys200Response;
|
|
@@ -6,16 +6,27 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
-
function _typeof(
|
|
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
10
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
11
11
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
12
12
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
13
|
-
function _toPropertyKey(
|
|
14
|
-
function _toPrimitive(
|
|
13
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
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
|
+
* Notehub API
|
|
16
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
17
|
+
*
|
|
18
|
+
* The version of the OpenAPI document: 1.0.0
|
|
19
|
+
* Contact: engineering@blues.io
|
|
20
|
+
*
|
|
21
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
22
|
+
* https://openapi-generator.tech
|
|
23
|
+
* Do not edit the class manually.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
15
26
|
/**
|
|
16
27
|
* The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module.
|
|
17
28
|
* @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner
|
|
18
|
-
* @version 1.0.
|
|
29
|
+
* @version 1.0.20
|
|
19
30
|
*/
|
|
20
31
|
var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/function () {
|
|
21
32
|
/**
|
|
@@ -32,7 +43,7 @@ var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/fu
|
|
|
32
43
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
33
44
|
* Only for internal use.
|
|
34
45
|
*/
|
|
35
|
-
_createClass(GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner, null, [{
|
|
46
|
+
return _createClass(GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner, null, [{
|
|
36
47
|
key: "initialize",
|
|
37
48
|
value: function initialize(obj) {}
|
|
38
49
|
|
|
@@ -79,7 +90,6 @@ var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/fu
|
|
|
79
90
|
return true;
|
|
80
91
|
}
|
|
81
92
|
}]);
|
|
82
|
-
return GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner;
|
|
83
93
|
}();
|
|
84
94
|
/**
|
|
85
95
|
* @member {String} uid
|
|
@@ -90,5 +100,4 @@ GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype["uid"] = un
|
|
|
90
100
|
* @member {String} key
|
|
91
101
|
*/
|
|
92
102
|
GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.prototype["key"] = undefined;
|
|
93
|
-
var _default = GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner;
|
|
94
|
-
exports["default"] = _default;
|
|
103
|
+
var _default = exports["default"] = GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner;
|