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

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 +22 -22
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +5 -7
  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 +17 -27
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +67 -39
  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 +4 -4
  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 +25 -37
  37. package/dist/model/CreateProductRequest.js +7 -6
  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 +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 +2 -2
  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 +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 +12 -18
  127. package/dist/model/MonitorAlertRoutesInner.js +4 -4
  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 +5 -3
  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 +8 -4
  139. package/dist/model/Project.js +7 -4
  140. package/dist/model/ProjectMember.js +5 -4
  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 +6 -4
  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 +3 -3
  166. package/dist/model/SlackRoute.js +1 -1
  167. package/dist/model/SlackWebHookNotification.js +3 -3
  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 +1 -1
  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.60
59
+ * @version 6.7.0-beta.61
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -124,9 +124,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
124
124
  }
125
125
 
126
126
  /**
127
- * Clone a Project
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).
128
129
  * @param {String} projectOrProductUID
129
- * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
130
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
130
131
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
131
132
  */
132
133
  }, {
@@ -155,9 +156,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
155
156
  }
156
157
 
157
158
  /**
158
- * Clone a Project
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).
159
161
  * @param {String} projectOrProductUID
160
- * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
162
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
161
163
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
162
164
  */
163
165
  }, {
@@ -214,9 +216,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
214
216
  }
215
217
 
216
218
  /**
217
- * Create Product within a Project
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.
218
221
  * @param {String} projectOrProductUID
219
- * @param {module:model/CreateProductRequest} createProductRequest Product to be created
222
+ * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
220
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
221
224
  */
222
225
  }, {
@@ -245,9 +248,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
245
248
  }
246
249
 
247
250
  /**
248
- * Create Product within a Project
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.
249
253
  * @param {String} projectOrProductUID
250
- * @param {module:model/CreateProductRequest} createProductRequest Product to be created
254
+ * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
251
255
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
252
256
  */
253
257
  }, {
@@ -259,8 +263,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
259
263
  }
260
264
 
261
265
  /**
262
- * Create a Project
263
- * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
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.
264
269
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
265
270
  */
266
271
  }, {
@@ -283,8 +288,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
283
288
  }
284
289
 
285
290
  /**
286
- * Create a Project
287
- * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
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.
288
294
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
289
295
  */
290
296
  }, {
@@ -546,6 +552,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
546
552
 
547
553
  /**
548
554
  * 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.
549
556
  * @param {String} projectOrProductUID
550
557
  * @param {String} productUID
551
558
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -578,6 +585,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
578
585
 
579
586
  /**
580
587
  * 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.
581
589
  * @param {String} projectOrProductUID
582
590
  * @param {String} productUID
583
591
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -591,7 +599,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
591
599
  }
592
600
 
593
601
  /**
594
- * Delete a Project by ProjectUID
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.
595
604
  * @param {String} projectOrProductUID
596
605
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
597
606
  */
@@ -617,7 +626,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
617
626
  }
618
627
 
619
628
  /**
620
- * Delete a Project by ProjectUID
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.
621
631
  * @param {String} projectOrProductUID
622
632
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
623
633
  */
@@ -722,7 +732,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
722
732
  }
723
733
 
724
734
  /**
725
- * Disable the project-level event JSONata transformation
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.
726
737
  * @param {String} projectOrProductUID
727
738
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
728
739
  */
@@ -748,7 +759,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
748
759
  }
749
760
 
750
761
  /**
751
- * Disable the project-level event JSONata transformation
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.
752
764
  * @param {String} projectOrProductUID
753
765
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
754
766
  */
@@ -814,7 +826,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
814
826
  }
815
827
 
816
828
  /**
817
- * Enable the project-level event JSONata transformation
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.
818
831
  * @param {String} projectOrProductUID
819
832
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
820
833
  */
@@ -840,7 +853,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
840
853
  }
841
854
 
842
855
  /**
843
- * Enable the project-level event JSONata transformation
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.
844
858
  * @param {String} projectOrProductUID
845
859
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
846
860
  */
@@ -854,7 +868,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
854
868
 
855
869
  /**
856
870
  * Get AWS role configuration for role-based authentication
857
- * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
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.
858
872
  * @param {String} projectOrProductUID
859
873
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AWSRoleConfig} and HTTP response
860
874
  */
@@ -881,7 +895,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
881
895
 
882
896
  /**
883
897
  * Get AWS role configuration for role-based authentication
884
- * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
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.
885
899
  * @param {String} projectOrProductUID
886
900
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AWSRoleConfig}
887
901
  */
@@ -1477,7 +1491,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1477
1491
  }
1478
1492
 
1479
1493
  /**
1480
- * Get variable format for a notefile
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.
1481
1496
  * @param {String} projectOrProductUID
1482
1497
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotefileSchema>} and HTTP response
1483
1498
  */
@@ -1503,7 +1518,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1503
1518
  }
1504
1519
 
1505
1520
  /**
1506
- * Get variable format for a notefile
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.
1507
1523
  * @param {String} projectOrProductUID
1508
1524
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotefileSchema>}
1509
1525
  */
@@ -1516,7 +1532,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1516
1532
  }
1517
1533
 
1518
1534
  /**
1519
- * Get Products within a Project
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.
1520
1537
  * @param {String} projectOrProductUID
1521
1538
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProducts200Response} and HTTP response
1522
1539
  */
@@ -1542,7 +1559,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1542
1559
  }
1543
1560
 
1544
1561
  /**
1545
- * Get Products within a Project
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.
1546
1564
  * @param {String} projectOrProductUID
1547
1565
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProducts200Response}
1548
1566
  */
@@ -1555,7 +1573,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1555
1573
  }
1556
1574
 
1557
1575
  /**
1558
- * Get a Project by ProjectUID
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.
1559
1578
  * @param {String} projectOrProductUID
1560
1579
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1561
1580
  */
@@ -1581,7 +1600,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1581
1600
  }
1582
1601
 
1583
1602
  /**
1584
- * Get a Project by ProjectUID
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.
1585
1605
  * @param {String} projectOrProductUID
1586
1606
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1587
1607
  */
@@ -1594,8 +1614,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1594
1614
  }
1595
1615
 
1596
1616
  /**
1597
- * Get a Project by ProductUID
1598
- * @param {String} productUID
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.
1599
1620
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1600
1621
  */
1601
1622
  }, {
@@ -1620,8 +1641,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1620
1641
  }
1621
1642
 
1622
1643
  /**
1623
- * Get a Project by ProductUID
1624
- * @param {String} productUID
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.
1625
1647
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1626
1648
  */
1627
1649
  }, {
@@ -1711,7 +1733,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1711
1733
  }
1712
1734
 
1713
1735
  /**
1714
- * Get Project Members
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.
1715
1738
  * @param {String} projectOrProductUID
1716
1739
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1717
1740
  */
@@ -1737,7 +1760,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1737
1760
  }
1738
1761
 
1739
1762
  /**
1740
- * Get Project Members
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.
1741
1765
  * @param {String} projectOrProductUID
1742
1766
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1743
1767
  */
@@ -1789,7 +1813,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1789
1813
  }
1790
1814
 
1791
1815
  /**
1792
- * Get Projects accessible by the api_key
1816
+ * List projects
1817
+ * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1793
1818
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjects200Response} and HTTP response
1794
1819
  */
1795
1820
  }, {
@@ -1808,7 +1833,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1808
1833
  }
1809
1834
 
1810
1835
  /**
1811
- * Get Projects accessible by the api_key
1836
+ * List projects
1837
+ * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1812
1838
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjects200Response}
1813
1839
  */
1814
1840
  }, {
@@ -1958,9 +1984,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1958
1984
  }
1959
1985
 
1960
1986
  /**
1961
- * Set the project-level event JSONata transformation
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.
1962
1989
  * @param {String} projectOrProductUID
1963
- * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
1990
+ * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1964
1991
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1965
1992
  */
1966
1993
  }, {
@@ -1989,9 +2016,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1989
2016
  }
1990
2017
 
1991
2018
  /**
1992
- * Set the project-level event JSONata transformation
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.
1993
2021
  * @param {String} projectOrProductUID
1994
- * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
2022
+ * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1995
2023
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1996
2024
  */
1997
2025
  }, {
@@ -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.60
33
+ * @version 6.7.0-beta.61
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.60
34
+ * @version 6.7.0-beta.61
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.60
35
+ * @version 6.7.0-beta.61
36
36
  */
37
37
  var UsageApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Webhook service.
31
31
  * @module api/WebhookApi
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var AWSRoleConfig = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AddDeviceToFleetsRequest model module.
31
31
  * @module model/AddDeviceToFleetsRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 6.7.0-beta.60
34
+ * @version 6.7.0-beta.61
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -203,7 +203,7 @@ var Alert = /*#__PURE__*/function () {
203
203
  Alert.prototype["alert_source"] = undefined;
204
204
 
205
205
  /**
206
- * When the alert was raised, as a Unix timestamp in seconds.
206
+ * The time the alert was created
207
207
  * @member {Number} created_at
208
208
  */
209
209
  Alert.prototype["created_at"] = undefined;
@@ -220,7 +220,7 @@ Alert.prototype["data"] = undefined;
220
220
  Alert.prototype["device_uid"] = undefined;
221
221
 
222
222
  /**
223
- * The monitor's `source_selector`.
223
+ * The field name that triggered the alert
224
224
  * @member {String} field_name
225
225
  */
226
226
  Alert.prototype["field_name"] = undefined;
@@ -232,7 +232,7 @@ Alert.prototype["field_name"] = undefined;
232
232
  Alert.prototype["monitor_name"] = undefined;
233
233
 
234
234
  /**
235
- * The `source_type` of the monitor that raised the alert.
235
+ * The type of monitor that triggered the alert
236
236
  * @member {module:model/Alert.MonitorTypeEnum} monitor_type
237
237
  */
238
238
  Alert.prototype["monitor_type"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.61
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.61
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The ArchiveStats model module.
28
28
  * @module model/ArchiveStats
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.61
30
30
  */
31
31
  var ArchiveStats = /*#__PURE__*/function () {
32
32
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AwsRoute model module.
30
30
  * @module model/AwsRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.61
32
32
  */
33
33
  var AwsRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AzureRoute model module.
30
30
  * @module model/AzureRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.61
32
32
  */
33
33
  var AzureRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The BatchJobNoteRequest model module.
31
31
  * @module model/BatchJobNoteRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var BatchJobNoteRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BatchJobRequests model module.
32
32
  * @module model/BatchJobRequests
33
- * @version 6.7.0-beta.60
33
+ * @version 6.7.0-beta.61
34
34
  */
35
35
  var BatchJobRequests = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 6.7.0-beta.60
33
+ * @version 6.7.0-beta.61
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The BlynkRoute model module.
30
30
  * @module model/BlynkRoute
31
- * @version 6.7.0-beta.60
31
+ * @version 6.7.0-beta.61
32
32
  */
33
33
  var BlynkRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.61
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CancelJobRun200Response model module.
31
31
  * @module model/CancelJobRun200Response
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var CancelJobRun200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CellularPlan model module.
29
29
  * @module model/CellularPlan
30
- * @version 6.7.0-beta.60
30
+ * @version 6.7.0-beta.61
31
31
  */
32
32
  var CellularPlan = /*#__PURE__*/function () {
33
33
  /**
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CloneProjectRequest model module.
31
31
  * @module model/CloneProjectRequest
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var CloneProjectRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>CloneProjectRequest</code>.
37
37
  * @alias module:model/CloneProjectRequest
38
- * @param billingAccountUid {String} The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
39
- * @param label {String} The label for the project.
38
+ * @param billingAccountUid {String} UID of the organization that owns the new project. List them with `GetBillingAccounts`.
39
+ * @param label {String} Name of the new project.
40
40
  */
41
41
  function CloneProjectRequest(billingAccountUid, label) {
42
42
  _classCallCheck(this, CloneProjectRequest);
@@ -123,25 +123,25 @@ var CloneProjectRequest = /*#__PURE__*/function () {
123
123
  CloneProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
124
124
 
125
125
  /**
126
- * The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
126
+ * UID of the organization that owns the new project. List them with `GetBillingAccounts`.
127
127
  * @member {String} billing_account_uid
128
128
  */
129
129
  CloneProjectRequest.prototype["billing_account_uid"] = undefined;
130
130
 
131
131
  /**
132
- * Whether to disallow the cloning of the fleets from the parent project. Default is false if not specified.
132
+ * If `true`, the new project gets one default fleet instead of copies of this project's fleets. Default `false`.
133
133
  * @member {Boolean} disable_clone_fleets
134
134
  */
135
135
  CloneProjectRequest.prototype["disable_clone_fleets"] = undefined;
136
136
 
137
137
  /**
138
- * Whether to disallow the cloning of the routes from the parent project. Default is false if not specified.
138
+ * If `true`, the new project starts with no routes. Default `false`.
139
139
  * @member {Boolean} disable_clone_routes
140
140
  */
141
141
  CloneProjectRequest.prototype["disable_clone_routes"] = undefined;
142
142
 
143
143
  /**
144
- * The label for the project.
144
+ * Name of the new project.
145
145
  * @member {String} label
146
146
  */
147
147
  CloneProjectRequest.prototype["label"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Contact model module.
28
28
  * @module model/Contact
29
- * @version 6.7.0-beta.60
29
+ * @version 6.7.0-beta.61
30
30
  */
31
31
  var Contact = /*#__PURE__*/function () {
32
32
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CreateFleetRequest model module.
29
29
  * @module model/CreateFleetRequest
30
- * @version 6.7.0-beta.60
30
+ * @version 6.7.0-beta.61
31
31
  */
32
32
  var CreateFleetRequest = /*#__PURE__*/function () {
33
33
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateJob201Response model module.
31
31
  * @module model/CreateJob201Response
32
- * @version 6.7.0-beta.60
32
+ * @version 6.7.0-beta.61
33
33
  */
34
34
  var CreateJob201Response = /*#__PURE__*/function () {
35
35
  /**