@blues-inc/notehub-js 6.7.0-beta.56 → 6.7.0-beta.58

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 (189) hide show
  1. package/README.md +10 -11
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +1 -1
  7. package/dist/api/EventApi.js +51 -45
  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 +1 -1
  13. package/dist/api/RouteApi.js +47 -35
  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/index.js +0 -7
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  20. package/dist/model/Alert.js +1 -1
  21. package/dist/model/AlertDataInner.js +1 -1
  22. package/dist/model/AlertNotificationsInner.js +1 -1
  23. package/dist/model/ArchiveStats.js +1 -1
  24. package/dist/model/AwsRoute.js +1 -1
  25. package/dist/model/AzureRoute.js +1 -1
  26. package/dist/model/BatchJobNoteRequest.js +1 -1
  27. package/dist/model/BatchJobRequests.js +1 -1
  28. package/dist/model/BillingAccount.js +1 -1
  29. package/dist/model/BlynkRoute.js +1 -1
  30. package/dist/model/Body.js +1 -1
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +1 -1
  33. package/dist/model/CloneProjectRequest.js +1 -1
  34. package/dist/model/Contact.js +1 -1
  35. package/dist/model/CreateFleetRequest.js +1 -1
  36. package/dist/model/CreateJob201Response.js +1 -1
  37. package/dist/model/CreateMonitor.js +1 -1
  38. package/dist/model/CreateProductRequest.js +1 -1
  39. package/dist/model/CreateProjectRequest.js +1 -1
  40. package/dist/model/CreateProjectSecretRequest.js +1 -1
  41. package/dist/model/CreateUpdateRepository.js +1 -2
  42. package/dist/model/CreatedRepository.js +5 -5
  43. package/dist/model/CurrentFirmware.js +1 -1
  44. package/dist/model/DFUEnv.js +1 -1
  45. package/dist/model/DFUState.js +1 -1
  46. package/dist/model/DataField.js +1 -1
  47. package/dist/model/DataSet.js +4 -4
  48. package/dist/model/DataSetField.js +2 -2
  49. package/dist/model/DataUsage.js +1 -1
  50. package/dist/model/DatacakeRoute.js +1 -1
  51. package/dist/model/DatasetReloadProgress.js +1 -1
  52. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  53. package/dist/model/DeleteJob200Response.js +1 -1
  54. package/dist/model/DeleteNotefilesRequest.js +1 -1
  55. package/dist/model/DescriptionRecord.js +1 -1
  56. package/dist/model/DescriptionRecordList.js +1 -1
  57. package/dist/model/Device.js +1 -1
  58. package/dist/model/DeviceDfuHistory.js +1 -1
  59. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  61. package/dist/model/DeviceDfuStateMachine.js +1 -1
  62. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  63. package/dist/model/DeviceDfuStatus.js +1 -1
  64. package/dist/model/DeviceDfuStatusPage.js +1 -1
  65. package/dist/model/DeviceSensor.js +1 -1
  66. package/dist/model/DeviceSession.js +1 -1
  67. package/dist/model/DeviceTowerInfo.js +1 -1
  68. package/dist/model/DeviceUsage.js +1 -1
  69. package/dist/model/DfuActionRequest.js +1 -1
  70. package/dist/model/EmailNotification.js +1 -1
  71. package/dist/model/EnvTreeJsonNode.js +1 -1
  72. package/dist/model/EnvVar.js +1 -1
  73. package/dist/model/EnvironmentVariables.js +1 -1
  74. package/dist/model/Error.js +1 -1
  75. package/dist/model/Event.js +1 -1
  76. package/dist/model/Filter.js +1 -1
  77. package/dist/model/Firmware.js +1 -1
  78. package/dist/model/FirmwareInfo.js +1 -1
  79. package/dist/model/Fleet.js +1 -1
  80. package/dist/model/FleetConnectivityAssurance.js +1 -1
  81. package/dist/model/GetAlerts200Response.js +1 -1
  82. package/dist/model/GetApiUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200Response.js +1 -1
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  85. package/dist/model/GetDbNote200Response.js +1 -1
  86. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  87. package/dist/model/GetDeviceFleets200Response.js +1 -1
  88. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200Response.js +1 -1
  90. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  91. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  92. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  93. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  94. package/dist/model/GetDevicePlans200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  98. package/dist/model/GetDeviceSessions200Response.js +1 -1
  99. package/dist/model/GetDevices200Response.js +1 -1
  100. package/dist/model/GetEvents200Response.js +1 -1
  101. package/dist/model/GetJobRuns200Response.js +1 -1
  102. package/dist/model/GetJobs200Response.js +1 -1
  103. package/dist/model/GetNotefile200Response.js +1 -1
  104. package/dist/model/GetOrganization200Response.js +1 -1
  105. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  107. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  108. package/dist/model/GetOrganizations200Response.js +1 -1
  109. package/dist/model/GetProducts200Response.js +1 -1
  110. package/dist/model/GetProjectMembers200Response.js +1 -1
  111. package/dist/model/GetProjectSecretsResponse.js +1 -1
  112. package/dist/model/GetProjects200Response.js +1 -1
  113. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  114. package/dist/model/GetSessionsUsage200Response.js +1 -1
  115. package/dist/model/GetWebhooks200Response.js +1 -1
  116. package/dist/model/GoogleRoute.js +1 -1
  117. package/dist/model/HealthLog.js +1 -1
  118. package/dist/model/HttpRoute.js +1 -1
  119. package/dist/model/Job.js +1 -1
  120. package/dist/model/JobDefinition.js +1 -1
  121. package/dist/model/JobDefinitionReportOptions.js +1 -1
  122. package/dist/model/JobDefinitionSelect.js +1 -1
  123. package/dist/model/JobDetail.js +1 -1
  124. package/dist/model/JobDetailAllOf.js +1 -1
  125. package/dist/model/JobRun.js +1 -1
  126. package/dist/model/Location.js +1 -1
  127. package/dist/model/Monitor.js +1 -1
  128. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  129. package/dist/model/MqttRoute.js +1 -1
  130. package/dist/model/Note.js +1 -1
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +1 -1
  133. package/dist/model/NotefileSchema.js +1 -1
  134. package/dist/model/NotehubRoute.js +7 -3
  135. package/dist/model/NotehubRouteSummary.js +6 -1
  136. package/dist/model/OAuth2Error.js +1 -1
  137. package/dist/model/OAuth2TokenResponse.js +1 -1
  138. package/dist/model/Organization.js +1 -1
  139. package/dist/model/Product.js +1 -1
  140. package/dist/model/Project.js +1 -1
  141. package/dist/model/ProjectMember.js +1 -1
  142. package/dist/model/ProjectSecret.js +1 -1
  143. package/dist/model/ProvisionDeviceRequest.js +1 -1
  144. package/dist/model/ProxyRoute.js +1 -1
  145. package/dist/model/QubitroRoute.js +1 -1
  146. package/dist/model/RadRoute.js +1 -1
  147. package/dist/model/Repository.js +3 -3
  148. package/dist/model/RepositoryListResponse.js +1 -1
  149. package/dist/model/RepositoryTokenRequest.js +1 -1
  150. package/dist/model/RepositoryTokenResponse.js +1 -1
  151. package/dist/model/RouteLog.js +9 -9
  152. package/dist/model/RouteTransformSettings.js +1 -1
  153. package/dist/model/RunJob200Response.js +1 -1
  154. package/dist/model/S3ArchiveRoute.js +1 -1
  155. package/dist/model/SatelliteDataUsage.js +1 -1
  156. package/dist/model/SatellitePlan.js +1 -1
  157. package/dist/model/SchemaProperty.js +1 -1
  158. package/dist/model/SignalDevice200Response.js +1 -1
  159. package/dist/model/SimUsage.js +1 -1
  160. package/dist/model/Skill.js +1 -1
  161. package/dist/model/SkillLinks.js +1 -1
  162. package/dist/model/SkillSet.js +1 -1
  163. package/dist/model/SkillSummary.js +1 -1
  164. package/dist/model/SkillWrite.js +1 -1
  165. package/dist/model/SkillWriteResult.js +1 -1
  166. package/dist/model/SlackBearerNotification.js +1 -1
  167. package/dist/model/SlackRoute.js +1 -1
  168. package/dist/model/SlackWebHookNotification.js +1 -1
  169. package/dist/model/SnowflakeRoute.js +1 -1
  170. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  171. package/dist/model/ThingworxRoute.js +1 -1
  172. package/dist/model/TowerLocation.js +1 -1
  173. package/dist/model/TwilioRoute.js +1 -1
  174. package/dist/model/UpdateFleetRequest.js +1 -1
  175. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  176. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  177. package/dist/model/UploadMetadata.js +1 -1
  178. package/dist/model/UsageApiData.js +1 -1
  179. package/dist/model/UsageData.js +1 -1
  180. package/dist/model/UsageEventsData.js +1 -1
  181. package/dist/model/UsageEventsResponse.js +1 -1
  182. package/dist/model/UsageRouteLogsData.js +1 -1
  183. package/dist/model/UsageSessionsData.js +1 -1
  184. package/dist/model/UserDfuStateMachine.js +1 -1
  185. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  186. package/dist/model/UserFirmwareInfo.js +1 -1
  187. package/dist/model/WebhookSettings.js +1 -1
  188. package/package.json +1 -1
  189. package/dist/model/RepositoryRecord.js +0 -119
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.56
9
+ - Package version: 6.7.0-beta.58
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
 
@@ -174,9 +174,9 @@ All URIs are relative to *https://api.notefile.net*
174
174
  | _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
175
175
  | _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
176
176
  | _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
177
- | _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
178
- | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
179
- | _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
177
+ | _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events | List events in a project |
178
+ | _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events | List events in a fleet |
179
+ | _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs | Get an event's route logs |
180
180
  | _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event |
181
181
  | _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close |
182
182
  | _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open |
@@ -242,12 +242,12 @@ All URIs are relative to *https://api.notefile.net*
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
244
  | _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
245
- | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
246
- | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
247
- | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
248
- | _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
249
- | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
250
- | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
245
+ | _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes | Create a route |
246
+ | _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Delete a route |
247
+ | _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Get a route |
248
+ | _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs | List a route's logs |
249
+ | _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes | List routes |
250
+ | _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Update a route |
251
251
  | _NotehubJs.SkillsApi_ | [**deleteSkill**](docs/SkillsApi.md#deleteSkill) | **DELETE** /v1/projects/{projectOrProductUID}/skills/{skillName} | Delete a Project Skill (Product Skill) |
252
252
  | _NotehubJs.SkillsApi_ | [**getSkill**](docs/SkillsApi.md#getSkill) | **GET** /v1/projects/{projectOrProductUID}/skills/{skillName} | Read a Project Skill (Product Skill) |
253
253
  | _NotehubJs.SkillsApi_ | [**getSkills**](docs/SkillsApi.md#getSkills) | **GET** /v1/projects/{projectOrProductUID}/skills | List Project Skills (Product Skills) |
@@ -404,7 +404,6 @@ All URIs are relative to *https://api.notefile.net*
404
404
  - [NotehubJs.RadRoute](docs/RadRoute.md)
405
405
  - [NotehubJs.Repository](docs/Repository.md)
406
406
  - [NotehubJs.RepositoryListResponse](docs/RepositoryListResponse.md)
407
- - [NotehubJs.RepositoryRecord](docs/RepositoryRecord.md)
408
407
  - [NotehubJs.RepositoryTokenRequest](docs/RepositoryTokenRequest.md)
409
408
  - [NotehubJs.RepositoryTokenResponse](docs/RepositoryTokenResponse.md)
410
409
  - [NotehubJs.Role](docs/Role.md)
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.56
29
+ * @version 6.7.0-beta.58
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.56/Javascript";
71
+ this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.58/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.56
31
+ * @version 6.7.0-beta.58
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.56
31
+ * @version 6.7.0-beta.58
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.56
32
+ * @version 6.7.0-beta.58
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.56
51
+ * @version 6.7.0-beta.58
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -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.56
32
+ * @version 6.7.0-beta.58
33
33
  */
34
34
  var EventApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -45,27 +45,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
45
45
  }
46
46
 
47
47
  /**
48
- * Get Events of a Project
48
+ * List events in a project
49
+ * List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
49
50
  * @param {String} projectOrProductUID
50
51
  * @param {Object} opts Optional parameters
51
52
  * @param {Number} opts.pageSize (default to 1000)
52
53
  * @param {Number} opts.pageNum (default to 1)
53
54
  * @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).
54
55
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
55
- * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
56
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
56
57
  * @param {module:model/String} opts.sortBy (default to 'captured')
57
58
  * @param {module:model/String} opts.sortOrder (default to 'asc')
58
59
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
59
60
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
60
- * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
61
- * @param {Boolean} opts.systemFilesOnly
62
- * @param {String} opts.files
63
- * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
64
- * @param {Array.<String>} opts.serialNumber Filter by Serial Number
61
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
62
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
63
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
64
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
65
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
65
66
  * @param {Array.<String>} opts.fleetUID Filter by FleetUID
66
- * @param {Array.<String>} opts.sessionUID Filter by SessionUID
67
- * @param {Array.<String>} opts.eventUID Filter by EventUID
68
- * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
67
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
68
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
69
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
69
70
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
70
71
  */
71
72
  return _createClass(EventApi, [{
@@ -110,27 +111,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
110
111
  }
111
112
 
112
113
  /**
113
- * Get Events of a Project
114
+ * List events in a project
115
+ * List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
114
116
  * @param {String} projectOrProductUID
115
117
  * @param {Object} opts Optional parameters
116
118
  * @param {Number} opts.pageSize (default to 1000)
117
119
  * @param {Number} opts.pageNum (default to 1)
118
120
  * @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).
119
121
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
120
- * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
122
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
121
123
  * @param {module:model/String} opts.sortBy (default to 'captured')
122
124
  * @param {module:model/String} opts.sortOrder (default to 'asc')
123
125
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
124
126
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
125
- * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
126
- * @param {Boolean} opts.systemFilesOnly
127
- * @param {String} opts.files
128
- * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
129
- * @param {Array.<String>} opts.serialNumber Filter by Serial Number
127
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
128
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
129
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
130
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
131
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
130
132
  * @param {Array.<String>} opts.fleetUID Filter by FleetUID
131
- * @param {Array.<String>} opts.sessionUID Filter by SessionUID
132
- * @param {Array.<String>} opts.eventUID Filter by EventUID
133
- * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
133
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
134
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
135
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
134
136
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
135
137
  */
136
138
  }, {
@@ -142,7 +144,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
142
144
  }
143
145
 
144
146
  /**
145
- * Get Events of a Fleet
147
+ * List events in a fleet
148
+ * List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
146
149
  * @param {String} projectOrProductUID
147
150
  * @param {String} fleetUID
148
151
  * @param {Object} opts Optional parameters
@@ -150,19 +153,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
150
153
  * @param {Number} opts.pageNum (default to 1)
151
154
  * @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).
152
155
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
153
- * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
156
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
154
157
  * @param {module:model/String} opts.sortBy (default to 'captured')
155
158
  * @param {module:model/String} opts.sortOrder (default to 'asc')
156
159
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
157
160
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
158
- * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
159
- * @param {Boolean} opts.systemFilesOnly
160
- * @param {String} opts.files
161
- * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
162
- * @param {Array.<String>} opts.serialNumber Filter by Serial Number
163
- * @param {Array.<String>} opts.sessionUID Filter by SessionUID
164
- * @param {Array.<String>} opts.eventUID Filter by EventUID
165
- * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
161
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
162
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
163
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
164
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
165
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
166
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
167
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
168
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
166
169
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
167
170
  */
168
171
  }, {
@@ -211,7 +214,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
211
214
  }
212
215
 
213
216
  /**
214
- * Get Events of a Fleet
217
+ * List events in a fleet
218
+ * List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
215
219
  * @param {String} projectOrProductUID
216
220
  * @param {String} fleetUID
217
221
  * @param {Object} opts Optional parameters
@@ -219,19 +223,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
219
223
  * @param {Number} opts.pageNum (default to 1)
220
224
  * @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).
221
225
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
222
- * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
226
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
223
227
  * @param {module:model/String} opts.sortBy (default to 'captured')
224
228
  * @param {module:model/String} opts.sortOrder (default to 'asc')
225
229
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
226
230
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
227
- * @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
228
- * @param {Boolean} opts.systemFilesOnly
229
- * @param {String} opts.files
230
- * @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
231
- * @param {Array.<String>} opts.serialNumber Filter by Serial Number
232
- * @param {Array.<String>} opts.sessionUID Filter by SessionUID
233
- * @param {Array.<String>} opts.eventUID Filter by EventUID
234
- * @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
231
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
232
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
233
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
234
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
235
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
236
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
237
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
238
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
235
239
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
236
240
  */
237
241
  }, {
@@ -243,9 +247,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
243
247
  }
244
248
 
245
249
  /**
246
- * Get Route Logs by EventUID
250
+ * Get an event's route logs
251
+ * Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
247
252
  * @param {String} projectOrProductUID
248
- * @param {String} eventUID
253
+ * @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
249
254
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
250
255
  */
251
256
  }, {
@@ -275,9 +280,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
275
280
  }
276
281
 
277
282
  /**
278
- * Get Route Logs by EventUID
283
+ * Get an event's route logs
284
+ * Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
279
285
  * @param {String} projectOrProductUID
280
- * @param {String} eventUID
286
+ * @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
281
287
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
282
288
  */
283
289
  }, {
@@ -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.56
32
+ * @version 6.7.0-beta.58
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.56
39
+ * @version 6.7.0-beta.58
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.56
32
+ * @version 6.7.0-beta.58
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.56
33
+ * @version 6.7.0-beta.58
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -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.56
59
+ * @version 6.7.0-beta.58
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -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.56
33
+ * @version 6.7.0-beta.58
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -46,7 +46,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
46
46
  }
47
47
 
48
48
  /**
49
- * Create Route within a Project
49
+ * Create a route
50
+ * Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events; unknown FleetUIDs are ignored. Requires the Owner or Developer role. Returns 400 for invalid settings.
50
51
  * @param {String} projectOrProductUID
51
52
  * @param {module:model/NotehubRoute} notehubRoute Route to be created
52
53
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
@@ -77,7 +78,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
77
78
  }
78
79
 
79
80
  /**
80
- * Create Route within a Project
81
+ * Create a route
82
+ * Create a route that sends a project's events to a destination such as a URL, an MQTT broker or a cloud service. Set `type` and fill in the object it names. Omit `fleets` to send every fleet's events; unknown FleetUIDs are ignored. Requires the Owner or Developer role. Returns 400 for invalid settings.
81
83
  * @param {String} projectOrProductUID
82
84
  * @param {module:model/NotehubRoute} notehubRoute Route to be created
83
85
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
@@ -91,9 +93,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
91
93
  }
92
94
 
93
95
  /**
94
- * Delete single route within a project
96
+ * Delete a route
97
+ * Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
95
98
  * @param {String} projectOrProductUID
96
- * @param {String} routeUID
99
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
97
100
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
98
101
  */
99
102
  }, {
@@ -123,9 +126,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
123
126
  }
124
127
 
125
128
  /**
126
- * Delete single route within a project
129
+ * Delete a route
130
+ * Delete a route so it stops sending events. To pause it instead, set `disabled` with `UpdateRoute`. Requires the Owner or Developer role.
127
131
  * @param {String} projectOrProductUID
128
- * @param {String} routeUID
132
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
129
133
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
130
134
  */
131
135
  }, {
@@ -137,9 +141,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
137
141
  }
138
142
 
139
143
  /**
140
- * Get single route within a project
144
+ * Get a route
145
+ * Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
141
146
  * @param {String} projectOrProductUID
142
- * @param {String} routeUID
147
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
143
148
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
144
149
  */
145
150
  }, {
@@ -169,9 +174,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
169
174
  }
170
175
 
171
176
  /**
172
- * Get single route within a project
177
+ * Get a route
178
+ * Get one route's full settings: destination, filter, transform and fleets. Secrets such as passwords and keys come back as `(omitted)`. Requires the Owner or Developer role. Viewers can use `GetRoutes`. Returns 404 if the route doesn't exist.
173
179
  * @param {String} projectOrProductUID
174
- * @param {String} routeUID
180
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
175
181
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
176
182
  */
177
183
  }, {
@@ -183,23 +189,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
183
189
  }
184
190
 
185
191
  /**
186
- * Get Route Logs by RouteUID
192
+ * List a route's logs
193
+ * List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
187
194
  * @param {String} projectOrProductUID
188
- * @param {String} routeUID
195
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
189
196
  * @param {Object} opts Optional parameters
190
197
  * @param {Number} opts.pageSize (default to 1000)
191
198
  * @param {Number} opts.pageNum (default to 1)
192
199
  * @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).
193
200
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
194
- * @param {module:model/String} opts.sortBy (default to 'date')
195
- * @param {module:model/String} opts.sortOrder (default to 'desc')
201
+ * @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
202
+ * @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
196
203
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
197
204
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
198
- * @param {Boolean} opts.systemFilesOnly
199
- * @param {Boolean} opts.mostRecentOnly
200
- * @param {String} opts.files
201
- * @param {Array.<module:model/String>} opts.routingStatus
202
- * @param {Array.<String>} opts.responseStatus
205
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
206
+ * @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
207
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
208
+ * @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
209
+ * @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
203
210
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
204
211
  */
205
212
  }, {
@@ -244,23 +251,24 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
244
251
  }
245
252
 
246
253
  /**
247
- * Get Route Logs by RouteUID
254
+ * List a route's logs
255
+ * List a route's attempts to send events, newest first, with each one's event, response status, body and duration. Filter by device, notefile, date, success or HTTP status. For one event, use `GetRouteLogsByEvent`. Paginated. Returns 404 if the route doesn't exist.
248
256
  * @param {String} projectOrProductUID
249
- * @param {String} routeUID
257
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
250
258
  * @param {Object} opts Optional parameters
251
259
  * @param {Number} opts.pageSize (default to 1000)
252
260
  * @param {Number} opts.pageNum (default to 1)
253
261
  * @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).
254
262
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
255
- * @param {module:model/String} opts.sortBy (default to 'date')
256
- * @param {module:model/String} opts.sortOrder (default to 'desc')
263
+ * @param {module:model/String} opts.sortBy Field to sort by. - `date`: when the attempt was made - `event`: the order the events arrived in, then the attempt time (default to 'date')
264
+ * @param {module:model/String} opts.sortOrder Sort direction. - `asc`: oldest first - `desc`: newest first (default to 'desc')
257
265
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
258
266
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
259
- * @param {Boolean} opts.systemFilesOnly
260
- * @param {Boolean} opts.mostRecentOnly
261
- * @param {String} opts.files
262
- * @param {Array.<module:model/String>} opts.routingStatus
263
- * @param {Array.<String>} opts.responseStatus
267
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
268
+ * @param {Boolean} opts.mostRecentOnly If true, return only the latest attempt for each event.
269
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
270
+ * @param {Array.<module:model/String>} opts.routingStatus Return only attempts with this outcome. - `success`: the destination accepted the event - `failure`: the attempt failed
271
+ * @param {Array.<String>} opts.responseStatus Response status codes to include, e.g. `500`.
264
272
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
265
273
  */
266
274
  }, {
@@ -272,7 +280,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
272
280
  }
273
281
 
274
282
  /**
275
- * Get all Routes within a Project
283
+ * List routes
284
+ * List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
276
285
  * @param {String} projectOrProductUID
277
286
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotehubRouteSummary>} and HTTP response
278
287
  */
@@ -298,7 +307,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
298
307
  }
299
308
 
300
309
  /**
301
- * Get all Routes within a Project
310
+ * List routes
311
+ * List a project's routes with their type and label and whether they're disabled, without their settings. For a route's settings, use `GetRoute`.
302
312
  * @param {String} projectOrProductUID
303
313
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotehubRouteSummary>}
304
314
  */
@@ -311,9 +321,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
311
321
  }
312
322
 
313
323
  /**
314
- * Update route by UID
324
+ * Update a route
325
+ * Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, 400 for invalid settings, and 409 if another MQTT route on the same broker uses the same client ID.
315
326
  * @param {String} projectOrProductUID
316
- * @param {String} routeUID
327
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
317
328
  * @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
318
329
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
319
330
  */
@@ -348,9 +359,10 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
348
359
  }
349
360
 
350
361
  /**
351
- * Update route by UID
362
+ * Update a route
363
+ * Change a route's settings. Fields you leave out keep their values, and a secret sent back as `(omitted)` is kept, but leaving out `notes` clears it. Requires the Owner or Developer role. Returns 404 if the route doesn't exist, 400 for invalid settings, and 409 if another MQTT route on the same broker uses the same client ID.
352
364
  * @param {String} projectOrProductUID
353
- * @param {String} routeUID
365
+ * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
354
366
  * @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
355
367
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
356
368
  */
@@ -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.56
34
+ * @version 6.7.0-beta.58
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.56
35
+ * @version 6.7.0-beta.58
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.56
32
+ * @version 6.7.0-beta.58
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
package/dist/index.js CHANGED
@@ -867,12 +867,6 @@ Object.defineProperty(exports, "RepositoryListResponse", {
867
867
  return _RepositoryListResponse["default"];
868
868
  }
869
869
  });
870
- Object.defineProperty(exports, "RepositoryRecord", {
871
- enumerable: true,
872
- get: function get() {
873
- return _RepositoryRecord["default"];
874
- }
875
- });
876
870
  Object.defineProperty(exports, "RepositoryTokenRequest", {
877
871
  enumerable: true,
878
872
  get: function get() {
@@ -1271,7 +1265,6 @@ var _QubitroRoute = _interopRequireDefault(require("./model/QubitroRoute"));
1271
1265
  var _RadRoute = _interopRequireDefault(require("./model/RadRoute"));
1272
1266
  var _Repository = _interopRequireDefault(require("./model/Repository"));
1273
1267
  var _RepositoryListResponse = _interopRequireDefault(require("./model/RepositoryListResponse"));
1274
- var _RepositoryRecord = _interopRequireDefault(require("./model/RepositoryRecord"));
1275
1268
  var _RepositoryTokenRequest = _interopRequireDefault(require("./model/RepositoryTokenRequest"));
1276
1269
  var _RepositoryTokenResponse = _interopRequireDefault(require("./model/RepositoryTokenResponse"));
1277
1270
  var _Role = _interopRequireDefault(require("./model/Role"));