@blues-inc/notehub-js 1.0.30 → 1.0.31-beta.1

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 (119) hide show
  1. package/README.md +220 -210
  2. package/dist/ApiClient.js +156 -156
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +16 -16
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +351 -351
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/MonitorApi.js +52 -52
  9. package/dist/api/ProjectApi.js +340 -340
  10. package/dist/api/RepositoryApi.js +103 -103
  11. package/dist/api/RouteApi.js +74 -74
  12. package/dist/index.js +7 -0
  13. package/dist/model/Alert.js +76 -74
  14. package/dist/model/AlertDataInner.js +35 -35
  15. package/dist/model/AlertNotificationsInner.js +18 -18
  16. package/dist/model/Aws.js +65 -65
  17. package/dist/model/Azure.js +43 -43
  18. package/dist/model/BillingAccount.js +21 -21
  19. package/dist/model/BillingAccountRole.js +9 -9
  20. package/dist/model/Body.js +5 -5
  21. package/dist/model/CloneProjectRequest.js +20 -20
  22. package/dist/model/Contact.js +22 -22
  23. package/dist/model/CreateFleetRequest.js +12 -12
  24. package/dist/model/CreateMonitor.js +126 -125
  25. package/dist/model/CreateProductRequest.js +22 -22
  26. package/dist/model/CreateProjectRequest.js +16 -16
  27. package/dist/model/CreateUpdateRepository.js +17 -17
  28. package/dist/model/CurrentFirmware.js +12 -12
  29. package/dist/model/DFUEnv.js +12 -12
  30. package/dist/model/DFUState.js +65 -65
  31. package/dist/model/DataField.js +7 -7
  32. package/dist/model/DataSet.js +30 -29
  33. package/dist/model/DataSetField.js +19 -19
  34. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  35. package/dist/model/Device.js +124 -94
  36. package/dist/model/DeviceDfuHistory.js +20 -19
  37. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  38. package/dist/model/DeviceDfuStateMachine.js +25 -24
  39. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  40. package/dist/model/DeviceDfuStatus.js +20 -20
  41. package/dist/model/DeviceDfuStatusCurrent.js +32 -32
  42. package/dist/model/DeviceDfuStatusPage.js +13 -12
  43. package/dist/model/DeviceSession.js +182 -182
  44. package/dist/model/DeviceTowerInfo.js +14 -14
  45. package/dist/model/DeviceUsage.js +32 -32
  46. package/dist/model/DfuActionRequest.js +7 -7
  47. package/dist/model/EmailNotification.js +7 -7
  48. package/dist/model/EnvironmentVariables.js +8 -8
  49. package/dist/model/Error.js +31 -31
  50. package/dist/model/Event.js +243 -243
  51. package/dist/model/Firmware.js +49 -49
  52. package/dist/model/FirmwareInfo.js +60 -60
  53. package/dist/model/Fleet.js +34 -23
  54. package/dist/model/GetAlerts200Response.js +15 -14
  55. package/dist/model/GetBillingAccounts200Response.js +10 -9
  56. package/dist/model/GetDeviceEnvironmentVariables200Response.js +23 -12
  57. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  58. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  59. package/dist/model/GetDeviceLatest200Response.js +10 -9
  60. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  61. package/dist/model/GetDeviceSessions200Response.js +17 -16
  62. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -16
  63. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  64. package/dist/model/GetProjectDevices200Response.js +17 -16
  65. package/dist/model/GetProjectEvents200Response.js +21 -20
  66. package/dist/model/GetProjectEventsByCursor200Response.js +24 -23
  67. package/dist/model/GetProjectFleets200Response.js +12 -11
  68. package/dist/model/GetProjectMembers200Response.js +12 -11
  69. package/dist/model/GetProjectProducts200Response.js +10 -9
  70. package/dist/model/GetProjects200Response.js +10 -9
  71. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +35 -35
  72. package/dist/model/Google.js +33 -33
  73. package/dist/model/HandleNoteChanges200Response.js +11 -11
  74. package/dist/model/HandleNoteGet200Response.js +13 -13
  75. package/dist/model/HandleNoteSignal200Response.js +5 -5
  76. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  77. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  78. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  79. package/dist/model/Http.js +35 -35
  80. package/dist/model/HttpFilter.js +19 -19
  81. package/dist/model/HttpTransform.js +20 -20
  82. package/dist/model/Location.js +40 -40
  83. package/dist/model/Login200Response.js +7 -7
  84. package/dist/model/LoginRequest.js +12 -12
  85. package/dist/model/Monitor.js +100 -99
  86. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  87. package/dist/model/Mqtt.js +66 -66
  88. package/dist/model/Note.js +10 -10
  89. package/dist/model/NotefileSchema.js +19 -18
  90. package/dist/model/NotehubRoute.js +36 -36
  91. package/dist/model/NotehubRouteSchema.js +45 -46
  92. package/dist/model/PostProvisionProjectDeviceRequest.js +18 -18
  93. package/dist/model/Product.js +26 -26
  94. package/dist/model/Project.js +34 -34
  95. package/dist/model/ProjectMember.js +22 -22
  96. package/dist/model/Proxy.js +24 -24
  97. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  98. package/dist/model/QuestionDataResponseLineChart.js +39 -39
  99. package/dist/model/QuestionDataResponseMap.js +16 -16
  100. package/dist/model/Radresponder.js +25 -25
  101. package/dist/model/Repository.js +22 -22
  102. package/dist/model/Role.js +9 -9
  103. package/dist/model/SchemaProperty.js +40 -38
  104. package/dist/model/SimUsage.js +128 -0
  105. package/dist/model/Slack.js +53 -53
  106. package/dist/model/SlackBearerNotification.js +25 -25
  107. package/dist/model/SlackWebHookNotification.js +20 -20
  108. package/dist/model/Snowflake.js +45 -45
  109. package/dist/model/SnowflakeTransform.js +12 -12
  110. package/dist/model/Thingworx.js +33 -33
  111. package/dist/model/TowerLocation.js +52 -52
  112. package/dist/model/Twilio.js +43 -43
  113. package/dist/model/UpdateFleetRequest.js +22 -22
  114. package/dist/model/UploadMetadata.js +59 -59
  115. package/dist/model/UserDbRoute.js +25 -25
  116. package/dist/model/UserDfuStateMachine.js +20 -20
  117. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  118. package/dist/model/UserFirmwareInfo.js +12 -12
  119. package/package.json +3 -3
@@ -32,7 +32,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
32
32
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
33
33
  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); } /**
34
34
  * Notehub API
35
- * The OpenAPI definition for the Notehub.io API.
35
+ * The OpenAPI definition for the Notehub.io API.
36
36
  *
37
37
  * The version of the OpenAPI document: 1.2.0
38
38
  * Contact: engineering@blues.io
@@ -43,18 +43,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
43
43
  *
44
44
  */
45
45
  /**
46
- * Device service.
47
- * @module api/DeviceApi
48
- * @version 1.0.30
49
- */
46
+ * Device service.
47
+ * @module api/DeviceApi
48
+ * @version 1.0.31-beta.1
49
+ */
50
50
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
51
51
  /**
52
- * Constructs a new DeviceApi.
53
- * @alias module:api/DeviceApi
54
- * @class
55
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
56
- * default to {@link module:ApiClient#instance} if unspecified.
57
- */
52
+ * Constructs a new DeviceApi.
53
+ * @alias module:api/DeviceApi
54
+ * @class
55
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
56
+ * default to {@link module:ApiClient#instance} if unspecified.
57
+ */
58
58
  function DeviceApi(apiClient) {
59
59
  _classCallCheck(this, DeviceApi);
60
60
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -62,8 +62,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
62
62
 
63
63
  /**
64
64
  * Delete environment variable of a device
65
- * @param {String} projectUID
66
- * @param {String} deviceUID
65
+ * @param {String} projectUID
66
+ * @param {String} deviceUID
67
67
  * @param {String} key The environment variable key to delete.
68
68
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
69
69
  */
@@ -84,24 +84,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
84
84
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
85
85
  }
86
86
  var pathParams = {
87
- projectUID: projectUID,
88
- deviceUID: deviceUID,
89
- key: key
87
+ 'projectUID': projectUID,
88
+ 'deviceUID': deviceUID,
89
+ 'key': key
90
90
  };
91
91
  var queryParams = {};
92
92
  var headerParams = {};
93
93
  var formParams = {};
94
- var authNames = ["api_key"];
94
+ var authNames = ['api_key'];
95
95
  var contentTypes = [];
96
- var accepts = ["application/json"];
96
+ var accepts = ['application/json'];
97
97
  var returnType = _EnvironmentVariables["default"];
98
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
98
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
99
99
  }
100
100
 
101
101
  /**
102
102
  * Delete environment variable of a device
103
- * @param {String} projectUID
104
- * @param {String} deviceUID
103
+ * @param {String} projectUID
104
+ * @param {String} deviceUID
105
105
  * @param {String} key The environment variable key to delete.
106
106
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
107
107
  */
@@ -115,9 +115,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
115
115
 
116
116
  /**
117
117
  * Delete Device
118
- * @param {String} projectUID
119
- * @param {String} deviceUID
120
- * @param {Boolean} purge
118
+ * @param {String} projectUID
119
+ * @param {String} deviceUID
120
+ * @param {Boolean} purge
121
121
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
122
122
  */
123
123
  }, {
@@ -137,26 +137,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
137
137
  throw new _Error["default"]("Missing the required parameter 'purge' when calling deleteProjectDevice");
138
138
  }
139
139
  var pathParams = {
140
- projectUID: projectUID,
141
- deviceUID: deviceUID
140
+ 'projectUID': projectUID,
141
+ 'deviceUID': deviceUID
142
142
  };
143
143
  var queryParams = {
144
- purge: purge
144
+ 'purge': purge
145
145
  };
146
146
  var headerParams = {};
147
147
  var formParams = {};
148
- var authNames = ["api_key"];
148
+ var authNames = ['api_key'];
149
149
  var contentTypes = [];
150
- var accepts = ["application/json"];
150
+ var accepts = ['application/json'];
151
151
  var returnType = null;
152
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
152
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
153
153
  }
154
154
 
155
155
  /**
156
156
  * Delete Device
157
- * @param {String} projectUID
158
- * @param {String} deviceUID
159
- * @param {Boolean} purge
157
+ * @param {String} projectUID
158
+ * @param {String} deviceUID
159
+ * @param {Boolean} purge
160
160
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
161
161
  */
162
162
  }, {
@@ -169,8 +169,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
169
169
 
170
170
  /**
171
171
  * Disable Device
172
- * @param {String} projectUID
173
- * @param {String} deviceUID
172
+ * @param {String} projectUID
173
+ * @param {String} deviceUID
174
174
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
175
175
  */
176
176
  }, {
@@ -186,23 +186,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
186
186
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDevice");
187
187
  }
188
188
  var pathParams = {
189
- projectUID: projectUID,
190
- deviceUID: deviceUID
189
+ 'projectUID': projectUID,
190
+ 'deviceUID': deviceUID
191
191
  };
192
192
  var queryParams = {};
193
193
  var headerParams = {};
194
194
  var formParams = {};
195
- var authNames = ["api_key"];
195
+ var authNames = ['api_key'];
196
196
  var contentTypes = [];
197
- var accepts = ["application/json"];
197
+ var accepts = ['application/json'];
198
198
  var returnType = null;
199
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
199
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
200
200
  }
201
201
 
202
202
  /**
203
203
  * Disable Device
204
- * @param {String} projectUID
205
- * @param {String} deviceUID
204
+ * @param {String} projectUID
205
+ * @param {String} deviceUID
206
206
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
207
207
  */
208
208
  }, {
@@ -215,8 +215,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
215
215
 
216
216
  /**
217
217
  * Disable Connectivity Assurance
218
- * @param {String} projectUID
219
- * @param {String} deviceUID
218
+ * @param {String} projectUID
219
+ * @param {String} deviceUID
220
220
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
221
221
  */
222
222
  }, {
@@ -232,23 +232,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
232
232
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDeviceConnectivityAssurance");
233
233
  }
234
234
  var pathParams = {
235
- projectUID: projectUID,
236
- deviceUID: deviceUID
235
+ 'projectUID': projectUID,
236
+ 'deviceUID': deviceUID
237
237
  };
238
238
  var queryParams = {};
239
239
  var headerParams = {};
240
240
  var formParams = {};
241
- var authNames = ["api_key"];
241
+ var authNames = ['api_key'];
242
242
  var contentTypes = [];
243
- var accepts = ["application/json"];
243
+ var accepts = ['application/json'];
244
244
  var returnType = null;
245
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
245
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
246
246
  }
247
247
 
248
248
  /**
249
249
  * Disable Connectivity Assurance
250
- * @param {String} projectUID
251
- * @param {String} deviceUID
250
+ * @param {String} projectUID
251
+ * @param {String} deviceUID
252
252
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
253
253
  */
254
254
  }, {
@@ -261,8 +261,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
261
261
 
262
262
  /**
263
263
  * Enable Device
264
- * @param {String} projectUID
265
- * @param {String} deviceUID
264
+ * @param {String} projectUID
265
+ * @param {String} deviceUID
266
266
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
267
267
  */
268
268
  }, {
@@ -278,23 +278,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
278
278
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
279
279
  }
280
280
  var pathParams = {
281
- projectUID: projectUID,
282
- deviceUID: deviceUID
281
+ 'projectUID': projectUID,
282
+ 'deviceUID': deviceUID
283
283
  };
284
284
  var queryParams = {};
285
285
  var headerParams = {};
286
286
  var formParams = {};
287
- var authNames = ["api_key"];
287
+ var authNames = ['api_key'];
288
288
  var contentTypes = [];
289
- var accepts = ["application/json"];
289
+ var accepts = ['application/json'];
290
290
  var returnType = null;
291
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
291
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
292
292
  }
293
293
 
294
294
  /**
295
295
  * Enable Device
296
- * @param {String} projectUID
297
- * @param {String} deviceUID
296
+ * @param {String} projectUID
297
+ * @param {String} deviceUID
298
298
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
299
299
  */
300
300
  }, {
@@ -307,8 +307,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
307
307
 
308
308
  /**
309
309
  * Enable Connectivity Assurance
310
- * @param {String} projectUID
311
- * @param {String} deviceUID
310
+ * @param {String} projectUID
311
+ * @param {String} deviceUID
312
312
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
313
313
  */
314
314
  }, {
@@ -324,23 +324,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
324
324
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDeviceConnectivityAssurance");
325
325
  }
326
326
  var pathParams = {
327
- projectUID: projectUID,
328
- deviceUID: deviceUID
327
+ 'projectUID': projectUID,
328
+ 'deviceUID': deviceUID
329
329
  };
330
330
  var queryParams = {};
331
331
  var headerParams = {};
332
332
  var formParams = {};
333
- var authNames = ["api_key"];
333
+ var authNames = ['api_key'];
334
334
  var contentTypes = [];
335
- var accepts = ["application/json"];
335
+ var accepts = ['application/json'];
336
336
  var returnType = null;
337
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
337
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
338
338
  }
339
339
 
340
340
  /**
341
341
  * Enable Connectivity Assurance
342
- * @param {String} projectUID
343
- * @param {String} deviceUID
342
+ * @param {String} projectUID
343
+ * @param {String} deviceUID
344
344
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
345
345
  */
346
346
  }, {
@@ -353,8 +353,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
353
353
 
354
354
  /**
355
355
  * Get Device
356
- * @param {String} projectUID
357
- * @param {String} deviceUID
356
+ * @param {String} projectUID
357
+ * @param {String} deviceUID
358
358
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
359
359
  */
360
360
  }, {
@@ -370,23 +370,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
370
370
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
371
371
  }
372
372
  var pathParams = {
373
- projectUID: projectUID,
374
- deviceUID: deviceUID
373
+ 'projectUID': projectUID,
374
+ 'deviceUID': deviceUID
375
375
  };
376
376
  var queryParams = {};
377
377
  var headerParams = {};
378
378
  var formParams = {};
379
- var authNames = ["api_key"];
379
+ var authNames = ['api_key'];
380
380
  var contentTypes = [];
381
- var accepts = ["application/json"];
381
+ var accepts = ['application/json'];
382
382
  var returnType = _Device["default"];
383
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
383
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
384
384
  }
385
385
 
386
386
  /**
387
387
  * Get Device
388
- * @param {String} projectUID
389
- * @param {String} deviceUID
388
+ * @param {String} projectUID
389
+ * @param {String} deviceUID
390
390
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
391
391
  */
392
392
  }, {
@@ -399,8 +399,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
399
399
 
400
400
  /**
401
401
  * Get environment variables of a device
402
- * @param {String} projectUID
403
- * @param {String} deviceUID
402
+ * @param {String} projectUID
403
+ * @param {String} deviceUID
404
404
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
405
405
  */
406
406
  }, {
@@ -416,23 +416,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
416
416
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
417
417
  }
418
418
  var pathParams = {
419
- projectUID: projectUID,
420
- deviceUID: deviceUID
419
+ 'projectUID': projectUID,
420
+ 'deviceUID': deviceUID
421
421
  };
422
422
  var queryParams = {};
423
423
  var headerParams = {};
424
424
  var formParams = {};
425
- var authNames = ["api_key"];
425
+ var authNames = ['api_key'];
426
426
  var contentTypes = [];
427
- var accepts = ["application/json"];
427
+ var accepts = ['application/json'];
428
428
  var returnType = _GetDeviceEnvironmentVariables200Response["default"];
429
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
429
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
430
430
  }
431
431
 
432
432
  /**
433
433
  * Get environment variables of a device
434
- * @param {String} projectUID
435
- * @param {String} deviceUID
434
+ * @param {String} projectUID
435
+ * @param {String} deviceUID
436
436
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
437
437
  */
438
438
  }, {
@@ -445,8 +445,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
445
445
 
446
446
  /**
447
447
  * Get environment variables of a device with device pin authorization
448
- * @param {String} productUID
449
- * @param {String} deviceUID
448
+ * @param {String} productUID
449
+ * @param {String} deviceUID
450
450
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
451
451
  */
452
452
  }, {
@@ -462,23 +462,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
462
462
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariablesByPin");
463
463
  }
464
464
  var pathParams = {
465
- productUID: productUID,
466
- deviceUID: deviceUID
465
+ 'productUID': productUID,
466
+ 'deviceUID': deviceUID
467
467
  };
468
468
  var queryParams = {};
469
469
  var headerParams = {};
470
470
  var formParams = {};
471
- var authNames = ["pin"];
471
+ var authNames = ['pin'];
472
472
  var contentTypes = [];
473
- var accepts = ["application/json"];
473
+ var accepts = ['application/json'];
474
474
  var returnType = _GetDeviceEnvironmentVariables200Response["default"];
475
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
475
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
476
476
  }
477
477
 
478
478
  /**
479
479
  * Get environment variables of a device with device pin authorization
480
- * @param {String} productUID
481
- * @param {String} deviceUID
480
+ * @param {String} productUID
481
+ * @param {String} deviceUID
482
482
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
483
483
  */
484
484
  }, {
@@ -491,8 +491,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
491
491
 
492
492
  /**
493
493
  * Get Device Health Log
494
- * @param {String} projectUID
495
- * @param {String} deviceUID
494
+ * @param {String} projectUID
495
+ * @param {String} deviceUID
496
496
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
497
497
  */
498
498
  }, {
@@ -508,23 +508,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
508
508
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
509
509
  }
510
510
  var pathParams = {
511
- projectUID: projectUID,
512
- deviceUID: deviceUID
511
+ 'projectUID': projectUID,
512
+ 'deviceUID': deviceUID
513
513
  };
514
514
  var queryParams = {};
515
515
  var headerParams = {};
516
516
  var formParams = {};
517
- var authNames = ["api_key"];
517
+ var authNames = ['api_key'];
518
518
  var contentTypes = [];
519
- var accepts = ["application/json"];
519
+ var accepts = ['application/json'];
520
520
  var returnType = _GetDeviceHealthLog200Response["default"];
521
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/health-log", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
521
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
522
522
  }
523
523
 
524
524
  /**
525
525
  * Get Device Health Log
526
- * @param {String} projectUID
527
- * @param {String} deviceUID
526
+ * @param {String} projectUID
527
+ * @param {String} deviceUID
528
528
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
529
529
  */
530
530
  }, {
@@ -537,8 +537,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
537
537
 
538
538
  /**
539
539
  * Get Device Latest Events
540
- * @param {String} projectUID
541
- * @param {String} deviceUID
540
+ * @param {String} projectUID
541
+ * @param {String} deviceUID
542
542
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatest200Response} and HTTP response
543
543
  */
544
544
  }, {
@@ -554,23 +554,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
554
554
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatest");
555
555
  }
556
556
  var pathParams = {
557
- projectUID: projectUID,
558
- deviceUID: deviceUID
557
+ 'projectUID': projectUID,
558
+ 'deviceUID': deviceUID
559
559
  };
560
560
  var queryParams = {};
561
561
  var headerParams = {};
562
562
  var formParams = {};
563
- var authNames = ["api_key"];
563
+ var authNames = ['api_key'];
564
564
  var contentTypes = [];
565
- var accepts = ["application/json"];
565
+ var accepts = ['application/json'];
566
566
  var returnType = _GetDeviceLatest200Response["default"];
567
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/latest", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
567
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
568
568
  }
569
569
 
570
570
  /**
571
571
  * Get Device Latest Events
572
- * @param {String} projectUID
573
- * @param {String} deviceUID
572
+ * @param {String} projectUID
573
+ * @param {String} deviceUID
574
574
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatest200Response}
575
575
  */
576
576
  }, {
@@ -583,8 +583,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
583
583
 
584
584
  /**
585
585
  * Get Device Public Key
586
- * @param {String} projectUID
587
- * @param {String} deviceUID
586
+ * @param {String} projectUID
587
+ * @param {String} deviceUID
588
588
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
589
589
  */
590
590
  }, {
@@ -600,23 +600,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
600
600
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
601
601
  }
602
602
  var pathParams = {
603
- projectUID: projectUID,
604
- deviceUID: deviceUID
603
+ 'projectUID': projectUID,
604
+ 'deviceUID': deviceUID
605
605
  };
606
606
  var queryParams = {};
607
607
  var headerParams = {};
608
608
  var formParams = {};
609
- var authNames = ["api_key"];
609
+ var authNames = ['api_key'];
610
610
  var contentTypes = [];
611
- var accepts = ["application/json"];
611
+ var accepts = ['application/json'];
612
612
  var returnType = _GetDevicePublicKey200Response["default"];
613
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/public-key", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
613
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
614
614
  }
615
615
 
616
616
  /**
617
617
  * Get Device Public Key
618
- * @param {String} projectUID
619
- * @param {String} deviceUID
618
+ * @param {String} projectUID
619
+ * @param {String} deviceUID
620
620
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
621
621
  */
622
622
  }, {
@@ -629,8 +629,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
629
629
 
630
630
  /**
631
631
  * Get Device Sessions
632
- * @param {String} projectUID
633
- * @param {String} deviceUID
632
+ * @param {String} projectUID
633
+ * @param {String} deviceUID
634
634
  * @param {Object} opts Optional parameters
635
635
  * @param {Number} opts.pageSize (default to 50)
636
636
  * @param {Number} opts.pageNum (default to 1)
@@ -650,26 +650,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
650
650
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
651
651
  }
652
652
  var pathParams = {
653
- projectUID: projectUID,
654
- deviceUID: deviceUID
653
+ 'projectUID': projectUID,
654
+ 'deviceUID': deviceUID
655
655
  };
656
656
  var queryParams = {
657
- pageSize: opts["pageSize"],
658
- pageNum: opts["pageNum"]
657
+ 'pageSize': opts['pageSize'],
658
+ 'pageNum': opts['pageNum']
659
659
  };
660
660
  var headerParams = {};
661
661
  var formParams = {};
662
- var authNames = ["api_key"];
662
+ var authNames = ['api_key'];
663
663
  var contentTypes = [];
664
- var accepts = ["application/json"];
664
+ var accepts = ['application/json'];
665
665
  var returnType = _GetDeviceSessions200Response["default"];
666
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/sessions", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
666
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
667
667
  }
668
668
 
669
669
  /**
670
670
  * Get Device Sessions
671
- * @param {String} projectUID
672
- * @param {String} deviceUID
671
+ * @param {String} projectUID
672
+ * @param {String} deviceUID
673
673
  * @param {Object} opts Optional parameters
674
674
  * @param {Number} opts.pageSize (default to 50)
675
675
  * @param {Number} opts.pageNum (default to 1)
@@ -685,7 +685,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
685
685
 
686
686
  /**
687
687
  * Get Device Public Keys of a Project
688
- * @param {String} projectUID
688
+ * @param {String} projectUID
689
689
  * @param {Object} opts Optional parameters
690
690
  * @param {Number} opts.pageSize (default to 50)
691
691
  * @param {Number} opts.pageNum (default to 1)
@@ -701,24 +701,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
701
701
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectDevicePublicKeys");
702
702
  }
703
703
  var pathParams = {
704
- projectUID: projectUID
704
+ 'projectUID': projectUID
705
705
  };
706
706
  var queryParams = {
707
- pageSize: opts["pageSize"],
708
- pageNum: opts["pageNum"]
707
+ 'pageSize': opts['pageSize'],
708
+ 'pageNum': opts['pageNum']
709
709
  };
710
710
  var headerParams = {};
711
711
  var formParams = {};
712
- var authNames = ["api_key"];
712
+ var authNames = ['api_key'];
713
713
  var contentTypes = [];
714
- var accepts = ["application/json"];
714
+ var accepts = ['application/json'];
715
715
  var returnType = _GetProjectDevicePublicKeys200Response["default"];
716
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/public-keys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
716
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
717
717
  }
718
718
 
719
719
  /**
720
720
  * Get Device Public Keys of a Project
721
- * @param {String} projectUID
721
+ * @param {String} projectUID
722
722
  * @param {Object} opts Optional parameters
723
723
  * @param {Number} opts.pageSize (default to 50)
724
724
  * @param {Number} opts.pageNum (default to 1)
@@ -734,18 +734,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
734
734
 
735
735
  /**
736
736
  * Get Devices of a Project
737
- * @param {String} projectUID
737
+ * @param {String} projectUID
738
738
  * @param {Object} opts Optional parameters
739
739
  * @param {Number} opts.pageSize (default to 50)
740
740
  * @param {Number} opts.pageNum (default to 1)
741
741
  * @param {Array.<String>} opts.deviceUID A Device UID.
742
742
  * @param {Array.<String>} opts.tag Tag filter
743
743
  * @param {Array.<String>} opts.serialNumber Serial number filter
744
- * @param {Array.<String>} opts.fleetUID
744
+ * @param {Array.<String>} opts.fleetUID
745
745
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
746
746
  * @param {Array.<String>} opts.location Location filter
747
747
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
748
- * @param {Array.<String>} opts.productUID
748
+ * @param {Array.<String>} opts.productUID
749
749
  * @param {Array.<String>} opts.sku SKU filter
750
750
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectDevices200Response} and HTTP response
751
751
  */
@@ -759,44 +759,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
759
759
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectDevices");
760
760
  }
761
761
  var pathParams = {
762
- projectUID: projectUID
762
+ 'projectUID': projectUID
763
763
  };
764
764
  var queryParams = {
765
- pageSize: opts["pageSize"],
766
- pageNum: opts["pageNum"],
767
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
768
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
769
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
770
- fleetUID: this.apiClient.buildCollectionParam(opts["fleetUID"], "multi"),
771
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
772
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
773
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
774
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
775
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
765
+ 'pageSize': opts['pageSize'],
766
+ 'pageNum': opts['pageNum'],
767
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
768
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
769
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
770
+ 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
771
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
772
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
773
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
774
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
775
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
776
776
  };
777
777
  var headerParams = {};
778
778
  var formParams = {};
779
- var authNames = ["api_key"];
779
+ var authNames = ['api_key'];
780
780
  var contentTypes = [];
781
- var accepts = ["application/json"];
781
+ var accepts = ['application/json'];
782
782
  var returnType = _GetProjectDevices200Response["default"];
783
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
783
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
784
784
  }
785
785
 
786
786
  /**
787
787
  * Get Devices of a Project
788
- * @param {String} projectUID
788
+ * @param {String} projectUID
789
789
  * @param {Object} opts Optional parameters
790
790
  * @param {Number} opts.pageSize (default to 50)
791
791
  * @param {Number} opts.pageNum (default to 1)
792
792
  * @param {Array.<String>} opts.deviceUID A Device UID.
793
793
  * @param {Array.<String>} opts.tag Tag filter
794
794
  * @param {Array.<String>} opts.serialNumber Serial number filter
795
- * @param {Array.<String>} opts.fleetUID
795
+ * @param {Array.<String>} opts.fleetUID
796
796
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
797
797
  * @param {Array.<String>} opts.location Location filter
798
798
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
799
- * @param {Array.<String>} opts.productUID
799
+ * @param {Array.<String>} opts.productUID
800
800
  * @param {Array.<String>} opts.sku SKU filter
801
801
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectDevices200Response}
802
802
  */
@@ -810,8 +810,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
810
810
 
811
811
  /**
812
812
  * Get Devices of a Fleet within a Project
813
- * @param {String} projectUID
814
- * @param {String} fleetUID
813
+ * @param {String} projectUID
814
+ * @param {String} fleetUID
815
815
  * @param {Object} opts Optional parameters
816
816
  * @param {Number} opts.pageSize (default to 50)
817
817
  * @param {Number} opts.pageNum (default to 1)
@@ -821,7 +821,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
821
821
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
822
822
  * @param {Array.<String>} opts.location Location filter
823
823
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
824
- * @param {Array.<String>} opts.productUID
824
+ * @param {Array.<String>} opts.productUID
825
825
  * @param {Array.<String>} opts.sku SKU filter
826
826
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectDevices200Response} and HTTP response
827
827
  */
@@ -839,34 +839,34 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
839
839
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getProjectFleetDevices");
840
840
  }
841
841
  var pathParams = {
842
- projectUID: projectUID,
843
- fleetUID: fleetUID
842
+ 'projectUID': projectUID,
843
+ 'fleetUID': fleetUID
844
844
  };
845
845
  var queryParams = {
846
- pageSize: opts["pageSize"],
847
- pageNum: opts["pageNum"],
848
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
849
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
850
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
851
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
852
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
853
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
854
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
855
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
846
+ 'pageSize': opts['pageSize'],
847
+ 'pageNum': opts['pageNum'],
848
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
849
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
850
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
851
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
852
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
853
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
854
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
855
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
856
856
  };
857
857
  var headerParams = {};
858
858
  var formParams = {};
859
- var authNames = ["api_key"];
859
+ var authNames = ['api_key'];
860
860
  var contentTypes = [];
861
- var accepts = ["application/json"];
861
+ var accepts = ['application/json'];
862
862
  var returnType = _GetProjectDevices200Response["default"];
863
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
863
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
864
864
  }
865
865
 
866
866
  /**
867
867
  * Get Devices of a Fleet within a Project
868
- * @param {String} projectUID
869
- * @param {String} fleetUID
868
+ * @param {String} projectUID
869
+ * @param {String} fleetUID
870
870
  * @param {Object} opts Optional parameters
871
871
  * @param {Number} opts.pageSize (default to 50)
872
872
  * @param {Number} opts.pageNum (default to 1)
@@ -876,7 +876,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
876
876
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
877
877
  * @param {Array.<String>} opts.location Location filter
878
878
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
879
- * @param {Array.<String>} opts.productUID
879
+ * @param {Array.<String>} opts.productUID
880
880
  * @param {Array.<String>} opts.sku SKU filter
881
881
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectDevices200Response}
882
882
  */
@@ -890,9 +890,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
890
890
 
891
891
  /**
892
892
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
893
- * @param {String} projectUID
894
- * @param {String} deviceUID
895
- * @param {String} notefileID
893
+ * @param {String} projectUID
894
+ * @param {String} deviceUID
895
+ * @param {String} notefileID
896
896
  * @param {module:model/Note} note Body or payload of note to be added to the device
897
897
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
898
898
  */
@@ -917,25 +917,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
917
917
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteAdd");
918
918
  }
919
919
  var pathParams = {
920
- projectUID: projectUID,
921
- deviceUID: deviceUID,
922
- notefileID: notefileID
920
+ 'projectUID': projectUID,
921
+ 'deviceUID': deviceUID,
922
+ 'notefileID': notefileID
923
923
  };
924
924
  var queryParams = {};
925
925
  var headerParams = {};
926
926
  var formParams = {};
927
- var authNames = ["api_key"];
928
- var contentTypes = ["application/json"];
929
- var accepts = ["application/json"];
927
+ var authNames = ['api_key'];
928
+ var contentTypes = ['application/json'];
929
+ var accepts = ['application/json'];
930
930
  var returnType = null;
931
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
931
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
932
932
  }
933
933
 
934
934
  /**
935
935
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
936
- * @param {String} projectUID
937
- * @param {String} deviceUID
938
- * @param {String} notefileID
936
+ * @param {String} projectUID
937
+ * @param {String} deviceUID
938
+ * @param {String} notefileID
939
939
  * @param {module:model/Note} note Body or payload of note to be added to the device
940
940
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
941
941
  */
@@ -949,9 +949,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
949
949
 
950
950
  /**
951
951
  * Incrementally retrieve changes within a specific Notefile.
952
- * @param {String} projectUID
953
- * @param {String} deviceUID
954
- * @param {String} notefileID
952
+ * @param {String} projectUID
953
+ * @param {String} deviceUID
954
+ * @param {String} notefileID
955
955
  * @param {Object} opts Optional parameters
956
956
  * @param {String} opts.tracker The change tracker ID.
957
957
  * @param {Number} opts.max The maximum number of Notes to return in the request.
@@ -979,32 +979,32 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
979
979
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling handleNoteChanges");
980
980
  }
981
981
  var pathParams = {
982
- projectUID: projectUID,
983
- deviceUID: deviceUID,
984
- notefileID: notefileID
982
+ 'projectUID': projectUID,
983
+ 'deviceUID': deviceUID,
984
+ 'notefileID': notefileID
985
985
  };
986
986
  var queryParams = {
987
- tracker: opts["tracker"],
988
- max: opts["max"],
989
- start: opts["start"],
990
- stop: opts["stop"],
991
- deleted: opts["deleted"],
992
- "delete": opts["_delete"]
987
+ 'tracker': opts['tracker'],
988
+ 'max': opts['max'],
989
+ 'start': opts['start'],
990
+ 'stop': opts['stop'],
991
+ 'deleted': opts['deleted'],
992
+ 'delete': opts['_delete']
993
993
  };
994
994
  var headerParams = {};
995
995
  var formParams = {};
996
- var authNames = ["api_key"];
996
+ var authNames = ['api_key'];
997
997
  var contentTypes = [];
998
- var accepts = ["application/json"];
998
+ var accepts = ['application/json'];
999
999
  var returnType = _HandleNoteChanges200Response["default"];
1000
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1000
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1001
1001
  }
1002
1002
 
1003
1003
  /**
1004
1004
  * Incrementally retrieve changes within a specific Notefile.
1005
- * @param {String} projectUID
1006
- * @param {String} deviceUID
1007
- * @param {String} notefileID
1005
+ * @param {String} projectUID
1006
+ * @param {String} deviceUID
1007
+ * @param {String} notefileID
1008
1008
  * @param {Object} opts Optional parameters
1009
1009
  * @param {String} opts.tracker The change tracker ID.
1010
1010
  * @param {Number} opts.max The maximum number of Notes to return in the request.
@@ -1024,10 +1024,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1024
1024
 
1025
1025
  /**
1026
1026
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1027
- * @param {String} projectUID
1028
- * @param {String} deviceUID
1029
- * @param {String} notefileID
1030
- * @param {String} noteID
1027
+ * @param {String} projectUID
1028
+ * @param {String} deviceUID
1029
+ * @param {String} notefileID
1030
+ * @param {String} noteID
1031
1031
  * @param {module:model/Note} note Body or payload of note to be added to the device
1032
1032
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1033
1033
  */
@@ -1056,27 +1056,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1056
1056
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteCreateAdd");
1057
1057
  }
1058
1058
  var pathParams = {
1059
- projectUID: projectUID,
1060
- deviceUID: deviceUID,
1061
- notefileID: notefileID,
1062
- noteID: noteID
1059
+ 'projectUID': projectUID,
1060
+ 'deviceUID': deviceUID,
1061
+ 'notefileID': notefileID,
1062
+ 'noteID': noteID
1063
1063
  };
1064
1064
  var queryParams = {};
1065
1065
  var headerParams = {};
1066
1066
  var formParams = {};
1067
- var authNames = ["api_key"];
1068
- var contentTypes = ["application/json"];
1069
- var accepts = ["application/json"];
1067
+ var authNames = ['api_key'];
1068
+ var contentTypes = ['application/json'];
1069
+ var accepts = ['application/json'];
1070
1070
  var returnType = null;
1071
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1071
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1072
1072
  }
1073
1073
 
1074
1074
  /**
1075
1075
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1076
- * @param {String} projectUID
1077
- * @param {String} deviceUID
1078
- * @param {String} notefileID
1079
- * @param {String} noteID
1076
+ * @param {String} projectUID
1077
+ * @param {String} deviceUID
1078
+ * @param {String} notefileID
1079
+ * @param {String} noteID
1080
1080
  * @param {module:model/Note} note Body or payload of note to be added to the device
1081
1081
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1082
1082
  */
@@ -1090,10 +1090,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1090
1090
 
1091
1091
  /**
1092
1092
  * Delete a note from a DB notefile
1093
- * @param {String} projectUID
1094
- * @param {String} deviceUID
1095
- * @param {String} notefileID
1096
- * @param {String} noteID
1093
+ * @param {String} projectUID
1094
+ * @param {String} deviceUID
1095
+ * @param {String} notefileID
1096
+ * @param {String} noteID
1097
1097
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1098
1098
  */
1099
1099
  }, {
@@ -1117,27 +1117,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1117
1117
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteDelete");
1118
1118
  }
1119
1119
  var pathParams = {
1120
- projectUID: projectUID,
1121
- deviceUID: deviceUID,
1122
- notefileID: notefileID,
1123
- noteID: noteID
1120
+ 'projectUID': projectUID,
1121
+ 'deviceUID': deviceUID,
1122
+ 'notefileID': notefileID,
1123
+ 'noteID': noteID
1124
1124
  };
1125
1125
  var queryParams = {};
1126
1126
  var headerParams = {};
1127
1127
  var formParams = {};
1128
- var authNames = ["api_key"];
1128
+ var authNames = ['api_key'];
1129
1129
  var contentTypes = [];
1130
- var accepts = ["application/json"];
1130
+ var accepts = ['application/json'];
1131
1131
  var returnType = null;
1132
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1132
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1133
1133
  }
1134
1134
 
1135
1135
  /**
1136
1136
  * Delete a note from a DB notefile
1137
- * @param {String} projectUID
1138
- * @param {String} deviceUID
1139
- * @param {String} notefileID
1140
- * @param {String} noteID
1137
+ * @param {String} projectUID
1138
+ * @param {String} deviceUID
1139
+ * @param {String} notefileID
1140
+ * @param {String} noteID
1141
1141
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1142
1142
  */
1143
1143
  }, {
@@ -1150,10 +1150,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1150
1150
 
1151
1151
  /**
1152
1152
  * Get a note from a DB notefile
1153
- * @param {String} projectUID
1154
- * @param {String} deviceUID
1155
- * @param {String} notefileID
1156
- * @param {String} noteID
1153
+ * @param {String} projectUID
1154
+ * @param {String} deviceUID
1155
+ * @param {String} notefileID
1156
+ * @param {String} noteID
1157
1157
  * @param {Object} opts Optional parameters
1158
1158
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
1159
1159
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -1181,30 +1181,30 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1181
1181
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteGet");
1182
1182
  }
1183
1183
  var pathParams = {
1184
- projectUID: projectUID,
1185
- deviceUID: deviceUID,
1186
- notefileID: notefileID,
1187
- noteID: noteID
1184
+ 'projectUID': projectUID,
1185
+ 'deviceUID': deviceUID,
1186
+ 'notefileID': notefileID,
1187
+ 'noteID': noteID
1188
1188
  };
1189
1189
  var queryParams = {
1190
- "delete": opts["_delete"],
1191
- deleted: opts["deleted"]
1190
+ 'delete': opts['_delete'],
1191
+ 'deleted': opts['deleted']
1192
1192
  };
1193
1193
  var headerParams = {};
1194
1194
  var formParams = {};
1195
- var authNames = ["api_key"];
1195
+ var authNames = ['api_key'];
1196
1196
  var contentTypes = [];
1197
- var accepts = ["application/json"];
1197
+ var accepts = ['application/json'];
1198
1198
  var returnType = _HandleNoteGet200Response["default"];
1199
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1199
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1200
1200
  }
1201
1201
 
1202
1202
  /**
1203
1203
  * Get a note from a DB notefile
1204
- * @param {String} projectUID
1205
- * @param {String} deviceUID
1206
- * @param {String} notefileID
1207
- * @param {String} noteID
1204
+ * @param {String} projectUID
1205
+ * @param {String} deviceUID
1206
+ * @param {String} notefileID
1207
+ * @param {String} noteID
1208
1208
  * @param {Object} opts Optional parameters
1209
1209
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
1210
1210
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -1220,8 +1220,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1220
1220
 
1221
1221
  /**
1222
1222
  * Send a signal from Notehub to a Notecard.
1223
- * @param {String} projectUID
1224
- * @param {String} deviceUID
1223
+ * @param {String} projectUID
1224
+ * @param {String} deviceUID
1225
1225
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1226
1226
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNoteSignal200Response} and HTTP response
1227
1227
  */
@@ -1242,23 +1242,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1242
1242
  throw new _Error["default"]("Missing the required parameter 'body' when calling handleNoteSignal");
1243
1243
  }
1244
1244
  var pathParams = {
1245
- projectUID: projectUID,
1246
- deviceUID: deviceUID
1245
+ 'projectUID': projectUID,
1246
+ 'deviceUID': deviceUID
1247
1247
  };
1248
1248
  var queryParams = {};
1249
1249
  var headerParams = {};
1250
1250
  var formParams = {};
1251
- var authNames = ["api_key"];
1252
- var contentTypes = ["application/json"];
1253
- var accepts = ["application/json"];
1251
+ var authNames = ['api_key'];
1252
+ var contentTypes = ['application/json'];
1253
+ var accepts = ['application/json'];
1254
1254
  var returnType = _HandleNoteSignal200Response["default"];
1255
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/signal", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1255
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1256
1256
  }
1257
1257
 
1258
1258
  /**
1259
1259
  * Send a signal from Notehub to a Notecard.
1260
- * @param {String} projectUID
1261
- * @param {String} deviceUID
1260
+ * @param {String} projectUID
1261
+ * @param {String} deviceUID
1262
1262
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1263
1263
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNoteSignal200Response}
1264
1264
  */
@@ -1272,10 +1272,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1272
1272
 
1273
1273
  /**
1274
1274
  * Update a note in a DB notefile
1275
- * @param {String} projectUID
1276
- * @param {String} deviceUID
1277
- * @param {String} notefileID
1278
- * @param {String} noteID
1275
+ * @param {String} projectUID
1276
+ * @param {String} deviceUID
1277
+ * @param {String} notefileID
1278
+ * @param {String} noteID
1279
1279
  * @param {module:model/Note} note Body or payload of note to be added to the device
1280
1280
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1281
1281
  */
@@ -1304,27 +1304,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1304
1304
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteUpdate");
1305
1305
  }
1306
1306
  var pathParams = {
1307
- projectUID: projectUID,
1308
- deviceUID: deviceUID,
1309
- notefileID: notefileID,
1310
- noteID: noteID
1307
+ 'projectUID': projectUID,
1308
+ 'deviceUID': deviceUID,
1309
+ 'notefileID': notefileID,
1310
+ 'noteID': noteID
1311
1311
  };
1312
1312
  var queryParams = {};
1313
1313
  var headerParams = {};
1314
1314
  var formParams = {};
1315
- var authNames = ["api_key"];
1316
- var contentTypes = ["application/json"];
1317
- var accepts = ["application/json"];
1315
+ var authNames = ['api_key'];
1316
+ var contentTypes = ['application/json'];
1317
+ var accepts = ['application/json'];
1318
1318
  var returnType = null;
1319
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1319
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1320
1320
  }
1321
1321
 
1322
1322
  /**
1323
1323
  * Update a note in a DB notefile
1324
- * @param {String} projectUID
1325
- * @param {String} deviceUID
1326
- * @param {String} notefileID
1327
- * @param {String} noteID
1324
+ * @param {String} projectUID
1325
+ * @param {String} deviceUID
1326
+ * @param {String} notefileID
1327
+ * @param {String} noteID
1328
1328
  * @param {module:model/Note} note Body or payload of note to be added to the device
1329
1329
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1330
1330
  */
@@ -1338,8 +1338,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1338
1338
 
1339
1339
  /**
1340
1340
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1341
- * @param {String} projectUID
1342
- * @param {String} deviceUID
1341
+ * @param {String} projectUID
1342
+ * @param {String} deviceUID
1343
1343
  * @param {Object} opts Optional parameters
1344
1344
  * @param {String} opts.tracker The change tracker ID.
1345
1345
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
@@ -1359,26 +1359,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1359
1359
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChanges");
1360
1360
  }
1361
1361
  var pathParams = {
1362
- projectUID: projectUID,
1363
- deviceUID: deviceUID
1362
+ 'projectUID': projectUID,
1363
+ 'deviceUID': deviceUID
1364
1364
  };
1365
1365
  var queryParams = {
1366
- tracker: opts["tracker"],
1367
- files: this.apiClient.buildCollectionParam(opts["files"], "multi")
1366
+ 'tracker': opts['tracker'],
1367
+ 'files': this.apiClient.buildCollectionParam(opts['files'], 'multi')
1368
1368
  };
1369
1369
  var headerParams = {};
1370
1370
  var formParams = {};
1371
- var authNames = ["api_key"];
1371
+ var authNames = ['api_key'];
1372
1372
  var contentTypes = [];
1373
- var accepts = ["application/json"];
1373
+ var accepts = ['application/json'];
1374
1374
  var returnType = _HandleNotefileChanges200Response["default"];
1375
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/files/changes", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1375
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1376
1376
  }
1377
1377
 
1378
1378
  /**
1379
1379
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1380
- * @param {String} projectUID
1381
- * @param {String} deviceUID
1380
+ * @param {String} projectUID
1381
+ * @param {String} deviceUID
1382
1382
  * @param {Object} opts Optional parameters
1383
1383
  * @param {String} opts.tracker The change tracker ID.
1384
1384
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
@@ -1394,8 +1394,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1394
1394
 
1395
1395
  /**
1396
1396
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1397
- * @param {String} projectUID
1398
- * @param {String} deviceUID
1397
+ * @param {String} projectUID
1398
+ * @param {String} deviceUID
1399
1399
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNotefileChangesPending200Response} and HTTP response
1400
1400
  */
1401
1401
  }, {
@@ -1411,23 +1411,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1411
1411
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChangesPending");
1412
1412
  }
1413
1413
  var pathParams = {
1414
- projectUID: projectUID,
1415
- deviceUID: deviceUID
1414
+ 'projectUID': projectUID,
1415
+ 'deviceUID': deviceUID
1416
1416
  };
1417
1417
  var queryParams = {};
1418
1418
  var headerParams = {};
1419
1419
  var formParams = {};
1420
- var authNames = ["api_key"];
1420
+ var authNames = ['api_key'];
1421
1421
  var contentTypes = [];
1422
- var accepts = ["application/json"];
1422
+ var accepts = ['application/json'];
1423
1423
  var returnType = _HandleNotefileChangesPending200Response["default"];
1424
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1424
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1425
1425
  }
1426
1426
 
1427
1427
  /**
1428
1428
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1429
- * @param {String} projectUID
1430
- * @param {String} deviceUID
1429
+ * @param {String} projectUID
1430
+ * @param {String} deviceUID
1431
1431
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNotefileChangesPending200Response}
1432
1432
  */
1433
1433
  }, {
@@ -1440,9 +1440,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1440
1440
 
1441
1441
  /**
1442
1442
  * Deletes Notefiles and the Notes they contain.
1443
- * @param {String} projectUID
1444
- * @param {String} deviceUID
1445
- * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1443
+ * @param {String} projectUID
1444
+ * @param {String} deviceUID
1445
+ * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1446
1446
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1447
1447
  */
1448
1448
  }, {
@@ -1462,24 +1462,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1462
1462
  throw new _Error["default"]("Missing the required parameter 'handleNotefileDeleteRequest' when calling handleNotefileDelete");
1463
1463
  }
1464
1464
  var pathParams = {
1465
- projectUID: projectUID,
1466
- deviceUID: deviceUID
1465
+ 'projectUID': projectUID,
1466
+ 'deviceUID': deviceUID
1467
1467
  };
1468
1468
  var queryParams = {};
1469
1469
  var headerParams = {};
1470
1470
  var formParams = {};
1471
- var authNames = ["api_key"];
1472
- var contentTypes = ["application/json"];
1473
- var accepts = ["application/json"];
1471
+ var authNames = ['api_key'];
1472
+ var contentTypes = ['application/json'];
1473
+ var accepts = ['application/json'];
1474
1474
  var returnType = null;
1475
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/files", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1475
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1476
1476
  }
1477
1477
 
1478
1478
  /**
1479
1479
  * Deletes Notefiles and the Notes they contain.
1480
- * @param {String} projectUID
1481
- * @param {String} deviceUID
1482
- * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1480
+ * @param {String} projectUID
1481
+ * @param {String} deviceUID
1482
+ * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1483
1483
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1484
1484
  */
1485
1485
  }, {
@@ -1492,8 +1492,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1492
1492
 
1493
1493
  /**
1494
1494
  * Provision Device for a Project
1495
- * @param {String} projectUID
1496
- * @param {String} deviceUID
1495
+ * @param {String} projectUID
1496
+ * @param {String} deviceUID
1497
1497
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1498
1498
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1499
1499
  */
@@ -1514,23 +1514,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1514
1514
  throw new _Error["default"]("Missing the required parameter 'postProvisionProjectDeviceRequest' when calling postProvisionProjectDevice");
1515
1515
  }
1516
1516
  var pathParams = {
1517
- projectUID: projectUID,
1518
- deviceUID: deviceUID
1517
+ 'projectUID': projectUID,
1518
+ 'deviceUID': deviceUID
1519
1519
  };
1520
1520
  var queryParams = {};
1521
1521
  var headerParams = {};
1522
1522
  var formParams = {};
1523
- var authNames = ["api_key"];
1524
- var contentTypes = ["application/json"];
1525
- var accepts = ["application/json"];
1523
+ var authNames = ['api_key'];
1524
+ var contentTypes = ['application/json'];
1525
+ var accepts = ['application/json'];
1526
1526
  var returnType = Object;
1527
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/provision", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1527
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1528
1528
  }
1529
1529
 
1530
1530
  /**
1531
1531
  * Provision Device for a Project
1532
- * @param {String} projectUID
1533
- * @param {String} deviceUID
1532
+ * @param {String} projectUID
1533
+ * @param {String} deviceUID
1534
1534
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1535
1535
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1536
1536
  */
@@ -1544,8 +1544,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1544
1544
 
1545
1545
  /**
1546
1546
  * Put environment variables of a device
1547
- * @param {String} projectUID
1548
- * @param {String} deviceUID
1547
+ * @param {String} projectUID
1548
+ * @param {String} deviceUID
1549
1549
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1550
1550
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1551
1551
  */
@@ -1566,23 +1566,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1566
1566
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariables");
1567
1567
  }
1568
1568
  var pathParams = {
1569
- projectUID: projectUID,
1570
- deviceUID: deviceUID
1569
+ 'projectUID': projectUID,
1570
+ 'deviceUID': deviceUID
1571
1571
  };
1572
1572
  var queryParams = {};
1573
1573
  var headerParams = {};
1574
1574
  var formParams = {};
1575
- var authNames = ["api_key"];
1576
- var contentTypes = ["application/json"];
1577
- var accepts = ["application/json"];
1575
+ var authNames = ['api_key'];
1576
+ var contentTypes = ['application/json'];
1577
+ var accepts = ['application/json'];
1578
1578
  var returnType = _EnvironmentVariables["default"];
1579
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1579
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1580
1580
  }
1581
1581
 
1582
1582
  /**
1583
1583
  * Put environment variables of a device
1584
- * @param {String} projectUID
1585
- * @param {String} deviceUID
1584
+ * @param {String} projectUID
1585
+ * @param {String} deviceUID
1586
1586
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1587
1587
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1588
1588
  */
@@ -1596,8 +1596,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1596
1596
 
1597
1597
  /**
1598
1598
  * Put environment variables of a device with device pin authorization
1599
- * @param {String} productUID
1600
- * @param {String} deviceUID
1599
+ * @param {String} productUID
1600
+ * @param {String} deviceUID
1601
1601
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1602
1602
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1603
1603
  */
@@ -1618,23 +1618,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1618
1618
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariablesByPin");
1619
1619
  }
1620
1620
  var pathParams = {
1621
- productUID: productUID,
1622
- deviceUID: deviceUID
1621
+ 'productUID': productUID,
1622
+ 'deviceUID': deviceUID
1623
1623
  };
1624
1624
  var queryParams = {};
1625
1625
  var headerParams = {};
1626
1626
  var formParams = {};
1627
- var authNames = ["pin"];
1628
- var contentTypes = ["application/json"];
1629
- var accepts = ["application/json"];
1627
+ var authNames = ['pin'];
1628
+ var contentTypes = ['application/json'];
1629
+ var accepts = ['application/json'];
1630
1630
  var returnType = _EnvironmentVariables["default"];
1631
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1631
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1632
1632
  }
1633
1633
 
1634
1634
  /**
1635
1635
  * Put environment variables of a device with device pin authorization
1636
- * @param {String} productUID
1637
- * @param {String} deviceUID
1636
+ * @param {String} productUID
1637
+ * @param {String} deviceUID
1638
1638
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1639
1639
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1640
1640
  */