@blues-inc/notehub-js 6.7.0-beta.46 → 6.7.0-beta.47

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 (187) hide show
  1. package/README.md +35 -35
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +1 -1
  7. package/dist/api/EventApi.js +1 -1
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +137 -125
  13. package/dist/api/RouteApi.js +1 -1
  14. package/dist/api/SkillsApi.js +1 -1
  15. package/dist/api/UsageApi.js +1 -1
  16. package/dist/api/WebhookApi.js +1 -1
  17. package/dist/model/AWSRoleConfig.js +1 -1
  18. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  19. package/dist/model/Alert.js +1 -1
  20. package/dist/model/AlertDataInner.js +1 -1
  21. package/dist/model/AlertNotificationsInner.js +1 -1
  22. package/dist/model/ArchiveStats.js +1 -1
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/BatchJobNoteRequest.js +1 -1
  26. package/dist/model/BatchJobRequests.js +1 -1
  27. package/dist/model/BillingAccount.js +1 -1
  28. package/dist/model/BlynkRoute.js +1 -1
  29. package/dist/model/Body.js +1 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +1 -1
  32. package/dist/model/CloneProjectRequest.js +7 -7
  33. package/dist/model/Contact.js +1 -1
  34. package/dist/model/CreateFleetRequest.js +4 -3
  35. package/dist/model/CreateJob201Response.js +1 -1
  36. package/dist/model/CreateMonitor.js +1 -1
  37. package/dist/model/CreateProductRequest.js +6 -7
  38. package/dist/model/CreateProjectRequest.js +5 -5
  39. package/dist/model/CreateProjectSecretRequest.js +5 -5
  40. package/dist/model/CreateUpdateRepository.js +1 -1
  41. package/dist/model/CreatedRepository.js +1 -1
  42. package/dist/model/CurrentFirmware.js +1 -1
  43. package/dist/model/DFUEnv.js +1 -1
  44. package/dist/model/DFUState.js +1 -1
  45. package/dist/model/DataField.js +1 -1
  46. package/dist/model/DataSet.js +1 -1
  47. package/dist/model/DataSetField.js +1 -1
  48. package/dist/model/DataUsage.js +1 -1
  49. package/dist/model/DatacakeRoute.js +1 -1
  50. package/dist/model/DatasetReloadProgress.js +1 -1
  51. package/dist/model/DeleteDeviceFromFleetsRequest.js +3 -3
  52. package/dist/model/DeleteJob200Response.js +1 -1
  53. package/dist/model/DeleteNotefilesRequest.js +1 -1
  54. package/dist/model/DescriptionRecord.js +1 -1
  55. package/dist/model/DescriptionRecordList.js +1 -1
  56. package/dist/model/Device.js +1 -1
  57. package/dist/model/DeviceDfuHistory.js +1 -1
  58. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  62. package/dist/model/DeviceDfuStatus.js +1 -1
  63. package/dist/model/DeviceDfuStatusPage.js +1 -1
  64. package/dist/model/DeviceSensor.js +1 -1
  65. package/dist/model/DeviceSession.js +1 -1
  66. package/dist/model/DeviceTowerInfo.js +1 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +1 -1
  69. package/dist/model/EmailNotification.js +1 -1
  70. package/dist/model/EnvTreeJsonNode.js +1 -1
  71. package/dist/model/EnvVar.js +1 -1
  72. package/dist/model/EnvironmentVariables.js +1 -1
  73. package/dist/model/Error.js +1 -1
  74. package/dist/model/Event.js +1 -1
  75. package/dist/model/Filter.js +1 -1
  76. package/dist/model/Firmware.js +1 -1
  77. package/dist/model/FirmwareInfo.js +1 -1
  78. package/dist/model/Fleet.js +11 -10
  79. package/dist/model/FleetConnectivityAssurance.js +1 -1
  80. package/dist/model/GetAlerts200Response.js +1 -1
  81. package/dist/model/GetApiUsage200Response.js +1 -1
  82. package/dist/model/GetDataUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  84. package/dist/model/GetDbNote200Response.js +1 -1
  85. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  86. package/dist/model/GetDeviceFleets200Response.js +1 -1
  87. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  88. package/dist/model/GetDeviceJourney200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  90. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  91. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  92. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  93. package/dist/model/GetDevicePlans200Response.js +1 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  97. package/dist/model/GetDeviceSessions200Response.js +1 -1
  98. package/dist/model/GetDevices200Response.js +1 -1
  99. package/dist/model/GetEvents200Response.js +1 -1
  100. package/dist/model/GetJobRuns200Response.js +1 -1
  101. package/dist/model/GetJobs200Response.js +1 -1
  102. package/dist/model/GetNotefile200Response.js +1 -1
  103. package/dist/model/GetOrganization200Response.js +1 -1
  104. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  105. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  107. package/dist/model/GetOrganizations200Response.js +1 -1
  108. package/dist/model/GetProducts200Response.js +1 -1
  109. package/dist/model/GetProjectMembers200Response.js +1 -1
  110. package/dist/model/GetProjectSecretsResponse.js +1 -1
  111. package/dist/model/GetProjects200Response.js +1 -1
  112. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  113. package/dist/model/GetSessionsUsage200Response.js +1 -1
  114. package/dist/model/GetWebhooks200Response.js +1 -1
  115. package/dist/model/GoogleRoute.js +1 -1
  116. package/dist/model/HealthLog.js +1 -1
  117. package/dist/model/HttpRoute.js +1 -1
  118. package/dist/model/Job.js +1 -1
  119. package/dist/model/JobDefinition.js +1 -1
  120. package/dist/model/JobDefinitionReportOptions.js +1 -1
  121. package/dist/model/JobDefinitionSelect.js +1 -1
  122. package/dist/model/JobDetail.js +1 -1
  123. package/dist/model/JobDetailAllOf.js +1 -1
  124. package/dist/model/JobRun.js +1 -1
  125. package/dist/model/Location.js +1 -1
  126. package/dist/model/Monitor.js +1 -1
  127. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  128. package/dist/model/MqttRoute.js +1 -1
  129. package/dist/model/Note.js +1 -1
  130. package/dist/model/NoteInput.js +1 -1
  131. package/dist/model/Notefile.js +1 -1
  132. package/dist/model/NotefileSchema.js +3 -5
  133. package/dist/model/NotehubRoute.js +1 -1
  134. package/dist/model/NotehubRouteSummary.js +1 -1
  135. package/dist/model/OAuth2Error.js +1 -1
  136. package/dist/model/OAuth2TokenResponse.js +1 -1
  137. package/dist/model/Organization.js +1 -1
  138. package/dist/model/Product.js +4 -8
  139. package/dist/model/Project.js +4 -7
  140. package/dist/model/ProjectMember.js +4 -5
  141. package/dist/model/ProjectSecret.js +7 -7
  142. package/dist/model/ProvisionDeviceRequest.js +1 -1
  143. package/dist/model/ProxyRoute.js +1 -1
  144. package/dist/model/QubitroRoute.js +1 -1
  145. package/dist/model/RadRoute.js +1 -1
  146. package/dist/model/Repository.js +1 -1
  147. package/dist/model/RepositoryListResponse.js +1 -1
  148. package/dist/model/RepositoryTokenRequest.js +1 -1
  149. package/dist/model/RepositoryTokenResponse.js +1 -1
  150. package/dist/model/RouteLog.js +1 -1
  151. package/dist/model/RouteTransformSettings.js +1 -1
  152. package/dist/model/RunJob200Response.js +1 -1
  153. package/dist/model/S3ArchiveRoute.js +1 -1
  154. package/dist/model/SatelliteDataUsage.js +1 -1
  155. package/dist/model/SatellitePlan.js +1 -1
  156. package/dist/model/SchemaProperty.js +4 -6
  157. package/dist/model/SignalDevice200Response.js +1 -1
  158. package/dist/model/SimUsage.js +1 -1
  159. package/dist/model/Skill.js +1 -1
  160. package/dist/model/SkillLinks.js +1 -1
  161. package/dist/model/SkillSet.js +1 -1
  162. package/dist/model/SkillSummary.js +1 -1
  163. package/dist/model/SkillWrite.js +1 -1
  164. package/dist/model/SkillWriteResult.js +1 -1
  165. package/dist/model/SlackBearerNotification.js +1 -1
  166. package/dist/model/SlackRoute.js +1 -1
  167. package/dist/model/SlackWebHookNotification.js +1 -1
  168. package/dist/model/SnowflakeRoute.js +1 -1
  169. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  170. package/dist/model/ThingworxRoute.js +1 -1
  171. package/dist/model/TowerLocation.js +1 -1
  172. package/dist/model/TwilioRoute.js +1 -1
  173. package/dist/model/UpdateFleetRequest.js +7 -6
  174. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  175. package/dist/model/UpdateProjectSecretRequest.js +3 -3
  176. package/dist/model/UploadMetadata.js +1 -1
  177. package/dist/model/UsageApiData.js +1 -1
  178. package/dist/model/UsageData.js +1 -1
  179. package/dist/model/UsageEventsData.js +1 -1
  180. package/dist/model/UsageEventsResponse.js +1 -1
  181. package/dist/model/UsageRouteLogsData.js +1 -1
  182. package/dist/model/UsageSessionsData.js +1 -1
  183. package/dist/model/UserDfuStateMachine.js +1 -1
  184. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  185. package/dist/model/UserFirmwareInfo.js +1 -1
  186. package/dist/model/WebhookSettings.js +1 -1
  187. 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 6.7.0-beta.46
59
+ * @version 6.7.0-beta.47
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -72,10 +72,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
72
72
  }
73
73
 
74
74
  /**
75
- * Add Device to Fleets
75
+ * Add a device to fleets
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.
76
77
  * @param {String} projectOrProductUID
77
78
  * @param {String} deviceUID
78
- * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
79
+ * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add the device to.
79
80
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
80
81
  */
81
82
  return _createClass(ProjectApi, [{
@@ -109,10 +110,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
109
110
  }
110
111
 
111
112
  /**
112
- * Add Device to Fleets
113
+ * Add a device to fleets
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.
113
115
  * @param {String} projectOrProductUID
114
116
  * @param {String} deviceUID
115
- * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add to the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
117
+ * @param {module:model/AddDeviceToFleetsRequest} addDeviceToFleetsRequest The fleets to add the device to.
116
118
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
117
119
  */
118
120
  }, {
@@ -124,10 +126,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
124
126
  }
125
127
 
126
128
  /**
127
- * Clone a project
128
- * Create a new project with copies of this project's settings, environment variables, transformation, fleets and routes. Devices, products and members are not copied, and 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).
129
+ * Clone a Project
129
130
  * @param {String} projectOrProductUID
130
- * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
131
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
131
132
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
132
133
  */
133
134
  }, {
@@ -156,10 +157,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
156
157
  }
157
158
 
158
159
  /**
159
- * Clone a project
160
- * Create a new project with copies of this project's settings, environment variables, transformation, fleets and routes. Devices, products and members are not copied, and 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).
160
+ * Clone a Project
161
161
  * @param {String} projectOrProductUID
162
- * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
162
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
163
163
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
164
164
  */
165
165
  }, {
@@ -171,9 +171,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
171
171
  }
172
172
 
173
173
  /**
174
- * Create Fleet
174
+ * Create a fleet
175
+ * 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.
175
176
  * @param {String} projectOrProductUID
176
- * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
177
+ * @param {module:model/CreateFleetRequest} createFleetRequest The new fleet's name and settings.
177
178
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
178
179
  */
179
180
  }, {
@@ -202,9 +203,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
202
203
  }
203
204
 
204
205
  /**
205
- * Create Fleet
206
+ * Create a fleet
207
+ * 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.
206
208
  * @param {String} projectOrProductUID
207
- * @param {module:model/CreateFleetRequest} createFleetRequest Fleet to be added
209
+ * @param {module:model/CreateFleetRequest} createFleetRequest The new fleet's name and settings.
208
210
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
209
211
  */
210
212
  }, {
@@ -216,10 +218,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
216
218
  }
217
219
 
218
220
  /**
219
- * Create a product
220
- * 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.
221
+ * Create Product within a Project
221
222
  * @param {String} projectOrProductUID
222
- * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
223
+ * @param {module:model/CreateProductRequest} createProductRequest Product to be created
223
224
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
224
225
  */
225
226
  }, {
@@ -248,10 +249,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
248
249
  }
249
250
 
250
251
  /**
251
- * Create a product
252
- * 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.
252
+ * Create Product within a Project
253
253
  * @param {String} projectOrProductUID
254
- * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
254
+ * @param {module:model/CreateProductRequest} createProductRequest Product to be created
255
255
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
256
256
  */
257
257
  }, {
@@ -263,9 +263,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
263
263
  }
264
264
 
265
265
  /**
266
- * Create a project
267
- * Create a project in an organization, with one default fleet, no products, and the caller as its Owner. A second call creates another project. Requires a verified email address (401 otherwise) and permission to create projects in the organization (403 otherwise).
268
- * @param {module:model/CreateProjectRequest} createProjectRequest The new project's name and organization.
266
+ * Create a Project
267
+ * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
269
268
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
270
269
  */
271
270
  }, {
@@ -288,9 +287,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
288
287
  }
289
288
 
290
289
  /**
291
- * Create a project
292
- * Create a project in an organization, with one default fleet, no products, and the caller as its Owner. A second call creates another project. Requires a verified email address (401 otherwise) and permission to create projects in the organization (403 otherwise).
293
- * @param {module:model/CreateProjectRequest} createProjectRequest The new project's name and organization.
290
+ * Create a Project
291
+ * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
294
292
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
295
293
  */
296
294
  }, {
@@ -302,7 +300,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
302
300
  }
303
301
 
304
302
  /**
305
- * Create a new project secret
303
+ * Create a project secret
304
+ * 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.
306
305
  * @param {String} projectOrProductUID
307
306
  * @param {module:model/CreateProjectSecretRequest} createProjectSecretRequest
308
307
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectSecret} and HTTP response
@@ -333,7 +332,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
333
332
  }
334
333
 
335
334
  /**
336
- * Create a new project secret
335
+ * Create a project secret
336
+ * 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.
337
337
  * @param {String} projectOrProductUID
338
338
  * @param {module:model/CreateProjectSecretRequest} createProjectSecretRequest
339
339
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectSecret}
@@ -347,10 +347,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
347
347
  }
348
348
 
349
349
  /**
350
- * Remove Device from Fleets
350
+ * Remove a device from fleets
351
+ * 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.
351
352
  * @param {String} projectOrProductUID
352
353
  * @param {String} deviceUID
353
- * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
354
+ * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove the device from.
354
355
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
355
356
  */
356
357
  }, {
@@ -384,10 +385,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
384
385
  }
385
386
 
386
387
  /**
387
- * Remove Device from Fleets
388
+ * Remove a device from fleets
389
+ * 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.
388
390
  * @param {String} projectOrProductUID
389
391
  * @param {String} deviceUID
390
- * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove from the device. Note that the endpoint takes an array of fleetUIDs, to facilitate multi-fleet devices. Multi-fleet is not yet enabled on all SaaS plans - unless it is supported by the SaaS plan of the project, passing more than a single fleetUID in the array is an error.
392
+ * @param {module:model/DeleteDeviceFromFleetsRequest} deleteDeviceFromFleetsRequest The fleets to remove the device from.
391
393
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
392
394
  */
393
395
  }, {
@@ -452,7 +454,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
452
454
  }
453
455
 
454
456
  /**
455
- * Delete Fleet
457
+ * Delete a fleet
458
+ * 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.
456
459
  * @param {String} projectOrProductUID
457
460
  * @param {String} fleetUID
458
461
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -484,7 +487,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
484
487
  }
485
488
 
486
489
  /**
487
- * Delete Fleet
490
+ * Delete a fleet
491
+ * 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.
488
492
  * @param {String} projectOrProductUID
489
493
  * @param {String} fleetUID
490
494
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -498,10 +502,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
498
502
  }
499
503
 
500
504
  /**
501
- * Delete environment variables of a fleet
505
+ * Delete a fleet environment variable
506
+ * 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.
502
507
  * @param {String} projectOrProductUID
503
508
  * @param {String} fleetUID
504
- * @param {String} key The environment variable key to delete.
509
+ * @param {String} key Name of the environment variable to delete.
505
510
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
506
511
  */
507
512
  }, {
@@ -536,10 +541,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
536
541
  }
537
542
 
538
543
  /**
539
- * Delete environment variables of a fleet
544
+ * Delete a fleet environment variable
545
+ * 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.
540
546
  * @param {String} projectOrProductUID
541
547
  * @param {String} fleetUID
542
- * @param {String} key The environment variable key to delete.
548
+ * @param {String} key Name of the environment variable to delete.
543
549
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
544
550
  */
545
551
  }, {
@@ -552,7 +558,6 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
552
558
 
553
559
  /**
554
560
  * Delete a product
555
- * 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.
556
561
  * @param {String} projectOrProductUID
557
562
  * @param {String} productUID
558
563
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -585,7 +590,6 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
585
590
 
586
591
  /**
587
592
  * Delete a product
588
- * 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.
589
593
  * @param {String} projectOrProductUID
590
594
  * @param {String} productUID
591
595
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -599,8 +603,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
599
603
  }
600
604
 
601
605
  /**
602
- * Delete a project
603
- * 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.
606
+ * Delete a Project by ProjectUID
604
607
  * @param {String} projectOrProductUID
605
608
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
606
609
  */
@@ -626,8 +629,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
626
629
  }
627
630
 
628
631
  /**
629
- * Delete a project
630
- * 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.
632
+ * Delete a Project by ProjectUID
631
633
  * @param {String} projectOrProductUID
632
634
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
633
635
  */
@@ -640,9 +642,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
640
642
  }
641
643
 
642
644
  /**
643
- * Delete an environment variable of a project by key
645
+ * Delete a project environment variable
646
+ * 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.
644
647
  * @param {String} projectOrProductUID
645
- * @param {String} key The environment variable key to delete.
648
+ * @param {String} key Name of the environment variable to delete.
646
649
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
647
650
  */
648
651
  }, {
@@ -672,9 +675,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
672
675
  }
673
676
 
674
677
  /**
675
- * Delete an environment variable of a project by key
678
+ * Delete a project environment variable
679
+ * 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.
676
680
  * @param {String} projectOrProductUID
677
- * @param {String} key The environment variable key to delete.
681
+ * @param {String} key Name of the environment variable to delete.
678
682
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
679
683
  */
680
684
  }, {
@@ -686,9 +690,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
686
690
  }
687
691
 
688
692
  /**
689
- * Delete a project secret by name
693
+ * Delete a project secret
694
+ * 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.
690
695
  * @param {String} projectOrProductUID
691
- * @param {String} secretName The name of the secret.
696
+ * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
692
697
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
693
698
  */
694
699
  }, {
@@ -718,9 +723,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
718
723
  }
719
724
 
720
725
  /**
721
- * Delete a project secret by name
726
+ * Delete a project secret
727
+ * 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.
722
728
  * @param {String} projectOrProductUID
723
- * @param {String} secretName The name of the secret.
729
+ * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
724
730
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
725
731
  */
726
732
  }, {
@@ -732,8 +738,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
732
738
  }
733
739
 
734
740
  /**
735
- * Disable the global event transformation
736
- * 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.
741
+ * Disable the project-level event JSONata transformation
737
742
  * @param {String} projectOrProductUID
738
743
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
739
744
  */
@@ -759,8 +764,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
759
764
  }
760
765
 
761
766
  /**
762
- * Disable the global event transformation
763
- * 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.
767
+ * Disable the project-level event JSONata transformation
764
768
  * @param {String} projectOrProductUID
765
769
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
766
770
  */
@@ -826,8 +830,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
826
830
  }
827
831
 
828
832
  /**
829
- * Enable the global event transformation
830
- * 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.
833
+ * Enable the project-level event JSONata transformation
831
834
  * @param {String} projectOrProductUID
832
835
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
833
836
  */
@@ -853,8 +856,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
853
856
  }
854
857
 
855
858
  /**
856
- * Enable the global event transformation
857
- * 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.
859
+ * Enable the project-level event JSONata transformation
858
860
  * @param {String} projectOrProductUID
859
861
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
860
862
  */
@@ -868,7 +870,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
868
870
 
869
871
  /**
870
872
  * Get AWS role configuration for role-based authentication
871
- * 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.
873
+ * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
872
874
  * @param {String} projectOrProductUID
873
875
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AWSRoleConfig} and HTTP response
874
876
  */
@@ -895,7 +897,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
895
897
 
896
898
  /**
897
899
  * Get AWS role configuration for role-based authentication
898
- * 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.
900
+ * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
899
901
  * @param {String} projectOrProductUID
900
902
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AWSRoleConfig}
901
903
  */
@@ -1014,7 +1016,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1014
1016
  }
1015
1017
 
1016
1018
  /**
1017
- * Get Device Fleets
1019
+ * List a device's fleets
1020
+ * 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.
1018
1021
  * @param {String} projectOrProductUID
1019
1022
  * @param {String} deviceUID
1020
1023
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
@@ -1046,7 +1049,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1046
1049
  }
1047
1050
 
1048
1051
  /**
1049
- * Get Device Fleets
1052
+ * List a device's fleets
1053
+ * 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.
1050
1054
  * @param {String} projectOrProductUID
1051
1055
  * @param {String} deviceUID
1052
1056
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
@@ -1314,7 +1318,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1314
1318
  }
1315
1319
 
1316
1320
  /**
1317
- * Get Fleet
1321
+ * Get a fleet
1322
+ * 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.
1318
1323
  * @param {String} projectOrProductUID
1319
1324
  * @param {String} fleetUID
1320
1325
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
@@ -1346,7 +1351,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1346
1351
  }
1347
1352
 
1348
1353
  /**
1349
- * Get Fleet
1354
+ * Get a fleet
1355
+ * 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.
1350
1356
  * @param {String} projectOrProductUID
1351
1357
  * @param {String} fleetUID
1352
1358
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
@@ -1360,7 +1366,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1360
1366
  }
1361
1367
 
1362
1368
  /**
1363
- * Get environment variable hierarchy for a device
1369
+ * Get a fleet's environment hierarchy
1370
+ * 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.
1364
1371
  * @param {String} projectOrProductUID
1365
1372
  * @param {String} fleetUID
1366
1373
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
@@ -1392,7 +1399,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1392
1399
  }
1393
1400
 
1394
1401
  /**
1395
- * Get environment variable hierarchy for a device
1402
+ * Get a fleet's environment hierarchy
1403
+ * 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.
1396
1404
  * @param {String} projectOrProductUID
1397
1405
  * @param {String} fleetUID
1398
1406
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
@@ -1406,7 +1414,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1406
1414
  }
1407
1415
 
1408
1416
  /**
1409
- * Get environment variables of a fleet
1417
+ * Get fleet environment variables
1418
+ * 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.
1410
1419
  * @param {String} projectOrProductUID
1411
1420
  * @param {String} fleetUID
1412
1421
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
@@ -1438,7 +1447,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1438
1447
  }
1439
1448
 
1440
1449
  /**
1441
- * Get environment variables of a fleet
1450
+ * Get fleet environment variables
1451
+ * 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.
1442
1452
  * @param {String} projectOrProductUID
1443
1453
  * @param {String} fleetUID
1444
1454
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
@@ -1452,7 +1462,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1452
1462
  }
1453
1463
 
1454
1464
  /**
1455
- * Get Project Fleets
1465
+ * List fleets
1466
+ * List the project's fleets with each one's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Not paginated.
1456
1467
  * @param {String} projectOrProductUID
1457
1468
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceFleets200Response} and HTTP response
1458
1469
  */
@@ -1478,7 +1489,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1478
1489
  }
1479
1490
 
1480
1491
  /**
1481
- * Get Project Fleets
1492
+ * List fleets
1493
+ * List the project's fleets with each one's label, smart rule, watchdog and environment variables. Doesn't include `smart_rule_enabled`. Not paginated.
1482
1494
  * @param {String} projectOrProductUID
1483
1495
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceFleets200Response}
1484
1496
  */
@@ -1491,8 +1503,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1491
1503
  }
1492
1504
 
1493
1505
  /**
1494
- * List Notefile schemas
1495
- * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1506
+ * Get variable format for a notefile
1496
1507
  * @param {String} projectOrProductUID
1497
1508
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotefileSchema>} and HTTP response
1498
1509
  */
@@ -1518,8 +1529,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1518
1529
  }
1519
1530
 
1520
1531
  /**
1521
- * List Notefile schemas
1522
- * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1532
+ * Get variable format for a notefile
1523
1533
  * @param {String} projectOrProductUID
1524
1534
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotefileSchema>}
1525
1535
  */
@@ -1532,8 +1542,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1532
1542
  }
1533
1543
 
1534
1544
  /**
1535
- * List a project's products
1536
- * 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.
1545
+ * Get Products within a Project
1537
1546
  * @param {String} projectOrProductUID
1538
1547
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProducts200Response} and HTTP response
1539
1548
  */
@@ -1559,8 +1568,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1559
1568
  }
1560
1569
 
1561
1570
  /**
1562
- * List a project's products
1563
- * 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.
1571
+ * Get Products within a Project
1564
1572
  * @param {String} projectOrProductUID
1565
1573
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProducts200Response}
1566
1574
  */
@@ -1573,8 +1581,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1573
1581
  }
1574
1582
 
1575
1583
  /**
1576
- * Get a project
1577
- * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1584
+ * Get a Project by ProjectUID
1578
1585
  * @param {String} projectOrProductUID
1579
1586
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1580
1587
  */
@@ -1600,8 +1607,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1600
1607
  }
1601
1608
 
1602
1609
  /**
1603
- * Get a project
1604
- * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1610
+ * Get a Project by ProjectUID
1605
1611
  * @param {String} projectOrProductUID
1606
1612
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1607
1613
  */
@@ -1614,9 +1620,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1614
1620
  }
1615
1621
 
1616
1622
  /**
1617
- * Get the project for a ProductUID
1618
- * Get the project that a ProductUID belongs to. Returns the same object as `GetProject`, which also accepts a ProductUID in place of a ProjectUID.
1619
- * @param {String} productUID ProductUID, e.g. `com.blues.airnote`, with or without the `product:` prefix.
1623
+ * Get a Project by ProductUID
1624
+ * @param {String} productUID
1620
1625
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1621
1626
  */
1622
1627
  }, {
@@ -1641,9 +1646,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1641
1646
  }
1642
1647
 
1643
1648
  /**
1644
- * Get the project for a ProductUID
1645
- * Get the project that a ProductUID belongs to. Returns the same object as `GetProject`, which also accepts a ProductUID in place of a ProjectUID.
1646
- * @param {String} productUID ProductUID, e.g. `com.blues.airnote`, with or without the `product:` prefix.
1649
+ * Get a Project by ProductUID
1650
+ * @param {String} productUID
1647
1651
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1648
1652
  */
1649
1653
  }, {
@@ -1655,7 +1659,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1655
1659
  }
1656
1660
 
1657
1661
  /**
1658
- * Get environment variable hierarchy for a device
1662
+ * Get the project environment hierarchy
1663
+ * 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`.
1659
1664
  * @param {String} projectOrProductUID
1660
1665
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvTreeJsonNode} and HTTP response
1661
1666
  */
@@ -1681,7 +1686,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1681
1686
  }
1682
1687
 
1683
1688
  /**
1684
- * Get environment variable hierarchy for a device
1689
+ * Get the project environment hierarchy
1690
+ * 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`.
1685
1691
  * @param {String} projectOrProductUID
1686
1692
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvTreeJsonNode}
1687
1693
  */
@@ -1694,7 +1700,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1694
1700
  }
1695
1701
 
1696
1702
  /**
1697
- * Get environment variables of a project
1703
+ * Get project environment variables
1704
+ * 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`.
1698
1705
  * @param {String} projectOrProductUID
1699
1706
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1700
1707
  */
@@ -1720,7 +1727,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1720
1727
  }
1721
1728
 
1722
1729
  /**
1723
- * Get environment variables of a project
1730
+ * Get project environment variables
1731
+ * 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`.
1724
1732
  * @param {String} projectOrProductUID
1725
1733
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1726
1734
  */
@@ -1733,8 +1741,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1733
1741
  }
1734
1742
 
1735
1743
  /**
1736
- * List project members
1737
- * 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.
1744
+ * Get Project Members
1738
1745
  * @param {String} projectOrProductUID
1739
1746
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1740
1747
  */
@@ -1760,8 +1767,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1760
1767
  }
1761
1768
 
1762
1769
  /**
1763
- * List project members
1764
- * 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.
1770
+ * Get Project Members
1765
1771
  * @param {String} projectOrProductUID
1766
1772
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1767
1773
  */
@@ -1774,7 +1780,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1774
1780
  }
1775
1781
 
1776
1782
  /**
1777
- * Get all secrets for a project (metadata only, values are never returned)
1783
+ * List project secrets
1784
+ * List the project's secrets by name, with who created and last changed each one and when. Values are never returned.
1778
1785
  * @param {String} projectOrProductUID
1779
1786
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectSecretsResponse} and HTTP response
1780
1787
  */
@@ -1800,7 +1807,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1800
1807
  }
1801
1808
 
1802
1809
  /**
1803
- * Get all secrets for a project (metadata only, values are never returned)
1810
+ * List project secrets
1811
+ * List the project's secrets by name, with who created and last changed each one and when. Values are never returned.
1804
1812
  * @param {String} projectOrProductUID
1805
1813
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectSecretsResponse}
1806
1814
  */
@@ -1813,8 +1821,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1813
1821
  }
1814
1822
 
1815
1823
  /**
1816
- * List projects
1817
- * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1824
+ * Get Projects accessible by the api_key
1818
1825
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjects200Response} and HTTP response
1819
1826
  */
1820
1827
  }, {
@@ -1833,8 +1840,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1833
1840
  }
1834
1841
 
1835
1842
  /**
1836
- * List projects
1837
- * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1843
+ * Get Projects accessible by the api_key
1838
1844
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjects200Response}
1839
1845
  */
1840
1846
  }, {
@@ -1932,10 +1938,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1932
1938
  }
1933
1939
 
1934
1940
  /**
1935
- * Set environment variables of a fleet
1941
+ * Set fleet environment variables
1942
+ * 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.
1936
1943
  * @param {String} projectOrProductUID
1937
1944
  * @param {String} fleetUID
1938
- * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1945
+ * @param {module:model/EnvironmentVariables} environmentVariables The variables to add or change, and optional notes.
1939
1946
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/EnvironmentVariables} and HTTP response
1940
1947
  */
1941
1948
  }, {
@@ -1969,10 +1976,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1969
1976
  }
1970
1977
 
1971
1978
  /**
1972
- * Set environment variables of a fleet
1979
+ * Set fleet environment variables
1980
+ * 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.
1973
1981
  * @param {String} projectOrProductUID
1974
1982
  * @param {String} fleetUID
1975
- * @param {module:model/EnvironmentVariables} environmentVariables Environment variables to be added to the fleet
1983
+ * @param {module:model/EnvironmentVariables} environmentVariables The variables to add or change, and optional notes.
1976
1984
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/EnvironmentVariables}
1977
1985
  */
1978
1986
  }, {
@@ -1984,10 +1992,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1984
1992
  }
1985
1993
 
1986
1994
  /**
1987
- * Set the global event transformation
1988
- * Set the project's JSONata expression that rewrites each new event before it is stored and routed. It can change `body`, `payload` and `details`, or discard the event with `$doNotRoute()`. Doesn't change whether the transformation is enabled. Requires the Owner or Developer role. Returns 400 if the expression doesn't compile, or for a sub-project, whose parent's transformation applies.
1995
+ * Set the project-level event JSONata transformation
1989
1996
  * @param {String} projectOrProductUID
1990
- * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1997
+ * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
1991
1998
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1992
1999
  */
1993
2000
  }, {
@@ -2016,10 +2023,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2016
2023
  }
2017
2024
 
2018
2025
  /**
2019
- * Set the global event transformation
2020
- * Set the project's JSONata expression that rewrites each new event before it is stored and routed. It can change `body`, `payload` and `details`, or discard the event with `$doNotRoute()`. Doesn't change whether the transformation is enabled. Requires the Owner or Developer role. Returns 400 if the expression doesn't compile, or for a sub-project, whose parent's transformation applies.
2026
+ * Set the project-level event JSONata transformation
2021
2027
  * @param {String} projectOrProductUID
2022
- * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
2028
+ * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
2023
2029
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2024
2030
  */
2025
2031
  }, {
@@ -2031,7 +2037,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2031
2037
  }
2032
2038
 
2033
2039
  /**
2034
- * Set environment variables of a project
2040
+ * Set project environment variables
2041
+ * 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.
2035
2042
  * @param {String} projectOrProductUID
2036
2043
  * @param {Object} opts Optional parameters
2037
2044
  * @param {module:model/EnvironmentVariables} opts.environmentVariables
@@ -2060,7 +2067,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2060
2067
  }
2061
2068
 
2062
2069
  /**
2063
- * Set environment variables of a project
2070
+ * Set project environment variables
2071
+ * 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.
2064
2072
  * @param {String} projectOrProductUID
2065
2073
  * @param {Object} opts Optional parameters
2066
2074
  * @param {module:model/EnvironmentVariables} opts.environmentVariables
@@ -2134,10 +2142,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2134
2142
  }
2135
2143
 
2136
2144
  /**
2137
- * Update Fleet
2145
+ * Update a fleet
2146
+ * 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. An empty `label` or `smart_rule` keeps the current value; `-` clears it. Requires the Owner or Developer role. Returns 400 for an unknown fleet or DeviceUID.
2138
2147
  * @param {String} projectOrProductUID
2139
2148
  * @param {String} fleetUID
2140
- * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
2149
+ * @param {module:model/UpdateFleetRequest} updateFleetRequest The fields to change. Fields left out keep their values, except `smart_rule_enabled`.
2141
2150
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Fleet} and HTTP response
2142
2151
  */
2143
2152
  }, {
@@ -2171,10 +2180,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2171
2180
  }
2172
2181
 
2173
2182
  /**
2174
- * Update Fleet
2183
+ * Update a fleet
2184
+ * 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. An empty `label` or `smart_rule` keeps the current value; `-` clears it. Requires the Owner or Developer role. Returns 400 for an unknown fleet or DeviceUID.
2175
2185
  * @param {String} projectOrProductUID
2176
2186
  * @param {String} fleetUID
2177
- * @param {module:model/UpdateFleetRequest} updateFleetRequest Fleet details to update
2187
+ * @param {module:model/UpdateFleetRequest} updateFleetRequest The fields to change. Fields left out keep their values, except `smart_rule_enabled`.
2178
2188
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Fleet}
2179
2189
  */
2180
2190
  }, {
@@ -2186,9 +2196,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2186
2196
  }
2187
2197
 
2188
2198
  /**
2189
- * Update the value of an existing project secret
2199
+ * Update a project secret
2200
+ * 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.
2190
2201
  * @param {String} projectOrProductUID
2191
- * @param {String} secretName The name of the secret.
2202
+ * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
2192
2203
  * @param {module:model/UpdateProjectSecretRequest} updateProjectSecretRequest
2193
2204
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/ProjectSecret} and HTTP response
2194
2205
  */
@@ -2223,9 +2234,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2223
2234
  }
2224
2235
 
2225
2236
  /**
2226
- * Update the value of an existing project secret
2237
+ * Update a project secret
2238
+ * 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.
2227
2239
  * @param {String} projectOrProductUID
2228
- * @param {String} secretName The name of the secret.
2240
+ * @param {String} secretName Name of the secret, as listed by `GetProjectSecrets`.
2229
2241
  * @param {module:model/UpdateProjectSecretRequest} updateProjectSecretRequest
2230
2242
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/ProjectSecret}
2231
2243
  */