@blues-inc/notehub-js 1.0.25 → 1.0.26-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/README.md +199 -189
  2. package/dist/ApiClient.js +156 -156
  3. package/dist/api/AlertApi.js +22 -22
  4. package/dist/api/AuthorizationApi.js +16 -16
  5. package/dist/api/BillingAccountApi.js +14 -14
  6. package/dist/api/DeviceApi.js +351 -351
  7. package/dist/api/EventApi.js +118 -130
  8. package/dist/api/MonitorApi.js +52 -52
  9. package/dist/api/ProjectApi.js +372 -326
  10. package/dist/api/RouteApi.js +74 -74
  11. package/dist/model/Alert.js +76 -74
  12. package/dist/model/AlertDataInner.js +35 -35
  13. package/dist/model/AlertNotificationsInner.js +18 -18
  14. package/dist/model/Aws.js +65 -65
  15. package/dist/model/Azure.js +43 -43
  16. package/dist/model/BillingAccount.js +21 -21
  17. package/dist/model/BillingAccountRole.js +9 -9
  18. package/dist/model/Body.js +5 -5
  19. package/dist/model/CloneProjectRequest.js +20 -20
  20. package/dist/model/Contact.js +22 -22
  21. package/dist/model/CreateFleetRequest.js +21 -8
  22. package/dist/model/CreateMonitor.js +126 -125
  23. package/dist/model/CreateProductRequest.js +22 -22
  24. package/dist/model/CreateProjectRequest.js +16 -16
  25. package/dist/model/CurrentFirmware.js +12 -12
  26. package/dist/model/DFUEnv.js +12 -12
  27. package/dist/model/DFUState.js +65 -65
  28. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  29. package/dist/model/Device.js +84 -84
  30. package/dist/model/DeviceDfuHistory.js +20 -19
  31. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  32. package/dist/model/DeviceDfuStateMachine.js +25 -24
  33. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  34. package/dist/model/DeviceDfuStatus.js +20 -20
  35. package/dist/model/DeviceDfuStatusCurrent.js +32 -32
  36. package/dist/model/DeviceDfuStatusPage.js +13 -12
  37. package/dist/model/DeviceSession.js +182 -182
  38. package/dist/model/DeviceTowerInfo.js +14 -14
  39. package/dist/model/DeviceUsage.js +32 -32
  40. package/dist/model/DfuActionRequest.js +7 -7
  41. package/dist/model/EmailNotification.js +7 -7
  42. package/dist/model/EnvironmentVariables.js +8 -8
  43. package/dist/model/Error.js +31 -31
  44. package/dist/model/Event.js +223 -223
  45. package/dist/model/Firmware.js +49 -49
  46. package/dist/model/FirmwareInfo.js +60 -60
  47. package/dist/model/Fleet.js +37 -21
  48. package/dist/model/GetAlerts200Response.js +15 -14
  49. package/dist/model/GetBillingAccounts200Response.js +10 -9
  50. package/dist/model/GetDeviceEnvironmentVariables200Response.js +12 -12
  51. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  52. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  53. package/dist/model/GetDeviceLatest200Response.js +10 -9
  54. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  55. package/dist/model/GetDeviceSessions200Response.js +17 -16
  56. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -16
  57. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  58. package/dist/model/GetProjectDevices200Response.js +17 -16
  59. package/dist/model/GetProjectEvents200Response.js +21 -20
  60. package/dist/model/GetProjectEventsByCursor200Response.js +24 -23
  61. package/dist/model/GetProjectFleets200Response.js +12 -11
  62. package/dist/model/GetProjectMembers200Response.js +12 -11
  63. package/dist/model/GetProjectProducts200Response.js +10 -9
  64. package/dist/model/GetProjects200Response.js +10 -9
  65. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +35 -35
  66. package/dist/model/Google.js +33 -33
  67. package/dist/model/HandleNoteChanges200Response.js +11 -11
  68. package/dist/model/HandleNoteGet200Response.js +13 -13
  69. package/dist/model/HandleNoteSignal200Response.js +5 -5
  70. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  71. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  72. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  73. package/dist/model/Http.js +35 -35
  74. package/dist/model/HttpFilter.js +19 -19
  75. package/dist/model/HttpTransform.js +20 -20
  76. package/dist/model/Location.js +40 -40
  77. package/dist/model/Login200Response.js +7 -7
  78. package/dist/model/LoginRequest.js +12 -12
  79. package/dist/model/Monitor.js +100 -99
  80. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  81. package/dist/model/Mqtt.js +66 -66
  82. package/dist/model/Note.js +10 -10
  83. package/dist/model/NotehubRoute.js +36 -36
  84. package/dist/model/NotehubRouteSchema.js +45 -46
  85. package/dist/model/PostProvisionProjectDeviceRequest.js +18 -18
  86. package/dist/model/Product.js +26 -26
  87. package/dist/model/Project.js +34 -34
  88. package/dist/model/ProjectMember.js +22 -22
  89. package/dist/model/Proxy.js +24 -24
  90. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  91. package/dist/model/Radresponder.js +25 -25
  92. package/dist/model/Role.js +9 -9
  93. package/dist/model/Slack.js +53 -53
  94. package/dist/model/SlackBearerNotification.js +25 -25
  95. package/dist/model/SlackWebHookNotification.js +20 -20
  96. package/dist/model/Snowflake.js +45 -45
  97. package/dist/model/SnowflakeTransform.js +12 -12
  98. package/dist/model/Thingworx.js +33 -33
  99. package/dist/model/TowerLocation.js +52 -52
  100. package/dist/model/Twilio.js +43 -43
  101. package/dist/model/UpdateFleetRequest.js +30 -17
  102. package/dist/model/UploadMetadata.js +59 -59
  103. package/dist/model/UserDbRoute.js +25 -25
  104. package/dist/model/UserDfuStateMachine.js +20 -20
  105. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  106. package/dist/model/UserFirmwareInfo.js +12 -12
  107. package/package.json +3 -3
@@ -35,7 +35,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
35
35
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
36
36
  function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
37
37
  * Notehub API
38
- * The OpenAPI definition for the Notehub.io API.
38
+ * The OpenAPI definition for the Notehub.io API.
39
39
  *
40
40
  * The version of the OpenAPI document: 1.2.0
41
41
  * Contact: engineering@blues.io
@@ -46,18 +46,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
46
46
  *
47
47
  */
48
48
  /**
49
- * Project service.
50
- * @module api/ProjectApi
51
- * @version 1.0.25
52
- */
49
+ * Project service.
50
+ * @module api/ProjectApi
51
+ * @version 1.0.26-beta.2
52
+ */
53
53
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
55
- * Constructs a new ProjectApi.
56
- * @alias module:api/ProjectApi
57
- * @class
58
- * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
59
- * default to {@link module:ApiClient#instance} if unspecified.
60
- */
55
+ * Constructs a new ProjectApi.
56
+ * @alias module:api/ProjectApi
57
+ * @class
58
+ * @param {module:ApiClient} [apiClient] Optional API client implementation to use,
59
+ * default to {@link module:ApiClient#instance} if unspecified.
60
+ */
61
61
  function ProjectApi(apiClient) {
62
62
  _classCallCheck(this, ProjectApi);
63
63
  this.apiClient = apiClient || _ApiClient["default"].instance;
@@ -82,16 +82,16 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
82
82
  throw new _Error["default"]("Missing the required parameter 'cloneProjectRequest' when calling cloneProject");
83
83
  }
84
84
  var pathParams = {
85
- projectUID: projectUID
85
+ 'projectUID': projectUID
86
86
  };
87
87
  var queryParams = {};
88
88
  var headerParams = {};
89
89
  var formParams = {};
90
- var authNames = ["api_key"];
91
- var contentTypes = ["application/json"];
92
- var accepts = ["application/json"];
90
+ var authNames = ['api_key'];
91
+ var contentTypes = ['application/json'];
92
+ var accepts = ['application/json'];
93
93
  var returnType = _Project["default"];
94
- return this.apiClient.callApi("/v1/projects/{projectUID}/clone", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
94
+ return this.apiClient.callApi('/v1/projects/{projectUID}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
95
95
  }
96
96
 
97
97
  /**
@@ -110,7 +110,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
110
110
 
111
111
  /**
112
112
  * Create Fleet
113
- * @param {String} projectUID
113
+ * @param {String} projectUID
114
114
  * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
115
115
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
116
116
  */
@@ -127,21 +127,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
127
127
  throw new _Error["default"]("Missing the required parameter 'createFleetRequest' when calling createFleet");
128
128
  }
129
129
  var pathParams = {
130
- projectUID: projectUID
130
+ 'projectUID': projectUID
131
131
  };
132
132
  var queryParams = {};
133
133
  var headerParams = {};
134
134
  var formParams = {};
135
- var authNames = ["api_key"];
136
- var contentTypes = ["application/json"];
137
- var accepts = ["application/json"];
135
+ var authNames = ['api_key'];
136
+ var contentTypes = ['application/json'];
137
+ var accepts = ['application/json'];
138
138
  var returnType = _Fleet["default"];
139
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
139
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
140
140
  }
141
141
 
142
142
  /**
143
143
  * Create Fleet
144
- * @param {String} projectUID
144
+ * @param {String} projectUID
145
145
  * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
146
146
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
147
147
  */
@@ -155,7 +155,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
155
155
 
156
156
  /**
157
157
  * Create Product within a Project
158
- * @param {String} projectUID
158
+ * @param {String} projectUID
159
159
  * @param {module:model/CreateProductRequest} createProductRequest Product to be created
160
160
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
161
161
  */
@@ -172,21 +172,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
172
172
  throw new _Error["default"]("Missing the required parameter 'createProductRequest' when calling createProduct");
173
173
  }
174
174
  var pathParams = {
175
- projectUID: projectUID
175
+ 'projectUID': projectUID
176
176
  };
177
177
  var queryParams = {};
178
178
  var headerParams = {};
179
179
  var formParams = {};
180
- var authNames = ["api_key"];
181
- var contentTypes = ["application/json"];
182
- var accepts = ["application/json"];
180
+ var authNames = ['api_key'];
181
+ var contentTypes = ['application/json'];
182
+ var accepts = ['application/json'];
183
183
  var returnType = _Product["default"];
184
- return this.apiClient.callApi("/v1/projects/{projectUID}/products", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
184
+ return this.apiClient.callApi('/v1/projects/{projectUID}/products', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
185
185
  }
186
186
 
187
187
  /**
188
188
  * Create Product within a Project
189
- * @param {String} projectUID
189
+ * @param {String} projectUID
190
190
  * @param {module:model/CreateProductRequest} createProductRequest Product to be created
191
191
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
192
192
  */
@@ -215,11 +215,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
215
215
  var queryParams = {};
216
216
  var headerParams = {};
217
217
  var formParams = {};
218
- var authNames = ["api_key"];
219
- var contentTypes = ["application/json"];
220
- var accepts = ["application/json"];
218
+ var authNames = ['api_key'];
219
+ var contentTypes = ['application/json'];
220
+ var accepts = ['application/json'];
221
221
  var returnType = _Project["default"];
222
- return this.apiClient.callApi("/v1/projects", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
222
+ return this.apiClient.callApi('/v1/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
223
223
  }
224
224
 
225
225
  /**
@@ -237,9 +237,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
237
237
 
238
238
  /**
239
239
  * Remove Device from Fleets
240
- * @param {String} projectUID
241
- * @param {String} deviceUID
242
- * @param {module:model/DeleteDeviceFleetsRequest} deleteDeviceFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
240
+ * @param {String} projectUID
241
+ * @param {String} deviceUID
242
+ * @param {module:model/DeleteDeviceFleetsRequest} deleteDeviceFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
243
243
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
244
244
  */
245
245
  }, {
@@ -259,24 +259,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
259
259
  throw new _Error["default"]("Missing the required parameter 'deleteDeviceFleetsRequest' when calling deleteDeviceFleets");
260
260
  }
261
261
  var pathParams = {
262
- projectUID: projectUID,
263
- deviceUID: deviceUID
262
+ 'projectUID': projectUID,
263
+ 'deviceUID': deviceUID
264
264
  };
265
265
  var queryParams = {};
266
266
  var headerParams = {};
267
267
  var formParams = {};
268
- var authNames = ["api_key"];
269
- var contentTypes = ["application/json"];
270
- var accepts = ["application/json"];
268
+ var authNames = ['api_key'];
269
+ var contentTypes = ['application/json'];
270
+ var accepts = ['application/json'];
271
271
  var returnType = _GetProjectFleets200Response["default"];
272
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/fleets", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
272
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
273
273
  }
274
274
 
275
275
  /**
276
276
  * Remove Device from Fleets
277
- * @param {String} projectUID
278
- * @param {String} deviceUID
279
- * @param {module:model/DeleteDeviceFleetsRequest} deleteDeviceFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
277
+ * @param {String} projectUID
278
+ * @param {String} deviceUID
279
+ * @param {module:model/DeleteDeviceFleetsRequest} deleteDeviceFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
280
280
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
281
281
  */
282
282
  }, {
@@ -289,8 +289,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
289
289
 
290
290
  /**
291
291
  * Delete Fleet
292
- * @param {String} projectUID
293
- * @param {String} fleetUID
292
+ * @param {String} projectUID
293
+ * @param {String} fleetUID
294
294
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
295
295
  */
296
296
  }, {
@@ -306,23 +306,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
306
306
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling deleteFleet");
307
307
  }
308
308
  var pathParams = {
309
- projectUID: projectUID,
310
- fleetUID: fleetUID
309
+ 'projectUID': projectUID,
310
+ 'fleetUID': fleetUID
311
311
  };
312
312
  var queryParams = {};
313
313
  var headerParams = {};
314
314
  var formParams = {};
315
- var authNames = ["api_key"];
315
+ var authNames = ['api_key'];
316
316
  var contentTypes = [];
317
- var accepts = ["application/json"];
317
+ var accepts = ['application/json'];
318
318
  var returnType = null;
319
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
319
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
320
320
  }
321
321
 
322
322
  /**
323
323
  * Delete Fleet
324
- * @param {String} projectUID
325
- * @param {String} fleetUID
324
+ * @param {String} projectUID
325
+ * @param {String} fleetUID
326
326
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
327
327
  */
328
328
  }, {
@@ -335,8 +335,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
335
335
 
336
336
  /**
337
337
  * Delete environment variables of a fleet
338
- * @param {String} projectUID
339
- * @param {String} fleetUID
338
+ * @param {String} projectUID
339
+ * @param {String} fleetUID
340
340
  * @param {String} key The environment variable key to delete.
341
341
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
342
342
  */
@@ -357,24 +357,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
357
357
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteFleetEnvironmentVariable");
358
358
  }
359
359
  var pathParams = {
360
- projectUID: projectUID,
361
- fleetUID: fleetUID,
362
- key: key
360
+ 'projectUID': projectUID,
361
+ 'fleetUID': fleetUID,
362
+ 'key': key
363
363
  };
364
364
  var queryParams = {};
365
365
  var headerParams = {};
366
366
  var formParams = {};
367
- var authNames = ["api_key"];
367
+ var authNames = ['api_key'];
368
368
  var contentTypes = [];
369
- var accepts = ["application/json"];
369
+ var accepts = ['application/json'];
370
370
  var returnType = _EnvironmentVariables["default"];
371
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
371
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
372
372
  }
373
373
 
374
374
  /**
375
375
  * Delete environment variables of a fleet
376
- * @param {String} projectUID
377
- * @param {String} fleetUID
376
+ * @param {String} projectUID
377
+ * @param {String} fleetUID
378
378
  * @param {String} key The environment variable key to delete.
379
379
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
380
380
  */
@@ -388,7 +388,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
388
388
 
389
389
  /**
390
390
  * Delete a Project by ProjectUID
391
- * @param {String} projectUID
391
+ * @param {String} projectUID
392
392
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
393
393
  */
394
394
  }, {
@@ -400,21 +400,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
400
400
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling deleteProject");
401
401
  }
402
402
  var pathParams = {
403
- projectUID: projectUID
403
+ 'projectUID': projectUID
404
404
  };
405
405
  var queryParams = {};
406
406
  var headerParams = {};
407
407
  var formParams = {};
408
- var authNames = ["api_key"];
408
+ var authNames = ['api_key'];
409
409
  var contentTypes = [];
410
- var accepts = ["application/json"];
410
+ var accepts = ['application/json'];
411
411
  var returnType = null;
412
- return this.apiClient.callApi("/v1/projects/{projectUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
412
+ return this.apiClient.callApi('/v1/projects/{projectUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
413
413
  }
414
414
 
415
415
  /**
416
416
  * Delete a Project by ProjectUID
417
- * @param {String} projectUID
417
+ * @param {String} projectUID
418
418
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
419
419
  */
420
420
  }, {
@@ -427,7 +427,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
427
427
 
428
428
  /**
429
429
  * Delete an environment variable of a project by key
430
- * @param {String} projectUID
430
+ * @param {String} projectUID
431
431
  * @param {String} key The environment variable key to delete.
432
432
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
433
433
  */
@@ -444,22 +444,22 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
444
444
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteProjectEnvironmentVariable");
445
445
  }
446
446
  var pathParams = {
447
- projectUID: projectUID,
448
- key: key
447
+ 'projectUID': projectUID,
448
+ 'key': key
449
449
  };
450
450
  var queryParams = {};
451
451
  var headerParams = {};
452
452
  var formParams = {};
453
- var authNames = ["api_key"];
453
+ var authNames = ['api_key'];
454
454
  var contentTypes = [];
455
- var accepts = ["application/json"];
455
+ var accepts = ['application/json'];
456
456
  var returnType = _EnvironmentVariables["default"];
457
- return this.apiClient.callApi("/v1/projects/{projectUID}/environment_variables/{key}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
457
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
458
458
  }
459
459
 
460
460
  /**
461
461
  * Delete an environment variable of a project by key
462
- * @param {String} projectUID
462
+ * @param {String} projectUID
463
463
  * @param {String} key The environment variable key to delete.
464
464
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
465
465
  */
@@ -473,18 +473,18 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
473
473
 
474
474
  /**
475
475
  * Update/cancel host or notecard firmware updates
476
- * @param {String} projectUID
477
- * @param {module:model/String} firmwareType
478
- * @param {module:model/String} action
476
+ * @param {String} projectUID
477
+ * @param {module:model/String} firmwareType
478
+ * @param {module:model/String} action
479
479
  * @param {Object} opts Optional parameters
480
480
  * @param {Array.<String>} opts.deviceUID A Device UID.
481
481
  * @param {Array.<String>} opts.tag Tag filter
482
482
  * @param {Array.<String>} opts.serialNumber Serial number filter
483
- * @param {String} opts.fleetUID
483
+ * @param {String} opts.fleetUID
484
484
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
485
485
  * @param {Array.<String>} opts.location Location filter
486
486
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
487
- * @param {Array.<String>} opts.productUID
487
+ * @param {Array.<String>} opts.productUID
488
488
  * @param {Array.<String>} opts.sku SKU filter
489
489
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
490
490
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -493,7 +493,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
493
493
  key: "dfuActionWithHttpInfo",
494
494
  value: function dfuActionWithHttpInfo(projectUID, firmwareType, action, opts) {
495
495
  opts = opts || {};
496
- var postBody = opts["dfuActionRequest"];
496
+ var postBody = opts['dfuActionRequest'];
497
497
  // verify the required parameter 'projectUID' is set
498
498
  if (projectUID === undefined || projectUID === null) {
499
499
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling dfuAction");
@@ -507,44 +507,44 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
507
507
  throw new _Error["default"]("Missing the required parameter 'action' when calling dfuAction");
508
508
  }
509
509
  var pathParams = {
510
- projectUID: projectUID,
511
- firmwareType: firmwareType,
512
- action: action
510
+ 'projectUID': projectUID,
511
+ 'firmwareType': firmwareType,
512
+ 'action': action
513
513
  };
514
514
  var queryParams = {
515
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
516
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
517
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
518
- fleetUID: opts["fleetUID"],
519
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
520
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
521
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
522
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
523
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
515
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
516
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
517
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
518
+ 'fleetUID': opts['fleetUID'],
519
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
520
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
521
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
522
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
523
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
524
524
  };
525
525
  var headerParams = {};
526
526
  var formParams = {};
527
- var authNames = ["api_key"];
528
- var contentTypes = ["application/json"];
529
- var accepts = ["application/json"];
527
+ var authNames = ['api_key'];
528
+ var contentTypes = ['application/json'];
529
+ var accepts = ['application/json'];
530
530
  var returnType = null;
531
- return this.apiClient.callApi("/v1/projects/{projectUID}/dfu/{firmwareType}/{action}", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
531
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/{action}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
532
532
  }
533
533
 
534
534
  /**
535
535
  * Update/cancel host or notecard firmware updates
536
- * @param {String} projectUID
537
- * @param {module:model/String} firmwareType
538
- * @param {module:model/String} action
536
+ * @param {String} projectUID
537
+ * @param {module:model/String} firmwareType
538
+ * @param {module:model/String} action
539
539
  * @param {Object} opts Optional parameters
540
540
  * @param {Array.<String>} opts.deviceUID A Device UID.
541
541
  * @param {Array.<String>} opts.tag Tag filter
542
542
  * @param {Array.<String>} opts.serialNumber Serial number filter
543
- * @param {String} opts.fleetUID
543
+ * @param {String} opts.fleetUID
544
544
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
545
545
  * @param {Array.<String>} opts.location Location filter
546
546
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
547
- * @param {Array.<String>} opts.productUID
547
+ * @param {Array.<String>} opts.productUID
548
548
  * @param {Array.<String>} opts.sku SKU filter
549
549
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
550
550
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -559,7 +559,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
559
559
 
560
560
  /**
561
561
  * Disable the project-level event JSONata transformation
562
- * @param {String} projectUID
562
+ * @param {String} projectUID
563
563
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
564
564
  */
565
565
  }, {
@@ -571,21 +571,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
571
571
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableGlobalTransformation");
572
572
  }
573
573
  var pathParams = {
574
- projectUID: projectUID
574
+ 'projectUID': projectUID
575
575
  };
576
576
  var queryParams = {};
577
577
  var headerParams = {};
578
578
  var formParams = {};
579
- var authNames = ["api_key"];
579
+ var authNames = ['api_key'];
580
580
  var contentTypes = [];
581
- var accepts = ["application/json"];
581
+ var accepts = ['application/json'];
582
582
  var returnType = null;
583
- return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/disable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
583
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
584
584
  }
585
585
 
586
586
  /**
587
587
  * Disable the project-level event JSONata transformation
588
- * @param {String} projectUID
588
+ * @param {String} projectUID
589
589
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
590
590
  */
591
591
  }, {
@@ -598,7 +598,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
598
598
 
599
599
  /**
600
600
  * Enable the project-level event JSONata transformation
601
- * @param {String} projectUID
601
+ * @param {String} projectUID
602
602
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
603
603
  */
604
604
  }, {
@@ -610,21 +610,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
610
610
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableGlobalTransformation");
611
611
  }
612
612
  var pathParams = {
613
- projectUID: projectUID
613
+ 'projectUID': projectUID
614
614
  };
615
615
  var queryParams = {};
616
616
  var headerParams = {};
617
617
  var formParams = {};
618
- var authNames = ["api_key"];
618
+ var authNames = ['api_key'];
619
619
  var contentTypes = [];
620
- var accepts = ["application/json"];
620
+ var accepts = ['application/json'];
621
621
  var returnType = null;
622
- return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation/enable", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
622
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
623
623
  }
624
624
 
625
625
  /**
626
626
  * Enable the project-level event JSONata transformation
627
- * @param {String} projectUID
627
+ * @param {String} projectUID
628
628
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
629
629
  */
630
630
  }, {
@@ -637,9 +637,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
637
637
 
638
638
  /**
639
639
  * Get device DFU history for host or Notecard firmware
640
- * @param {String} projectUID
641
- * @param {String} deviceUID
642
- * @param {module:model/String} firmwareType
640
+ * @param {String} projectUID
641
+ * @param {String} deviceUID
642
+ * @param {module:model/String} firmwareType
643
643
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
644
644
  */
645
645
  }, {
@@ -659,25 +659,25 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
659
659
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDeviceDfuHistory");
660
660
  }
661
661
  var pathParams = {
662
- projectUID: projectUID,
663
- deviceUID: deviceUID,
664
- firmwareType: firmwareType
662
+ 'projectUID': projectUID,
663
+ 'deviceUID': deviceUID,
664
+ 'firmwareType': firmwareType
665
665
  };
666
666
  var queryParams = {};
667
667
  var headerParams = {};
668
668
  var formParams = {};
669
- var authNames = ["api_key"];
669
+ var authNames = ['api_key'];
670
670
  var contentTypes = [];
671
- var accepts = ["application/json"];
671
+ var accepts = ['application/json'];
672
672
  var returnType = _DeviceDfuHistory["default"];
673
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/history", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
673
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
674
674
  }
675
675
 
676
676
  /**
677
677
  * Get device DFU history for host or Notecard firmware
678
- * @param {String} projectUID
679
- * @param {String} deviceUID
680
- * @param {module:model/String} firmwareType
678
+ * @param {String} projectUID
679
+ * @param {String} deviceUID
680
+ * @param {module:model/String} firmwareType
681
681
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
682
682
  */
683
683
  }, {
@@ -690,9 +690,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
690
690
 
691
691
  /**
692
692
  * Get device DFU history for host or Notecard firmware
693
- * @param {String} projectUID
694
- * @param {String} deviceUID
695
- * @param {module:model/String} firmwareType
693
+ * @param {String} projectUID
694
+ * @param {String} deviceUID
695
+ * @param {module:model/String} firmwareType
696
696
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
697
697
  */
698
698
  }, {
@@ -712,25 +712,25 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
712
712
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDeviceDfuStatus");
713
713
  }
714
714
  var pathParams = {
715
- projectUID: projectUID,
716
- deviceUID: deviceUID,
717
- firmwareType: firmwareType
715
+ 'projectUID': projectUID,
716
+ 'deviceUID': deviceUID,
717
+ 'firmwareType': firmwareType
718
718
  };
719
719
  var queryParams = {};
720
720
  var headerParams = {};
721
721
  var formParams = {};
722
- var authNames = ["api_key"];
722
+ var authNames = ['api_key'];
723
723
  var contentTypes = [];
724
- var accepts = ["application/json"];
724
+ var accepts = ['application/json'];
725
725
  var returnType = _DeviceDfuStatus["default"];
726
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/status", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
726
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
727
727
  }
728
728
 
729
729
  /**
730
730
  * Get device DFU history for host or Notecard firmware
731
- * @param {String} projectUID
732
- * @param {String} deviceUID
733
- * @param {module:model/String} firmwareType
731
+ * @param {String} projectUID
732
+ * @param {String} deviceUID
733
+ * @param {module:model/String} firmwareType
734
734
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
735
735
  */
736
736
  }, {
@@ -743,8 +743,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
743
743
 
744
744
  /**
745
745
  * Get Device Fleets
746
- * @param {String} projectUID
747
- * @param {String} deviceUID
746
+ * @param {String} projectUID
747
+ * @param {String} deviceUID
748
748
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
749
749
  */
750
750
  }, {
@@ -760,23 +760,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
760
760
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceFleets");
761
761
  }
762
762
  var pathParams = {
763
- projectUID: projectUID,
764
- deviceUID: deviceUID
763
+ 'projectUID': projectUID,
764
+ 'deviceUID': deviceUID
765
765
  };
766
766
  var queryParams = {};
767
767
  var headerParams = {};
768
768
  var formParams = {};
769
- var authNames = ["api_key"];
769
+ var authNames = ['api_key'];
770
770
  var contentTypes = [];
771
- var accepts = ["application/json"];
771
+ var accepts = ['application/json'];
772
772
  var returnType = _GetProjectFleets200Response["default"];
773
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/fleets", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
773
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
774
774
  }
775
775
 
776
776
  /**
777
777
  * Get Device Fleets
778
- * @param {String} projectUID
779
- * @param {String} deviceUID
778
+ * @param {String} projectUID
779
+ * @param {String} deviceUID
780
780
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
781
781
  */
782
782
  }, {
@@ -789,8 +789,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
789
789
 
790
790
  /**
791
791
  * Get host or Notecard DFU history for all devices that match the filter criteria
792
- * @param {String} projectUID
793
- * @param {module:model/String} firmwareType
792
+ * @param {String} projectUID
793
+ * @param {module:model/String} firmwareType
794
794
  * @param {Object} opts Optional parameters
795
795
  * @param {Number} opts.pageSize (default to 50)
796
796
  * @param {Number} opts.pageNum (default to 1)
@@ -799,11 +799,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
799
799
  * @param {Array.<String>} opts.deviceUID A Device UID.
800
800
  * @param {Array.<String>} opts.tag Tag filter
801
801
  * @param {Array.<String>} opts.serialNumber Serial number filter
802
- * @param {String} opts.fleetUID
802
+ * @param {String} opts.fleetUID
803
803
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
804
804
  * @param {Array.<String>} opts.location Location filter
805
805
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
806
- * @param {Array.<String>} opts.productUID
806
+ * @param {Array.<String>} opts.productUID
807
807
  * @param {Array.<String>} opts.sku SKU filter
808
808
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistoryPage} and HTTP response
809
809
  */
@@ -821,37 +821,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
821
821
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDevicesDfuHistory");
822
822
  }
823
823
  var pathParams = {
824
- projectUID: projectUID,
825
- firmwareType: firmwareType
824
+ 'projectUID': projectUID,
825
+ 'firmwareType': firmwareType
826
826
  };
827
827
  var queryParams = {
828
- pageSize: opts["pageSize"],
829
- pageNum: opts["pageNum"],
830
- sortBy: opts["sortBy"],
831
- sortOrder: opts["sortOrder"],
832
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
833
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
834
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
835
- fleetUID: opts["fleetUID"],
836
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
837
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
838
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
839
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
840
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
828
+ 'pageSize': opts['pageSize'],
829
+ 'pageNum': opts['pageNum'],
830
+ 'sortBy': opts['sortBy'],
831
+ 'sortOrder': opts['sortOrder'],
832
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
833
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
834
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
835
+ 'fleetUID': opts['fleetUID'],
836
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
837
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
838
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
839
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
840
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
841
841
  };
842
842
  var headerParams = {};
843
843
  var formParams = {};
844
- var authNames = ["api_key"];
844
+ var authNames = ['api_key'];
845
845
  var contentTypes = [];
846
- var accepts = ["application/json"];
846
+ var accepts = ['application/json'];
847
847
  var returnType = _DeviceDfuHistoryPage["default"];
848
- return this.apiClient.callApi("/v1/projects/{projectUID}/dfu/{firmwareType}/history", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
848
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
849
849
  }
850
850
 
851
851
  /**
852
852
  * Get host or Notecard DFU history for all devices that match the filter criteria
853
- * @param {String} projectUID
854
- * @param {module:model/String} firmwareType
853
+ * @param {String} projectUID
854
+ * @param {module:model/String} firmwareType
855
855
  * @param {Object} opts Optional parameters
856
856
  * @param {Number} opts.pageSize (default to 50)
857
857
  * @param {Number} opts.pageNum (default to 1)
@@ -860,11 +860,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
860
860
  * @param {Array.<String>} opts.deviceUID A Device UID.
861
861
  * @param {Array.<String>} opts.tag Tag filter
862
862
  * @param {Array.<String>} opts.serialNumber Serial number filter
863
- * @param {String} opts.fleetUID
863
+ * @param {String} opts.fleetUID
864
864
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
865
865
  * @param {Array.<String>} opts.location Location filter
866
866
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
867
- * @param {Array.<String>} opts.productUID
867
+ * @param {Array.<String>} opts.productUID
868
868
  * @param {Array.<String>} opts.sku SKU filter
869
869
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistoryPage}
870
870
  */
@@ -878,8 +878,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
878
878
 
879
879
  /**
880
880
  * Get host or Notecard DFU history for all devices that match the filter criteria
881
- * @param {String} projectUID
882
- * @param {module:model/String} firmwareType
881
+ * @param {String} projectUID
882
+ * @param {module:model/String} firmwareType
883
883
  * @param {Object} opts Optional parameters
884
884
  * @param {Number} opts.pageSize (default to 50)
885
885
  * @param {Number} opts.pageNum (default to 1)
@@ -888,11 +888,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
888
888
  * @param {Array.<String>} opts.deviceUID A Device UID.
889
889
  * @param {Array.<String>} opts.tag Tag filter
890
890
  * @param {Array.<String>} opts.serialNumber Serial number filter
891
- * @param {String} opts.fleetUID
891
+ * @param {String} opts.fleetUID
892
892
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
893
893
  * @param {Array.<String>} opts.location Location filter
894
894
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
895
- * @param {Array.<String>} opts.productUID
895
+ * @param {Array.<String>} opts.productUID
896
896
  * @param {Array.<String>} opts.sku SKU filter
897
897
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatusPage} and HTTP response
898
898
  */
@@ -910,37 +910,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
910
910
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDevicesDfuStatus");
911
911
  }
912
912
  var pathParams = {
913
- projectUID: projectUID,
914
- firmwareType: firmwareType
913
+ 'projectUID': projectUID,
914
+ 'firmwareType': firmwareType
915
915
  };
916
916
  var queryParams = {
917
- pageSize: opts["pageSize"],
918
- pageNum: opts["pageNum"],
919
- sortBy: opts["sortBy"],
920
- sortOrder: opts["sortOrder"],
921
- deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
922
- tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
923
- serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
924
- fleetUID: opts["fleetUID"],
925
- notecardFirmware: this.apiClient.buildCollectionParam(opts["notecardFirmware"], "multi"),
926
- location: this.apiClient.buildCollectionParam(opts["location"], "multi"),
927
- hostFirmware: this.apiClient.buildCollectionParam(opts["hostFirmware"], "multi"),
928
- productUID: this.apiClient.buildCollectionParam(opts["productUID"], "multi"),
929
- sku: this.apiClient.buildCollectionParam(opts["sku"], "multi")
917
+ 'pageSize': opts['pageSize'],
918
+ 'pageNum': opts['pageNum'],
919
+ 'sortBy': opts['sortBy'],
920
+ 'sortOrder': opts['sortOrder'],
921
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
922
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
923
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
924
+ 'fleetUID': opts['fleetUID'],
925
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
926
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
927
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
928
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
929
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
930
930
  };
931
931
  var headerParams = {};
932
932
  var formParams = {};
933
- var authNames = ["api_key"];
933
+ var authNames = ['api_key'];
934
934
  var contentTypes = [];
935
- var accepts = ["application/json"];
935
+ var accepts = ['application/json'];
936
936
  var returnType = _DeviceDfuStatusPage["default"];
937
- return this.apiClient.callApi("/v1/projects/{projectUID}/dfu/{firmwareType}/status", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
937
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
938
938
  }
939
939
 
940
940
  /**
941
941
  * Get host or Notecard DFU history for all devices that match the filter criteria
942
- * @param {String} projectUID
943
- * @param {module:model/String} firmwareType
942
+ * @param {String} projectUID
943
+ * @param {module:model/String} firmwareType
944
944
  * @param {Object} opts Optional parameters
945
945
  * @param {Number} opts.pageSize (default to 50)
946
946
  * @param {Number} opts.pageNum (default to 1)
@@ -949,11 +949,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
949
949
  * @param {Array.<String>} opts.deviceUID A Device UID.
950
950
  * @param {Array.<String>} opts.tag Tag filter
951
951
  * @param {Array.<String>} opts.serialNumber Serial number filter
952
- * @param {String} opts.fleetUID
952
+ * @param {String} opts.fleetUID
953
953
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
954
954
  * @param {Array.<String>} opts.location Location filter
955
955
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
956
- * @param {Array.<String>} opts.productUID
956
+ * @param {Array.<String>} opts.productUID
957
957
  * @param {Array.<String>} opts.sku SKU filter
958
958
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatusPage}
959
959
  */
@@ -967,15 +967,15 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
967
967
 
968
968
  /**
969
969
  * Get Available Firmware Information
970
- * @param {String} projectUID
970
+ * @param {String} projectUID
971
971
  * @param {Object} opts Optional parameters
972
- * @param {String} opts.product
973
- * @param {String} opts.firmwareType
974
- * @param {String} opts.version
975
- * @param {String} opts.target
976
- * @param {String} opts.filename
977
- * @param {String} opts.md5
978
- * @param {Boolean} opts.unpublished
972
+ * @param {String} opts.product
973
+ * @param {String} opts.firmwareType
974
+ * @param {String} opts.version
975
+ * @param {String} opts.target
976
+ * @param {String} opts.filename
977
+ * @param {String} opts.md5
978
+ * @param {Boolean} opts.unpublished
979
979
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
980
980
  */
981
981
  }, {
@@ -988,37 +988,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
988
988
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getFirmwareInfo");
989
989
  }
990
990
  var pathParams = {
991
- projectUID: projectUID
991
+ 'projectUID': projectUID
992
992
  };
993
993
  var queryParams = {
994
- product: opts["product"],
995
- firmwareType: opts["firmwareType"],
996
- version: opts["version"],
997
- target: opts["target"],
998
- filename: opts["filename"],
999
- md5: opts["md5"],
1000
- unpublished: opts["unpublished"]
994
+ 'product': opts['product'],
995
+ 'firmwareType': opts['firmwareType'],
996
+ 'version': opts['version'],
997
+ 'target': opts['target'],
998
+ 'filename': opts['filename'],
999
+ 'md5': opts['md5'],
1000
+ 'unpublished': opts['unpublished']
1001
1001
  };
1002
1002
  var headerParams = {};
1003
1003
  var formParams = {};
1004
- var authNames = ["api_key"];
1004
+ var authNames = ['api_key'];
1005
1005
  var contentTypes = [];
1006
- var accepts = ["application/json"];
1006
+ var accepts = ['application/json'];
1007
1007
  var returnType = [_FirmwareInfo["default"]];
1008
- return this.apiClient.callApi("/v1/projects/{projectUID}/firmware", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1008
+ return this.apiClient.callApi('/v1/projects/{projectUID}/firmware', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1009
1009
  }
1010
1010
 
1011
1011
  /**
1012
1012
  * Get Available Firmware Information
1013
- * @param {String} projectUID
1013
+ * @param {String} projectUID
1014
1014
  * @param {Object} opts Optional parameters
1015
- * @param {String} opts.product
1016
- * @param {String} opts.firmwareType
1017
- * @param {String} opts.version
1018
- * @param {String} opts.target
1019
- * @param {String} opts.filename
1020
- * @param {String} opts.md5
1021
- * @param {Boolean} opts.unpublished
1015
+ * @param {String} opts.product
1016
+ * @param {String} opts.firmwareType
1017
+ * @param {String} opts.version
1018
+ * @param {String} opts.target
1019
+ * @param {String} opts.filename
1020
+ * @param {String} opts.md5
1021
+ * @param {Boolean} opts.unpublished
1022
1022
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
1023
1023
  */
1024
1024
  }, {
@@ -1029,10 +1029,56 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1029
1029
  });
1030
1030
  }
1031
1031
 
1032
+ /**
1033
+ * Get Fleet
1034
+ * @param {String} projectUID
1035
+ * @param {String} fleetUID
1036
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
1037
+ */
1038
+ }, {
1039
+ key: "getFleetWithHttpInfo",
1040
+ value: function getFleetWithHttpInfo(projectUID, fleetUID) {
1041
+ var postBody = null;
1042
+ // verify the required parameter 'projectUID' is set
1043
+ if (projectUID === undefined || projectUID === null) {
1044
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getFleet");
1045
+ }
1046
+ // verify the required parameter 'fleetUID' is set
1047
+ if (fleetUID === undefined || fleetUID === null) {
1048
+ throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleet");
1049
+ }
1050
+ var pathParams = {
1051
+ 'projectUID': projectUID,
1052
+ 'fleetUID': fleetUID
1053
+ };
1054
+ var queryParams = {};
1055
+ var headerParams = {};
1056
+ var formParams = {};
1057
+ var authNames = ['api_key'];
1058
+ var contentTypes = [];
1059
+ var accepts = ['application/json'];
1060
+ var returnType = _Fleet["default"];
1061
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1062
+ }
1063
+
1064
+ /**
1065
+ * Get Fleet
1066
+ * @param {String} projectUID
1067
+ * @param {String} fleetUID
1068
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
1069
+ */
1070
+ }, {
1071
+ key: "getFleet",
1072
+ value: function getFleet(projectUID, fleetUID) {
1073
+ return this.getFleetWithHttpInfo(projectUID, fleetUID).then(function (response_and_data) {
1074
+ return response_and_data.data;
1075
+ });
1076
+ }
1077
+
1032
1078
  /**
1033
1079
  * Get environment variables of a fleet
1034
- * @param {String} projectUID
1035
- * @param {String} fleetUID
1080
+ * @param {String} projectUID
1081
+ * @param {String} fleetUID
1036
1082
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1037
1083
  */
1038
1084
  }, {
@@ -1048,23 +1094,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1048
1094
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetEnvironmentVariables");
1049
1095
  }
1050
1096
  var pathParams = {
1051
- projectUID: projectUID,
1052
- fleetUID: fleetUID
1097
+ 'projectUID': projectUID,
1098
+ 'fleetUID': fleetUID
1053
1099
  };
1054
1100
  var queryParams = {};
1055
1101
  var headerParams = {};
1056
1102
  var formParams = {};
1057
- var authNames = ["api_key"];
1103
+ var authNames = ['api_key'];
1058
1104
  var contentTypes = [];
1059
- var accepts = ["application/json"];
1105
+ var accepts = ['application/json'];
1060
1106
  var returnType = _EnvironmentVariables["default"];
1061
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1107
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1062
1108
  }
1063
1109
 
1064
1110
  /**
1065
1111
  * Get environment variables of a fleet
1066
- * @param {String} projectUID
1067
- * @param {String} fleetUID
1112
+ * @param {String} projectUID
1113
+ * @param {String} fleetUID
1068
1114
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1069
1115
  */
1070
1116
  }, {
@@ -1077,7 +1123,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1077
1123
 
1078
1124
  /**
1079
1125
  * Get a Project by ProjectUID
1080
- * @param {String} projectUID
1126
+ * @param {String} projectUID
1081
1127
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1082
1128
  */
1083
1129
  }, {
@@ -1089,21 +1135,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1089
1135
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProject");
1090
1136
  }
1091
1137
  var pathParams = {
1092
- projectUID: projectUID
1138
+ 'projectUID': projectUID
1093
1139
  };
1094
1140
  var queryParams = {};
1095
1141
  var headerParams = {};
1096
1142
  var formParams = {};
1097
- var authNames = ["api_key"];
1143
+ var authNames = ['api_key'];
1098
1144
  var contentTypes = [];
1099
- var accepts = ["application/json"];
1145
+ var accepts = ['application/json'];
1100
1146
  var returnType = _Project["default"];
1101
- return this.apiClient.callApi("/v1/projects/{projectUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1147
+ return this.apiClient.callApi('/v1/projects/{projectUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1102
1148
  }
1103
1149
 
1104
1150
  /**
1105
1151
  * Get a Project by ProjectUID
1106
- * @param {String} projectUID
1152
+ * @param {String} projectUID
1107
1153
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1108
1154
  */
1109
1155
  }, {
@@ -1116,7 +1162,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1116
1162
 
1117
1163
  /**
1118
1164
  * Get a Project by ProductUID
1119
- * @param {String} productUID
1165
+ * @param {String} productUID
1120
1166
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1121
1167
  */
1122
1168
  }, {
@@ -1128,21 +1174,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1128
1174
  throw new _Error["default"]("Missing the required parameter 'productUID' when calling getProjectByProduct");
1129
1175
  }
1130
1176
  var pathParams = {
1131
- productUID: productUID
1177
+ 'productUID': productUID
1132
1178
  };
1133
1179
  var queryParams = {};
1134
1180
  var headerParams = {};
1135
1181
  var formParams = {};
1136
- var authNames = ["api_key"];
1182
+ var authNames = ['api_key'];
1137
1183
  var contentTypes = [];
1138
- var accepts = ["application/json"];
1184
+ var accepts = ['application/json'];
1139
1185
  var returnType = _Project["default"];
1140
- return this.apiClient.callApi("/v1/products/{productUID}/project", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1186
+ return this.apiClient.callApi('/v1/products/{productUID}/project', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1141
1187
  }
1142
1188
 
1143
1189
  /**
1144
1190
  * Get a Project by ProductUID
1145
- * @param {String} productUID
1191
+ * @param {String} productUID
1146
1192
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1147
1193
  */
1148
1194
  }, {
@@ -1155,7 +1201,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1155
1201
 
1156
1202
  /**
1157
1203
  * Get environment variables of a project
1158
- * @param {String} projectUID
1204
+ * @param {String} projectUID
1159
1205
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1160
1206
  */
1161
1207
  }, {
@@ -1167,21 +1213,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1167
1213
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectEnvironmentVariables");
1168
1214
  }
1169
1215
  var pathParams = {
1170
- projectUID: projectUID
1216
+ 'projectUID': projectUID
1171
1217
  };
1172
1218
  var queryParams = {};
1173
1219
  var headerParams = {};
1174
1220
  var formParams = {};
1175
- var authNames = ["api_key"];
1221
+ var authNames = ['api_key'];
1176
1222
  var contentTypes = [];
1177
- var accepts = ["application/json"];
1223
+ var accepts = ['application/json'];
1178
1224
  var returnType = _EnvironmentVariables["default"];
1179
- return this.apiClient.callApi("/v1/projects/{projectUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1225
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1180
1226
  }
1181
1227
 
1182
1228
  /**
1183
1229
  * Get environment variables of a project
1184
- * @param {String} projectUID
1230
+ * @param {String} projectUID
1185
1231
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1186
1232
  */
1187
1233
  }, {
@@ -1194,7 +1240,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1194
1240
 
1195
1241
  /**
1196
1242
  * Get Project Fleets
1197
- * @param {String} projectUID
1243
+ * @param {String} projectUID
1198
1244
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
1199
1245
  */
1200
1246
  }, {
@@ -1206,21 +1252,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1206
1252
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectFleets");
1207
1253
  }
1208
1254
  var pathParams = {
1209
- projectUID: projectUID
1255
+ 'projectUID': projectUID
1210
1256
  };
1211
1257
  var queryParams = {};
1212
1258
  var headerParams = {};
1213
1259
  var formParams = {};
1214
- var authNames = ["api_key"];
1260
+ var authNames = ['api_key'];
1215
1261
  var contentTypes = [];
1216
- var accepts = ["application/json"];
1262
+ var accepts = ['application/json'];
1217
1263
  var returnType = _GetProjectFleets200Response["default"];
1218
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1264
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1219
1265
  }
1220
1266
 
1221
1267
  /**
1222
1268
  * Get Project Fleets
1223
- * @param {String} projectUID
1269
+ * @param {String} projectUID
1224
1270
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
1225
1271
  */
1226
1272
  }, {
@@ -1233,7 +1279,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1233
1279
 
1234
1280
  /**
1235
1281
  * Get Project Members
1236
- * @param {String} projectUID
1282
+ * @param {String} projectUID
1237
1283
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1238
1284
  */
1239
1285
  }, {
@@ -1245,21 +1291,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1245
1291
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectMembers");
1246
1292
  }
1247
1293
  var pathParams = {
1248
- projectUID: projectUID
1294
+ 'projectUID': projectUID
1249
1295
  };
1250
1296
  var queryParams = {};
1251
1297
  var headerParams = {};
1252
1298
  var formParams = {};
1253
- var authNames = ["api_key"];
1299
+ var authNames = ['api_key'];
1254
1300
  var contentTypes = [];
1255
- var accepts = ["application/json"];
1301
+ var accepts = ['application/json'];
1256
1302
  var returnType = _GetProjectMembers200Response["default"];
1257
- return this.apiClient.callApi("/v1/projects/{projectUID}/members", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1303
+ return this.apiClient.callApi('/v1/projects/{projectUID}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1258
1304
  }
1259
1305
 
1260
1306
  /**
1261
1307
  * Get Project Members
1262
- * @param {String} projectUID
1308
+ * @param {String} projectUID
1263
1309
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1264
1310
  */
1265
1311
  }, {
@@ -1272,7 +1318,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1272
1318
 
1273
1319
  /**
1274
1320
  * Get Products within a Project
1275
- * @param {String} projectUID
1321
+ * @param {String} projectUID
1276
1322
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectProducts200Response} and HTTP response
1277
1323
  */
1278
1324
  }, {
@@ -1284,21 +1330,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1284
1330
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectProducts");
1285
1331
  }
1286
1332
  var pathParams = {
1287
- projectUID: projectUID
1333
+ 'projectUID': projectUID
1288
1334
  };
1289
1335
  var queryParams = {};
1290
1336
  var headerParams = {};
1291
1337
  var formParams = {};
1292
- var authNames = ["api_key"];
1338
+ var authNames = ['api_key'];
1293
1339
  var contentTypes = [];
1294
- var accepts = ["application/json"];
1340
+ var accepts = ['application/json'];
1295
1341
  var returnType = _GetProjectProducts200Response["default"];
1296
- return this.apiClient.callApi("/v1/projects/{projectUID}/products", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1342
+ return this.apiClient.callApi('/v1/projects/{projectUID}/products', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1297
1343
  }
1298
1344
 
1299
1345
  /**
1300
1346
  * Get Products within a Project
1301
- * @param {String} projectUID
1347
+ * @param {String} projectUID
1302
1348
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectProducts200Response}
1303
1349
  */
1304
1350
  }, {
@@ -1321,11 +1367,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1321
1367
  var queryParams = {};
1322
1368
  var headerParams = {};
1323
1369
  var formParams = {};
1324
- var authNames = ["api_key"];
1370
+ var authNames = ['api_key'];
1325
1371
  var contentTypes = [];
1326
- var accepts = ["application/json"];
1372
+ var accepts = ['application/json'];
1327
1373
  var returnType = _GetProjects200Response["default"];
1328
- return this.apiClient.callApi("/v1/projects", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1374
+ return this.apiClient.callApi('/v1/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1329
1375
  }
1330
1376
 
1331
1377
  /**
@@ -1342,9 +1388,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1342
1388
 
1343
1389
  /**
1344
1390
  * Add Device to Fleets
1345
- * @param {String} projectUID
1346
- * @param {String} deviceUID
1347
- * @param {module:model/PutDeviceFleetsRequest} putDeviceFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
1391
+ * @param {String} projectUID
1392
+ * @param {String} deviceUID
1393
+ * @param {module:model/PutDeviceFleetsRequest} putDeviceFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
1348
1394
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
1349
1395
  */
1350
1396
  }, {
@@ -1364,24 +1410,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1364
1410
  throw new _Error["default"]("Missing the required parameter 'putDeviceFleetsRequest' when calling putDeviceFleets");
1365
1411
  }
1366
1412
  var pathParams = {
1367
- projectUID: projectUID,
1368
- deviceUID: deviceUID
1413
+ 'projectUID': projectUID,
1414
+ 'deviceUID': deviceUID
1369
1415
  };
1370
1416
  var queryParams = {};
1371
1417
  var headerParams = {};
1372
1418
  var formParams = {};
1373
- var authNames = ["api_key"];
1374
- var contentTypes = ["application/json"];
1375
- var accepts = ["application/json"];
1419
+ var authNames = ['api_key'];
1420
+ var contentTypes = ['application/json'];
1421
+ var accepts = ['application/json'];
1376
1422
  var returnType = _GetProjectFleets200Response["default"];
1377
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/fleets", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1423
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1378
1424
  }
1379
1425
 
1380
1426
  /**
1381
1427
  * Add Device to Fleets
1382
- * @param {String} projectUID
1383
- * @param {String} deviceUID
1384
- * @param {module:model/PutDeviceFleetsRequest} putDeviceFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
1428
+ * @param {String} projectUID
1429
+ * @param {String} deviceUID
1430
+ * @param {module:model/PutDeviceFleetsRequest} putDeviceFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
1385
1431
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
1386
1432
  */
1387
1433
  }, {
@@ -1394,8 +1440,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1394
1440
 
1395
1441
  /**
1396
1442
  * Put environment variables of a fleet
1397
- * @param {String} projectUID
1398
- * @param {String} fleetUID
1443
+ * @param {String} projectUID
1444
+ * @param {String} fleetUID
1399
1445
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1400
1446
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1401
1447
  */
@@ -1416,23 +1462,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1416
1462
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putFleetEnvironmentVariables");
1417
1463
  }
1418
1464
  var pathParams = {
1419
- projectUID: projectUID,
1420
- fleetUID: fleetUID
1465
+ 'projectUID': projectUID,
1466
+ 'fleetUID': fleetUID
1421
1467
  };
1422
1468
  var queryParams = {};
1423
1469
  var headerParams = {};
1424
1470
  var formParams = {};
1425
- var authNames = ["api_key"];
1426
- var contentTypes = ["application/json"];
1427
- var accepts = ["application/json"];
1471
+ var authNames = ['api_key'];
1472
+ var contentTypes = ['application/json'];
1473
+ var accepts = ['application/json'];
1428
1474
  var returnType = _EnvironmentVariables["default"];
1429
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1475
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1430
1476
  }
1431
1477
 
1432
1478
  /**
1433
1479
  * Put environment variables of a fleet
1434
- * @param {String} projectUID
1435
- * @param {String} fleetUID
1480
+ * @param {String} projectUID
1481
+ * @param {String} fleetUID
1436
1482
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1437
1483
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1438
1484
  */
@@ -1446,38 +1492,38 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1446
1492
 
1447
1493
  /**
1448
1494
  * Put environment variables of a project
1449
- * @param {String} projectUID
1495
+ * @param {String} projectUID
1450
1496
  * @param {Object} opts Optional parameters
1451
- * @param {module:model/EnvironmentVariables} opts.environmentVariables
1497
+ * @param {module:model/EnvironmentVariables} opts.environmentVariables
1452
1498
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1453
1499
  */
1454
1500
  }, {
1455
1501
  key: "putProjectEnvironmentVariablesWithHttpInfo",
1456
1502
  value: function putProjectEnvironmentVariablesWithHttpInfo(projectUID, opts) {
1457
1503
  opts = opts || {};
1458
- var postBody = opts["environmentVariables"];
1504
+ var postBody = opts['environmentVariables'];
1459
1505
  // verify the required parameter 'projectUID' is set
1460
1506
  if (projectUID === undefined || projectUID === null) {
1461
1507
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling putProjectEnvironmentVariables");
1462
1508
  }
1463
1509
  var pathParams = {
1464
- projectUID: projectUID
1510
+ 'projectUID': projectUID
1465
1511
  };
1466
1512
  var queryParams = {};
1467
1513
  var headerParams = {};
1468
1514
  var formParams = {};
1469
- var authNames = ["api_key"];
1470
- var contentTypes = ["application/json"];
1471
- var accepts = ["application/json"];
1515
+ var authNames = ['api_key'];
1516
+ var contentTypes = ['application/json'];
1517
+ var accepts = ['application/json'];
1472
1518
  var returnType = _EnvironmentVariables["default"];
1473
- return this.apiClient.callApi("/v1/projects/{projectUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1519
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1474
1520
  }
1475
1521
 
1476
1522
  /**
1477
1523
  * Put environment variables of a project
1478
- * @param {String} projectUID
1524
+ * @param {String} projectUID
1479
1525
  * @param {Object} opts Optional parameters
1480
- * @param {module:model/EnvironmentVariables} opts.environmentVariables
1526
+ * @param {module:model/EnvironmentVariables} opts.environmentVariables
1481
1527
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1482
1528
  */
1483
1529
  }, {
@@ -1490,7 +1536,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1490
1536
 
1491
1537
  /**
1492
1538
  * Set the project-level event JSONata transformation
1493
- * @param {String} projectUID
1539
+ * @param {String} projectUID
1494
1540
  * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
1495
1541
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1496
1542
  */
@@ -1507,21 +1553,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1507
1553
  throw new _Error["default"]("Missing the required parameter 'body' when calling setGlobalTransformation");
1508
1554
  }
1509
1555
  var pathParams = {
1510
- projectUID: projectUID
1556
+ 'projectUID': projectUID
1511
1557
  };
1512
1558
  var queryParams = {};
1513
1559
  var headerParams = {};
1514
1560
  var formParams = {};
1515
- var authNames = ["api_key"];
1516
- var contentTypes = ["application/json"];
1517
- var accepts = ["application/json"];
1561
+ var authNames = ['api_key'];
1562
+ var contentTypes = ['application/json'];
1563
+ var accepts = ['application/json'];
1518
1564
  var returnType = null;
1519
- return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1565
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1520
1566
  }
1521
1567
 
1522
1568
  /**
1523
1569
  * Set the project-level event JSONata transformation
1524
- * @param {String} projectUID
1570
+ * @param {String} projectUID
1525
1571
  * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
1526
1572
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1527
1573
  */
@@ -1535,8 +1581,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1535
1581
 
1536
1582
  /**
1537
1583
  * Update Fleet
1538
- * @param {String} projectUID
1539
- * @param {String} fleetUID
1584
+ * @param {String} projectUID
1585
+ * @param {String} fleetUID
1540
1586
  * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
1541
1587
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
1542
1588
  */
@@ -1557,23 +1603,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1557
1603
  throw new _Error["default"]("Missing the required parameter 'updateFleetRequest' when calling updateFleet");
1558
1604
  }
1559
1605
  var pathParams = {
1560
- projectUID: projectUID,
1561
- fleetUID: fleetUID
1606
+ 'projectUID': projectUID,
1607
+ 'fleetUID': fleetUID
1562
1608
  };
1563
1609
  var queryParams = {};
1564
1610
  var headerParams = {};
1565
1611
  var formParams = {};
1566
- var authNames = ["api_key"];
1567
- var contentTypes = ["application/json"];
1568
- var accepts = ["application/json"];
1612
+ var authNames = ['api_key'];
1613
+ var contentTypes = ['application/json'];
1614
+ var accepts = ['application/json'];
1569
1615
  var returnType = _Fleet["default"];
1570
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1616
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1571
1617
  }
1572
1618
 
1573
1619
  /**
1574
1620
  * Update Fleet
1575
- * @param {String} projectUID
1576
- * @param {String} fleetUID
1621
+ * @param {String} projectUID
1622
+ * @param {String} fleetUID
1577
1623
  * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
1578
1624
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
1579
1625
  */