@blues-inc/notehub-js 7.0.0-beta.1 → 7.0.0-beta.3

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 (194) hide show
  1. package/README.md +9 -5
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +9 -9
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +9 -9
  6. package/dist/api/DeviceApi.js +195 -195
  7. package/dist/api/EventApi.js +33 -33
  8. package/dist/api/ExternalDevicesApi.js +13 -13
  9. package/dist/api/JobsApi.js +19 -19
  10. package/dist/api/MonitorApi.js +11 -11
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +185 -185
  13. package/dist/api/RouteApi.js +25 -25
  14. package/dist/api/SkillsApi.js +9 -9
  15. package/dist/api/UsageApi.js +17 -17
  16. package/dist/api/WebhookApi.js +29 -29
  17. package/dist/index.js +28 -0
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  20. package/dist/model/Alert.js +1 -3
  21. package/dist/model/AlertDataInner.js +1 -1
  22. package/dist/model/AlertNotificationsInner.js +1 -1
  23. package/dist/model/ArchiveStats.js +1 -1
  24. package/dist/model/AwsRoute.js +2 -14
  25. package/dist/model/AzureRoute.js +1 -8
  26. package/dist/model/BatchJobNoteRequest.js +1 -1
  27. package/dist/model/BatchJobRequests.js +1 -2
  28. package/dist/model/BillingAccount.js +3 -5
  29. package/dist/model/BlynkRoute.js +1 -6
  30. package/dist/model/Body.js +1 -1
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +1 -1
  33. package/dist/model/CloneProjectRequest.js +1 -1
  34. package/dist/model/Contact.js +1 -5
  35. package/dist/model/CreateFleetRequest.js +1 -1
  36. package/dist/model/CreateJob201Response.js +1 -1
  37. package/dist/model/CreateMonitor.js +1 -1
  38. package/dist/model/CreateProductRequest.js +1 -1
  39. package/dist/model/CreateProjectRequest.js +1 -1
  40. package/dist/model/CreateProjectSecretRequest.js +1 -1
  41. package/dist/model/CreateUpdateRepository.js +1 -1
  42. package/dist/model/CreatedRepository.js +1 -1
  43. package/dist/model/CurrentFirmware.js +1 -1
  44. package/dist/model/DFUEnv.js +1 -1
  45. package/dist/model/DFUState.js +1 -2
  46. package/dist/model/DataField.js +1 -1
  47. package/dist/model/DataSet.js +1 -2
  48. package/dist/model/DataSetField.js +1 -1
  49. package/dist/model/DataUsage.js +1 -1
  50. package/dist/model/DatacakeRoute.js +1 -7
  51. package/dist/model/DatasetReloadProgress.js +1 -1
  52. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  53. package/dist/model/DeleteJob200Response.js +1 -1
  54. package/dist/model/DeleteNotefilesRequest.js +1 -1
  55. package/dist/model/DescriptionRecord.js +1 -1
  56. package/dist/model/DescriptionRecordList.js +2 -3
  57. package/dist/model/Device.js +1 -1
  58. package/dist/model/DeviceDfuHistory.js +1 -1
  59. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -3
  61. package/dist/model/DeviceDfuStateMachine.js +1 -1
  62. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  63. package/dist/model/DeviceDfuStatus.js +1 -1
  64. package/dist/model/DeviceDfuStatusPage.js +1 -3
  65. package/dist/model/DeviceSensor.js +1 -1
  66. package/dist/model/DeviceSession.js +1 -33
  67. package/dist/model/DeviceTowerInfo.js +1 -1
  68. package/dist/model/DeviceUsage.js +1 -7
  69. package/dist/model/DfuActionRequest.js +1 -1
  70. package/dist/model/EmailNotification.js +1 -1
  71. package/dist/model/EnvTreeJsonNode.js +6 -17
  72. package/dist/model/EnvVar.js +1 -5
  73. package/dist/model/EnvironmentVariables.js +2 -3
  74. package/dist/model/Error.js +1 -4
  75. package/dist/model/Event.js +435 -9
  76. package/dist/model/Filter.js +5 -5
  77. package/dist/model/Firmware.js +1 -1
  78. package/dist/model/FirmwareInfo.js +1 -1
  79. package/dist/model/Fleet.js +1 -1
  80. package/dist/model/FleetConnectivityAssurance.js +1 -1
  81. package/dist/model/GetAlerts200Response.js +1 -1
  82. package/dist/model/GetApiUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200Response.js +1 -1
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  85. package/dist/model/GetDbNote200Response.js +1 -1
  86. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  87. package/dist/model/GetDeviceFleets200Response.js +1 -1
  88. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200Response.js +1 -1
  90. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  91. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  92. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  93. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  94. package/dist/model/GetDevicePlans200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  98. package/dist/model/GetDeviceSessions200Response.js +1 -1
  99. package/dist/model/GetDevices200Response.js +1 -1
  100. package/dist/model/GetEvents200Response.js +1 -1
  101. package/dist/model/GetJobRuns200Response.js +1 -1
  102. package/dist/model/GetJobs200Response.js +1 -1
  103. package/dist/model/GetNotefile200Response.js +1 -1
  104. package/dist/model/GetOrganization200Response.js +1 -1
  105. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  107. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  108. package/dist/model/GetOrganizations200Response.js +1 -1
  109. package/dist/model/GetProducts200Response.js +1 -1
  110. package/dist/model/GetProjectMembers200Response.js +1 -1
  111. package/dist/model/GetProjectSecretsResponse.js +2 -3
  112. package/dist/model/GetProjects200Response.js +1 -1
  113. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  114. package/dist/model/GetSessionsUsage200Response.js +1 -1
  115. package/dist/model/GetWebhooks200Response.js +1 -1
  116. package/dist/model/GoogleRoute.js +1 -6
  117. package/dist/model/HealthLog.js +1 -1
  118. package/dist/model/HttpRoute.js +2 -7
  119. package/dist/model/Job.js +1 -1
  120. package/dist/model/JobDefinition.js +1 -1
  121. package/dist/model/JobDefinitionReportOptions.js +1 -2
  122. package/dist/model/JobDefinitionSelect.js +1 -2
  123. package/dist/model/JobDetail.js +1 -1
  124. package/dist/model/JobDetailAllOf.js +1 -1
  125. package/dist/model/JobRun.js +1 -1
  126. package/dist/model/Location.js +1 -1
  127. package/dist/model/Monitor.js +1 -1
  128. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  129. package/dist/model/MqttRoute.js +1 -14
  130. package/dist/model/Note.js +1 -1
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +2 -3
  133. package/dist/model/NotefileSchema.js +1 -1
  134. package/dist/model/NotehubRoute.js +2 -2
  135. package/dist/model/NotehubRouteSummary.js +1 -1
  136. package/dist/model/OAuth2Error.js +1 -1
  137. package/dist/model/OAuth2TokenResponse.js +1 -1
  138. package/dist/model/Organization.js +1 -1
  139. package/dist/model/Product.js +1 -1
  140. package/dist/model/Project.js +1 -1
  141. package/dist/model/ProjectMember.js +1 -1
  142. package/dist/model/ProjectSecret.js +1 -1
  143. package/dist/model/ProvisionDeviceRequest.js +1 -1
  144. package/dist/model/ProxyRoute.js +1 -6
  145. package/dist/model/QubitroRoute.js +1 -7
  146. package/dist/model/RadRoute.js +1 -9
  147. package/dist/model/Repository.js +1 -1
  148. package/dist/model/RepositoryListResponse.js +2 -3
  149. package/dist/model/RepositoryRecord.js +1 -1
  150. package/dist/model/RepositoryTokenRequest.js +1 -1
  151. package/dist/model/RepositoryTokenResponse.js +1 -1
  152. package/dist/model/RouteLog.js +1 -1
  153. package/dist/model/RouteTransformSettings.js +5 -5
  154. package/dist/model/RunJob200Response.js +1 -1
  155. package/dist/model/S3ArchiveRoute.js +1 -16
  156. package/dist/model/SatelliteDataUsage.js +1 -1
  157. package/dist/model/SatellitePlan.js +1 -1
  158. package/dist/model/SchemaProperty.js +1 -1
  159. package/dist/model/SignalDevice200Response.js +1 -1
  160. package/dist/model/SimUsage.js +1 -1
  161. package/dist/model/Skill.js +4 -7
  162. package/dist/model/SkillLinks.js +1 -1
  163. package/dist/model/SkillSet.js +5 -9
  164. package/dist/model/SkillSummary.js +4 -7
  165. package/dist/model/SkillWrite.js +1 -1
  166. package/dist/model/SkillWriteResult.js +2 -3
  167. package/dist/model/SlackBearerNotification.js +1 -1
  168. package/dist/model/SlackRoute.js +1 -9
  169. package/dist/model/SlackWebHookNotification.js +1 -1
  170. package/dist/model/SnowflakeRoute.js +1 -9
  171. package/dist/model/SnowpipeStreamingRoute.js +1 -12
  172. package/dist/model/ThingworxRoute.js +1 -6
  173. package/dist/model/TowerLocation.js +1 -1
  174. package/dist/model/Triangulation.js +170 -0
  175. package/dist/model/TriangulationCellTower.js +160 -0
  176. package/dist/model/TriangulationGps.js +111 -0
  177. package/dist/model/TriangulationWifiAccessPoint.js +138 -0
  178. package/dist/model/TwilioNotification.js +1 -1
  179. package/dist/model/TwilioRoute.js +1 -9
  180. package/dist/model/UpdateFleetRequest.js +1 -1
  181. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  182. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  183. package/dist/model/UploadMetadata.js +1 -1
  184. package/dist/model/UsageApiData.js +2 -3
  185. package/dist/model/UsageData.js +3 -7
  186. package/dist/model/UsageEventsData.js +2 -5
  187. package/dist/model/UsageEventsResponse.js +2 -3
  188. package/dist/model/UsageRouteLogsData.js +5 -9
  189. package/dist/model/UsageSessionsData.js +5 -11
  190. package/dist/model/UserDfuStateMachine.js +1 -1
  191. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  192. package/dist/model/UserFirmwareInfo.js +1 -1
  193. package/dist/model/WebhookSettings.js +1 -1
  194. package/package.json +1 -1
@@ -56,7 +56,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
56
56
  /**
57
57
  * Project service.
58
58
  * @module api/ProjectApi
59
- * @version 7.0.0-beta.1
59
+ * @version 7.0.0-beta.3
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -74,8 +74,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
74
74
  /**
75
75
  * Add a device to fleets
76
76
  * Add a device to one or more fleets, keeping the fleets it's already in, and return all its fleets. Fleets it's already in are skipped, so a retry is safe. Requires the Owner or Developer role. Returns 400 if a fleet doesn't exist.
77
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
78
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
77
+ * @param {String} projectOrProductUID
78
+ * @param {String} deviceUID
79
79
  * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add the device to.
80
80
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
81
81
  */
@@ -112,8 +112,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
112
112
  /**
113
113
  * Add a device to fleets
114
114
  * Add a device to one or more fleets, keeping the fleets it's already in, and return all its fleets. Fleets it's already in are skipped, so a retry is safe. Requires the Owner or Developer role. Returns 400 if a fleet doesn't exist.
115
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
116
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
115
+ * @param {String} projectOrProductUID
116
+ * @param {String} deviceUID
117
117
  * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add the device to.
118
118
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
119
119
  */
@@ -128,7 +128,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
128
128
  /**
129
129
  * Clone a project
130
130
  * Create a new project as a copy of this one. Settings, environment variables, transformation, fleets, routes and host firmware are copied; devices, products and members aren't. Copied fleets get new FleetUIDs. Requires the Owner role (400 otherwise), a verified email address (401 otherwise), and permission to create projects in the target organization (403 otherwise).
131
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
131
+ * @param {String} projectOrProductUID
132
132
  * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
133
133
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
134
134
  */
@@ -160,7 +160,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
160
160
  /**
161
161
  * Clone a project
162
162
  * Create a new project as a copy of this one. Settings, environment variables, transformation, fleets, routes and host firmware are copied; devices, products and members aren't. Copied fleets get new FleetUIDs. Requires the Owner role (400 otherwise), a verified email address (401 otherwise), and permission to create projects in the target organization (403 otherwise).
163
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
163
+ * @param {String} projectOrProductUID
164
164
  * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
165
165
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
166
166
  */
@@ -175,7 +175,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
175
175
  /**
176
176
  * Create a fleet
177
177
  * Create a fleet in the project. Connectivity assurance is on unless `connectivity_assurance.enabled` is `false`. A second call creates another fleet. Requires the Owner or Developer role. Returns 400 if `label` is missing or empty.
178
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
178
+ * @param {String} projectOrProductUID
179
179
  * @param {module:model/CreateFleetRequest} createFleetRequest The new fleet's name and settings.
180
180
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
181
181
  */
@@ -207,7 +207,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
207
207
  /**
208
208
  * Create a fleet
209
209
  * Create a fleet in the project. Connectivity assurance is on unless `connectivity_assurance.enabled` is `false`. A second call creates another fleet. Requires the Owner or Developer role. Returns 400 if `label` is missing or empty.
210
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
210
+ * @param {String} projectOrProductUID
211
211
  * @param {module:model/CreateFleetRequest} createFleetRequest The new fleet's name and settings.
212
212
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
213
213
  */
@@ -222,7 +222,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
222
222
  /**
223
223
  * Create a product
224
224
  * Add a ProductUID to the project, formed from the caller's reversed email and `product_uid`. For `jane@acme.com` and `sensors` it is `com.acme.jane:sensors`. Requires the Owner or Developer role and a verified email address (400 otherwise). Returns 404 if an `auto_provision_fleets` entry isn't a fleet in this project, and 500 if `product_uid` is invalid or already taken.
225
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
225
+ * @param {String} projectOrProductUID
226
226
  * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
227
227
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
228
228
  */
@@ -254,7 +254,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
254
254
  /**
255
255
  * Create a product
256
256
  * Add a ProductUID to the project, formed from the caller's reversed email and `product_uid`. For `jane@acme.com` and `sensors` it is `com.acme.jane:sensors`. Requires the Owner or Developer role and a verified email address (400 otherwise). Returns 404 if an `auto_provision_fleets` entry isn't a fleet in this project, and 500 if `product_uid` is invalid or already taken.
257
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
257
+ * @param {String} projectOrProductUID
258
258
  * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
259
259
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
260
260
  */
@@ -308,7 +308,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
308
308
  /**
309
309
  * Create a project secret
310
310
  * Store a secret value that routes and alerts can reference as `[$$name]` without exposing it. The value can't be read back. Requires the Owner or Developer role. Returns 409 if the name is taken, and 400 if it's invalid.
311
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
311
+ * @param {String} projectOrProductUID
312
312
  * @param {module:model/CreateProjectSecretRequest} createProjectSecretRequest
313
313
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectSecret} and HTTP response
314
314
  */
@@ -340,7 +340,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
340
340
  /**
341
341
  * Create a project secret
342
342
  * Store a secret value that routes and alerts can reference as `[$$name]` without exposing it. The value can't be read back. Requires the Owner or Developer role. Returns 409 if the name is taken, and 400 if it's invalid.
343
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
343
+ * @param {String} projectOrProductUID
344
344
  * @param {module:model/CreateProjectSecretRequest} createProjectSecretRequest
345
345
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectSecret}
346
346
  */
@@ -355,8 +355,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
355
355
  /**
356
356
  * Remove a device from fleets
357
357
  * Remove a device from one or more fleets and return the fleets it's still in. Fleets it isn't in are ignored, so a retry is safe. Requires the Owner or Developer role.
358
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
359
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
358
+ * @param {String} projectOrProductUID
359
+ * @param {String} deviceUID
360
360
  * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove the device from.
361
361
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
362
362
  */
@@ -393,8 +393,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
393
393
  /**
394
394
  * Remove a device from fleets
395
395
  * Remove a device from one or more fleets and return the fleets it's still in. Fleets it isn't in are ignored, so a retry is safe. Requires the Owner or Developer role.
396
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
397
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
396
+ * @param {String} projectOrProductUID
397
+ * @param {String} deviceUID
398
398
  * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove the device from.
399
399
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
400
400
  */
@@ -409,7 +409,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
409
409
  /**
410
410
  * Delete host firmware
411
411
  * Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
412
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
412
+ * @param {String} projectOrProductUID
413
413
  * @param {module:model/String} firmwareType
414
414
  * @param {String} filename
415
415
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -448,7 +448,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
448
448
  /**
449
449
  * Delete host firmware
450
450
  * Delete a host firmware file by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be deleted. Requires the Owner or Developer role. Returns 404 if the file doesn't exist, and 400 for a sub-project, whose parent manages host firmware.
451
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
451
+ * @param {String} projectOrProductUID
452
452
  * @param {module:model/String} firmwareType
453
453
  * @param {String} filename
454
454
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -464,8 +464,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
464
464
  /**
465
465
  * Delete a fleet
466
466
  * Delete a fleet and remove it from all its devices. The devices stay in the project; the fleet's environment variables are deleted. To remove one device from a fleet, use `DeleteDeviceFromFleets`. Requires the Owner or Developer role. Returns 400 if the fleet does not exist, including on a retry.
467
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
468
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
467
+ * @param {String} projectOrProductUID
468
+ * @param {String} fleetUID
469
469
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
470
470
  */
471
471
  }, {
@@ -497,8 +497,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
497
497
  /**
498
498
  * Delete a fleet
499
499
  * Delete a fleet and remove it from all its devices. The devices stay in the project; the fleet's environment variables are deleted. To remove one device from a fleet, use `DeleteDeviceFromFleets`. Requires the Owner or Developer role. Returns 400 if the fleet does not exist, including on a retry.
500
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
501
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
500
+ * @param {String} projectOrProductUID
501
+ * @param {String} fleetUID
502
502
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
503
503
  */
504
504
  }, {
@@ -512,8 +512,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
512
512
  /**
513
513
  * Delete a fleet environment variable
514
514
  * Delete one fleet environment variable and return the ones left. Requires the Owner or Developer role. Returns 404 if the fleet or the variable doesn't exist.
515
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
516
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
515
+ * @param {String} projectOrProductUID
516
+ * @param {String} fleetUID
517
517
  * @param {String} key Name of the environment variable to delete.
518
518
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
519
519
  */
@@ -551,8 +551,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
551
551
  /**
552
552
  * Delete a fleet environment variable
553
553
  * Delete one fleet environment variable and return the ones left. Requires the Owner or Developer role. Returns 404 if the fleet or the variable doesn't exist.
554
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
555
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
554
+ * @param {String} projectOrProductUID
555
+ * @param {String} fleetUID
556
556
  * @param {String} key Name of the environment variable to delete.
557
557
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
558
558
  */
@@ -567,8 +567,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
567
567
  /**
568
568
  * Delete a product
569
569
  * Remove a ProductUID from the project. Accepts the UID with or without the `product:` prefix. Requires the Owner or Developer role. Returns 404 if the project has no such ProductUID.
570
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
571
- * @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
570
+ * @param {String} projectOrProductUID
571
+ * @param {String} productUID
572
572
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
573
573
  */
574
574
  }, {
@@ -600,8 +600,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
600
600
  /**
601
601
  * Delete a product
602
602
  * Remove a ProductUID from the project. Accepts the UID with or without the `product:` prefix. Requires the Owner or Developer role. Returns 404 if the project has no such ProductUID.
603
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
604
- * @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
603
+ * @param {String} projectOrProductUID
604
+ * @param {String} productUID
605
605
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
606
606
  */
607
607
  }, {
@@ -615,7 +615,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
615
615
  /**
616
616
  * Delete a project
617
617
  * Delete a project, its ProductUIDs, and every member's access to it. Can't be undone through the API. Requires the Owner or Developer role. Returns 200 with no body.
618
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
618
+ * @param {String} projectOrProductUID
619
619
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
620
620
  */
621
621
  }, {
@@ -642,7 +642,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
642
642
  /**
643
643
  * Delete a project
644
644
  * Delete a project, its ProductUIDs, and every member's access to it. Can't be undone through the API. Requires the Owner or Developer role. Returns 200 with no body.
645
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
645
+ * @param {String} projectOrProductUID
646
646
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
647
647
  */
648
648
  }, {
@@ -656,7 +656,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
656
656
  /**
657
657
  * Delete a project environment variable
658
658
  * Delete one project environment variable and return the ones left. Deleting a variable that doesn't exist still succeeds. Requires the Owner or Developer role.
659
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
659
+ * @param {String} projectOrProductUID
660
660
  * @param {String} key Name of the environment variable to delete.
661
661
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
662
662
  */
@@ -689,7 +689,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
689
689
  /**
690
690
  * Delete a project environment variable
691
691
  * Delete one project environment variable and return the ones left. Deleting a variable that doesn't exist still succeeds. Requires the Owner or Developer role.
692
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
692
+ * @param {String} projectOrProductUID
693
693
  * @param {String} key Name of the environment variable to delete.
694
694
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
695
695
  */
@@ -704,7 +704,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
704
704
  /**
705
705
  * Delete a project secret
706
706
  * Delete a project secret. Routes and alerts that still reference it can no longer resolve it. Requires the Owner or Developer role. Returns 404 if the secret doesn't exist.
707
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
707
+ * @param {String} projectOrProductUID
708
708
  * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
709
709
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
710
710
  */
@@ -737,7 +737,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
737
737
  /**
738
738
  * Delete a project secret
739
739
  * Delete a project secret. Routes and alerts that still reference it can no longer resolve it. Requires the Owner or Developer role. Returns 404 if the secret doesn't exist.
740
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
740
+ * @param {String} projectOrProductUID
741
741
  * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
742
742
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
743
743
  */
@@ -752,7 +752,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
752
752
  /**
753
753
  * Disable the global event transformation
754
754
  * Stop applying the project's global event transformation to new events. The expression is kept, so `EnableGlobalEventTransformation` can turn it back on. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
755
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
755
+ * @param {String} projectOrProductUID
756
756
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
757
757
  */
758
758
  }, {
@@ -779,7 +779,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
779
779
  /**
780
780
  * Disable the global event transformation
781
781
  * Stop applying the project's global event transformation to new events. The expression is kept, so `EnableGlobalEventTransformation` can turn it back on. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
782
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
782
+ * @param {String} projectOrProductUID
783
783
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
784
784
  */
785
785
  }, {
@@ -793,7 +793,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
793
793
  /**
794
794
  * Download host firmware
795
795
  * Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
796
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
796
+ * @param {String} projectOrProductUID
797
797
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
798
798
  * @param {String} filename
799
799
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
@@ -832,7 +832,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
832
832
  /**
833
833
  * Download host firmware
834
834
  * Download a host firmware binary by its stored filename, including its `$` timestamp suffix. Notecard firmware can't be downloaded (400). Requires the Owner or Developer role. Returns 404 if the file doesn't exist.
835
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
835
+ * @param {String} projectOrProductUID
836
836
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
837
837
  * @param {String} filename
838
838
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
@@ -848,7 +848,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
848
848
  /**
849
849
  * Enable the global event transformation
850
850
  * Resume applying the project's global event transformation to new events, without changing the expression. Undoes `DisableGlobalEventTransformation`. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
851
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
851
+ * @param {String} projectOrProductUID
852
852
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
853
853
  */
854
854
  }, {
@@ -875,7 +875,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
875
875
  /**
876
876
  * Enable the global event transformation
877
877
  * Resume applying the project's global event transformation to new events, without changing the expression. Undoes `DisableGlobalEventTransformation`. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
878
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
878
+ * @param {String} projectOrProductUID
879
879
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
880
880
  */
881
881
  }, {
@@ -889,7 +889,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
889
889
  /**
890
890
  * Get AWS role configuration for role-based authentication
891
891
  * Get the AWS account ID and External ID for the IAM role trust policy used by AWS routes with role-based authentication. The External ID is created on the first call and stays the same after that.
892
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
892
+ * @param {String} projectOrProductUID
893
893
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AWSRoleConfig} and HTTP response
894
894
  */
895
895
  }, {
@@ -916,7 +916,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
916
916
  /**
917
917
  * Get AWS role configuration for role-based authentication
918
918
  * Get the AWS account ID and External ID for the IAM role trust policy used by AWS routes with role-based authentication. The External ID is created on the first call and stays the same after that.
919
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
919
+ * @param {String} projectOrProductUID
920
920
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AWSRoleConfig}
921
921
  */
922
922
  }, {
@@ -930,8 +930,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
930
930
  /**
931
931
  * Get a device's firmware update history
932
932
  * Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
933
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
934
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
933
+ * @param {String} projectOrProductUID
934
+ * @param {String} deviceUID
935
935
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
936
936
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
937
937
  */
@@ -969,8 +969,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
969
969
  /**
970
970
  * Get a device's firmware update history
971
971
  * Get a device's current host or Notecard firmware version and every firmware update requested for it, newest first. For just the latest update, use `GetDeviceDfuStatus`. Returns 400 if the device isn't in the project.
972
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
973
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
972
+ * @param {String} projectOrProductUID
973
+ * @param {String} deviceUID
974
974
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
975
975
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
976
976
  */
@@ -985,8 +985,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
985
985
  /**
986
986
  * Get a device's firmware update status
987
987
  * Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
988
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
989
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
988
+ * @param {String} projectOrProductUID
989
+ * @param {String} deviceUID
990
990
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
991
991
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
992
992
  */
@@ -1024,8 +1024,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1024
1024
  /**
1025
1025
  * Get a device's firmware update status
1026
1026
  * Get a device's current host or Notecard firmware version and its latest firmware update. Includes whether an update is in progress. For every past update, use `GetDeviceDfuHistory`. Returns 400 if the device isn't in the project.
1027
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1028
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
1027
+ * @param {String} projectOrProductUID
1028
+ * @param {String} deviceUID
1029
1029
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1030
1030
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
1031
1031
  */
@@ -1040,8 +1040,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1040
1040
  /**
1041
1041
  * List a device's fleets
1042
1042
  * List the fleets a device belongs to, with only each fleet's UID, label and creation time. For a fleet's full details use `GetFleet`. Returns 404 if the device isn't in the project.
1043
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1044
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
1043
+ * @param {String} projectOrProductUID
1044
+ * @param {String} deviceUID
1045
1045
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
1046
1046
  */
1047
1047
  }, {
@@ -1073,8 +1073,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1073
1073
  /**
1074
1074
  * List a device's fleets
1075
1075
  * List the fleets a device belongs to, with only each fleet's UID, label and creation time. For a fleet's full details use `GetFleet`. Returns 404 if the device isn't in the project.
1076
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1077
- * @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
1076
+ * @param {String} projectOrProductUID
1077
+ * @param {String} deviceUID
1078
1078
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
1079
1079
  */
1080
1080
  }, {
@@ -1088,23 +1088,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1088
1088
  /**
1089
1089
  * List devices' firmware update history
1090
1090
  * List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1091
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1091
+ * @param {String} projectOrProductUID
1092
1092
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1093
1093
  * @param {Object} opts Optional parameters
1094
- * @param {Number} opts.pageSize How many results to return per page. (default to 1000)
1095
- * @param {Number} opts.pageNum Page number, starting at 1. Can't be combined with `cursor`. (default to 1)
1096
- * @param {String} opts.cursor Read in ascending modification order. Start with `0` for the beginning, or a Unix time in microseconds (inclusive), e.g. now minus 30 days. To resume, pass back `next_cursor` or `X-Next-Cursor` unchanged; its `.N` suffix ensures no row repeats or is skipped.
1097
- * @param {module:model/String} opts.sortBy Field to sort results by. (default to 'captured')
1098
- * @param {module:model/String} opts.sortOrder Sort direction: `asc` or `desc`. (default to 'asc')
1099
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1100
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1101
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1102
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1103
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1104
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1105
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1106
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1107
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1094
+ * @param {Number} opts.pageSize (default to 1000)
1095
+ * @param {Number} opts.pageNum (default to 1)
1096
+ * @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
1097
+ * @param {module:model/String} opts.sortBy (default to 'captured')
1098
+ * @param {module:model/String} opts.sortOrder (default to 'asc')
1099
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1100
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1101
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1102
+ * @param {String} opts.fleetUID
1103
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1104
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1105
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1106
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1107
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1108
1108
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistoryPage} and HTTP response
1109
1109
  */
1110
1110
  }, {
@@ -1152,23 +1152,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1152
1152
  /**
1153
1153
  * List devices' firmware update history
1154
1154
  * List every host or Notecard firmware update requested for each matching device, newest first. Includes each device's current firmware version. For just the latest update, use `GetDevicesDfuStatus`. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1155
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1155
+ * @param {String} projectOrProductUID
1156
1156
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1157
1157
  * @param {Object} opts Optional parameters
1158
- * @param {Number} opts.pageSize How many results to return per page. (default to 1000)
1159
- * @param {Number} opts.pageNum Page number, starting at 1. Can't be combined with `cursor`. (default to 1)
1160
- * @param {String} opts.cursor Read in ascending modification order. Start with `0` for the beginning, or a Unix time in microseconds (inclusive), e.g. now minus 30 days. To resume, pass back `next_cursor` or `X-Next-Cursor` unchanged; its `.N` suffix ensures no row repeats or is skipped.
1161
- * @param {module:model/String} opts.sortBy Field to sort results by. (default to 'captured')
1162
- * @param {module:model/String} opts.sortOrder Sort direction: `asc` or `desc`. (default to 'asc')
1163
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1164
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1165
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1166
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1167
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1168
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1169
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1170
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1171
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1158
+ * @param {Number} opts.pageSize (default to 1000)
1159
+ * @param {Number} opts.pageNum (default to 1)
1160
+ * @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
1161
+ * @param {module:model/String} opts.sortBy (default to 'captured')
1162
+ * @param {module:model/String} opts.sortOrder (default to 'asc')
1163
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1164
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1165
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1166
+ * @param {String} opts.fleetUID
1167
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1168
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1169
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1170
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1171
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1172
1172
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistoryPage}
1173
1173
  */
1174
1174
  }, {
@@ -1182,23 +1182,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1182
1182
  /**
1183
1183
  * List devices' firmware status
1184
1184
  * List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1185
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1185
+ * @param {String} projectOrProductUID
1186
1186
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1187
1187
  * @param {Object} opts Optional parameters
1188
- * @param {Number} opts.pageSize How many results to return per page. (default to 1000)
1189
- * @param {Number} opts.pageNum Page number, starting at 1. Can't be combined with `cursor`. (default to 1)
1190
- * @param {String} opts.cursor Read in ascending modification order. Start with `0` for the beginning, or a Unix time in microseconds (inclusive), e.g. now minus 30 days. To resume, pass back `next_cursor` or `X-Next-Cursor` unchanged; its `.N` suffix ensures no row repeats or is skipped.
1191
- * @param {module:model/String} opts.sortBy Field to sort results by. (default to 'captured')
1192
- * @param {module:model/String} opts.sortOrder Sort direction: `asc` or `desc`. (default to 'asc')
1193
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1194
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1195
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1196
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1197
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1198
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1199
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1200
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1201
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1188
+ * @param {Number} opts.pageSize (default to 1000)
1189
+ * @param {Number} opts.pageNum (default to 1)
1190
+ * @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
1191
+ * @param {module:model/String} opts.sortBy (default to 'captured')
1192
+ * @param {module:model/String} opts.sortOrder (default to 'asc')
1193
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1194
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1195
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1196
+ * @param {String} opts.fleetUID
1197
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1198
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1199
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1200
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1201
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1202
1202
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatusPage} and HTTP response
1203
1203
  */
1204
1204
  }, {
@@ -1246,23 +1246,23 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1246
1246
  /**
1247
1247
  * List devices' firmware status
1248
1248
  * List the host or Notecard firmware version each matching device runs now, with its latest firmware update. Use this to find which firmware devices run. Paginated, by page or `cursor`. With a `cursor`, changes made through fleet or project firmware settings don't appear until the device itself is next updated.
1249
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1249
+ * @param {String} projectOrProductUID
1250
1250
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1251
1251
  * @param {Object} opts Optional parameters
1252
- * @param {Number} opts.pageSize How many results to return per page. (default to 1000)
1253
- * @param {Number} opts.pageNum Page number, starting at 1. Can't be combined with `cursor`. (default to 1)
1254
- * @param {String} opts.cursor Read in ascending modification order. Start with `0` for the beginning, or a Unix time in microseconds (inclusive), e.g. now minus 30 days. To resume, pass back `next_cursor` or `X-Next-Cursor` unchanged; its `.N` suffix ensures no row repeats or is skipped.
1255
- * @param {module:model/String} opts.sortBy Field to sort results by. (default to 'captured')
1256
- * @param {module:model/String} opts.sortOrder Sort direction: `asc` or `desc`. (default to 'asc')
1257
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1258
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1259
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1260
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1261
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1262
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1263
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1264
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1265
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1252
+ * @param {Number} opts.pageSize (default to 1000)
1253
+ * @param {Number} opts.pageNum (default to 1)
1254
+ * @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
1255
+ * @param {module:model/String} opts.sortBy (default to 'captured')
1256
+ * @param {module:model/String} opts.sortOrder (default to 'asc')
1257
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1258
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1259
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1260
+ * @param {String} opts.fleetUID
1261
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1262
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1263
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1264
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1265
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1266
1266
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatusPage}
1267
1267
  */
1268
1268
  }, {
@@ -1276,7 +1276,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1276
1276
  /**
1277
1277
  * List firmware
1278
1278
  * List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
1279
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1279
+ * @param {String} projectOrProductUID
1280
1280
  * @param {Object} opts Optional parameters
1281
1281
  * @param {String} opts.product Only firmware whose product contains this text.
1282
1282
  * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
@@ -1324,7 +1324,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1324
1324
  /**
1325
1325
  * List firmware
1326
1326
  * List the host firmware uploaded to the project and the Notecard firmware available to it. Text filters match substrings, and unpublished Notecard builds are left out unless `unpublished` is `true`. Not paginated.
1327
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1327
+ * @param {String} projectOrProductUID
1328
1328
  * @param {Object} opts Optional parameters
1329
1329
  * @param {String} opts.product Only firmware whose product contains this text.
1330
1330
  * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
@@ -1348,8 +1348,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1348
1348
  /**
1349
1349
  * Get a fleet
1350
1350
  * Get one fleet's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Returns 404 if the fleet doesn't exist.
1351
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1352
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1351
+ * @param {String} projectOrProductUID
1352
+ * @param {String} fleetUID
1353
1353
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
1354
1354
  */
1355
1355
  }, {
@@ -1381,8 +1381,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1381
1381
  /**
1382
1382
  * Get a fleet
1383
1383
  * Get one fleet's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Returns 404 if the fleet doesn't exist.
1384
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1385
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1384
+ * @param {String} projectOrProductUID
1385
+ * @param {String} fleetUID
1386
1386
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
1387
1387
  */
1388
1388
  }, {
@@ -1396,8 +1396,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1396
1396
  /**
1397
1397
  * Get a fleet's environment hierarchy
1398
1398
  * Get a fleet's environment variables and the project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. Returns 500 if the fleet doesn't exist.
1399
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1400
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1399
+ * @param {String} projectOrProductUID
1400
+ * @param {String} fleetUID
1401
1401
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
1402
1402
  */
1403
1403
  }, {
@@ -1429,8 +1429,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1429
1429
  /**
1430
1430
  * Get a fleet's environment hierarchy
1431
1431
  * Get a fleet's environment variables and the project variables it inherits, as a tree. Each variable has its precedence and whether it is used or overridden. Returns 500 if the fleet doesn't exist.
1432
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1433
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1432
+ * @param {String} projectOrProductUID
1433
+ * @param {String} fleetUID
1434
1434
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
1435
1435
  */
1436
1436
  }, {
@@ -1444,8 +1444,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1444
1444
  /**
1445
1445
  * Get fleet environment variables
1446
1446
  * Get the environment variables set on a fleet, with their notes. They override project variables, and device variables override them. Returns 404 if the fleet doesn't exist.
1447
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1448
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1447
+ * @param {String} projectOrProductUID
1448
+ * @param {String} fleetUID
1449
1449
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1450
1450
  */
1451
1451
  }, {
@@ -1477,8 +1477,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1477
1477
  /**
1478
1478
  * Get fleet environment variables
1479
1479
  * Get the environment variables set on a fleet, with their notes. They override project variables, and device variables override them. Returns 404 if the fleet doesn't exist.
1480
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1481
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1480
+ * @param {String} projectOrProductUID
1481
+ * @param {String} fleetUID
1482
1482
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1483
1483
  */
1484
1484
  }, {
@@ -1492,7 +1492,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1492
1492
  /**
1493
1493
  * List fleets
1494
1494
  * List the project's fleets with each one's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Not paginated.
1495
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1495
+ * @param {String} projectOrProductUID
1496
1496
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
1497
1497
  */
1498
1498
  }, {
@@ -1519,7 +1519,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1519
1519
  /**
1520
1520
  * List fleets
1521
1521
  * List the project's fleets with each one's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Not paginated.
1522
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1522
+ * @param {String} projectOrProductUID
1523
1523
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
1524
1524
  */
1525
1525
  }, {
@@ -1533,7 +1533,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1533
1533
  /**
1534
1534
  * List Notefile schemas
1535
1535
  * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1536
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1536
+ * @param {String} projectOrProductUID
1537
1537
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotefileSchema>} and HTTP response
1538
1538
  */
1539
1539
  }, {
@@ -1560,7 +1560,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1560
1560
  /**
1561
1561
  * List Notefile schemas
1562
1562
  * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1563
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1563
+ * @param {String} projectOrProductUID
1564
1564
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotefileSchema>}
1565
1565
  */
1566
1566
  }, {
@@ -1574,7 +1574,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1574
1574
  /**
1575
1575
  * List a project's products
1576
1576
  * List the project's ProductUIDs, each with its label, auto-provision fleets, and whether new devices start disabled. UIDs here include the `product:` prefix; `CreateProduct` returns them without it. Not paginated.
1577
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1577
+ * @param {String} projectOrProductUID
1578
1578
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProducts200Response} and HTTP response
1579
1579
  */
1580
1580
  }, {
@@ -1601,7 +1601,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1601
1601
  /**
1602
1602
  * List a project's products
1603
1603
  * List the project's ProductUIDs, each with its label, auto-provision fleets, and whether new devices start disabled. UIDs here include the `product:` prefix; `CreateProduct` returns them without it. Not paginated.
1604
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1604
+ * @param {String} projectOrProductUID
1605
1605
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProducts200Response}
1606
1606
  */
1607
1607
  }, {
@@ -1615,7 +1615,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1615
1615
  /**
1616
1616
  * Get a project
1617
1617
  * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1618
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1618
+ * @param {String} projectOrProductUID
1619
1619
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1620
1620
  */
1621
1621
  }, {
@@ -1642,7 +1642,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1642
1642
  /**
1643
1643
  * Get a project
1644
1644
  * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1645
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1645
+ * @param {String} projectOrProductUID
1646
1646
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1647
1647
  */
1648
1648
  }, {
@@ -1697,7 +1697,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1697
1697
  /**
1698
1698
  * Get the project environment hierarchy
1699
1699
  * Get the project's environment variables as a one-node environment hierarchy tree. The fleet and device hierarchy operations use the same format; for plain key/value pairs, use `GetProjectEnvironmentVariables`.
1700
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1700
+ * @param {String} projectOrProductUID
1701
1701
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
1702
1702
  */
1703
1703
  }, {
@@ -1724,7 +1724,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1724
1724
  /**
1725
1725
  * Get the project environment hierarchy
1726
1726
  * Get the project's environment variables as a one-node environment hierarchy tree. The fleet and device hierarchy operations use the same format; for plain key/value pairs, use `GetProjectEnvironmentVariables`.
1727
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1727
+ * @param {String} projectOrProductUID
1728
1728
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
1729
1729
  */
1730
1730
  }, {
@@ -1738,7 +1738,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1738
1738
  /**
1739
1739
  * Get project environment variables
1740
1740
  * Get the environment variables set on the project, with their notes. Fleet and device variables override these; for what a device actually sees, use `GetDeviceEnvironmentVariables`.
1741
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1741
+ * @param {String} projectOrProductUID
1742
1742
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1743
1743
  */
1744
1744
  }, {
@@ -1765,7 +1765,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1765
1765
  /**
1766
1766
  * Get project environment variables
1767
1767
  * Get the environment variables set on the project, with their notes. Fleet and device variables override these; for what a device actually sees, use `GetDeviceEnvironmentVariables`.
1768
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1768
+ * @param {String} projectOrProductUID
1769
1769
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1770
1770
  */
1771
1771
  }, {
@@ -1779,7 +1779,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1779
1779
  /**
1780
1780
  * List project members
1781
1781
  * List the project's members with each one's name and role. Emails are filled in only when the caller is an Owner. Not paginated.
1782
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1782
+ * @param {String} projectOrProductUID
1783
1783
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1784
1784
  */
1785
1785
  }, {
@@ -1806,7 +1806,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1806
1806
  /**
1807
1807
  * List project members
1808
1808
  * List the project's members with each one's name and role. Emails are filled in only when the caller is an Owner. Not paginated.
1809
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1809
+ * @param {String} projectOrProductUID
1810
1810
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1811
1811
  */
1812
1812
  }, {
@@ -1820,7 +1820,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1820
1820
  /**
1821
1821
  * List project secrets
1822
1822
  * List the project's secrets by name, with who created and last changed each one and when. Values are never returned.
1823
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1823
+ * @param {String} projectOrProductUID
1824
1824
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectSecretsResponse} and HTTP response
1825
1825
  */
1826
1826
  }, {
@@ -1847,7 +1847,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1847
1847
  /**
1848
1848
  * List project secrets
1849
1849
  * List the project's secrets by name, with who created and last changed each one and when. Values are never returned.
1850
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1850
+ * @param {String} projectOrProductUID
1851
1851
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectSecretsResponse}
1852
1852
  */
1853
1853
  }, {
@@ -1894,19 +1894,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1894
1894
  /**
1895
1895
  * Start or cancel firmware updates
1896
1896
  * Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
1897
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1897
+ * @param {String} projectOrProductUID
1898
1898
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1899
1899
  * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1900
1900
  * @param {Object} opts Optional parameters
1901
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1902
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1903
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1904
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1905
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1906
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1907
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1908
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1909
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1901
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1902
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1903
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1904
+ * @param {String} opts.fleetUID
1905
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1906
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1907
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1908
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1909
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1910
1910
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
1911
1911
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1912
1912
  */
@@ -1955,19 +1955,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1955
1955
  /**
1956
1956
  * Start or cancel firmware updates
1957
1957
  * Start or cancel a host or Notecard firmware update on every device matching the filters. With no filters, that is every device in the project. `update` sets each device's `_fw` or `_fwc` variable to `filename`. Requires the Owner or Developer role. `update` returns 404 if the file isn't found, and can return 400 if a matching device already has an update in progress.
1958
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1958
+ * @param {String} projectOrProductUID
1959
1959
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1960
1960
  * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1961
1961
  * @param {Object} opts Optional parameters
1962
- * @param {Array.<String>} opts.deviceUID DeviceUIDs to filter by. Device and DFU calls match substrings, any case.
1963
- * @param {Array.<String>} opts.tag Whole tag, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1964
- * @param {Array.<String>} opts.serialNumber Serial number substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1965
- * @param {String} opts.fleetUID Limit results to this fleet (FleetUID).
1966
- * @param {Array.<String>} opts.notecardFirmware Notecard firmware substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1967
- * @param {Array.<String>} opts.location Location substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1968
- * @param {Array.<String>} opts.hostFirmware Host firmware version substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1969
- * @param {Array.<String>} opts.productUID ProductUID substring, any case. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1970
- * @param {Array.<String>} opts.sku SKU substring. `*` is a wildcard and `\\*` a literal `*`; `%` and `_` are literal.
1962
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1963
+ * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1964
+ * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1965
+ * @param {String} opts.fleetUID
1966
+ * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1967
+ * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1968
+ * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1969
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1970
+ * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1971
1971
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
1972
1972
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1973
1973
  */
@@ -1982,8 +1982,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1982
1982
  /**
1983
1983
  * Set fleet environment variables
1984
1984
  * Add or change a fleet's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 404 if the fleet doesn't exist, and 400 if a note's key isn't a variable.
1985
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
1986
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
1985
+ * @param {String} projectOrProductUID
1986
+ * @param {String} fleetUID
1987
1987
  * @param {module:model/EnvironmentVariables} environmentVariables The variables to add or change, and optional notes.
1988
1988
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1989
1989
  */
@@ -2020,8 +2020,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2020
2020
  /**
2021
2021
  * Set fleet environment variables
2022
2022
  * Add or change a fleet's environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 404 if the fleet doesn't exist, and 400 if a note's key isn't a variable.
2023
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2024
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
2023
+ * @param {String} projectOrProductUID
2024
+ * @param {String} fleetUID
2025
2025
  * @param {module:model/EnvironmentVariables} environmentVariables The variables to add or change, and optional notes.
2026
2026
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
2027
2027
  */
@@ -2036,7 +2036,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2036
2036
  /**
2037
2037
  * Set the global event transformation
2038
2038
  * Set the project's JSONata expression that rewrites each new event before it's stored and routed. It can change `body`, `payload`, `details`, `file` and `note`, or drop the event with `$doNotRoute()`; an event it fails on is kept with `error` set. Doesn't enable or disable it. Requires the Owner or Developer role. Returns 400 if it doesn't compile, or for a sub-project, which uses its parent's.
2039
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2039
+ * @param {String} projectOrProductUID
2040
2040
  * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
2041
2041
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
2042
2042
  */
@@ -2068,7 +2068,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2068
2068
  /**
2069
2069
  * Set the global event transformation
2070
2070
  * Set the project's JSONata expression that rewrites each new event before it's stored and routed. It can change `body`, `payload`, `details`, `file` and `note`, or drop the event with `$doNotRoute()`; an event it fails on is kept with `error` set. Doesn't enable or disable it. Requires the Owner or Developer role. Returns 400 if it doesn't compile, or for a sub-project, which uses its parent's.
2071
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2071
+ * @param {String} projectOrProductUID
2072
2072
  * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
2073
2073
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2074
2074
  */
@@ -2083,7 +2083,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2083
2083
  /**
2084
2084
  * Set project environment variables
2085
2085
  * Add or change project environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
2086
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2086
+ * @param {String} projectOrProductUID
2087
2087
  * @param {Object} opts Optional parameters
2088
2088
  * @param {module:model/EnvironmentVariables} opts.environmentVariables
2089
2089
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
@@ -2113,7 +2113,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2113
2113
  /**
2114
2114
  * Set project environment variables
2115
2115
  * Add or change project environment variables; variables you don't send keep their values. A value of `\"\"` or `-` deletes that variable. Setting `_fw`, `_fwc` or `_fwm` starts a host, Notecard or modem firmware update. Requires the Owner or Developer role. Returns 400 if a note's key isn't a variable.
2116
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2116
+ * @param {String} projectOrProductUID
2117
2117
  * @param {Object} opts Optional parameters
2118
2118
  * @param {module:model/EnvironmentVariables} opts.environmentVariables
2119
2119
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
@@ -2129,7 +2129,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2129
2129
  /**
2130
2130
  * Update host firmware metadata
2131
2131
  * Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
2132
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2132
+ * @param {String} projectOrProductUID
2133
2133
  * @param {module:model/String} firmwareType
2134
2134
  * @param {String} filename
2135
2135
  * @param {module:model/UpdateHostFirmwareRequest} updateHostFirmwareRequest Firmware metadata fields to update. All fields are optional; only provided fields will be updated.
@@ -2173,7 +2173,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2173
2173
  /**
2174
2174
  * Update host firmware metadata
2175
2175
  * Change a host firmware file's `version`, `notes` or `info`; fields you leave out or send empty keep their values. Use the stored filename, including its `$` timestamp suffix. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent manages host firmware, and 404 if the file doesn't exist.
2176
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2176
+ * @param {String} projectOrProductUID
2177
2177
  * @param {module:model/String} firmwareType
2178
2178
  * @param {String} filename
2179
2179
  * @param {module:model/UpdateHostFirmwareRequest} updateHostFirmwareRequest Firmware metadata fields to update. All fields are optional; only provided fields will be updated.
@@ -2190,8 +2190,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2190
2190
  /**
2191
2191
  * Update a fleet
2192
2192
  * Change a fleet's label, smart rule, watchdog or connectivity assurance, or add and remove devices. Always send `smart_rule_enabled`; leaving it out turns the smart rule off. Empty `label` or `smart_rule` keeps the current value; `-` clears `smart_rule`. Requires the Owner or Developer role. Returns 400 for an unknown fleet or `label` of `-`, and for a bad DeviceUID after saving the other changes.
2193
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2194
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
2193
+ * @param {String} projectOrProductUID
2194
+ * @param {String} fleetUID
2195
2195
  * @param {module:model/UpdateFleetRequest} updateFleetRequest The fields to change. Fields left out keep their values, except `smart_rule_enabled`.
2196
2196
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
2197
2197
  */
@@ -2228,8 +2228,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2228
2228
  /**
2229
2229
  * Update a fleet
2230
2230
  * Change a fleet's label, smart rule, watchdog or connectivity assurance, or add and remove devices. Always send `smart_rule_enabled`; leaving it out turns the smart rule off. Empty `label` or `smart_rule` keeps the current value; `-` clears `smart_rule`. Requires the Owner or Developer role. Returns 400 for an unknown fleet or `label` of `-`, and for a bad DeviceUID after saving the other changes.
2231
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2232
- * @param {String} fleetUID FleetUID, e.g. `fleet:1042ddc5-3b2c-4cec-b1fb-d3040538094d`. List with `GetFleets`.
2231
+ * @param {String} projectOrProductUID
2232
+ * @param {String} fleetUID
2233
2233
  * @param {module:model/UpdateFleetRequest} updateFleetRequest The fields to change. Fields left out keep their values, except `smart_rule_enabled`.
2234
2234
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
2235
2235
  */
@@ -2244,7 +2244,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2244
2244
  /**
2245
2245
  * Update a project secret
2246
2246
  * Replace the value of an existing project secret. Routes and alerts that reference it use the new value from then on. Requires the Owner or Developer role. Returns 404 if the secret doesn't exist.
2247
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2247
+ * @param {String} projectOrProductUID
2248
2248
  * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
2249
2249
  * @param {module:model/UpdateProjectSecretRequest} updateProjectSecretRequest
2250
2250
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectSecret} and HTTP response
@@ -2282,7 +2282,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2282
2282
  /**
2283
2283
  * Update a project secret
2284
2284
  * Replace the value of an existing project secret. Routes and alerts that reference it use the new value from then on. Requires the Owner or Developer role. Returns 404 if the secret doesn't exist.
2285
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2285
+ * @param {String} projectOrProductUID
2286
2286
  * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
2287
2287
  * @param {module:model/UpdateProjectSecretRequest} updateProjectSecretRequest
2288
2288
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectSecret}
@@ -2298,7 +2298,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2298
2298
  /**
2299
2299
  * Upload firmware
2300
2300
  * Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
2301
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2301
+ * @param {String} projectOrProductUID
2302
2302
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2303
2303
  * @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
2304
2304
  * @param {File} body contents of the firmware binary
@@ -2349,7 +2349,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2349
2349
  /**
2350
2350
  * Upload firmware
2351
2351
  * Upload a host or Notecard firmware binary. Notehub usually adds a timestamp to `filename`; use the returned `filename` from then on. Requires the Owner or Developer role. Returns 400 for host firmware on a sub-project, whose parent manages it, and 500 for a wrong file type or a file over the limit: 1.5 MB for host firmware, 2 MB for `notecard-s3-*` and 1 MB for other Notecard firmware.
2352
- * @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
2352
+ * @param {String} projectOrProductUID
2353
2353
  * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2354
2354
  * @param {String} filename Name to store the file under. Notehub adds `$` and a timestamp before the extension, except for a Notecard firmware name that already contains `$`.
2355
2355
  * @param {File} body contents of the firmware binary