@blues-inc/notehub-js 6.7.0-beta.61 → 6.7.0-beta.62

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 +25 -25
  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 +109 -117
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +1 -1
  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 +2 -1
  58. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +2 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +2 -2
  62. package/dist/model/DeviceDfuStatus.js +2 -2
  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 +2 -2
  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 +6 -6
  78. package/dist/model/Fleet.js +1 -1
  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 +1 -1
  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 +1 -1
  174. package/dist/model/UpdateHostFirmwareRequest.js +4 -4
  175. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  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.61
59
+ * @version 6.7.0-beta.62
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -124,10 +124,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
124
124
  }
125
125
 
126
126
  /**
127
- * Clone a project
128
- * 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).
127
+ * Clone a Project
129
128
  * @param {String} projectOrProductUID
130
- * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
129
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
131
130
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
132
131
  */
133
132
  }, {
@@ -156,10 +155,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
156
155
  }
157
156
 
158
157
  /**
159
- * Clone a project
160
- * 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).
158
+ * Clone a Project
161
159
  * @param {String} projectOrProductUID
162
- * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
160
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
163
161
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
164
162
  */
165
163
  }, {
@@ -216,10 +214,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
216
214
  }
217
215
 
218
216
  /**
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.
217
+ * Create Product within a Project
221
218
  * @param {String} projectOrProductUID
222
- * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
219
+ * @param {module:model/CreateProductRequest} createProductRequest Product to be created
223
220
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
224
221
  */
225
222
  }, {
@@ -248,10 +245,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
248
245
  }
249
246
 
250
247
  /**
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.
248
+ * Create Product within a Project
253
249
  * @param {String} projectOrProductUID
254
- * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
250
+ * @param {module:model/CreateProductRequest} createProductRequest Product to be created
255
251
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
256
252
  */
257
253
  }, {
@@ -263,9 +259,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
263
259
  }
264
260
 
265
261
  /**
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.
262
+ * Create a Project
263
+ * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
269
264
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
270
265
  */
271
266
  }, {
@@ -288,9 +283,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
288
283
  }
289
284
 
290
285
  /**
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.
286
+ * Create a Project
287
+ * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
294
288
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
295
289
  */
296
290
  }, {
@@ -399,7 +393,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
399
393
  }
400
394
 
401
395
  /**
402
- * Delete a host firmware binary. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
396
+ * Delete host firmware
397
+ * 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.
403
398
  * @param {String} projectOrProductUID
404
399
  * @param {module:model/String} firmwareType
405
400
  * @param {String} filename
@@ -437,7 +432,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
437
432
  }
438
433
 
439
434
  /**
440
- * Delete a host firmware binary. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
435
+ * Delete host firmware
436
+ * 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.
441
437
  * @param {String} projectOrProductUID
442
438
  * @param {module:model/String} firmwareType
443
439
  * @param {String} filename
@@ -552,7 +548,6 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
552
548
 
553
549
  /**
554
550
  * 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
551
  * @param {String} projectOrProductUID
557
552
  * @param {String} productUID
558
553
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -585,7 +580,6 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
585
580
 
586
581
  /**
587
582
  * 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
583
  * @param {String} projectOrProductUID
590
584
  * @param {String} productUID
591
585
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -599,8 +593,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
599
593
  }
600
594
 
601
595
  /**
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.
596
+ * Delete a Project by ProjectUID
604
597
  * @param {String} projectOrProductUID
605
598
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
606
599
  */
@@ -626,8 +619,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
626
619
  }
627
620
 
628
621
  /**
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.
622
+ * Delete a Project by ProjectUID
631
623
  * @param {String} projectOrProductUID
632
624
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
633
625
  */
@@ -732,8 +724,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
732
724
  }
733
725
 
734
726
  /**
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.
727
+ * Disable the project-level event JSONata transformation
737
728
  * @param {String} projectOrProductUID
738
729
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
739
730
  */
@@ -759,8 +750,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
759
750
  }
760
751
 
761
752
  /**
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.
753
+ * Disable the project-level event JSONata transformation
764
754
  * @param {String} projectOrProductUID
765
755
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
766
756
  */
@@ -773,9 +763,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
773
763
  }
774
764
 
775
765
  /**
776
- * Download firmware binary
766
+ * Download host firmware
767
+ * 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.
777
768
  * @param {String} projectOrProductUID
778
- * @param {module:model/String} firmwareType
769
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
779
770
  * @param {String} filename
780
771
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
781
772
  */
@@ -811,9 +802,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
811
802
  }
812
803
 
813
804
  /**
814
- * Download firmware binary
805
+ * Download host firmware
806
+ * 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.
815
807
  * @param {String} projectOrProductUID
816
- * @param {module:model/String} firmwareType
808
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
817
809
  * @param {String} filename
818
810
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
819
811
  */
@@ -826,8 +818,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
826
818
  }
827
819
 
828
820
  /**
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.
821
+ * Enable the project-level event JSONata transformation
831
822
  * @param {String} projectOrProductUID
832
823
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
833
824
  */
@@ -853,8 +844,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
853
844
  }
854
845
 
855
846
  /**
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.
847
+ * Enable the project-level event JSONata transformation
858
848
  * @param {String} projectOrProductUID
859
849
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
860
850
  */
@@ -868,7 +858,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
868
858
 
869
859
  /**
870
860
  * 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.
861
+ * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
872
862
  * @param {String} projectOrProductUID
873
863
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AWSRoleConfig} and HTTP response
874
864
  */
@@ -895,7 +885,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
895
885
 
896
886
  /**
897
887
  * 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.
888
+ * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
899
889
  * @param {String} projectOrProductUID
900
890
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AWSRoleConfig}
901
891
  */
@@ -908,10 +898,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
908
898
  }
909
899
 
910
900
  /**
911
- * Get device DFU history for host or Notecard firmware
901
+ * Get a device's firmware update history
902
+ * 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.
912
903
  * @param {String} projectOrProductUID
913
904
  * @param {String} deviceUID
914
- * @param {module:model/String} firmwareType
905
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
915
906
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistory} and HTTP response
916
907
  */
917
908
  }, {
@@ -946,10 +937,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
946
937
  }
947
938
 
948
939
  /**
949
- * Get device DFU history for host or Notecard firmware
940
+ * Get a device's firmware update history
941
+ * 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.
950
942
  * @param {String} projectOrProductUID
951
943
  * @param {String} deviceUID
952
- * @param {module:model/String} firmwareType
944
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
953
945
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistory}
954
946
  */
955
947
  }, {
@@ -961,10 +953,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
961
953
  }
962
954
 
963
955
  /**
964
- * Get device DFU history for host or Notecard firmware
956
+ * Get a device's firmware update status
957
+ * 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.
965
958
  * @param {String} projectOrProductUID
966
959
  * @param {String} deviceUID
967
- * @param {module:model/String} firmwareType
960
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
968
961
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatus} and HTTP response
969
962
  */
970
963
  }, {
@@ -999,10 +992,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
999
992
  }
1000
993
 
1001
994
  /**
1002
- * Get device DFU history for host or Notecard firmware
995
+ * Get a device's firmware update status
996
+ * 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.
1003
997
  * @param {String} projectOrProductUID
1004
998
  * @param {String} deviceUID
1005
- * @param {module:model/String} firmwareType
999
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1006
1000
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatus}
1007
1001
  */
1008
1002
  }, {
@@ -1060,9 +1054,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1060
1054
  }
1061
1055
 
1062
1056
  /**
1063
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1057
+ * List devices' firmware update history
1058
+ * 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.
1064
1059
  * @param {String} projectOrProductUID
1065
- * @param {module:model/String} firmwareType
1060
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1066
1061
  * @param {Object} opts Optional parameters
1067
1062
  * @param {Number} opts.pageSize (default to 1000)
1068
1063
  * @param {Number} opts.pageNum (default to 1)
@@ -1123,9 +1118,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1123
1118
  }
1124
1119
 
1125
1120
  /**
1126
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1121
+ * List devices' firmware update history
1122
+ * 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.
1127
1123
  * @param {String} projectOrProductUID
1128
- * @param {module:model/String} firmwareType
1124
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1129
1125
  * @param {Object} opts Optional parameters
1130
1126
  * @param {Number} opts.pageSize (default to 1000)
1131
1127
  * @param {Number} opts.pageNum (default to 1)
@@ -1152,9 +1148,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1152
1148
  }
1153
1149
 
1154
1150
  /**
1155
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1151
+ * List devices' firmware status
1152
+ * 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.
1156
1153
  * @param {String} projectOrProductUID
1157
- * @param {module:model/String} firmwareType
1154
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1158
1155
  * @param {Object} opts Optional parameters
1159
1156
  * @param {Number} opts.pageSize (default to 1000)
1160
1157
  * @param {Number} opts.pageNum (default to 1)
@@ -1215,9 +1212,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1215
1212
  }
1216
1213
 
1217
1214
  /**
1218
- * Get host or Notecard DFU history for all devices that match the filter criteria. With a `cursor`, changes made through fleet or project firmware settings will not appear until the device itself is next updated.
1215
+ * List devices' firmware status
1216
+ * 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.
1219
1217
  * @param {String} projectOrProductUID
1220
- * @param {module:model/String} firmwareType
1218
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1221
1219
  * @param {Object} opts Optional parameters
1222
1220
  * @param {Number} opts.pageSize (default to 1000)
1223
1221
  * @param {Number} opts.pageNum (default to 1)
@@ -1244,16 +1242,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1244
1242
  }
1245
1243
 
1246
1244
  /**
1247
- * Get Available Firmware Information
1245
+ * List firmware
1246
+ * 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.
1248
1247
  * @param {String} projectOrProductUID
1249
1248
  * @param {Object} opts Optional parameters
1250
- * @param {String} opts.product
1251
- * @param {String} opts.firmwareType
1252
- * @param {String} opts.version
1253
- * @param {String} opts.target
1254
- * @param {String} opts.filename
1255
- * @param {String} opts.md5
1256
- * @param {Boolean} opts.unpublished
1249
+ * @param {String} opts.product Only firmware whose product contains this text.
1250
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1251
+ * @param {String} opts.version Only firmware whose version contains this text.
1252
+ * @param {String} opts.target Only firmware whose target contains this text.
1253
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1254
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1255
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1257
1256
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1258
1257
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1259
1258
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/FirmwareInfo>} and HTTP response
@@ -1291,16 +1290,17 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1291
1290
  }
1292
1291
 
1293
1292
  /**
1294
- * Get Available Firmware Information
1293
+ * List firmware
1294
+ * 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.
1295
1295
  * @param {String} projectOrProductUID
1296
1296
  * @param {Object} opts Optional parameters
1297
- * @param {String} opts.product
1298
- * @param {String} opts.firmwareType
1299
- * @param {String} opts.version
1300
- * @param {String} opts.target
1301
- * @param {String} opts.filename
1302
- * @param {String} opts.md5
1303
- * @param {Boolean} opts.unpublished
1297
+ * @param {String} opts.product Only firmware whose product contains this text.
1298
+ * @param {String} opts.firmwareType Only list `host` or `notecard` firmware. Omit for both.
1299
+ * @param {String} opts.version Only firmware whose version contains this text.
1300
+ * @param {String} opts.target Only firmware whose target contains this text.
1301
+ * @param {String} opts.filename Only firmware whose stored filename contains this text.
1302
+ * @param {String} opts.md5 Only firmware whose MD5 hash contains this text.
1303
+ * @param {Boolean} opts.unpublished If `true`, also list unpublished Notecard firmware.
1304
1304
  * @param {module:model/String} opts.sortBy Field to sort by (default to 'created')
1305
1305
  * @param {module:model/String} opts.sortOrder Sort order (asc for ascending, desc for descending) (default to 'desc')
1306
1306
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/FirmwareInfo>}
@@ -1491,8 +1491,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1491
1491
  }
1492
1492
 
1493
1493
  /**
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.
1494
+ * Get variable format for a notefile
1496
1495
  * @param {String} projectOrProductUID
1497
1496
  * @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
1497
  */
@@ -1518,8 +1517,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1518
1517
  }
1519
1518
 
1520
1519
  /**
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.
1520
+ * Get variable format for a notefile
1523
1521
  * @param {String} projectOrProductUID
1524
1522
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotefileSchema>}
1525
1523
  */
@@ -1532,8 +1530,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1532
1530
  }
1533
1531
 
1534
1532
  /**
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.
1533
+ * Get Products within a Project
1537
1534
  * @param {String} projectOrProductUID
1538
1535
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProducts200Response} and HTTP response
1539
1536
  */
@@ -1559,8 +1556,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1559
1556
  }
1560
1557
 
1561
1558
  /**
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.
1559
+ * Get Products within a Project
1564
1560
  * @param {String} projectOrProductUID
1565
1561
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProducts200Response}
1566
1562
  */
@@ -1573,8 +1569,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1573
1569
  }
1574
1570
 
1575
1571
  /**
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.
1572
+ * Get a Project by ProjectUID
1578
1573
  * @param {String} projectOrProductUID
1579
1574
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1580
1575
  */
@@ -1600,8 +1595,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1600
1595
  }
1601
1596
 
1602
1597
  /**
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.
1598
+ * Get a Project by ProjectUID
1605
1599
  * @param {String} projectOrProductUID
1606
1600
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1607
1601
  */
@@ -1614,9 +1608,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1614
1608
  }
1615
1609
 
1616
1610
  /**
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.
1611
+ * Get a Project by ProductUID
1612
+ * @param {String} productUID
1620
1613
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1621
1614
  */
1622
1615
  }, {
@@ -1641,9 +1634,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1641
1634
  }
1642
1635
 
1643
1636
  /**
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.
1637
+ * Get a Project by ProductUID
1638
+ * @param {String} productUID
1647
1639
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1648
1640
  */
1649
1641
  }, {
@@ -1733,8 +1725,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1733
1725
  }
1734
1726
 
1735
1727
  /**
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.
1728
+ * Get Project Members
1738
1729
  * @param {String} projectOrProductUID
1739
1730
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1740
1731
  */
@@ -1760,8 +1751,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1760
1751
  }
1761
1752
 
1762
1753
  /**
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.
1754
+ * Get Project Members
1765
1755
  * @param {String} projectOrProductUID
1766
1756
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1767
1757
  */
@@ -1813,8 +1803,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1813
1803
  }
1814
1804
 
1815
1805
  /**
1816
- * List projects
1817
- * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1806
+ * Get Projects accessible by the api_key
1818
1807
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjects200Response} and HTTP response
1819
1808
  */
1820
1809
  }, {
@@ -1833,8 +1822,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1833
1822
  }
1834
1823
 
1835
1824
  /**
1836
- * List projects
1837
- * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1825
+ * Get Projects accessible by the api_key
1838
1826
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjects200Response}
1839
1827
  */
1840
1828
  }, {
@@ -1846,10 +1834,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1846
1834
  }
1847
1835
 
1848
1836
  /**
1849
- * Update/cancel host or notecard firmware updates
1837
+ * Start or cancel firmware updates
1838
+ * 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.
1850
1839
  * @param {String} projectOrProductUID
1851
- * @param {module:model/String} firmwareType
1852
- * @param {module:model/String} action
1840
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1841
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1853
1842
  * @param {Object} opts Optional parameters
1854
1843
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1855
1844
  * @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`.
@@ -1906,10 +1895,11 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1906
1895
  }
1907
1896
 
1908
1897
  /**
1909
- * Update/cancel host or notecard firmware updates
1898
+ * Start or cancel firmware updates
1899
+ * 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.
1910
1900
  * @param {String} projectOrProductUID
1911
- * @param {module:model/String} firmwareType
1912
- * @param {module:model/String} action
1901
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
1902
+ * @param {module:model/String} action - `update`: start updating to the firmware in `filename` - `cancel`: cancel any update in progress
1913
1903
  * @param {Object} opts Optional parameters
1914
1904
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1915
1905
  * @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`.
@@ -1984,10 +1974,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1984
1974
  }
1985
1975
 
1986
1976
  /**
1987
- * Set the global event transformation
1988
- * 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.
1977
+ * Set the project-level event JSONata transformation
1989
1978
  * @param {String} projectOrProductUID
1990
- * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1979
+ * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
1991
1980
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1992
1981
  */
1993
1982
  }, {
@@ -2016,10 +2005,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2016
2005
  }
2017
2006
 
2018
2007
  /**
2019
- * Set the global event transformation
2020
- * 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.
2008
+ * Set the project-level event JSONata transformation
2021
2009
  * @param {String} projectOrProductUID
2022
- * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
2010
+ * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
2023
2011
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
2024
2012
  */
2025
2013
  }, {
@@ -2075,7 +2063,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2075
2063
  }
2076
2064
 
2077
2065
  /**
2078
- * Update the metadata of an existing host firmware entry. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
2066
+ * Update host firmware metadata
2067
+ * 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.
2079
2068
  * @param {String} projectOrProductUID
2080
2069
  * @param {module:model/String} firmwareType
2081
2070
  * @param {String} filename
@@ -2118,7 +2107,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2118
2107
  }
2119
2108
 
2120
2109
  /**
2121
- * Update the metadata of an existing host firmware entry. The filename must be the full stored filename including the timestamp suffix (e.g. test$20260324190911.bin) as returned by the firmware upload or list endpoints.
2110
+ * Update host firmware metadata
2111
+ * 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.
2122
2112
  * @param {String} projectOrProductUID
2123
2113
  * @param {module:model/String} firmwareType
2124
2114
  * @param {String} filename
@@ -2238,9 +2228,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2238
2228
  }
2239
2229
 
2240
2230
  /**
2241
- * Upload firmware binary
2231
+ * Upload firmware
2232
+ * 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.
2242
2233
  * @param {String} projectOrProductUID
2243
- * @param {module:model/String} firmwareType
2234
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2244
2235
  * @param {String} filename
2245
2236
  * @param {File} body contents of the firmware binary
2246
2237
  * @param {Object} opts Optional parameters
@@ -2288,9 +2279,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
2288
2279
  }
2289
2280
 
2290
2281
  /**
2291
- * Upload firmware binary
2282
+ * Upload firmware
2283
+ * 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.
2292
2284
  * @param {String} projectOrProductUID
2293
- * @param {module:model/String} firmwareType
2285
+ * @param {module:model/String} firmwareType Which firmware: `host` (the host microcontroller's) or `notecard`.
2294
2286
  * @param {String} filename
2295
2287
  * @param {File} body contents of the firmware binary
2296
2288
  * @param {Object} opts Optional parameters
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Route service.
32
32
  * @module api/RouteApi
33
- * @version 6.7.0-beta.61
33
+ * @version 6.7.0-beta.62
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * Skills service.
33
33
  * @module api/SkillsApi
34
- * @version 6.7.0-beta.61
34
+ * @version 6.7.0-beta.62
35
35
  */
36
36
  var SkillsApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
32
32
  /**
33
33
  * Usage service.
34
34
  * @module api/UsageApi
35
- * @version 6.7.0-beta.61
35
+ * @version 6.7.0-beta.62
36
36
  */
37
37
  var UsageApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**