@blues-inc/notehub-js 1.0.11 → 1.0.13
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 +91 -97
- package/dist/ApiClient.js +3 -6
- package/dist/api/AuthorizationApi.js +5 -50
- package/dist/api/BillingAccountApi.js +4 -4
- package/dist/api/DeviceApi.js +108 -16
- package/dist/api/DevicesApi.js +6 -6
- package/dist/api/EnvironmentVariablesApi.js +10 -10
- package/dist/api/EventApi.js +5 -5
- package/dist/api/FilesApi.js +4 -4
- package/dist/api/FleetApi.js +14 -14
- package/dist/api/NotesApi.js +7 -7
- package/dist/api/ProductApi.js +4 -4
- package/dist/api/ProjectApi.js +18 -18
- package/dist/api/RouteApi.js +6 -6
- package/dist/index.js +14 -7
- 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 +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/Edgeimpulse.js +214 -0
- package/dist/model/{GenerateAuthToken200Response.js → EdgeimpulseSensorsInner.js} +36 -44
- 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/Google.js +14 -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/Role.js +9 -8
- package/dist/model/Route.js +7 -2
- package/dist/model/RouteSchema.js +7 -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
|
@@ -13,18 +13,18 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
13
13
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
14
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
15
|
/**
|
|
16
|
-
* The
|
|
17
|
-
* @module model/
|
|
18
|
-
* @version 1.0.
|
|
16
|
+
* The EdgeimpulseSensorsInner model module.
|
|
17
|
+
* @module model/EdgeimpulseSensorsInner
|
|
18
|
+
* @version 1.0.13
|
|
19
19
|
*/
|
|
20
|
-
var
|
|
20
|
+
var EdgeimpulseSensorsInner = /*#__PURE__*/function () {
|
|
21
21
|
/**
|
|
22
|
-
* Constructs a new <code>
|
|
23
|
-
* @alias module:model/
|
|
22
|
+
* Constructs a new <code>EdgeimpulseSensorsInner</code>.
|
|
23
|
+
* @alias module:model/EdgeimpulseSensorsInner
|
|
24
24
|
*/
|
|
25
|
-
function
|
|
26
|
-
_classCallCheck(this,
|
|
27
|
-
|
|
25
|
+
function EdgeimpulseSensorsInner() {
|
|
26
|
+
_classCallCheck(this, EdgeimpulseSensorsInner);
|
|
27
|
+
EdgeimpulseSensorsInner.initialize(this);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -32,33 +32,30 @@ var GenerateAuthToken200Response = /*#__PURE__*/function () {
|
|
|
32
32
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
33
33
|
* Only for internal use.
|
|
34
34
|
*/
|
|
35
|
-
_createClass(
|
|
35
|
+
_createClass(EdgeimpulseSensorsInner, null, [{
|
|
36
36
|
key: "initialize",
|
|
37
37
|
value: function initialize(obj) {}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* Constructs a <code>
|
|
40
|
+
* Constructs a <code>EdgeimpulseSensorsInner</code> from a plain JavaScript object, optionally creating a new instance.
|
|
41
41
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
42
42
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
43
|
-
* @param {module:model/
|
|
44
|
-
* @return {module:model/
|
|
43
|
+
* @param {module:model/EdgeimpulseSensorsInner} obj Optional instance to populate.
|
|
44
|
+
* @return {module:model/EdgeimpulseSensorsInner} The populated <code>EdgeimpulseSensorsInner</code> instance.
|
|
45
45
|
*/
|
|
46
46
|
}, {
|
|
47
47
|
key: "constructFromObject",
|
|
48
48
|
value: function constructFromObject(data, obj) {
|
|
49
49
|
if (data) {
|
|
50
|
-
obj = obj || new
|
|
51
|
-
if (data.hasOwnProperty("
|
|
52
|
-
obj["
|
|
50
|
+
obj = obj || new EdgeimpulseSensorsInner();
|
|
51
|
+
if (data.hasOwnProperty("name")) {
|
|
52
|
+
obj["name"] = _ApiClient["default"].convertToType(data["name"], "String");
|
|
53
53
|
}
|
|
54
|
-
if (data.hasOwnProperty("
|
|
55
|
-
obj["
|
|
54
|
+
if (data.hasOwnProperty("units")) {
|
|
55
|
+
obj["units"] = _ApiClient["default"].convertToType(data["units"], "String");
|
|
56
56
|
}
|
|
57
|
-
if (data.hasOwnProperty("
|
|
58
|
-
obj["
|
|
59
|
-
}
|
|
60
|
-
if (data.hasOwnProperty("token_type")) {
|
|
61
|
-
obj["token_type"] = _ApiClient["default"].convertToType(data["token_type"], "String");
|
|
57
|
+
if (data.hasOwnProperty("value")) {
|
|
58
|
+
obj["value"] = _ApiClient["default"].convertToType(data["value"], "String");
|
|
62
59
|
}
|
|
63
60
|
} else if (data === null) {
|
|
64
61
|
return null;
|
|
@@ -67,48 +64,43 @@ var GenerateAuthToken200Response = /*#__PURE__*/function () {
|
|
|
67
64
|
}
|
|
68
65
|
|
|
69
66
|
/**
|
|
70
|
-
* Validates the JSON data with respect to <code>
|
|
67
|
+
* Validates the JSON data with respect to <code>EdgeimpulseSensorsInner</code>.
|
|
71
68
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
72
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
69
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>EdgeimpulseSensorsInner</code>.
|
|
73
70
|
*/
|
|
74
71
|
}, {
|
|
75
72
|
key: "validateJSON",
|
|
76
73
|
value: function validateJSON(data) {
|
|
77
74
|
// ensure the json data is a string
|
|
78
|
-
if (data["
|
|
79
|
-
throw new Error("Expected the field `
|
|
75
|
+
if (data["name"] && !(typeof data["name"] === "string" || data["name"] instanceof String)) {
|
|
76
|
+
throw new Error("Expected the field `name` to be a primitive type in the JSON string but got " + data["name"]);
|
|
80
77
|
}
|
|
81
78
|
// ensure the json data is a string
|
|
82
|
-
if (data["
|
|
83
|
-
throw new Error("Expected the field `
|
|
79
|
+
if (data["units"] && !(typeof data["units"] === "string" || data["units"] instanceof String)) {
|
|
80
|
+
throw new Error("Expected the field `units` to be a primitive type in the JSON string but got " + data["units"]);
|
|
84
81
|
}
|
|
85
82
|
// ensure the json data is a string
|
|
86
|
-
if (data["
|
|
87
|
-
throw new Error("Expected the field `
|
|
83
|
+
if (data["value"] && !(typeof data["value"] === "string" || data["value"] instanceof String)) {
|
|
84
|
+
throw new Error("Expected the field `value` to be a primitive type in the JSON string but got " + data["value"]);
|
|
88
85
|
}
|
|
89
86
|
return true;
|
|
90
87
|
}
|
|
91
88
|
}]);
|
|
92
|
-
return
|
|
89
|
+
return EdgeimpulseSensorsInner;
|
|
93
90
|
}();
|
|
94
91
|
/**
|
|
95
|
-
* @member {String}
|
|
96
|
-
*/
|
|
97
|
-
GenerateAuthToken200Response.prototype["access_token"] = undefined;
|
|
98
|
-
|
|
99
|
-
/**
|
|
100
|
-
* @member {Number} expires_in
|
|
92
|
+
* @member {String} name
|
|
101
93
|
*/
|
|
102
|
-
|
|
94
|
+
EdgeimpulseSensorsInner.prototype["name"] = undefined;
|
|
103
95
|
|
|
104
96
|
/**
|
|
105
|
-
* @member {String}
|
|
97
|
+
* @member {String} units
|
|
106
98
|
*/
|
|
107
|
-
|
|
99
|
+
EdgeimpulseSensorsInner.prototype["units"] = undefined;
|
|
108
100
|
|
|
109
101
|
/**
|
|
110
|
-
* @member {String}
|
|
102
|
+
* @member {String} value
|
|
111
103
|
*/
|
|
112
|
-
|
|
113
|
-
var _default =
|
|
104
|
+
EdgeimpulseSensorsInner.prototype["value"] = undefined;
|
|
105
|
+
var _default = EdgeimpulseSensorsInner;
|
|
114
106
|
exports["default"] = _default;
|
|
@@ -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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
23
23
|
*/
|
|
24
24
|
var GetProjects200Response = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Google.js
CHANGED
|
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
17
17
|
/**
|
|
18
18
|
* The Google model module.
|
|
19
19
|
* @module model/Google
|
|
20
|
-
* @version 1.0.
|
|
20
|
+
* @version 1.0.13
|
|
21
21
|
*/
|
|
22
22
|
var Google = /*#__PURE__*/function () {
|
|
23
23
|
/**
|
|
@@ -69,6 +69,9 @@ var Google = /*#__PURE__*/function () {
|
|
|
69
69
|
if (data.hasOwnProperty("timeout")) {
|
|
70
70
|
obj["timeout"] = _ApiClient["default"].convertToType(data["timeout"], "Number");
|
|
71
71
|
}
|
|
72
|
+
if (data.hasOwnProperty("token")) {
|
|
73
|
+
obj["token"] = _ApiClient["default"].convertToType(data["token"], "String");
|
|
74
|
+
}
|
|
72
75
|
} else if (data === null) {
|
|
73
76
|
return null;
|
|
74
77
|
}
|
|
@@ -101,6 +104,10 @@ var Google = /*#__PURE__*/function () {
|
|
|
101
104
|
if (data["url"] && !(typeof data["url"] === "string" || data["url"] instanceof String)) {
|
|
102
105
|
throw new Error("Expected the field `url` to be a primitive type in the JSON string but got " + data["url"]);
|
|
103
106
|
}
|
|
107
|
+
// ensure the json data is a string
|
|
108
|
+
if (data["token"] && !(typeof data["token"] === "string" || data["token"] instanceof String)) {
|
|
109
|
+
throw new Error("Expected the field `token` to be a primitive type in the JSON string but got " + data["token"]);
|
|
110
|
+
}
|
|
104
111
|
return true;
|
|
105
112
|
}
|
|
106
113
|
}]);
|
|
@@ -138,5 +145,11 @@ Google.prototype["url"] = undefined;
|
|
|
138
145
|
* @default 15
|
|
139
146
|
*/
|
|
140
147
|
Google.prototype["timeout"] = 15;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Optional authentication token
|
|
151
|
+
* @member {String} token
|
|
152
|
+
*/
|
|
153
|
+
Google.prototype["token"] = undefined;
|
|
141
154
|
var _default = Google;
|
|
142
155
|
exports["default"] = _default;
|
|
@@ -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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
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.13
|
|
23
23
|
*/
|
|
24
24
|
var ProjectMember = /*#__PURE__*/function () {
|
|
25
25
|
/**
|
package/dist/model/Proxy.js
CHANGED
|
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
|
|
|
18
18
|
/**
|
|
19
19
|
* The PutDeviceFleetsRequest model module.
|
|
20
20
|
* @module model/PutDeviceFleetsRequest
|
|
21
|
-
* @version 1.0.
|
|
21
|
+
* @version 1.0.13
|
|
22
22
|
*/
|
|
23
23
|
var PutDeviceFleetsRequest = /*#__PURE__*/function () {
|
|
24
24
|
/**
|
package/dist/model/Role.js
CHANGED
|
@@ -14,26 +14,27 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
14
14
|
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
15
15
|
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); }
|
|
16
16
|
/**
|
|
17
|
-
* Enum class Role.
|
|
18
|
-
* @enum {}
|
|
19
|
-
* @readonly
|
|
20
|
-
*/
|
|
17
|
+
* Enum class Role.
|
|
18
|
+
* @enum {}
|
|
19
|
+
* @readonly
|
|
20
|
+
*/
|
|
21
21
|
var Role = /*#__PURE__*/function () {
|
|
22
22
|
function Role() {
|
|
23
23
|
_classCallCheck(this, Role);
|
|
24
24
|
_defineProperty(this, "owner", "owner");
|
|
25
25
|
_defineProperty(this, "developer", "developer");
|
|
26
26
|
_defineProperty(this, "viewer", "viewer");
|
|
27
|
+
_defineProperty(this, "support", "support");
|
|
27
28
|
_defineProperty(this, "null", "null");
|
|
28
29
|
}
|
|
29
30
|
_createClass(Role, null, [{
|
|
30
31
|
key: "constructFromObject",
|
|
31
32
|
value:
|
|
32
33
|
/**
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
* Returns a <code>Role</code> enum value from a Javascript object name.
|
|
35
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
|
36
|
+
* @return {module:model/Role} The enum <code>Role</code> value.
|
|
37
|
+
*/
|
|
37
38
|
function constructFromObject(object) {
|
|
38
39
|
return object;
|
|
39
40
|
}
|