@blues-inc/notehub-js 6.7.0-beta.63 → 6.7.0-beta.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/README.md +44 -44
  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 +45 -51
  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 +165 -97
  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 +1 -1
  17. package/dist/model/AWSRoleConfig.js +1 -1
  18. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  19. package/dist/model/Alert.js +1 -1
  20. package/dist/model/AlertDataInner.js +1 -1
  21. package/dist/model/AlertNotificationsInner.js +1 -1
  22. package/dist/model/ArchiveStats.js +1 -1
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/BatchJobNoteRequest.js +1 -1
  26. package/dist/model/BatchJobRequests.js +1 -1
  27. package/dist/model/BillingAccount.js +1 -1
  28. package/dist/model/BlynkRoute.js +1 -1
  29. package/dist/model/Body.js +1 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +1 -1
  32. package/dist/model/CloneProjectRequest.js +7 -7
  33. package/dist/model/Contact.js +1 -1
  34. package/dist/model/CreateFleetRequest.js +4 -3
  35. package/dist/model/CreateJob201Response.js +1 -1
  36. package/dist/model/CreateMonitor.js +1 -1
  37. package/dist/model/CreateProductRequest.js +7 -6
  38. package/dist/model/CreateProjectRequest.js +5 -5
  39. package/dist/model/CreateProjectSecretRequest.js +5 -5
  40. package/dist/model/CreateUpdateRepository.js +1 -1
  41. package/dist/model/CreatedRepository.js +1 -1
  42. package/dist/model/CurrentFirmware.js +1 -1
  43. package/dist/model/DFUEnv.js +1 -1
  44. package/dist/model/DFUState.js +1 -1
  45. package/dist/model/DataField.js +1 -1
  46. package/dist/model/DataSet.js +1 -1
  47. package/dist/model/DataSetField.js +1 -1
  48. package/dist/model/DataUsage.js +1 -1
  49. package/dist/model/DatacakeRoute.js +1 -1
  50. package/dist/model/DatasetReloadProgress.js +1 -1
  51. package/dist/model/DeleteDeviceFromFleetsRequest.js +3 -3
  52. package/dist/model/DeleteJob200Response.js +1 -1
  53. package/dist/model/DeleteNotefilesRequest.js +1 -1
  54. package/dist/model/DescriptionRecord.js +1 -1
  55. package/dist/model/DescriptionRecordList.js +1 -1
  56. package/dist/model/Device.js +1 -1
  57. package/dist/model/DeviceDfuHistory.js +1 -1
  58. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  62. package/dist/model/DeviceDfuStatus.js +1 -1
  63. package/dist/model/DeviceDfuStatusPage.js +1 -1
  64. package/dist/model/DeviceSensor.js +1 -1
  65. package/dist/model/DeviceSession.js +1 -1
  66. package/dist/model/DeviceTowerInfo.js +1 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +1 -1
  69. package/dist/model/EmailNotification.js +1 -1
  70. package/dist/model/EnvTreeJsonNode.js +1 -1
  71. package/dist/model/EnvVar.js +1 -1
  72. package/dist/model/EnvironmentVariables.js +1 -1
  73. package/dist/model/Error.js +1 -1
  74. package/dist/model/Event.js +1 -1
  75. package/dist/model/Filter.js +1 -1
  76. package/dist/model/Firmware.js +1 -1
  77. package/dist/model/FirmwareInfo.js +1 -1
  78. package/dist/model/Fleet.js +11 -10
  79. package/dist/model/FleetConnectivityAssurance.js +1 -1
  80. package/dist/model/GetAlerts200Response.js +1 -1
  81. package/dist/model/GetApiUsage200Response.js +1 -1
  82. package/dist/model/GetDataUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  84. package/dist/model/GetDbNote200Response.js +1 -1
  85. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  86. package/dist/model/GetDeviceFleets200Response.js +1 -1
  87. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  88. package/dist/model/GetDeviceJourney200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  90. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  91. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  92. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  93. package/dist/model/GetDevicePlans200Response.js +1 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  97. package/dist/model/GetDeviceSessions200Response.js +1 -1
  98. package/dist/model/GetDevices200Response.js +1 -1
  99. package/dist/model/GetEvents200Response.js +1 -1
  100. package/dist/model/GetJobRuns200Response.js +1 -1
  101. package/dist/model/GetJobs200Response.js +1 -1
  102. package/dist/model/GetNotefile200Response.js +1 -1
  103. package/dist/model/GetOrganization200Response.js +1 -1
  104. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  105. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  107. package/dist/model/GetOrganizations200Response.js +1 -1
  108. package/dist/model/GetProducts200Response.js +1 -1
  109. package/dist/model/GetProjectMembers200Response.js +1 -1
  110. package/dist/model/GetProjectSecretsResponse.js +1 -1
  111. package/dist/model/GetProjects200Response.js +1 -1
  112. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  113. package/dist/model/GetSessionsUsage200Response.js +1 -1
  114. package/dist/model/GetWebhooks200Response.js +1 -1
  115. package/dist/model/GoogleRoute.js +1 -1
  116. package/dist/model/HealthLog.js +1 -1
  117. package/dist/model/HttpRoute.js +1 -1
  118. package/dist/model/Job.js +1 -1
  119. package/dist/model/JobDefinition.js +1 -1
  120. package/dist/model/JobDefinitionReportOptions.js +1 -1
  121. package/dist/model/JobDefinitionSelect.js +1 -1
  122. package/dist/model/JobDetail.js +1 -1
  123. package/dist/model/JobDetailAllOf.js +1 -1
  124. package/dist/model/JobRun.js +1 -1
  125. package/dist/model/Location.js +1 -1
  126. package/dist/model/Monitor.js +1 -1
  127. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  128. package/dist/model/MqttRoute.js +1 -1
  129. package/dist/model/Note.js +1 -1
  130. package/dist/model/NoteInput.js +1 -1
  131. package/dist/model/Notefile.js +1 -1
  132. package/dist/model/NotefileSchema.js +5 -3
  133. package/dist/model/NotehubRoute.js +3 -7
  134. package/dist/model/NotehubRouteSummary.js +1 -6
  135. package/dist/model/OAuth2Error.js +1 -1
  136. package/dist/model/OAuth2TokenResponse.js +1 -1
  137. package/dist/model/Organization.js +1 -1
  138. package/dist/model/Product.js +8 -4
  139. package/dist/model/Project.js +7 -4
  140. package/dist/model/ProjectMember.js +5 -4
  141. package/dist/model/ProjectSecret.js +7 -7
  142. package/dist/model/ProvisionDeviceRequest.js +1 -1
  143. package/dist/model/ProxyRoute.js +1 -1
  144. package/dist/model/QubitroRoute.js +1 -1
  145. package/dist/model/RadRoute.js +1 -1
  146. package/dist/model/Repository.js +1 -1
  147. package/dist/model/RepositoryListResponse.js +1 -1
  148. package/dist/model/RepositoryTokenRequest.js +1 -1
  149. package/dist/model/RepositoryTokenResponse.js +1 -1
  150. package/dist/model/RouteLog.js +9 -9
  151. package/dist/model/RouteTransformSettings.js +1 -1
  152. package/dist/model/RunJob200Response.js +1 -1
  153. package/dist/model/S3ArchiveRoute.js +1 -1
  154. package/dist/model/SatelliteDataUsage.js +1 -1
  155. package/dist/model/SatellitePlan.js +1 -1
  156. package/dist/model/SchemaProperty.js +6 -4
  157. package/dist/model/SignalDevice200Response.js +1 -1
  158. package/dist/model/SimUsage.js +1 -1
  159. package/dist/model/Skill.js +1 -1
  160. package/dist/model/SkillLinks.js +1 -1
  161. package/dist/model/SkillSet.js +1 -1
  162. package/dist/model/SkillSummary.js +1 -1
  163. package/dist/model/SkillWrite.js +1 -1
  164. package/dist/model/SkillWriteResult.js +1 -1
  165. package/dist/model/SlackBearerNotification.js +1 -1
  166. package/dist/model/SlackRoute.js +1 -1
  167. package/dist/model/SlackWebHookNotification.js +1 -1
  168. package/dist/model/SnowflakeRoute.js +1 -1
  169. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  170. package/dist/model/ThingworxRoute.js +1 -1
  171. package/dist/model/TowerLocation.js +1 -1
  172. package/dist/model/TwilioRoute.js +1 -1
  173. package/dist/model/UpdateFleetRequest.js +7 -6
  174. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  175. package/dist/model/UpdateProjectSecretRequest.js +3 -3
  176. package/dist/model/UploadMetadata.js +1 -1
  177. package/dist/model/UsageApiData.js +1 -1
  178. package/dist/model/UsageData.js +1 -1
  179. package/dist/model/UsageEventsData.js +1 -1
  180. package/dist/model/UsageEventsResponse.js +1 -1
  181. package/dist/model/UsageRouteLogsData.js +1 -1
  182. package/dist/model/UsageSessionsData.js +1 -1
  183. package/dist/model/UserDfuStateMachine.js +1 -1
  184. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  185. package/dist/model/UserFirmwareInfo.js +1 -1
  186. package/dist/model/WebhookSettings.js +1 -1
  187. package/package.json +1 -1
@@ -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.63
33
+ * @version 6.7.0-beta.65
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.63
34
+ * @version 6.7.0-beta.65
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.63
35
+ * @version 6.7.0-beta.65
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.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
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.63
32
+ * @version 6.7.0-beta.65
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>} The fleetUIDs to add to the device.
38
+ * @param fleetUids {Array.<String>} FleetUIDs to add the device to.
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
- * The fleetUIDs to add to the device.
111
+ * FleetUIDs to add the device to.
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.63
34
+ * @version 6.7.0-beta.65
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The ArchiveStats model module.
28
28
  * @module model/ArchiveStats
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var ArchiveStats = /*#__PURE__*/function () {
32
32
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AwsRoute model module.
30
30
  * @module model/AwsRoute
31
- * @version 6.7.0-beta.63
31
+ * @version 6.7.0-beta.65
32
32
  */
33
33
  var AwsRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AzureRoute model module.
30
30
  * @module model/AzureRoute
31
- * @version 6.7.0-beta.63
31
+ * @version 6.7.0-beta.65
32
32
  */
33
33
  var AzureRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The BatchJobNoteRequest model module.
31
31
  * @module model/BatchJobNoteRequest
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var BatchJobNoteRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BatchJobRequests model module.
32
32
  * @module model/BatchJobRequests
33
- * @version 6.7.0-beta.63
33
+ * @version 6.7.0-beta.65
34
34
  */
35
35
  var BatchJobRequests = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 6.7.0-beta.63
33
+ * @version 6.7.0-beta.65
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The BlynkRoute model module.
30
30
  * @module model/BlynkRoute
31
- * @version 6.7.0-beta.63
31
+ * @version 6.7.0-beta.65
32
32
  */
33
33
  var BlynkRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CancelJobRun200Response model module.
31
31
  * @module model/CancelJobRun200Response
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CancelJobRun200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CellularPlan model module.
29
29
  * @module model/CellularPlan
30
- * @version 6.7.0-beta.63
30
+ * @version 6.7.0-beta.65
31
31
  */
32
32
  var CellularPlan = /*#__PURE__*/function () {
33
33
  /**
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CloneProjectRequest model module.
31
31
  * @module model/CloneProjectRequest
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CloneProjectRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>CloneProjectRequest</code>.
37
37
  * @alias module:model/CloneProjectRequest
38
- * @param billingAccountUid {String} The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
39
- * @param label {String} The label for the project.
38
+ * @param billingAccountUid {String} UID of the organization that owns the new project. List them with `GetBillingAccounts`.
39
+ * @param label {String} Name of the new project.
40
40
  */
41
41
  function CloneProjectRequest(billingAccountUid, label) {
42
42
  _classCallCheck(this, CloneProjectRequest);
@@ -123,25 +123,25 @@ var CloneProjectRequest = /*#__PURE__*/function () {
123
123
  CloneProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
124
124
 
125
125
  /**
126
- * The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
126
+ * UID of the organization that owns the new project. List them with `GetBillingAccounts`.
127
127
  * @member {String} billing_account_uid
128
128
  */
129
129
  CloneProjectRequest.prototype["billing_account_uid"] = undefined;
130
130
 
131
131
  /**
132
- * Whether to disallow the cloning of the fleets from the parent project. Default is false if not specified.
132
+ * If `true`, the new project gets one default fleet instead of copies of this project's fleets. Default `false`.
133
133
  * @member {Boolean} disable_clone_fleets
134
134
  */
135
135
  CloneProjectRequest.prototype["disable_clone_fleets"] = undefined;
136
136
 
137
137
  /**
138
- * Whether to disallow the cloning of the routes from the parent project. Default is false if not specified.
138
+ * If `true`, the new project starts with no routes. Default `false`.
139
139
  * @member {Boolean} disable_clone_routes
140
140
  */
141
141
  CloneProjectRequest.prototype["disable_clone_routes"] = undefined;
142
142
 
143
143
  /**
144
- * The label for the project.
144
+ * Name of the new project.
145
145
  * @member {String} label
146
146
  */
147
147
  CloneProjectRequest.prototype["label"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Contact model module.
28
28
  * @module model/Contact
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var Contact = /*#__PURE__*/function () {
32
32
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CreateFleetRequest model module.
29
29
  * @module model/CreateFleetRequest
30
- * @version 6.7.0-beta.63
30
+ * @version 6.7.0-beta.65
31
31
  */
32
32
  var CreateFleetRequest = /*#__PURE__*/function () {
33
33
  /**
@@ -109,18 +109,19 @@ var CreateFleetRequest = /*#__PURE__*/function () {
109
109
  CreateFleetRequest.prototype["connectivity_assurance"] = undefined;
110
110
 
111
111
  /**
112
- * The label, or name, for the Fleet.
112
+ * Fleet name shown in Notehub. Required.
113
113
  * @member {String} label
114
114
  */
115
115
  CreateFleetRequest.prototype["label"] = undefined;
116
116
 
117
117
  /**
118
- * JSONata expression that will be evaluated to determine device membership into this fleet, if the expression evaluates to a 1, the device will be included, if it evaluates to -1 it will be removed, and if it evaluates to 0 or errors it will be left unchanged.
118
+ * JSONata expression for smart fleet membership: `1` adds the device, `-1` removes it, and `0` or an error leaves it unchanged.
119
119
  * @member {String} smart_rule
120
120
  */
121
121
  CreateFleetRequest.prototype["smart_rule"] = undefined;
122
122
 
123
123
  /**
124
+ * If `true`, `smart_rule` adds and removes devices. Default `false`.
124
125
  * @member {Boolean} smart_rule_enabled
125
126
  */
126
127
  CreateFleetRequest.prototype["smart_rule_enabled"] = undefined;
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateJob201Response model module.
31
31
  * @module model/CreateJob201Response
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CreateJob201Response = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The CreateMonitor model module.
33
33
  * @module model/CreateMonitor
34
- * @version 6.7.0-beta.63
34
+ * @version 6.7.0-beta.65
35
35
  */
36
36
  var CreateMonitor = /*#__PURE__*/function () {
37
37
  /**
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateProductRequest model module.
31
31
  * @module model/CreateProductRequest
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CreateProductRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>CreateProductRequest</code>.
37
37
  * @alias module:model/CreateProductRequest
38
- * @param label {String} The label for the Product.
39
- * @param productUid {String} The requested uid for the Product. Will be prefixed with the user's reversed email.
38
+ * @param label {String} Product name shown in Notehub.
39
+ * @param productUid {String} Suffix of the new ProductUID. Must start with a lowercase letter and contain only lowercase letters, digits, `.`, `_` or `-`.
40
40
  */
41
41
  function CreateProductRequest(label, productUid) {
42
42
  _classCallCheck(this, CreateProductRequest);
@@ -127,24 +127,25 @@ var CreateProductRequest = /*#__PURE__*/function () {
127
127
  CreateProductRequest.RequiredProperties = ["label", "product_uid"];
128
128
 
129
129
  /**
130
+ * FleetUIDs that devices are added to when first provisioned with this ProductUID.
130
131
  * @member {Array.<String>} auto_provision_fleets
131
132
  */
132
133
  CreateProductRequest.prototype["auto_provision_fleets"] = undefined;
133
134
 
134
135
  /**
135
- * If `true`, devices provisioned to this product will be automatically disabled by default.
136
+ * If `true`, devices provisioned with this ProductUID start out disabled.
136
137
  * @member {Boolean} disable_devices_by_default
137
138
  */
138
139
  CreateProductRequest.prototype["disable_devices_by_default"] = undefined;
139
140
 
140
141
  /**
141
- * The label for the Product.
142
+ * Product name shown in Notehub.
142
143
  * @member {String} label
143
144
  */
144
145
  CreateProductRequest.prototype["label"] = undefined;
145
146
 
146
147
  /**
147
- * The requested uid for the Product. Will be prefixed with the user's reversed email.
148
+ * Suffix of the new ProductUID. Must start with a lowercase letter and contain only lowercase letters, digits, `.`, `_` or `-`.
148
149
  * @member {String} product_uid
149
150
  */
150
151
  CreateProductRequest.prototype["product_uid"] = undefined;
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateProjectRequest model module.
31
31
  * @module model/CreateProjectRequest
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CreateProjectRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>CreateProjectRequest</code>.
37
37
  * @alias module:model/CreateProjectRequest
38
- * @param billingAccountUid {String} The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
39
- * @param label {String} The label for the project.
38
+ * @param billingAccountUid {String} UID of the organization that owns and is billed for the project. List them with `GetBillingAccounts`.
39
+ * @param label {String} Project name shown in Notehub.
40
40
  */
41
41
  function CreateProjectRequest(billingAccountUid, label) {
42
42
  _classCallCheck(this, CreateProjectRequest);
@@ -117,13 +117,13 @@ var CreateProjectRequest = /*#__PURE__*/function () {
117
117
  CreateProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
118
118
 
119
119
  /**
120
- * The OrganizationUID for the project. The caller of the API must be able to create projects within the billing account, otherwise an error will be returned.
120
+ * UID of the organization that owns and is billed for the project. List them with `GetBillingAccounts`.
121
121
  * @member {String} billing_account_uid
122
122
  */
123
123
  CreateProjectRequest.prototype["billing_account_uid"] = undefined;
124
124
 
125
125
  /**
126
- * The label for the project.
126
+ * Project name shown in Notehub.
127
127
  * @member {String} label
128
128
  */
129
129
  CreateProjectRequest.prototype["label"] = undefined;
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The CreateProjectSecretRequest model module.
31
31
  * @module model/CreateProjectSecretRequest
32
- * @version 6.7.0-beta.63
32
+ * @version 6.7.0-beta.65
33
33
  */
34
34
  var CreateProjectSecretRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>CreateProjectSecretRequest</code>.
37
37
  * @alias module:model/CreateProjectSecretRequest
38
- * @param name {String} The secret name (alphanumeric and underscores only).
39
- * @param value {String} The secret value (encrypted at rest, never returned after creation).
38
+ * @param name {String} 1 to 64 letters, digits or underscores. Routes and alerts reference the secret as `[$$name]`.
39
+ * @param value {String} The secret value. Encrypted at rest and never returned.
40
40
  */
41
41
  function CreateProjectSecretRequest(name, value) {
42
42
  _classCallCheck(this, CreateProjectSecretRequest);
@@ -117,13 +117,13 @@ var CreateProjectSecretRequest = /*#__PURE__*/function () {
117
117
  CreateProjectSecretRequest.RequiredProperties = ["name", "value"];
118
118
 
119
119
  /**
120
- * The secret name (alphanumeric and underscores only).
120
+ * 1 to 64 letters, digits or underscores. Routes and alerts reference the secret as `[$$name]`.
121
121
  * @member {String} name
122
122
  */
123
123
  CreateProjectSecretRequest.prototype["name"] = undefined;
124
124
 
125
125
  /**
126
- * The secret value (encrypted at rest, never returned after creation).
126
+ * The secret value. Encrypted at rest and never returned.
127
127
  * @member {String} value
128
128
  */
129
129
  CreateProjectSecretRequest.prototype["value"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The CreateUpdateRepository model module.
28
28
  * @module model/CreateUpdateRepository
29
- * @version 6.7.0-beta.63
29
+ * @version 6.7.0-beta.65
30
30
  */
31
31
  var CreateUpdateRepository = /*#__PURE__*/function () {
32
32
  /**