@blues-inc/notehub-js 1.0.33-beta.1 → 1.0.33-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 (121) hide show
  1. package/README.md +86 -76
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +11 -11
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/BillingAccountApi.js +1 -1
  6. package/dist/api/DeviceApi.js +271 -271
  7. package/dist/api/EventApi.js +51 -51
  8. package/dist/api/ExternalDevicesApi.js +203 -0
  9. package/dist/api/MonitorApi.js +51 -51
  10. package/dist/api/ProjectApi.js +309 -309
  11. package/dist/api/RepositoryApi.js +1 -1
  12. package/dist/api/RouteApi.js +61 -61
  13. package/dist/api/WebhookApi.js +282 -0
  14. package/dist/index.js +28 -0
  15. package/dist/model/Alert.js +1 -1
  16. package/dist/model/AlertDataInner.js +1 -1
  17. package/dist/model/AlertNotificationsInner.js +1 -1
  18. package/dist/model/Aws.js +1 -1
  19. package/dist/model/Azure.js +1 -1
  20. package/dist/model/BillingAccount.js +1 -1
  21. package/dist/model/Body.js +1 -1
  22. package/dist/model/CloneProjectRequest.js +1 -1
  23. package/dist/model/Contact.js +1 -1
  24. package/dist/model/CreateFleetRequest.js +1 -1
  25. package/dist/model/CreateMonitor.js +1 -1
  26. package/dist/model/CreateProductRequest.js +1 -1
  27. package/dist/model/CreateProjectRequest.js +1 -1
  28. package/dist/model/CreateUpdateRepository.js +1 -1
  29. package/dist/model/CurrentFirmware.js +1 -1
  30. package/dist/model/DFUEnv.js +1 -1
  31. package/dist/model/DFUState.js +1 -1
  32. package/dist/model/DataField.js +1 -1
  33. package/dist/model/DataSet.js +1 -1
  34. package/dist/model/DataSetField.js +1 -1
  35. package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
  36. package/dist/model/Device.js +1 -1
  37. package/dist/model/DeviceDfuHistory.js +1 -1
  38. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  39. package/dist/model/DeviceDfuStateMachine.js +1 -1
  40. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  41. package/dist/model/DeviceDfuStatus.js +1 -1
  42. package/dist/model/DeviceDfuStatusCurrent.js +1 -1
  43. package/dist/model/DeviceDfuStatusPage.js +1 -1
  44. package/dist/model/DeviceSession.js +115 -4
  45. package/dist/model/DeviceTowerInfo.js +1 -1
  46. package/dist/model/DeviceUsage.js +7 -5
  47. package/dist/model/DfuActionRequest.js +1 -1
  48. package/dist/model/EmailNotification.js +1 -1
  49. package/dist/model/EnvironmentVariables.js +1 -1
  50. package/dist/model/Error.js +1 -1
  51. package/dist/model/Event.js +14 -1
  52. package/dist/model/Firmware.js +1 -1
  53. package/dist/model/FirmwareInfo.js +1 -1
  54. package/dist/model/Fleet.js +1 -1
  55. package/dist/model/GetAlerts200Response.js +1 -1
  56. package/dist/model/GetBillingAccounts200Response.js +1 -1
  57. package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
  58. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  59. package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
  60. package/dist/model/GetDeviceLatest200Response.js +1 -1
  61. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  62. package/dist/model/GetDeviceSessions200Response.js +1 -1
  63. package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
  64. package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  65. package/dist/model/GetProjectDevices200Response.js +1 -1
  66. package/dist/model/GetProjectEvents200Response.js +1 -1
  67. package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
  68. package/dist/model/GetProjectFleets200Response.js +1 -1
  69. package/dist/model/GetProjectMembers200Response.js +1 -1
  70. package/dist/model/GetProjectProducts200Response.js +1 -1
  71. package/dist/model/GetProjects200Response.js +1 -1
  72. package/dist/model/GetRouteLogsByRoute200ResponseInner.js +1 -1
  73. package/dist/model/GetWebhooks200Response.js +112 -0
  74. package/dist/model/Google.js +1 -1
  75. package/dist/model/HandleNoteChanges200Response.js +1 -1
  76. package/dist/model/HandleNoteGet200Response.js +1 -1
  77. package/dist/model/HandleNoteSignal200Response.js +1 -1
  78. package/dist/model/HandleNotefileChanges200Response.js +1 -1
  79. package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
  80. package/dist/model/HandleNotefileDeleteRequest.js +1 -1
  81. package/dist/model/Http.js +1 -1
  82. package/dist/model/HttpFilter.js +1 -1
  83. package/dist/model/HttpTransform.js +1 -1
  84. package/dist/model/Location.js +1 -1
  85. package/dist/model/Login200Response.js +1 -1
  86. package/dist/model/LoginRequest.js +1 -1
  87. package/dist/model/Monitor.js +1 -1
  88. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  89. package/dist/model/Mqtt.js +1 -1
  90. package/dist/model/Note.js +1 -1
  91. package/dist/model/NotefileSchema.js +1 -1
  92. package/dist/model/NotehubRoute.js +1 -1
  93. package/dist/model/NotehubRouteSchema.js +1 -1
  94. package/dist/model/PostProvisionProjectDeviceRequest.js +1 -1
  95. package/dist/model/Product.js +1 -1
  96. package/dist/model/Project.js +1 -1
  97. package/dist/model/ProjectMember.js +1 -1
  98. package/dist/model/Proxy.js +1 -1
  99. package/dist/model/PutDeviceFleetsRequest.js +1 -1
  100. package/dist/model/QuestionDataResponseLineChart.js +1 -1
  101. package/dist/model/QuestionDataResponseMap.js +1 -1
  102. package/dist/model/Radresponder.js +1 -1
  103. package/dist/model/Repository.js +1 -1
  104. package/dist/model/SchemaProperty.js +1 -1
  105. package/dist/model/SimUsage.js +1 -1
  106. package/dist/model/Slack.js +1 -1
  107. package/dist/model/SlackBearerNotification.js +1 -1
  108. package/dist/model/SlackWebHookNotification.js +1 -1
  109. package/dist/model/Snowflake.js +1 -1
  110. package/dist/model/SnowflakeTransform.js +1 -1
  111. package/dist/model/Thingworx.js +1 -1
  112. package/dist/model/TowerLocation.js +23 -11
  113. package/dist/model/Twilio.js +1 -1
  114. package/dist/model/UpdateFleetRequest.js +1 -1
  115. package/dist/model/UploadMetadata.js +1 -1
  116. package/dist/model/UserDbRoute.js +1 -1
  117. package/dist/model/UserDfuStateMachine.js +1 -1
  118. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  119. package/dist/model/UserFirmwareInfo.js +1 -1
  120. package/dist/model/WebhookSettings.js +114 -0
  121. package/package.json +1 -1
@@ -45,7 +45,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
45
45
  /**
46
46
  * Device service.
47
47
  * @module api/DeviceApi
48
- * @version 1.0.33-beta.1
48
+ * @version 1.0.33-beta.2
49
49
  */
50
50
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
51
51
  /**
@@ -62,18 +62,18 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
62
62
 
63
63
  /**
64
64
  * Delete environment variable of a device
65
- * @param {String} projectOrProductUID
65
+ * @param {String} projectUID
66
66
  * @param {String} deviceUID
67
67
  * @param {String} key The environment variable key to delete.
68
68
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
69
69
  */
70
70
  return _createClass(DeviceApi, [{
71
71
  key: "deleteDeviceEnvironmentVariableWithHttpInfo",
72
- value: function deleteDeviceEnvironmentVariableWithHttpInfo(projectOrProductUID, deviceUID, key) {
72
+ value: function deleteDeviceEnvironmentVariableWithHttpInfo(projectUID, deviceUID, key) {
73
73
  var postBody = null;
74
- // verify the required parameter 'projectOrProductUID' is set
75
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
76
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling deleteDeviceEnvironmentVariable");
74
+ // verify the required parameter 'projectUID' is set
75
+ if (projectUID === undefined || projectUID === null) {
76
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling deleteDeviceEnvironmentVariable");
77
77
  }
78
78
  // verify the required parameter 'deviceUID' is set
79
79
  if (deviceUID === undefined || deviceUID === null) {
@@ -84,7 +84,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
84
84
  throw new _Error["default"]("Missing the required parameter 'key' when calling deleteDeviceEnvironmentVariable");
85
85
  }
86
86
  var pathParams = {
87
- 'projectOrProductUID': projectOrProductUID,
87
+ 'projectUID': projectUID,
88
88
  'deviceUID': deviceUID,
89
89
  'key': key
90
90
  };
@@ -95,38 +95,38 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
95
95
  var contentTypes = [];
96
96
  var accepts = ['application/json'];
97
97
  var returnType = _EnvironmentVariables["default"];
98
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
98
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables/{key}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
99
99
  }
100
100
 
101
101
  /**
102
102
  * Delete environment variable of a device
103
- * @param {String} projectOrProductUID
103
+ * @param {String} projectUID
104
104
  * @param {String} deviceUID
105
105
  * @param {String} key The environment variable key to delete.
106
106
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
107
107
  */
108
108
  }, {
109
109
  key: "deleteDeviceEnvironmentVariable",
110
- value: function deleteDeviceEnvironmentVariable(projectOrProductUID, deviceUID, key) {
111
- return this.deleteDeviceEnvironmentVariableWithHttpInfo(projectOrProductUID, deviceUID, key).then(function (response_and_data) {
110
+ value: function deleteDeviceEnvironmentVariable(projectUID, deviceUID, key) {
111
+ return this.deleteDeviceEnvironmentVariableWithHttpInfo(projectUID, deviceUID, key).then(function (response_and_data) {
112
112
  return response_and_data.data;
113
113
  });
114
114
  }
115
115
 
116
116
  /**
117
117
  * Delete Device
118
- * @param {String} projectOrProductUID
118
+ * @param {String} projectUID
119
119
  * @param {String} deviceUID
120
120
  * @param {Boolean} purge
121
121
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
122
122
  */
123
123
  }, {
124
124
  key: "deleteProjectDeviceWithHttpInfo",
125
- value: function deleteProjectDeviceWithHttpInfo(projectOrProductUID, deviceUID, purge) {
125
+ value: function deleteProjectDeviceWithHttpInfo(projectUID, deviceUID, purge) {
126
126
  var postBody = null;
127
- // verify the required parameter 'projectOrProductUID' is set
128
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
129
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling deleteProjectDevice");
127
+ // verify the required parameter 'projectUID' is set
128
+ if (projectUID === undefined || projectUID === null) {
129
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling deleteProjectDevice");
130
130
  }
131
131
  // verify the required parameter 'deviceUID' is set
132
132
  if (deviceUID === undefined || deviceUID === null) {
@@ -137,7 +137,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
137
137
  throw new _Error["default"]("Missing the required parameter 'purge' when calling deleteProjectDevice");
138
138
  }
139
139
  var pathParams = {
140
- 'projectOrProductUID': projectOrProductUID,
140
+ 'projectUID': projectUID,
141
141
  'deviceUID': deviceUID
142
142
  };
143
143
  var queryParams = {
@@ -149,44 +149,44 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
149
149
  var contentTypes = [];
150
150
  var accepts = ['application/json'];
151
151
  var returnType = null;
152
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
152
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
153
153
  }
154
154
 
155
155
  /**
156
156
  * Delete Device
157
- * @param {String} projectOrProductUID
157
+ * @param {String} projectUID
158
158
  * @param {String} deviceUID
159
159
  * @param {Boolean} purge
160
160
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
161
161
  */
162
162
  }, {
163
163
  key: "deleteProjectDevice",
164
- value: function deleteProjectDevice(projectOrProductUID, deviceUID, purge) {
165
- return this.deleteProjectDeviceWithHttpInfo(projectOrProductUID, deviceUID, purge).then(function (response_and_data) {
164
+ value: function deleteProjectDevice(projectUID, deviceUID, purge) {
165
+ return this.deleteProjectDeviceWithHttpInfo(projectUID, deviceUID, purge).then(function (response_and_data) {
166
166
  return response_and_data.data;
167
167
  });
168
168
  }
169
169
 
170
170
  /**
171
171
  * Disable Device
172
- * @param {String} projectOrProductUID
172
+ * @param {String} projectUID
173
173
  * @param {String} deviceUID
174
174
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
175
175
  */
176
176
  }, {
177
177
  key: "disableDeviceWithHttpInfo",
178
- value: function disableDeviceWithHttpInfo(projectOrProductUID, deviceUID) {
178
+ value: function disableDeviceWithHttpInfo(projectUID, deviceUID) {
179
179
  var postBody = null;
180
- // verify the required parameter 'projectOrProductUID' is set
181
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
182
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling disableDevice");
180
+ // verify the required parameter 'projectUID' is set
181
+ if (projectUID === undefined || projectUID === null) {
182
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableDevice");
183
183
  }
184
184
  // verify the required parameter 'deviceUID' is set
185
185
  if (deviceUID === undefined || deviceUID === null) {
186
186
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDevice");
187
187
  }
188
188
  var pathParams = {
189
- 'projectOrProductUID': projectOrProductUID,
189
+ 'projectUID': projectUID,
190
190
  'deviceUID': deviceUID
191
191
  };
192
192
  var queryParams = {};
@@ -196,43 +196,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
196
196
  var contentTypes = [];
197
197
  var accepts = ['application/json'];
198
198
  var returnType = null;
199
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
199
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/disable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
200
200
  }
201
201
 
202
202
  /**
203
203
  * Disable Device
204
- * @param {String} projectOrProductUID
204
+ * @param {String} projectUID
205
205
  * @param {String} deviceUID
206
206
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
207
207
  */
208
208
  }, {
209
209
  key: "disableDevice",
210
- value: function disableDevice(projectOrProductUID, deviceUID) {
211
- return this.disableDeviceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
210
+ value: function disableDevice(projectUID, deviceUID) {
211
+ return this.disableDeviceWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
212
212
  return response_and_data.data;
213
213
  });
214
214
  }
215
215
 
216
216
  /**
217
217
  * Disable Connectivity Assurance
218
- * @param {String} projectOrProductUID
218
+ * @param {String} projectUID
219
219
  * @param {String} deviceUID
220
220
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
221
221
  */
222
222
  }, {
223
223
  key: "disableDeviceConnectivityAssuranceWithHttpInfo",
224
- value: function disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
224
+ value: function disableDeviceConnectivityAssuranceWithHttpInfo(projectUID, deviceUID) {
225
225
  var postBody = null;
226
- // verify the required parameter 'projectOrProductUID' is set
227
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
228
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling disableDeviceConnectivityAssurance");
226
+ // verify the required parameter 'projectUID' is set
227
+ if (projectUID === undefined || projectUID === null) {
228
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling disableDeviceConnectivityAssurance");
229
229
  }
230
230
  // verify the required parameter 'deviceUID' is set
231
231
  if (deviceUID === undefined || deviceUID === null) {
232
232
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling disableDeviceConnectivityAssurance");
233
233
  }
234
234
  var pathParams = {
235
- 'projectOrProductUID': projectOrProductUID,
235
+ 'projectUID': projectUID,
236
236
  'deviceUID': deviceUID
237
237
  };
238
238
  var queryParams = {};
@@ -242,43 +242,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
242
242
  var contentTypes = [];
243
243
  var accepts = ['application/json'];
244
244
  var returnType = null;
245
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
245
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/disable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
246
246
  }
247
247
 
248
248
  /**
249
249
  * Disable Connectivity Assurance
250
- * @param {String} projectOrProductUID
250
+ * @param {String} projectUID
251
251
  * @param {String} deviceUID
252
252
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
253
253
  */
254
254
  }, {
255
255
  key: "disableDeviceConnectivityAssurance",
256
- value: function disableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
257
- return this.disableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
256
+ value: function disableDeviceConnectivityAssurance(projectUID, deviceUID) {
257
+ return this.disableDeviceConnectivityAssuranceWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
258
258
  return response_and_data.data;
259
259
  });
260
260
  }
261
261
 
262
262
  /**
263
263
  * Enable Device
264
- * @param {String} projectOrProductUID
264
+ * @param {String} projectUID
265
265
  * @param {String} deviceUID
266
266
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
267
267
  */
268
268
  }, {
269
269
  key: "enableDeviceWithHttpInfo",
270
- value: function enableDeviceWithHttpInfo(projectOrProductUID, deviceUID) {
270
+ value: function enableDeviceWithHttpInfo(projectUID, deviceUID) {
271
271
  var postBody = null;
272
- // verify the required parameter 'projectOrProductUID' is set
273
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
274
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling enableDevice");
272
+ // verify the required parameter 'projectUID' is set
273
+ if (projectUID === undefined || projectUID === null) {
274
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableDevice");
275
275
  }
276
276
  // verify the required parameter 'deviceUID' is set
277
277
  if (deviceUID === undefined || deviceUID === null) {
278
278
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDevice");
279
279
  }
280
280
  var pathParams = {
281
- 'projectOrProductUID': projectOrProductUID,
281
+ 'projectUID': projectUID,
282
282
  'deviceUID': deviceUID
283
283
  };
284
284
  var queryParams = {};
@@ -288,43 +288,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
288
288
  var contentTypes = [];
289
289
  var accepts = ['application/json'];
290
290
  var returnType = null;
291
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
291
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/enable', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
292
292
  }
293
293
 
294
294
  /**
295
295
  * Enable Device
296
- * @param {String} projectOrProductUID
296
+ * @param {String} projectUID
297
297
  * @param {String} deviceUID
298
298
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
299
299
  */
300
300
  }, {
301
301
  key: "enableDevice",
302
- value: function enableDevice(projectOrProductUID, deviceUID) {
303
- return this.enableDeviceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
302
+ value: function enableDevice(projectUID, deviceUID) {
303
+ return this.enableDeviceWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
304
304
  return response_and_data.data;
305
305
  });
306
306
  }
307
307
 
308
308
  /**
309
309
  * Enable Connectivity Assurance
310
- * @param {String} projectOrProductUID
310
+ * @param {String} projectUID
311
311
  * @param {String} deviceUID
312
312
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
313
313
  */
314
314
  }, {
315
315
  key: "enableDeviceConnectivityAssuranceWithHttpInfo",
316
- value: function enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID) {
316
+ value: function enableDeviceConnectivityAssuranceWithHttpInfo(projectUID, deviceUID) {
317
317
  var postBody = null;
318
- // verify the required parameter 'projectOrProductUID' is set
319
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
320
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling enableDeviceConnectivityAssurance");
318
+ // verify the required parameter 'projectUID' is set
319
+ if (projectUID === undefined || projectUID === null) {
320
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling enableDeviceConnectivityAssurance");
321
321
  }
322
322
  // verify the required parameter 'deviceUID' is set
323
323
  if (deviceUID === undefined || deviceUID === null) {
324
324
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling enableDeviceConnectivityAssurance");
325
325
  }
326
326
  var pathParams = {
327
- 'projectOrProductUID': projectOrProductUID,
327
+ 'projectUID': projectUID,
328
328
  'deviceUID': deviceUID
329
329
  };
330
330
  var queryParams = {};
@@ -334,43 +334,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
334
334
  var contentTypes = [];
335
335
  var accepts = ['application/json'];
336
336
  var returnType = null;
337
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
337
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/enable-connectivity-assurance', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
338
338
  }
339
339
 
340
340
  /**
341
341
  * Enable Connectivity Assurance
342
- * @param {String} projectOrProductUID
342
+ * @param {String} projectUID
343
343
  * @param {String} deviceUID
344
344
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
345
345
  */
346
346
  }, {
347
347
  key: "enableDeviceConnectivityAssurance",
348
- value: function enableDeviceConnectivityAssurance(projectOrProductUID, deviceUID) {
349
- return this.enableDeviceConnectivityAssuranceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
348
+ value: function enableDeviceConnectivityAssurance(projectUID, deviceUID) {
349
+ return this.enableDeviceConnectivityAssuranceWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
350
350
  return response_and_data.data;
351
351
  });
352
352
  }
353
353
 
354
354
  /**
355
355
  * Get Device
356
- * @param {String} projectOrProductUID
356
+ * @param {String} projectUID
357
357
  * @param {String} deviceUID
358
358
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
359
359
  */
360
360
  }, {
361
361
  key: "getDeviceWithHttpInfo",
362
- value: function getDeviceWithHttpInfo(projectOrProductUID, deviceUID) {
362
+ value: function getDeviceWithHttpInfo(projectUID, deviceUID) {
363
363
  var postBody = null;
364
- // verify the required parameter 'projectOrProductUID' is set
365
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
366
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevice");
364
+ // verify the required parameter 'projectUID' is set
365
+ if (projectUID === undefined || projectUID === null) {
366
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDevice");
367
367
  }
368
368
  // verify the required parameter 'deviceUID' is set
369
369
  if (deviceUID === undefined || deviceUID === null) {
370
370
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevice");
371
371
  }
372
372
  var pathParams = {
373
- 'projectOrProductUID': projectOrProductUID,
373
+ 'projectUID': projectUID,
374
374
  'deviceUID': deviceUID
375
375
  };
376
376
  var queryParams = {};
@@ -380,43 +380,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
380
380
  var contentTypes = [];
381
381
  var accepts = ['application/json'];
382
382
  var returnType = _Device["default"];
383
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
383
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
384
384
  }
385
385
 
386
386
  /**
387
387
  * Get Device
388
- * @param {String} projectOrProductUID
388
+ * @param {String} projectUID
389
389
  * @param {String} deviceUID
390
390
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
391
391
  */
392
392
  }, {
393
393
  key: "getDevice",
394
- value: function getDevice(projectOrProductUID, deviceUID) {
395
- return this.getDeviceWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
394
+ value: function getDevice(projectUID, deviceUID) {
395
+ return this.getDeviceWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
396
396
  return response_and_data.data;
397
397
  });
398
398
  }
399
399
 
400
400
  /**
401
401
  * Get environment variables of a device
402
- * @param {String} projectOrProductUID
402
+ * @param {String} projectUID
403
403
  * @param {String} deviceUID
404
404
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceEnvironmentVariables200Response} and HTTP response
405
405
  */
406
406
  }, {
407
407
  key: "getDeviceEnvironmentVariablesWithHttpInfo",
408
- value: function getDeviceEnvironmentVariablesWithHttpInfo(projectOrProductUID, deviceUID) {
408
+ value: function getDeviceEnvironmentVariablesWithHttpInfo(projectUID, deviceUID) {
409
409
  var postBody = null;
410
- // verify the required parameter 'projectOrProductUID' is set
411
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
412
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceEnvironmentVariables");
410
+ // verify the required parameter 'projectUID' is set
411
+ if (projectUID === undefined || projectUID === null) {
412
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceEnvironmentVariables");
413
413
  }
414
414
  // verify the required parameter 'deviceUID' is set
415
415
  if (deviceUID === undefined || deviceUID === null) {
416
416
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceEnvironmentVariables");
417
417
  }
418
418
  var pathParams = {
419
- 'projectOrProductUID': projectOrProductUID,
419
+ 'projectUID': projectUID,
420
420
  'deviceUID': deviceUID
421
421
  };
422
422
  var queryParams = {};
@@ -426,19 +426,19 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
426
426
  var contentTypes = [];
427
427
  var accepts = ['application/json'];
428
428
  var returnType = _GetDeviceEnvironmentVariables200Response["default"];
429
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
429
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
430
430
  }
431
431
 
432
432
  /**
433
433
  * Get environment variables of a device
434
- * @param {String} projectOrProductUID
434
+ * @param {String} projectUID
435
435
  * @param {String} deviceUID
436
436
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceEnvironmentVariables200Response}
437
437
  */
438
438
  }, {
439
439
  key: "getDeviceEnvironmentVariables",
440
- value: function getDeviceEnvironmentVariables(projectOrProductUID, deviceUID) {
441
- return this.getDeviceEnvironmentVariablesWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
440
+ value: function getDeviceEnvironmentVariables(projectUID, deviceUID) {
441
+ return this.getDeviceEnvironmentVariablesWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
442
442
  return response_and_data.data;
443
443
  });
444
444
  }
@@ -491,24 +491,24 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
491
491
 
492
492
  /**
493
493
  * Get Device Health Log
494
- * @param {String} projectOrProductUID
494
+ * @param {String} projectUID
495
495
  * @param {String} deviceUID
496
496
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
497
497
  */
498
498
  }, {
499
499
  key: "getDeviceHealthLogWithHttpInfo",
500
- value: function getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID) {
500
+ value: function getDeviceHealthLogWithHttpInfo(projectUID, deviceUID) {
501
501
  var postBody = null;
502
- // verify the required parameter 'projectOrProductUID' is set
503
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
504
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceHealthLog");
502
+ // verify the required parameter 'projectUID' is set
503
+ if (projectUID === undefined || projectUID === null) {
504
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceHealthLog");
505
505
  }
506
506
  // verify the required parameter 'deviceUID' is set
507
507
  if (deviceUID === undefined || deviceUID === null) {
508
508
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceHealthLog");
509
509
  }
510
510
  var pathParams = {
511
- 'projectOrProductUID': projectOrProductUID,
511
+ 'projectUID': projectUID,
512
512
  'deviceUID': deviceUID
513
513
  };
514
514
  var queryParams = {};
@@ -518,43 +518,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
518
518
  var contentTypes = [];
519
519
  var accepts = ['application/json'];
520
520
  var returnType = _GetDeviceHealthLog200Response["default"];
521
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
521
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/health-log', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
522
522
  }
523
523
 
524
524
  /**
525
525
  * Get Device Health Log
526
- * @param {String} projectOrProductUID
526
+ * @param {String} projectUID
527
527
  * @param {String} deviceUID
528
528
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
529
529
  */
530
530
  }, {
531
531
  key: "getDeviceHealthLog",
532
- value: function getDeviceHealthLog(projectOrProductUID, deviceUID) {
533
- return this.getDeviceHealthLogWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
532
+ value: function getDeviceHealthLog(projectUID, deviceUID) {
533
+ return this.getDeviceHealthLogWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
534
534
  return response_and_data.data;
535
535
  });
536
536
  }
537
537
 
538
538
  /**
539
539
  * Get Device Latest Events
540
- * @param {String} projectOrProductUID
540
+ * @param {String} projectUID
541
541
  * @param {String} deviceUID
542
542
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatest200Response} and HTTP response
543
543
  */
544
544
  }, {
545
545
  key: "getDeviceLatestWithHttpInfo",
546
- value: function getDeviceLatestWithHttpInfo(projectOrProductUID, deviceUID) {
546
+ value: function getDeviceLatestWithHttpInfo(projectUID, deviceUID) {
547
547
  var postBody = null;
548
- // verify the required parameter 'projectOrProductUID' is set
549
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
550
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceLatest");
548
+ // verify the required parameter 'projectUID' is set
549
+ if (projectUID === undefined || projectUID === null) {
550
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceLatest");
551
551
  }
552
552
  // verify the required parameter 'deviceUID' is set
553
553
  if (deviceUID === undefined || deviceUID === null) {
554
554
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceLatest");
555
555
  }
556
556
  var pathParams = {
557
- 'projectOrProductUID': projectOrProductUID,
557
+ 'projectUID': projectUID,
558
558
  'deviceUID': deviceUID
559
559
  };
560
560
  var queryParams = {};
@@ -564,43 +564,43 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
564
564
  var contentTypes = [];
565
565
  var accepts = ['application/json'];
566
566
  var returnType = _GetDeviceLatest200Response["default"];
567
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
567
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/latest', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
568
568
  }
569
569
 
570
570
  /**
571
571
  * Get Device Latest Events
572
- * @param {String} projectOrProductUID
572
+ * @param {String} projectUID
573
573
  * @param {String} deviceUID
574
574
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatest200Response}
575
575
  */
576
576
  }, {
577
577
  key: "getDeviceLatest",
578
- value: function getDeviceLatest(projectOrProductUID, deviceUID) {
579
- return this.getDeviceLatestWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
578
+ value: function getDeviceLatest(projectUID, deviceUID) {
579
+ return this.getDeviceLatestWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
580
580
  return response_and_data.data;
581
581
  });
582
582
  }
583
583
 
584
584
  /**
585
585
  * Get Device Public Key
586
- * @param {String} projectOrProductUID
586
+ * @param {String} projectUID
587
587
  * @param {String} deviceUID
588
588
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
589
589
  */
590
590
  }, {
591
591
  key: "getDevicePublicKeyWithHttpInfo",
592
- value: function getDevicePublicKeyWithHttpInfo(projectOrProductUID, deviceUID) {
592
+ value: function getDevicePublicKeyWithHttpInfo(projectUID, deviceUID) {
593
593
  var postBody = null;
594
- // verify the required parameter 'projectOrProductUID' is set
595
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
596
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDevicePublicKey");
594
+ // verify the required parameter 'projectUID' is set
595
+ if (projectUID === undefined || projectUID === null) {
596
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDevicePublicKey");
597
597
  }
598
598
  // verify the required parameter 'deviceUID' is set
599
599
  if (deviceUID === undefined || deviceUID === null) {
600
600
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDevicePublicKey");
601
601
  }
602
602
  var pathParams = {
603
- 'projectOrProductUID': projectOrProductUID,
603
+ 'projectUID': projectUID,
604
604
  'deviceUID': deviceUID
605
605
  };
606
606
  var queryParams = {};
@@ -610,26 +610,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
610
610
  var contentTypes = [];
611
611
  var accepts = ['application/json'];
612
612
  var returnType = _GetDevicePublicKey200Response["default"];
613
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
613
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/public-key', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
614
614
  }
615
615
 
616
616
  /**
617
617
  * Get Device Public Key
618
- * @param {String} projectOrProductUID
618
+ * @param {String} projectUID
619
619
  * @param {String} deviceUID
620
620
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
621
621
  */
622
622
  }, {
623
623
  key: "getDevicePublicKey",
624
- value: function getDevicePublicKey(projectOrProductUID, deviceUID) {
625
- return this.getDevicePublicKeyWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
624
+ value: function getDevicePublicKey(projectUID, deviceUID) {
625
+ return this.getDevicePublicKeyWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
626
626
  return response_and_data.data;
627
627
  });
628
628
  }
629
629
 
630
630
  /**
631
631
  * Get Device Sessions
632
- * @param {String} projectOrProductUID
632
+ * @param {String} projectUID
633
633
  * @param {String} deviceUID
634
634
  * @param {Object} opts Optional parameters
635
635
  * @param {Number} opts.pageSize (default to 50)
@@ -638,19 +638,19 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
638
638
  */
639
639
  }, {
640
640
  key: "getDeviceSessionsWithHttpInfo",
641
- value: function getDeviceSessionsWithHttpInfo(projectOrProductUID, deviceUID, opts) {
641
+ value: function getDeviceSessionsWithHttpInfo(projectUID, deviceUID, opts) {
642
642
  opts = opts || {};
643
643
  var postBody = null;
644
- // verify the required parameter 'projectOrProductUID' is set
645
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
646
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getDeviceSessions");
644
+ // verify the required parameter 'projectUID' is set
645
+ if (projectUID === undefined || projectUID === null) {
646
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getDeviceSessions");
647
647
  }
648
648
  // verify the required parameter 'deviceUID' is set
649
649
  if (deviceUID === undefined || deviceUID === null) {
650
650
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling getDeviceSessions");
651
651
  }
652
652
  var pathParams = {
653
- 'projectOrProductUID': projectOrProductUID,
653
+ 'projectUID': projectUID,
654
654
  'deviceUID': deviceUID
655
655
  };
656
656
  var queryParams = {
@@ -663,12 +663,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
663
663
  var contentTypes = [];
664
664
  var accepts = ['application/json'];
665
665
  var returnType = _GetDeviceSessions200Response["default"];
666
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
666
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/sessions', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
667
667
  }
668
668
 
669
669
  /**
670
670
  * Get Device Sessions
671
- * @param {String} projectOrProductUID
671
+ * @param {String} projectUID
672
672
  * @param {String} deviceUID
673
673
  * @param {Object} opts Optional parameters
674
674
  * @param {Number} opts.pageSize (default to 50)
@@ -677,15 +677,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
677
677
  */
678
678
  }, {
679
679
  key: "getDeviceSessions",
680
- value: function getDeviceSessions(projectOrProductUID, deviceUID, opts) {
681
- return this.getDeviceSessionsWithHttpInfo(projectOrProductUID, deviceUID, opts).then(function (response_and_data) {
680
+ value: function getDeviceSessions(projectUID, deviceUID, opts) {
681
+ return this.getDeviceSessionsWithHttpInfo(projectUID, deviceUID, opts).then(function (response_and_data) {
682
682
  return response_and_data.data;
683
683
  });
684
684
  }
685
685
 
686
686
  /**
687
687
  * Get Device Public Keys of a Project
688
- * @param {String} projectOrProductUID
688
+ * @param {String} projectUID
689
689
  * @param {Object} opts Optional parameters
690
690
  * @param {Number} opts.pageSize (default to 50)
691
691
  * @param {Number} opts.pageNum (default to 1)
@@ -693,15 +693,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
693
693
  */
694
694
  }, {
695
695
  key: "getProjectDevicePublicKeysWithHttpInfo",
696
- value: function getProjectDevicePublicKeysWithHttpInfo(projectOrProductUID, opts) {
696
+ value: function getProjectDevicePublicKeysWithHttpInfo(projectUID, opts) {
697
697
  opts = opts || {};
698
698
  var postBody = null;
699
- // verify the required parameter 'projectOrProductUID' is set
700
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
701
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectDevicePublicKeys");
699
+ // verify the required parameter 'projectUID' is set
700
+ if (projectUID === undefined || projectUID === null) {
701
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectDevicePublicKeys");
702
702
  }
703
703
  var pathParams = {
704
- 'projectOrProductUID': projectOrProductUID
704
+ 'projectUID': projectUID
705
705
  };
706
706
  var queryParams = {
707
707
  'pageSize': opts['pageSize'],
@@ -713,12 +713,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
713
713
  var contentTypes = [];
714
714
  var accepts = ['application/json'];
715
715
  var returnType = _GetProjectDevicePublicKeys200Response["default"];
716
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
716
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/public-keys', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
717
717
  }
718
718
 
719
719
  /**
720
720
  * Get Device Public Keys of a Project
721
- * @param {String} projectOrProductUID
721
+ * @param {String} projectUID
722
722
  * @param {Object} opts Optional parameters
723
723
  * @param {Number} opts.pageSize (default to 50)
724
724
  * @param {Number} opts.pageNum (default to 1)
@@ -726,15 +726,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
726
726
  */
727
727
  }, {
728
728
  key: "getProjectDevicePublicKeys",
729
- value: function getProjectDevicePublicKeys(projectOrProductUID, opts) {
730
- return this.getProjectDevicePublicKeysWithHttpInfo(projectOrProductUID, opts).then(function (response_and_data) {
729
+ value: function getProjectDevicePublicKeys(projectUID, opts) {
730
+ return this.getProjectDevicePublicKeysWithHttpInfo(projectUID, opts).then(function (response_and_data) {
731
731
  return response_and_data.data;
732
732
  });
733
733
  }
734
734
 
735
735
  /**
736
736
  * Get Devices of a Project
737
- * @param {String} projectOrProductUID
737
+ * @param {String} projectUID
738
738
  * @param {Object} opts Optional parameters
739
739
  * @param {Number} opts.pageSize (default to 50)
740
740
  * @param {Number} opts.pageNum (default to 1)
@@ -751,15 +751,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
751
751
  */
752
752
  }, {
753
753
  key: "getProjectDevicesWithHttpInfo",
754
- value: function getProjectDevicesWithHttpInfo(projectOrProductUID, opts) {
754
+ value: function getProjectDevicesWithHttpInfo(projectUID, opts) {
755
755
  opts = opts || {};
756
756
  var postBody = null;
757
- // verify the required parameter 'projectOrProductUID' is set
758
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
759
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectDevices");
757
+ // verify the required parameter 'projectUID' is set
758
+ if (projectUID === undefined || projectUID === null) {
759
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectDevices");
760
760
  }
761
761
  var pathParams = {
762
- 'projectOrProductUID': projectOrProductUID
762
+ 'projectUID': projectUID
763
763
  };
764
764
  var queryParams = {
765
765
  'pageSize': opts['pageSize'],
@@ -780,12 +780,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
780
780
  var contentTypes = [];
781
781
  var accepts = ['application/json'];
782
782
  var returnType = _GetProjectDevices200Response["default"];
783
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
783
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
784
784
  }
785
785
 
786
786
  /**
787
787
  * Get Devices of a Project
788
- * @param {String} projectOrProductUID
788
+ * @param {String} projectUID
789
789
  * @param {Object} opts Optional parameters
790
790
  * @param {Number} opts.pageSize (default to 50)
791
791
  * @param {Number} opts.pageNum (default to 1)
@@ -802,15 +802,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
802
802
  */
803
803
  }, {
804
804
  key: "getProjectDevices",
805
- value: function getProjectDevices(projectOrProductUID, opts) {
806
- return this.getProjectDevicesWithHttpInfo(projectOrProductUID, opts).then(function (response_and_data) {
805
+ value: function getProjectDevices(projectUID, opts) {
806
+ return this.getProjectDevicesWithHttpInfo(projectUID, opts).then(function (response_and_data) {
807
807
  return response_and_data.data;
808
808
  });
809
809
  }
810
810
 
811
811
  /**
812
812
  * Get Devices of a Fleet within a Project
813
- * @param {String} projectOrProductUID
813
+ * @param {String} projectUID
814
814
  * @param {String} fleetUID
815
815
  * @param {Object} opts Optional parameters
816
816
  * @param {Number} opts.pageSize (default to 50)
@@ -827,19 +827,19 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
827
827
  */
828
828
  }, {
829
829
  key: "getProjectFleetDevicesWithHttpInfo",
830
- value: function getProjectFleetDevicesWithHttpInfo(projectOrProductUID, fleetUID, opts) {
830
+ value: function getProjectFleetDevicesWithHttpInfo(projectUID, fleetUID, opts) {
831
831
  opts = opts || {};
832
832
  var postBody = null;
833
- // verify the required parameter 'projectOrProductUID' is set
834
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
835
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getProjectFleetDevices");
833
+ // verify the required parameter 'projectUID' is set
834
+ if (projectUID === undefined || projectUID === null) {
835
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling getProjectFleetDevices");
836
836
  }
837
837
  // verify the required parameter 'fleetUID' is set
838
838
  if (fleetUID === undefined || fleetUID === null) {
839
839
  throw new _Error["default"]("Missing the required parameter 'fleetUID' when calling getProjectFleetDevices");
840
840
  }
841
841
  var pathParams = {
842
- 'projectOrProductUID': projectOrProductUID,
842
+ 'projectUID': projectUID,
843
843
  'fleetUID': fleetUID
844
844
  };
845
845
  var queryParams = {
@@ -860,12 +860,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
860
860
  var contentTypes = [];
861
861
  var accepts = ['application/json'];
862
862
  var returnType = _GetProjectDevices200Response["default"];
863
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
863
+ return this.apiClient.callApi('/v1/projects/{projectUID}/fleets/{fleetUID}/devices', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
864
864
  }
865
865
 
866
866
  /**
867
867
  * Get Devices of a Fleet within a Project
868
- * @param {String} projectOrProductUID
868
+ * @param {String} projectUID
869
869
  * @param {String} fleetUID
870
870
  * @param {Object} opts Optional parameters
871
871
  * @param {Number} opts.pageSize (default to 50)
@@ -882,15 +882,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
882
882
  */
883
883
  }, {
884
884
  key: "getProjectFleetDevices",
885
- value: function getProjectFleetDevices(projectOrProductUID, fleetUID, opts) {
886
- return this.getProjectFleetDevicesWithHttpInfo(projectOrProductUID, fleetUID, opts).then(function (response_and_data) {
885
+ value: function getProjectFleetDevices(projectUID, fleetUID, opts) {
886
+ return this.getProjectFleetDevicesWithHttpInfo(projectUID, fleetUID, opts).then(function (response_and_data) {
887
887
  return response_and_data.data;
888
888
  });
889
889
  }
890
890
 
891
891
  /**
892
892
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
893
- * @param {String} projectOrProductUID
893
+ * @param {String} projectUID
894
894
  * @param {String} deviceUID
895
895
  * @param {String} notefileID
896
896
  * @param {module:model/Note} note Body or payload of note to be added to the device
@@ -898,11 +898,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
898
898
  */
899
899
  }, {
900
900
  key: "handleNoteAddWithHttpInfo",
901
- value: function handleNoteAddWithHttpInfo(projectOrProductUID, deviceUID, notefileID, note) {
901
+ value: function handleNoteAddWithHttpInfo(projectUID, deviceUID, notefileID, note) {
902
902
  var postBody = note;
903
- // verify the required parameter 'projectOrProductUID' is set
904
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
905
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteAdd");
903
+ // verify the required parameter 'projectUID' is set
904
+ if (projectUID === undefined || projectUID === null) {
905
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteAdd");
906
906
  }
907
907
  // verify the required parameter 'deviceUID' is set
908
908
  if (deviceUID === undefined || deviceUID === null) {
@@ -917,7 +917,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
917
917
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteAdd");
918
918
  }
919
919
  var pathParams = {
920
- 'projectOrProductUID': projectOrProductUID,
920
+ 'projectUID': projectUID,
921
921
  'deviceUID': deviceUID,
922
922
  'notefileID': notefileID
923
923
  };
@@ -928,12 +928,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
928
928
  var contentTypes = ['application/json'];
929
929
  var accepts = ['application/json'];
930
930
  var returnType = null;
931
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
931
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
932
932
  }
933
933
 
934
934
  /**
935
935
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
936
- * @param {String} projectOrProductUID
936
+ * @param {String} projectUID
937
937
  * @param {String} deviceUID
938
938
  * @param {String} notefileID
939
939
  * @param {module:model/Note} note Body or payload of note to be added to the device
@@ -941,15 +941,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
941
941
  */
942
942
  }, {
943
943
  key: "handleNoteAdd",
944
- value: function handleNoteAdd(projectOrProductUID, deviceUID, notefileID, note) {
945
- return this.handleNoteAddWithHttpInfo(projectOrProductUID, deviceUID, notefileID, note).then(function (response_and_data) {
944
+ value: function handleNoteAdd(projectUID, deviceUID, notefileID, note) {
945
+ return this.handleNoteAddWithHttpInfo(projectUID, deviceUID, notefileID, note).then(function (response_and_data) {
946
946
  return response_and_data.data;
947
947
  });
948
948
  }
949
949
 
950
950
  /**
951
951
  * Incrementally retrieve changes within a specific Notefile.
952
- * @param {String} projectOrProductUID
952
+ * @param {String} projectUID
953
953
  * @param {String} deviceUID
954
954
  * @param {String} notefileID
955
955
  * @param {Object} opts Optional parameters
@@ -963,12 +963,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
963
963
  */
964
964
  }, {
965
965
  key: "handleNoteChangesWithHttpInfo",
966
- value: function handleNoteChangesWithHttpInfo(projectOrProductUID, deviceUID, notefileID, opts) {
966
+ value: function handleNoteChangesWithHttpInfo(projectUID, deviceUID, notefileID, opts) {
967
967
  opts = opts || {};
968
968
  var postBody = null;
969
- // verify the required parameter 'projectOrProductUID' is set
970
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
971
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteChanges");
969
+ // verify the required parameter 'projectUID' is set
970
+ if (projectUID === undefined || projectUID === null) {
971
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteChanges");
972
972
  }
973
973
  // verify the required parameter 'deviceUID' is set
974
974
  if (deviceUID === undefined || deviceUID === null) {
@@ -979,7 +979,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
979
979
  throw new _Error["default"]("Missing the required parameter 'notefileID' when calling handleNoteChanges");
980
980
  }
981
981
  var pathParams = {
982
- 'projectOrProductUID': projectOrProductUID,
982
+ 'projectUID': projectUID,
983
983
  'deviceUID': deviceUID,
984
984
  'notefileID': notefileID
985
985
  };
@@ -997,12 +997,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
997
997
  var contentTypes = [];
998
998
  var accepts = ['application/json'];
999
999
  var returnType = _HandleNoteChanges200Response["default"];
1000
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1000
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1001
1001
  }
1002
1002
 
1003
1003
  /**
1004
1004
  * Incrementally retrieve changes within a specific Notefile.
1005
- * @param {String} projectOrProductUID
1005
+ * @param {String} projectUID
1006
1006
  * @param {String} deviceUID
1007
1007
  * @param {String} notefileID
1008
1008
  * @param {Object} opts Optional parameters
@@ -1016,15 +1016,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1016
1016
  */
1017
1017
  }, {
1018
1018
  key: "handleNoteChanges",
1019
- value: function handleNoteChanges(projectOrProductUID, deviceUID, notefileID, opts) {
1020
- return this.handleNoteChangesWithHttpInfo(projectOrProductUID, deviceUID, notefileID, opts).then(function (response_and_data) {
1019
+ value: function handleNoteChanges(projectUID, deviceUID, notefileID, opts) {
1020
+ return this.handleNoteChangesWithHttpInfo(projectUID, deviceUID, notefileID, opts).then(function (response_and_data) {
1021
1021
  return response_and_data.data;
1022
1022
  });
1023
1023
  }
1024
1024
 
1025
1025
  /**
1026
1026
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1027
- * @param {String} projectOrProductUID
1027
+ * @param {String} projectUID
1028
1028
  * @param {String} deviceUID
1029
1029
  * @param {String} notefileID
1030
1030
  * @param {String} noteID
@@ -1033,11 +1033,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1033
1033
  */
1034
1034
  }, {
1035
1035
  key: "handleNoteCreateAddWithHttpInfo",
1036
- value: function handleNoteCreateAddWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, note) {
1036
+ value: function handleNoteCreateAddWithHttpInfo(projectUID, deviceUID, notefileID, noteID, note) {
1037
1037
  var postBody = note;
1038
- // verify the required parameter 'projectOrProductUID' is set
1039
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1040
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteCreateAdd");
1038
+ // verify the required parameter 'projectUID' is set
1039
+ if (projectUID === undefined || projectUID === null) {
1040
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteCreateAdd");
1041
1041
  }
1042
1042
  // verify the required parameter 'deviceUID' is set
1043
1043
  if (deviceUID === undefined || deviceUID === null) {
@@ -1056,7 +1056,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1056
1056
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteCreateAdd");
1057
1057
  }
1058
1058
  var pathParams = {
1059
- 'projectOrProductUID': projectOrProductUID,
1059
+ 'projectUID': projectUID,
1060
1060
  'deviceUID': deviceUID,
1061
1061
  'notefileID': notefileID,
1062
1062
  'noteID': noteID
@@ -1068,12 +1068,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1068
1068
  var contentTypes = ['application/json'];
1069
1069
  var accepts = ['application/json'];
1070
1070
  var returnType = null;
1071
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1071
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1072
1072
  }
1073
1073
 
1074
1074
  /**
1075
1075
  * Adds a Note to a Notefile, creating the Notefile if it doesn't yet exist.
1076
- * @param {String} projectOrProductUID
1076
+ * @param {String} projectUID
1077
1077
  * @param {String} deviceUID
1078
1078
  * @param {String} notefileID
1079
1079
  * @param {String} noteID
@@ -1082,15 +1082,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1082
1082
  */
1083
1083
  }, {
1084
1084
  key: "handleNoteCreateAdd",
1085
- value: function handleNoteCreateAdd(projectOrProductUID, deviceUID, notefileID, noteID, note) {
1086
- return this.handleNoteCreateAddWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, note).then(function (response_and_data) {
1085
+ value: function handleNoteCreateAdd(projectUID, deviceUID, notefileID, noteID, note) {
1086
+ return this.handleNoteCreateAddWithHttpInfo(projectUID, deviceUID, notefileID, noteID, note).then(function (response_and_data) {
1087
1087
  return response_and_data.data;
1088
1088
  });
1089
1089
  }
1090
1090
 
1091
1091
  /**
1092
1092
  * Delete a note from a DB notefile
1093
- * @param {String} projectOrProductUID
1093
+ * @param {String} projectUID
1094
1094
  * @param {String} deviceUID
1095
1095
  * @param {String} notefileID
1096
1096
  * @param {String} noteID
@@ -1098,11 +1098,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1098
1098
  */
1099
1099
  }, {
1100
1100
  key: "handleNoteDeleteWithHttpInfo",
1101
- value: function handleNoteDeleteWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID) {
1101
+ value: function handleNoteDeleteWithHttpInfo(projectUID, deviceUID, notefileID, noteID) {
1102
1102
  var postBody = null;
1103
- // verify the required parameter 'projectOrProductUID' is set
1104
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1105
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteDelete");
1103
+ // verify the required parameter 'projectUID' is set
1104
+ if (projectUID === undefined || projectUID === null) {
1105
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteDelete");
1106
1106
  }
1107
1107
  // verify the required parameter 'deviceUID' is set
1108
1108
  if (deviceUID === undefined || deviceUID === null) {
@@ -1117,7 +1117,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1117
1117
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteDelete");
1118
1118
  }
1119
1119
  var pathParams = {
1120
- 'projectOrProductUID': projectOrProductUID,
1120
+ 'projectUID': projectUID,
1121
1121
  'deviceUID': deviceUID,
1122
1122
  'notefileID': notefileID,
1123
1123
  'noteID': noteID
@@ -1129,12 +1129,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1129
1129
  var contentTypes = [];
1130
1130
  var accepts = ['application/json'];
1131
1131
  var returnType = null;
1132
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1132
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1133
1133
  }
1134
1134
 
1135
1135
  /**
1136
1136
  * Delete a note from a DB notefile
1137
- * @param {String} projectOrProductUID
1137
+ * @param {String} projectUID
1138
1138
  * @param {String} deviceUID
1139
1139
  * @param {String} notefileID
1140
1140
  * @param {String} noteID
@@ -1142,15 +1142,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1142
1142
  */
1143
1143
  }, {
1144
1144
  key: "handleNoteDelete",
1145
- value: function handleNoteDelete(projectOrProductUID, deviceUID, notefileID, noteID) {
1146
- return this.handleNoteDeleteWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID).then(function (response_and_data) {
1145
+ value: function handleNoteDelete(projectUID, deviceUID, notefileID, noteID) {
1146
+ return this.handleNoteDeleteWithHttpInfo(projectUID, deviceUID, notefileID, noteID).then(function (response_and_data) {
1147
1147
  return response_and_data.data;
1148
1148
  });
1149
1149
  }
1150
1150
 
1151
1151
  /**
1152
1152
  * Get a note from a DB notefile
1153
- * @param {String} projectOrProductUID
1153
+ * @param {String} projectUID
1154
1154
  * @param {String} deviceUID
1155
1155
  * @param {String} notefileID
1156
1156
  * @param {String} noteID
@@ -1161,12 +1161,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1161
1161
  */
1162
1162
  }, {
1163
1163
  key: "handleNoteGetWithHttpInfo",
1164
- value: function handleNoteGetWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, opts) {
1164
+ value: function handleNoteGetWithHttpInfo(projectUID, deviceUID, notefileID, noteID, opts) {
1165
1165
  opts = opts || {};
1166
1166
  var postBody = null;
1167
- // verify the required parameter 'projectOrProductUID' is set
1168
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1169
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteGet");
1167
+ // verify the required parameter 'projectUID' is set
1168
+ if (projectUID === undefined || projectUID === null) {
1169
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteGet");
1170
1170
  }
1171
1171
  // verify the required parameter 'deviceUID' is set
1172
1172
  if (deviceUID === undefined || deviceUID === null) {
@@ -1181,7 +1181,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1181
1181
  throw new _Error["default"]("Missing the required parameter 'noteID' when calling handleNoteGet");
1182
1182
  }
1183
1183
  var pathParams = {
1184
- 'projectOrProductUID': projectOrProductUID,
1184
+ 'projectUID': projectUID,
1185
1185
  'deviceUID': deviceUID,
1186
1186
  'notefileID': notefileID,
1187
1187
  'noteID': noteID
@@ -1196,12 +1196,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1196
1196
  var contentTypes = [];
1197
1197
  var accepts = ['application/json'];
1198
1198
  var returnType = _HandleNoteGet200Response["default"];
1199
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1199
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1200
1200
  }
1201
1201
 
1202
1202
  /**
1203
1203
  * Get a note from a DB notefile
1204
- * @param {String} projectOrProductUID
1204
+ * @param {String} projectUID
1205
1205
  * @param {String} deviceUID
1206
1206
  * @param {String} notefileID
1207
1207
  * @param {String} noteID
@@ -1212,26 +1212,26 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1212
1212
  */
1213
1213
  }, {
1214
1214
  key: "handleNoteGet",
1215
- value: function handleNoteGet(projectOrProductUID, deviceUID, notefileID, noteID, opts) {
1216
- return this.handleNoteGetWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, opts).then(function (response_and_data) {
1215
+ value: function handleNoteGet(projectUID, deviceUID, notefileID, noteID, opts) {
1216
+ return this.handleNoteGetWithHttpInfo(projectUID, deviceUID, notefileID, noteID, opts).then(function (response_and_data) {
1217
1217
  return response_and_data.data;
1218
1218
  });
1219
1219
  }
1220
1220
 
1221
1221
  /**
1222
1222
  * Send a signal from Notehub to a Notecard.
1223
- * @param {String} projectOrProductUID
1223
+ * @param {String} projectUID
1224
1224
  * @param {String} deviceUID
1225
1225
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1226
1226
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNoteSignal200Response} and HTTP response
1227
1227
  */
1228
1228
  }, {
1229
1229
  key: "handleNoteSignalWithHttpInfo",
1230
- value: function handleNoteSignalWithHttpInfo(projectOrProductUID, deviceUID, body) {
1230
+ value: function handleNoteSignalWithHttpInfo(projectUID, deviceUID, body) {
1231
1231
  var postBody = body;
1232
- // verify the required parameter 'projectOrProductUID' is set
1233
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1234
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteSignal");
1232
+ // verify the required parameter 'projectUID' is set
1233
+ if (projectUID === undefined || projectUID === null) {
1234
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteSignal");
1235
1235
  }
1236
1236
  // verify the required parameter 'deviceUID' is set
1237
1237
  if (deviceUID === undefined || deviceUID === null) {
@@ -1242,7 +1242,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1242
1242
  throw new _Error["default"]("Missing the required parameter 'body' when calling handleNoteSignal");
1243
1243
  }
1244
1244
  var pathParams = {
1245
- 'projectOrProductUID': projectOrProductUID,
1245
+ 'projectUID': projectUID,
1246
1246
  'deviceUID': deviceUID
1247
1247
  };
1248
1248
  var queryParams = {};
@@ -1252,27 +1252,27 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1252
1252
  var contentTypes = ['application/json'];
1253
1253
  var accepts = ['application/json'];
1254
1254
  var returnType = _HandleNoteSignal200Response["default"];
1255
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1255
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/signal', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1256
1256
  }
1257
1257
 
1258
1258
  /**
1259
1259
  * Send a signal from Notehub to a Notecard.
1260
- * @param {String} projectOrProductUID
1260
+ * @param {String} projectUID
1261
1261
  * @param {String} deviceUID
1262
1262
  * @param {module:model/Body} body Body or payload of singnal to be sent to the device
1263
1263
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNoteSignal200Response}
1264
1264
  */
1265
1265
  }, {
1266
1266
  key: "handleNoteSignal",
1267
- value: function handleNoteSignal(projectOrProductUID, deviceUID, body) {
1268
- return this.handleNoteSignalWithHttpInfo(projectOrProductUID, deviceUID, body).then(function (response_and_data) {
1267
+ value: function handleNoteSignal(projectUID, deviceUID, body) {
1268
+ return this.handleNoteSignalWithHttpInfo(projectUID, deviceUID, body).then(function (response_and_data) {
1269
1269
  return response_and_data.data;
1270
1270
  });
1271
1271
  }
1272
1272
 
1273
1273
  /**
1274
1274
  * Update a note in a DB notefile
1275
- * @param {String} projectOrProductUID
1275
+ * @param {String} projectUID
1276
1276
  * @param {String} deviceUID
1277
1277
  * @param {String} notefileID
1278
1278
  * @param {String} noteID
@@ -1281,11 +1281,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1281
1281
  */
1282
1282
  }, {
1283
1283
  key: "handleNoteUpdateWithHttpInfo",
1284
- value: function handleNoteUpdateWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, note) {
1284
+ value: function handleNoteUpdateWithHttpInfo(projectUID, deviceUID, notefileID, noteID, note) {
1285
1285
  var postBody = note;
1286
- // verify the required parameter 'projectOrProductUID' is set
1287
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1288
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNoteUpdate");
1286
+ // verify the required parameter 'projectUID' is set
1287
+ if (projectUID === undefined || projectUID === null) {
1288
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNoteUpdate");
1289
1289
  }
1290
1290
  // verify the required parameter 'deviceUID' is set
1291
1291
  if (deviceUID === undefined || deviceUID === null) {
@@ -1304,7 +1304,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1304
1304
  throw new _Error["default"]("Missing the required parameter 'note' when calling handleNoteUpdate");
1305
1305
  }
1306
1306
  var pathParams = {
1307
- 'projectOrProductUID': projectOrProductUID,
1307
+ 'projectUID': projectUID,
1308
1308
  'deviceUID': deviceUID,
1309
1309
  'notefileID': notefileID,
1310
1310
  'noteID': noteID
@@ -1316,12 +1316,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1316
1316
  var contentTypes = ['application/json'];
1317
1317
  var accepts = ['application/json'];
1318
1318
  var returnType = null;
1319
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1319
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/notes/{notefileID}/{noteID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1320
1320
  }
1321
1321
 
1322
1322
  /**
1323
1323
  * Update a note in a DB notefile
1324
- * @param {String} projectOrProductUID
1324
+ * @param {String} projectUID
1325
1325
  * @param {String} deviceUID
1326
1326
  * @param {String} notefileID
1327
1327
  * @param {String} noteID
@@ -1330,15 +1330,15 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1330
1330
  */
1331
1331
  }, {
1332
1332
  key: "handleNoteUpdate",
1333
- value: function handleNoteUpdate(projectOrProductUID, deviceUID, notefileID, noteID, note) {
1334
- return this.handleNoteUpdateWithHttpInfo(projectOrProductUID, deviceUID, notefileID, noteID, note).then(function (response_and_data) {
1333
+ value: function handleNoteUpdate(projectUID, deviceUID, notefileID, noteID, note) {
1334
+ return this.handleNoteUpdateWithHttpInfo(projectUID, deviceUID, notefileID, noteID, note).then(function (response_and_data) {
1335
1335
  return response_and_data.data;
1336
1336
  });
1337
1337
  }
1338
1338
 
1339
1339
  /**
1340
1340
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1341
- * @param {String} projectOrProductUID
1341
+ * @param {String} projectUID
1342
1342
  * @param {String} deviceUID
1343
1343
  * @param {Object} opts Optional parameters
1344
1344
  * @param {String} opts.tracker The change tracker ID.
@@ -1347,19 +1347,19 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1347
1347
  */
1348
1348
  }, {
1349
1349
  key: "handleNotefileChangesWithHttpInfo",
1350
- value: function handleNotefileChangesWithHttpInfo(projectOrProductUID, deviceUID, opts) {
1350
+ value: function handleNotefileChangesWithHttpInfo(projectUID, deviceUID, opts) {
1351
1351
  opts = opts || {};
1352
1352
  var postBody = null;
1353
- // verify the required parameter 'projectOrProductUID' is set
1354
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1355
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNotefileChanges");
1353
+ // verify the required parameter 'projectUID' is set
1354
+ if (projectUID === undefined || projectUID === null) {
1355
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNotefileChanges");
1356
1356
  }
1357
1357
  // verify the required parameter 'deviceUID' is set
1358
1358
  if (deviceUID === undefined || deviceUID === null) {
1359
1359
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChanges");
1360
1360
  }
1361
1361
  var pathParams = {
1362
- 'projectOrProductUID': projectOrProductUID,
1362
+ 'projectUID': projectUID,
1363
1363
  'deviceUID': deviceUID
1364
1364
  };
1365
1365
  var queryParams = {
@@ -1372,12 +1372,12 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1372
1372
  var contentTypes = [];
1373
1373
  var accepts = ['application/json'];
1374
1374
  var returnType = _HandleNotefileChanges200Response["default"];
1375
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1375
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files/changes', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1376
1376
  }
1377
1377
 
1378
1378
  /**
1379
1379
  * Used to perform queries on a single or multiple files to determine if new Notes are available to read
1380
- * @param {String} projectOrProductUID
1380
+ * @param {String} projectUID
1381
1381
  * @param {String} deviceUID
1382
1382
  * @param {Object} opts Optional parameters
1383
1383
  * @param {String} opts.tracker The change tracker ID.
@@ -1386,32 +1386,32 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1386
1386
  */
1387
1387
  }, {
1388
1388
  key: "handleNotefileChanges",
1389
- value: function handleNotefileChanges(projectOrProductUID, deviceUID, opts) {
1390
- return this.handleNotefileChangesWithHttpInfo(projectOrProductUID, deviceUID, opts).then(function (response_and_data) {
1389
+ value: function handleNotefileChanges(projectUID, deviceUID, opts) {
1390
+ return this.handleNotefileChangesWithHttpInfo(projectUID, deviceUID, opts).then(function (response_and_data) {
1391
1391
  return response_and_data.data;
1392
1392
  });
1393
1393
  }
1394
1394
 
1395
1395
  /**
1396
1396
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1397
- * @param {String} projectOrProductUID
1397
+ * @param {String} projectUID
1398
1398
  * @param {String} deviceUID
1399
1399
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/HandleNotefileChangesPending200Response} and HTTP response
1400
1400
  */
1401
1401
  }, {
1402
1402
  key: "handleNotefileChangesPendingWithHttpInfo",
1403
- value: function handleNotefileChangesPendingWithHttpInfo(projectOrProductUID, deviceUID) {
1403
+ value: function handleNotefileChangesPendingWithHttpInfo(projectUID, deviceUID) {
1404
1404
  var postBody = null;
1405
- // verify the required parameter 'projectOrProductUID' is set
1406
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1407
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNotefileChangesPending");
1405
+ // verify the required parameter 'projectUID' is set
1406
+ if (projectUID === undefined || projectUID === null) {
1407
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNotefileChangesPending");
1408
1408
  }
1409
1409
  // verify the required parameter 'deviceUID' is set
1410
1410
  if (deviceUID === undefined || deviceUID === null) {
1411
1411
  throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling handleNotefileChangesPending");
1412
1412
  }
1413
1413
  var pathParams = {
1414
- 'projectOrProductUID': projectOrProductUID,
1414
+ 'projectUID': projectUID,
1415
1415
  'deviceUID': deviceUID
1416
1416
  };
1417
1417
  var queryParams = {};
@@ -1421,37 +1421,37 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1421
1421
  var contentTypes = [];
1422
1422
  var accepts = ['application/json'];
1423
1423
  var returnType = _HandleNotefileChangesPending200Response["default"];
1424
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files/changes/pending', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1424
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files/changes/pending', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1425
1425
  }
1426
1426
 
1427
1427
  /**
1428
1428
  * Returns info about file changes that are pending upload to Notehub or download to the Notecard.
1429
- * @param {String} projectOrProductUID
1429
+ * @param {String} projectUID
1430
1430
  * @param {String} deviceUID
1431
1431
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/HandleNotefileChangesPending200Response}
1432
1432
  */
1433
1433
  }, {
1434
1434
  key: "handleNotefileChangesPending",
1435
- value: function handleNotefileChangesPending(projectOrProductUID, deviceUID) {
1436
- return this.handleNotefileChangesPendingWithHttpInfo(projectOrProductUID, deviceUID).then(function (response_and_data) {
1435
+ value: function handleNotefileChangesPending(projectUID, deviceUID) {
1436
+ return this.handleNotefileChangesPendingWithHttpInfo(projectUID, deviceUID).then(function (response_and_data) {
1437
1437
  return response_and_data.data;
1438
1438
  });
1439
1439
  }
1440
1440
 
1441
1441
  /**
1442
1442
  * Deletes Notefiles and the Notes they contain.
1443
- * @param {String} projectOrProductUID
1443
+ * @param {String} projectUID
1444
1444
  * @param {String} deviceUID
1445
1445
  * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1446
1446
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1447
1447
  */
1448
1448
  }, {
1449
1449
  key: "handleNotefileDeleteWithHttpInfo",
1450
- value: function handleNotefileDeleteWithHttpInfo(projectOrProductUID, deviceUID, handleNotefileDeleteRequest) {
1450
+ value: function handleNotefileDeleteWithHttpInfo(projectUID, deviceUID, handleNotefileDeleteRequest) {
1451
1451
  var postBody = handleNotefileDeleteRequest;
1452
- // verify the required parameter 'projectOrProductUID' is set
1453
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1454
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling handleNotefileDelete");
1452
+ // verify the required parameter 'projectUID' is set
1453
+ if (projectUID === undefined || projectUID === null) {
1454
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling handleNotefileDelete");
1455
1455
  }
1456
1456
  // verify the required parameter 'deviceUID' is set
1457
1457
  if (deviceUID === undefined || deviceUID === null) {
@@ -1462,7 +1462,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1462
1462
  throw new _Error["default"]("Missing the required parameter 'handleNotefileDeleteRequest' when calling handleNotefileDelete");
1463
1463
  }
1464
1464
  var pathParams = {
1465
- 'projectOrProductUID': projectOrProductUID,
1465
+ 'projectUID': projectUID,
1466
1466
  'deviceUID': deviceUID
1467
1467
  };
1468
1468
  var queryParams = {};
@@ -1472,38 +1472,38 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1472
1472
  var contentTypes = ['application/json'];
1473
1473
  var accepts = ['application/json'];
1474
1474
  var returnType = null;
1475
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1475
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/files', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1476
1476
  }
1477
1477
 
1478
1478
  /**
1479
1479
  * Deletes Notefiles and the Notes they contain.
1480
- * @param {String} projectOrProductUID
1480
+ * @param {String} projectUID
1481
1481
  * @param {String} deviceUID
1482
1482
  * @param {module:model/HandleNotefileDeleteRequest} handleNotefileDeleteRequest
1483
1483
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1484
1484
  */
1485
1485
  }, {
1486
1486
  key: "handleNotefileDelete",
1487
- value: function handleNotefileDelete(projectOrProductUID, deviceUID, handleNotefileDeleteRequest) {
1488
- return this.handleNotefileDeleteWithHttpInfo(projectOrProductUID, deviceUID, handleNotefileDeleteRequest).then(function (response_and_data) {
1487
+ value: function handleNotefileDelete(projectUID, deviceUID, handleNotefileDeleteRequest) {
1488
+ return this.handleNotefileDeleteWithHttpInfo(projectUID, deviceUID, handleNotefileDeleteRequest).then(function (response_and_data) {
1489
1489
  return response_and_data.data;
1490
1490
  });
1491
1491
  }
1492
1492
 
1493
1493
  /**
1494
1494
  * Provision Device for a Project
1495
- * @param {String} projectOrProductUID
1495
+ * @param {String} projectUID
1496
1496
  * @param {String} deviceUID
1497
1497
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1498
1498
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1499
1499
  */
1500
1500
  }, {
1501
1501
  key: "postProvisionProjectDeviceWithHttpInfo",
1502
- value: function postProvisionProjectDeviceWithHttpInfo(projectOrProductUID, deviceUID, postProvisionProjectDeviceRequest) {
1502
+ value: function postProvisionProjectDeviceWithHttpInfo(projectUID, deviceUID, postProvisionProjectDeviceRequest) {
1503
1503
  var postBody = postProvisionProjectDeviceRequest;
1504
- // verify the required parameter 'projectOrProductUID' is set
1505
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1506
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling postProvisionProjectDevice");
1504
+ // verify the required parameter 'projectUID' is set
1505
+ if (projectUID === undefined || projectUID === null) {
1506
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling postProvisionProjectDevice");
1507
1507
  }
1508
1508
  // verify the required parameter 'deviceUID' is set
1509
1509
  if (deviceUID === undefined || deviceUID === null) {
@@ -1514,7 +1514,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1514
1514
  throw new _Error["default"]("Missing the required parameter 'postProvisionProjectDeviceRequest' when calling postProvisionProjectDevice");
1515
1515
  }
1516
1516
  var pathParams = {
1517
- 'projectOrProductUID': projectOrProductUID,
1517
+ 'projectUID': projectUID,
1518
1518
  'deviceUID': deviceUID
1519
1519
  };
1520
1520
  var queryParams = {};
@@ -1524,38 +1524,38 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1524
1524
  var contentTypes = ['application/json'];
1525
1525
  var accepts = ['application/json'];
1526
1526
  var returnType = Object;
1527
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1527
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/provision', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1528
1528
  }
1529
1529
 
1530
1530
  /**
1531
1531
  * Provision Device for a Project
1532
- * @param {String} projectOrProductUID
1532
+ * @param {String} projectUID
1533
1533
  * @param {String} deviceUID
1534
1534
  * @param {module:model/PostProvisionProjectDeviceRequest} postProvisionProjectDeviceRequest Provision a device to a specific ProductUID
1535
1535
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1536
1536
  */
1537
1537
  }, {
1538
1538
  key: "postProvisionProjectDevice",
1539
- value: function postProvisionProjectDevice(projectOrProductUID, deviceUID, postProvisionProjectDeviceRequest) {
1540
- return this.postProvisionProjectDeviceWithHttpInfo(projectOrProductUID, deviceUID, postProvisionProjectDeviceRequest).then(function (response_and_data) {
1539
+ value: function postProvisionProjectDevice(projectUID, deviceUID, postProvisionProjectDeviceRequest) {
1540
+ return this.postProvisionProjectDeviceWithHttpInfo(projectUID, deviceUID, postProvisionProjectDeviceRequest).then(function (response_and_data) {
1541
1541
  return response_and_data.data;
1542
1542
  });
1543
1543
  }
1544
1544
 
1545
1545
  /**
1546
1546
  * Put environment variables of a device
1547
- * @param {String} projectOrProductUID
1547
+ * @param {String} projectUID
1548
1548
  * @param {String} deviceUID
1549
1549
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1550
1550
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1551
1551
  */
1552
1552
  }, {
1553
1553
  key: "putDeviceEnvironmentVariablesWithHttpInfo",
1554
- value: function putDeviceEnvironmentVariablesWithHttpInfo(projectOrProductUID, deviceUID, environmentVariables) {
1554
+ value: function putDeviceEnvironmentVariablesWithHttpInfo(projectUID, deviceUID, environmentVariables) {
1555
1555
  var postBody = environmentVariables;
1556
- // verify the required parameter 'projectOrProductUID' is set
1557
- if (projectOrProductUID === undefined || projectOrProductUID === null) {
1558
- throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling putDeviceEnvironmentVariables");
1556
+ // verify the required parameter 'projectUID' is set
1557
+ if (projectUID === undefined || projectUID === null) {
1558
+ throw new _Error["default"]("Missing the required parameter 'projectUID' when calling putDeviceEnvironmentVariables");
1559
1559
  }
1560
1560
  // verify the required parameter 'deviceUID' is set
1561
1561
  if (deviceUID === undefined || deviceUID === null) {
@@ -1566,7 +1566,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1566
1566
  throw new _Error["default"]("Missing the required parameter 'environmentVariables' when calling putDeviceEnvironmentVariables");
1567
1567
  }
1568
1568
  var pathParams = {
1569
- 'projectOrProductUID': projectOrProductUID,
1569
+ 'projectUID': projectUID,
1570
1570
  'deviceUID': deviceUID
1571
1571
  };
1572
1572
  var queryParams = {};
@@ -1576,20 +1576,20 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1576
1576
  var contentTypes = ['application/json'];
1577
1577
  var accepts = ['application/json'];
1578
1578
  var returnType = _EnvironmentVariables["default"];
1579
- return this.apiClient.callApi('/v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1579
+ return this.apiClient.callApi('/v1/projects/{projectUID}/devices/{deviceUID}/environment_variables', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
1580
1580
  }
1581
1581
 
1582
1582
  /**
1583
1583
  * Put environment variables of a device
1584
- * @param {String} projectOrProductUID
1584
+ * @param {String} projectUID
1585
1585
  * @param {String} deviceUID
1586
1586
  * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the device
1587
1587
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1588
1588
  */
1589
1589
  }, {
1590
1590
  key: "putDeviceEnvironmentVariables",
1591
- value: function putDeviceEnvironmentVariables(projectOrProductUID, deviceUID, environmentVariables) {
1592
- return this.putDeviceEnvironmentVariablesWithHttpInfo(projectOrProductUID, deviceUID, environmentVariables).then(function (response_and_data) {
1591
+ value: function putDeviceEnvironmentVariables(projectUID, deviceUID, environmentVariables) {
1592
+ return this.putDeviceEnvironmentVariablesWithHttpInfo(projectUID, deviceUID, environmentVariables).then(function (response_and_data) {
1593
1593
  return response_and_data.data;
1594
1594
  });
1595
1595
  }