@blues-inc/notehub-js 6.7.0-beta.48 → 6.7.0-beta.49

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 +27 -27
  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 +73 -41
  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 +51 -71
  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 +2 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +3 -2
  32. package/dist/model/CloneProjectRequest.js +1 -1
  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 +1 -1
  38. package/dist/model/CreateProjectRequest.js +1 -1
  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 +27 -8
  57. package/dist/model/DeviceDfuHistory.js +1 -2
  58. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -2
  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 +6 -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 +2 -2
  93. package/dist/model/GetDevicePlans200Response.js +2 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +5 -3
  95. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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 +7 -4
  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 +13 -7
  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 +1 -1
  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 +1 -1
  139. package/dist/model/Project.js +1 -1
  140. package/dist/model/ProjectMember.js +1 -1
  141. package/dist/model/ProjectSecret.js +1 -1
  142. package/dist/model/ProvisionDeviceRequest.js +5 -5
  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 +1 -1
  157. package/dist/model/SignalDevice200Response.js +2 -2
  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
package/README.md CHANGED
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
6
6
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
7
 
8
8
  - API version: 1.2.0
9
- - Package version: 6.7.0-beta.48
9
+ - Package version: 6.7.0-beta.49
10
10
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
11
11
  For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
12
12
 
@@ -146,33 +146,33 @@ All URIs are relative to *https://api.notefile.net*
146
146
  | _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
147
147
  | _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
148
148
  | _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
149
- | _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
149
+ | _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} | Delete a device |
150
150
  | _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
151
151
  | _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
152
152
  | _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
153
- | _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable |
154
- | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
153
+ | _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable | Disable a device |
154
+ | _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable | Enable a device |
155
155
  | _NotehubJs.DeviceApi_ | [**getDbNote**](docs/DeviceApi.md#getDbNote) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
156
- | _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
156
+ | _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} | Get a device |
157
157
  | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get environment variable hierarchy for a device |
158
158
  | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
159
159
  | _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
160
- | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
161
- | _NotehubJs.DeviceApi_ | [**getDeviceJourney**](docs/DeviceApi.md#getDeviceJourney) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} |
162
- | _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys |
163
- | _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
164
- | _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
165
- | _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
166
- | _NotehubJs.DeviceApi_ | [**getDevicePublicKeys**](docs/DeviceApi.md#getDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys |
167
- | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
168
- | _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices |
169
- | _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices |
160
+ | _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log | Get a device's health log |
161
+ | _NotehubJs.DeviceApi_ | [**getDeviceJourney**](docs/DeviceApi.md#getDeviceJourney) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} | Get a journey and its events |
162
+ | _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys | List a device's journeys |
163
+ | _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest | Get a device's latest event per notefile |
164
+ | _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans | Get a device's cellular data plans |
165
+ | _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key | Get a device's public key |
166
+ | _NotehubJs.DeviceApi_ | [**getDevicePublicKeys**](docs/DeviceApi.md#getDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys | List public keys of all devices |
167
+ | _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions | List a device's sessions |
168
+ | _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices | List devices in a project |
169
+ | _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices | List devices in a fleet |
170
170
  | _NotehubJs.DeviceApi_ | [**getNotefile**](docs/DeviceApi.md#getNotefile) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
171
171
  | _NotehubJs.DeviceApi_ | [**listNotefiles**](docs/DeviceApi.md#listNotefiles) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
172
- | _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision |
172
+ | _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision | Provision a Notecard |
173
173
  | _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariables**](docs/DeviceApi.md#setDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
174
174
  | _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
175
- | _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
175
+ | _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal | Send a signal to a connected Notecard |
176
176
  | _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
177
177
  | _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
178
178
  | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
@@ -204,7 +204,7 @@ All URIs are relative to *https://api.notefile.net*
204
204
  | _NotehubJs.ProjectApi_ | [**createProject**](docs/ProjectApi.md#createProject) | **POST** /v1/projects |
205
205
  | _NotehubJs.ProjectApi_ | [**createProjectSecret**](docs/ProjectApi.md#createProjectSecret) | **POST** /v1/projects/{projectOrProductUID}/secrets |
206
206
  | _NotehubJs.ProjectApi_ | [**deleteDeviceFromFleets**](docs/ProjectApi.md#deleteDeviceFromFleets) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
207
- | _NotehubJs.ProjectApi_ | [**deleteFirmware**](docs/ProjectApi.md#deleteFirmware) | **DELETE** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} | Delete host firmware |
207
+ | _NotehubJs.ProjectApi_ | [**deleteFirmware**](docs/ProjectApi.md#deleteFirmware) | **DELETE** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
208
208
  | _NotehubJs.ProjectApi_ | [**deleteFleet**](docs/ProjectApi.md#deleteFleet) | **DELETE** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
209
209
  | _NotehubJs.ProjectApi_ | [**deleteFleetEnvironmentVariable**](docs/ProjectApi.md#deleteFleetEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables/{key} |
210
210
  | _NotehubJs.ProjectApi_ | [**deleteProduct**](docs/ProjectApi.md#deleteProduct) | **DELETE** /v1/projects/{projectOrProductUID}/products/{productUID} |
@@ -212,15 +212,15 @@ All URIs are relative to *https://api.notefile.net*
212
212
  | _NotehubJs.ProjectApi_ | [**deleteProjectEnvironmentVariable**](docs/ProjectApi.md#deleteProjectEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/environment_variables/{key} |
213
213
  | _NotehubJs.ProjectApi_ | [**deleteProjectSecret**](docs/ProjectApi.md#deleteProjectSecret) | **DELETE** /v1/projects/{projectOrProductUID}/secrets/{secretName} |
214
214
  | _NotehubJs.ProjectApi_ | [**disableGlobalEventTransformation**](docs/ProjectApi.md#disableGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation/disable |
215
- | _NotehubJs.ProjectApi_ | [**downloadFirmware**](docs/ProjectApi.md#downloadFirmware) | **GET** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} | Download host firmware |
215
+ | _NotehubJs.ProjectApi_ | [**downloadFirmware**](docs/ProjectApi.md#downloadFirmware) | **GET** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
216
216
  | _NotehubJs.ProjectApi_ | [**enableGlobalEventTransformation**](docs/ProjectApi.md#enableGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation/enable |
217
217
  | _NotehubJs.ProjectApi_ | [**getAWSRoleConfig**](docs/ProjectApi.md#getAWSRoleConfig) | **GET** /v1/projects/{projectOrProductUID}/aws-role-config | Get AWS role configuration for role-based authentication |
218
- | _NotehubJs.ProjectApi_ | [**getDeviceDfuHistory**](docs/ProjectApi.md#getDeviceDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/history | Get a device's firmware update history |
219
- | _NotehubJs.ProjectApi_ | [**getDeviceDfuStatus**](docs/ProjectApi.md#getDeviceDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/status | Get a device's firmware update status |
218
+ | _NotehubJs.ProjectApi_ | [**getDeviceDfuHistory**](docs/ProjectApi.md#getDeviceDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/history |
219
+ | _NotehubJs.ProjectApi_ | [**getDeviceDfuStatus**](docs/ProjectApi.md#getDeviceDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/dfu/{firmwareType}/status |
220
220
  | _NotehubJs.ProjectApi_ | [**getDeviceFleets**](docs/ProjectApi.md#getDeviceFleets) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets |
221
- | _NotehubJs.ProjectApi_ | [**getDevicesDfuHistory**](docs/ProjectApi.md#getDevicesDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/history | List devices' firmware update history |
222
- | _NotehubJs.ProjectApi_ | [**getDevicesDfuStatus**](docs/ProjectApi.md#getDevicesDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/status | List devices' firmware status |
223
- | _NotehubJs.ProjectApi_ | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectOrProductUID}/firmware | List firmware |
221
+ | _NotehubJs.ProjectApi_ | [**getDevicesDfuHistory**](docs/ProjectApi.md#getDevicesDfuHistory) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/history |
222
+ | _NotehubJs.ProjectApi_ | [**getDevicesDfuStatus**](docs/ProjectApi.md#getDevicesDfuStatus) | **GET** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/status |
223
+ | _NotehubJs.ProjectApi_ | [**getFirmwareInfo**](docs/ProjectApi.md#getFirmwareInfo) | **GET** /v1/projects/{projectOrProductUID}/firmware |
224
224
  | _NotehubJs.ProjectApi_ | [**getFleet**](docs/ProjectApi.md#getFleet) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
225
225
  | _NotehubJs.ProjectApi_ | [**getFleetEnvironmentHierarchy**](docs/ProjectApi.md#getFleetEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_hierarchy | Get environment variable hierarchy for a device |
226
226
  | _NotehubJs.ProjectApi_ | [**getFleetEnvironmentVariables**](docs/ProjectApi.md#getFleetEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables |
@@ -234,14 +234,14 @@ All URIs are relative to *https://api.notefile.net*
234
234
  | _NotehubJs.ProjectApi_ | [**getProjectMembers**](docs/ProjectApi.md#getProjectMembers) | **GET** /v1/projects/{projectOrProductUID}/members |
235
235
  | _NotehubJs.ProjectApi_ | [**getProjectSecrets**](docs/ProjectApi.md#getProjectSecrets) | **GET** /v1/projects/{projectOrProductUID}/secrets |
236
236
  | _NotehubJs.ProjectApi_ | [**getProjects**](docs/ProjectApi.md#getProjects) | **GET** /v1/projects |
237
- | _NotehubJs.ProjectApi_ | [**performDfuAction**](docs/ProjectApi.md#performDfuAction) | **POST** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/{action} | Start or cancel firmware updates |
237
+ | _NotehubJs.ProjectApi_ | [**performDfuAction**](docs/ProjectApi.md#performDfuAction) | **POST** /v1/projects/{projectOrProductUID}/dfu/{firmwareType}/{action} |
238
238
  | _NotehubJs.ProjectApi_ | [**setFleetEnvironmentVariables**](docs/ProjectApi.md#setFleetEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/environment_variables |
239
239
  | _NotehubJs.ProjectApi_ | [**setGlobalEventTransformation**](docs/ProjectApi.md#setGlobalEventTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation |
240
240
  | _NotehubJs.ProjectApi_ | [**setProjectEnvironmentVariables**](docs/ProjectApi.md#setProjectEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/environment_variables |
241
- | _NotehubJs.ProjectApi_ | [**updateFirmware**](docs/ProjectApi.md#updateFirmware) | **POST** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} | Update host firmware metadata |
241
+ | _NotehubJs.ProjectApi_ | [**updateFirmware**](docs/ProjectApi.md#updateFirmware) | **POST** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
242
242
  | _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
243
243
  | _NotehubJs.ProjectApi_ | [**updateProjectSecret**](docs/ProjectApi.md#updateProjectSecret) | **PUT** /v1/projects/{projectOrProductUID}/secrets/{secretName} |
244
- | _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} | Upload firmware |
244
+ | _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
245
245
  | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
246
246
  | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
247
247
  | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
package/dist/ApiClient.js CHANGED
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  */
27
27
  /**
28
28
  * @module ApiClient
29
- * @version 6.7.0-beta.48
29
+ * @version 6.7.0-beta.49
30
30
  */
31
31
  /**
32
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  */
69
69
  this.defaultHeaders = {};
70
70
  if (typeof window === "undefined") {
71
- this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.48/Javascript";
71
+ this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.49/Javascript";
72
72
  }
73
73
 
74
74
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * Alert service.
30
30
  * @module api/AlertApi
31
- * @version 6.7.0-beta.48
31
+ * @version 6.7.0-beta.49
32
32
  */
33
33
  var AlertApi = exports["default"] = /*#__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
  * Authorization service.
30
30
  * @module api/AuthorizationApi
31
- * @version 6.7.0-beta.48
31
+ * @version 6.7.0-beta.49
32
32
  */
33
33
  var AuthorizationApi = exports["default"] = /*#__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
  * Description service.
31
31
  * @module api/DescriptionApi
32
- * @version 6.7.0-beta.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
48
48
  /**
49
49
  * Device service.
50
50
  * @module api/DeviceApi
51
- * @version 6.7.0-beta.48
51
+ * @version 6.7.0-beta.49
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -242,7 +242,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
242
242
  }
243
243
 
244
244
  /**
245
- * Delete Device
245
+ * Delete a device
246
+ * Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
246
247
  * @param {String} projectOrProductUID
247
248
  * @param {String} deviceUID
248
249
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -274,7 +275,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
274
275
  }
275
276
 
276
277
  /**
277
- * Delete Device
278
+ * Delete a device
279
+ * Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
278
280
  * @param {String} projectOrProductUID
279
281
  * @param {String} deviceUID
280
282
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -453,7 +455,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
453
455
  }
454
456
 
455
457
  /**
456
- * Disable Device
458
+ * Disable a device
459
+ * Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
457
460
  * @param {String} projectOrProductUID
458
461
  * @param {String} deviceUID
459
462
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -485,7 +488,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
485
488
  }
486
489
 
487
490
  /**
488
- * Disable Device
491
+ * Disable a device
492
+ * Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
489
493
  * @param {String} projectOrProductUID
490
494
  * @param {String} deviceUID
491
495
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -499,7 +503,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
499
503
  }
500
504
 
501
505
  /**
502
- * Enable Device
506
+ * Enable a device
507
+ * Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
503
508
  * @param {String} projectOrProductUID
504
509
  * @param {String} deviceUID
505
510
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -531,7 +536,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
531
536
  }
532
537
 
533
538
  /**
534
- * Enable Device
539
+ * Enable a device
540
+ * Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
535
541
  * @param {String} projectOrProductUID
536
542
  * @param {String} deviceUID
537
543
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -615,7 +621,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
615
621
  }
616
622
 
617
623
  /**
618
- * Get Device
624
+ * Get a device
625
+ * Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
619
626
  * @param {String} projectOrProductUID
620
627
  * @param {String} deviceUID
621
628
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
@@ -647,7 +654,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
647
654
  }
648
655
 
649
656
  /**
650
- * Get Device
657
+ * Get a device
658
+ * Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
651
659
  * @param {String} projectOrProductUID
652
660
  * @param {String} deviceUID
653
661
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
@@ -807,13 +815,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
807
815
  }
808
816
 
809
817
  /**
810
- * Get Device Health Log
818
+ * Get a device's health log
819
+ * Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
811
820
  * @param {String} projectOrProductUID
812
821
  * @param {String} deviceUID
813
822
  * @param {Object} opts Optional parameters
814
823
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
815
824
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
816
- * @param {Array.<module:model/String>} opts.logType Return only specified log types
825
+ * @param {Array.<module:model/String>} opts.logType Return only these kinds of entry. If omitted, all entries are returned. - `boot`: the device restarted - `dfu_completed`: a host firmware update finished
817
826
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
818
827
  */
819
828
  }, {
@@ -848,13 +857,14 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
848
857
  }
849
858
 
850
859
  /**
851
- * Get Device Health Log
860
+ * Get a device's health log
861
+ * Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
852
862
  * @param {String} projectOrProductUID
853
863
  * @param {String} deviceUID
854
864
  * @param {Object} opts Optional parameters
855
865
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
856
866
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
857
- * @param {Array.<module:model/String>} opts.logType Return only specified log types
867
+ * @param {Array.<module:model/String>} opts.logType Return only these kinds of entry. If omitted, all entries are returned. - `boot`: the device restarted - `dfu_completed`: a host firmware update finished
858
868
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
859
869
  */
860
870
  }, {
@@ -866,7 +876,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
866
876
  }
867
877
 
868
878
  /**
869
- * Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
879
+ * Get a journey and its events
880
+ * Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
870
881
  * @param {String} projectOrProductUID
871
882
  * @param {String} deviceUID
872
883
  * @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
@@ -911,7 +922,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
911
922
  }
912
923
 
913
924
  /**
914
- * Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
925
+ * Get a journey and its events
926
+ * Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
915
927
  * @param {String} projectOrProductUID
916
928
  * @param {String} deviceUID
917
929
  * @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
@@ -929,7 +941,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
929
941
  }
930
942
 
931
943
  /**
932
- * Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
944
+ * List a device's journeys
945
+ * List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
933
946
  * @param {String} projectOrProductUID
934
947
  * @param {String} deviceUID
935
948
  * @param {Object} opts Optional parameters
@@ -968,7 +981,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
968
981
  }
969
982
 
970
983
  /**
971
- * Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
984
+ * List a device's journeys
985
+ * List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
972
986
  * @param {String} projectOrProductUID
973
987
  * @param {String} deviceUID
974
988
  * @param {Object} opts Optional parameters
@@ -985,7 +999,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
985
999
  }
986
1000
 
987
1001
  /**
988
- * Get Device Latest Events
1002
+ * Get a device's latest event per notefile
1003
+ * Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
989
1004
  * @param {String} projectOrProductUID
990
1005
  * @param {String} deviceUID
991
1006
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
@@ -1017,7 +1032,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1017
1032
  }
1018
1033
 
1019
1034
  /**
1020
- * Get Device Latest Events
1035
+ * Get a device's latest event per notefile
1036
+ * Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
1021
1037
  * @param {String} projectOrProductUID
1022
1038
  * @param {String} deviceUID
1023
1039
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
@@ -1031,7 +1047,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1031
1047
  }
1032
1048
 
1033
1049
  /**
1034
- * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
1050
+ * Get a device's cellular data plans
1051
+ * Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
1035
1052
  * @param {String} projectOrProductUID
1036
1053
  * @param {String} deviceUID
1037
1054
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
@@ -1063,7 +1080,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1063
1080
  }
1064
1081
 
1065
1082
  /**
1066
- * Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
1083
+ * Get a device's cellular data plans
1084
+ * Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
1067
1085
  * @param {String} projectOrProductUID
1068
1086
  * @param {String} deviceUID
1069
1087
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
@@ -1077,7 +1095,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1077
1095
  }
1078
1096
 
1079
1097
  /**
1080
- * Get Device Public Key
1098
+ * Get a device's public key
1099
+ * Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
1081
1100
  * @param {String} projectOrProductUID
1082
1101
  * @param {String} deviceUID
1083
1102
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
@@ -1109,7 +1128,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1109
1128
  }
1110
1129
 
1111
1130
  /**
1112
- * Get Device Public Key
1131
+ * Get a device's public key
1132
+ * Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
1113
1133
  * @param {String} projectOrProductUID
1114
1134
  * @param {String} deviceUID
1115
1135
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
@@ -1123,7 +1143,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1123
1143
  }
1124
1144
 
1125
1145
  /**
1126
- * Get Device Public Keys of a Project
1146
+ * List public keys of all devices
1147
+ * List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
1127
1148
  * @param {String} projectOrProductUID
1128
1149
  * @param {Object} opts Optional parameters
1129
1150
  * @param {Number} opts.pageSize (default to 1000)
@@ -1158,7 +1179,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1158
1179
  }
1159
1180
 
1160
1181
  /**
1161
- * Get Device Public Keys of a Project
1182
+ * List public keys of all devices
1183
+ * List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
1162
1184
  * @param {String} projectOrProductUID
1163
1185
  * @param {Object} opts Optional parameters
1164
1186
  * @param {Number} opts.pageSize (default to 1000)
@@ -1175,7 +1197,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1175
1197
  }
1176
1198
 
1177
1199
  /**
1178
- * Get Device Sessions
1200
+ * List a device's sessions
1201
+ * List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
1179
1202
  * @param {String} projectOrProductUID
1180
1203
  * @param {String} deviceUID
1181
1204
  * @param {Object} opts Optional parameters
@@ -1184,7 +1207,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1184
1207
  * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1185
1208
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1186
1209
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1187
- * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
1210
+ * @param {Boolean} opts.firstSync If true, return only sessions whose `why_session_opened` begins with \"first sync\". (default to false)
1188
1211
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceSessions200Response} and HTTP response
1189
1212
  */
1190
1213
  }, {
@@ -1222,7 +1245,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1222
1245
  }
1223
1246
 
1224
1247
  /**
1225
- * Get Device Sessions
1248
+ * List a device's sessions
1249
+ * List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
1226
1250
  * @param {String} projectOrProductUID
1227
1251
  * @param {String} deviceUID
1228
1252
  * @param {Object} opts Optional parameters
@@ -1231,7 +1255,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1231
1255
  * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
1232
1256
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1233
1257
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1234
- * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
1258
+ * @param {Boolean} opts.firstSync If true, return only sessions whose `why_session_opened` begins with \"first sync\". (default to false)
1235
1259
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceSessions200Response}
1236
1260
  */
1237
1261
  }, {
@@ -1243,7 +1267,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1243
1267
  }
1244
1268
 
1245
1269
  /**
1246
- * Get Devices of a Project
1270
+ * List devices in a project
1271
+ * List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
1247
1272
  * @param {String} projectOrProductUID
1248
1273
  * @param {Object} opts Optional parameters
1249
1274
  * @param {Number} opts.pageSize (default to 1000)
@@ -1296,7 +1321,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1296
1321
  }
1297
1322
 
1298
1323
  /**
1299
- * Get Devices of a Project
1324
+ * List devices in a project
1325
+ * List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
1300
1326
  * @param {String} projectOrProductUID
1301
1327
  * @param {Object} opts Optional parameters
1302
1328
  * @param {Number} opts.pageSize (default to 1000)
@@ -1322,7 +1348,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1322
1348
  }
1323
1349
 
1324
1350
  /**
1325
- * Get Devices of a Fleet within a Project
1351
+ * List devices in a fleet
1352
+ * List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
1326
1353
  * @param {String} projectOrProductUID
1327
1354
  * @param {String} fleetUID
1328
1355
  * @param {Object} opts Optional parameters
@@ -1379,7 +1406,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1379
1406
  }
1380
1407
 
1381
1408
  /**
1382
- * Get Devices of a Fleet within a Project
1409
+ * List devices in a fleet
1410
+ * List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
1383
1411
  * @param {String} projectOrProductUID
1384
1412
  * @param {String} fleetUID
1385
1413
  * @param {Object} opts Optional parameters
@@ -1527,10 +1555,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1527
1555
  }
1528
1556
 
1529
1557
  /**
1530
- * Provision Device for a Project
1558
+ * Provision a Notecard
1559
+ * Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
1531
1560
  * @param {String} projectOrProductUID
1532
1561
  * @param {String} deviceUID
1533
- * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1562
+ * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest The product, serial number and fleets for the device.
1534
1563
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
1535
1564
  */
1536
1565
  }, {
@@ -1564,10 +1593,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1564
1593
  }
1565
1594
 
1566
1595
  /**
1567
- * Provision Device for a Project
1596
+ * Provision a Notecard
1597
+ * Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
1568
1598
  * @param {String} projectOrProductUID
1569
1599
  * @param {String} deviceUID
1570
- * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
1600
+ * @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest The product, serial number and fleets for the device.
1571
1601
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
1572
1602
  */
1573
1603
  }, {
@@ -1691,10 +1721,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1691
1721
  }
1692
1722
 
1693
1723
  /**
1694
- * Send a signal from Notehub to a Notecard.
1724
+ * Send a signal to a connected Notecard
1725
+ * Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
1695
1726
  * @param {String} projectOrProductUID
1696
1727
  * @param {String} deviceUID
1697
- * @param {module:model/Body} body Body or payload of signal to be sent to the device
1728
+ * @param {module:model/Body} body The signal to send.
1698
1729
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
1699
1730
  */
1700
1731
  }, {
@@ -1728,10 +1759,11 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1728
1759
  }
1729
1760
 
1730
1761
  /**
1731
- * Send a signal from Notehub to a Notecard.
1762
+ * Send a signal to a connected Notecard
1763
+ * Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
1732
1764
  * @param {String} projectOrProductUID
1733
1765
  * @param {String} deviceUID
1734
- * @param {module:model/Body} body Body or payload of signal to be sent to the device
1766
+ * @param {module:model/Body} body The signal to send.
1735
1767
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
1736
1768
  */
1737
1769
  }, {
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Event service.
31
31
  * @module api/EventApi
32
- * @version 6.7.0-beta.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var EventApi = 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
  * ExternalDevices service.
31
31
  * @module api/ExternalDevicesApi
32
- * @version 6.7.0-beta.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -36,7 +36,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
36
36
  /**
37
37
  * Jobs service.
38
38
  * @module api/JobsApi
39
- * @version 6.7.0-beta.48
39
+ * @version 6.7.0-beta.49
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Monitor service.
31
31
  * @module api/MonitorApi
32
- * @version 6.7.0-beta.48
32
+ * @version 6.7.0-beta.49
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__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
  * Organization service.
32
32
  * @module api/OrganizationApi
33
- * @version 6.7.0-beta.48
33
+ * @version 6.7.0-beta.49
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**