@blues-inc/notehub-js 1.0.28 → 1.0.29-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/README.md +217 -190
  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 -118
  8. package/dist/api/MonitorApi.js +52 -52
  9. package/dist/api/ProjectApi.js +384 -339
  10. package/dist/api/RepositoryApi.js +605 -0
  11. package/dist/api/RouteApi.js +74 -74
  12. package/dist/index.js +56 -0
  13. package/dist/model/Alert.js +76 -74
  14. package/dist/model/AlertDataInner.js +35 -35
  15. package/dist/model/AlertNotificationsInner.js +18 -18
  16. package/dist/model/Aws.js +65 -65
  17. package/dist/model/Azure.js +43 -43
  18. package/dist/model/BillingAccount.js +21 -21
  19. package/dist/model/BillingAccountRole.js +9 -9
  20. package/dist/model/Body.js +5 -5
  21. package/dist/model/CloneProjectRequest.js +20 -20
  22. package/dist/model/Contact.js +22 -22
  23. package/dist/model/CreateFleetRequest.js +12 -12
  24. package/dist/model/CreateMonitor.js +126 -125
  25. package/dist/model/CreateProductRequest.js +22 -22
  26. package/dist/model/CreateProjectRequest.js +16 -16
  27. package/dist/model/CreateUpdateRepository.js +115 -0
  28. package/dist/model/CurrentFirmware.js +12 -12
  29. package/dist/model/DFUEnv.js +12 -12
  30. package/dist/model/DFUState.js +65 -65
  31. package/dist/model/DataField.js +92 -0
  32. package/dist/model/DataSet.js +164 -0
  33. package/dist/model/DataSetField.js +137 -0
  34. package/dist/model/DeleteDeviceFleetsRequest.js +8 -8
  35. package/dist/model/Device.js +94 -94
  36. package/dist/model/DeviceDfuHistory.js +20 -19
  37. package/dist/model/DeviceDfuHistoryPage.js +13 -12
  38. package/dist/model/DeviceDfuStateMachine.js +25 -24
  39. package/dist/model/DeviceDfuStateMachineNode.js +22 -22
  40. package/dist/model/DeviceDfuStatus.js +20 -20
  41. package/dist/model/DeviceDfuStatusCurrent.js +32 -32
  42. package/dist/model/DeviceDfuStatusPage.js +13 -12
  43. package/dist/model/DeviceSession.js +182 -182
  44. package/dist/model/DeviceTowerInfo.js +14 -14
  45. package/dist/model/DeviceUsage.js +32 -32
  46. package/dist/model/DfuActionRequest.js +7 -7
  47. package/dist/model/EmailNotification.js +7 -7
  48. package/dist/model/EnvironmentVariables.js +8 -8
  49. package/dist/model/Error.js +31 -31
  50. package/dist/model/Event.js +243 -243
  51. package/dist/model/Firmware.js +49 -49
  52. package/dist/model/FirmwareInfo.js +60 -60
  53. package/dist/model/Fleet.js +23 -23
  54. package/dist/model/GetAlerts200Response.js +15 -14
  55. package/dist/model/GetBillingAccounts200Response.js +10 -9
  56. package/dist/model/GetDeviceEnvironmentVariables200Response.js +12 -12
  57. package/dist/model/GetDeviceHealthLog200Response.js +12 -11
  58. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
  59. package/dist/model/GetDeviceLatest200Response.js +10 -9
  60. package/dist/model/GetDevicePublicKey200Response.js +16 -16
  61. package/dist/model/GetDeviceSessions200Response.js +17 -16
  62. package/dist/model/GetProjectDevicePublicKeys200Response.js +17 -16
  63. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
  64. package/dist/model/GetProjectDevices200Response.js +17 -16
  65. package/dist/model/GetProjectEvents200Response.js +21 -20
  66. package/dist/model/GetProjectEventsByCursor200Response.js +24 -23
  67. package/dist/model/GetProjectFleets200Response.js +12 -11
  68. package/dist/model/GetProjectMembers200Response.js +12 -11
  69. package/dist/model/GetProjectProducts200Response.js +10 -9
  70. package/dist/model/GetProjects200Response.js +10 -9
  71. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +35 -35
  72. package/dist/model/Google.js +33 -33
  73. package/dist/model/HandleNoteChanges200Response.js +11 -11
  74. package/dist/model/HandleNoteGet200Response.js +13 -13
  75. package/dist/model/HandleNoteSignal200Response.js +5 -5
  76. package/dist/model/HandleNotefileChanges200Response.js +11 -11
  77. package/dist/model/HandleNotefileChangesPending200Response.js +14 -14
  78. package/dist/model/HandleNotefileDeleteRequest.js +7 -7
  79. package/dist/model/Http.js +35 -35
  80. package/dist/model/HttpFilter.js +19 -19
  81. package/dist/model/HttpTransform.js +20 -20
  82. package/dist/model/Location.js +40 -40
  83. package/dist/model/Login200Response.js +7 -7
  84. package/dist/model/LoginRequest.js +12 -12
  85. package/dist/model/Monitor.js +100 -99
  86. package/dist/model/MonitorAlertRoutesInner.js +9 -10
  87. package/dist/model/Mqtt.js +66 -66
  88. package/dist/model/Note.js +10 -10
  89. package/dist/model/NotehubRoute.js +36 -36
  90. package/dist/model/NotehubRouteSchema.js +45 -46
  91. package/dist/model/PostProvisionProjectDeviceRequest.js +18 -18
  92. package/dist/model/Product.js +26 -26
  93. package/dist/model/Project.js +34 -34
  94. package/dist/model/ProjectMember.js +22 -22
  95. package/dist/model/Proxy.js +24 -24
  96. package/dist/model/PutDeviceFleetsRequest.js +8 -8
  97. package/dist/model/QuestionDataResponseLineChart.js +204 -0
  98. package/dist/model/QuestionDataResponseMap.js +143 -0
  99. package/dist/model/Radresponder.js +25 -25
  100. package/dist/model/Repository.js +129 -0
  101. package/dist/model/Role.js +9 -9
  102. package/dist/model/Slack.js +53 -53
  103. package/dist/model/SlackBearerNotification.js +25 -25
  104. package/dist/model/SlackWebHookNotification.js +20 -20
  105. package/dist/model/Snowflake.js +45 -45
  106. package/dist/model/SnowflakeTransform.js +12 -12
  107. package/dist/model/Thingworx.js +33 -33
  108. package/dist/model/TowerLocation.js +52 -52
  109. package/dist/model/Twilio.js +43 -43
  110. package/dist/model/UpdateFleetRequest.js +22 -22
  111. package/dist/model/UploadMetadata.js +59 -59
  112. package/dist/model/UserDbRoute.js +25 -25
  113. package/dist/model/UserDfuStateMachine.js +20 -20
  114. package/dist/model/UserDfuStateMachineStatus.js +20 -20
  115. package/dist/model/UserFirmwareInfo.js +12 -12
  116. 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,30 +46,75 @@ 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.28
52
- */
49
+ * Project service.
50
+ * @module api/ProjectApi
51
+ * @version 1.0.29-beta.1
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;
64
64
  }
65
65
 
66
66
  /**
67
- * Clone a Project
68
- * @param {String} projectUID The project UID to be cloned.
69
- * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
70
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
67
+ * Bulk provision devices via CSV upload
68
+ * @param {String} projectUID
69
+ * @param {String} body
70
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
71
71
  */
72
72
  return _createClass(ProjectApi, [{
73
+ key: "bulkProvisionWithHttpInfo",
74
+ value: function bulkProvisionWithHttpInfo(projectUID, body) {
75
+ var postBody = body;
76
+ // verify the required parameter 'projectUID' is set
77
+ if (projectUID === undefined || projectUID === null) {
78
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling bulkProvision");
79
+ }
80
+ // verify the required parameter 'body' is set
81
+ if (body === undefined || body === null) {
82
+ throw new _Error["default"]("Missing the required parameter 'body' when calling bulkProvision");
83
+ }
84
+ var pathParams = {
85
+ 'projectUID': projectUID
86
+ };
87
+ var queryParams = {};
88
+ var headerParams = {};
89
+ var formParams = {};
90
+ var authNames = [];
91
+ var contentTypes = ['text/csv'];
92
+ var accepts = [];
93
+ var returnType = null;
94
+ return this.apiClient.callApi('/v1/project/{projectUID}/bulk-provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
95
+ }
96
+
97
+ /**
98
+ * Bulk provision devices via CSV upload
99
+ * @param {String} projectUID
100
+ * @param {String} body
101
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}
102
+ */
103
+ }, {
104
+ key: "bulkProvision",
105
+ value: function bulkProvision(projectUID, body) {
106
+ return this.bulkProvisionWithHttpInfo(projectUID, body).then(function (response_and_data) {
107
+ return response_and_data.data;
108
+ });
109
+ }
110
+
111
+ /**
112
+ * Clone a Project
113
+ * @param {String} projectUID The project UID to be cloned.
114
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
115
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
116
+ */
117
+ }, {
73
118
  key: "cloneProjectWithHttpInfo",
74
119
  value: function cloneProjectWithHttpInfo(projectUID, cloneProjectRequest) {
75
120
  var postBody = cloneProjectRequest;
@@ -82,16 +127,16 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
82
127
  throw new _Error["default"]("Missing the required parameter 'cloneProjectRequest' when calling cloneProject");
83
128
  }
84
129
  var pathParams = {
85
- projectUID: projectUID
130
+ 'projectUID': projectUID
86
131
  };
87
132
  var queryParams = {};
88
133
  var headerParams = {};
89
134
  var formParams = {};
90
- var authNames = ["api_key"];
91
- var contentTypes = ["application/json"];
92
- var accepts = ["application/json"];
135
+ var authNames = ['api_key'];
136
+ var contentTypes = ['application/json'];
137
+ var accepts = ['application/json'];
93
138
  var returnType = _Project["default"];
94
- return this.apiClient.callApi("/v1/projects/{projectUID}/clone", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
139
+ return this.apiClient.callApi('/v1/projects/{projectUID}/clone', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
95
140
  }
96
141
 
97
142
  /**
@@ -110,7 +155,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
110
155
 
111
156
  /**
112
157
  * Create Fleet
113
- * @param {String} projectUID
158
+ * @param {String} projectUID
114
159
  * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
115
160
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
116
161
  */
@@ -127,21 +172,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
127
172
  throw new _Error["default"]("Missing the required parameter 'createFleetRequest' when calling createFleet");
128
173
  }
129
174
  var pathParams = {
130
- projectUID: projectUID
175
+ 'projectUID': projectUID
131
176
  };
132
177
  var queryParams = {};
133
178
  var headerParams = {};
134
179
  var formParams = {};
135
- var authNames = ["api_key"];
136
- var contentTypes = ["application/json"];
137
- var accepts = ["application/json"];
180
+ var authNames = ['api_key'];
181
+ var contentTypes = ['application/json'];
182
+ var accepts = ['application/json'];
138
183
  var returnType = _Fleet["default"];
139
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
184
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
140
185
  }
141
186
 
142
187
  /**
143
188
  * Create Fleet
144
- * @param {String} projectUID
189
+ * @param {String} projectUID
145
190
  * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
146
191
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
147
192
  */
@@ -155,7 +200,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
155
200
 
156
201
  /**
157
202
  * Create Product within a Project
158
- * @param {String} projectUID
203
+ * @param {String} projectUID
159
204
  * @param {module:model/CreateProductRequest} createProductRequest Product to be created
160
205
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
161
206
  */
@@ -172,21 +217,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
172
217
  throw new _Error["default"]("Missing the required parameter 'createProductRequest' when calling createProduct");
173
218
  }
174
219
  var pathParams = {
175
- projectUID: projectUID
220
+ 'projectUID': projectUID
176
221
  };
177
222
  var queryParams = {};
178
223
  var headerParams = {};
179
224
  var formParams = {};
180
- var authNames = ["api_key"];
181
- var contentTypes = ["application/json"];
182
- var accepts = ["application/json"];
225
+ var authNames = ['api_key'];
226
+ var contentTypes = ['application/json'];
227
+ var accepts = ['application/json'];
183
228
  var returnType = _Product["default"];
184
- return this.apiClient.callApi("/v1/projects/{projectUID}/products", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
229
+ return this.apiClient.callApi('/v1/projects/{projectUID}/products', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
185
230
  }
186
231
 
187
232
  /**
188
233
  * Create Product within a Project
189
- * @param {String} projectUID
234
+ * @param {String} projectUID
190
235
  * @param {module:model/CreateProductRequest} createProductRequest Product to be created
191
236
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
192
237
  */
@@ -215,11 +260,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
215
260
  var queryParams = {};
216
261
  var headerParams = {};
217
262
  var formParams = {};
218
- var authNames = ["api_key"];
219
- var contentTypes = ["application/json"];
220
- var accepts = ["application/json"];
263
+ var authNames = ['api_key'];
264
+ var contentTypes = ['application/json'];
265
+ var accepts = ['application/json'];
221
266
  var returnType = _Project["default"];
222
- return this.apiClient.callApi("/v1/projects", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
267
+ return this.apiClient.callApi('/v1/projects', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
223
268
  }
224
269
 
225
270
  /**
@@ -237,9 +282,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
237
282
 
238
283
  /**
239
284
  * 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.
285
+ * @param {String} projectUID
286
+ * @param {String} deviceUID
287
+ * @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
288
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
244
289
  */
245
290
  }, {
@@ -259,24 +304,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
259
304
  throw new _Error["default"]("Missing the required parameter 'deleteDeviceFleetsRequest' when calling deleteDeviceFleets");
260
305
  }
261
306
  var pathParams = {
262
- projectUID: projectUID,
263
- deviceUID: deviceUID
307
+ 'projectUID': projectUID,
308
+ 'deviceUID': deviceUID
264
309
  };
265
310
  var queryParams = {};
266
311
  var headerParams = {};
267
312
  var formParams = {};
268
- var authNames = ["api_key"];
269
- var contentTypes = ["application/json"];
270
- var accepts = ["application/json"];
313
+ var authNames = ['api_key'];
314
+ var contentTypes = ['application/json'];
315
+ var accepts = ['application/json'];
271
316
  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);
317
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
273
318
  }
274
319
 
275
320
  /**
276
321
  * 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.
322
+ * @param {String} projectUID
323
+ * @param {String} deviceUID
324
+ * @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
325
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
281
326
  */
282
327
  }, {
@@ -289,8 +334,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
289
334
 
290
335
  /**
291
336
  * Delete Fleet
292
- * @param {String} projectUID
293
- * @param {String} fleetUID
337
+ * @param {String} projectUID
338
+ * @param {String} fleetUID
294
339
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
295
340
  */
296
341
  }, {
@@ -306,23 +351,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
306
351
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling deleteFleet");
307
352
  }
308
353
  var pathParams = {
309
- projectUID: projectUID,
310
- fleetUID: fleetUID
354
+ 'projectUID': projectUID,
355
+ 'fleetUID': fleetUID
311
356
  };
312
357
  var queryParams = {};
313
358
  var headerParams = {};
314
359
  var formParams = {};
315
- var authNames = ["api_key"];
360
+ var authNames = ['api_key'];
316
361
  var contentTypes = [];
317
- var accepts = ["application/json"];
362
+ var accepts = ['application/json'];
318
363
  var returnType = null;
319
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
364
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
320
365
  }
321
366
 
322
367
  /**
323
368
  * Delete Fleet
324
- * @param {String} projectUID
325
- * @param {String} fleetUID
369
+ * @param {String} projectUID
370
+ * @param {String} fleetUID
326
371
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
327
372
  */
328
373
  }, {
@@ -335,8 +380,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
335
380
 
336
381
  /**
337
382
  * Delete environment variables of a fleet
338
- * @param {String} projectUID
339
- * @param {String} fleetUID
383
+ * @param {String} projectUID
384
+ * @param {String} fleetUID
340
385
  * @param {String} key The environment variable key to delete.
341
386
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
342
387
  */
@@ -357,24 +402,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
357
402
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteFleetEnvironmentVariable");
358
403
  }
359
404
  var pathParams = {
360
- projectUID: projectUID,
361
- fleetUID: fleetUID,
362
- key: key
405
+ 'projectUID': projectUID,
406
+ 'fleetUID': fleetUID,
407
+ 'key': key
363
408
  };
364
409
  var queryParams = {};
365
410
  var headerParams = {};
366
411
  var formParams = {};
367
- var authNames = ["api_key"];
412
+ var authNames = ['api_key'];
368
413
  var contentTypes = [];
369
- var accepts = ["application/json"];
414
+ var accepts = ['application/json'];
370
415
  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);
416
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
372
417
  }
373
418
 
374
419
  /**
375
420
  * Delete environment variables of a fleet
376
- * @param {String} projectUID
377
- * @param {String} fleetUID
421
+ * @param {String} projectUID
422
+ * @param {String} fleetUID
378
423
  * @param {String} key The environment variable key to delete.
379
424
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
380
425
  */
@@ -388,7 +433,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
388
433
 
389
434
  /**
390
435
  * Delete a Project by ProjectUID
391
- * @param {String} projectUID
436
+ * @param {String} projectUID
392
437
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
393
438
  */
394
439
  }, {
@@ -400,21 +445,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
400
445
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling deleteProject");
401
446
  }
402
447
  var pathParams = {
403
- projectUID: projectUID
448
+ 'projectUID': projectUID
404
449
  };
405
450
  var queryParams = {};
406
451
  var headerParams = {};
407
452
  var formParams = {};
408
- var authNames = ["api_key"];
453
+ var authNames = ['api_key'];
409
454
  var contentTypes = [];
410
- var accepts = ["application/json"];
455
+ var accepts = ['application/json'];
411
456
  var returnType = null;
412
- return this.apiClient.callApi("/v1/projects/{projectUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
457
+ return this.apiClient.callApi('/v1/projects/{projectUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
413
458
  }
414
459
 
415
460
  /**
416
461
  * Delete a Project by ProjectUID
417
- * @param {String} projectUID
462
+ * @param {String} projectUID
418
463
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
419
464
  */
420
465
  }, {
@@ -427,7 +472,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
427
472
 
428
473
  /**
429
474
  * Delete an environment variable of a project by key
430
- * @param {String} projectUID
475
+ * @param {String} projectUID
431
476
  * @param {String} key The environment variable key to delete.
432
477
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
433
478
  */
@@ -444,22 +489,22 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
444
489
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteProjectEnvironmentVariable");
445
490
  }
446
491
  var pathParams = {
447
- projectUID: projectUID,
448
- key: key
492
+ 'projectUID': projectUID,
493
+ 'key': key
449
494
  };
450
495
  var queryParams = {};
451
496
  var headerParams = {};
452
497
  var formParams = {};
453
- var authNames = ["api_key"];
498
+ var authNames = ['api_key'];
454
499
  var contentTypes = [];
455
- var accepts = ["application/json"];
500
+ var accepts = ['application/json'];
456
501
  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);
502
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
458
503
  }
459
504
 
460
505
  /**
461
506
  * Delete an environment variable of a project by key
462
- * @param {String} projectUID
507
+ * @param {String} projectUID
463
508
  * @param {String} key The environment variable key to delete.
464
509
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
465
510
  */
@@ -473,18 +518,18 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
473
518
 
474
519
  /**
475
520
  * Update/cancel host or notecard firmware updates
476
- * @param {String} projectUID
477
- * @param {module:model/String} firmwareType
478
- * @param {module:model/String} action
521
+ * @param {String} projectUID
522
+ * @param {module:model/String} firmwareType
523
+ * @param {module:model/String} action
479
524
  * @param {Object} opts Optional parameters
480
525
  * @param {Array.<String>} opts.deviceUID A Device UID.
481
526
  * @param {Array.<String>} opts.tag Tag filter
482
527
  * @param {Array.<String>} opts.serialNumber Serial number filter
483
- * @param {String} opts.fleetUID
528
+ * @param {String} opts.fleetUID
484
529
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
485
530
  * @param {Array.<String>} opts.location Location filter
486
531
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
487
- * @param {Array.<String>} opts.productUID
532
+ * @param {Array.<String>} opts.productUID
488
533
  * @param {Array.<String>} opts.sku SKU filter
489
534
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
490
535
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -493,7 +538,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
493
538
  key: "dfuActionWithHttpInfo",
494
539
  value: function dfuActionWithHttpInfo(projectUID, firmwareType, action, opts) {
495
540
  opts = opts || {};
496
- var postBody = opts["dfuActionRequest"];
541
+ var postBody = opts['dfuActionRequest'];
497
542
  // verify the required parameter 'projectUID' is set
498
543
  if (projectUID === undefined || projectUID === null) {
499
544
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling dfuAction");
@@ -507,44 +552,44 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
507
552
  throw new _Error["default"]("Missing the required parameter 'action' when calling dfuAction");
508
553
  }
509
554
  var pathParams = {
510
- projectUID: projectUID,
511
- firmwareType: firmwareType,
512
- action: action
555
+ 'projectUID': projectUID,
556
+ 'firmwareType': firmwareType,
557
+ 'action': action
513
558
  };
514
559
  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")
560
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
561
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
562
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
563
+ 'fleetUID': opts['fleetUID'],
564
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
565
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
566
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
567
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
568
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
524
569
  };
525
570
  var headerParams = {};
526
571
  var formParams = {};
527
- var authNames = ["api_key"];
528
- var contentTypes = ["application/json"];
529
- var accepts = ["application/json"];
572
+ var authNames = ['api_key'];
573
+ var contentTypes = ['application/json'];
574
+ var accepts = ['application/json'];
530
575
  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);
576
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/{action}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
532
577
  }
533
578
 
534
579
  /**
535
580
  * Update/cancel host or notecard firmware updates
536
- * @param {String} projectUID
537
- * @param {module:model/String} firmwareType
538
- * @param {module:model/String} action
581
+ * @param {String} projectUID
582
+ * @param {module:model/String} firmwareType
583
+ * @param {module:model/String} action
539
584
  * @param {Object} opts Optional parameters
540
585
  * @param {Array.<String>} opts.deviceUID A Device UID.
541
586
  * @param {Array.<String>} opts.tag Tag filter
542
587
  * @param {Array.<String>} opts.serialNumber Serial number filter
543
- * @param {String} opts.fleetUID
588
+ * @param {String} opts.fleetUID
544
589
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
545
590
  * @param {Array.<String>} opts.location Location filter
546
591
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
547
- * @param {Array.<String>} opts.productUID
592
+ * @param {Array.<String>} opts.productUID
548
593
  * @param {Array.<String>} opts.sku SKU filter
549
594
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
550
595
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -559,7 +604,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
559
604
 
560
605
  /**
561
606
  * Disable the project-level event JSONata transformation
562
- * @param {String} projectUID
607
+ * @param {String} projectUID
563
608
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
564
609
  */
565
610
  }, {
@@ -571,21 +616,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
571
616
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableGlobalTransformation");
572
617
  }
573
618
  var pathParams = {
574
- projectUID: projectUID
619
+ 'projectUID': projectUID
575
620
  };
576
621
  var queryParams = {};
577
622
  var headerParams = {};
578
623
  var formParams = {};
579
- var authNames = ["api_key"];
624
+ var authNames = ['api_key'];
580
625
  var contentTypes = [];
581
- var accepts = ["application/json"];
626
+ var accepts = ['application/json'];
582
627
  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);
628
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
584
629
  }
585
630
 
586
631
  /**
587
632
  * Disable the project-level event JSONata transformation
588
- * @param {String} projectUID
633
+ * @param {String} projectUID
589
634
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
590
635
  */
591
636
  }, {
@@ -598,7 +643,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
598
643
 
599
644
  /**
600
645
  * Enable the project-level event JSONata transformation
601
- * @param {String} projectUID
646
+ * @param {String} projectUID
602
647
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
603
648
  */
604
649
  }, {
@@ -610,21 +655,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
610
655
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableGlobalTransformation");
611
656
  }
612
657
  var pathParams = {
613
- projectUID: projectUID
658
+ 'projectUID': projectUID
614
659
  };
615
660
  var queryParams = {};
616
661
  var headerParams = {};
617
662
  var formParams = {};
618
- var authNames = ["api_key"];
663
+ var authNames = ['api_key'];
619
664
  var contentTypes = [];
620
- var accepts = ["application/json"];
665
+ var accepts = ['application/json'];
621
666
  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);
667
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
623
668
  }
624
669
 
625
670
  /**
626
671
  * Enable the project-level event JSONata transformation
627
- * @param {String} projectUID
672
+ * @param {String} projectUID
628
673
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
629
674
  */
630
675
  }, {
@@ -637,9 +682,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
637
682
 
638
683
  /**
639
684
  * Get device DFU history for host or Notecard firmware
640
- * @param {String} projectUID
641
- * @param {String} deviceUID
642
- * @param {module:model/String} firmwareType
685
+ * @param {String} projectUID
686
+ * @param {String} deviceUID
687
+ * @param {module:model/String} firmwareType
643
688
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
644
689
  */
645
690
  }, {
@@ -659,25 +704,25 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
659
704
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDeviceDfuHistory");
660
705
  }
661
706
  var pathParams = {
662
- projectUID: projectUID,
663
- deviceUID: deviceUID,
664
- firmwareType: firmwareType
707
+ 'projectUID': projectUID,
708
+ 'deviceUID': deviceUID,
709
+ 'firmwareType': firmwareType
665
710
  };
666
711
  var queryParams = {};
667
712
  var headerParams = {};
668
713
  var formParams = {};
669
- var authNames = ["api_key"];
714
+ var authNames = ['api_key'];
670
715
  var contentTypes = [];
671
- var accepts = ["application/json"];
716
+ var accepts = ['application/json'];
672
717
  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);
718
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
674
719
  }
675
720
 
676
721
  /**
677
722
  * Get device DFU history for host or Notecard firmware
678
- * @param {String} projectUID
679
- * @param {String} deviceUID
680
- * @param {module:model/String} firmwareType
723
+ * @param {String} projectUID
724
+ * @param {String} deviceUID
725
+ * @param {module:model/String} firmwareType
681
726
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
682
727
  */
683
728
  }, {
@@ -690,9 +735,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
690
735
 
691
736
  /**
692
737
  * Get device DFU history for host or Notecard firmware
693
- * @param {String} projectUID
694
- * @param {String} deviceUID
695
- * @param {module:model/String} firmwareType
738
+ * @param {String} projectUID
739
+ * @param {String} deviceUID
740
+ * @param {module:model/String} firmwareType
696
741
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
697
742
  */
698
743
  }, {
@@ -712,25 +757,25 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
712
757
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDeviceDfuStatus");
713
758
  }
714
759
  var pathParams = {
715
- projectUID: projectUID,
716
- deviceUID: deviceUID,
717
- firmwareType: firmwareType
760
+ 'projectUID': projectUID,
761
+ 'deviceUID': deviceUID,
762
+ 'firmwareType': firmwareType
718
763
  };
719
764
  var queryParams = {};
720
765
  var headerParams = {};
721
766
  var formParams = {};
722
- var authNames = ["api_key"];
767
+ var authNames = ['api_key'];
723
768
  var contentTypes = [];
724
- var accepts = ["application/json"];
769
+ var accepts = ['application/json'];
725
770
  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);
771
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/dfu/{firmwareType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
727
772
  }
728
773
 
729
774
  /**
730
775
  * Get device DFU history for host or Notecard firmware
731
- * @param {String} projectUID
732
- * @param {String} deviceUID
733
- * @param {module:model/String} firmwareType
776
+ * @param {String} projectUID
777
+ * @param {String} deviceUID
778
+ * @param {module:model/String} firmwareType
734
779
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
735
780
  */
736
781
  }, {
@@ -743,8 +788,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
743
788
 
744
789
  /**
745
790
  * Get Device Fleets
746
- * @param {String} projectUID
747
- * @param {String} deviceUID
791
+ * @param {String} projectUID
792
+ * @param {String} deviceUID
748
793
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
749
794
  */
750
795
  }, {
@@ -760,23 +805,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
760
805
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceFleets");
761
806
  }
762
807
  var pathParams = {
763
- projectUID: projectUID,
764
- deviceUID: deviceUID
808
+ 'projectUID': projectUID,
809
+ 'deviceUID': deviceUID
765
810
  };
766
811
  var queryParams = {};
767
812
  var headerParams = {};
768
813
  var formParams = {};
769
- var authNames = ["api_key"];
814
+ var authNames = ['api_key'];
770
815
  var contentTypes = [];
771
- var accepts = ["application/json"];
816
+ var accepts = ['application/json'];
772
817
  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);
818
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
774
819
  }
775
820
 
776
821
  /**
777
822
  * Get Device Fleets
778
- * @param {String} projectUID
779
- * @param {String} deviceUID
823
+ * @param {String} projectUID
824
+ * @param {String} deviceUID
780
825
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
781
826
  */
782
827
  }, {
@@ -789,8 +834,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
789
834
 
790
835
  /**
791
836
  * Get host or Notecard DFU history for all devices that match the filter criteria
792
- * @param {String} projectUID
793
- * @param {module:model/String} firmwareType
837
+ * @param {String} projectUID
838
+ * @param {module:model/String} firmwareType
794
839
  * @param {Object} opts Optional parameters
795
840
  * @param {Number} opts.pageSize (default to 50)
796
841
  * @param {Number} opts.pageNum (default to 1)
@@ -799,11 +844,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
799
844
  * @param {Array.<String>} opts.deviceUID A Device UID.
800
845
  * @param {Array.<String>} opts.tag Tag filter
801
846
  * @param {Array.<String>} opts.serialNumber Serial number filter
802
- * @param {String} opts.fleetUID
847
+ * @param {String} opts.fleetUID
803
848
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
804
849
  * @param {Array.<String>} opts.location Location filter
805
850
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
806
- * @param {Array.<String>} opts.productUID
851
+ * @param {Array.<String>} opts.productUID
807
852
  * @param {Array.<String>} opts.sku SKU filter
808
853
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistoryPage} and HTTP response
809
854
  */
@@ -821,37 +866,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
821
866
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDevicesDfuHistory");
822
867
  }
823
868
  var pathParams = {
824
- projectUID: projectUID,
825
- firmwareType: firmwareType
869
+ 'projectUID': projectUID,
870
+ 'firmwareType': firmwareType
826
871
  };
827
872
  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")
873
+ 'pageSize': opts['pageSize'],
874
+ 'pageNum': opts['pageNum'],
875
+ 'sortBy': opts['sortBy'],
876
+ 'sortOrder': opts['sortOrder'],
877
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
878
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
879
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
880
+ 'fleetUID': opts['fleetUID'],
881
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
882
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
883
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
884
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
885
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
841
886
  };
842
887
  var headerParams = {};
843
888
  var formParams = {};
844
- var authNames = ["api_key"];
889
+ var authNames = ['api_key'];
845
890
  var contentTypes = [];
846
- var accepts = ["application/json"];
891
+ var accepts = ['application/json'];
847
892
  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);
893
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/history', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
849
894
  }
850
895
 
851
896
  /**
852
897
  * Get host or Notecard DFU history for all devices that match the filter criteria
853
- * @param {String} projectUID
854
- * @param {module:model/String} firmwareType
898
+ * @param {String} projectUID
899
+ * @param {module:model/String} firmwareType
855
900
  * @param {Object} opts Optional parameters
856
901
  * @param {Number} opts.pageSize (default to 50)
857
902
  * @param {Number} opts.pageNum (default to 1)
@@ -860,11 +905,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
860
905
  * @param {Array.<String>} opts.deviceUID A Device UID.
861
906
  * @param {Array.<String>} opts.tag Tag filter
862
907
  * @param {Array.<String>} opts.serialNumber Serial number filter
863
- * @param {String} opts.fleetUID
908
+ * @param {String} opts.fleetUID
864
909
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
865
910
  * @param {Array.<String>} opts.location Location filter
866
911
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
867
- * @param {Array.<String>} opts.productUID
912
+ * @param {Array.<String>} opts.productUID
868
913
  * @param {Array.<String>} opts.sku SKU filter
869
914
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistoryPage}
870
915
  */
@@ -878,8 +923,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
878
923
 
879
924
  /**
880
925
  * Get host or Notecard DFU history for all devices that match the filter criteria
881
- * @param {String} projectUID
882
- * @param {module:model/String} firmwareType
926
+ * @param {String} projectUID
927
+ * @param {module:model/String} firmwareType
883
928
  * @param {Object} opts Optional parameters
884
929
  * @param {Number} opts.pageSize (default to 50)
885
930
  * @param {Number} opts.pageNum (default to 1)
@@ -888,11 +933,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
888
933
  * @param {Array.<String>} opts.deviceUID A Device UID.
889
934
  * @param {Array.<String>} opts.tag Tag filter
890
935
  * @param {Array.<String>} opts.serialNumber Serial number filter
891
- * @param {String} opts.fleetUID
936
+ * @param {String} opts.fleetUID
892
937
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
893
938
  * @param {Array.<String>} opts.location Location filter
894
939
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
895
- * @param {Array.<String>} opts.productUID
940
+ * @param {Array.<String>} opts.productUID
896
941
  * @param {Array.<String>} opts.sku SKU filter
897
942
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatusPage} and HTTP response
898
943
  */
@@ -910,37 +955,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
910
955
  throw new _Error["default"]("Missing the required parameter 'firmwareType' when calling getDevicesDfuStatus");
911
956
  }
912
957
  var pathParams = {
913
- projectUID: projectUID,
914
- firmwareType: firmwareType
958
+ 'projectUID': projectUID,
959
+ 'firmwareType': firmwareType
915
960
  };
916
961
  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")
962
+ 'pageSize': opts['pageSize'],
963
+ 'pageNum': opts['pageNum'],
964
+ 'sortBy': opts['sortBy'],
965
+ 'sortOrder': opts['sortOrder'],
966
+ 'deviceUID': this.apiClient.buildCollectionParam(opts['deviceUID'], 'multi'),
967
+ 'tag': this.apiClient.buildCollectionParam(opts['tag'], 'multi'),
968
+ 'serialNumber': this.apiClient.buildCollectionParam(opts['serialNumber'], 'multi'),
969
+ 'fleetUID': opts['fleetUID'],
970
+ 'notecardFirmware': this.apiClient.buildCollectionParam(opts['notecardFirmware'], 'multi'),
971
+ 'location': this.apiClient.buildCollectionParam(opts['location'], 'multi'),
972
+ 'hostFirmware': this.apiClient.buildCollectionParam(opts['hostFirmware'], 'multi'),
973
+ 'productUID': this.apiClient.buildCollectionParam(opts['productUID'], 'multi'),
974
+ 'sku': this.apiClient.buildCollectionParam(opts['sku'], 'multi')
930
975
  };
931
976
  var headerParams = {};
932
977
  var formParams = {};
933
- var authNames = ["api_key"];
978
+ var authNames = ['api_key'];
934
979
  var contentTypes = [];
935
- var accepts = ["application/json"];
980
+ var accepts = ['application/json'];
936
981
  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);
982
+ return this.apiClient.callApi('/v1/projects/{projectUID}/dfu/{firmwareType}/status', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
938
983
  }
939
984
 
940
985
  /**
941
986
  * Get host or Notecard DFU history for all devices that match the filter criteria
942
- * @param {String} projectUID
943
- * @param {module:model/String} firmwareType
987
+ * @param {String} projectUID
988
+ * @param {module:model/String} firmwareType
944
989
  * @param {Object} opts Optional parameters
945
990
  * @param {Number} opts.pageSize (default to 50)
946
991
  * @param {Number} opts.pageNum (default to 1)
@@ -949,11 +994,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
949
994
  * @param {Array.<String>} opts.deviceUID A Device UID.
950
995
  * @param {Array.<String>} opts.tag Tag filter
951
996
  * @param {Array.<String>} opts.serialNumber Serial number filter
952
- * @param {String} opts.fleetUID
997
+ * @param {String} opts.fleetUID
953
998
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter
954
999
  * @param {Array.<String>} opts.location Location filter
955
1000
  * @param {Array.<String>} opts.hostFirmware Host firmware filter
956
- * @param {Array.<String>} opts.productUID
1001
+ * @param {Array.<String>} opts.productUID
957
1002
  * @param {Array.<String>} opts.sku SKU filter
958
1003
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatusPage}
959
1004
  */
@@ -967,15 +1012,15 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
967
1012
 
968
1013
  /**
969
1014
  * Get Available Firmware Information
970
- * @param {String} projectUID
1015
+ * @param {String} projectUID
971
1016
  * @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
1017
+ * @param {String} opts.product
1018
+ * @param {String} opts.firmwareType
1019
+ * @param {String} opts.version
1020
+ * @param {String} opts.target
1021
+ * @param {String} opts.filename
1022
+ * @param {String} opts.md5
1023
+ * @param {Boolean} opts.unpublished
979
1024
  * @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
1025
  */
981
1026
  }, {
@@ -988,37 +1033,37 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
988
1033
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getFirmwareInfo");
989
1034
  }
990
1035
  var pathParams = {
991
- projectUID: projectUID
1036
+ 'projectUID': projectUID
992
1037
  };
993
1038
  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"]
1039
+ 'product': opts['product'],
1040
+ 'firmwareType': opts['firmwareType'],
1041
+ 'version': opts['version'],
1042
+ 'target': opts['target'],
1043
+ 'filename': opts['filename'],
1044
+ 'md5': opts['md5'],
1045
+ 'unpublished': opts['unpublished']
1001
1046
  };
1002
1047
  var headerParams = {};
1003
1048
  var formParams = {};
1004
- var authNames = ["api_key"];
1049
+ var authNames = ['api_key'];
1005
1050
  var contentTypes = [];
1006
- var accepts = ["application/json"];
1051
+ var accepts = ['application/json'];
1007
1052
  var returnType = [_FirmwareInfo["default"]];
1008
- return this.apiClient.callApi("/v1/projects/{projectUID}/firmware", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1053
+ return this.apiClient.callApi('/v1/projects/{projectUID}/firmware', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1009
1054
  }
1010
1055
 
1011
1056
  /**
1012
1057
  * Get Available Firmware Information
1013
- * @param {String} projectUID
1058
+ * @param {String} projectUID
1014
1059
  * @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
1060
+ * @param {String} opts.product
1061
+ * @param {String} opts.firmwareType
1062
+ * @param {String} opts.version
1063
+ * @param {String} opts.target
1064
+ * @param {String} opts.filename
1065
+ * @param {String} opts.md5
1066
+ * @param {Boolean} opts.unpublished
1022
1067
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
1023
1068
  */
1024
1069
  }, {
@@ -1031,8 +1076,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1031
1076
 
1032
1077
  /**
1033
1078
  * Get Fleet
1034
- * @param {String} projectUID
1035
- * @param {String} fleetUID
1079
+ * @param {String} projectUID
1080
+ * @param {String} fleetUID
1036
1081
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
1037
1082
  */
1038
1083
  }, {
@@ -1048,23 +1093,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1048
1093
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleet");
1049
1094
  }
1050
1095
  var pathParams = {
1051
- projectUID: projectUID,
1052
- fleetUID: fleetUID
1096
+ 'projectUID': projectUID,
1097
+ 'fleetUID': fleetUID
1053
1098
  };
1054
1099
  var queryParams = {};
1055
1100
  var headerParams = {};
1056
1101
  var formParams = {};
1057
- var authNames = ["api_key"];
1102
+ var authNames = ['api_key'];
1058
1103
  var contentTypes = [];
1059
- var accepts = ["application/json"];
1104
+ var accepts = ['application/json'];
1060
1105
  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);
1106
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1062
1107
  }
1063
1108
 
1064
1109
  /**
1065
1110
  * Get Fleet
1066
- * @param {String} projectUID
1067
- * @param {String} fleetUID
1111
+ * @param {String} projectUID
1112
+ * @param {String} fleetUID
1068
1113
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
1069
1114
  */
1070
1115
  }, {
@@ -1077,8 +1122,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1077
1122
 
1078
1123
  /**
1079
1124
  * Get environment variables of a fleet
1080
- * @param {String} projectUID
1081
- * @param {String} fleetUID
1125
+ * @param {String} projectUID
1126
+ * @param {String} fleetUID
1082
1127
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1083
1128
  */
1084
1129
  }, {
@@ -1094,23 +1139,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1094
1139
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getFleetEnvironmentVariables");
1095
1140
  }
1096
1141
  var pathParams = {
1097
- projectUID: projectUID,
1098
- fleetUID: fleetUID
1142
+ 'projectUID': projectUID,
1143
+ 'fleetUID': fleetUID
1099
1144
  };
1100
1145
  var queryParams = {};
1101
1146
  var headerParams = {};
1102
1147
  var formParams = {};
1103
- var authNames = ["api_key"];
1148
+ var authNames = ['api_key'];
1104
1149
  var contentTypes = [];
1105
- var accepts = ["application/json"];
1150
+ var accepts = ['application/json'];
1106
1151
  var returnType = _EnvironmentVariables["default"];
1107
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1152
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1108
1153
  }
1109
1154
 
1110
1155
  /**
1111
1156
  * Get environment variables of a fleet
1112
- * @param {String} projectUID
1113
- * @param {String} fleetUID
1157
+ * @param {String} projectUID
1158
+ * @param {String} fleetUID
1114
1159
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1115
1160
  */
1116
1161
  }, {
@@ -1123,7 +1168,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1123
1168
 
1124
1169
  /**
1125
1170
  * Get a Project by ProjectUID
1126
- * @param {String} projectUID
1171
+ * @param {String} projectUID
1127
1172
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1128
1173
  */
1129
1174
  }, {
@@ -1135,21 +1180,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1135
1180
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProject");
1136
1181
  }
1137
1182
  var pathParams = {
1138
- projectUID: projectUID
1183
+ 'projectUID': projectUID
1139
1184
  };
1140
1185
  var queryParams = {};
1141
1186
  var headerParams = {};
1142
1187
  var formParams = {};
1143
- var authNames = ["api_key"];
1188
+ var authNames = ['api_key'];
1144
1189
  var contentTypes = [];
1145
- var accepts = ["application/json"];
1190
+ var accepts = ['application/json'];
1146
1191
  var returnType = _Project["default"];
1147
- return this.apiClient.callApi("/v1/projects/{projectUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1192
+ return this.apiClient.callApi('/v1/projects/{projectUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1148
1193
  }
1149
1194
 
1150
1195
  /**
1151
1196
  * Get a Project by ProjectUID
1152
- * @param {String} projectUID
1197
+ * @param {String} projectUID
1153
1198
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1154
1199
  */
1155
1200
  }, {
@@ -1162,7 +1207,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1162
1207
 
1163
1208
  /**
1164
1209
  * Get a Project by ProductUID
1165
- * @param {String} productUID
1210
+ * @param {String} productUID
1166
1211
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1167
1212
  */
1168
1213
  }, {
@@ -1174,21 +1219,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1174
1219
  throw new _Error["default"]("Missing the required parameter 'productUID' when calling getProjectByProduct");
1175
1220
  }
1176
1221
  var pathParams = {
1177
- productUID: productUID
1222
+ 'productUID': productUID
1178
1223
  };
1179
1224
  var queryParams = {};
1180
1225
  var headerParams = {};
1181
1226
  var formParams = {};
1182
- var authNames = ["api_key"];
1227
+ var authNames = ['api_key'];
1183
1228
  var contentTypes = [];
1184
- var accepts = ["application/json"];
1229
+ var accepts = ['application/json'];
1185
1230
  var returnType = _Project["default"];
1186
- return this.apiClient.callApi("/v1/products/{productUID}/project", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1231
+ return this.apiClient.callApi('/v1/products/{productUID}/project', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1187
1232
  }
1188
1233
 
1189
1234
  /**
1190
1235
  * Get a Project by ProductUID
1191
- * @param {String} productUID
1236
+ * @param {String} productUID
1192
1237
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1193
1238
  */
1194
1239
  }, {
@@ -1201,7 +1246,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1201
1246
 
1202
1247
  /**
1203
1248
  * Get environment variables of a project
1204
- * @param {String} projectUID
1249
+ * @param {String} projectUID
1205
1250
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1206
1251
  */
1207
1252
  }, {
@@ -1213,21 +1258,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1213
1258
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectEnvironmentVariables");
1214
1259
  }
1215
1260
  var pathParams = {
1216
- projectUID: projectUID
1261
+ 'projectUID': projectUID
1217
1262
  };
1218
1263
  var queryParams = {};
1219
1264
  var headerParams = {};
1220
1265
  var formParams = {};
1221
- var authNames = ["api_key"];
1266
+ var authNames = ['api_key'];
1222
1267
  var contentTypes = [];
1223
- var accepts = ["application/json"];
1268
+ var accepts = ['application/json'];
1224
1269
  var returnType = _EnvironmentVariables["default"];
1225
- return this.apiClient.callApi("/v1/projects/{projectUID}/environment_variables", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1270
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1226
1271
  }
1227
1272
 
1228
1273
  /**
1229
1274
  * Get environment variables of a project
1230
- * @param {String} projectUID
1275
+ * @param {String} projectUID
1231
1276
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1232
1277
  */
1233
1278
  }, {
@@ -1240,7 +1285,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1240
1285
 
1241
1286
  /**
1242
1287
  * Get Project Fleets
1243
- * @param {String} projectUID
1288
+ * @param {String} projectUID
1244
1289
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
1245
1290
  */
1246
1291
  }, {
@@ -1252,21 +1297,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1252
1297
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectFleets");
1253
1298
  }
1254
1299
  var pathParams = {
1255
- projectUID: projectUID
1300
+ 'projectUID': projectUID
1256
1301
  };
1257
1302
  var queryParams = {};
1258
1303
  var headerParams = {};
1259
1304
  var formParams = {};
1260
- var authNames = ["api_key"];
1305
+ var authNames = ['api_key'];
1261
1306
  var contentTypes = [];
1262
- var accepts = ["application/json"];
1307
+ var accepts = ['application/json'];
1263
1308
  var returnType = _GetProjectFleets200Response["default"];
1264
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1309
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1265
1310
  }
1266
1311
 
1267
1312
  /**
1268
1313
  * Get Project Fleets
1269
- * @param {String} projectUID
1314
+ * @param {String} projectUID
1270
1315
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
1271
1316
  */
1272
1317
  }, {
@@ -1279,7 +1324,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1279
1324
 
1280
1325
  /**
1281
1326
  * Get Project Members
1282
- * @param {String} projectUID
1327
+ * @param {String} projectUID
1283
1328
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1284
1329
  */
1285
1330
  }, {
@@ -1291,21 +1336,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1291
1336
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectMembers");
1292
1337
  }
1293
1338
  var pathParams = {
1294
- projectUID: projectUID
1339
+ 'projectUID': projectUID
1295
1340
  };
1296
1341
  var queryParams = {};
1297
1342
  var headerParams = {};
1298
1343
  var formParams = {};
1299
- var authNames = ["api_key"];
1344
+ var authNames = ['api_key'];
1300
1345
  var contentTypes = [];
1301
- var accepts = ["application/json"];
1346
+ var accepts = ['application/json'];
1302
1347
  var returnType = _GetProjectMembers200Response["default"];
1303
- return this.apiClient.callApi("/v1/projects/{projectUID}/members", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1348
+ return this.apiClient.callApi('/v1/projects/{projectUID}/members', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1304
1349
  }
1305
1350
 
1306
1351
  /**
1307
1352
  * Get Project Members
1308
- * @param {String} projectUID
1353
+ * @param {String} projectUID
1309
1354
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1310
1355
  */
1311
1356
  }, {
@@ -1318,7 +1363,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1318
1363
 
1319
1364
  /**
1320
1365
  * Get Products within a Project
1321
- * @param {String} projectUID
1366
+ * @param {String} projectUID
1322
1367
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectProducts200Response} and HTTP response
1323
1368
  */
1324
1369
  }, {
@@ -1330,21 +1375,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1330
1375
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectProducts");
1331
1376
  }
1332
1377
  var pathParams = {
1333
- projectUID: projectUID
1378
+ 'projectUID': projectUID
1334
1379
  };
1335
1380
  var queryParams = {};
1336
1381
  var headerParams = {};
1337
1382
  var formParams = {};
1338
- var authNames = ["api_key"];
1383
+ var authNames = ['api_key'];
1339
1384
  var contentTypes = [];
1340
- var accepts = ["application/json"];
1385
+ var accepts = ['application/json'];
1341
1386
  var returnType = _GetProjectProducts200Response["default"];
1342
- return this.apiClient.callApi("/v1/projects/{projectUID}/products", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1387
+ return this.apiClient.callApi('/v1/projects/{projectUID}/products', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1343
1388
  }
1344
1389
 
1345
1390
  /**
1346
1391
  * Get Products within a Project
1347
- * @param {String} projectUID
1392
+ * @param {String} projectUID
1348
1393
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectProducts200Response}
1349
1394
  */
1350
1395
  }, {
@@ -1367,11 +1412,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1367
1412
  var queryParams = {};
1368
1413
  var headerParams = {};
1369
1414
  var formParams = {};
1370
- var authNames = ["api_key"];
1415
+ var authNames = ['api_key'];
1371
1416
  var contentTypes = [];
1372
- var accepts = ["application/json"];
1417
+ var accepts = ['application/json'];
1373
1418
  var returnType = _GetProjects200Response["default"];
1374
- return this.apiClient.callApi("/v1/projects", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1419
+ return this.apiClient.callApi('/v1/projects', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1375
1420
  }
1376
1421
 
1377
1422
  /**
@@ -1388,9 +1433,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1388
1433
 
1389
1434
  /**
1390
1435
  * Add Device to Fleets
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.
1436
+ * @param {String} projectUID
1437
+ * @param {String} deviceUID
1438
+ * @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.
1394
1439
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectFleets200Response} and HTTP response
1395
1440
  */
1396
1441
  }, {
@@ -1410,24 +1455,24 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1410
1455
  throw new _Error["default"]("Missing the required parameter 'putDeviceFleetsRequest' when calling putDeviceFleets");
1411
1456
  }
1412
1457
  var pathParams = {
1413
- projectUID: projectUID,
1414
- deviceUID: deviceUID
1458
+ 'projectUID': projectUID,
1459
+ 'deviceUID': deviceUID
1415
1460
  };
1416
1461
  var queryParams = {};
1417
1462
  var headerParams = {};
1418
1463
  var formParams = {};
1419
- var authNames = ["api_key"];
1420
- var contentTypes = ["application/json"];
1421
- var accepts = ["application/json"];
1464
+ var authNames = ['api_key'];
1465
+ var contentTypes = ['application/json'];
1466
+ var accepts = ['application/json'];
1422
1467
  var returnType = _GetProjectFleets200Response["default"];
1423
- return this.apiClient.callApi("/v1/projects/{projectUID}/devices/{deviceUID}/fleets", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1468
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/fleets', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1424
1469
  }
1425
1470
 
1426
1471
  /**
1427
1472
  * Add Device to Fleets
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.
1473
+ * @param {String} projectUID
1474
+ * @param {String} deviceUID
1475
+ * @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.
1431
1476
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectFleets200Response}
1432
1477
  */
1433
1478
  }, {
@@ -1440,8 +1485,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1440
1485
 
1441
1486
  /**
1442
1487
  * Put environment variables of a fleet
1443
- * @param {String} projectUID
1444
- * @param {String} fleetUID
1488
+ * @param {String} projectUID
1489
+ * @param {String} fleetUID
1445
1490
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1446
1491
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1447
1492
  */
@@ -1462,23 +1507,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1462
1507
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putFleetEnvironmentVariables");
1463
1508
  }
1464
1509
  var pathParams = {
1465
- projectUID: projectUID,
1466
- fleetUID: fleetUID
1510
+ 'projectUID': projectUID,
1511
+ 'fleetUID': fleetUID
1467
1512
  };
1468
1513
  var queryParams = {};
1469
1514
  var headerParams = {};
1470
1515
  var formParams = {};
1471
- var authNames = ["api_key"];
1472
- var contentTypes = ["application/json"];
1473
- var accepts = ["application/json"];
1516
+ var authNames = ['api_key'];
1517
+ var contentTypes = ['application/json'];
1518
+ var accepts = ['application/json'];
1474
1519
  var returnType = _EnvironmentVariables["default"];
1475
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1520
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1476
1521
  }
1477
1522
 
1478
1523
  /**
1479
1524
  * Put environment variables of a fleet
1480
- * @param {String} projectUID
1481
- * @param {String} fleetUID
1525
+ * @param {String} projectUID
1526
+ * @param {String} fleetUID
1482
1527
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1483
1528
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1484
1529
  */
@@ -1492,38 +1537,38 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1492
1537
 
1493
1538
  /**
1494
1539
  * Put environment variables of a project
1495
- * @param {String} projectUID
1540
+ * @param {String} projectUID
1496
1541
  * @param {Object} opts Optional parameters
1497
- * @param {module:model/EnvironmentVariables} opts.environmentVariables
1542
+ * @param {module:model/EnvironmentVariables} opts.environmentVariables
1498
1543
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1499
1544
  */
1500
1545
  }, {
1501
1546
  key: "putProjectEnvironmentVariablesWithHttpInfo",
1502
1547
  value: function putProjectEnvironmentVariablesWithHttpInfo(projectUID, opts) {
1503
1548
  opts = opts || {};
1504
- var postBody = opts["environmentVariables"];
1549
+ var postBody = opts['environmentVariables'];
1505
1550
  // verify the required parameter 'projectUID' is set
1506
1551
  if (projectUID === undefined || projectUID === null) {
1507
1552
  throw new _Error["default"]("Missing the required parameter 'projectUID' when calling putProjectEnvironmentVariables");
1508
1553
  }
1509
1554
  var pathParams = {
1510
- projectUID: projectUID
1555
+ 'projectUID': projectUID
1511
1556
  };
1512
1557
  var queryParams = {};
1513
1558
  var headerParams = {};
1514
1559
  var formParams = {};
1515
- var authNames = ["api_key"];
1516
- var contentTypes = ["application/json"];
1517
- var accepts = ["application/json"];
1560
+ var authNames = ['api_key'];
1561
+ var contentTypes = ['application/json'];
1562
+ var accepts = ['application/json'];
1518
1563
  var returnType = _EnvironmentVariables["default"];
1519
- return this.apiClient.callApi("/v1/projects/{projectUID}/environment_variables", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1564
+ return this.apiClient.callApi('/v1/projects/{projectUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1520
1565
  }
1521
1566
 
1522
1567
  /**
1523
1568
  * Put environment variables of a project
1524
- * @param {String} projectUID
1569
+ * @param {String} projectUID
1525
1570
  * @param {Object} opts Optional parameters
1526
- * @param {module:model/EnvironmentVariables} opts.environmentVariables
1571
+ * @param {module:model/EnvironmentVariables} opts.environmentVariables
1527
1572
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1528
1573
  */
1529
1574
  }, {
@@ -1536,7 +1581,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1536
1581
 
1537
1582
  /**
1538
1583
  * Set the project-level event JSONata transformation
1539
- * @param {String} projectUID
1584
+ * @param {String} projectUID
1540
1585
  * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
1541
1586
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1542
1587
  */
@@ -1553,21 +1598,21 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1553
1598
  throw new _Error["default"]("Missing the required parameter 'body' when calling setGlobalTransformation");
1554
1599
  }
1555
1600
  var pathParams = {
1556
- projectUID: projectUID
1601
+ 'projectUID': projectUID
1557
1602
  };
1558
1603
  var queryParams = {};
1559
1604
  var headerParams = {};
1560
1605
  var formParams = {};
1561
- var authNames = ["api_key"];
1562
- var contentTypes = ["application/json"];
1563
- var accepts = ["application/json"];
1606
+ var authNames = ['api_key'];
1607
+ var contentTypes = ['application/json'];
1608
+ var accepts = ['application/json'];
1564
1609
  var returnType = null;
1565
- return this.apiClient.callApi("/v1/projects/{projectUID}/global-transformation", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1610
+ return this.apiClient.callApi('/v1/projects/{projectUID}/global-transformation', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1566
1611
  }
1567
1612
 
1568
1613
  /**
1569
1614
  * Set the project-level event JSONata transformation
1570
- * @param {String} projectUID
1615
+ * @param {String} projectUID
1571
1616
  * @param {Object.<String, Object>} body JSONata expression which will be applied to each event before it is persisted and routed
1572
1617
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1573
1618
  */
@@ -1581,8 +1626,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1581
1626
 
1582
1627
  /**
1583
1628
  * Update Fleet
1584
- * @param {String} projectUID
1585
- * @param {String} fleetUID
1629
+ * @param {String} projectUID
1630
+ * @param {String} fleetUID
1586
1631
  * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
1587
1632
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
1588
1633
  */
@@ -1603,23 +1648,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1603
1648
  throw new _Error["default"]("Missing the required parameter 'updateFleetRequest' when calling updateFleet");
1604
1649
  }
1605
1650
  var pathParams = {
1606
- projectUID: projectUID,
1607
- fleetUID: fleetUID
1651
+ 'projectUID': projectUID,
1652
+ 'fleetUID': fleetUID
1608
1653
  };
1609
1654
  var queryParams = {};
1610
1655
  var headerParams = {};
1611
1656
  var formParams = {};
1612
- var authNames = ["api_key"];
1613
- var contentTypes = ["application/json"];
1614
- var accepts = ["application/json"];
1657
+ var authNames = ['api_key'];
1658
+ var contentTypes = ['application/json'];
1659
+ var accepts = ['application/json'];
1615
1660
  var returnType = _Fleet["default"];
1616
- return this.apiClient.callApi("/v1/projects/{projectUID}/fleets/{fleetUID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1661
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1617
1662
  }
1618
1663
 
1619
1664
  /**
1620
1665
  * Update Fleet
1621
- * @param {String} projectUID
1622
- * @param {String} fleetUID
1666
+ * @param {String} projectUID
1667
+ * @param {String} fleetUID
1623
1668
  * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
1624
1669
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
1625
1670
  */