@blues-inc/notehub-js 5.0.0 → 6.0.0-beta.2

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 (153) hide show
  1. package/README.md +260 -244
  2. package/dist/ApiClient.js +150 -150
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +31 -31
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +341 -433
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/ExternalDevicesApi.js +41 -41
  9. package/dist/api/JobsApi.js +359 -0
  10. package/dist/api/MonitorApi.js +52 -52
  11. package/dist/api/ProjectApi.js +436 -383
  12. package/dist/api/RouteApi.js +83 -83
  13. package/dist/api/UsageApi.js +75 -63
  14. package/dist/api/WebhookApi.js +51 -51
  15. package/dist/index.js +49 -0
  16. package/dist/model/AddDeviceToFleetsRequest.js +8 -8
  17. package/dist/model/Alert.js +76 -74
  18. package/dist/model/AlertDataInner.js +36 -36
  19. package/dist/model/AlertNotificationsInner.js +18 -18
  20. package/dist/model/AwsRoute.js +65 -65
  21. package/dist/model/AzureRoute.js +43 -43
  22. package/dist/model/BillingAccount.js +21 -21
  23. package/dist/model/BillingAccountRole.js +9 -9
  24. package/dist/model/BlynkRoute.js +28 -28
  25. package/dist/model/Body.js +5 -5
  26. package/dist/model/CancelJobRunResponse.js +111 -0
  27. package/dist/model/CellularPlan.js +34 -34
  28. package/dist/model/CloneProjectRequest.js +20 -20
  29. package/dist/model/Contact.js +22 -22
  30. package/dist/model/CreateFleetRequest.js +20 -20
  31. package/dist/model/CreateMonitor.js +127 -126
  32. package/dist/model/CreateProductRequest.js +22 -22
  33. package/dist/model/CreateProjectRequest.js +16 -16
  34. package/dist/model/CreateUpdateRepository.js +17 -17
  35. package/dist/model/CurrentFirmware.js +12 -12
  36. package/dist/model/DFUEnv.js +12 -12
  37. package/dist/model/DFUState.js +65 -65
  38. package/dist/model/DataField.js +7 -7
  39. package/dist/model/DataSetField.js +19 -19
  40. package/dist/model/DataUsage.js +14 -14
  41. package/dist/model/DatacakeRoute.js +35 -35
  42. package/dist/model/DeleteDeviceFromFleetsRequest.js +8 -8
  43. package/dist/model/DeleteNotefilesRequest.js +7 -7
  44. package/dist/model/Device.js +107 -106
  45. package/dist/model/DeviceDfuHistory.js +20 -19
  46. package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
  47. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  48. package/dist/model/DeviceDfuStateMachine.js +25 -24
  49. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  50. package/dist/model/DeviceDfuStatus.js +20 -20
  51. package/dist/model/DeviceDfuStatusPage.js +13 -12
  52. package/dist/model/DeviceSession.js +221 -221
  53. package/dist/model/DeviceTowerInfo.js +14 -14
  54. package/dist/model/DeviceUsage.js +32 -32
  55. package/dist/model/DfuActionRequest.js +7 -7
  56. package/dist/model/EmailNotification.js +7 -7
  57. package/dist/model/EnvTreeJsonNode.js +69 -67
  58. package/dist/model/EnvVar.js +18 -18
  59. package/dist/model/EnvironmentVariables.js +8 -8
  60. package/dist/model/Error.js +31 -31
  61. package/dist/model/Event.js +248 -248
  62. package/dist/model/Filter.js +16 -16
  63. package/dist/model/Firmware.js +49 -49
  64. package/dist/model/FirmwareInfo.js +60 -60
  65. package/dist/model/Fleet.js +38 -38
  66. package/dist/model/FleetConnectivityAssurance.js +5 -5
  67. package/dist/model/GetAlerts200Response.js +15 -14
  68. package/dist/model/GetBillingAccounts200Response.js +10 -9
  69. package/dist/model/GetDataUsage200Response.js +19 -9
  70. package/dist/model/GetDataUsage200ResponseDataInner.js +44 -43
  71. package/dist/model/GetDbNote200Response.js +13 -13
  72. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
  73. package/dist/model/GetDeviceFleets200Response.js +12 -11
  74. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  75. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  76. package/dist/model/GetDeviceLatestEvents200Response.js +10 -9
  77. package/dist/model/GetDevicePlans200Response.js +10 -9
  78. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  79. package/dist/model/GetDevicePublicKeys200Response.js +17 -16
  80. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  81. package/dist/model/GetDeviceSessions200Response.js +17 -16
  82. package/dist/model/GetDevices200Response.js +17 -16
  83. package/dist/model/GetEvents200Response.js +21 -20
  84. package/dist/model/GetEventsByCursor200Response.js +24 -23
  85. package/dist/model/GetJobRunsResponse.js +143 -0
  86. package/dist/model/GetJobsResponse.js +143 -0
  87. package/dist/model/GetNotefile200Response.js +11 -11
  88. package/dist/model/GetProducts200Response.js +10 -9
  89. package/dist/model/GetProjectMembers200Response.js +12 -11
  90. package/dist/model/GetProjects200Response.js +10 -9
  91. package/dist/model/GetRouteLogsUsage200Response.js +21 -11
  92. package/dist/model/GetSessionsUsage200Response.js +27 -15
  93. package/dist/model/GetWebhooks200Response.js +10 -9
  94. package/dist/model/GoogleRoute.js +33 -33
  95. package/dist/model/HttpRoute.js +35 -35
  96. package/dist/model/Job.js +200 -0
  97. package/dist/model/JobRun.js +277 -0
  98. package/dist/model/Location.js +40 -40
  99. package/dist/model/Login200Response.js +7 -7
  100. package/dist/model/LoginRequest.js +12 -12
  101. package/dist/model/Monitor.js +101 -100
  102. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  103. package/dist/model/MqttRoute.js +68 -68
  104. package/dist/model/Note.js +31 -31
  105. package/dist/model/NoteInput.js +9 -9
  106. package/dist/model/Notefile.js +23 -22
  107. package/dist/model/NotefileSchema.js +19 -18
  108. package/dist/model/NotehubRoute.js +103 -103
  109. package/dist/model/NotehubRouteSummary.js +23 -23
  110. package/dist/model/OAuth2Error.js +20 -20
  111. package/dist/model/OAuth2TokenResponse.js +23 -23
  112. package/dist/model/PersonalAccessToken.js +34 -34
  113. package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
  114. package/dist/model/PersonalAccessTokenInfo.js +18 -18
  115. package/dist/model/PersonalAccessTokenSecret.js +12 -12
  116. package/dist/model/Product.js +26 -26
  117. package/dist/model/Project.js +34 -34
  118. package/dist/model/ProjectMember.js +22 -22
  119. package/dist/model/ProvisionDeviceRequest.js +18 -18
  120. package/dist/model/ProxyRoute.js +29 -29
  121. package/dist/model/QubitroRoute.js +33 -33
  122. package/dist/model/RadRoute.js +31 -31
  123. package/dist/model/Repository.js +22 -22
  124. package/dist/model/Role.js +9 -9
  125. package/dist/model/RouteLog.js +38 -38
  126. package/dist/model/RouteTransformSettings.js +18 -18
  127. package/dist/model/RunJobResponse.js +115 -0
  128. package/dist/model/S3ArchiveRoute.js +79 -79
  129. package/dist/model/SatelliteDataUsage.js +18 -18
  130. package/dist/model/SatellitePlan.js +29 -29
  131. package/dist/model/SchemaProperty.js +38 -36
  132. package/dist/model/SignalDevice200Response.js +5 -5
  133. package/dist/model/SimUsage.js +19 -19
  134. package/dist/model/SlackBearerNotification.js +25 -25
  135. package/dist/model/SlackRoute.js +48 -48
  136. package/dist/model/SlackWebHookNotification.js +20 -20
  137. package/dist/model/SnowflakeRoute.js +45 -45
  138. package/dist/model/SnowpipeStreamingRoute.js +60 -60
  139. package/dist/model/ThingworxRoute.js +33 -33
  140. package/dist/model/TowerLocation.js +54 -54
  141. package/dist/model/TwilioRoute.js +43 -43
  142. package/dist/model/UpdateFleetRequest.js +33 -33
  143. package/dist/model/UploadMetadata.js +64 -64
  144. package/dist/model/UsageData.js +47 -47
  145. package/dist/model/UsageEventsData.js +55 -37
  146. package/dist/model/UsageEventsResponse.js +21 -11
  147. package/dist/model/UsageRouteLogsData.js +27 -27
  148. package/dist/model/UsageSessionsData.js +32 -32
  149. package/dist/model/UserDfuStateMachine.js +20 -20
  150. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  151. package/dist/model/UserFirmwareInfo.js +12 -12
  152. package/dist/model/WebhookSettings.js +15 -15
  153. package/package.json +3 -3
@@ -33,7 +33,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
33
33
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
34
  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); } /**
35
35
  * Notehub API
36
- * The OpenAPI definition for the Notehub.io API.
36
+ * The OpenAPI definition for the Notehub.io API.
37
37
  *
38
38
  * The version of the OpenAPI document: 1.2.0
39
39
  * Contact: engineering@blues.io
@@ -44,18 +44,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
44
44
  *
45
45
  */
46
46
  /**
47
- * Device service.
48
- * @module api/DeviceApi
49
- * @version 5.0.0
50
- */
47
+ * Device service.
48
+ * @module api/DeviceApi
49
+ * @version 6.0.0-beta.2
50
+ */
51
51
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
53
- * Constructs a new DeviceApi.
54
- * @alias module:api/DeviceApi
55
- * @class
56
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
57
- * default to {@link module:ApiClient#instance} if unspecified.
58
- */
53
+ * Constructs a new DeviceApi.
54
+ * @alias module:api/DeviceApi
55
+ * @class
56
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
57
+ * default to {@link module:ApiClient#instance} if unspecified.
58
+ */
59
59
  function DeviceApi(apiClient) {
60
60
  _classCallCheck(this, DeviceApi);
61
61
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -63,10 +63,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
63
63
 
64
64
  /**
65
65
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
66
- * @param {String} projectOrProductUID
67
- * @param {String} deviceUID
68
- * @param {String} notefileID
69
- * @param {String} noteID
66
+ * @param {String} projectOrProductUID
67
+ * @param {String} deviceUID
68
+ * @param {String} notefileID
69
+ * @param {String} noteID
70
70
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
71
71
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
72
72
  */
@@ -95,27 +95,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
95
95
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addDbNote");
96
96
  }
97
97
  var pathParams = {
98
- projectOrProductUID: projectOrProductUID,
99
- deviceUID: deviceUID,
100
- notefileID: notefileID,
101
- noteID: noteID
98
+ 'projectOrProductUID': projectOrProductUID,
99
+ 'deviceUID': deviceUID,
100
+ 'notefileID': notefileID,
101
+ 'noteID': noteID
102
102
  };
103
103
  var queryParams = {};
104
104
  var headerParams = {};
105
105
  var formParams = {};
106
- var authNames = ["personalAccessToken"];
107
- var contentTypes = ["application/json"];
108
- var accepts = ["application/json"];
106
+ var authNames = ['personalAccessToken'];
107
+ var contentTypes = ['application/json'];
108
+ var accepts = ['application/json'];
109
109
  var returnType = null;
110
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
110
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
111
111
  }
112
112
 
113
113
  /**
114
114
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
115
- * @param {String} projectOrProductUID
116
- * @param {String} deviceUID
117
- * @param {String} notefileID
118
- * @param {String} noteID
115
+ * @param {String} projectOrProductUID
116
+ * @param {String} deviceUID
117
+ * @param {String} notefileID
118
+ * @param {String} noteID
119
119
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
120
120
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
121
121
  */
@@ -129,9 +129,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
129
129
 
130
130
  /**
131
131
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
132
- * @param {String} projectOrProductUID
133
- * @param {String} deviceUID
134
- * @param {String} notefileID
132
+ * @param {String} projectOrProductUID
133
+ * @param {String} deviceUID
134
+ * @param {String} notefileID
135
135
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
136
136
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
137
137
  */
@@ -156,25 +156,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
156
156
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addQiNote");
157
157
  }
158
158
  var pathParams = {
159
- projectOrProductUID: projectOrProductUID,
160
- deviceUID: deviceUID,
161
- notefileID: notefileID
159
+ 'projectOrProductUID': projectOrProductUID,
160
+ 'deviceUID': deviceUID,
161
+ 'notefileID': notefileID
162
162
  };
163
163
  var queryParams = {};
164
164
  var headerParams = {};
165
165
  var formParams = {};
166
- var authNames = ["personalAccessToken"];
167
- var contentTypes = ["application/json"];
168
- var accepts = ["application/json"];
166
+ var authNames = ['personalAccessToken'];
167
+ var contentTypes = ['application/json'];
168
+ var accepts = ['application/json'];
169
169
  var returnType = null;
170
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
170
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
171
171
  }
172
172
 
173
173
  /**
174
174
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
175
- * @param {String} projectOrProductUID
176
- * @param {String} deviceUID
177
- * @param {String} notefileID
175
+ * @param {String} projectOrProductUID
176
+ * @param {String} deviceUID
177
+ * @param {String} notefileID
178
178
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
179
179
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
180
180
  */
@@ -188,8 +188,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
188
188
 
189
189
  /**
190
190
  * Delete Device
191
- * @param {String} projectOrProductUID
192
- * @param {String} deviceUID
191
+ * @param {String} projectOrProductUID
192
+ * @param {String} deviceUID
193
193
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
194
194
  */
195
195
  }, {
@@ -205,23 +205,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
205
205
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling deleteDevice");
206
206
  }
207
207
  var pathParams = {
208
- projectOrProductUID: projectOrProductUID,
209
- deviceUID: deviceUID
208
+ 'projectOrProductUID': projectOrProductUID,
209
+ 'deviceUID': deviceUID
210
210
  };
211
211
  var queryParams = {};
212
212
  var headerParams = {};
213
213
  var formParams = {};
214
- var authNames = ["personalAccessToken"];
214
+ var authNames = ['personalAccessToken'];
215
215
  var contentTypes = [];
216
- var accepts = ["application/json"];
216
+ var accepts = ['application/json'];
217
217
  var returnType = null;
218
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
218
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
219
219
  }
220
220
 
221
221
  /**
222
222
  * Delete Device
223
- * @param {String} projectOrProductUID
224
- * @param {String} deviceUID
223
+ * @param {String} projectOrProductUID
224
+ * @param {String} deviceUID
225
225
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
226
226
  */
227
227
  }, {
@@ -234,8 +234,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
234
234
 
235
235
  /**
236
236
  * Delete environment variable of a device
237
- * @param {String} projectOrProductUID
238
- * @param {String} deviceUID
237
+ * @param {String} projectOrProductUID
238
+ * @param {String} deviceUID
239
239
  * @param {String} key The environment variable key to delete.
240
240
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
241
241
  */
@@ -256,24 +256,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
256
256
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
257
257
  }
258
258
  var pathParams = {
259
- projectOrProductUID: projectOrProductUID,
260
- deviceUID: deviceUID,
261
- key: key
259
+ 'projectOrProductUID': projectOrProductUID,
260
+ 'deviceUID': deviceUID,
261
+ 'key': key
262
262
  };
263
263
  var queryParams = {};
264
264
  var headerParams = {};
265
265
  var formParams = {};
266
- var authNames = ["personalAccessToken"];
266
+ var authNames = ['personalAccessToken'];
267
267
  var contentTypes = [];
268
- var accepts = ["application/json"];
268
+ var accepts = ['application/json'];
269
269
  var returnType = _EnvironmentVariables["default"];
270
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
270
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
271
271
  }
272
272
 
273
273
  /**
274
274
  * Delete environment variable of a device
275
- * @param {String} projectOrProductUID
276
- * @param {String} deviceUID
275
+ * @param {String} projectOrProductUID
276
+ * @param {String} deviceUID
277
277
  * @param {String} key The environment variable key to delete.
278
278
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
279
279
  */
@@ -287,10 +287,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
287
287
 
288
288
  /**
289
289
  * Delete a note from a .db or .qi notefile
290
- * @param {String} projectOrProductUID
291
- * @param {String} deviceUID
292
- * @param {String} notefileID
293
- * @param {String} noteID
290
+ * @param {String} projectOrProductUID
291
+ * @param {String} deviceUID
292
+ * @param {String} notefileID
293
+ * @param {String} noteID
294
294
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
295
295
  */
296
296
  }, {
@@ -314,27 +314,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
314
314
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling deleteNote");
315
315
  }
316
316
  var pathParams = {
317
- projectOrProductUID: projectOrProductUID,
318
- deviceUID: deviceUID,
319
- notefileID: notefileID,
320
- noteID: noteID
317
+ 'projectOrProductUID': projectOrProductUID,
318
+ 'deviceUID': deviceUID,
319
+ 'notefileID': notefileID,
320
+ 'noteID': noteID
321
321
  };
322
322
  var queryParams = {};
323
323
  var headerParams = {};
324
324
  var formParams = {};
325
- var authNames = ["personalAccessToken"];
325
+ var authNames = ['personalAccessToken'];
326
326
  var contentTypes = [];
327
- var accepts = ["application/json"];
327
+ var accepts = ['application/json'];
328
328
  var returnType = null;
329
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
329
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
330
330
  }
331
331
 
332
332
  /**
333
333
  * Delete a note from a .db or .qi notefile
334
- * @param {String} projectOrProductUID
335
- * @param {String} deviceUID
336
- * @param {String} notefileID
337
- * @param {String} noteID
334
+ * @param {String} projectOrProductUID
335
+ * @param {String} deviceUID
336
+ * @param {String} notefileID
337
+ * @param {String} noteID
338
338
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
339
339
  */
340
340
  }, {
@@ -347,9 +347,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
347
347
 
348
348
  /**
349
349
  * Deletes Notefiles and the Notes they contain.
350
- * @param {String} projectOrProductUID
351
- * @param {String} deviceUID
352
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
350
+ * @param {String} projectOrProductUID
351
+ * @param {String} deviceUID
352
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
353
353
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
354
354
  */
355
355
  }, {
@@ -369,24 +369,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
369
369
  throw new _Error["default"]("Missing the required parameter 'deleteNotefilesRequest' when calling deleteNotefiles");
370
370
  }
371
371
  var pathParams = {
372
- projectOrProductUID: projectOrProductUID,
373
- deviceUID: deviceUID
372
+ 'projectOrProductUID': projectOrProductUID,
373
+ 'deviceUID': deviceUID
374
374
  };
375
375
  var queryParams = {};
376
376
  var headerParams = {};
377
377
  var formParams = {};
378
- var authNames = ["personalAccessToken"];
379
- var contentTypes = ["application/json"];
380
- var accepts = ["application/json"];
378
+ var authNames = ['personalAccessToken'];
379
+ var contentTypes = ['application/json'];
380
+ var accepts = ['application/json'];
381
381
  var returnType = null;
382
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
382
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
383
383
  }
384
384
 
385
385
  /**
386
386
  * Deletes Notefiles and the Notes they contain.
387
- * @param {String} projectOrProductUID
388
- * @param {String} deviceUID
389
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
387
+ * @param {String} projectOrProductUID
388
+ * @param {String} deviceUID
389
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
390
390
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
391
391
  */
392
392
  }, {
@@ -399,8 +399,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
399
399
 
400
400
  /**
401
401
  * Disable Device
402
- * @param {String} projectOrProductUID
403
- * @param {String} deviceUID
402
+ * @param {String} projectOrProductUID
403
+ * @param {String} deviceUID
404
404
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing 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 disableDevice");
417
417
  }
418
418
  var pathParams = {
419
- projectOrProductUID: projectOrProductUID,
420
- deviceUID: deviceUID
419
+ 'projectOrProductUID': projectOrProductUID,
420
+ 'deviceUID': deviceUID
421
421
  };
422
422
  var queryParams = {};
423
423
  var headerParams = {};
424
424
  var formParams = {};
425
- var authNames = ["personalAccessToken"];
425
+ var authNames = ['personalAccessToken'];
426
426
  var contentTypes = [];
427
- var accepts = ["application/json"];
427
+ var accepts = ['application/json'];
428
428
  var returnType = null;
429
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
429
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
430
430
  }
431
431
 
432
432
  /**
433
433
  * Disable Device
434
- * @param {String} projectOrProductUID
435
- * @param {String} deviceUID
434
+ * @param {String} projectOrProductUID
435
+ * @param {String} deviceUID
436
436
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
437
437
  */
438
438
  }, {
@@ -443,56 +443,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
443
443
  });
444
444
  }
445
445
 
446
- /**
447
- * Disable Connectivity Assurance
448
- * @param {String} projectOrProductUID
449
- * @param {String} deviceUID
450
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
451
- */
452
- }, {
453
- key: "disableDeviceConnectivityAssuranceWithHttpInfo",
454
- value: function disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
455
- var postBody = null;
456
- // verify the required parameter 'projectOrProductUID' is set
457
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
458
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling disableDeviceConnectivityAssurance");
459
- }
460
- // verify the required parameter 'deviceUID' is set
461
- if (deviceUID === undefined || deviceUID === null) {
462
- throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDeviceConnectivityAssurance");
463
- }
464
- var pathParams = {
465
- projectOrProductUID: projectOrProductUID,
466
- deviceUID: deviceUID
467
- };
468
- var queryParams = {};
469
- var headerParams = {};
470
- var formParams = {};
471
- var authNames = ["personalAccessToken"];
472
- var contentTypes = [];
473
- var accepts = ["application/json"];
474
- var returnType = null;
475
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
476
- }
477
-
478
- /**
479
- * Disable Connectivity Assurance
480
- * @param {String} projectOrProductUID
481
- * @param {String} deviceUID
482
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
483
- */
484
- }, {
485
- key: "disableDeviceConnectivityAssurance",
486
- value: function disableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
487
- return this.disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
488
- return response_and_data.data;
489
- });
490
- }
491
-
492
446
  /**
493
447
  * Enable Device
494
- * @param {String} projectOrProductUID
495
- * @param {String} deviceUID
448
+ * @param {String} projectOrProductUID
449
+ * @param {String} deviceUID
496
450
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
497
451
  */
498
452
  }, {
@@ -508,23 +462,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
508
462
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
509
463
  }
510
464
  var pathParams = {
511
- projectOrProductUID: projectOrProductUID,
512
- deviceUID: deviceUID
465
+ 'projectOrProductUID': projectOrProductUID,
466
+ 'deviceUID': deviceUID
513
467
  };
514
468
  var queryParams = {};
515
469
  var headerParams = {};
516
470
  var formParams = {};
517
- var authNames = ["personalAccessToken"];
471
+ var authNames = ['personalAccessToken'];
518
472
  var contentTypes = [];
519
- var accepts = ["application/json"];
473
+ var accepts = ['application/json'];
520
474
  var returnType = null;
521
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
475
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
522
476
  }
523
477
 
524
478
  /**
525
479
  * Enable Device
526
- * @param {String} projectOrProductUID
527
- * @param {String} deviceUID
480
+ * @param {String} projectOrProductUID
481
+ * @param {String} deviceUID
528
482
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
529
483
  */
530
484
  }, {
@@ -535,58 +489,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
535
489
  });
536
490
  }
537
491
 
538
- /**
539
- * Enable Connectivity Assurance
540
- * @param {String} projectOrProductUID
541
- * @param {String} deviceUID
542
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
543
- */
544
- }, {
545
- key: "enableDeviceConnectivityAssuranceWithHttpInfo",
546
- value: function enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
547
- var postBody = null;
548
- // verify the required parameter 'projectOrProductUID' is set
549
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
550
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling enableDeviceConnectivityAssurance");
551
- }
552
- // verify the required parameter 'deviceUID' is set
553
- if (deviceUID === undefined || deviceUID === null) {
554
- throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDeviceConnectivityAssurance");
555
- }
556
- var pathParams = {
557
- projectOrProductUID: projectOrProductUID,
558
- deviceUID: deviceUID
559
- };
560
- var queryParams = {};
561
- var headerParams = {};
562
- var formParams = {};
563
- var authNames = ["personalAccessToken"];
564
- var contentTypes = [];
565
- var accepts = ["application/json"];
566
- var returnType = null;
567
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
568
- }
569
-
570
- /**
571
- * Enable Connectivity Assurance
572
- * @param {String} projectOrProductUID
573
- * @param {String} deviceUID
574
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}
575
- */
576
- }, {
577
- key: "enableDeviceConnectivityAssurance",
578
- value: function enableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
579
- return this.enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
580
- return response_and_data.data;
581
- });
582
- }
583
-
584
492
  /**
585
493
  * Get a note from a .db or .qi notefile
586
- * @param {String} projectOrProductUID
587
- * @param {String} deviceUID
588
- * @param {String} notefileID
589
- * @param {String} noteID
494
+ * @param {String} projectOrProductUID
495
+ * @param {String} deviceUID
496
+ * @param {String} notefileID
497
+ * @param {String} noteID
590
498
  * @param {Object} opts Optional parameters
591
499
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
592
500
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -614,30 +522,30 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
614
522
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling getDbNote");
615
523
  }
616
524
  var pathParams = {
617
- projectOrProductUID: projectOrProductUID,
618
- deviceUID: deviceUID,
619
- notefileID: notefileID,
620
- noteID: noteID
525
+ 'projectOrProductUID': projectOrProductUID,
526
+ 'deviceUID': deviceUID,
527
+ 'notefileID': notefileID,
528
+ 'noteID': noteID
621
529
  };
622
530
  var queryParams = {
623
- "delete": opts["_delete"],
624
- deleted: opts["deleted"]
531
+ 'delete': opts['_delete'],
532
+ 'deleted': opts['deleted']
625
533
  };
626
534
  var headerParams = {};
627
535
  var formParams = {};
628
- var authNames = ["personalAccessToken"];
536
+ var authNames = ['personalAccessToken'];
629
537
  var contentTypes = [];
630
- var accepts = ["application/json"];
538
+ var accepts = ['application/json'];
631
539
  var returnType = _GetDbNote200Response["default"];
632
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
540
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
633
541
  }
634
542
 
635
543
  /**
636
544
  * Get a note from a .db or .qi notefile
637
- * @param {String} projectOrProductUID
638
- * @param {String} deviceUID
639
- * @param {String} notefileID
640
- * @param {String} noteID
545
+ * @param {String} projectOrProductUID
546
+ * @param {String} deviceUID
547
+ * @param {String} notefileID
548
+ * @param {String} noteID
641
549
  * @param {Object} opts Optional parameters
642
550
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
643
551
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -653,8 +561,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
653
561
 
654
562
  /**
655
563
  * Get Device
656
- * @param {String} projectOrProductUID
657
- * @param {String} deviceUID
564
+ * @param {String} projectOrProductUID
565
+ * @param {String} deviceUID
658
566
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
659
567
  */
660
568
  }, {
@@ -670,23 +578,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
670
578
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
671
579
  }
672
580
  var pathParams = {
673
- projectOrProductUID: projectOrProductUID,
674
- deviceUID: deviceUID
581
+ 'projectOrProductUID': projectOrProductUID,
582
+ 'deviceUID': deviceUID
675
583
  };
676
584
  var queryParams = {};
677
585
  var headerParams = {};
678
586
  var formParams = {};
679
- var authNames = ["personalAccessToken"];
587
+ var authNames = ['personalAccessToken'];
680
588
  var contentTypes = [];
681
- var accepts = ["application/json"];
589
+ var accepts = ['application/json'];
682
590
  var returnType = _Device["default"];
683
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
591
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
684
592
  }
685
593
 
686
594
  /**
687
595
  * Get Device
688
- * @param {String} projectOrProductUID
689
- * @param {String} deviceUID
596
+ * @param {String} projectOrProductUID
597
+ * @param {String} deviceUID
690
598
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
691
599
  */
692
600
  }, {
@@ -699,8 +607,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
699
607
 
700
608
  /**
701
609
  * Get environment variable hierarchy for a device
702
- * @param {String} projectOrProductUID
703
- * @param {String} deviceUID
610
+ * @param {String} projectOrProductUID
611
+ * @param {String} deviceUID
704
612
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
705
613
  */
706
614
  }, {
@@ -716,23 +624,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
716
624
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentHierarchy");
717
625
  }
718
626
  var pathParams = {
719
- projectOrProductUID: projectOrProductUID,
720
- deviceUID: deviceUID
627
+ 'projectOrProductUID': projectOrProductUID,
628
+ 'deviceUID': deviceUID
721
629
  };
722
630
  var queryParams = {};
723
631
  var headerParams = {};
724
632
  var formParams = {};
725
- var authNames = ["personalAccessToken"];
633
+ var authNames = ['personalAccessToken'];
726
634
  var contentTypes = [];
727
- var accepts = ["application/json"];
635
+ var accepts = ['application/json'];
728
636
  var returnType = _EnvTreeJsonNode["default"];
729
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
637
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
730
638
  }
731
639
 
732
640
  /**
733
641
  * Get environment variable hierarchy for a device
734
- * @param {String} projectOrProductUID
735
- * @param {String} deviceUID
642
+ * @param {String} projectOrProductUID
643
+ * @param {String} deviceUID
736
644
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
737
645
  */
738
646
  }, {
@@ -745,8 +653,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
745
653
 
746
654
  /**
747
655
  * Get environment variables of a device
748
- * @param {String} projectOrProductUID
749
- * @param {String} deviceUID
656
+ * @param {String} projectOrProductUID
657
+ * @param {String} deviceUID
750
658
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
751
659
  */
752
660
  }, {
@@ -762,23 +670,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
762
670
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
763
671
  }
764
672
  var pathParams = {
765
- projectOrProductUID: projectOrProductUID,
766
- deviceUID: deviceUID
673
+ 'projectOrProductUID': projectOrProductUID,
674
+ 'deviceUID': deviceUID
767
675
  };
768
676
  var queryParams = {};
769
677
  var headerParams = {};
770
678
  var formParams = {};
771
- var authNames = ["personalAccessToken"];
679
+ var authNames = ['personalAccessToken'];
772
680
  var contentTypes = [];
773
- var accepts = ["application/json"];
681
+ var accepts = ['application/json'];
774
682
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
775
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
683
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
776
684
  }
777
685
 
778
686
  /**
779
687
  * Get environment variables of a device
780
- * @param {String} projectOrProductUID
781
- * @param {String} deviceUID
688
+ * @param {String} projectOrProductUID
689
+ * @param {String} deviceUID
782
690
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
783
691
  */
784
692
  }, {
@@ -791,8 +699,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
791
699
 
792
700
  /**
793
701
  * Get environment variables of a device with device pin authorization
794
- * @param {String} productUID
795
- * @param {String} deviceUID
702
+ * @param {String} productUID
703
+ * @param {String} deviceUID
796
704
  * @param {String} xAuthToken For accessing endpoints by Device pin.
797
705
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
798
706
  */
@@ -813,25 +721,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
813
721
  throw new _Error["default"]("Missing the required parameter 'xAuthToken' when calling getDeviceEnvironmentVariablesByPin");
814
722
  }
815
723
  var pathParams = {
816
- productUID: productUID,
817
- deviceUID: deviceUID
724
+ 'productUID': productUID,
725
+ 'deviceUID': deviceUID
818
726
  };
819
727
  var queryParams = {};
820
728
  var headerParams = {
821
- "X-Auth-Token": xAuthToken
729
+ 'X-Auth-Token': xAuthToken
822
730
  };
823
731
  var formParams = {};
824
732
  var authNames = [];
825
733
  var contentTypes = [];
826
- var accepts = ["application/json"];
734
+ var accepts = ['application/json'];
827
735
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
828
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
736
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
829
737
  }
830
738
 
831
739
  /**
832
740
  * Get environment variables of a device with device pin authorization
833
- * @param {String} productUID
834
- * @param {String} deviceUID
741
+ * @param {String} productUID
742
+ * @param {String} deviceUID
835
743
  * @param {String} xAuthToken For accessing endpoints by Device pin.
836
744
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
837
745
  */
@@ -845,8 +753,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
845
753
 
846
754
  /**
847
755
  * Get Device Health Log
848
- * @param {String} projectOrProductUID
849
- * @param {String} deviceUID
756
+ * @param {String} projectOrProductUID
757
+ * @param {String} deviceUID
850
758
  * @param {Object} opts Optional parameters
851
759
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
852
760
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -867,27 +775,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
867
775
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
868
776
  }
869
777
  var pathParams = {
870
- projectOrProductUID: projectOrProductUID,
871
- deviceUID: deviceUID
778
+ 'projectOrProductUID': projectOrProductUID,
779
+ 'deviceUID': deviceUID
872
780
  };
873
781
  var queryParams = {
874
- startDate: opts["startDate"],
875
- endDate: opts["endDate"],
876
- log_type: this.apiClient.buildCollectionParam(opts["logType"], "multi")
782
+ 'startDate': opts['startDate'],
783
+ 'endDate': opts['endDate'],
784
+ 'log_type': this.apiClient.buildCollectionParam(opts['logType'], 'multi')
877
785
  };
878
786
  var headerParams = {};
879
787
  var formParams = {};
880
- var authNames = ["personalAccessToken"];
788
+ var authNames = ['personalAccessToken'];
881
789
  var contentTypes = [];
882
- var accepts = ["application/json"];
790
+ var accepts = ['application/json'];
883
791
  var returnType = _GetDeviceHealthLog200Response["default"];
884
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
792
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
885
793
  }
886
794
 
887
795
  /**
888
796
  * Get Device Health Log
889
- * @param {String} projectOrProductUID
890
- * @param {String} deviceUID
797
+ * @param {String} projectOrProductUID
798
+ * @param {String} deviceUID
891
799
  * @param {Object} opts Optional parameters
892
800
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
893
801
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -904,8 +812,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
904
812
 
905
813
  /**
906
814
  * Get Device Latest Events
907
- * @param {String} projectOrProductUID
908
- * @param {String} deviceUID
815
+ * @param {String} projectOrProductUID
816
+ * @param {String} deviceUID
909
817
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
910
818
  */
911
819
  }, {
@@ -921,23 +829,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
921
829
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatestEvents");
922
830
  }
923
831
  var pathParams = {
924
- projectOrProductUID: projectOrProductUID,
925
- deviceUID: deviceUID
832
+ 'projectOrProductUID': projectOrProductUID,
833
+ 'deviceUID': deviceUID
926
834
  };
927
835
  var queryParams = {};
928
836
  var headerParams = {};
929
837
  var formParams = {};
930
- var authNames = ["personalAccessToken"];
838
+ var authNames = ['personalAccessToken'];
931
839
  var contentTypes = [];
932
- var accepts = ["application/json"];
840
+ var accepts = ['application/json'];
933
841
  var returnType = _GetDeviceLatestEvents200Response["default"];
934
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
842
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
935
843
  }
936
844
 
937
845
  /**
938
846
  * Get Device Latest Events
939
- * @param {String} projectOrProductUID
940
- * @param {String} deviceUID
847
+ * @param {String} projectOrProductUID
848
+ * @param {String} deviceUID
941
849
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
942
850
  */
943
851
  }, {
@@ -950,8 +858,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
950
858
 
951
859
  /**
952
860
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
953
- * @param {String} projectOrProductUID
954
- * @param {String} deviceUID
861
+ * @param {String} projectOrProductUID
862
+ * @param {String} deviceUID
955
863
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
956
864
  */
957
865
  }, {
@@ -967,23 +875,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
967
875
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePlans");
968
876
  }
969
877
  var pathParams = {
970
- projectOrProductUID: projectOrProductUID,
971
- deviceUID: deviceUID
878
+ 'projectOrProductUID': projectOrProductUID,
879
+ 'deviceUID': deviceUID
972
880
  };
973
881
  var queryParams = {};
974
882
  var headerParams = {};
975
883
  var formParams = {};
976
- var authNames = ["personalAccessToken"];
884
+ var authNames = ['personalAccessToken'];
977
885
  var contentTypes = [];
978
- var accepts = ["application/json"];
886
+ var accepts = ['application/json'];
979
887
  var returnType = _GetDevicePlans200Response["default"];
980
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
888
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
981
889
  }
982
890
 
983
891
  /**
984
892
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
985
- * @param {String} projectOrProductUID
986
- * @param {String} deviceUID
893
+ * @param {String} projectOrProductUID
894
+ * @param {String} deviceUID
987
895
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
988
896
  */
989
897
  }, {
@@ -996,8 +904,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
996
904
 
997
905
  /**
998
906
  * Get Device Public Key
999
- * @param {String} projectOrProductUID
1000
- * @param {String} deviceUID
907
+ * @param {String} projectOrProductUID
908
+ * @param {String} deviceUID
1001
909
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
1002
910
  */
1003
911
  }, {
@@ -1013,23 +921,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1013
921
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
1014
922
  }
1015
923
  var pathParams = {
1016
- projectOrProductUID: projectOrProductUID,
1017
- deviceUID: deviceUID
924
+ 'projectOrProductUID': projectOrProductUID,
925
+ 'deviceUID': deviceUID
1018
926
  };
1019
927
  var queryParams = {};
1020
928
  var headerParams = {};
1021
929
  var formParams = {};
1022
- var authNames = ["personalAccessToken"];
930
+ var authNames = ['personalAccessToken'];
1023
931
  var contentTypes = [];
1024
- var accepts = ["application/json"];
932
+ var accepts = ['application/json'];
1025
933
  var returnType = _GetDevicePublicKey200Response["default"];
1026
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
934
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1027
935
  }
1028
936
 
1029
937
  /**
1030
938
  * Get Device Public Key
1031
- * @param {String} projectOrProductUID
1032
- * @param {String} deviceUID
939
+ * @param {String} projectOrProductUID
940
+ * @param {String} deviceUID
1033
941
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
1034
942
  */
1035
943
  }, {
@@ -1042,7 +950,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1042
950
 
1043
951
  /**
1044
952
  * Get Device Public Keys of a Project
1045
- * @param {String} projectOrProductUID
953
+ * @param {String} projectOrProductUID
1046
954
  * @param {Object} opts Optional parameters
1047
955
  * @param {Number} opts.pageSize (default to 50)
1048
956
  * @param {Number} opts.pageNum (default to 1)
@@ -1058,24 +966,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1058
966
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePublicKeys");
1059
967
  }
1060
968
  var pathParams = {
1061
- projectOrProductUID: projectOrProductUID
969
+ 'projectOrProductUID': projectOrProductUID
1062
970
  };
1063
971
  var queryParams = {
1064
- pageSize: opts["pageSize"],
1065
- pageNum: opts["pageNum"]
972
+ 'pageSize': opts['pageSize'],
973
+ 'pageNum': opts['pageNum']
1066
974
  };
1067
975
  var headerParams = {};
1068
976
  var formParams = {};
1069
- var authNames = ["personalAccessToken"];
977
+ var authNames = ['personalAccessToken'];
1070
978
  var contentTypes = [];
1071
- var accepts = ["application/json"];
979
+ var accepts = ['application/json'];
1072
980
  var returnType = _GetDevicePublicKeys200Response["default"];
1073
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/public-keys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
981
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1074
982
  }
1075
983
 
1076
984
  /**
1077
985
  * Get Device Public Keys of a Project
1078
- * @param {String} projectOrProductUID
986
+ * @param {String} projectOrProductUID
1079
987
  * @param {Object} opts Optional parameters
1080
988
  * @param {Number} opts.pageSize (default to 50)
1081
989
  * @param {Number} opts.pageNum (default to 1)
@@ -1091,8 +999,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1091
999
 
1092
1000
  /**
1093
1001
  * Get Device Sessions
1094
- * @param {String} projectOrProductUID
1095
- * @param {String} deviceUID
1002
+ * @param {String} projectOrProductUID
1003
+ * @param {String} deviceUID
1096
1004
  * @param {Object} opts Optional parameters
1097
1005
  * @param {Number} opts.pageSize (default to 50)
1098
1006
  * @param {Number} opts.pageNum (default to 1)
@@ -1114,28 +1022,28 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1114
1022
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
1115
1023
  }
1116
1024
  var pathParams = {
1117
- projectOrProductUID: projectOrProductUID,
1118
- deviceUID: deviceUID
1025
+ 'projectOrProductUID': projectOrProductUID,
1026
+ 'deviceUID': deviceUID
1119
1027
  };
1120
1028
  var queryParams = {
1121
- pageSize: opts["pageSize"],
1122
- pageNum: opts["pageNum"],
1123
- startDate: opts["startDate"],
1124
- endDate: opts["endDate"]
1029
+ 'pageSize': opts['pageSize'],
1030
+ 'pageNum': opts['pageNum'],
1031
+ 'startDate': opts['startDate'],
1032
+ 'endDate': opts['endDate']
1125
1033
  };
1126
1034
  var headerParams = {};
1127
1035
  var formParams = {};
1128
- var authNames = ["personalAccessToken"];
1036
+ var authNames = ['personalAccessToken'];
1129
1037
  var contentTypes = [];
1130
- var accepts = ["application/json"];
1038
+ var accepts = ['application/json'];
1131
1039
  var returnType = _GetDeviceSessions200Response["default"];
1132
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1040
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1133
1041
  }
1134
1042
 
1135
1043
  /**
1136
1044
  * Get Device Sessions
1137
- * @param {String} projectOrProductUID
1138
- * @param {String} deviceUID
1045
+ * @param {String} projectOrProductUID
1046
+ * @param {String} deviceUID
1139
1047
  * @param {Object} opts Optional parameters
1140
1048
  * @param {Number} opts.pageSize (default to 50)
1141
1049
  * @param {Number} opts.pageNum (default to 1)
@@ -1153,18 +1061,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1153
1061
 
1154
1062
  /**
1155
1063
  * Get Devices of a Project
1156
- * @param {String} projectOrProductUID
1064
+ * @param {String} projectOrProductUID
1157
1065
  * @param {Object} opts Optional parameters
1158
1066
  * @param {Number} opts.pageSize (default to 50)
1159
1067
  * @param {Number} opts.pageNum (default to 1)
1160
1068
  * @param {Array.<String>} opts.deviceUID A Device UID.
1161
1069
  * @param {Array.<String>} opts.tag Tag filter
1162
1070
  * @param {Array.<String>} opts.serialNumber Serial number filter
1163
- * @param {Array.<String>} opts.fleetUID
1071
+ * @param {Array.<String>} opts.fleetUID
1164
1072
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1165
1073
  * @param {Array.<String>} opts.location Location filter
1166
1074
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1167
- * @param {Array.<String>} opts.productUID
1075
+ * @param {Array.<String>} opts.productUID
1168
1076
  * @param {Array.<String>} opts.sku SKU filter
1169
1077
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1170
1078
  */
@@ -1178,44 +1086,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1178
1086
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevices");
1179
1087
  }
1180
1088
  var pathParams = {
1181
- projectOrProductUID: projectOrProductUID
1089
+ 'projectOrProductUID': projectOrProductUID
1182
1090
  };
1183
1091
  var queryParams = {
1184
- pageSize: opts["pageSize"],
1185
- pageNum: opts["pageNum"],
1186
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1187
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1188
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1189
- fleetUID: this.apiClient.buildCollectionParam(opts["fleetUID"], "multi"),
1190
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1191
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1192
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1193
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1194
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1092
+ 'pageSize': opts['pageSize'],
1093
+ 'pageNum': opts['pageNum'],
1094
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1095
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1096
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1097
+ 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
1098
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1099
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1100
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1101
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1102
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1195
1103
  };
1196
1104
  var headerParams = {};
1197
1105
  var formParams = {};
1198
- var authNames = ["personalAccessToken"];
1106
+ var authNames = ['personalAccessToken'];
1199
1107
  var contentTypes = [];
1200
- var accepts = ["application/json"];
1108
+ var accepts = ['application/json'];
1201
1109
  var returnType = _GetDevices200Response["default"];
1202
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1110
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1203
1111
  }
1204
1112
 
1205
1113
  /**
1206
1114
  * Get Devices of a Project
1207
- * @param {String} projectOrProductUID
1115
+ * @param {String} projectOrProductUID
1208
1116
  * @param {Object} opts Optional parameters
1209
1117
  * @param {Number} opts.pageSize (default to 50)
1210
1118
  * @param {Number} opts.pageNum (default to 1)
1211
1119
  * @param {Array.<String>} opts.deviceUID A Device UID.
1212
1120
  * @param {Array.<String>} opts.tag Tag filter
1213
1121
  * @param {Array.<String>} opts.serialNumber Serial number filter
1214
- * @param {Array.<String>} opts.fleetUID
1122
+ * @param {Array.<String>} opts.fleetUID
1215
1123
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1216
1124
  * @param {Array.<String>} opts.location Location filter
1217
1125
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1218
- * @param {Array.<String>} opts.productUID
1126
+ * @param {Array.<String>} opts.productUID
1219
1127
  * @param {Array.<String>} opts.sku SKU filter
1220
1128
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1221
1129
  */
@@ -1229,8 +1137,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1229
1137
 
1230
1138
  /**
1231
1139
  * Get Devices of a Fleet within a Project
1232
- * @param {String} projectOrProductUID
1233
- * @param {String} fleetUID
1140
+ * @param {String} projectOrProductUID
1141
+ * @param {String} fleetUID
1234
1142
  * @param {Object} opts Optional parameters
1235
1143
  * @param {Number} opts.pageSize (default to 50)
1236
1144
  * @param {Number} opts.pageNum (default to 1)
@@ -1240,7 +1148,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1240
1148
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1241
1149
  * @param {Array.<String>} opts.location Location filter
1242
1150
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1243
- * @param {Array.<String>} opts.productUID
1151
+ * @param {Array.<String>} opts.productUID
1244
1152
  * @param {Array.<String>} opts.sku SKU filter
1245
1153
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1246
1154
  */
@@ -1258,34 +1166,34 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1258
1166
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetDevices");
1259
1167
  }
1260
1168
  var pathParams = {
1261
- projectOrProductUID: projectOrProductUID,
1262
- fleetUID: fleetUID
1169
+ 'projectOrProductUID': projectOrProductUID,
1170
+ 'fleetUID': fleetUID
1263
1171
  };
1264
1172
  var queryParams = {
1265
- pageSize: opts["pageSize"],
1266
- pageNum: opts["pageNum"],
1267
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1268
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1269
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1270
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1271
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1272
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1273
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1274
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1173
+ 'pageSize': opts['pageSize'],
1174
+ 'pageNum': opts['pageNum'],
1175
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1176
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1177
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1178
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1179
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1180
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1181
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1182
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1275
1183
  };
1276
1184
  var headerParams = {};
1277
1185
  var formParams = {};
1278
- var authNames = ["personalAccessToken"];
1186
+ var authNames = ['personalAccessToken'];
1279
1187
  var contentTypes = [];
1280
- var accepts = ["application/json"];
1188
+ var accepts = ['application/json'];
1281
1189
  var returnType = _GetDevices200Response["default"];
1282
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1190
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1283
1191
  }
1284
1192
 
1285
1193
  /**
1286
1194
  * Get Devices of a Fleet within a Project
1287
- * @param {String} projectOrProductUID
1288
- * @param {String} fleetUID
1195
+ * @param {String} projectOrProductUID
1196
+ * @param {String} fleetUID
1289
1197
  * @param {Object} opts Optional parameters
1290
1198
  * @param {Number} opts.pageSize (default to 50)
1291
1199
  * @param {Number} opts.pageNum (default to 1)
@@ -1295,7 +1203,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1295
1203
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1296
1204
  * @param {Array.<String>} opts.location Location filter
1297
1205
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1298
- * @param {Array.<String>} opts.productUID
1206
+ * @param {Array.<String>} opts.productUID
1299
1207
  * @param {Array.<String>} opts.sku SKU filter
1300
1208
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1301
1209
  */
@@ -1309,9 +1217,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1309
1217
 
1310
1218
  /**
1311
1219
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1312
- * @param {String} projectOrProductUID
1313
- * @param {String} deviceUID
1314
- * @param {String} notefileID
1220
+ * @param {String} projectOrProductUID
1221
+ * @param {String} deviceUID
1222
+ * @param {String} notefileID
1315
1223
  * @param {Object} opts Optional parameters
1316
1224
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1317
1225
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1336,29 +1244,29 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1336
1244
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling getNotefile");
1337
1245
  }
1338
1246
  var pathParams = {
1339
- projectOrProductUID: projectOrProductUID,
1340
- deviceUID: deviceUID,
1341
- notefileID: notefileID
1247
+ 'projectOrProductUID': projectOrProductUID,
1248
+ 'deviceUID': deviceUID,
1249
+ 'notefileID': notefileID
1342
1250
  };
1343
1251
  var queryParams = {
1344
- max: opts["max"],
1345
- deleted: opts["deleted"],
1346
- "delete": opts["_delete"]
1252
+ 'max': opts['max'],
1253
+ 'deleted': opts['deleted'],
1254
+ 'delete': opts['_delete']
1347
1255
  };
1348
1256
  var headerParams = {};
1349
1257
  var formParams = {};
1350
- var authNames = ["personalAccessToken"];
1258
+ var authNames = ['personalAccessToken'];
1351
1259
  var contentTypes = [];
1352
- var accepts = ["application/json"];
1260
+ var accepts = ['application/json'];
1353
1261
  var returnType = _GetNotefile200Response["default"];
1354
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1262
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1355
1263
  }
1356
1264
 
1357
1265
  /**
1358
1266
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1359
- * @param {String} projectOrProductUID
1360
- * @param {String} deviceUID
1361
- * @param {String} notefileID
1267
+ * @param {String} projectOrProductUID
1268
+ * @param {String} deviceUID
1269
+ * @param {String} notefileID
1362
1270
  * @param {Object} opts Optional parameters
1363
1271
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1364
1272
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1375,8 +1283,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1375
1283
 
1376
1284
  /**
1377
1285
  * Lists .qi and .db files for the device
1378
- * @param {String} projectOrProductUID
1379
- * @param {String} deviceUID
1286
+ * @param {String} projectOrProductUID
1287
+ * @param {String} deviceUID
1380
1288
  * @param {Object} opts Optional parameters
1381
1289
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1382
1290
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1396,26 +1304,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1396
1304
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling listNotefiles");
1397
1305
  }
1398
1306
  var pathParams = {
1399
- projectOrProductUID: projectOrProductUID,
1400
- deviceUID: deviceUID
1307
+ 'projectOrProductUID': projectOrProductUID,
1308
+ 'deviceUID': deviceUID
1401
1309
  };
1402
1310
  var queryParams = {
1403
- files: this.apiClient.buildCollectionParam(opts["files"], "multi"),
1404
- pending: opts["pending"]
1311
+ 'files': this.apiClient.buildCollectionParam(opts['files'], 'multi'),
1312
+ 'pending': opts['pending']
1405
1313
  };
1406
1314
  var headerParams = {};
1407
1315
  var formParams = {};
1408
- var authNames = ["personalAccessToken"];
1316
+ var authNames = ['personalAccessToken'];
1409
1317
  var contentTypes = [];
1410
- var accepts = ["application/json"];
1318
+ var accepts = ['application/json'];
1411
1319
  var returnType = [_Notefile["default"]];
1412
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1320
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1413
1321
  }
1414
1322
 
1415
1323
  /**
1416
1324
  * Lists .qi and .db files for the device
1417
- * @param {String} projectOrProductUID
1418
- * @param {String} deviceUID
1325
+ * @param {String} projectOrProductUID
1326
+ * @param {String} deviceUID
1419
1327
  * @param {Object} opts Optional parameters
1420
1328
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1421
1329
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1431,8 +1339,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1431
1339
 
1432
1340
  /**
1433
1341
  * Provision Device for a Project
1434
- * @param {String} projectOrProductUID
1435
- * @param {String} deviceUID
1342
+ * @param {String} projectOrProductUID
1343
+ * @param {String} deviceUID
1436
1344
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1437
1345
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1438
1346
  */
@@ -1453,23 +1361,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1453
1361
  throw new _Error["default"]("Missing the required parameter 'provisionDeviceRequest' when calling provisionDevice");
1454
1362
  }
1455
1363
  var pathParams = {
1456
- projectOrProductUID: projectOrProductUID,
1457
- deviceUID: deviceUID
1364
+ 'projectOrProductUID': projectOrProductUID,
1365
+ 'deviceUID': deviceUID
1458
1366
  };
1459
1367
  var queryParams = {};
1460
1368
  var headerParams = {};
1461
1369
  var formParams = {};
1462
- var authNames = ["personalAccessToken"];
1463
- var contentTypes = ["application/json"];
1464
- var accepts = ["application/json"];
1370
+ var authNames = ['personalAccessToken'];
1371
+ var contentTypes = ['application/json'];
1372
+ var accepts = ['application/json'];
1465
1373
  var returnType = Object;
1466
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1374
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1467
1375
  }
1468
1376
 
1469
1377
  /**
1470
1378
  * Provision Device for a Project
1471
- * @param {String} projectOrProductUID
1472
- * @param {String} deviceUID
1379
+ * @param {String} projectOrProductUID
1380
+ * @param {String} deviceUID
1473
1381
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1474
1382
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1475
1383
  */
@@ -1483,8 +1391,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1483
1391
 
1484
1392
  /**
1485
1393
  * Set environment variables of a device
1486
- * @param {String} projectOrProductUID
1487
- * @param {String} deviceUID
1394
+ * @param {String} projectOrProductUID
1395
+ * @param {String} deviceUID
1488
1396
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1489
1397
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1490
1398
  */
@@ -1505,23 +1413,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1505
1413
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariables");
1506
1414
  }
1507
1415
  var pathParams = {
1508
- projectOrProductUID: projectOrProductUID,
1509
- deviceUID: deviceUID
1416
+ 'projectOrProductUID': projectOrProductUID,
1417
+ 'deviceUID': deviceUID
1510
1418
  };
1511
1419
  var queryParams = {};
1512
1420
  var headerParams = {};
1513
1421
  var formParams = {};
1514
- var authNames = ["personalAccessToken"];
1515
- var contentTypes = ["application/json"];
1516
- var accepts = ["application/json"];
1422
+ var authNames = ['personalAccessToken'];
1423
+ var contentTypes = ['application/json'];
1424
+ var accepts = ['application/json'];
1517
1425
  var returnType = _EnvironmentVariables["default"];
1518
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1426
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1519
1427
  }
1520
1428
 
1521
1429
  /**
1522
1430
  * Set environment variables of a device
1523
- * @param {String} projectOrProductUID
1524
- * @param {String} deviceUID
1431
+ * @param {String} projectOrProductUID
1432
+ * @param {String} deviceUID
1525
1433
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1526
1434
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1527
1435
  */
@@ -1535,8 +1443,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1535
1443
 
1536
1444
  /**
1537
1445
  * Set environment variables of a device with device pin authorization
1538
- * @param {String} productUID
1539
- * @param {String} deviceUID
1446
+ * @param {String} productUID
1447
+ * @param {String} deviceUID
1540
1448
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1541
1449
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1542
1450
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
@@ -1562,25 +1470,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1562
1470
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariablesByPin");
1563
1471
  }
1564
1472
  var pathParams = {
1565
- productUID: productUID,
1566
- deviceUID: deviceUID
1473
+ 'productUID': productUID,
1474
+ 'deviceUID': deviceUID
1567
1475
  };
1568
1476
  var queryParams = {};
1569
1477
  var headerParams = {
1570
- "X-Auth-Token": xAuthToken
1478
+ 'X-Auth-Token': xAuthToken
1571
1479
  };
1572
1480
  var formParams = {};
1573
1481
  var authNames = [];
1574
- var contentTypes = ["application/json"];
1575
- var accepts = ["application/json"];
1482
+ var contentTypes = ['application/json'];
1483
+ var accepts = ['application/json'];
1576
1484
  var returnType = _EnvironmentVariables["default"];
1577
- return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1485
+ return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1578
1486
  }
1579
1487
 
1580
1488
  /**
1581
1489
  * Set environment variables of a device with device pin authorization
1582
- * @param {String} productUID
1583
- * @param {String} deviceUID
1490
+ * @param {String} productUID
1491
+ * @param {String} deviceUID
1584
1492
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1585
1493
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1586
1494
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
@@ -1595,8 +1503,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1595
1503
 
1596
1504
  /**
1597
1505
  * Send a signal from Notehub to a Notecard.
1598
- * @param {String} projectOrProductUID
1599
- * @param {String} deviceUID
1506
+ * @param {String} projectOrProductUID
1507
+ * @param {String} deviceUID
1600
1508
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1601
1509
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
1602
1510
  */
@@ -1617,23 +1525,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1617
1525
  throw new _Error["default"]("Missing the required parameter 'body' when calling signalDevice");
1618
1526
  }
1619
1527
  var pathParams = {
1620
- projectOrProductUID: projectOrProductUID,
1621
- deviceUID: deviceUID
1528
+ 'projectOrProductUID': projectOrProductUID,
1529
+ 'deviceUID': deviceUID
1622
1530
  };
1623
1531
  var queryParams = {};
1624
1532
  var headerParams = {};
1625
1533
  var formParams = {};
1626
- var authNames = ["personalAccessToken"];
1627
- var contentTypes = ["application/json"];
1628
- var accepts = ["application/json"];
1534
+ var authNames = ['personalAccessToken'];
1535
+ var contentTypes = ['application/json'];
1536
+ var accepts = ['application/json'];
1629
1537
  var returnType = _SignalDevice200Response["default"];
1630
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1538
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1631
1539
  }
1632
1540
 
1633
1541
  /**
1634
1542
  * Send a signal from Notehub to a Notecard.
1635
- * @param {String} projectOrProductUID
1636
- * @param {String} deviceUID
1543
+ * @param {String} projectOrProductUID
1544
+ * @param {String} deviceUID
1637
1545
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1638
1546
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
1639
1547
  */
@@ -1647,10 +1555,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1647
1555
 
1648
1556
  /**
1649
1557
  * Update a note in a .db or .qi notefile
1650
- * @param {String} projectOrProductUID
1651
- * @param {String} deviceUID
1652
- * @param {String} notefileID
1653
- * @param {String} noteID
1558
+ * @param {String} projectOrProductUID
1559
+ * @param {String} deviceUID
1560
+ * @param {String} notefileID
1561
+ * @param {String} noteID
1654
1562
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1655
1563
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1656
1564
  */
@@ -1679,27 +1587,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1679
1587
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling updateDbNote");
1680
1588
  }
1681
1589
  var pathParams = {
1682
- projectOrProductUID: projectOrProductUID,
1683
- deviceUID: deviceUID,
1684
- notefileID: notefileID,
1685
- noteID: noteID
1590
+ 'projectOrProductUID': projectOrProductUID,
1591
+ 'deviceUID': deviceUID,
1592
+ 'notefileID': notefileID,
1593
+ 'noteID': noteID
1686
1594
  };
1687
1595
  var queryParams = {};
1688
1596
  var headerParams = {};
1689
1597
  var formParams = {};
1690
- var authNames = ["personalAccessToken"];
1691
- var contentTypes = ["application/json"];
1692
- var accepts = ["application/json"];
1598
+ var authNames = ['personalAccessToken'];
1599
+ var contentTypes = ['application/json'];
1600
+ var accepts = ['application/json'];
1693
1601
  var returnType = null;
1694
- return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1602
+ return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1695
1603
  }
1696
1604
 
1697
1605
  /**
1698
1606
  * Update a note in a .db or .qi notefile
1699
- * @param {String} projectOrProductUID
1700
- * @param {String} deviceUID
1701
- * @param {String} notefileID
1702
- * @param {String} noteID
1607
+ * @param {String} projectOrProductUID
1608
+ * @param {String} deviceUID
1609
+ * @param {String} notefileID
1610
+ * @param {String} noteID
1703
1611
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1704
1612
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1705
1613
  */