@blues-inc/notehub-js 1.0.12 → 1.0.14

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.
Files changed (83) hide show
  1. package/README.md +90 -85
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AuthorizationApi.js +1 -1
  4. package/dist/api/BillingAccountApi.js +1 -1
  5. package/dist/api/DeviceApi.js +93 -1
  6. package/dist/api/DevicesApi.js +1 -1
  7. package/dist/api/EnvironmentVariablesApi.js +1 -1
  8. package/dist/api/EventApi.js +1 -1
  9. package/dist/api/FilesApi.js +1 -1
  10. package/dist/api/FleetApi.js +1 -1
  11. package/dist/api/NotesApi.js +1 -1
  12. package/dist/api/ProductApi.js +1 -1
  13. package/dist/api/ProjectApi.js +124 -1
  14. package/dist/api/RouteApi.js +1 -1
  15. package/dist/model/Aws.js +1 -1
  16. package/dist/model/Azure.js +1 -1
  17. package/dist/model/BillingAccount.js +1 -1
  18. package/dist/model/Body.js +1 -1
  19. package/dist/model/Contact.js +1 -1
  20. package/dist/model/CreateFleetRequest.js +1 -1
  21. package/dist/model/CreateProductRequest.js +1 -1
  22. package/dist/model/CreateProjectRequest.js +1 -1
  23. package/dist/model/DFUEnv.js +1 -1
  24. package/dist/model/DFUState.js +1 -1
  25. package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
  26. package/dist/model/Device.js +1 -1
  27. package/dist/model/DeviceSession.js +1 -1
  28. package/dist/model/DeviceTowerInfo.js +1 -1
  29. package/dist/model/DeviceUsage.js +1 -1
  30. package/dist/model/Edgeimpulse.js +1 -1
  31. package/dist/model/EdgeimpulseSensorsInner.js +1 -1
  32. package/dist/model/EnvironmentVariables.js +1 -1
  33. package/dist/model/Error.js +1 -1
  34. package/dist/model/Event.js +1 -1
  35. package/dist/model/Fleet.js +1 -1
  36. package/dist/model/GetBillingAccounts200Response.js +1 -1
  37. package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
  38. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  39. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
  40. package/dist/model/GetDeviceLatest200Response.js +1 -1
  41. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  42. package/dist/model/GetDeviceSessions200Response.js +1 -1
  43. package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
  44. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  45. package/dist/model/GetProjectDevices200Response.js +1 -1
  46. package/dist/model/GetProjectEvents200Response.js +1 -1
  47. package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
  48. package/dist/model/GetProjectFleets200Response.js +1 -1
  49. package/dist/model/GetProjectMembers200Response.js +1 -1
  50. package/dist/model/GetProjectProducts200Response.js +1 -1
  51. package/dist/model/GetProjects200Response.js +1 -1
  52. package/dist/model/Google.js +14 -1
  53. package/dist/model/HandleNoteChanges200Response.js +1 -1
  54. package/dist/model/HandleNoteGet200Response.js +1 -1
  55. package/dist/model/HandleNoteSignal200Response.js +1 -1
  56. package/dist/model/HandleNotefileChanges200Response.js +1 -1
  57. package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
  58. package/dist/model/HandleNotefileDeleteRequest.js +1 -1
  59. package/dist/model/Http.js +1 -1
  60. package/dist/model/HttpFilter.js +1 -1
  61. package/dist/model/HttpTransform.js +1 -1
  62. package/dist/model/Location.js +1 -1
  63. package/dist/model/Login200Response.js +1 -1
  64. package/dist/model/LoginRequest.js +1 -1
  65. package/dist/model/Mqtt.js +1 -1
  66. package/dist/model/Note.js +1 -1
  67. package/dist/model/Product.js +1 -1
  68. package/dist/model/Project.js +1 -1
  69. package/dist/model/ProjectMember.js +1 -1
  70. package/dist/model/Proxy.js +1 -1
  71. package/dist/model/PutDeviceFleetsRequest.js +1 -1
  72. package/dist/model/Radresponder.js +1 -1
  73. package/dist/model/Role.js +9 -8
  74. package/dist/model/Route.js +1 -1
  75. package/dist/model/RouteSchema.js +7 -1
  76. package/dist/model/Snowflake.js +1 -1
  77. package/dist/model/SnowflakeTransform.js +1 -1
  78. package/dist/model/Thingworx.js +1 -1
  79. package/dist/model/TowerLocation.js +1 -1
  80. package/dist/model/Twilio.js +1 -1
  81. package/dist/model/UpdateFleetRequest.js +1 -1
  82. package/dist/model/UserDbRoute.js +1 -1
  83. package/package.json +1 -1
@@ -28,7 +28,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
28
28
  /**
29
29
  * Project service.
30
30
  * @module api/ProjectApi
31
- * @version 1.0.12
31
+ * @version 1.0.14
32
32
  */
33
33
  var ProjectApi = /*#__PURE__*/function () {
34
34
  /**
@@ -171,6 +171,84 @@ var ProjectApi = /*#__PURE__*/function () {
171
171
  });
172
172
  }
173
173
 
174
+ /**
175
+ * Disable the project-level event JSONata transformation
176
+ * @param {String} projectUID
177
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
178
+ */
179
+ }, {
180
+ key: "disableGlobalTransformationWithHttpInfo",
181
+ value: function disableGlobalTransformationWithHttpInfo(projectUID) {
182
+ var postBody = null;
183
+ // verify the required parameter 'projectUID' is set
184
+ if (projectUID === undefined || projectUID === null) {
185
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableGlobalTransformation");
186
+ }
187
+ var pathParams = {
188
+ projectUID: projectUID
189
+ };
190
+ var queryParams = {};
191
+ var headerParams = {};
192
+ var formParams = {};
193
+ var authNames = ["api_key"];
194
+ var contentTypes = [];
195
+ var accepts = ["application/json"];
196
+ var returnType = null;
197
+ return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
198
+ }
199
+
200
+ /**
201
+ * Disable the project-level event JSONata transformation
202
+ * @param {String} projectUID
203
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
204
+ */
205
+ }, {
206
+ key: "disableGlobalTransformation",
207
+ value: function disableGlobalTransformation(projectUID) {
208
+ return this.disableGlobalTransformationWithHttpInfo(projectUID).then(function (response_and_data) {
209
+ return response_and_data.data;
210
+ });
211
+ }
212
+
213
+ /**
214
+ * Enable the project-level event JSONata transformation
215
+ * @param {String} projectUID
216
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
217
+ */
218
+ }, {
219
+ key: "enableGlobalTransformationWithHttpInfo",
220
+ value: function enableGlobalTransformationWithHttpInfo(projectUID) {
221
+ var postBody = null;
222
+ // verify the required parameter 'projectUID' is set
223
+ if (projectUID === undefined || projectUID === null) {
224
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableGlobalTransformation");
225
+ }
226
+ var pathParams = {
227
+ projectUID: projectUID
228
+ };
229
+ var queryParams = {};
230
+ var headerParams = {};
231
+ var formParams = {};
232
+ var authNames = ["api_key"];
233
+ var contentTypes = [];
234
+ var accepts = ["application/json"];
235
+ var returnType = null;
236
+ return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
237
+ }
238
+
239
+ /**
240
+ * Enable the project-level event JSONata transformation
241
+ * @param {String} projectUID
242
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
243
+ */
244
+ }, {
245
+ key: "enableGlobalTransformation",
246
+ value: function enableGlobalTransformation(projectUID) {
247
+ return this.enableGlobalTransformationWithHttpInfo(projectUID).then(function (response_and_data) {
248
+ return response_and_data.data;
249
+ });
250
+ }
251
+
174
252
  /**
175
253
  * Get a Project by ProjectUID
176
254
  * @param {String} projectUID
@@ -731,6 +809,51 @@ var ProjectApi = /*#__PURE__*/function () {
731
809
  return response_and_data.data;
732
810
  });
733
811
  }
812
+
813
+ /**
814
+ * Set the project-level event JSONata transformation
815
+ * @param {String} projectUID
816
+ * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
817
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
818
+ */
819
+ }, {
820
+ key: "setGlobalTransformationWithHttpInfo",
821
+ value: function setGlobalTransformationWithHttpInfo(projectUID, body) {
822
+ var postBody = body;
823
+ // verify the required parameter 'projectUID' is set
824
+ if (projectUID === undefined || projectUID === null) {
825
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling setGlobalTransformation");
826
+ }
827
+ // verify the required parameter 'body' is set
828
+ if (body === undefined || body === null) {
829
+ throw new _Error["default"]("Missing the required parameter 'body' when calling setGlobalTransformation");
830
+ }
831
+ var pathParams = {
832
+ projectUID: projectUID
833
+ };
834
+ var queryParams = {};
835
+ var headerParams = {};
836
+ var formParams = {};
837
+ var authNames = ["api_key"];
838
+ var contentTypes = ["application/json"];
839
+ var accepts = ["application/json"];
840
+ var returnType = null;
841
+ return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
842
+ }
843
+
844
+ /**
845
+ * Set the project-level event JSONata transformation
846
+ * @param {String} projectUID
847
+ * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
848
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
849
+ */
850
+ }, {
851
+ key: "setGlobalTransformation",
852
+ value: function setGlobalTransformation(projectUID, body) {
853
+ return this.setGlobalTransformationWithHttpInfo(projectUID, body).then(function (response_and_data) {
854
+ return response_and_data.data;
855
+ });
856
+ }
734
857
  }]);
735
858
  return ProjectApi;
736
859
  }();
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * Route service.
20
20
  * @module api/RouteApi
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var RouteApi = /*#__PURE__*/function () {
24
24
  /**
package/dist/model/Aws.js CHANGED
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Aws model module.
19
19
  * @module model/Aws
20
- * @version 1.0.12
20
+ * @version 1.0.14
21
21
  */
22
22
  var Aws = /*#__PURE__*/function () {
23
23
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Azure model module.
19
19
  * @module model/Azure
20
- * @version 1.0.12
20
+ * @version 1.0.14
21
21
  */
22
22
  var Azure = /*#__PURE__*/function () {
23
23
  /**
@@ -19,7 +19,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
19
19
  /**
20
20
  * The BillingAccount model module.
21
21
  * @module model/BillingAccount
22
- * @version 1.0.12
22
+ * @version 1.0.14
23
23
  */
24
24
  var BillingAccount = /*#__PURE__*/function () {
25
25
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Body model module.
17
17
  * @module model/Body
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var Body = /*#__PURE__*/function () {
21
21
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Contact model module.
17
17
  * @module model/Contact
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var Contact = /*#__PURE__*/function () {
21
21
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The CreateFleetRequest model module.
17
17
  * @module model/CreateFleetRequest
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var CreateFleetRequest = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProductRequest model module.
20
20
  * @module model/CreateProductRequest
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var CreateProductRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The CreateProjectRequest model module.
20
20
  * @module model/CreateProjectRequest
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var CreateProjectRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -16,7 +16,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
16
16
  /**
17
17
  * The DFUEnv model module.
18
18
  * @module model/DFUEnv
19
- * @version 1.0.12
19
+ * @version 1.0.14
20
20
  */
21
21
  var DFUEnv = /*#__PURE__*/function () {
22
22
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The DFUState model module.
17
17
  * @module model/DFUState
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var DFUState = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The DeleteDeviceFleetsRequest model module.
20
20
  * @module model/DeleteDeviceFleetsRequest
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var DeleteDeviceFleetsRequest = /*#__PURE__*/function () {
24
24
  /**
@@ -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.12
25
+ * @version 1.0.14
26
26
  */
27
27
  var Device = /*#__PURE__*/function () {
28
28
  /**
@@ -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.12
20
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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 DeviceUsage model module.
17
17
  * @module model/DeviceUsage
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var DeviceUsage = /*#__PURE__*/function () {
21
21
  /**
@@ -20,7 +20,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
20
20
  /**
21
21
  * The Edgeimpulse model module.
22
22
  * @module model/Edgeimpulse
23
- * @version 1.0.12
23
+ * @version 1.0.14
24
24
  */
25
25
  var Edgeimpulse = /*#__PURE__*/function () {
26
26
  /**
@@ -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.12
18
+ * @version 1.0.14
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.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var EnvironmentVariables = /*#__PURE__*/function () {
24
24
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The Error model module.
20
20
  * @module model/Error
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var Error = /*#__PURE__*/function () {
24
24
  /**
@@ -15,7 +15,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
15
15
  /**
16
16
  * The Event model module.
17
17
  * @module model/Event
18
- * @version 1.0.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var Event = /*#__PURE__*/function () {
21
21
  /**
@@ -18,7 +18,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
18
18
  /**
19
19
  * The Fleet model module.
20
20
  * @module model/Fleet
21
- * @version 1.0.12
21
+ * @version 1.0.14
22
22
  */
23
23
  var Fleet = /*#__PURE__*/function () {
24
24
  /**
@@ -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.12
22
+ * @version 1.0.14
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.12
21
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
21
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
21
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
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.12
22
+ * @version 1.0.14
23
23
  */
24
24
  var GetProjects200Response = /*#__PURE__*/function () {
25
25
  /**
@@ -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.12
20
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
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.12
18
+ * @version 1.0.14
19
19
  */
20
20
  var HandleNotefileDeleteRequest = /*#__PURE__*/function () {
21
21
  /**
@@ -17,7 +17,7 @@ function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input ==
17
17
  /**
18
18
  * The Http model module.
19
19
  * @module model/Http
20
- * @version 1.0.12
20
+ * @version 1.0.14
21
21
  */
22
22
  var Http = /*#__PURE__*/function () {
23
23
  /**