@blues-inc/notehub-js 6.2.0-beta.56 → 6.2.0-beta.57

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 (178) hide show
  1. package/README.md +316 -318
  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 +28 -28
  6. package/dist/api/DeviceApi.js +385 -385
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/ExternalDevicesApi.js +41 -41
  9. package/dist/api/JobsApi.js +78 -78
  10. package/dist/api/MonitorApi.js +52 -52
  11. package/dist/api/ProjectApi.js +465 -465
  12. package/dist/api/RouteApi.js +83 -83
  13. package/dist/api/UsageApi.js +67 -67
  14. package/dist/api/WebhookApi.js +108 -108
  15. package/dist/model/AWSRoleConfig.js +14 -14
  16. package/dist/model/AddDeviceToFleetsRequest.js +8 -8
  17. package/dist/model/Alert.js +74 -76
  18. package/dist/model/AlertDataInner.js +36 -36
  19. package/dist/model/AlertNotificationsInner.js +18 -18
  20. package/dist/model/AwsRoute.js +70 -70
  21. package/dist/model/AzureRoute.js +43 -43
  22. package/dist/model/BatchJobRequests.js +57 -57
  23. package/dist/model/BillingAccount.js +21 -21
  24. package/dist/model/BillingAccountRole.js +9 -9
  25. package/dist/model/BlynkRoute.js +28 -28
  26. package/dist/model/Body.js +5 -5
  27. package/dist/model/CancelJobRun200Response.js +6 -6
  28. package/dist/model/CellularPlan.js +34 -34
  29. package/dist/model/CloneProjectRequest.js +20 -20
  30. package/dist/model/Contact.js +22 -22
  31. package/dist/model/CreateFleetRequest.js +20 -20
  32. package/dist/model/CreateJob201Response.js +8 -8
  33. package/dist/model/CreateLegacyWebhookEventRequest.js +17 -17
  34. package/dist/model/CreateMonitor.js +143 -144
  35. package/dist/model/CreateProductRequest.js +22 -22
  36. package/dist/model/CreateProjectRequest.js +16 -16
  37. package/dist/model/CreateProjectSecretRequest.js +14 -14
  38. package/dist/model/CreateUpdateRepository.js +17 -17
  39. package/dist/model/CurrentFirmware.js +12 -12
  40. package/dist/model/DFUEnv.js +12 -12
  41. package/dist/model/DFUState.js +65 -65
  42. package/dist/model/DataField.js +7 -7
  43. package/dist/model/DataSetField.js +19 -19
  44. package/dist/model/DataUsage.js +14 -14
  45. package/dist/model/DatacakeRoute.js +35 -35
  46. package/dist/model/DeleteDeviceFromFleetsRequest.js +8 -8
  47. package/dist/model/DeleteJob200Response.js +6 -6
  48. package/dist/model/DeleteNotefilesRequest.js +7 -7
  49. package/dist/model/Device.js +106 -107
  50. package/dist/model/DeviceDfuHistory.js +19 -20
  51. package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
  52. package/dist/model/DeviceDfuHistoryPage.js +12 -13
  53. package/dist/model/DeviceDfuStateMachine.js +24 -25
  54. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  55. package/dist/model/DeviceDfuStatus.js +20 -20
  56. package/dist/model/DeviceDfuStatusPage.js +12 -13
  57. package/dist/model/DeviceSession.js +221 -221
  58. package/dist/model/DeviceTowerInfo.js +14 -14
  59. package/dist/model/DeviceUsage.js +32 -32
  60. package/dist/model/DfuActionRequest.js +7 -7
  61. package/dist/model/EmailNotification.js +7 -7
  62. package/dist/model/EnvTreeJsonNode.js +67 -69
  63. package/dist/model/EnvVar.js +18 -18
  64. package/dist/model/EnvironmentVariables.js +8 -8
  65. package/dist/model/Error.js +31 -31
  66. package/dist/model/Event.js +248 -248
  67. package/dist/model/Filter.js +16 -16
  68. package/dist/model/Firmware.js +49 -49
  69. package/dist/model/FirmwareInfo.js +68 -68
  70. package/dist/model/Fleet.js +38 -38
  71. package/dist/model/FleetConnectivityAssurance.js +5 -5
  72. package/dist/model/GetAlerts200Response.js +14 -15
  73. package/dist/model/GetBillingAccount200Response.js +25 -25
  74. package/dist/model/GetBillingAccount200ResponsePlan.js +22 -22
  75. package/dist/model/GetBillingAccountBalanceHistory200Response.js +9 -10
  76. package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +17 -17
  77. package/dist/model/GetBillingAccounts200Response.js +9 -10
  78. package/dist/model/GetDataUsage200Response.js +12 -13
  79. package/dist/model/GetDataUsage200ResponseDataInner.js +43 -44
  80. package/dist/model/GetDbNote200Response.js +13 -13
  81. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
  82. package/dist/model/GetDeviceFleets200Response.js +11 -12
  83. package/dist/model/GetDeviceHealthLog200Response.js +11 -12
  84. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  85. package/dist/model/GetDeviceJourney200Response.js +21 -21
  86. package/dist/model/GetDeviceJourney200ResponseJourney.js +16 -17
  87. package/dist/model/GetDeviceJourneys200Response.js +16 -17
  88. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +20 -20
  89. package/dist/model/GetDeviceLatestEvents200Response.js +9 -10
  90. package/dist/model/GetDevicePlans200Response.js +9 -10
  91. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  92. package/dist/model/GetDevicePublicKeys200Response.js +16 -17
  93. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  94. package/dist/model/GetDeviceSessions200Response.js +16 -17
  95. package/dist/model/GetDevices200Response.js +16 -17
  96. package/dist/model/GetEvents200Response.js +20 -21
  97. package/dist/model/GetEventsByCursor200Response.js +23 -24
  98. package/dist/model/GetJobRuns200Response.js +11 -12
  99. package/dist/model/GetJobs200Response.js +11 -12
  100. package/dist/model/GetNotefile200Response.js +11 -11
  101. package/dist/model/GetProducts200Response.js +9 -10
  102. package/dist/model/GetProjectMembers200Response.js +11 -12
  103. package/dist/model/GetProjectSecretsResponse.js +11 -12
  104. package/dist/model/GetProjects200Response.js +9 -10
  105. package/dist/model/GetRouteLogsUsage200Response.js +14 -15
  106. package/dist/model/GetSessionsUsage200Response.js +15 -16
  107. package/dist/model/GetWebhooks200Response.js +9 -10
  108. package/dist/model/GoogleRoute.js +33 -33
  109. package/dist/model/HttpRoute.js +35 -35
  110. package/dist/model/Job.js +35 -35
  111. package/dist/model/JobDefinition.js +26 -26
  112. package/dist/model/JobDefinitionReportOptions.js +28 -28
  113. package/dist/model/JobDefinitionSelect.js +25 -25
  114. package/dist/model/JobDetail.js +48 -48
  115. package/dist/model/JobDetailAllOf.js +7 -7
  116. package/dist/model/JobRun.js +57 -57
  117. package/dist/model/Location.js +40 -40
  118. package/dist/model/Login200Response.js +7 -7
  119. package/dist/model/LoginRequest.js +12 -12
  120. package/dist/model/Monitor.js +114 -115
  121. package/dist/model/MonitorAlertRoutesInner.js +10 -9
  122. package/dist/model/MqttRoute.js +68 -68
  123. package/dist/model/Note.js +31 -31
  124. package/dist/model/NoteInput.js +9 -9
  125. package/dist/model/Notefile.js +22 -23
  126. package/dist/model/NotefileSchema.js +18 -19
  127. package/dist/model/NotehubRoute.js +103 -103
  128. package/dist/model/NotehubRouteSummary.js +23 -23
  129. package/dist/model/OAuth2Error.js +20 -20
  130. package/dist/model/OAuth2TokenResponse.js +23 -23
  131. package/dist/model/PersonalAccessToken.js +34 -34
  132. package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
  133. package/dist/model/PersonalAccessTokenInfo.js +18 -18
  134. package/dist/model/PersonalAccessTokenSecret.js +12 -12
  135. package/dist/model/Product.js +26 -26
  136. package/dist/model/Project.js +34 -34
  137. package/dist/model/ProjectMember.js +22 -22
  138. package/dist/model/ProjectSecret.js +26 -26
  139. package/dist/model/ProvisionDeviceRequest.js +18 -18
  140. package/dist/model/ProxyRoute.js +29 -29
  141. package/dist/model/QubitroRoute.js +33 -33
  142. package/dist/model/RadRoute.js +31 -31
  143. package/dist/model/Repository.js +22 -22
  144. package/dist/model/RepositoryListResponse.js +11 -12
  145. package/dist/model/RepositoryTokenRequest.js +14 -14
  146. package/dist/model/RepositoryTokenResponse.js +38 -38
  147. package/dist/model/Role.js +9 -9
  148. package/dist/model/RouteLog.js +38 -38
  149. package/dist/model/RouteTransformSettings.js +18 -18
  150. package/dist/model/RunJob200Response.js +8 -8
  151. package/dist/model/S3ArchiveRoute.js +79 -79
  152. package/dist/model/SatelliteDataUsage.js +18 -18
  153. package/dist/model/SatellitePlan.js +29 -29
  154. package/dist/model/SchemaProperty.js +36 -38
  155. package/dist/model/SignalDevice200Response.js +5 -5
  156. package/dist/model/SimUsage.js +19 -19
  157. package/dist/model/SlackBearerNotification.js +25 -25
  158. package/dist/model/SlackRoute.js +48 -48
  159. package/dist/model/SlackWebHookNotification.js +20 -20
  160. package/dist/model/SnowflakeRoute.js +45 -45
  161. package/dist/model/SnowpipeStreamingRoute.js +60 -60
  162. package/dist/model/ThingworxRoute.js +33 -33
  163. package/dist/model/TowerLocation.js +54 -54
  164. package/dist/model/TwilioRoute.js +43 -43
  165. package/dist/model/UpdateFleetRequest.js +33 -33
  166. package/dist/model/UpdateHostFirmwareRequest.js +17 -17
  167. package/dist/model/UpdateProjectSecretRequest.js +8 -8
  168. package/dist/model/UploadMetadata.js +64 -64
  169. package/dist/model/UsageData.js +33 -33
  170. package/dist/model/UsageEventsData.js +49 -49
  171. package/dist/model/UsageEventsResponse.js +14 -15
  172. package/dist/model/UsageRouteLogsData.js +30 -30
  173. package/dist/model/UsageSessionsData.js +43 -43
  174. package/dist/model/UserDfuStateMachine.js +20 -20
  175. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  176. package/dist/model/UserFirmwareInfo.js +12 -12
  177. package/dist/model/WebhookSettings.js +15 -15
  178. package/package.json +3 -3
@@ -35,7 +35,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
35
35
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
36
36
  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); } /**
37
37
  * Notehub API
38
- * The OpenAPI definition for the Notehub.io API.
38
+ * The OpenAPI definition for the Notehub.io API.
39
39
  *
40
40
  * The version of the OpenAPI document: 1.2.0
41
41
  * Contact: engineering@blues.io
@@ -46,18 +46,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
46
46
  *
47
47
  */
48
48
  /**
49
- * Device service.
50
- * @module api/DeviceApi
51
- * @version 6.2.0-beta.56
52
- */
49
+ * Device service.
50
+ * @module api/DeviceApi
51
+ * @version 6.2.0-beta.57
52
+ */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
55
- * Constructs a new DeviceApi.
56
- * @alias module:api/DeviceApi
57
- * @class
58
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
59
- * default to {@link module:ApiClient#instance} if unspecified.
60
- */
55
+ * Constructs a new DeviceApi.
56
+ * @alias module:api/DeviceApi
57
+ * @class
58
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
59
+ * default to {@link module:ApiClient#instance} if unspecified.
60
+ */
61
61
  function DeviceApi(apiClient) {
62
62
  _classCallCheck(this, DeviceApi);
63
63
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -65,10 +65,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
65
65
 
66
66
  /**
67
67
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
68
- * @param {String} projectOrProductUID
69
- * @param {String} deviceUID
70
- * @param {String} notefileID
71
- * @param {String} noteID
68
+ * @param {String} projectOrProductUID
69
+ * @param {String} deviceUID
70
+ * @param {String} notefileID
71
+ * @param {String} noteID
72
72
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
73
73
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
74
74
  */
@@ -97,27 +97,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
97
97
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addDbNote");
98
98
  }
99
99
  var pathParams = {
100
- 'projectOrProductUID': projectOrProductUID,
101
- 'deviceUID': deviceUID,
102
- 'notefileID': notefileID,
103
- 'noteID': noteID
100
+ projectOrProductUID: projectOrProductUID,
101
+ deviceUID: deviceUID,
102
+ notefileID: notefileID,
103
+ noteID: noteID
104
104
  };
105
105
  var queryParams = {};
106
106
  var headerParams = {};
107
107
  var formParams = {};
108
- var authNames = ['personalAccessToken'];
109
- var contentTypes = ['application/json'];
110
- var accepts = ['application/json'];
108
+ var authNames = ["personalAccessToken"];
109
+ var contentTypes = ["application/json"];
110
+ var accepts = ["application/json"];
111
111
  var returnType = null;
112
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
112
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
113
113
  }
114
114
 
115
115
  /**
116
116
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
117
- * @param {String} projectOrProductUID
118
- * @param {String} deviceUID
119
- * @param {String} notefileID
120
- * @param {String} noteID
117
+ * @param {String} projectOrProductUID
118
+ * @param {String} deviceUID
119
+ * @param {String} notefileID
120
+ * @param {String} noteID
121
121
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
122
122
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
123
123
  */
@@ -131,9 +131,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
131
131
 
132
132
  /**
133
133
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
134
- * @param {String} projectOrProductUID
135
- * @param {String} deviceUID
136
- * @param {String} notefileID
134
+ * @param {String} projectOrProductUID
135
+ * @param {String} deviceUID
136
+ * @param {String} notefileID
137
137
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
138
138
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
139
139
  */
@@ -158,25 +158,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
158
158
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addQiNote");
159
159
  }
160
160
  var pathParams = {
161
- 'projectOrProductUID': projectOrProductUID,
162
- 'deviceUID': deviceUID,
163
- 'notefileID': notefileID
161
+ projectOrProductUID: projectOrProductUID,
162
+ deviceUID: deviceUID,
163
+ notefileID: notefileID
164
164
  };
165
165
  var queryParams = {};
166
166
  var headerParams = {};
167
167
  var formParams = {};
168
- var authNames = ['personalAccessToken'];
169
- var contentTypes = ['application/json'];
170
- var accepts = ['application/json'];
168
+ var authNames = ["personalAccessToken"];
169
+ var contentTypes = ["application/json"];
170
+ var accepts = ["application/json"];
171
171
  var returnType = null;
172
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
172
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
173
173
  }
174
174
 
175
175
  /**
176
176
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
177
- * @param {String} projectOrProductUID
178
- * @param {String} deviceUID
179
- * @param {String} notefileID
177
+ * @param {String} projectOrProductUID
178
+ * @param {String} deviceUID
179
+ * @param {String} notefileID
180
180
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
181
181
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
182
182
  */
@@ -190,9 +190,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
190
190
 
191
191
  /**
192
192
  * Creates an empty Notefile on the device.
193
- * @param {String} projectOrProductUID
194
- * @param {String} deviceUID
195
- * @param {String} notefileID
193
+ * @param {String} projectOrProductUID
194
+ * @param {String} deviceUID
195
+ * @param {String} notefileID
196
196
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
197
197
  */
198
198
  }, {
@@ -212,25 +212,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
212
212
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling createNotefile");
213
213
  }
214
214
  var pathParams = {
215
- 'projectOrProductUID': projectOrProductUID,
216
- 'deviceUID': deviceUID,
217
- 'notefileID': notefileID
215
+ projectOrProductUID: projectOrProductUID,
216
+ deviceUID: deviceUID,
217
+ notefileID: notefileID
218
218
  };
219
219
  var queryParams = {};
220
220
  var headerParams = {};
221
221
  var formParams = {};
222
- var authNames = ['personalAccessToken'];
222
+ var authNames = ["personalAccessToken"];
223
223
  var contentTypes = [];
224
- var accepts = ['application/json'];
224
+ var accepts = ["application/json"];
225
225
  var returnType = null;
226
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
226
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
227
227
  }
228
228
 
229
229
  /**
230
230
  * Creates an empty Notefile on the device.
231
- * @param {String} projectOrProductUID
232
- * @param {String} deviceUID
233
- * @param {String} notefileID
231
+ * @param {String} projectOrProductUID
232
+ * @param {String} deviceUID
233
+ * @param {String} notefileID
234
234
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
235
235
  */
236
236
  }, {
@@ -243,8 +243,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
243
243
 
244
244
  /**
245
245
  * Delete Device
246
- * @param {String} projectOrProductUID
247
- * @param {String} deviceUID
246
+ * @param {String} projectOrProductUID
247
+ * @param {String} deviceUID
248
248
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
249
249
  */
250
250
  }, {
@@ -260,23 +260,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
260
260
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling deleteDevice");
261
261
  }
262
262
  var pathParams = {
263
- 'projectOrProductUID': projectOrProductUID,
264
- 'deviceUID': deviceUID
263
+ projectOrProductUID: projectOrProductUID,
264
+ deviceUID: deviceUID
265
265
  };
266
266
  var queryParams = {};
267
267
  var headerParams = {};
268
268
  var formParams = {};
269
- var authNames = ['personalAccessToken'];
269
+ var authNames = ["personalAccessToken"];
270
270
  var contentTypes = [];
271
- var accepts = ['application/json'];
271
+ var accepts = ["application/json"];
272
272
  var returnType = null;
273
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
273
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
274
274
  }
275
275
 
276
276
  /**
277
277
  * Delete Device
278
- * @param {String} projectOrProductUID
279
- * @param {String} deviceUID
278
+ * @param {String} projectOrProductUID
279
+ * @param {String} deviceUID
280
280
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
281
281
  */
282
282
  }, {
@@ -289,8 +289,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
289
289
 
290
290
  /**
291
291
  * Delete environment variable of a device
292
- * @param {String} projectOrProductUID
293
- * @param {String} deviceUID
292
+ * @param {String} projectOrProductUID
293
+ * @param {String} deviceUID
294
294
  * @param {String} key The environment variable key to delete.
295
295
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
296
296
  */
@@ -311,24 +311,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
311
311
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
312
312
  }
313
313
  var pathParams = {
314
- 'projectOrProductUID': projectOrProductUID,
315
- 'deviceUID': deviceUID,
316
- 'key': key
314
+ projectOrProductUID: projectOrProductUID,
315
+ deviceUID: deviceUID,
316
+ key: key
317
317
  };
318
318
  var queryParams = {};
319
319
  var headerParams = {};
320
320
  var formParams = {};
321
- var authNames = ['personalAccessToken'];
321
+ var authNames = ["personalAccessToken"];
322
322
  var contentTypes = [];
323
- var accepts = ['application/json'];
323
+ var accepts = ["application/json"];
324
324
  var returnType = _EnvironmentVariables["default"];
325
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
325
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
326
326
  }
327
327
 
328
328
  /**
329
329
  * Delete environment variable of a device
330
- * @param {String} projectOrProductUID
331
- * @param {String} deviceUID
330
+ * @param {String} projectOrProductUID
331
+ * @param {String} deviceUID
332
332
  * @param {String} key The environment variable key to delete.
333
333
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
334
334
  */
@@ -342,10 +342,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
342
342
 
343
343
  /**
344
344
  * Delete a note from a .db or .qi notefile
345
- * @param {String} projectOrProductUID
346
- * @param {String} deviceUID
347
- * @param {String} notefileID
348
- * @param {String} noteID
345
+ * @param {String} projectOrProductUID
346
+ * @param {String} deviceUID
347
+ * @param {String} notefileID
348
+ * @param {String} noteID
349
349
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
350
350
  */
351
351
  }, {
@@ -369,27 +369,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
369
369
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling deleteNote");
370
370
  }
371
371
  var pathParams = {
372
- 'projectOrProductUID': projectOrProductUID,
373
- 'deviceUID': deviceUID,
374
- 'notefileID': notefileID,
375
- 'noteID': noteID
372
+ projectOrProductUID: projectOrProductUID,
373
+ deviceUID: deviceUID,
374
+ notefileID: notefileID,
375
+ noteID: noteID
376
376
  };
377
377
  var queryParams = {};
378
378
  var headerParams = {};
379
379
  var formParams = {};
380
- var authNames = ['personalAccessToken'];
380
+ var authNames = ["personalAccessToken"];
381
381
  var contentTypes = [];
382
- var accepts = ['application/json'];
382
+ var accepts = ["application/json"];
383
383
  var returnType = null;
384
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
384
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
385
385
  }
386
386
 
387
387
  /**
388
388
  * Delete a note from a .db or .qi notefile
389
- * @param {String} projectOrProductUID
390
- * @param {String} deviceUID
391
- * @param {String} notefileID
392
- * @param {String} noteID
389
+ * @param {String} projectOrProductUID
390
+ * @param {String} deviceUID
391
+ * @param {String} notefileID
392
+ * @param {String} noteID
393
393
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
394
394
  */
395
395
  }, {
@@ -402,9 +402,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
402
402
 
403
403
  /**
404
404
  * Deletes Notefiles and the Notes they contain.
405
- * @param {String} projectOrProductUID
406
- * @param {String} deviceUID
407
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
405
+ * @param {String} projectOrProductUID
406
+ * @param {String} deviceUID
407
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
408
408
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
409
409
  */
410
410
  }, {
@@ -424,24 +424,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
424
424
  throw new _Error["default"]("Missing the required parameter 'deleteNotefilesRequest' when calling deleteNotefiles");
425
425
  }
426
426
  var pathParams = {
427
- 'projectOrProductUID': projectOrProductUID,
428
- 'deviceUID': deviceUID
427
+ projectOrProductUID: projectOrProductUID,
428
+ deviceUID: deviceUID
429
429
  };
430
430
  var queryParams = {};
431
431
  var headerParams = {};
432
432
  var formParams = {};
433
- var authNames = ['personalAccessToken'];
434
- var contentTypes = ['application/json'];
435
- var accepts = ['application/json'];
433
+ var authNames = ["personalAccessToken"];
434
+ var contentTypes = ["application/json"];
435
+ var accepts = ["application/json"];
436
436
  var returnType = null;
437
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
437
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
438
438
  }
439
439
 
440
440
  /**
441
441
  * Deletes Notefiles and the Notes they contain.
442
- * @param {String} projectOrProductUID
443
- * @param {String} deviceUID
444
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
442
+ * @param {String} projectOrProductUID
443
+ * @param {String} deviceUID
444
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
445
445
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
446
446
  */
447
447
  }, {
@@ -454,8 +454,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
454
454
 
455
455
  /**
456
456
  * Disable Device
457
- * @param {String} projectOrProductUID
458
- * @param {String} deviceUID
457
+ * @param {String} projectOrProductUID
458
+ * @param {String} deviceUID
459
459
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
460
460
  */
461
461
  }, {
@@ -471,23 +471,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
471
471
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDevice");
472
472
  }
473
473
  var pathParams = {
474
- 'projectOrProductUID': projectOrProductUID,
475
- 'deviceUID': deviceUID
474
+ projectOrProductUID: projectOrProductUID,
475
+ deviceUID: deviceUID
476
476
  };
477
477
  var queryParams = {};
478
478
  var headerParams = {};
479
479
  var formParams = {};
480
- var authNames = ['personalAccessToken'];
480
+ var authNames = ["personalAccessToken"];
481
481
  var contentTypes = [];
482
- var accepts = ['application/json'];
482
+ var accepts = ["application/json"];
483
483
  var returnType = null;
484
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
484
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
485
485
  }
486
486
 
487
487
  /**
488
488
  * Disable Device
489
- * @param {String} projectOrProductUID
490
- * @param {String} deviceUID
489
+ * @param {String} projectOrProductUID
490
+ * @param {String} deviceUID
491
491
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
492
492
  */
493
493
  }, {
@@ -500,8 +500,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
500
500
 
501
501
  /**
502
502
  * Enable Device
503
- * @param {String} projectOrProductUID
504
- * @param {String} deviceUID
503
+ * @param {String} projectOrProductUID
504
+ * @param {String} deviceUID
505
505
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
506
506
  */
507
507
  }, {
@@ -517,23 +517,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
517
517
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
518
518
  }
519
519
  var pathParams = {
520
- 'projectOrProductUID': projectOrProductUID,
521
- 'deviceUID': deviceUID
520
+ projectOrProductUID: projectOrProductUID,
521
+ deviceUID: deviceUID
522
522
  };
523
523
  var queryParams = {};
524
524
  var headerParams = {};
525
525
  var formParams = {};
526
- var authNames = ['personalAccessToken'];
526
+ var authNames = ["personalAccessToken"];
527
527
  var contentTypes = [];
528
- var accepts = ['application/json'];
528
+ var accepts = ["application/json"];
529
529
  var returnType = null;
530
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
530
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
531
531
  }
532
532
 
533
533
  /**
534
534
  * Enable Device
535
- * @param {String} projectOrProductUID
536
- * @param {String} deviceUID
535
+ * @param {String} projectOrProductUID
536
+ * @param {String} deviceUID
537
537
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
538
538
  */
539
539
  }, {
@@ -546,10 +546,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
546
546
 
547
547
  /**
548
548
  * Get a note from a .db or .qi notefile
549
- * @param {String} projectOrProductUID
550
- * @param {String} deviceUID
551
- * @param {String} notefileID
552
- * @param {String} noteID
549
+ * @param {String} projectOrProductUID
550
+ * @param {String} deviceUID
551
+ * @param {String} notefileID
552
+ * @param {String} noteID
553
553
  * @param {Object} opts Optional parameters
554
554
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
555
555
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -577,30 +577,30 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
577
577
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling getDbNote");
578
578
  }
579
579
  var pathParams = {
580
- 'projectOrProductUID': projectOrProductUID,
581
- 'deviceUID': deviceUID,
582
- 'notefileID': notefileID,
583
- 'noteID': noteID
580
+ projectOrProductUID: projectOrProductUID,
581
+ deviceUID: deviceUID,
582
+ notefileID: notefileID,
583
+ noteID: noteID
584
584
  };
585
585
  var queryParams = {
586
- 'delete': opts['_delete'],
587
- 'deleted': opts['deleted']
586
+ "delete": opts["_delete"],
587
+ deleted: opts["deleted"]
588
588
  };
589
589
  var headerParams = {};
590
590
  var formParams = {};
591
- var authNames = ['personalAccessToken'];
591
+ var authNames = ["personalAccessToken"];
592
592
  var contentTypes = [];
593
- var accepts = ['application/json'];
593
+ var accepts = ["application/json"];
594
594
  var returnType = _GetDbNote200Response["default"];
595
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
595
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
596
596
  }
597
597
 
598
598
  /**
599
599
  * Get a note from a .db or .qi notefile
600
- * @param {String} projectOrProductUID
601
- * @param {String} deviceUID
602
- * @param {String} notefileID
603
- * @param {String} noteID
600
+ * @param {String} projectOrProductUID
601
+ * @param {String} deviceUID
602
+ * @param {String} notefileID
603
+ * @param {String} noteID
604
604
  * @param {Object} opts Optional parameters
605
605
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
606
606
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -616,8 +616,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
616
616
 
617
617
  /**
618
618
  * Get Device
619
- * @param {String} projectOrProductUID
620
- * @param {String} deviceUID
619
+ * @param {String} projectOrProductUID
620
+ * @param {String} deviceUID
621
621
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
622
622
  */
623
623
  }, {
@@ -633,23 +633,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
633
633
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
634
634
  }
635
635
  var pathParams = {
636
- 'projectOrProductUID': projectOrProductUID,
637
- 'deviceUID': deviceUID
636
+ projectOrProductUID: projectOrProductUID,
637
+ deviceUID: deviceUID
638
638
  };
639
639
  var queryParams = {};
640
640
  var headerParams = {};
641
641
  var formParams = {};
642
- var authNames = ['personalAccessToken'];
642
+ var authNames = ["personalAccessToken"];
643
643
  var contentTypes = [];
644
- var accepts = ['application/json'];
644
+ var accepts = ["application/json"];
645
645
  var returnType = _Device["default"];
646
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
646
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
647
647
  }
648
648
 
649
649
  /**
650
650
  * Get Device
651
- * @param {String} projectOrProductUID
652
- * @param {String} deviceUID
651
+ * @param {String} projectOrProductUID
652
+ * @param {String} deviceUID
653
653
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
654
654
  */
655
655
  }, {
@@ -662,8 +662,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
662
662
 
663
663
  /**
664
664
  * Get environment variable hierarchy for a device
665
- * @param {String} projectOrProductUID
666
- * @param {String} deviceUID
665
+ * @param {String} projectOrProductUID
666
+ * @param {String} deviceUID
667
667
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
668
668
  */
669
669
  }, {
@@ -679,23 +679,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
679
679
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentHierarchy");
680
680
  }
681
681
  var pathParams = {
682
- 'projectOrProductUID': projectOrProductUID,
683
- 'deviceUID': deviceUID
682
+ projectOrProductUID: projectOrProductUID,
683
+ deviceUID: deviceUID
684
684
  };
685
685
  var queryParams = {};
686
686
  var headerParams = {};
687
687
  var formParams = {};
688
- var authNames = ['personalAccessToken'];
688
+ var authNames = ["personalAccessToken"];
689
689
  var contentTypes = [];
690
- var accepts = ['application/json'];
690
+ var accepts = ["application/json"];
691
691
  var returnType = _EnvTreeJsonNode["default"];
692
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
692
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
693
693
  }
694
694
 
695
695
  /**
696
696
  * Get environment variable hierarchy for a device
697
- * @param {String} projectOrProductUID
698
- * @param {String} deviceUID
697
+ * @param {String} projectOrProductUID
698
+ * @param {String} deviceUID
699
699
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
700
700
  */
701
701
  }, {
@@ -708,8 +708,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
708
708
 
709
709
  /**
710
710
  * Get environment variables of a device
711
- * @param {String} projectOrProductUID
712
- * @param {String} deviceUID
711
+ * @param {String} projectOrProductUID
712
+ * @param {String} deviceUID
713
713
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
714
714
  */
715
715
  }, {
@@ -725,23 +725,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
725
725
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
726
726
  }
727
727
  var pathParams = {
728
- 'projectOrProductUID': projectOrProductUID,
729
- 'deviceUID': deviceUID
728
+ projectOrProductUID: projectOrProductUID,
729
+ deviceUID: deviceUID
730
730
  };
731
731
  var queryParams = {};
732
732
  var headerParams = {};
733
733
  var formParams = {};
734
- var authNames = ['personalAccessToken'];
734
+ var authNames = ["personalAccessToken"];
735
735
  var contentTypes = [];
736
- var accepts = ['application/json'];
736
+ var accepts = ["application/json"];
737
737
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
738
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
738
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
739
739
  }
740
740
 
741
741
  /**
742
742
  * Get environment variables of a device
743
- * @param {String} projectOrProductUID
744
- * @param {String} deviceUID
743
+ * @param {String} projectOrProductUID
744
+ * @param {String} deviceUID
745
745
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
746
746
  */
747
747
  }, {
@@ -754,8 +754,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
754
754
 
755
755
  /**
756
756
  * Get environment variables of a device with device pin authorization
757
- * @param {String} productUID
758
- * @param {String} deviceUID
757
+ * @param {String} productUID
758
+ * @param {String} deviceUID
759
759
  * @param {String} xAuthToken For accessing endpoints by Device pin.
760
760
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
761
761
  */
@@ -776,25 +776,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
776
776
  throw new _Error["default"]("Missing the required parameter 'xAuthToken' when calling getDeviceEnvironmentVariablesByPin");
777
777
  }
778
778
  var pathParams = {
779
- 'productUID': productUID,
780
- 'deviceUID': deviceUID
779
+ productUID: productUID,
780
+ deviceUID: deviceUID
781
781
  };
782
782
  var queryParams = {};
783
783
  var headerParams = {
784
- 'X-Auth-Token': xAuthToken
784
+ "X-Auth-Token": xAuthToken
785
785
  };
786
786
  var formParams = {};
787
- var authNames = ['personalAccessToken'];
787
+ var authNames = ["personalAccessToken"];
788
788
  var contentTypes = [];
789
- var accepts = ['application/json'];
789
+ var accepts = ["application/json"];
790
790
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
791
- return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
791
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
792
792
  }
793
793
 
794
794
  /**
795
795
  * Get environment variables of a device with device pin authorization
796
- * @param {String} productUID
797
- * @param {String} deviceUID
796
+ * @param {String} productUID
797
+ * @param {String} deviceUID
798
798
  * @param {String} xAuthToken For accessing endpoints by Device pin.
799
799
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
800
800
  */
@@ -808,8 +808,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
808
808
 
809
809
  /**
810
810
  * Get Device Health Log
811
- * @param {String} projectOrProductUID
812
- * @param {String} deviceUID
811
+ * @param {String} projectOrProductUID
812
+ * @param {String} deviceUID
813
813
  * @param {Object} opts Optional parameters
814
814
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
815
815
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -830,27 +830,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
830
830
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
831
831
  }
832
832
  var pathParams = {
833
- 'projectOrProductUID': projectOrProductUID,
834
- 'deviceUID': deviceUID
833
+ projectOrProductUID: projectOrProductUID,
834
+ deviceUID: deviceUID
835
835
  };
836
836
  var queryParams = {
837
- 'startDate': opts['startDate'],
838
- 'endDate': opts['endDate'],
839
- 'log_type': this.apiClient.buildCollectionParam(opts['logType'], 'multi')
837
+ startDate: opts["startDate"],
838
+ endDate: opts["endDate"],
839
+ log_type: this.apiClient.buildCollectionParam(opts["logType"], "multi")
840
840
  };
841
841
  var headerParams = {};
842
842
  var formParams = {};
843
- var authNames = ['personalAccessToken'];
843
+ var authNames = ["personalAccessToken"];
844
844
  var contentTypes = [];
845
- var accepts = ['application/json'];
845
+ var accepts = ["application/json"];
846
846
  var returnType = _GetDeviceHealthLog200Response["default"];
847
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
847
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
848
848
  }
849
849
 
850
850
  /**
851
851
  * Get Device Health Log
852
- * @param {String} projectOrProductUID
853
- * @param {String} deviceUID
852
+ * @param {String} projectOrProductUID
853
+ * @param {String} deviceUID
854
854
  * @param {Object} opts Optional parameters
855
855
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
856
856
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -866,10 +866,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
866
866
  }
867
867
 
868
868
  /**
869
- * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
870
- * @param {String} projectOrProductUID
871
- * @param {String} deviceUID
872
- * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
869
+ * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
870
+ * @param {String} projectOrProductUID
871
+ * @param {String} deviceUID
872
+ * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
873
873
  * @param {Object} opts Optional parameters
874
874
  * @param {Number} opts.pageSize (default to 50)
875
875
  * @param {Number} opts.pageNum (default to 1)
@@ -893,28 +893,28 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
893
893
  throw new _Error["default"]("Missing the required parameter 'journeyID' when calling getDeviceJourney");
894
894
  }
895
895
  var pathParams = {
896
- 'projectOrProductUID': projectOrProductUID,
897
- 'deviceUID': deviceUID,
898
- 'journeyID': journeyID
896
+ projectOrProductUID: projectOrProductUID,
897
+ deviceUID: deviceUID,
898
+ journeyID: journeyID
899
899
  };
900
900
  var queryParams = {
901
- 'pageSize': opts['pageSize'],
902
- 'pageNum': opts['pageNum']
901
+ pageSize: opts["pageSize"],
902
+ pageNum: opts["pageNum"]
903
903
  };
904
904
  var headerParams = {};
905
905
  var formParams = {};
906
- var authNames = ['personalAccessToken'];
906
+ var authNames = ["personalAccessToken"];
907
907
  var contentTypes = [];
908
- var accepts = ['application/json'];
908
+ var accepts = ["application/json"];
909
909
  var returnType = _GetDeviceJourney200Response["default"];
910
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
910
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
911
911
  }
912
912
 
913
913
  /**
914
- * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
915
- * @param {String} projectOrProductUID
916
- * @param {String} deviceUID
917
- * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
914
+ * Get a single journey for a device along with its `_track.qo` events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
915
+ * @param {String} projectOrProductUID
916
+ * @param {String} deviceUID
917
+ * @param {Number} journeyID Identifier of the journey, taken from the `journey` field on `_track.qo` events (a Unix timestamp marking the start of the journey).
918
918
  * @param {Object} opts Optional parameters
919
919
  * @param {Number} opts.pageSize (default to 50)
920
920
  * @param {Number} opts.pageNum (default to 1)
@@ -929,9 +929,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
929
929
  }
930
930
 
931
931
  /**
932
- * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
933
- * @param {String} projectOrProductUID
934
- * @param {String} deviceUID
932
+ * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
933
+ * @param {String} projectOrProductUID
934
+ * @param {String} deviceUID
935
935
  * @param {Object} opts Optional parameters
936
936
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
937
937
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -951,26 +951,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
951
951
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceJourneys");
952
952
  }
953
953
  var pathParams = {
954
- 'projectOrProductUID': projectOrProductUID,
955
- 'deviceUID': deviceUID
954
+ projectOrProductUID: projectOrProductUID,
955
+ deviceUID: deviceUID
956
956
  };
957
957
  var queryParams = {
958
- 'startDate': opts['startDate'],
959
- 'endDate': opts['endDate']
958
+ startDate: opts["startDate"],
959
+ endDate: opts["endDate"]
960
960
  };
961
961
  var headerParams = {};
962
962
  var formParams = {};
963
- var authNames = ['personalAccessToken'];
963
+ var authNames = ["personalAccessToken"];
964
964
  var contentTypes = [];
965
- var accepts = ['application/json'];
965
+ var accepts = ["application/json"];
966
966
  var returnType = _GetDeviceJourneys200Response["default"];
967
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
967
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
968
968
  }
969
969
 
970
970
  /**
971
- * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
972
- * @param {String} projectOrProductUID
973
- * @param {String} deviceUID
971
+ * Get the list of journeys for a device, derived from `_track.qo` events. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
972
+ * @param {String} projectOrProductUID
973
+ * @param {String} deviceUID
974
974
  * @param {Object} opts Optional parameters
975
975
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
976
976
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -986,8 +986,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
986
986
 
987
987
  /**
988
988
  * Get Device Latest Events
989
- * @param {String} projectOrProductUID
990
- * @param {String} deviceUID
989
+ * @param {String} projectOrProductUID
990
+ * @param {String} deviceUID
991
991
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
992
992
  */
993
993
  }, {
@@ -1003,23 +1003,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1003
1003
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatestEvents");
1004
1004
  }
1005
1005
  var pathParams = {
1006
- 'projectOrProductUID': projectOrProductUID,
1007
- 'deviceUID': deviceUID
1006
+ projectOrProductUID: projectOrProductUID,
1007
+ deviceUID: deviceUID
1008
1008
  };
1009
1009
  var queryParams = {};
1010
1010
  var headerParams = {};
1011
1011
  var formParams = {};
1012
- var authNames = ['personalAccessToken'];
1012
+ var authNames = ["personalAccessToken"];
1013
1013
  var contentTypes = [];
1014
- var accepts = ['application/json'];
1014
+ var accepts = ["application/json"];
1015
1015
  var returnType = _GetDeviceLatestEvents200Response["default"];
1016
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1016
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1017
1017
  }
1018
1018
 
1019
1019
  /**
1020
1020
  * Get Device Latest Events
1021
- * @param {String} projectOrProductUID
1022
- * @param {String} deviceUID
1021
+ * @param {String} projectOrProductUID
1022
+ * @param {String} deviceUID
1023
1023
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
1024
1024
  */
1025
1025
  }, {
@@ -1032,8 +1032,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1032
1032
 
1033
1033
  /**
1034
1034
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
1035
- * @param {String} projectOrProductUID
1036
- * @param {String} deviceUID
1035
+ * @param {String} projectOrProductUID
1036
+ * @param {String} deviceUID
1037
1037
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
1038
1038
  */
1039
1039
  }, {
@@ -1049,23 +1049,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1049
1049
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePlans");
1050
1050
  }
1051
1051
  var pathParams = {
1052
- 'projectOrProductUID': projectOrProductUID,
1053
- 'deviceUID': deviceUID
1052
+ projectOrProductUID: projectOrProductUID,
1053
+ deviceUID: deviceUID
1054
1054
  };
1055
1055
  var queryParams = {};
1056
1056
  var headerParams = {};
1057
1057
  var formParams = {};
1058
- var authNames = ['personalAccessToken'];
1058
+ var authNames = ["personalAccessToken"];
1059
1059
  var contentTypes = [];
1060
- var accepts = ['application/json'];
1060
+ var accepts = ["application/json"];
1061
1061
  var returnType = _GetDevicePlans200Response["default"];
1062
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1062
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1063
1063
  }
1064
1064
 
1065
1065
  /**
1066
1066
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
1067
- * @param {String} projectOrProductUID
1068
- * @param {String} deviceUID
1067
+ * @param {String} projectOrProductUID
1068
+ * @param {String} deviceUID
1069
1069
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
1070
1070
  */
1071
1071
  }, {
@@ -1078,8 +1078,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1078
1078
 
1079
1079
  /**
1080
1080
  * Get Device Public Key
1081
- * @param {String} projectOrProductUID
1082
- * @param {String} deviceUID
1081
+ * @param {String} projectOrProductUID
1082
+ * @param {String} deviceUID
1083
1083
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
1084
1084
  */
1085
1085
  }, {
@@ -1095,23 +1095,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1095
1095
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
1096
1096
  }
1097
1097
  var pathParams = {
1098
- 'projectOrProductUID': projectOrProductUID,
1099
- 'deviceUID': deviceUID
1098
+ projectOrProductUID: projectOrProductUID,
1099
+ deviceUID: deviceUID
1100
1100
  };
1101
1101
  var queryParams = {};
1102
1102
  var headerParams = {};
1103
1103
  var formParams = {};
1104
- var authNames = ['personalAccessToken'];
1104
+ var authNames = ["personalAccessToken"];
1105
1105
  var contentTypes = [];
1106
- var accepts = ['application/json'];
1106
+ var accepts = ["application/json"];
1107
1107
  var returnType = _GetDevicePublicKey200Response["default"];
1108
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1108
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1109
1109
  }
1110
1110
 
1111
1111
  /**
1112
1112
  * Get Device Public Key
1113
- * @param {String} projectOrProductUID
1114
- * @param {String} deviceUID
1113
+ * @param {String} projectOrProductUID
1114
+ * @param {String} deviceUID
1115
1115
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
1116
1116
  */
1117
1117
  }, {
@@ -1124,7 +1124,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1124
1124
 
1125
1125
  /**
1126
1126
  * Get Device Public Keys of a Project
1127
- * @param {String} projectOrProductUID
1127
+ * @param {String} projectOrProductUID
1128
1128
  * @param {Object} opts Optional parameters
1129
1129
  * @param {Number} opts.pageSize (default to 50)
1130
1130
  * @param {Number} opts.pageNum (default to 1)
@@ -1140,24 +1140,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1140
1140
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePublicKeys");
1141
1141
  }
1142
1142
  var pathParams = {
1143
- 'projectOrProductUID': projectOrProductUID
1143
+ projectOrProductUID: projectOrProductUID
1144
1144
  };
1145
1145
  var queryParams = {
1146
- 'pageSize': opts['pageSize'],
1147
- 'pageNum': opts['pageNum']
1146
+ pageSize: opts["pageSize"],
1147
+ pageNum: opts["pageNum"]
1148
1148
  };
1149
1149
  var headerParams = {};
1150
1150
  var formParams = {};
1151
- var authNames = ['personalAccessToken'];
1151
+ var authNames = ["personalAccessToken"];
1152
1152
  var contentTypes = [];
1153
- var accepts = ['application/json'];
1153
+ var accepts = ["application/json"];
1154
1154
  var returnType = _GetDevicePublicKeys200Response["default"];
1155
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1155
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/public-keys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1156
1156
  }
1157
1157
 
1158
1158
  /**
1159
1159
  * Get Device Public Keys of a Project
1160
- * @param {String} projectOrProductUID
1160
+ * @param {String} projectOrProductUID
1161
1161
  * @param {Object} opts Optional parameters
1162
1162
  * @param {Number} opts.pageSize (default to 50)
1163
1163
  * @param {Number} opts.pageNum (default to 1)
@@ -1173,8 +1173,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1173
1173
 
1174
1174
  /**
1175
1175
  * Get Device Sessions
1176
- * @param {String} projectOrProductUID
1177
- * @param {String} deviceUID
1176
+ * @param {String} projectOrProductUID
1177
+ * @param {String} deviceUID
1178
1178
  * @param {Object} opts Optional parameters
1179
1179
  * @param {Number} opts.pageSize (default to 50)
1180
1180
  * @param {Number} opts.pageNum (default to 1)
@@ -1197,29 +1197,29 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1197
1197
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
1198
1198
  }
1199
1199
  var pathParams = {
1200
- 'projectOrProductUID': projectOrProductUID,
1201
- 'deviceUID': deviceUID
1200
+ projectOrProductUID: projectOrProductUID,
1201
+ deviceUID: deviceUID
1202
1202
  };
1203
1203
  var queryParams = {
1204
- 'pageSize': opts['pageSize'],
1205
- 'pageNum': opts['pageNum'],
1206
- 'startDate': opts['startDate'],
1207
- 'endDate': opts['endDate'],
1208
- 'firstSync': opts['firstSync']
1204
+ pageSize: opts["pageSize"],
1205
+ pageNum: opts["pageNum"],
1206
+ startDate: opts["startDate"],
1207
+ endDate: opts["endDate"],
1208
+ firstSync: opts["firstSync"]
1209
1209
  };
1210
1210
  var headerParams = {};
1211
1211
  var formParams = {};
1212
- var authNames = ['personalAccessToken'];
1212
+ var authNames = ["personalAccessToken"];
1213
1213
  var contentTypes = [];
1214
- var accepts = ['application/json'];
1214
+ var accepts = ["application/json"];
1215
1215
  var returnType = _GetDeviceSessions200Response["default"];
1216
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1216
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1217
1217
  }
1218
1218
 
1219
1219
  /**
1220
1220
  * Get Device Sessions
1221
- * @param {String} projectOrProductUID
1222
- * @param {String} deviceUID
1221
+ * @param {String} projectOrProductUID
1222
+ * @param {String} deviceUID
1223
1223
  * @param {Object} opts Optional parameters
1224
1224
  * @param {Number} opts.pageSize (default to 50)
1225
1225
  * @param {Number} opts.pageNum (default to 1)
@@ -1238,18 +1238,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1238
1238
 
1239
1239
  /**
1240
1240
  * Get Devices of a Project
1241
- * @param {String} projectOrProductUID
1241
+ * @param {String} projectOrProductUID
1242
1242
  * @param {Object} opts Optional parameters
1243
1243
  * @param {Number} opts.pageSize (default to 50)
1244
1244
  * @param {Number} opts.pageNum (default to 1)
1245
1245
  * @param {Array.<String>} opts.deviceUID A Device UID.
1246
1246
  * @param {Array.<String>} opts.tag Tag filter
1247
1247
  * @param {Array.<String>} opts.serialNumber Serial number filter
1248
- * @param {Array.<String>} opts.fleetUID
1248
+ * @param {Array.<String>} opts.fleetUID
1249
1249
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1250
1250
  * @param {Array.<String>} opts.location Location filter
1251
1251
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1252
- * @param {Array.<String>} opts.productUID
1252
+ * @param {Array.<String>} opts.productUID
1253
1253
  * @param {Array.<String>} opts.sku SKU filter
1254
1254
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1255
1255
  */
@@ -1263,44 +1263,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1263
1263
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevices");
1264
1264
  }
1265
1265
  var pathParams = {
1266
- 'projectOrProductUID': projectOrProductUID
1266
+ projectOrProductUID: projectOrProductUID
1267
1267
  };
1268
1268
  var queryParams = {
1269
- 'pageSize': opts['pageSize'],
1270
- 'pageNum': opts['pageNum'],
1271
- 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1272
- 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1273
- 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1274
- 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
1275
- 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1276
- 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1277
- 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1278
- 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1279
- 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1269
+ pageSize: opts["pageSize"],
1270
+ pageNum: opts["pageNum"],
1271
+ deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1272
+ tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1273
+ serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1274
+ fleetUID: this.apiClient.buildCollectionParam(opts["fleetUID"], "multi"),
1275
+ notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1276
+ location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1277
+ hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1278
+ productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1279
+ sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1280
1280
  };
1281
1281
  var headerParams = {};
1282
1282
  var formParams = {};
1283
- var authNames = ['personalAccessToken'];
1283
+ var authNames = ["personalAccessToken"];
1284
1284
  var contentTypes = [];
1285
- var accepts = ['application/json'];
1285
+ var accepts = ["application/json"];
1286
1286
  var returnType = _GetDevices200Response["default"];
1287
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1287
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1288
1288
  }
1289
1289
 
1290
1290
  /**
1291
1291
  * Get Devices of a Project
1292
- * @param {String} projectOrProductUID
1292
+ * @param {String} projectOrProductUID
1293
1293
  * @param {Object} opts Optional parameters
1294
1294
  * @param {Number} opts.pageSize (default to 50)
1295
1295
  * @param {Number} opts.pageNum (default to 1)
1296
1296
  * @param {Array.<String>} opts.deviceUID A Device UID.
1297
1297
  * @param {Array.<String>} opts.tag Tag filter
1298
1298
  * @param {Array.<String>} opts.serialNumber Serial number filter
1299
- * @param {Array.<String>} opts.fleetUID
1299
+ * @param {Array.<String>} opts.fleetUID
1300
1300
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1301
1301
  * @param {Array.<String>} opts.location Location filter
1302
1302
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1303
- * @param {Array.<String>} opts.productUID
1303
+ * @param {Array.<String>} opts.productUID
1304
1304
  * @param {Array.<String>} opts.sku SKU filter
1305
1305
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1306
1306
  */
@@ -1314,8 +1314,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1314
1314
 
1315
1315
  /**
1316
1316
  * Get Devices of a Fleet within a Project
1317
- * @param {String} projectOrProductUID
1318
- * @param {String} fleetUID
1317
+ * @param {String} projectOrProductUID
1318
+ * @param {String} fleetUID
1319
1319
  * @param {Object} opts Optional parameters
1320
1320
  * @param {Number} opts.pageSize (default to 50)
1321
1321
  * @param {Number} opts.pageNum (default to 1)
@@ -1325,7 +1325,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1325
1325
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1326
1326
  * @param {Array.<String>} opts.location Location filter
1327
1327
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1328
- * @param {Array.<String>} opts.productUID
1328
+ * @param {Array.<String>} opts.productUID
1329
1329
  * @param {Array.<String>} opts.sku SKU filter
1330
1330
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1331
1331
  */
@@ -1343,34 +1343,34 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1343
1343
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetDevices");
1344
1344
  }
1345
1345
  var pathParams = {
1346
- 'projectOrProductUID': projectOrProductUID,
1347
- 'fleetUID': fleetUID
1346
+ projectOrProductUID: projectOrProductUID,
1347
+ fleetUID: fleetUID
1348
1348
  };
1349
1349
  var queryParams = {
1350
- 'pageSize': opts['pageSize'],
1351
- 'pageNum': opts['pageNum'],
1352
- 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1353
- 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1354
- 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1355
- 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1356
- 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1357
- 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1358
- 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1359
- 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1350
+ pageSize: opts["pageSize"],
1351
+ pageNum: opts["pageNum"],
1352
+ deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1353
+ tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1354
+ serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1355
+ notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1356
+ location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1357
+ hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1358
+ productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1359
+ sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1360
1360
  };
1361
1361
  var headerParams = {};
1362
1362
  var formParams = {};
1363
- var authNames = ['personalAccessToken'];
1363
+ var authNames = ["personalAccessToken"];
1364
1364
  var contentTypes = [];
1365
- var accepts = ['application/json'];
1365
+ var accepts = ["application/json"];
1366
1366
  var returnType = _GetDevices200Response["default"];
1367
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1367
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1368
1368
  }
1369
1369
 
1370
1370
  /**
1371
1371
  * Get Devices of a Fleet within a Project
1372
- * @param {String} projectOrProductUID
1373
- * @param {String} fleetUID
1372
+ * @param {String} projectOrProductUID
1373
+ * @param {String} fleetUID
1374
1374
  * @param {Object} opts Optional parameters
1375
1375
  * @param {Number} opts.pageSize (default to 50)
1376
1376
  * @param {Number} opts.pageNum (default to 1)
@@ -1380,7 +1380,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1380
1380
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1381
1381
  * @param {Array.<String>} opts.location Location filter
1382
1382
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1383
- * @param {Array.<String>} opts.productUID
1383
+ * @param {Array.<String>} opts.productUID
1384
1384
  * @param {Array.<String>} opts.sku SKU filter
1385
1385
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1386
1386
  */
@@ -1394,9 +1394,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1394
1394
 
1395
1395
  /**
1396
1396
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1397
- * @param {String} projectOrProductUID
1398
- * @param {String} deviceUID
1399
- * @param {String} notefileID
1397
+ * @param {String} projectOrProductUID
1398
+ * @param {String} deviceUID
1399
+ * @param {String} notefileID
1400
1400
  * @param {Object} opts Optional parameters
1401
1401
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1402
1402
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1421,29 +1421,29 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1421
1421
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling getNotefile");
1422
1422
  }
1423
1423
  var pathParams = {
1424
- 'projectOrProductUID': projectOrProductUID,
1425
- 'deviceUID': deviceUID,
1426
- 'notefileID': notefileID
1424
+ projectOrProductUID: projectOrProductUID,
1425
+ deviceUID: deviceUID,
1426
+ notefileID: notefileID
1427
1427
  };
1428
1428
  var queryParams = {
1429
- 'max': opts['max'],
1430
- 'deleted': opts['deleted'],
1431
- 'delete': opts['_delete']
1429
+ max: opts["max"],
1430
+ deleted: opts["deleted"],
1431
+ "delete": opts["_delete"]
1432
1432
  };
1433
1433
  var headerParams = {};
1434
1434
  var formParams = {};
1435
- var authNames = ['personalAccessToken'];
1435
+ var authNames = ["personalAccessToken"];
1436
1436
  var contentTypes = [];
1437
- var accepts = ['application/json'];
1437
+ var accepts = ["application/json"];
1438
1438
  var returnType = _GetNotefile200Response["default"];
1439
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1439
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1440
1440
  }
1441
1441
 
1442
1442
  /**
1443
1443
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1444
- * @param {String} projectOrProductUID
1445
- * @param {String} deviceUID
1446
- * @param {String} notefileID
1444
+ * @param {String} projectOrProductUID
1445
+ * @param {String} deviceUID
1446
+ * @param {String} notefileID
1447
1447
  * @param {Object} opts Optional parameters
1448
1448
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1449
1449
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1460,8 +1460,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1460
1460
 
1461
1461
  /**
1462
1462
  * Lists .qi and .db files for the device
1463
- * @param {String} projectOrProductUID
1464
- * @param {String} deviceUID
1463
+ * @param {String} projectOrProductUID
1464
+ * @param {String} deviceUID
1465
1465
  * @param {Object} opts Optional parameters
1466
1466
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1467
1467
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1481,26 +1481,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1481
1481
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling listNotefiles");
1482
1482
  }
1483
1483
  var pathParams = {
1484
- 'projectOrProductUID': projectOrProductUID,
1485
- 'deviceUID': deviceUID
1484
+ projectOrProductUID: projectOrProductUID,
1485
+ deviceUID: deviceUID
1486
1486
  };
1487
1487
  var queryParams = {
1488
- 'files': this.apiClient.buildCollectionParam(opts['files'], 'multi'),
1489
- 'pending': opts['pending']
1488
+ files: this.apiClient.buildCollectionParam(opts["files"], "multi"),
1489
+ pending: opts["pending"]
1490
1490
  };
1491
1491
  var headerParams = {};
1492
1492
  var formParams = {};
1493
- var authNames = ['personalAccessToken'];
1493
+ var authNames = ["personalAccessToken"];
1494
1494
  var contentTypes = [];
1495
- var accepts = ['application/json'];
1495
+ var accepts = ["application/json"];
1496
1496
  var returnType = [_Notefile["default"]];
1497
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1497
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1498
1498
  }
1499
1499
 
1500
1500
  /**
1501
1501
  * Lists .qi and .db files for the device
1502
- * @param {String} projectOrProductUID
1503
- * @param {String} deviceUID
1502
+ * @param {String} projectOrProductUID
1503
+ * @param {String} deviceUID
1504
1504
  * @param {Object} opts Optional parameters
1505
1505
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1506
1506
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1516,8 +1516,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1516
1516
 
1517
1517
  /**
1518
1518
  * Provision Device for a Project
1519
- * @param {String} projectOrProductUID
1520
- * @param {String} deviceUID
1519
+ * @param {String} projectOrProductUID
1520
+ * @param {String} deviceUID
1521
1521
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1522
1522
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1523
1523
  */
@@ -1538,23 +1538,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1538
1538
  throw new _Error["default"]("Missing the required parameter 'provisionDeviceRequest' when calling provisionDevice");
1539
1539
  }
1540
1540
  var pathParams = {
1541
- 'projectOrProductUID': projectOrProductUID,
1542
- 'deviceUID': deviceUID
1541
+ projectOrProductUID: projectOrProductUID,
1542
+ deviceUID: deviceUID
1543
1543
  };
1544
1544
  var queryParams = {};
1545
1545
  var headerParams = {};
1546
1546
  var formParams = {};
1547
- var authNames = ['personalAccessToken'];
1548
- var contentTypes = ['application/json'];
1549
- var accepts = ['application/json'];
1547
+ var authNames = ["personalAccessToken"];
1548
+ var contentTypes = ["application/json"];
1549
+ var accepts = ["application/json"];
1550
1550
  var returnType = Object;
1551
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1551
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1552
1552
  }
1553
1553
 
1554
1554
  /**
1555
1555
  * Provision Device for a Project
1556
- * @param {String} projectOrProductUID
1557
- * @param {String} deviceUID
1556
+ * @param {String} projectOrProductUID
1557
+ * @param {String} deviceUID
1558
1558
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1559
1559
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1560
1560
  */
@@ -1568,8 +1568,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1568
1568
 
1569
1569
  /**
1570
1570
  * Set environment variables of a device
1571
- * @param {String} projectOrProductUID
1572
- * @param {String} deviceUID
1571
+ * @param {String} projectOrProductUID
1572
+ * @param {String} deviceUID
1573
1573
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1574
1574
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1575
1575
  */
@@ -1590,23 +1590,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1590
1590
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariables");
1591
1591
  }
1592
1592
  var pathParams = {
1593
- 'projectOrProductUID': projectOrProductUID,
1594
- 'deviceUID': deviceUID
1593
+ projectOrProductUID: projectOrProductUID,
1594
+ deviceUID: deviceUID
1595
1595
  };
1596
1596
  var queryParams = {};
1597
1597
  var headerParams = {};
1598
1598
  var formParams = {};
1599
- var authNames = ['personalAccessToken'];
1600
- var contentTypes = ['application/json'];
1601
- var accepts = ['application/json'];
1599
+ var authNames = ["personalAccessToken"];
1600
+ var contentTypes = ["application/json"];
1601
+ var accepts = ["application/json"];
1602
1602
  var returnType = _EnvironmentVariables["default"];
1603
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1603
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1604
1604
  }
1605
1605
 
1606
1606
  /**
1607
1607
  * Set environment variables of a device
1608
- * @param {String} projectOrProductUID
1609
- * @param {String} deviceUID
1608
+ * @param {String} projectOrProductUID
1609
+ * @param {String} deviceUID
1610
1610
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1611
1611
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1612
1612
  */
@@ -1620,8 +1620,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1620
1620
 
1621
1621
  /**
1622
1622
  * Set environment variables of a device with device pin authorization
1623
- * @param {String} productUID
1624
- * @param {String} deviceUID
1623
+ * @param {String} productUID
1624
+ * @param {String} deviceUID
1625
1625
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1626
1626
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1627
1627
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
@@ -1647,25 +1647,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1647
1647
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariablesByPin");
1648
1648
  }
1649
1649
  var pathParams = {
1650
- 'productUID': productUID,
1651
- 'deviceUID': deviceUID
1650
+ productUID: productUID,
1651
+ deviceUID: deviceUID
1652
1652
  };
1653
1653
  var queryParams = {};
1654
1654
  var headerParams = {
1655
- 'X-Auth-Token': xAuthToken
1655
+ "X-Auth-Token": xAuthToken
1656
1656
  };
1657
1657
  var formParams = {};
1658
- var authNames = ['personalAccessToken'];
1659
- var contentTypes = ['application/json'];
1660
- var accepts = ['application/json'];
1658
+ var authNames = ["personalAccessToken"];
1659
+ var contentTypes = ["application/json"];
1660
+ var accepts = ["application/json"];
1661
1661
  var returnType = _EnvironmentVariables["default"];
1662
- return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1662
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1663
1663
  }
1664
1664
 
1665
1665
  /**
1666
1666
  * Set environment variables of a device with device pin authorization
1667
- * @param {String} productUID
1668
- * @param {String} deviceUID
1667
+ * @param {String} productUID
1668
+ * @param {String} deviceUID
1669
1669
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1670
1670
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1671
1671
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
@@ -1680,8 +1680,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1680
1680
 
1681
1681
  /**
1682
1682
  * Send a signal from Notehub to a Notecard.
1683
- * @param {String} projectOrProductUID
1684
- * @param {String} deviceUID
1683
+ * @param {String} projectOrProductUID
1684
+ * @param {String} deviceUID
1685
1685
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1686
1686
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
1687
1687
  */
@@ -1702,23 +1702,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1702
1702
  throw new _Error["default"]("Missing the required parameter 'body' when calling signalDevice");
1703
1703
  }
1704
1704
  var pathParams = {
1705
- 'projectOrProductUID': projectOrProductUID,
1706
- 'deviceUID': deviceUID
1705
+ projectOrProductUID: projectOrProductUID,
1706
+ deviceUID: deviceUID
1707
1707
  };
1708
1708
  var queryParams = {};
1709
1709
  var headerParams = {};
1710
1710
  var formParams = {};
1711
- var authNames = ['personalAccessToken'];
1712
- var contentTypes = ['application/json'];
1713
- var accepts = ['application/json'];
1711
+ var authNames = ["personalAccessToken"];
1712
+ var contentTypes = ["application/json"];
1713
+ var accepts = ["application/json"];
1714
1714
  var returnType = _SignalDevice200Response["default"];
1715
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1715
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1716
1716
  }
1717
1717
 
1718
1718
  /**
1719
1719
  * Send a signal from Notehub to a Notecard.
1720
- * @param {String} projectOrProductUID
1721
- * @param {String} deviceUID
1720
+ * @param {String} projectOrProductUID
1721
+ * @param {String} deviceUID
1722
1722
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1723
1723
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
1724
1724
  */
@@ -1732,10 +1732,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1732
1732
 
1733
1733
  /**
1734
1734
  * Update a note in a .db or .qi notefile
1735
- * @param {String} projectOrProductUID
1736
- * @param {String} deviceUID
1737
- * @param {String} notefileID
1738
- * @param {String} noteID
1735
+ * @param {String} projectOrProductUID
1736
+ * @param {String} deviceUID
1737
+ * @param {String} notefileID
1738
+ * @param {String} noteID
1739
1739
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1740
1740
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1741
1741
  */
@@ -1764,27 +1764,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1764
1764
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling updateDbNote");
1765
1765
  }
1766
1766
  var pathParams = {
1767
- 'projectOrProductUID': projectOrProductUID,
1768
- 'deviceUID': deviceUID,
1769
- 'notefileID': notefileID,
1770
- 'noteID': noteID
1767
+ projectOrProductUID: projectOrProductUID,
1768
+ deviceUID: deviceUID,
1769
+ notefileID: notefileID,
1770
+ noteID: noteID
1771
1771
  };
1772
1772
  var queryParams = {};
1773
1773
  var headerParams = {};
1774
1774
  var formParams = {};
1775
- var authNames = ['personalAccessToken'];
1776
- var contentTypes = ['application/json'];
1777
- var accepts = ['application/json'];
1775
+ var authNames = ["personalAccessToken"];
1776
+ var contentTypes = ["application/json"];
1777
+ var accepts = ["application/json"];
1778
1778
  var returnType = null;
1779
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1779
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1780
1780
  }
1781
1781
 
1782
1782
  /**
1783
1783
  * Update a note in a .db or .qi notefile
1784
- * @param {String} projectOrProductUID
1785
- * @param {String} deviceUID
1786
- * @param {String} notefileID
1787
- * @param {String} noteID
1784
+ * @param {String} projectOrProductUID
1785
+ * @param {String} deviceUID
1786
+ * @param {String} notefileID
1787
+ * @param {String} noteID
1788
1788
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1789
1789
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1790
1790
  */