@blues-inc/notehub-js 6.2.0-beta.3 → 6.2.0-beta.31

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