@blues-inc/notehub-js 4.0.0 → 5.0.0-beta.1

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