@blues-inc/notehub-js 1.0.13 → 1.0.15
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 +7 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/DevicesApi.js +1 -1
- package/dist/api/EnvironmentVariablesApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/FilesApi.js +1 -1
- package/dist/api/FleetApi.js +1 -1
- package/dist/api/NotesApi.js +1 -1
- package/dist/api/ProductApi.js +1 -1
- package/dist/api/ProjectApi.js +124 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/RouteLogsApi.js +160 -0
- package/dist/index.js +14 -0
- package/dist/model/Aws.js +1 -1
- package/dist/model/Azure.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.js +9 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/Edgeimpulse.js +1 -1
- package/dist/model/EdgeimpulseSensorsInner.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetProjectDevices200Response.js +1 -1
- package/dist/model/GetProjectEvents200Response.js +1 -1
- package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
- package/dist/model/GetProjectFleets200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectProducts200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +157 -0
- package/dist/model/Google.js +1 -1
- package/dist/model/HandleNoteChanges200Response.js +1 -1
- package/dist/model/HandleNoteGet200Response.js +1 -1
- package/dist/model/HandleNoteSignal200Response.js +1 -1
- package/dist/model/HandleNotefileChanges200Response.js +1 -1
- package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
- package/dist/model/HandleNotefileDeleteRequest.js +1 -1
- package/dist/model/Http.js +1 -1
- package/dist/model/HttpFilter.js +1 -1
- package/dist/model/HttpTransform.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Mqtt.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/Proxy.js +1 -1
- package/dist/model/PutDeviceFleetsRequest.js +1 -1
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Route.js +1 -1
- package/dist/model/RouteSchema.js +1 -1
- package/dist/model/Snowflake.js +1 -1
- package/dist/model/SnowflakeTransform.js +1 -1
- package/dist/model/Thingworx.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Twilio.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UserDbRoute.js +1 -1
- package/package.json +1 -1
package/dist/model/Device.js
CHANGED
|
@@ -22,7 +22,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
22
22
|
/**
|
|
23
23
|
* The Device model module.
|
|
24
24
|
* @module model/Device
|
|
25
|
-
* @version 1.0.
|
|
25
|
+
* @version 1.0.15
|
|
26
26
|
*/
|
|
27
27
|
var Device = /*#__PURE__*/function () {
|
|
28
28
|
/**
|
|
@@ -115,6 +115,9 @@ var Device = /*#__PURE__*/function () {
|
|
|
115
115
|
if (data.hasOwnProperty("sku")) {
|
|
116
116
|
obj["sku"] = _ApiClient["default"].convertToType(data["sku"], "String");
|
|
117
117
|
}
|
|
118
|
+
if (data.hasOwnProperty("disabled")) {
|
|
119
|
+
obj["disabled"] = _ApiClient["default"].convertToType(data["disabled"], "Boolean");
|
|
120
|
+
}
|
|
118
121
|
} else if (data === null) {
|
|
119
122
|
return null;
|
|
120
123
|
}
|
|
@@ -275,5 +278,10 @@ Device.prototype["dfu"] = undefined;
|
|
|
275
278
|
* @member {String} sku
|
|
276
279
|
*/
|
|
277
280
|
Device.prototype["sku"] = undefined;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @member {Boolean} disabled
|
|
284
|
+
*/
|
|
285
|
+
Device.prototype["disabled"] = undefined;
|
|
278
286
|
var _default = Device;
|
|
279
287
|
exports["default"] = _default;
|
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* The DeviceSession model module.
|
|
19
19
|
* @module model/DeviceSession
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.15
|
|
21
21
|
*/
|
|
22
22
|
var DeviceSession = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The DeviceTowerInfo model module.
|
|
17
17
|
* @module model/DeviceTowerInfo
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var DeviceTowerInfo = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The EdgeimpulseSensorsInner model module.
|
|
17
17
|
* @module model/EdgeimpulseSensorsInner
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var EdgeimpulseSensorsInner = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The EnvironmentVariables model module.
|
|
20
20
|
* @module model/EnvironmentVariables
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.15
|
|
22
22
|
*/
|
|
23
23
|
var EnvironmentVariables = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Error.js
CHANGED
package/dist/model/Event.js
CHANGED
package/dist/model/Fleet.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetBillingAccounts200Response model module.
|
|
21
21
|
* @module model/GetBillingAccounts200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetBillingAccounts200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDeviceEnvironmentVariables200Response model module.
|
|
20
20
|
* @module model/GetDeviceEnvironmentVariables200Response
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.15
|
|
22
22
|
*/
|
|
23
23
|
var GetDeviceEnvironmentVariables200Response = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceHealthLog200Response model module.
|
|
21
21
|
* @module model/GetDeviceHealthLog200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceHealthLog200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDeviceHealthLog200ResponseHealthLogInner model module.
|
|
20
20
|
* @module model/GetDeviceHealthLog200ResponseHealthLogInner
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.15
|
|
22
22
|
*/
|
|
23
23
|
var GetDeviceHealthLog200ResponseHealthLogInner = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceLatest200Response model module.
|
|
21
21
|
* @module model/GetDeviceLatest200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceLatest200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The GetDevicePublicKey200Response model module.
|
|
20
20
|
* @module model/GetDevicePublicKey200Response
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.15
|
|
22
22
|
*/
|
|
23
23
|
var GetDevicePublicKey200Response = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetDeviceSessions200Response model module.
|
|
21
21
|
* @module model/GetDeviceSessions200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetDeviceSessions200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectDevicePublicKeys200Response model module.
|
|
21
21
|
* @module model/GetProjectDevicePublicKeys200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectDevicePublicKeys200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner model module.
|
|
17
17
|
* @module model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectDevices200Response model module.
|
|
21
21
|
* @module model/GetProjectDevices200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectDevices200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectEvents200Response model module.
|
|
21
21
|
* @module model/GetProjectEvents200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectEvents200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectEventsByCursor200Response model module.
|
|
21
21
|
* @module model/GetProjectEventsByCursor200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectEventsByCursor200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectFleets200Response model module.
|
|
21
21
|
* @module model/GetProjectFleets200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectFleets200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectMembers200Response model module.
|
|
21
21
|
* @module model/GetProjectMembers200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectMembers200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjectProducts200Response model module.
|
|
21
21
|
* @module model/GetProjectProducts200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjectProducts200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The GetProjects200Response model module.
|
|
21
21
|
* @module model/GetProjects200Response
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var GetProjects200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
9
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
10
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
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
|
+
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(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
15
|
+
/**
|
|
16
|
+
* The GetRouteLogsByRoute200ResponseInner model module.
|
|
17
|
+
* @module model/GetRouteLogsByRoute200ResponseInner
|
|
18
|
+
* @version 1.0.15
|
|
19
|
+
*/
|
|
20
|
+
var GetRouteLogsByRoute200ResponseInner = /*#__PURE__*/function () {
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new <code>GetRouteLogsByRoute200ResponseInner</code>.
|
|
23
|
+
* @alias module:model/GetRouteLogsByRoute200ResponseInner
|
|
24
|
+
*/
|
|
25
|
+
function GetRouteLogsByRoute200ResponseInner() {
|
|
26
|
+
_classCallCheck(this, GetRouteLogsByRoute200ResponseInner);
|
|
27
|
+
GetRouteLogsByRoute200ResponseInner.initialize(this);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Initializes the fields of this object.
|
|
32
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
33
|
+
* Only for internal use.
|
|
34
|
+
*/
|
|
35
|
+
_createClass(GetRouteLogsByRoute200ResponseInner, null, [{
|
|
36
|
+
key: "initialize",
|
|
37
|
+
value: function initialize(obj) {}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Constructs a <code>GetRouteLogsByRoute200ResponseInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
41
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
42
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
43
|
+
* @param {module:model/GetRouteLogsByRoute200ResponseInner} obj Optional instance to populate.
|
|
44
|
+
* @return {module:model/GetRouteLogsByRoute200ResponseInner} The populated <code>GetRouteLogsByRoute200ResponseInner</code> instance.
|
|
45
|
+
*/
|
|
46
|
+
}, {
|
|
47
|
+
key: "constructFromObject",
|
|
48
|
+
value: function constructFromObject(data, obj) {
|
|
49
|
+
if (data) {
|
|
50
|
+
obj = obj || new GetRouteLogsByRoute200ResponseInner();
|
|
51
|
+
if (data.hasOwnProperty("date")) {
|
|
52
|
+
obj["date"] = _ApiClient["default"].convertToType(data["date"], "String");
|
|
53
|
+
}
|
|
54
|
+
if (data.hasOwnProperty("routeUID")) {
|
|
55
|
+
obj["routeUID"] = _ApiClient["default"].convertToType(data["routeUID"], "String");
|
|
56
|
+
}
|
|
57
|
+
if (data.hasOwnProperty("eventUID")) {
|
|
58
|
+
obj["eventUID"] = _ApiClient["default"].convertToType(data["eventUID"], "String");
|
|
59
|
+
}
|
|
60
|
+
if (data.hasOwnProperty("attn")) {
|
|
61
|
+
obj["attn"] = _ApiClient["default"].convertToType(data["attn"], "Boolean");
|
|
62
|
+
}
|
|
63
|
+
if (data.hasOwnProperty("status")) {
|
|
64
|
+
obj["status"] = _ApiClient["default"].convertToType(data["status"], "String");
|
|
65
|
+
}
|
|
66
|
+
if (data.hasOwnProperty("text")) {
|
|
67
|
+
obj["text"] = _ApiClient["default"].convertToType(data["text"], "String");
|
|
68
|
+
}
|
|
69
|
+
if (data.hasOwnProperty("url")) {
|
|
70
|
+
obj["url"] = _ApiClient["default"].convertToType(data["url"], "String");
|
|
71
|
+
}
|
|
72
|
+
} else if (data === null) {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Validates the JSON data with respect to <code>GetRouteLogsByRoute200ResponseInner</code>.
|
|
80
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
81
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>GetRouteLogsByRoute200ResponseInner</code>.
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "validateJSON",
|
|
85
|
+
value: function validateJSON(data) {
|
|
86
|
+
// ensure the json data is a string
|
|
87
|
+
if (data["date"] && !(typeof data["date"] === "string" || data["date"] instanceof String)) {
|
|
88
|
+
throw new Error("Expected the field `date` to be a primitive type in the JSON string but got " + data["date"]);
|
|
89
|
+
}
|
|
90
|
+
// ensure the json data is a string
|
|
91
|
+
if (data["routeUID"] && !(typeof data["routeUID"] === "string" || data["routeUID"] instanceof String)) {
|
|
92
|
+
throw new Error("Expected the field `routeUID` to be a primitive type in the JSON string but got " + data["routeUID"]);
|
|
93
|
+
}
|
|
94
|
+
// ensure the json data is a string
|
|
95
|
+
if (data["eventUID"] && !(typeof data["eventUID"] === "string" || data["eventUID"] instanceof String)) {
|
|
96
|
+
throw new Error("Expected the field `eventUID` to be a primitive type in the JSON string but got " + data["eventUID"]);
|
|
97
|
+
}
|
|
98
|
+
// ensure the json data is a string
|
|
99
|
+
if (data["status"] && !(typeof data["status"] === "string" || data["status"] instanceof String)) {
|
|
100
|
+
throw new Error("Expected the field `status` to be a primitive type in the JSON string but got " + data["status"]);
|
|
101
|
+
}
|
|
102
|
+
// ensure the json data is a string
|
|
103
|
+
if (data["text"] && !(typeof data["text"] === "string" || data["text"] instanceof String)) {
|
|
104
|
+
throw new Error("Expected the field `text` to be a primitive type in the JSON string but got " + data["text"]);
|
|
105
|
+
}
|
|
106
|
+
// ensure the json data is a string
|
|
107
|
+
if (data["url"] && !(typeof data["url"] === "string" || data["url"] instanceof String)) {
|
|
108
|
+
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data["url"]);
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
}]);
|
|
113
|
+
return GetRouteLogsByRoute200ResponseInner;
|
|
114
|
+
}();
|
|
115
|
+
/**
|
|
116
|
+
* The date of the logs.
|
|
117
|
+
* @member {String} date
|
|
118
|
+
*/
|
|
119
|
+
GetRouteLogsByRoute200ResponseInner.prototype["date"] = undefined;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* The route UID.
|
|
123
|
+
* @member {String} routeUID
|
|
124
|
+
*/
|
|
125
|
+
GetRouteLogsByRoute200ResponseInner.prototype["routeUID"] = undefined;
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* The event UID.
|
|
129
|
+
* @member {String} eventUID
|
|
130
|
+
*/
|
|
131
|
+
GetRouteLogsByRoute200ResponseInner.prototype["eventUID"] = undefined;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Whether the event was routed in error
|
|
135
|
+
* @member {Boolean} attn
|
|
136
|
+
*/
|
|
137
|
+
GetRouteLogsByRoute200ResponseInner.prototype["attn"] = undefined;
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
* The status of the event.
|
|
141
|
+
* @member {String} status
|
|
142
|
+
*/
|
|
143
|
+
GetRouteLogsByRoute200ResponseInner.prototype["status"] = undefined;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* The response body of the route.
|
|
147
|
+
* @member {String} text
|
|
148
|
+
*/
|
|
149
|
+
GetRouteLogsByRoute200ResponseInner.prototype["text"] = undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* The URL of the route.
|
|
153
|
+
* @member {String} url
|
|
154
|
+
*/
|
|
155
|
+
GetRouteLogsByRoute200ResponseInner.prototype["url"] = undefined;
|
|
156
|
+
var _default = GetRouteLogsByRoute200ResponseInner;
|
|
157
|
+
exports["default"] = _default;
|
package/dist/model/Google.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteChanges200Response model module.
|
|
17
17
|
* @module model/HandleNoteChanges200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteChanges200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteGet200Response model module.
|
|
17
17
|
* @module model/HandleNoteGet200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteGet200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNoteSignal200Response model module.
|
|
17
17
|
* @module model/HandleNoteSignal200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNoteSignal200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileChanges200Response model module.
|
|
17
17
|
* @module model/HandleNotefileChanges200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileChanges200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileChangesPending200Response model module.
|
|
17
17
|
* @module model/HandleNotefileChangesPending200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileChangesPending200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HandleNotefileDeleteRequest model module.
|
|
17
17
|
* @module model/HandleNotefileDeleteRequest
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HandleNotefileDeleteRequest = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
package/dist/model/Http.js
CHANGED
package/dist/model/HttpFilter.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The HttpTransform model module.
|
|
17
17
|
* @module model/HttpTransform
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var HttpTransform = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
package/dist/model/Location.js
CHANGED
|
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
15
15
|
/**
|
|
16
16
|
* The Login200Response model module.
|
|
17
17
|
* @module model/Login200Response
|
|
18
|
-
* @version 1.0.
|
|
18
|
+
* @version 1.0.15
|
|
19
19
|
*/
|
|
20
20
|
var Login200Response = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
package/dist/model/Mqtt.js
CHANGED
package/dist/model/Note.js
CHANGED
package/dist/model/Product.js
CHANGED
package/dist/model/Project.js
CHANGED
|
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
19
19
|
/**
|
|
20
20
|
* The ProjectMember model module.
|
|
21
21
|
* @module model/ProjectMember
|
|
22
|
-
* @version 1.0.
|
|
22
|
+
* @version 1.0.15
|
|
23
23
|
*/
|
|
24
24
|
var ProjectMember = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Proxy.js
CHANGED