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

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