@blues-inc/notehub-js 6.2.0-beta.1 → 6.2.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.md +293 -288
  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 +354 -354
  7. package/dist/api/EventApi.js +118 -118
  8. package/dist/api/ExternalDevicesApi.js +41 -41
  9. package/dist/api/JobsApi.js +74 -127
  10. package/dist/api/MonitorApi.js +52 -52
  11. package/dist/api/ProjectApi.js +618 -432
  12. package/dist/api/RouteApi.js +83 -83
  13. package/dist/api/UsageApi.js +67 -67
  14. package/dist/api/WebhookApi.js +51 -51
  15. package/dist/index.js +28 -0
  16. package/dist/model/AWSRoleConfig.js +14 -14
  17. package/dist/model/AddDeviceToFleetsRequest.js +8 -8
  18. package/dist/model/Alert.js +74 -76
  19. package/dist/model/AlertDataInner.js +36 -36
  20. package/dist/model/AlertNotificationsInner.js +18 -18
  21. package/dist/model/AwsRoute.js +70 -70
  22. package/dist/model/AzureRoute.js +43 -43
  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/CreateMonitor.js +127 -128
  34. package/dist/model/CreateProductRequest.js +22 -22
  35. package/dist/model/CreateProjectRequest.js +16 -16
  36. package/dist/model/CreateProjectSecretRequest.js +130 -0
  37. package/dist/model/CreateUpdateRepository.js +17 -17
  38. package/dist/model/CurrentFirmware.js +12 -12
  39. package/dist/model/DFUEnv.js +12 -12
  40. package/dist/model/DFUState.js +65 -65
  41. package/dist/model/DataField.js +7 -7
  42. package/dist/model/DataSetField.js +19 -19
  43. package/dist/model/DataUsage.js +14 -14
  44. package/dist/model/DatacakeRoute.js +35 -35
  45. package/dist/model/DeleteDeviceFromFleetsRequest.js +8 -8
  46. package/dist/model/DeleteJob200Response.js +6 -6
  47. package/dist/model/DeleteNotefilesRequest.js +7 -7
  48. package/dist/model/Device.js +106 -107
  49. package/dist/model/DeviceDfuHistory.js +19 -20
  50. package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
  51. package/dist/model/DeviceDfuHistoryPage.js +12 -13
  52. package/dist/model/DeviceDfuStateMachine.js +24 -25
  53. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  54. package/dist/model/DeviceDfuStatus.js +20 -20
  55. package/dist/model/DeviceDfuStatusPage.js +12 -13
  56. package/dist/model/DeviceSession.js +221 -221
  57. package/dist/model/DeviceTowerInfo.js +14 -14
  58. package/dist/model/DeviceUsage.js +32 -32
  59. package/dist/model/DfuActionRequest.js +7 -7
  60. package/dist/model/EmailNotification.js +7 -7
  61. package/dist/model/EnvTreeJsonNode.js +67 -69
  62. package/dist/model/EnvVar.js +18 -18
  63. package/dist/model/EnvironmentVariables.js +8 -8
  64. package/dist/model/Error.js +31 -31
  65. package/dist/model/Event.js +248 -248
  66. package/dist/model/Filter.js +16 -16
  67. package/dist/model/Firmware.js +49 -49
  68. package/dist/model/FirmwareInfo.js +68 -68
  69. package/dist/model/Fleet.js +38 -38
  70. package/dist/model/FleetConnectivityAssurance.js +5 -5
  71. package/dist/model/GetAlerts200Response.js +14 -15
  72. package/dist/model/GetBillingAccount200Response.js +25 -25
  73. package/dist/model/GetBillingAccount200ResponsePlan.js +22 -22
  74. package/dist/model/GetBillingAccountBalanceHistory200Response.js +9 -10
  75. package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +17 -17
  76. package/dist/model/GetBillingAccounts200Response.js +9 -10
  77. package/dist/model/GetDataUsage200Response.js +12 -13
  78. package/dist/model/GetDataUsage200ResponseDataInner.js +43 -44
  79. package/dist/model/GetDbNote200Response.js +13 -13
  80. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
  81. package/dist/model/GetDeviceFleets200Response.js +11 -12
  82. package/dist/model/GetDeviceHealthLog200Response.js +11 -12
  83. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  84. package/dist/model/GetDeviceLatestEvents200Response.js +9 -10
  85. package/dist/model/GetDevicePlans200Response.js +9 -10
  86. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  87. package/dist/model/GetDevicePublicKeys200Response.js +16 -17
  88. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  89. package/dist/model/GetDeviceSessions200Response.js +16 -17
  90. package/dist/model/GetDevices200Response.js +16 -17
  91. package/dist/model/GetEvents200Response.js +20 -21
  92. package/dist/model/GetEventsByCursor200Response.js +23 -24
  93. package/dist/model/GetJobRuns200Response.js +11 -12
  94. package/dist/model/GetJobs200Response.js +11 -12
  95. package/dist/model/GetNotefile200Response.js +11 -11
  96. package/dist/model/GetProducts200Response.js +9 -10
  97. package/dist/model/GetProjectMembers200Response.js +11 -12
  98. package/dist/model/GetProjectSecretsResponse.js +131 -0
  99. package/dist/model/GetProjects200Response.js +9 -10
  100. package/dist/model/GetRouteLogsUsage200Response.js +14 -15
  101. package/dist/model/GetSessionsUsage200Response.js +15 -16
  102. package/dist/model/GetWebhooks200Response.js +9 -10
  103. package/dist/model/GoogleRoute.js +33 -33
  104. package/dist/model/HttpRoute.js +35 -35
  105. package/dist/model/Job.js +28 -59
  106. package/dist/model/JobRun.js +57 -57
  107. package/dist/model/Location.js +40 -40
  108. package/dist/model/Login200Response.js +7 -7
  109. package/dist/model/LoginRequest.js +12 -12
  110. package/dist/model/Monitor.js +101 -102
  111. package/dist/model/MonitorAlertRoutesInner.js +10 -9
  112. package/dist/model/MqttRoute.js +68 -68
  113. package/dist/model/Note.js +31 -31
  114. package/dist/model/NoteInput.js +9 -9
  115. package/dist/model/Notefile.js +22 -23
  116. package/dist/model/NotefileSchema.js +18 -19
  117. package/dist/model/NotehubRoute.js +103 -103
  118. package/dist/model/NotehubRouteSummary.js +23 -23
  119. package/dist/model/OAuth2Error.js +20 -20
  120. package/dist/model/OAuth2TokenResponse.js +23 -23
  121. package/dist/model/PersonalAccessToken.js +34 -34
  122. package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
  123. package/dist/model/PersonalAccessTokenInfo.js +18 -18
  124. package/dist/model/PersonalAccessTokenSecret.js +12 -12
  125. package/dist/model/Product.js +26 -26
  126. package/dist/model/Project.js +34 -34
  127. package/dist/model/ProjectMember.js +22 -22
  128. package/dist/model/ProjectSecret.js +164 -0
  129. package/dist/model/ProvisionDeviceRequest.js +18 -18
  130. package/dist/model/ProxyRoute.js +29 -29
  131. package/dist/model/QubitroRoute.js +33 -33
  132. package/dist/model/RadRoute.js +31 -31
  133. package/dist/model/Repository.js +22 -22
  134. package/dist/model/Role.js +9 -9
  135. package/dist/model/RouteLog.js +38 -38
  136. package/dist/model/RouteTransformSettings.js +18 -18
  137. package/dist/model/RunJob200Response.js +8 -8
  138. package/dist/model/S3ArchiveRoute.js +79 -79
  139. package/dist/model/SatelliteDataUsage.js +18 -18
  140. package/dist/model/SatellitePlan.js +29 -29
  141. package/dist/model/SchemaProperty.js +36 -38
  142. package/dist/model/SignalDevice200Response.js +5 -5
  143. package/dist/model/SimUsage.js +19 -19
  144. package/dist/model/SlackBearerNotification.js +25 -25
  145. package/dist/model/SlackRoute.js +48 -48
  146. package/dist/model/SlackWebHookNotification.js +20 -20
  147. package/dist/model/SnowflakeRoute.js +45 -45
  148. package/dist/model/SnowpipeStreamingRoute.js +60 -60
  149. package/dist/model/ThingworxRoute.js +33 -33
  150. package/dist/model/TowerLocation.js +54 -54
  151. package/dist/model/TwilioRoute.js +43 -43
  152. package/dist/model/UpdateFleetRequest.js +33 -33
  153. package/dist/model/UpdateHostFirmwareRequest.js +17 -17
  154. package/dist/model/UpdateProjectSecretRequest.js +115 -0
  155. package/dist/model/UploadMetadata.js +64 -64
  156. package/dist/model/UsageData.js +33 -33
  157. package/dist/model/UsageEventsData.js +49 -49
  158. package/dist/model/UsageEventsResponse.js +14 -15
  159. package/dist/model/UsageRouteLogsData.js +30 -30
  160. package/dist/model/UsageSessionsData.js +43 -43
  161. package/dist/model/UserDfuStateMachine.js +20 -20
  162. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  163. package/dist/model/UserFirmwareInfo.js +12 -12
  164. package/dist/model/WebhookSettings.js +15 -15
  165. package/package.json +3 -3
@@ -33,7 +33,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
33
33
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
34
34
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
35
35
  * Notehub API
36
- * The OpenAPI definition for the Notehub.io API.
36
+ * The OpenAPI definition for the Notehub.io API.
37
37
  *
38
38
  * The version of the OpenAPI document: 1.2.0
39
39
  * Contact: engineering@blues.io
@@ -44,18 +44,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
44
44
  *
45
45
  */
46
46
  /**
47
- * Device service.
48
- * @module api/DeviceApi
49
- * @version 6.2.0-beta.1
50
- */
47
+ * Device service.
48
+ * @module api/DeviceApi
49
+ * @version 6.2.0-beta.2
50
+ */
51
51
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
52
52
  /**
53
- * Constructs a new DeviceApi.
54
- * @alias module:api/DeviceApi
55
- * @class
56
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
57
- * default to {@link module:ApiClient#instance} if unspecified.
58
- */
53
+ * Constructs a new DeviceApi.
54
+ * @alias module:api/DeviceApi
55
+ * @class
56
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
57
+ * default to {@link module:ApiClient#instance} if unspecified.
58
+ */
59
59
  function DeviceApi(apiClient) {
60
60
  _classCallCheck(this, DeviceApi);
61
61
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -63,10 +63,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
63
63
 
64
64
  /**
65
65
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
66
- * @param {String} projectOrProductUID
67
- * @param {String} deviceUID
68
- * @param {String} notefileID
69
- * @param {String} noteID
66
+ * @param {String} projectOrProductUID
67
+ * @param {String} deviceUID
68
+ * @param {String} notefileID
69
+ * @param {String} noteID
70
70
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
71
71
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
72
72
  */
@@ -95,27 +95,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
95
95
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addDbNote");
96
96
  }
97
97
  var pathParams = {
98
- 'projectOrProductUID': projectOrProductUID,
99
- 'deviceUID': deviceUID,
100
- 'notefileID': notefileID,
101
- 'noteID': noteID
98
+ projectOrProductUID: projectOrProductUID,
99
+ deviceUID: deviceUID,
100
+ notefileID: notefileID,
101
+ noteID: noteID
102
102
  };
103
103
  var queryParams = {};
104
104
  var headerParams = {};
105
105
  var formParams = {};
106
- var authNames = ['personalAccessToken'];
107
- var contentTypes = ['application/json'];
108
- var accepts = ['application/json'];
106
+ var authNames = ["personalAccessToken"];
107
+ var contentTypes = ["application/json"];
108
+ var accepts = ["application/json"];
109
109
  var returnType = null;
110
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
110
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
111
111
  }
112
112
 
113
113
  /**
114
114
  * Add a Note to a .db notefile. if noteID is '-' then payload is ignored and empty notefile is created
115
- * @param {String} projectOrProductUID
116
- * @param {String} deviceUID
117
- * @param {String} notefileID
118
- * @param {String} noteID
115
+ * @param {String} projectOrProductUID
116
+ * @param {String} deviceUID
117
+ * @param {String} notefileID
118
+ * @param {String} noteID
119
119
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
120
120
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
121
121
  */
@@ -129,9 +129,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
129
129
 
130
130
  /**
131
131
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
132
- * @param {String} projectOrProductUID
133
- * @param {String} deviceUID
134
- * @param {String} notefileID
132
+ * @param {String} projectOrProductUID
133
+ * @param {String} deviceUID
134
+ * @param {String} notefileID
135
135
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
136
136
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
137
137
  */
@@ -156,25 +156,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
156
156
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling addQiNote");
157
157
  }
158
158
  var pathParams = {
159
- 'projectOrProductUID': projectOrProductUID,
160
- 'deviceUID': deviceUID,
161
- 'notefileID': notefileID
159
+ projectOrProductUID: projectOrProductUID,
160
+ deviceUID: deviceUID,
161
+ notefileID: notefileID
162
162
  };
163
163
  var queryParams = {};
164
164
  var headerParams = {};
165
165
  var formParams = {};
166
- var authNames = ['personalAccessToken'];
167
- var contentTypes = ['application/json'];
168
- var accepts = ['application/json'];
166
+ var authNames = ["personalAccessToken"];
167
+ var contentTypes = ["application/json"];
168
+ var accepts = ["application/json"];
169
169
  var returnType = null;
170
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
170
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
171
171
  }
172
172
 
173
173
  /**
174
174
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
175
- * @param {String} projectOrProductUID
176
- * @param {String} deviceUID
177
- * @param {String} notefileID
175
+ * @param {String} projectOrProductUID
176
+ * @param {String} deviceUID
177
+ * @param {String} notefileID
178
178
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
179
179
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
180
180
  */
@@ -188,9 +188,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
188
188
 
189
189
  /**
190
190
  * Creates an empty Notefile on the device.
191
- * @param {String} projectOrProductUID
192
- * @param {String} deviceUID
193
- * @param {String} notefileID
191
+ * @param {String} projectOrProductUID
192
+ * @param {String} deviceUID
193
+ * @param {String} notefileID
194
194
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
195
195
  */
196
196
  }, {
@@ -210,25 +210,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
210
210
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling createNotefile");
211
211
  }
212
212
  var pathParams = {
213
- 'projectOrProductUID': projectOrProductUID,
214
- 'deviceUID': deviceUID,
215
- 'notefileID': notefileID
213
+ projectOrProductUID: projectOrProductUID,
214
+ deviceUID: deviceUID,
215
+ notefileID: notefileID
216
216
  };
217
217
  var queryParams = {};
218
218
  var headerParams = {};
219
219
  var formParams = {};
220
- var authNames = ['personalAccessToken'];
220
+ var authNames = ["personalAccessToken"];
221
221
  var contentTypes = [];
222
- var accepts = ['application/json'];
222
+ var accepts = ["application/json"];
223
223
  var returnType = null;
224
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
224
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
225
225
  }
226
226
 
227
227
  /**
228
228
  * Creates an empty Notefile on the device.
229
- * @param {String} projectOrProductUID
230
- * @param {String} deviceUID
231
- * @param {String} notefileID
229
+ * @param {String} projectOrProductUID
230
+ * @param {String} deviceUID
231
+ * @param {String} notefileID
232
232
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
233
233
  */
234
234
  }, {
@@ -241,8 +241,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
241
241
 
242
242
  /**
243
243
  * Delete Device
244
- * @param {String} projectOrProductUID
245
- * @param {String} deviceUID
244
+ * @param {String} projectOrProductUID
245
+ * @param {String} deviceUID
246
246
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
247
247
  */
248
248
  }, {
@@ -258,23 +258,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
258
258
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling deleteDevice");
259
259
  }
260
260
  var pathParams = {
261
- 'projectOrProductUID': projectOrProductUID,
262
- 'deviceUID': deviceUID
261
+ projectOrProductUID: projectOrProductUID,
262
+ deviceUID: deviceUID
263
263
  };
264
264
  var queryParams = {};
265
265
  var headerParams = {};
266
266
  var formParams = {};
267
- var authNames = ['personalAccessToken'];
267
+ var authNames = ["personalAccessToken"];
268
268
  var contentTypes = [];
269
- var accepts = ['application/json'];
269
+ var accepts = ["application/json"];
270
270
  var returnType = null;
271
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
271
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
272
272
  }
273
273
 
274
274
  /**
275
275
  * Delete Device
276
- * @param {String} projectOrProductUID
277
- * @param {String} deviceUID
276
+ * @param {String} projectOrProductUID
277
+ * @param {String} deviceUID
278
278
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
279
279
  */
280
280
  }, {
@@ -287,8 +287,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
287
287
 
288
288
  /**
289
289
  * Delete environment variable of a device
290
- * @param {String} projectOrProductUID
291
- * @param {String} deviceUID
290
+ * @param {String} projectOrProductUID
291
+ * @param {String} deviceUID
292
292
  * @param {String} key The environment variable key to delete.
293
293
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
294
294
  */
@@ -309,24 +309,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
309
309
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
310
310
  }
311
311
  var pathParams = {
312
- 'projectOrProductUID': projectOrProductUID,
313
- 'deviceUID': deviceUID,
314
- 'key': key
312
+ projectOrProductUID: projectOrProductUID,
313
+ deviceUID: deviceUID,
314
+ key: key
315
315
  };
316
316
  var queryParams = {};
317
317
  var headerParams = {};
318
318
  var formParams = {};
319
- var authNames = ['personalAccessToken'];
319
+ var authNames = ["personalAccessToken"];
320
320
  var contentTypes = [];
321
- var accepts = ['application/json'];
321
+ var accepts = ["application/json"];
322
322
  var returnType = _EnvironmentVariables["default"];
323
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
323
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
324
324
  }
325
325
 
326
326
  /**
327
327
  * Delete environment variable of a device
328
- * @param {String} projectOrProductUID
329
- * @param {String} deviceUID
328
+ * @param {String} projectOrProductUID
329
+ * @param {String} deviceUID
330
330
  * @param {String} key The environment variable key to delete.
331
331
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
332
332
  */
@@ -340,10 +340,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
340
340
 
341
341
  /**
342
342
  * Delete a note from a .db or .qi notefile
343
- * @param {String} projectOrProductUID
344
- * @param {String} deviceUID
345
- * @param {String} notefileID
346
- * @param {String} noteID
343
+ * @param {String} projectOrProductUID
344
+ * @param {String} deviceUID
345
+ * @param {String} notefileID
346
+ * @param {String} noteID
347
347
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
348
348
  */
349
349
  }, {
@@ -367,27 +367,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
367
367
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling deleteNote");
368
368
  }
369
369
  var pathParams = {
370
- 'projectOrProductUID': projectOrProductUID,
371
- 'deviceUID': deviceUID,
372
- 'notefileID': notefileID,
373
- 'noteID': noteID
370
+ projectOrProductUID: projectOrProductUID,
371
+ deviceUID: deviceUID,
372
+ notefileID: notefileID,
373
+ noteID: noteID
374
374
  };
375
375
  var queryParams = {};
376
376
  var headerParams = {};
377
377
  var formParams = {};
378
- var authNames = ['personalAccessToken'];
378
+ var authNames = ["personalAccessToken"];
379
379
  var contentTypes = [];
380
- var accepts = ['application/json'];
380
+ var accepts = ["application/json"];
381
381
  var returnType = null;
382
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
382
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
383
383
  }
384
384
 
385
385
  /**
386
386
  * Delete a note from a .db or .qi notefile
387
- * @param {String} projectOrProductUID
388
- * @param {String} deviceUID
389
- * @param {String} notefileID
390
- * @param {String} noteID
387
+ * @param {String} projectOrProductUID
388
+ * @param {String} deviceUID
389
+ * @param {String} notefileID
390
+ * @param {String} noteID
391
391
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
392
392
  */
393
393
  }, {
@@ -400,9 +400,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
400
400
 
401
401
  /**
402
402
  * Deletes Notefiles and the Notes they contain.
403
- * @param {String} projectOrProductUID
404
- * @param {String} deviceUID
405
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
403
+ * @param {String} projectOrProductUID
404
+ * @param {String} deviceUID
405
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
406
406
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
407
407
  */
408
408
  }, {
@@ -422,24 +422,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
422
422
  throw new _Error["default"]("Missing the required parameter 'deleteNotefilesRequest' when calling deleteNotefiles");
423
423
  }
424
424
  var pathParams = {
425
- 'projectOrProductUID': projectOrProductUID,
426
- 'deviceUID': deviceUID
425
+ projectOrProductUID: projectOrProductUID,
426
+ deviceUID: deviceUID
427
427
  };
428
428
  var queryParams = {};
429
429
  var headerParams = {};
430
430
  var formParams = {};
431
- var authNames = ['personalAccessToken'];
432
- var contentTypes = ['application/json'];
433
- var accepts = ['application/json'];
431
+ var authNames = ["personalAccessToken"];
432
+ var contentTypes = ["application/json"];
433
+ var accepts = ["application/json"];
434
434
  var returnType = null;
435
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
435
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
436
436
  }
437
437
 
438
438
  /**
439
439
  * Deletes Notefiles and the Notes they contain.
440
- * @param {String} projectOrProductUID
441
- * @param {String} deviceUID
442
- * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
440
+ * @param {String} projectOrProductUID
441
+ * @param {String} deviceUID
442
+ * @param {module:model/DeleteNotefilesRequest} deleteNotefilesRequest
443
443
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
444
444
  */
445
445
  }, {
@@ -452,8 +452,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
452
452
 
453
453
  /**
454
454
  * Disable Device
455
- * @param {String} projectOrProductUID
456
- * @param {String} deviceUID
455
+ * @param {String} projectOrProductUID
456
+ * @param {String} deviceUID
457
457
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
458
458
  */
459
459
  }, {
@@ -469,23 +469,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
469
469
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDevice");
470
470
  }
471
471
  var pathParams = {
472
- 'projectOrProductUID': projectOrProductUID,
473
- 'deviceUID': deviceUID
472
+ projectOrProductUID: projectOrProductUID,
473
+ deviceUID: deviceUID
474
474
  };
475
475
  var queryParams = {};
476
476
  var headerParams = {};
477
477
  var formParams = {};
478
- var authNames = ['personalAccessToken'];
478
+ var authNames = ["personalAccessToken"];
479
479
  var contentTypes = [];
480
- var accepts = ['application/json'];
480
+ var accepts = ["application/json"];
481
481
  var returnType = null;
482
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
482
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
483
483
  }
484
484
 
485
485
  /**
486
486
  * Disable Device
487
- * @param {String} projectOrProductUID
488
- * @param {String} deviceUID
487
+ * @param {String} projectOrProductUID
488
+ * @param {String} deviceUID
489
489
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
490
490
  */
491
491
  }, {
@@ -498,8 +498,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
498
498
 
499
499
  /**
500
500
  * Enable Device
501
- * @param {String} projectOrProductUID
502
- * @param {String} deviceUID
501
+ * @param {String} projectOrProductUID
502
+ * @param {String} deviceUID
503
503
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
504
504
  */
505
505
  }, {
@@ -515,23 +515,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
515
515
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
516
516
  }
517
517
  var pathParams = {
518
- 'projectOrProductUID': projectOrProductUID,
519
- 'deviceUID': deviceUID
518
+ projectOrProductUID: projectOrProductUID,
519
+ deviceUID: deviceUID
520
520
  };
521
521
  var queryParams = {};
522
522
  var headerParams = {};
523
523
  var formParams = {};
524
- var authNames = ['personalAccessToken'];
524
+ var authNames = ["personalAccessToken"];
525
525
  var contentTypes = [];
526
- var accepts = ['application/json'];
526
+ var accepts = ["application/json"];
527
527
  var returnType = null;
528
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
528
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
529
529
  }
530
530
 
531
531
  /**
532
532
  * Enable Device
533
- * @param {String} projectOrProductUID
534
- * @param {String} deviceUID
533
+ * @param {String} projectOrProductUID
534
+ * @param {String} deviceUID
535
535
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
536
536
  */
537
537
  }, {
@@ -544,10 +544,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
544
544
 
545
545
  /**
546
546
  * Get a note from a .db or .qi notefile
547
- * @param {String} projectOrProductUID
548
- * @param {String} deviceUID
549
- * @param {String} notefileID
550
- * @param {String} noteID
547
+ * @param {String} projectOrProductUID
548
+ * @param {String} deviceUID
549
+ * @param {String} notefileID
550
+ * @param {String} noteID
551
551
  * @param {Object} opts Optional parameters
552
552
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
553
553
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -575,30 +575,30 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
575
575
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling getDbNote");
576
576
  }
577
577
  var pathParams = {
578
- 'projectOrProductUID': projectOrProductUID,
579
- 'deviceUID': deviceUID,
580
- 'notefileID': notefileID,
581
- 'noteID': noteID
578
+ projectOrProductUID: projectOrProductUID,
579
+ deviceUID: deviceUID,
580
+ notefileID: notefileID,
581
+ noteID: noteID
582
582
  };
583
583
  var queryParams = {
584
- 'delete': opts['_delete'],
585
- 'deleted': opts['deleted']
584
+ "delete": opts["_delete"],
585
+ deleted: opts["deleted"]
586
586
  };
587
587
  var headerParams = {};
588
588
  var formParams = {};
589
- var authNames = ['personalAccessToken'];
589
+ var authNames = ["personalAccessToken"];
590
590
  var contentTypes = [];
591
- var accepts = ['application/json'];
591
+ var accepts = ["application/json"];
592
592
  var returnType = _GetDbNote200Response["default"];
593
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
593
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
594
594
  }
595
595
 
596
596
  /**
597
597
  * Get a note from a .db or .qi notefile
598
- * @param {String} projectOrProductUID
599
- * @param {String} deviceUID
600
- * @param {String} notefileID
601
- * @param {String} noteID
598
+ * @param {String} projectOrProductUID
599
+ * @param {String} deviceUID
600
+ * @param {String} notefileID
601
+ * @param {String} noteID
602
602
  * @param {Object} opts Optional parameters
603
603
  * @param {Boolean} opts._delete Whether to delete the note from the DB notefile
604
604
  * @param {Boolean} opts.deleted Whether to return deleted notes
@@ -614,8 +614,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
614
614
 
615
615
  /**
616
616
  * Get Device
617
- * @param {String} projectOrProductUID
618
- * @param {String} deviceUID
617
+ * @param {String} projectOrProductUID
618
+ * @param {String} deviceUID
619
619
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
620
620
  */
621
621
  }, {
@@ -631,23 +631,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
631
631
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
632
632
  }
633
633
  var pathParams = {
634
- 'projectOrProductUID': projectOrProductUID,
635
- 'deviceUID': deviceUID
634
+ projectOrProductUID: projectOrProductUID,
635
+ deviceUID: deviceUID
636
636
  };
637
637
  var queryParams = {};
638
638
  var headerParams = {};
639
639
  var formParams = {};
640
- var authNames = ['personalAccessToken'];
640
+ var authNames = ["personalAccessToken"];
641
641
  var contentTypes = [];
642
- var accepts = ['application/json'];
642
+ var accepts = ["application/json"];
643
643
  var returnType = _Device["default"];
644
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
644
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
645
645
  }
646
646
 
647
647
  /**
648
648
  * Get Device
649
- * @param {String} projectOrProductUID
650
- * @param {String} deviceUID
649
+ * @param {String} projectOrProductUID
650
+ * @param {String} deviceUID
651
651
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
652
652
  */
653
653
  }, {
@@ -660,8 +660,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
660
660
 
661
661
  /**
662
662
  * Get environment variable hierarchy for a device
663
- * @param {String} projectOrProductUID
664
- * @param {String} deviceUID
663
+ * @param {String} projectOrProductUID
664
+ * @param {String} deviceUID
665
665
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
666
666
  */
667
667
  }, {
@@ -677,23 +677,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
677
677
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentHierarchy");
678
678
  }
679
679
  var pathParams = {
680
- 'projectOrProductUID': projectOrProductUID,
681
- 'deviceUID': deviceUID
680
+ projectOrProductUID: projectOrProductUID,
681
+ deviceUID: deviceUID
682
682
  };
683
683
  var queryParams = {};
684
684
  var headerParams = {};
685
685
  var formParams = {};
686
- var authNames = ['personalAccessToken'];
686
+ var authNames = ["personalAccessToken"];
687
687
  var contentTypes = [];
688
- var accepts = ['application/json'];
688
+ var accepts = ["application/json"];
689
689
  var returnType = _EnvTreeJsonNode["default"];
690
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
690
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
691
691
  }
692
692
 
693
693
  /**
694
694
  * Get environment variable hierarchy for a device
695
- * @param {String} projectOrProductUID
696
- * @param {String} deviceUID
695
+ * @param {String} projectOrProductUID
696
+ * @param {String} deviceUID
697
697
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
698
698
  */
699
699
  }, {
@@ -706,8 +706,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
706
706
 
707
707
  /**
708
708
  * Get environment variables of a device
709
- * @param {String} projectOrProductUID
710
- * @param {String} deviceUID
709
+ * @param {String} projectOrProductUID
710
+ * @param {String} deviceUID
711
711
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
712
712
  */
713
713
  }, {
@@ -723,23 +723,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
723
723
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
724
724
  }
725
725
  var pathParams = {
726
- 'projectOrProductUID': projectOrProductUID,
727
- 'deviceUID': deviceUID
726
+ projectOrProductUID: projectOrProductUID,
727
+ deviceUID: deviceUID
728
728
  };
729
729
  var queryParams = {};
730
730
  var headerParams = {};
731
731
  var formParams = {};
732
- var authNames = ['personalAccessToken'];
732
+ var authNames = ["personalAccessToken"];
733
733
  var contentTypes = [];
734
- var accepts = ['application/json'];
734
+ var accepts = ["application/json"];
735
735
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
736
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
736
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
737
737
  }
738
738
 
739
739
  /**
740
740
  * Get environment variables of a device
741
- * @param {String} projectOrProductUID
742
- * @param {String} deviceUID
741
+ * @param {String} projectOrProductUID
742
+ * @param {String} deviceUID
743
743
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
744
744
  */
745
745
  }, {
@@ -752,8 +752,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
752
752
 
753
753
  /**
754
754
  * Get environment variables of a device with device pin authorization
755
- * @param {String} productUID
756
- * @param {String} deviceUID
755
+ * @param {String} productUID
756
+ * @param {String} deviceUID
757
757
  * @param {String} xAuthToken For accessing endpoints by Device pin.
758
758
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response} and HTTP response
759
759
  */
@@ -774,25 +774,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
774
774
  throw new _Error["default"]("Missing the required parameter 'xAuthToken' when calling getDeviceEnvironmentVariablesByPin");
775
775
  }
776
776
  var pathParams = {
777
- 'productUID': productUID,
778
- 'deviceUID': deviceUID
777
+ productUID: productUID,
778
+ deviceUID: deviceUID
779
779
  };
780
780
  var queryParams = {};
781
781
  var headerParams = {
782
- 'X-Auth-Token': xAuthToken
782
+ "X-Auth-Token": xAuthToken
783
783
  };
784
784
  var formParams = {};
785
785
  var authNames = [];
786
786
  var contentTypes = [];
787
- var accepts = ['application/json'];
787
+ var accepts = ["application/json"];
788
788
  var returnType = _GetDeviceEnvironmentVariablesByPin200Response["default"];
789
- return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
789
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
790
790
  }
791
791
 
792
792
  /**
793
793
  * Get environment variables of a device with device pin authorization
794
- * @param {String} productUID
795
- * @param {String} deviceUID
794
+ * @param {String} productUID
795
+ * @param {String} deviceUID
796
796
  * @param {String} xAuthToken For accessing endpoints by Device pin.
797
797
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariablesByPin200Response}
798
798
  */
@@ -806,8 +806,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
806
806
 
807
807
  /**
808
808
  * Get Device Health Log
809
- * @param {String} projectOrProductUID
810
- * @param {String} deviceUID
809
+ * @param {String} projectOrProductUID
810
+ * @param {String} deviceUID
811
811
  * @param {Object} opts Optional parameters
812
812
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
813
813
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -828,27 +828,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
828
828
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
829
829
  }
830
830
  var pathParams = {
831
- 'projectOrProductUID': projectOrProductUID,
832
- 'deviceUID': deviceUID
831
+ projectOrProductUID: projectOrProductUID,
832
+ deviceUID: deviceUID
833
833
  };
834
834
  var queryParams = {
835
- 'startDate': opts['startDate'],
836
- 'endDate': opts['endDate'],
837
- 'log_type': this.apiClient.buildCollectionParam(opts['logType'], 'multi')
835
+ startDate: opts["startDate"],
836
+ endDate: opts["endDate"],
837
+ log_type: this.apiClient.buildCollectionParam(opts["logType"], "multi")
838
838
  };
839
839
  var headerParams = {};
840
840
  var formParams = {};
841
- var authNames = ['personalAccessToken'];
841
+ var authNames = ["personalAccessToken"];
842
842
  var contentTypes = [];
843
- var accepts = ['application/json'];
843
+ var accepts = ["application/json"];
844
844
  var returnType = _GetDeviceHealthLog200Response["default"];
845
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
845
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
846
846
  }
847
847
 
848
848
  /**
849
849
  * Get Device Health Log
850
- * @param {String} projectOrProductUID
851
- * @param {String} deviceUID
850
+ * @param {String} projectOrProductUID
851
+ * @param {String} deviceUID
852
852
  * @param {Object} opts Optional parameters
853
853
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
854
854
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -865,8 +865,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
865
865
 
866
866
  /**
867
867
  * Get Device Latest Events
868
- * @param {String} projectOrProductUID
869
- * @param {String} deviceUID
868
+ * @param {String} projectOrProductUID
869
+ * @param {String} deviceUID
870
870
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
871
871
  */
872
872
  }, {
@@ -882,23 +882,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
882
882
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatestEvents");
883
883
  }
884
884
  var pathParams = {
885
- 'projectOrProductUID': projectOrProductUID,
886
- 'deviceUID': deviceUID
885
+ projectOrProductUID: projectOrProductUID,
886
+ deviceUID: deviceUID
887
887
  };
888
888
  var queryParams = {};
889
889
  var headerParams = {};
890
890
  var formParams = {};
891
- var authNames = ['personalAccessToken'];
891
+ var authNames = ["personalAccessToken"];
892
892
  var contentTypes = [];
893
- var accepts = ['application/json'];
893
+ var accepts = ["application/json"];
894
894
  var returnType = _GetDeviceLatestEvents200Response["default"];
895
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
895
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
896
896
  }
897
897
 
898
898
  /**
899
899
  * Get Device Latest Events
900
- * @param {String} projectOrProductUID
901
- * @param {String} deviceUID
900
+ * @param {String} projectOrProductUID
901
+ * @param {String} deviceUID
902
902
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
903
903
  */
904
904
  }, {
@@ -911,8 +911,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
911
911
 
912
912
  /**
913
913
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
914
- * @param {String} projectOrProductUID
915
- * @param {String} deviceUID
914
+ * @param {String} projectOrProductUID
915
+ * @param {String} deviceUID
916
916
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
917
917
  */
918
918
  }, {
@@ -928,23 +928,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
928
928
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePlans");
929
929
  }
930
930
  var pathParams = {
931
- 'projectOrProductUID': projectOrProductUID,
932
- 'deviceUID': deviceUID
931
+ projectOrProductUID: projectOrProductUID,
932
+ deviceUID: deviceUID
933
933
  };
934
934
  var queryParams = {};
935
935
  var headerParams = {};
936
936
  var formParams = {};
937
- var authNames = ['personalAccessToken'];
937
+ var authNames = ["personalAccessToken"];
938
938
  var contentTypes = [];
939
- var accepts = ['application/json'];
939
+ var accepts = ["application/json"];
940
940
  var returnType = _GetDevicePlans200Response["default"];
941
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
941
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
942
942
  }
943
943
 
944
944
  /**
945
945
  * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
946
- * @param {String} projectOrProductUID
947
- * @param {String} deviceUID
946
+ * @param {String} projectOrProductUID
947
+ * @param {String} deviceUID
948
948
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
949
949
  */
950
950
  }, {
@@ -957,8 +957,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
957
957
 
958
958
  /**
959
959
  * Get Device Public Key
960
- * @param {String} projectOrProductUID
961
- * @param {String} deviceUID
960
+ * @param {String} projectOrProductUID
961
+ * @param {String} deviceUID
962
962
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
963
963
  */
964
964
  }, {
@@ -974,23 +974,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
974
974
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
975
975
  }
976
976
  var pathParams = {
977
- 'projectOrProductUID': projectOrProductUID,
978
- 'deviceUID': deviceUID
977
+ projectOrProductUID: projectOrProductUID,
978
+ deviceUID: deviceUID
979
979
  };
980
980
  var queryParams = {};
981
981
  var headerParams = {};
982
982
  var formParams = {};
983
- var authNames = ['personalAccessToken'];
983
+ var authNames = ["personalAccessToken"];
984
984
  var contentTypes = [];
985
- var accepts = ['application/json'];
985
+ var accepts = ["application/json"];
986
986
  var returnType = _GetDevicePublicKey200Response["default"];
987
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
987
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
988
988
  }
989
989
 
990
990
  /**
991
991
  * Get Device Public Key
992
- * @param {String} projectOrProductUID
993
- * @param {String} deviceUID
992
+ * @param {String} projectOrProductUID
993
+ * @param {String} deviceUID
994
994
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
995
995
  */
996
996
  }, {
@@ -1003,7 +1003,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1003
1003
 
1004
1004
  /**
1005
1005
  * Get Device Public Keys of a Project
1006
- * @param {String} projectOrProductUID
1006
+ * @param {String} projectOrProductUID
1007
1007
  * @param {Object} opts Optional parameters
1008
1008
  * @param {Number} opts.pageSize (default to 50)
1009
1009
  * @param {Number} opts.pageNum (default to 1)
@@ -1019,24 +1019,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1019
1019
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePublicKeys");
1020
1020
  }
1021
1021
  var pathParams = {
1022
- 'projectOrProductUID': projectOrProductUID
1022
+ projectOrProductUID: projectOrProductUID
1023
1023
  };
1024
1024
  var queryParams = {
1025
- 'pageSize': opts['pageSize'],
1026
- 'pageNum': opts['pageNum']
1025
+ pageSize: opts["pageSize"],
1026
+ pageNum: opts["pageNum"]
1027
1027
  };
1028
1028
  var headerParams = {};
1029
1029
  var formParams = {};
1030
- var authNames = ['personalAccessToken'];
1030
+ var authNames = ["personalAccessToken"];
1031
1031
  var contentTypes = [];
1032
- var accepts = ['application/json'];
1032
+ var accepts = ["application/json"];
1033
1033
  var returnType = _GetDevicePublicKeys200Response["default"];
1034
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1034
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/public-keys", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1035
1035
  }
1036
1036
 
1037
1037
  /**
1038
1038
  * Get Device Public Keys of a Project
1039
- * @param {String} projectOrProductUID
1039
+ * @param {String} projectOrProductUID
1040
1040
  * @param {Object} opts Optional parameters
1041
1041
  * @param {Number} opts.pageSize (default to 50)
1042
1042
  * @param {Number} opts.pageNum (default to 1)
@@ -1052,8 +1052,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1052
1052
 
1053
1053
  /**
1054
1054
  * Get Device Sessions
1055
- * @param {String} projectOrProductUID
1056
- * @param {String} deviceUID
1055
+ * @param {String} projectOrProductUID
1056
+ * @param {String} deviceUID
1057
1057
  * @param {Object} opts Optional parameters
1058
1058
  * @param {Number} opts.pageSize (default to 50)
1059
1059
  * @param {Number} opts.pageNum (default to 1)
@@ -1076,29 +1076,29 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1076
1076
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
1077
1077
  }
1078
1078
  var pathParams = {
1079
- 'projectOrProductUID': projectOrProductUID,
1080
- 'deviceUID': deviceUID
1079
+ projectOrProductUID: projectOrProductUID,
1080
+ deviceUID: deviceUID
1081
1081
  };
1082
1082
  var queryParams = {
1083
- 'pageSize': opts['pageSize'],
1084
- 'pageNum': opts['pageNum'],
1085
- 'startDate': opts['startDate'],
1086
- 'endDate': opts['endDate'],
1087
- 'firstSync': opts['firstSync']
1083
+ pageSize: opts["pageSize"],
1084
+ pageNum: opts["pageNum"],
1085
+ startDate: opts["startDate"],
1086
+ endDate: opts["endDate"],
1087
+ firstSync: opts["firstSync"]
1088
1088
  };
1089
1089
  var headerParams = {};
1090
1090
  var formParams = {};
1091
- var authNames = ['personalAccessToken'];
1091
+ var authNames = ["personalAccessToken"];
1092
1092
  var contentTypes = [];
1093
- var accepts = ['application/json'];
1093
+ var accepts = ["application/json"];
1094
1094
  var returnType = _GetDeviceSessions200Response["default"];
1095
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1095
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1096
1096
  }
1097
1097
 
1098
1098
  /**
1099
1099
  * Get Device Sessions
1100
- * @param {String} projectOrProductUID
1101
- * @param {String} deviceUID
1100
+ * @param {String} projectOrProductUID
1101
+ * @param {String} deviceUID
1102
1102
  * @param {Object} opts Optional parameters
1103
1103
  * @param {Number} opts.pageSize (default to 50)
1104
1104
  * @param {Number} opts.pageNum (default to 1)
@@ -1117,18 +1117,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1117
1117
 
1118
1118
  /**
1119
1119
  * Get Devices of a Project
1120
- * @param {String} projectOrProductUID
1120
+ * @param {String} projectOrProductUID
1121
1121
  * @param {Object} opts Optional parameters
1122
1122
  * @param {Number} opts.pageSize (default to 50)
1123
1123
  * @param {Number} opts.pageNum (default to 1)
1124
1124
  * @param {Array.<String>} opts.deviceUID A Device UID.
1125
1125
  * @param {Array.<String>} opts.tag Tag filter
1126
1126
  * @param {Array.<String>} opts.serialNumber Serial number filter
1127
- * @param {Array.<String>} opts.fleetUID
1127
+ * @param {Array.<String>} opts.fleetUID
1128
1128
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1129
1129
  * @param {Array.<String>} opts.location Location filter
1130
1130
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1131
- * @param {Array.<String>} opts.productUID
1131
+ * @param {Array.<String>} opts.productUID
1132
1132
  * @param {Array.<String>} opts.sku SKU filter
1133
1133
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1134
1134
  */
@@ -1142,44 +1142,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1142
1142
  throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevices");
1143
1143
  }
1144
1144
  var pathParams = {
1145
- 'projectOrProductUID': projectOrProductUID
1145
+ projectOrProductUID: projectOrProductUID
1146
1146
  };
1147
1147
  var queryParams = {
1148
- 'pageSize': opts['pageSize'],
1149
- 'pageNum': opts['pageNum'],
1150
- 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1151
- 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1152
- 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1153
- 'fleetUID': this.apiClient.buildCollectionParam(opts['fleetUID'], 'multi'),
1154
- 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1155
- 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1156
- 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1157
- 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1158
- 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1148
+ pageSize: opts["pageSize"],
1149
+ pageNum: opts["pageNum"],
1150
+ deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1151
+ tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1152
+ serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1153
+ fleetUID: this.apiClient.buildCollectionParam(opts["fleetUID"], "multi"),
1154
+ notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1155
+ location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1156
+ hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1157
+ productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1158
+ sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1159
1159
  };
1160
1160
  var headerParams = {};
1161
1161
  var formParams = {};
1162
- var authNames = ['personalAccessToken'];
1162
+ var authNames = ["personalAccessToken"];
1163
1163
  var contentTypes = [];
1164
- var accepts = ['application/json'];
1164
+ var accepts = ["application/json"];
1165
1165
  var returnType = _GetDevices200Response["default"];
1166
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1166
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1167
1167
  }
1168
1168
 
1169
1169
  /**
1170
1170
  * Get Devices of a Project
1171
- * @param {String} projectOrProductUID
1171
+ * @param {String} projectOrProductUID
1172
1172
  * @param {Object} opts Optional parameters
1173
1173
  * @param {Number} opts.pageSize (default to 50)
1174
1174
  * @param {Number} opts.pageNum (default to 1)
1175
1175
  * @param {Array.<String>} opts.deviceUID A Device UID.
1176
1176
  * @param {Array.<String>} opts.tag Tag filter
1177
1177
  * @param {Array.<String>} opts.serialNumber Serial number filter
1178
- * @param {Array.<String>} opts.fleetUID
1178
+ * @param {Array.<String>} opts.fleetUID
1179
1179
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1180
1180
  * @param {Array.<String>} opts.location Location filter
1181
1181
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1182
- * @param {Array.<String>} opts.productUID
1182
+ * @param {Array.<String>} opts.productUID
1183
1183
  * @param {Array.<String>} opts.sku SKU filter
1184
1184
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1185
1185
  */
@@ -1193,8 +1193,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1193
1193
 
1194
1194
  /**
1195
1195
  * Get Devices of a Fleet within a Project
1196
- * @param {String} projectOrProductUID
1197
- * @param {String} fleetUID
1196
+ * @param {String} projectOrProductUID
1197
+ * @param {String} fleetUID
1198
1198
  * @param {Object} opts Optional parameters
1199
1199
  * @param {Number} opts.pageSize (default to 50)
1200
1200
  * @param {Number} opts.pageNum (default to 1)
@@ -1204,7 +1204,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1204
1204
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1205
1205
  * @param {Array.<String>} opts.location Location filter
1206
1206
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1207
- * @param {Array.<String>} opts.productUID
1207
+ * @param {Array.<String>} opts.productUID
1208
1208
  * @param {Array.<String>} opts.sku SKU filter
1209
1209
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevices200Response} and HTTP response
1210
1210
  */
@@ -1222,34 +1222,34 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1222
1222
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetDevices");
1223
1223
  }
1224
1224
  var pathParams = {
1225
- 'projectOrProductUID': projectOrProductUID,
1226
- 'fleetUID': fleetUID
1225
+ projectOrProductUID: projectOrProductUID,
1226
+ fleetUID: fleetUID
1227
1227
  };
1228
1228
  var queryParams = {
1229
- 'pageSize': opts['pageSize'],
1230
- 'pageNum': opts['pageNum'],
1231
- 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
1232
- 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
1233
- 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
1234
- 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
1235
- 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
1236
- 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
1237
- 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
1238
- 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
1229
+ pageSize: opts["pageSize"],
1230
+ pageNum: opts["pageNum"],
1231
+ deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1232
+ tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1233
+ serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
1234
+ notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
1235
+ location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
1236
+ hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
1237
+ productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
1238
+ sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
1239
1239
  };
1240
1240
  var headerParams = {};
1241
1241
  var formParams = {};
1242
- var authNames = ['personalAccessToken'];
1242
+ var authNames = ["personalAccessToken"];
1243
1243
  var contentTypes = [];
1244
- var accepts = ['application/json'];
1244
+ var accepts = ["application/json"];
1245
1245
  var returnType = _GetDevices200Response["default"];
1246
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1246
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1247
1247
  }
1248
1248
 
1249
1249
  /**
1250
1250
  * Get Devices of a Fleet within a Project
1251
- * @param {String} projectOrProductUID
1252
- * @param {String} fleetUID
1251
+ * @param {String} projectOrProductUID
1252
+ * @param {String} fleetUID
1253
1253
  * @param {Object} opts Optional parameters
1254
1254
  * @param {Number} opts.pageSize (default to 50)
1255
1255
  * @param {Number} opts.pageNum (default to 1)
@@ -1259,7 +1259,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1259
1259
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
1260
1260
  * @param {Array.<String>} opts.location Location filter
1261
1261
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
1262
- * @param {Array.<String>} opts.productUID
1262
+ * @param {Array.<String>} opts.productUID
1263
1263
  * @param {Array.<String>} opts.sku SKU filter
1264
1264
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevices200Response}
1265
1265
  */
@@ -1273,9 +1273,9 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1273
1273
 
1274
1274
  /**
1275
1275
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1276
- * @param {String} projectOrProductUID
1277
- * @param {String} deviceUID
1278
- * @param {String} notefileID
1276
+ * @param {String} projectOrProductUID
1277
+ * @param {String} deviceUID
1278
+ * @param {String} notefileID
1279
1279
  * @param {Object} opts Optional parameters
1280
1280
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1281
1281
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1300,29 +1300,29 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1300
1300
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling getNotefile");
1301
1301
  }
1302
1302
  var pathParams = {
1303
- 'projectOrProductUID': projectOrProductUID,
1304
- 'deviceUID': deviceUID,
1305
- 'notefileID': notefileID
1303
+ projectOrProductUID: projectOrProductUID,
1304
+ deviceUID: deviceUID,
1305
+ notefileID: notefileID
1306
1306
  };
1307
1307
  var queryParams = {
1308
- 'max': opts['max'],
1309
- 'deleted': opts['deleted'],
1310
- 'delete': opts['_delete']
1308
+ max: opts["max"],
1309
+ deleted: opts["deleted"],
1310
+ "delete": opts["_delete"]
1311
1311
  };
1312
1312
  var headerParams = {};
1313
1313
  var formParams = {};
1314
- var authNames = ['personalAccessToken'];
1314
+ var authNames = ["personalAccessToken"];
1315
1315
  var contentTypes = [];
1316
- var accepts = ['application/json'];
1316
+ var accepts = ["application/json"];
1317
1317
  var returnType = _GetNotefile200Response["default"];
1318
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1318
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1319
1319
  }
1320
1320
 
1321
1321
  /**
1322
1322
  * For .qi files, returns the queued up notes. For .db files, returns all notes in the notefile
1323
- * @param {String} projectOrProductUID
1324
- * @param {String} deviceUID
1325
- * @param {String} notefileID
1323
+ * @param {String} projectOrProductUID
1324
+ * @param {String} deviceUID
1325
+ * @param {String} notefileID
1326
1326
  * @param {Object} opts Optional parameters
1327
1327
  * @param {Number} opts.max The maximum number of Notes to return in the request.
1328
1328
  * @param {Boolean} opts.deleted true to return deleted notes.
@@ -1339,8 +1339,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1339
1339
 
1340
1340
  /**
1341
1341
  * Lists .qi and .db files for the device
1342
- * @param {String} projectOrProductUID
1343
- * @param {String} deviceUID
1342
+ * @param {String} projectOrProductUID
1343
+ * @param {String} deviceUID
1344
1344
  * @param {Object} opts Optional parameters
1345
1345
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1346
1346
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1360,26 +1360,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1360
1360
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling listNotefiles");
1361
1361
  }
1362
1362
  var pathParams = {
1363
- 'projectOrProductUID': projectOrProductUID,
1364
- 'deviceUID': deviceUID
1363
+ projectOrProductUID: projectOrProductUID,
1364
+ deviceUID: deviceUID
1365
1365
  };
1366
1366
  var queryParams = {
1367
- 'files': this.apiClient.buildCollectionParam(opts['files'], 'multi'),
1368
- 'pending': opts['pending']
1367
+ files: this.apiClient.buildCollectionParam(opts["files"], "multi"),
1368
+ pending: opts["pending"]
1369
1369
  };
1370
1370
  var headerParams = {};
1371
1371
  var formParams = {};
1372
- var authNames = ['personalAccessToken'];
1372
+ var authNames = ["personalAccessToken"];
1373
1373
  var contentTypes = [];
1374
- var accepts = ['application/json'];
1374
+ var accepts = ["application/json"];
1375
1375
  var returnType = [_Notefile["default"]];
1376
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1376
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1377
1377
  }
1378
1378
 
1379
1379
  /**
1380
1380
  * Lists .qi and .db files for the device
1381
- * @param {String} projectOrProductUID
1382
- * @param {String} deviceUID
1381
+ * @param {String} projectOrProductUID
1382
+ * @param {String} deviceUID
1383
1383
  * @param {Object} opts Optional parameters
1384
1384
  * @param {Array.<String>} opts.files One or more files to obtain change information from.
1385
1385
  * @param {Boolean} opts.pending show only files that are pending sync to the Notecard
@@ -1395,8 +1395,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1395
1395
 
1396
1396
  /**
1397
1397
  * Provision Device for a Project
1398
- * @param {String} projectOrProductUID
1399
- * @param {String} deviceUID
1398
+ * @param {String} projectOrProductUID
1399
+ * @param {String} deviceUID
1400
1400
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1401
1401
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1402
1402
  */
@@ -1417,23 +1417,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1417
1417
  throw new _Error["default"]("Missing the required parameter 'provisionDeviceRequest' when calling provisionDevice");
1418
1418
  }
1419
1419
  var pathParams = {
1420
- 'projectOrProductUID': projectOrProductUID,
1421
- 'deviceUID': deviceUID
1420
+ projectOrProductUID: projectOrProductUID,
1421
+ deviceUID: deviceUID
1422
1422
  };
1423
1423
  var queryParams = {};
1424
1424
  var headerParams = {};
1425
1425
  var formParams = {};
1426
- var authNames = ['personalAccessToken'];
1427
- var contentTypes = ['application/json'];
1428
- var accepts = ['application/json'];
1426
+ var authNames = ["personalAccessToken"];
1427
+ var contentTypes = ["application/json"];
1428
+ var accepts = ["application/json"];
1429
1429
  var returnType = Object;
1430
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1430
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1431
1431
  }
1432
1432
 
1433
1433
  /**
1434
1434
  * Provision Device for a Project
1435
- * @param {String} projectOrProductUID
1436
- * @param {String} deviceUID
1435
+ * @param {String} projectOrProductUID
1436
+ * @param {String} deviceUID
1437
1437
  * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1438
1438
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1439
1439
  */
@@ -1447,8 +1447,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1447
1447
 
1448
1448
  /**
1449
1449
  * Set environment variables of a device
1450
- * @param {String} projectOrProductUID
1451
- * @param {String} deviceUID
1450
+ * @param {String} projectOrProductUID
1451
+ * @param {String} deviceUID
1452
1452
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1453
1453
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1454
1454
  */
@@ -1469,23 +1469,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1469
1469
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariables");
1470
1470
  }
1471
1471
  var pathParams = {
1472
- 'projectOrProductUID': projectOrProductUID,
1473
- 'deviceUID': deviceUID
1472
+ projectOrProductUID: projectOrProductUID,
1473
+ deviceUID: deviceUID
1474
1474
  };
1475
1475
  var queryParams = {};
1476
1476
  var headerParams = {};
1477
1477
  var formParams = {};
1478
- var authNames = ['personalAccessToken'];
1479
- var contentTypes = ['application/json'];
1480
- var accepts = ['application/json'];
1478
+ var authNames = ["personalAccessToken"];
1479
+ var contentTypes = ["application/json"];
1480
+ var accepts = ["application/json"];
1481
1481
  var returnType = _EnvironmentVariables["default"];
1482
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1482
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1483
1483
  }
1484
1484
 
1485
1485
  /**
1486
1486
  * Set environment variables of a device
1487
- * @param {String} projectOrProductUID
1488
- * @param {String} deviceUID
1487
+ * @param {String} projectOrProductUID
1488
+ * @param {String} deviceUID
1489
1489
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1490
1490
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1491
1491
  */
@@ -1499,8 +1499,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1499
1499
 
1500
1500
  /**
1501
1501
  * Set environment variables of a device with device pin authorization
1502
- * @param {String} productUID
1503
- * @param {String} deviceUID
1502
+ * @param {String} productUID
1503
+ * @param {String} deviceUID
1504
1504
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1505
1505
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1506
1506
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
@@ -1526,25 +1526,25 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1526
1526
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling setDeviceEnvironmentVariablesByPin");
1527
1527
  }
1528
1528
  var pathParams = {
1529
- 'productUID': productUID,
1530
- 'deviceUID': deviceUID
1529
+ productUID: productUID,
1530
+ deviceUID: deviceUID
1531
1531
  };
1532
1532
  var queryParams = {};
1533
1533
  var headerParams = {
1534
- 'X-Auth-Token': xAuthToken
1534
+ "X-Auth-Token": xAuthToken
1535
1535
  };
1536
1536
  var formParams = {};
1537
1537
  var authNames = [];
1538
- var contentTypes = ['application/json'];
1539
- var accepts = ['application/json'];
1538
+ var contentTypes = ["application/json"];
1539
+ var accepts = ["application/json"];
1540
1540
  var returnType = _EnvironmentVariables["default"];
1541
- return this.apiClient.callApi('/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1541
+ return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1542
1542
  }
1543
1543
 
1544
1544
  /**
1545
1545
  * Set environment variables of a device with device pin authorization
1546
- * @param {String} productUID
1547
- * @param {String} deviceUID
1546
+ * @param {String} productUID
1547
+ * @param {String} deviceUID
1548
1548
  * @param {String} xAuthToken For accessing endpoints by Device pin.
1549
1549
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1550
1550
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
@@ -1559,8 +1559,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1559
1559
 
1560
1560
  /**
1561
1561
  * Send a signal from Notehub to a Notecard.
1562
- * @param {String} projectOrProductUID
1563
- * @param {String} deviceUID
1562
+ * @param {String} projectOrProductUID
1563
+ * @param {String} deviceUID
1564
1564
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1565
1565
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
1566
1566
  */
@@ -1581,23 +1581,23 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1581
1581
  throw new _Error["default"]("Missing the required parameter 'body' when calling signalDevice");
1582
1582
  }
1583
1583
  var pathParams = {
1584
- 'projectOrProductUID': projectOrProductUID,
1585
- 'deviceUID': deviceUID
1584
+ projectOrProductUID: projectOrProductUID,
1585
+ deviceUID: deviceUID
1586
1586
  };
1587
1587
  var queryParams = {};
1588
1588
  var headerParams = {};
1589
1589
  var formParams = {};
1590
- var authNames = ['personalAccessToken'];
1591
- var contentTypes = ['application/json'];
1592
- var accepts = ['application/json'];
1590
+ var authNames = ["personalAccessToken"];
1591
+ var contentTypes = ["application/json"];
1592
+ var accepts = ["application/json"];
1593
1593
  var returnType = _SignalDevice200Response["default"];
1594
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1594
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1595
1595
  }
1596
1596
 
1597
1597
  /**
1598
1598
  * Send a signal from Notehub to a Notecard.
1599
- * @param {String} projectOrProductUID
1600
- * @param {String} deviceUID
1599
+ * @param {String} projectOrProductUID
1600
+ * @param {String} deviceUID
1601
1601
  * @param {module:model/Body} body Body or payload of signal to be sent to the device
1602
1602
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
1603
1603
  */
@@ -1611,10 +1611,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1611
1611
 
1612
1612
  /**
1613
1613
  * Update a note in a .db or .qi notefile
1614
- * @param {String} projectOrProductUID
1615
- * @param {String} deviceUID
1616
- * @param {String} notefileID
1617
- * @param {String} noteID
1614
+ * @param {String} projectOrProductUID
1615
+ * @param {String} deviceUID
1616
+ * @param {String} notefileID
1617
+ * @param {String} noteID
1618
1618
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1619
1619
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1620
1620
  */
@@ -1643,27 +1643,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1643
1643
  throw new _Error["default"]("Missing the required parameter 'noteInput' when calling updateDbNote");
1644
1644
  }
1645
1645
  var pathParams = {
1646
- 'projectOrProductUID': projectOrProductUID,
1647
- 'deviceUID': deviceUID,
1648
- 'notefileID': notefileID,
1649
- 'noteID': noteID
1646
+ projectOrProductUID: projectOrProductUID,
1647
+ deviceUID: deviceUID,
1648
+ notefileID: notefileID,
1649
+ noteID: noteID
1650
1650
  };
1651
1651
  var queryParams = {};
1652
1652
  var headerParams = {};
1653
1653
  var formParams = {};
1654
- var authNames = ['personalAccessToken'];
1655
- var contentTypes = ['application/json'];
1656
- var accepts = ['application/json'];
1654
+ var authNames = ["personalAccessToken"];
1655
+ var contentTypes = ["application/json"];
1656
+ var accepts = ["application/json"];
1657
1657
  var returnType = null;
1658
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1658
+ return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1659
1659
  }
1660
1660
 
1661
1661
  /**
1662
1662
  * Update a note in a .db or .qi notefile
1663
- * @param {String} projectOrProductUID
1664
- * @param {String} deviceUID
1665
- * @param {String} notefileID
1666
- * @param {String} noteID
1663
+ * @param {String} projectOrProductUID
1664
+ * @param {String} deviceUID
1665
+ * @param {String} notefileID
1666
+ * @param {String} noteID
1667
1667
  * @param {module:model/NoteInput} noteInput Body or payload of note to be added to the device
1668
1668
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1669
1669
  */