@blues-inc/notehub-js 6.7.0-beta.71 → 6.7.0-beta.73

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 +111 -112
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +7 -5
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +33 -49
  6. package/dist/api/DeviceApi.js +115 -177
  7. package/dist/api/EventApi.js +45 -51
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +27 -17
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +149 -237
  13. package/dist/api/RouteApi.js +35 -47
  14. package/dist/api/SkillsApi.js +1 -1
  15. package/dist/api/UsageApi.js +1 -1
  16. package/dist/api/WebhookApi.js +45 -67
  17. package/dist/index.js +0 -7
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  20. package/dist/model/Alert.js +11 -6
  21. package/dist/model/AlertDataInner.js +9 -4
  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 -2
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +2 -3
  33. package/dist/model/CloneProjectRequest.js +7 -7
  34. package/dist/model/Contact.js +1 -1
  35. package/dist/model/CreateFleetRequest.js +3 -4
  36. package/dist/model/CreateJob201Response.js +1 -1
  37. package/dist/model/CreateMonitor.js +37 -25
  38. package/dist/model/CreateProductRequest.js +6 -7
  39. package/dist/model/CreateProjectRequest.js +5 -5
  40. package/dist/model/CreateProjectSecretRequest.js +5 -5
  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 +3 -3
  53. package/dist/model/DeleteJob200Response.js +1 -1
  54. package/dist/model/DeleteNotefilesRequest.js +2 -2
  55. package/dist/model/DescriptionRecord.js +6 -6
  56. package/dist/model/DescriptionRecordList.js +1 -1
  57. package/dist/model/Device.js +8 -27
  58. package/dist/model/DeviceDfuHistory.js +1 -2
  59. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  61. package/dist/model/DeviceDfuStateMachine.js +1 -2
  62. package/dist/model/DeviceDfuStateMachineNode.js +2 -2
  63. package/dist/model/DeviceDfuStatus.js +2 -2
  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 -6
  68. package/dist/model/DeviceUsage.js +1 -1
  69. package/dist/model/DfuActionRequest.js +2 -2
  70. package/dist/model/EmailNotification.js +2 -2
  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 +6 -6
  79. package/dist/model/Fleet.js +10 -11
  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 +2 -2
  94. package/dist/model/GetDevicePlans200Response.js +1 -2
  95. package/dist/model/GetDevicePublicKey200Response.js +3 -5
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -3
  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 +4 -7
  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 +7 -13
  127. package/dist/model/Monitor.js +18 -12
  128. package/dist/model/MonitorAlertRoutesInner.js +4 -4
  129. package/dist/model/MqttRoute.js +1 -1
  130. package/dist/model/Note.js +2 -2
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +1 -2
  133. package/dist/model/NotefileSchema.js +3 -5
  134. package/dist/model/NotehubRoute.js +3 -7
  135. package/dist/model/NotehubRouteSummary.js +1 -6
  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 +4 -8
  140. package/dist/model/Project.js +4 -7
  141. package/dist/model/ProjectMember.js +4 -5
  142. package/dist/model/ProjectSecret.js +7 -7
  143. package/dist/model/ProvisionDeviceRequest.js +5 -5
  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 +4 -6
  158. package/dist/model/SignalDevice200Response.js +2 -2
  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 +3 -3
  167. package/dist/model/SlackRoute.js +1 -1
  168. package/dist/model/SlackWebHookNotification.js +3 -3
  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 +6 -7
  175. package/dist/model/UpdateHostFirmwareRequest.js +4 -4
  176. package/dist/model/UpdateProjectSecretRequest.js +3 -3
  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 +4 -4
  188. package/package.json +1 -1
  189. package/dist/model/RepositoryRecord.js +0 -119
@@ -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.71
33
+ * @version 6.7.0-beta.73
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -46,8 +46,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
46
46
  }
47
47
 
48
48
  /**
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, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
49
+ * Create Route within a Project
51
50
  * @param {String} projectOrProductUID
52
51
  * @param {module:model/NotehubRoute} notehubRoute Route to be created
53
52
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
@@ -78,8 +77,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
78
77
  }
79
78
 
80
79
  /**
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, so `fleets: []` or a list of only unknown UIDs gives a route that sends nothing. Requires the Owner or Developer role. Returns 400 for invalid settings.
80
+ * Create Route within a Project
83
81
  * @param {String} projectOrProductUID
84
82
  * @param {module:model/NotehubRoute} notehubRoute Route to be created
85
83
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
@@ -93,10 +91,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
93
91
  }
94
92
 
95
93
  /**
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.
94
+ * Delete single route within a project
98
95
  * @param {String} projectOrProductUID
99
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
96
+ * @param {String} routeUID
100
97
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
101
98
  */
102
99
  }, {
@@ -126,10 +123,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
126
123
  }
127
124
 
128
125
  /**
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.
126
+ * Delete single route within a project
131
127
  * @param {String} projectOrProductUID
132
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
128
+ * @param {String} routeUID
133
129
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
134
130
  */
135
131
  }, {
@@ -141,10 +137,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
141
137
  }
142
138
 
143
139
  /**
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.
140
+ * Get single route within a project
146
141
  * @param {String} projectOrProductUID
147
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
142
+ * @param {String} routeUID
148
143
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
149
144
  */
150
145
  }, {
@@ -174,10 +169,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
174
169
  }
175
170
 
176
171
  /**
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.
172
+ * Get single route within a project
179
173
  * @param {String} projectOrProductUID
180
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
174
+ * @param {String} routeUID
181
175
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
182
176
  */
183
177
  }, {
@@ -189,24 +183,23 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
189
183
  }
190
184
 
191
185
  /**
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.
186
+ * Get Route Logs by RouteUID
194
187
  * @param {String} projectOrProductUID
195
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
188
+ * @param {String} routeUID
196
189
  * @param {Object} opts Optional parameters
197
190
  * @param {Number} opts.pageSize (default to 1000)
198
191
  * @param {Number} opts.pageNum (default to 1)
199
192
  * @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).
200
193
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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')
194
+ * @param {module:model/String} opts.sortBy (default to 'date')
195
+ * @param {module:model/String} opts.sortOrder (default to 'desc')
203
196
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
204
197
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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`.
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
210
203
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
211
204
  */
212
205
  }, {
@@ -251,24 +244,23 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
251
244
  }
252
245
 
253
246
  /**
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.
247
+ * Get Route Logs by RouteUID
256
248
  * @param {String} projectOrProductUID
257
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
249
+ * @param {String} routeUID
258
250
  * @param {Object} opts Optional parameters
259
251
  * @param {Number} opts.pageSize (default to 1000)
260
252
  * @param {Number} opts.pageNum (default to 1)
261
253
  * @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).
262
254
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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')
255
+ * @param {module:model/String} opts.sortBy (default to 'date')
256
+ * @param {module:model/String} opts.sortOrder (default to 'desc')
265
257
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
266
258
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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`.
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
272
264
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
273
265
  */
274
266
  }, {
@@ -280,8 +272,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
280
272
  }
281
273
 
282
274
  /**
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`.
275
+ * Get all Routes within a Project
285
276
  * @param {String} projectOrProductUID
286
277
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotehubRouteSummary>} and HTTP response
287
278
  */
@@ -307,8 +298,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
307
298
  }
308
299
 
309
300
  /**
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`.
301
+ * Get all Routes within a Project
312
302
  * @param {String} projectOrProductUID
313
303
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotehubRouteSummary>}
314
304
  */
@@ -321,10 +311,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
321
311
  }
322
312
 
323
313
  /**
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, and 400 for invalid settings.
314
+ * Update route by UID
326
315
  * @param {String} projectOrProductUID
327
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
316
+ * @param {String} routeUID
328
317
  * @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
329
318
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NotehubRoute} and HTTP response
330
319
  */
@@ -359,10 +348,9 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
359
348
  }
360
349
 
361
350
  /**
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, and 400 for invalid settings.
351
+ * Update route by UID
364
352
  * @param {String} projectOrProductUID
365
- * @param {String} routeUID RouteUID, e.g. `route:cbd20093cba58392c9f9bbdd0cdeb1a0`. List with `GetRoutes`.
353
+ * @param {String} routeUID
366
354
  * @param {module:model/NotehubRoute} notehubRoute Route settings to be updated
367
355
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NotehubRoute}
368
356
  */
@@ -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.71
34
+ * @version 6.7.0-beta.73
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.71
35
+ * @version 6.7.0-beta.73
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.71
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -45,8 +45,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
45
45
  }
46
46
 
47
47
  /**
48
- * Add a note-shaped event from a device (legacy)
49
- * Legacy: add an event from a device, adding the device to the project if it's new. The body is note-shaped: `file`, `body`, an optional base64 `payload`, and other event fields such as `when` and `sn`. No webhook transform applies. New integrations should use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if there's no `body` or `payload`.
48
+ * Legacy endpoint for sending an event from a webhook, associated with the given device (provisioning it if necessary). The request body is a Note-shaped object containing the notefile name, body, and optional payload.
50
49
  * @param {String} productUID
51
50
  * @param {String} deviceUID
52
51
  * @param {Object.<String, {String: Object}>} requestBody A Note-shaped event. Typically contains the notefile name (file), a JSON body, and an optional base64-encoded payload, but any additional Note fields (e.g. when, sn, where_lat, where_lon) are accepted and honored.
@@ -83,8 +82,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
83
82
  }
84
83
 
85
84
  /**
86
- * Add a note-shaped event from a device (legacy)
87
- * Legacy: add an event from a device, adding the device to the project if it's new. The body is note-shaped: `file`, `body`, an optional base64 `payload`, and other event fields such as `when` and `sn`. No webhook transform applies. New integrations should use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if there's no `body` or `payload`.
85
+ * Legacy endpoint for sending an event from a webhook, associated with the given device (provisioning it if necessary). The request body is a Note-shaped object containing the notefile name, body, and optional payload.
88
86
  * @param {String} productUID
89
87
  * @param {String} deviceUID
90
88
  * @param {Object.<String, {String: Object}>} requestBody A Note-shaped event. Typically contains the notefile name (file), a JSON body, and an optional base64-encoded payload, but any additional Note fields (e.g. when, sn, where_lat, where_lon) are accepted and honored.
@@ -99,10 +97,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
99
97
  }
100
98
 
101
99
  /**
102
- * Create a webhook
103
- * Create an inbound webhook that outside services post to with `CreateWebhookEventByProduct`. Its events go to the notefile `<webhookUID>.qo` unless its JSONata `transform` sets `file`. Use a lower-case ID; the event endpoints look it up in lower case. Requires the Owner or Developer role. Returns 409 if the ID is taken, and 400 if it has characters other than letters, digits, `-` and `_`.
100
+ * Creates a webhook for the specified product with the given name. The name | must be unique within the project.
104
101
  * @param {String} projectOrProductUID
105
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
102
+ * @param {String} webhookUID WebhookUID
106
103
  * @param {module:model/WebhookSettings} webhookSettings
107
104
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
108
105
  */
@@ -137,10 +134,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
137
134
  }
138
135
 
139
136
  /**
140
- * Create a webhook
141
- * Create an inbound webhook that outside services post to with `CreateWebhookEventByProduct`. Its events go to the notefile `<webhookUID>.qo` unless its JSONata `transform` sets `file`. Use a lower-case ID; the event endpoints look it up in lower case. Requires the Owner or Developer role. Returns 409 if the ID is taken, and 400 if it has characters other than letters, digits, `-` and `_`.
137
+ * Creates a webhook for the specified product with the given name. The name | must be unique within the project.
142
138
  * @param {String} projectOrProductUID
143
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
139
+ * @param {String} webhookUID WebhookUID
144
140
  * @param {module:model/WebhookSettings} webhookSettings
145
141
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
146
142
  */
@@ -153,12 +149,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
153
149
  }
154
150
 
155
151
  /**
156
- * Send a device's event through a webhook
157
- * Post JSON to a webhook as one device's event, like `CreateWebhookEventByProduct`. The device is added to the project if it's new; a DeviceUID without a prefix becomes `dev:ext:<deviceUID>`, in lower case. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
152
+ * Sends an event to be processed by the specified webhook, addressed by productUID, associated with the given device (provisioning it if necessary). The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing.
158
153
  * @param {String} productUID
159
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
154
+ * @param {String} webhookUID WebhookUID
160
155
  * @param {String} deviceUID
161
- * @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
156
+ * @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
162
157
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
163
158
  */
164
159
  }, {
@@ -197,12 +192,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
197
192
  }
198
193
 
199
194
  /**
200
- * Send a device's event through a webhook
201
- * Post JSON to a webhook as one device's event, like `CreateWebhookEventByProduct`. The device is added to the project if it's new; a DeviceUID without a prefix becomes `dev:ext:<deviceUID>`, in lower case. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
195
+ * Sends an event to be processed by the specified webhook, addressed by productUID, associated with the given device (provisioning it if necessary). The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing.
202
196
  * @param {String} productUID
203
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
197
+ * @param {String} webhookUID WebhookUID
204
198
  * @param {String} deviceUID
205
- * @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
199
+ * @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
206
200
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
207
201
  */
208
202
  }, {
@@ -214,11 +208,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
214
208
  }
215
209
 
216
210
  /**
217
- * Send an event through a webhook
218
- * Post JSON to a webhook. The whole body becomes the event body, in the notefile `<webhookUID>.qo`, from the device `dev:ext:webhook`, unless the webhook's `transform` sets other values. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
211
+ * Sends an event to be processed by the specified webhook, addressed by productUID. The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing. The event is not associated with a specific device.
219
212
  * @param {String} productUID
220
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
221
- * @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
213
+ * @param {String} webhookUID WebhookUID
214
+ * @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
222
215
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
223
216
  */
224
217
  }, {
@@ -252,11 +245,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
252
245
  }
253
246
 
254
247
  /**
255
- * Send an event through a webhook
256
- * Post JSON to a webhook. The whole body becomes the event body, in the notefile `<webhookUID>.qo`, from the device `dev:ext:webhook`, unless the webhook's `transform` sets other values. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
248
+ * Sends an event to be processed by the specified webhook, addressed by productUID. The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing. The event is not associated with a specific device.
257
249
  * @param {String} productUID
258
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
259
- * @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
250
+ * @param {String} webhookUID WebhookUID
251
+ * @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
260
252
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
261
253
  */
262
254
  }, {
@@ -268,10 +260,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
268
260
  }
269
261
 
270
262
  /**
271
- * Delete a webhook
272
- * Delete a webhook's settings. Posts to its ID are still accepted, just without a transform; to stop accepting them, set `disabled` with `UpdateWebhook` instead. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
263
+ * Deletes the specified webhook
273
264
  * @param {String} projectOrProductUID
274
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
265
+ * @param {String} webhookUID WebhookUID
275
266
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
276
267
  */
277
268
  }, {
@@ -301,10 +292,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
301
292
  }
302
293
 
303
294
  /**
304
- * Delete a webhook
305
- * Delete a webhook's settings. Posts to its ID are still accepted, just without a transform; to stop accepting them, set `disabled` with `UpdateWebhook` instead. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
295
+ * Deletes the specified webhook
306
296
  * @param {String} projectOrProductUID
307
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
297
+ * @param {String} webhookUID WebhookUID
308
298
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
309
299
  */
310
300
  }, {
@@ -316,10 +306,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
316
306
  }
317
307
 
318
308
  /**
319
- * Get a webhook
320
- * Get one webhook's transform and whether it's disabled. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
309
+ * Retrieves the configuration settings for the specified webhook
321
310
  * @param {String} projectOrProductUID
322
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
311
+ * @param {String} webhookUID WebhookUID
323
312
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WebhookSettings} and HTTP response
324
313
  */
325
314
  }, {
@@ -349,10 +338,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
349
338
  }
350
339
 
351
340
  /**
352
- * Get a webhook
353
- * Get one webhook's transform and whether it's disabled. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
341
+ * Retrieves the configuration settings for the specified webhook
354
342
  * @param {String} projectOrProductUID
355
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
343
+ * @param {String} webhookUID WebhookUID
356
344
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WebhookSettings}
357
345
  */
358
346
  }, {
@@ -364,10 +352,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
364
352
  }
365
353
 
366
354
  /**
367
- * Get a webhook by ProductUID
368
- * Get one webhook's settings, like `GetWebhook`, but addressed by ProductUID instead of the project. Requires the Owner or Developer role. Returns 500, not 404, if the webhook doesn't exist.
355
+ * Retrieves the configuration settings for the specified webhook, addressed by productUID.
369
356
  * @param {String} productUID
370
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
357
+ * @param {String} webhookUID WebhookUID
371
358
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WebhookSettings} and HTTP response
372
359
  */
373
360
  }, {
@@ -397,10 +384,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
397
384
  }
398
385
 
399
386
  /**
400
- * Get a webhook by ProductUID
401
- * Get one webhook's settings, like `GetWebhook`, but addressed by ProductUID instead of the project. Requires the Owner or Developer role. Returns 500, not 404, if the webhook doesn't exist.
387
+ * Retrieves the configuration settings for the specified webhook, addressed by productUID.
402
388
  * @param {String} productUID
403
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
389
+ * @param {String} webhookUID WebhookUID
404
390
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WebhookSettings}
405
391
  */
406
392
  }, {
@@ -412,8 +398,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
412
398
  }
413
399
 
414
400
  /**
415
- * List webhooks
416
- * List a project's inbound webhooks with their transforms and whether they're disabled. An inbound webhook lets an outside service post data that Notehub turns into events. Requires the Owner or Developer role.
401
+ * Retrieves all webhooks for the specified project
417
402
  * @param {String} projectOrProductUID
418
403
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetWebhooks200Response} and HTTP response
419
404
  */
@@ -439,8 +424,7 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
439
424
  }
440
425
 
441
426
  /**
442
- * List webhooks
443
- * List a project's inbound webhooks with their transforms and whether they're disabled. An inbound webhook lets an outside service post data that Notehub turns into events. Requires the Owner or Developer role.
427
+ * Retrieves all webhooks for the specified project
444
428
  * @param {String} projectOrProductUID
445
429
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetWebhooks200Response}
446
430
  */
@@ -453,12 +437,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
453
437
  }
454
438
 
455
439
  /**
456
- * Open or close a webhook device's session (legacy)
457
- * Legacy: open, update or close a webhook device's session, adding the device if it's new. The body is a session: set `why_session_opened` to open one, `why_session_closed` to close it, both to close and reopen, or neither to update the open session. Requires the Owner or Developer role. Returns 400 when updating with no session open.
440
+ * Legacy endpoint for opening or updating a webhook session for the given device (provisioning the device if necessary). Used by external services that need to maintain a callable session against a device behind a webhook.
458
441
  * @param {String} productUID
459
442
  * @param {String} deviceUID
460
443
  * @param {Object} opts Optional parameters
461
- * @param {Object.<String, {String: Object}>} opts.requestBody Session fields, such as `why_session_opened`, `why_session_closed` and signal or location values.
444
+ * @param {Object.<String, {String: Object}>} opts.requestBody Optional session metadata.
462
445
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
463
446
  */
464
447
  }, {
@@ -489,12 +472,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
489
472
  }
490
473
 
491
474
  /**
492
- * Open or close a webhook device's session (legacy)
493
- * Legacy: open, update or close a webhook device's session, adding the device if it's new. The body is a session: set `why_session_opened` to open one, `why_session_closed` to close it, both to close and reopen, or neither to update the open session. Requires the Owner or Developer role. Returns 400 when updating with no session open.
475
+ * Legacy endpoint for opening or updating a webhook session for the given device (provisioning the device if necessary). Used by external services that need to maintain a callable session against a device behind a webhook.
494
476
  * @param {String} productUID
495
477
  * @param {String} deviceUID
496
478
  * @param {Object} opts Optional parameters
497
- * @param {Object.<String, {String: Object}>} opts.requestBody Session fields, such as `why_session_opened`, `why_session_closed` and signal or location values.
479
+ * @param {Object.<String, {String: Object}>} opts.requestBody Optional session metadata.
498
480
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
499
481
  */
500
482
  }, {
@@ -506,10 +488,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
506
488
  }
507
489
 
508
490
  /**
509
- * Update a webhook
510
- * Replace a webhook's settings, creating the webhook if it doesn't exist. Send every field: a missing `transform` is cleared and a missing `disabled` enables the webhook. Requires the Owner or Developer role.
491
+ * Updates the configuration settings for the specified webhook. | Webhook will be created if it does not exist. Update body will completely replace the existing settings.
511
492
  * @param {String} projectOrProductUID
512
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
493
+ * @param {String} webhookUID WebhookUID
513
494
  * @param {module:model/WebhookSettings} webhookSettings
514
495
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
515
496
  */
@@ -544,10 +525,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
544
525
  }
545
526
 
546
527
  /**
547
- * Update a webhook
548
- * Replace a webhook's settings, creating the webhook if it doesn't exist. Send every field: a missing `transform` is cleared and a missing `disabled` enables the webhook. Requires the Owner or Developer role.
528
+ * Updates the configuration settings for the specified webhook. | Webhook will be created if it does not exist. Update body will completely replace the existing settings.
549
529
  * @param {String} projectOrProductUID
550
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
530
+ * @param {String} webhookUID WebhookUID
551
531
  * @param {module:model/WebhookSettings} webhookSettings
552
532
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
553
533
  */
@@ -560,10 +540,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
560
540
  }
561
541
 
562
542
  /**
563
- * Update a webhook by ProductUID
564
- * Replace a webhook's settings, like `UpdateWebhook`, but addressed by ProductUID. Creates the webhook if it doesn't exist. Requires the Owner or Developer role. Returns 400 if the ID has characters other than letters, digits, `-` and `_`.
543
+ * Updates the configuration settings for the specified webhook, addressed by productUID. Update body will completely replace the existing settings.
565
544
  * @param {String} productUID
566
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
545
+ * @param {String} webhookUID WebhookUID
567
546
  * @param {module:model/WebhookSettings} webhookSettings
568
547
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
569
548
  */
@@ -598,10 +577,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
598
577
  }
599
578
 
600
579
  /**
601
- * Update a webhook by ProductUID
602
- * Replace a webhook's settings, like `UpdateWebhook`, but addressed by ProductUID. Creates the webhook if it doesn't exist. Requires the Owner or Developer role. Returns 400 if the ID has characters other than letters, digits, `-` and `_`.
580
+ * Updates the configuration settings for the specified webhook, addressed by productUID. Update body will completely replace the existing settings.
603
581
  * @param {String} productUID
604
- * @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
582
+ * @param {String} webhookUID WebhookUID
605
583
  * @param {module:model/WebhookSettings} webhookSettings
606
584
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
607
585
  */
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"));
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.7.0-beta.71
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var AWSRoleConfig = /*#__PURE__*/function () {
35
35
  /**
@@ -29,13 +29,13 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AddDeviceToFleetsRequest model module.
31
31
  * @module model/AddDeviceToFleetsRequest
32
- * @version 6.7.0-beta.71
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>AddDeviceToFleetsRequest</code>.
37
37
  * @alias module:model/AddDeviceToFleetsRequest
38
- * @param fleetUids {Array.<String>} FleetUIDs to add the device to.
38
+ * @param fleetUids {Array.<String>} The fleetUIDs to add to the device.
39
39
  */
40
40
  function AddDeviceToFleetsRequest(fleetUids) {
41
41
  _classCallCheck(this, AddDeviceToFleetsRequest);
@@ -108,7 +108,7 @@ var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
108
108
  AddDeviceToFleetsRequest.RequiredProperties = ["fleet_uids"];
109
109
 
110
110
  /**
111
- * FleetUIDs to add the device to.
111
+ * The fleetUIDs to add to the device.
112
112
  * @member {Array.<String>} fleet_uids
113
113
  */
114
114
  AddDeviceToFleetsRequest.prototype["fleet_uids"] = undefined;
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 6.7.0-beta.71
34
+ * @version 6.7.0-beta.73
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -203,7 +203,7 @@ var Alert = /*#__PURE__*/function () {
203
203
  Alert.prototype["alert_source"] = undefined;
204
204
 
205
205
  /**
206
- * The time the alert was created
206
+ * When the alert was raised, as a Unix timestamp in seconds.
207
207
  * @member {Number} created_at
208
208
  */
209
209
  Alert.prototype["created_at"] = undefined;
@@ -220,7 +220,7 @@ Alert.prototype["data"] = undefined;
220
220
  Alert.prototype["device_uid"] = undefined;
221
221
 
222
222
  /**
223
- * The field name that triggered the alert
223
+ * The monitor's `source_selector`.
224
224
  * @member {String} field_name
225
225
  */
226
226
  Alert.prototype["field_name"] = undefined;
@@ -232,7 +232,7 @@ Alert.prototype["field_name"] = undefined;
232
232
  Alert.prototype["monitor_name"] = undefined;
233
233
 
234
234
  /**
235
- * The type of monitor that triggered the alert
235
+ * The `source_type` of the monitor that raised the alert.
236
236
  * @member {module:model/Alert.MonitorTypeEnum} monitor_type
237
237
  */
238
238
  Alert.prototype["monitor_type"] = undefined;
@@ -308,9 +308,14 @@ Alert["MonitorTypeEnum"] = {
308
308
  */
309
309
  event: "event",
310
310
  /**
311
- * value: "device"
311
+ * value: "heartbeat"
312
312
  * @const
313
313
  */
314
- device: "device"
314
+ heartbeat: "heartbeat",
315
+ /**
316
+ * value: "usage"
317
+ * @const
318
+ */
319
+ usage: "usage"
315
320
  };
316
321
  var _default = exports["default"] = Alert;