@blues-inc/notehub-js 6.7.0-beta.72 → 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 +125 -126
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +7 -5
  4. package/dist/api/AuthorizationApi.js +5 -5
  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 +13 -19
  9. package/dist/api/JobsApi.js +39 -57
  10. package/dist/api/MonitorApi.js +27 -17
  11. package/dist/api/OrganizationApi.js +11 -17
  12. package/dist/api/ProjectApi.js +149 -237
  13. package/dist/api/RouteApi.js +35 -47
  14. package/dist/api/SkillsApi.js +17 -17
  15. package/dist/api/UsageApi.js +49 -59
  16. package/dist/api/WebhookApi.js +1 -1
  17. package/dist/index.js +0 -7
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +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 +2 -2
  83. package/dist/model/GetDataUsage200Response.js +2 -2
  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 +2 -2
  114. package/dist/model/GetSessionsUsage200Response.js +3 -3
  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 +3 -5
  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 +2 -2
  182. package/dist/model/UsageRouteLogsData.js +1 -1
  183. package/dist/model/UsageSessionsData.js +1 -1
  184. package/dist/model/UserDfuStateMachine.js +1 -1
  185. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  186. package/dist/model/UserFirmwareInfo.js +1 -1
  187. package/dist/model/WebhookSettings.js +1 -1
  188. package/package.json +1 -1
  189. package/dist/model/RepositoryRecord.js +0 -119
@@ -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.72
32
+ * @version 6.7.0-beta.73
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} 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.
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.
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
- * UID of the organization that owns and is billed for the project. List them with `GetBillingAccounts`.
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.
121
121
  * @member {String} billing_account_uid
122
122
  */
123
123
  CreateProjectRequest.prototype["billing_account_uid"] = undefined;
124
124
 
125
125
  /**
126
- * Project name shown in Notehub.
126
+ * The label for the project.
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.72
32
+ * @version 6.7.0-beta.73
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} 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.
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).
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
- * 1 to 64 letters, digits or underscores. Routes and alerts reference the secret as `[$$name]`.
120
+ * The secret name (alphanumeric and underscores only).
121
121
  * @member {String} name
122
122
  */
123
123
  CreateProjectSecretRequest.prototype["name"] = undefined;
124
124
 
125
125
  /**
126
- * The secret value. Encrypted at rest and never returned.
126
+ * The secret value (encrypted at rest, never returned after creation).
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.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var CreateUpdateRepository = /*#__PURE__*/function () {
32
32
  /**
@@ -104,7 +104,6 @@ var CreateUpdateRepository = /*#__PURE__*/function () {
104
104
  CreateUpdateRepository.prototype["fleet_uids"] = undefined;
105
105
 
106
106
  /**
107
- * Repository name.
108
107
  * @member {String} name
109
108
  */
110
109
  CreateUpdateRepository.prototype["name"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The CreatedRepository model module.
28
28
  * @module model/CreatedRepository
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var CreatedRepository = /*#__PURE__*/function () {
32
32
  /**
@@ -125,13 +125,13 @@ var CreatedRepository = /*#__PURE__*/function () {
125
125
  CreatedRepository.prototype["fleet_uids"] = undefined;
126
126
 
127
127
  /**
128
- * Repository name.
128
+ * repository name
129
129
  * @member {String} name
130
130
  */
131
131
  CreatedRepository.prototype["name"] = undefined;
132
132
 
133
133
  /**
134
- * The repository key, for `X-Repository-Key` and as the database password. Returned only here, never to a scoped token.
134
+ * read-only password for the database, also used as X-Repository-Token header for subsequent API calls. This value is only served once when the repository is created, and never to a scoped token, which queries through the repository token endpoint instead
135
135
  * @member {String} password
136
136
  */
137
137
  CreatedRepository.prototype["password"] = undefined;
@@ -142,13 +142,13 @@ CreatedRepository.prototype["password"] = undefined;
142
142
  CreatedRepository.prototype["project_uids"] = undefined;
143
143
 
144
144
  /**
145
- * Repository UID, e.g. `repo:2606f411-dea6-44a0-9743-1130f57d77d8`.
145
+ * The unique identifier for the data repository
146
146
  * @member {String} uid
147
147
  */
148
148
  CreatedRepository.prototype["uid"] = undefined;
149
149
 
150
150
  /**
151
- * Read-only database user that goes with `password`.
151
+ * read-only user for database
152
152
  * @member {String} user
153
153
  */
154
154
  CreatedRepository.prototype["user"] = undefined;
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The CurrentFirmware model module.
29
29
  * @module model/CurrentFirmware
30
- * @version 6.7.0-beta.72
30
+ * @version 6.7.0-beta.73
31
31
  */
32
32
  var CurrentFirmware = /*#__PURE__*/function () {
33
33
  /**
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
27
27
  /**
28
28
  * The DFUEnv model module.
29
29
  * @module model/DFUEnv
30
- * @version 6.7.0-beta.72
30
+ * @version 6.7.0-beta.73
31
31
  */
32
32
  var DFUEnv = /*#__PURE__*/function () {
33
33
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The DFUState model module.
28
28
  * @module model/DFUState
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DFUState = /*#__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 DataField model module.
28
28
  * @module model/DataField
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DataField = /*#__PURE__*/function () {
32
32
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The DataSet model module.
33
33
  * @module model/DataSet
34
- * @version 6.7.0-beta.72
34
+ * @version 6.7.0-beta.73
35
35
  */
36
36
  var DataSet = /*#__PURE__*/function () {
37
37
  /**
@@ -245,7 +245,7 @@ DataSet.prototype["name"] = undefined;
245
245
  DataSet.prototype["notefiles"] = undefined;
246
246
 
247
247
  /**
248
- * Optional Python projection: `def rows(record: dict[str, Any]) -> list[dict[str, Any]]`, called once per `RepositoryRecord`. Return rows in a fixed order, or a reload duplicates them. Can't be combined with JSONata fields. Max 64 KiB.
248
+ * Optional Python source projecting each event, as an alternative to JSONata. It defines one function, with type annotations required: \"def rows(record: dict[str, Any]) -> list[dict[str, Any]]\". It returns zero or more row objects per event, whose keys are the dataset's columns -- the same convention the rows expression uses. Returning an empty list contributes no rows and is not an error; anything else, None included, is an error for that event. Mutually exclusive with rows, time, lat, lon and every field's own jsonata expression, since a Python projection produces whole row objects and leaves nothing for them to do. Use it for payloads JSONata cannot decode, such as packed binary, base64-wrapped blobs, protobuf or CBOR. At most 64 KiB. Rows must come back in the same order every time rows() runs over the same event: a row's position in the list identifies it, so an order that varies (such as iterating over a set) makes a replay insert duplicates. Sort the list if the order is not already fixed.
249
249
  * @member {String} python
250
250
  */
251
251
  DataSet.prototype["python"] = undefined;
@@ -256,13 +256,13 @@ DataSet.prototype["python"] = undefined;
256
256
  DataSet.prototype["reload"] = undefined;
257
257
 
258
258
  /**
259
- * Optional JSONata expression turning one `RepositoryRecord` into row objects whose keys are the columns. When set, fields, `time`, `lat` and `lon` name row keys instead.
259
+ * Optional JSONata expression that expands one event into several rows. It evaluates to one row object per row, whose keys are the dataset's columns: an array of objects, or a single object for one row. Both are accepted because JSONata collapses a one-element sequence to the element, so the same expression yields an array for an event carrying several readings and a bare object for one carrying a single reading. A result that is undefined or empty contributes no rows and is not an error; anything that is not an object, or an array containing one, is rejected. When set it is the only expression that reads the event: each field below takes the row object key matching its name, and time/lat/lon name a key too. Omit it and the dataset produces one row per event, with each field's own jsonata expression reading the event directly. event.uploaded and event.captured always resolve against the event either way.
260
260
  * @member {String} rows
261
261
  */
262
262
  DataSet.prototype["rows"] = undefined;
263
263
 
264
264
  /**
265
- * JSONata expression for the row's time. Required without `rows`; with `rows`, defaults to the row's `time` key.
265
+ * JSONata expression resulting in the row's time. Required for a dataset with no rows expression. With one it defaults to the row object's \"time\" key, and only needs setting to name a different key, or to reach past the row as event.uploaded and event.captured do. lat and lon work the same way and are what declare that the dataset has a location column at all.
266
266
  * @member {String} time
267
267
  */
268
268
  DataSet.prototype["time"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The DataSetField model module.
28
28
  * @module model/DataSetField
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DataSetField = /*#__PURE__*/function () {
32
32
  /**
@@ -101,7 +101,7 @@ var DataSetField = /*#__PURE__*/function () {
101
101
  DataSetField.prototype["datatype"] = undefined;
102
102
 
103
103
  /**
104
- * JSONata expression for this column. Required without the dataset's `rows` expression; must be omitted with it.
104
+ * The JSONata expression that populates this field from the event. Required for a dataset with no rows expression. Must be omitted when the dataset has one: the column is then taken from the row object key matching this field's name, and supplying an expression here is rejected rather than silently ignored.
105
105
  * @member {String} jsonata
106
106
  */
107
107
  DataSetField.prototype["jsonata"] = undefined;
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The DataUsage model module.
31
31
  * @module model/DataUsage
32
- * @version 6.7.0-beta.72
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var DataUsage = /*#__PURE__*/function () {
35
35
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The DatacakeRoute model module.
30
30
  * @module model/DatacakeRoute
31
- * @version 6.7.0-beta.72
31
+ * @version 6.7.0-beta.73
32
32
  */
33
33
  var DatacakeRoute = /*#__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 DatasetReloadProgress model module.
28
28
  * @module model/DatasetReloadProgress
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DatasetReloadProgress = /*#__PURE__*/function () {
32
32
  /**
@@ -29,13 +29,13 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The DeleteDeviceFromFleetsRequest model module.
31
31
  * @module model/DeleteDeviceFromFleetsRequest
32
- * @version 6.7.0-beta.72
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var DeleteDeviceFromFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>DeleteDeviceFromFleetsRequest</code>.
37
37
  * @alias module:model/DeleteDeviceFromFleetsRequest
38
- * @param fleetUids {Array.<String>} FleetUIDs to remove the device from.
38
+ * @param fleetUids {Array.<String>} The fleetUIDs to remove from the device.
39
39
  */
40
40
  function DeleteDeviceFromFleetsRequest(fleetUids) {
41
41
  _classCallCheck(this, DeleteDeviceFromFleetsRequest);
@@ -108,7 +108,7 @@ var DeleteDeviceFromFleetsRequest = /*#__PURE__*/function () {
108
108
  DeleteDeviceFromFleetsRequest.RequiredProperties = ["fleet_uids"];
109
109
 
110
110
  /**
111
- * FleetUIDs to remove the device from.
111
+ * The fleetUIDs to remove from the device.
112
112
  * @member {Array.<String>} fleet_uids
113
113
  */
114
114
  DeleteDeviceFromFleetsRequest.prototype["fleet_uids"] = undefined;
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The DeleteJob200Response model module.
31
31
  * @module model/DeleteJob200Response
32
- * @version 6.7.0-beta.72
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var DeleteJob200Response = /*#__PURE__*/function () {
35
35
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The DeleteNotefilesRequest model module.
28
28
  * @module model/DeleteNotefilesRequest
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DeleteNotefilesRequest = /*#__PURE__*/function () {
32
32
  /**
@@ -85,7 +85,7 @@ var DeleteNotefilesRequest = /*#__PURE__*/function () {
85
85
  }]);
86
86
  }();
87
87
  /**
88
- * Names of the notefiles to delete, e.g. `config.db`.
88
+ * Name of notefiles to delete
89
89
  * @member {Array.<String>} files
90
90
  */
91
91
  DeleteNotefilesRequest.prototype["files"] = undefined;
@@ -29,20 +29,20 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The DescriptionRecord model module.
31
31
  * @module model/DescriptionRecord
32
- * @version 6.7.0-beta.72
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var DescriptionRecord = /*#__PURE__*/function () {
35
35
  /**
36
36
  * Constructs a new <code>DescriptionRecord</code>.
37
37
  * Metadata for a stored description record. The content itself is returned by GET on the record.
38
38
  * @alias module:model/DescriptionRecord
39
- * @param contentType {String} The Content-Type served on GET, as sent when the record was stored or detected from its content.
39
+ * @param contentType {String} The stored content type, either \"application/json\" or \"text/plain; charset=utf-8\".
40
40
  * @param createdAt {Number} When the record was first created (Unix seconds).
41
41
  * @param length {Number} The content length in bytes.
42
42
  * @param md5 {String} The hex-encoded MD5 of the content.
43
43
  * @param modifiedAt {Number} When the record was last updated (Unix seconds).
44
44
  * @param name {String} The record name (letters, digits, '.', '_' or '-').
45
- * @param scope {String} Where the record is stored. - `project`: in one project - `global`: platform-wide, readable by every signed-in user
45
+ * @param scope {String} The ownership scope of the record (\"global\" or \"project\").
46
46
  */
47
47
  function DescriptionRecord(contentType, createdAt, length, md5, modifiedAt, name, scope) {
48
48
  _classCallCheck(this, DescriptionRecord);
@@ -172,7 +172,7 @@ var DescriptionRecord = /*#__PURE__*/function () {
172
172
  DescriptionRecord.RequiredProperties = ["content_type", "created_at", "length", "md5", "modified_at", "name", "scope"];
173
173
 
174
174
  /**
175
- * The Content-Type served on GET, as sent when the record was stored or detected from its content.
175
+ * The stored content type, either \"application/json\" or \"text/plain; charset=utf-8\".
176
176
  * @member {String} content_type
177
177
  */
178
178
  DescriptionRecord.prototype["content_type"] = undefined;
@@ -220,13 +220,13 @@ DescriptionRecord.prototype["modified_by"] = undefined;
220
220
  DescriptionRecord.prototype["name"] = undefined;
221
221
 
222
222
  /**
223
- * ProjectUID of the owning project, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`. Empty for a global record.
223
+ * The owning project (app) UID for project-scoped records; empty for global.
224
224
  * @member {String} owner_uid
225
225
  */
226
226
  DescriptionRecord.prototype["owner_uid"] = undefined;
227
227
 
228
228
  /**
229
- * Where the record is stored. - `project`: in one project - `global`: platform-wide, readable by every signed-in user
229
+ * The ownership scope of the record (\"global\" or \"project\").
230
230
  * @member {String} scope
231
231
  */
232
232
  DescriptionRecord.prototype["scope"] = undefined;
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The DescriptionRecordList model module.
32
32
  * @module model/DescriptionRecordList
33
- * @version 6.7.0-beta.72
33
+ * @version 6.7.0-beta.73
34
34
  */
35
35
  var DescriptionRecordList = /*#__PURE__*/function () {
36
36
  /**
@@ -36,19 +36,18 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
36
36
  /**
37
37
  * The Device model module.
38
38
  * @module model/Device
39
- * @version 6.7.0-beta.72
39
+ * @version 6.7.0-beta.73
40
40
  */
41
41
  var Device = /*#__PURE__*/function () {
42
42
  /**
43
43
  * Constructs a new <code>Device</code>.
44
- * A device in a project. &#x60;best_location&#x60; is the best of &#x60;gps_location&#x60;, &#x60;triangulated_location&#x60; and &#x60;tower_location&#x60;; each is null when unknown.
45
44
  * @alias module:model/Device
46
- * @param fleetUids {Array.<String>} FleetUIDs of the fleets the device is in.
47
- * @param productUid {String} ProductUID the device uses, e.g. `com.blues.bridge:sensors`.
48
- * @param provisioned {Date} When the device was added to the project.
49
- * @param temperature {Number} Last reported Notecard temperature, in degrees Celsius.
50
- * @param uid {String} DeviceUID, e.g. `dev:864475040509284`.
51
- * @param voltage {Number} Last reported supply voltage, in volts.
45
+ * @param fleetUids {Array.<String>}
46
+ * @param productUid {String}
47
+ * @param provisioned {Date}
48
+ * @param temperature {Number}
49
+ * @param uid {String}
50
+ * @param voltage {Number}
52
51
  */
53
52
  function Device(fleetUids, productUid, provisioned, temperature, uid, voltage) {
54
53
  _classCallCheck(this, Device);
@@ -349,7 +348,7 @@ var Device = /*#__PURE__*/function () {
349
348
  Device.RequiredProperties = ["fleet_uids", "product_uid", "provisioned", "temperature", "uid", "voltage"];
350
349
 
351
350
  /**
352
- * The serial number if set, otherwise the DeviceUID. Use it as a display name.
351
+ * The best ID for the device, preference for the serial number over DeviceUID
353
352
  * @member {String} best_id
354
353
  */
355
354
  Device.prototype["best_id"] = undefined;
@@ -381,25 +380,21 @@ Device.prototype["deleted"] = undefined;
381
380
  Device.prototype["dfu"] = undefined;
382
381
 
383
382
  /**
384
- * True if the device was disabled with `DisableDevice` and can't connect.
385
383
  * @member {Boolean} disabled
386
384
  */
387
385
  Device.prototype["disabled"] = undefined;
388
386
 
389
387
  /**
390
- * Host firmware version, as reported by the device. Usually a JSON string.
391
388
  * @member {String} firmware_host
392
389
  */
393
390
  Device.prototype["firmware_host"] = undefined;
394
391
 
395
392
  /**
396
- * Notecard firmware version, as reported by the device.
397
393
  * @member {String} firmware_notecard
398
394
  */
399
395
  Device.prototype["firmware_notecard"] = undefined;
400
396
 
401
397
  /**
402
- * FleetUIDs of the fleets the device is in.
403
398
  * @member {Array.<String>} fleet_uids
404
399
  */
405
400
  Device.prototype["fleet_uids"] = undefined;
@@ -410,49 +405,41 @@ Device.prototype["fleet_uids"] = undefined;
410
405
  Device.prototype["gps_location"] = undefined;
411
406
 
412
407
  /**
413
- * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`; use `GetDeviceHealthLog`.
414
408
  * @member {Array.<module:model/HealthLog>} health_log
415
409
  */
416
410
  Device.prototype["health_log"] = undefined;
417
411
 
418
412
  /**
419
- * When the device was last active in a session. Null if it has never connected.
420
413
  * @member {Date} last_activity
421
414
  */
422
415
  Device.prototype["last_activity"] = undefined;
423
416
 
424
417
  /**
425
- * ProductUID the device uses, e.g. `com.blues.bridge:sensors`.
426
418
  * @member {String} product_uid
427
419
  */
428
420
  Device.prototype["product_uid"] = undefined;
429
421
 
430
422
  /**
431
- * When the device was added to the project.
432
423
  * @member {Date} provisioned
433
424
  */
434
425
  Device.prototype["provisioned"] = undefined;
435
426
 
436
427
  /**
437
- * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
438
428
  * @member {Array.<Number>} recent_event_count
439
429
  */
440
430
  Device.prototype["recent_event_count"] = undefined;
441
431
 
442
432
  /**
443
- * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
444
433
  * @member {Array.<Number>} recent_session_count
445
434
  */
446
435
  Device.prototype["recent_session_count"] = undefined;
447
436
 
448
437
  /**
449
- * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
450
438
  * @member {Array.<Number>} recent_session_seconds
451
439
  */
452
440
  Device.prototype["recent_session_seconds"] = undefined;
453
441
 
454
442
  /**
455
- * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
456
443
  * @member {Date} recent_when
457
444
  */
458
445
  Device.prototype["recent_when"] = undefined;
@@ -463,25 +450,21 @@ Device.prototype["recent_when"] = undefined;
463
450
  Device.prototype["sensors"] = undefined;
464
451
 
465
452
  /**
466
- * Serial number, from the `_sn` environment variable if set. Empty if none.
467
453
  * @member {String} serial_number
468
454
  */
469
455
  Device.prototype["serial_number"] = undefined;
470
456
 
471
457
  /**
472
- * Notecard SKU, e.g. `NOTE-WBNAW`.
473
458
  * @member {String} sku
474
459
  */
475
460
  Device.prototype["sku"] = undefined;
476
461
 
477
462
  /**
478
- * Comma-separated tags, from the `_tags` environment variable. Empty if none.
479
463
  * @member {String} tags
480
464
  */
481
465
  Device.prototype["tags"] = undefined;
482
466
 
483
467
  /**
484
- * Last reported Notecard temperature, in degrees Celsius.
485
468
  * @member {Number} temperature
486
469
  */
487
470
  Device.prototype["temperature"] = undefined;
@@ -502,13 +485,11 @@ Device.prototype["tower_location"] = undefined;
502
485
  Device.prototype["triangulated_location"] = undefined;
503
486
 
504
487
  /**
505
- * DeviceUID, e.g. `dev:864475040509284`.
506
488
  * @member {String} uid
507
489
  */
508
490
  Device.prototype["uid"] = undefined;
509
491
 
510
492
  /**
511
- * Last reported supply voltage, in volts.
512
493
  * @member {Number} voltage
513
494
  */
514
495
  Device.prototype["voltage"] = undefined;
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The DeviceDfuHistory model module.
33
33
  * @module model/DeviceDfuHistory
34
- * @version 6.7.0-beta.72
34
+ * @version 6.7.0-beta.73
35
35
  */
36
36
  var DeviceDfuHistory = /*#__PURE__*/function () {
37
37
  /**
@@ -141,7 +141,6 @@ DeviceDfuHistory.prototype["deleted"] = undefined;
141
141
  DeviceDfuHistory.prototype["device_uid"] = undefined;
142
142
 
143
143
  /**
144
- * Every firmware update requested for this device, newest first.
145
144
  * @member {Array.<module:model/DeviceDfuStateMachine>} history
146
145
  */
147
146
  DeviceDfuHistory.prototype["history"] = undefined;
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The DeviceDfuHistoryCurrent model module.
28
28
  * @module model/DeviceDfuHistoryCurrent
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DeviceDfuHistoryCurrent = /*#__PURE__*/function () {
32
32
  /**
@@ -151,7 +151,7 @@ DeviceDfuHistoryCurrent.prototype["organization"] = undefined;
151
151
  DeviceDfuHistoryCurrent.prototype["product"] = undefined;
152
152
 
153
153
  /**
154
- * Firmware version the device runs, or `Unknown (device has not fully sync'd)`.
154
+ * Firmware version
155
155
  * @member {String} version
156
156
  */
157
157
  DeviceDfuHistoryCurrent.prototype["version"] = undefined;
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The DeviceDfuHistoryPage model module.
32
32
  * @module model/DeviceDfuHistoryPage
33
- * @version 6.7.0-beta.72
33
+ * @version 6.7.0-beta.73
34
34
  */
35
35
  var DeviceDfuHistoryPage = /*#__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 DeviceDfuStateMachine model module.
32
32
  * @module model/DeviceDfuStateMachine
33
- * @version 6.7.0-beta.72
33
+ * @version 6.7.0-beta.73
34
34
  */
35
35
  var DeviceDfuStateMachine = /*#__PURE__*/function () {
36
36
  /**
@@ -145,7 +145,6 @@ DeviceDfuStateMachine.prototype["initiated"] = undefined;
145
145
  DeviceDfuStateMachine.prototype["requested_version"] = undefined;
146
146
 
147
147
  /**
148
- * Status updates reported for this firmware update.
149
148
  * @member {Array.<module:model/DeviceDfuStateMachineNode>} updates
150
149
  */
151
150
  DeviceDfuStateMachine.prototype["updates"] = undefined;
@@ -26,12 +26,12 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The DeviceDfuStateMachineNode model module.
28
28
  * @module model/DeviceDfuStateMachineNode
29
- * @version 6.7.0-beta.72
29
+ * @version 6.7.0-beta.73
30
30
  */
31
31
  var DeviceDfuStateMachineNode = /*#__PURE__*/function () {
32
32
  /**
33
33
  * Constructs a new <code>DeviceDfuStateMachineNode</code>.
34
- * One status update in a host or Notecard firmware update.
34
+ * Represents a single request to update the host or Notecard firmware
35
35
  * @alias module:model/DeviceDfuStateMachineNode
36
36
  */
37
37
  function DeviceDfuStateMachineNode() {
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The DeviceDfuStatus model module.
30
30
  * @module model/DeviceDfuStatus
31
- * @version 6.7.0-beta.72
31
+ * @version 6.7.0-beta.73
32
32
  */
33
33
  var DeviceDfuStatus = /*#__PURE__*/function () {
34
34
  /**
@@ -126,7 +126,7 @@ DeviceDfuStatus.prototype["deleted"] = undefined;
126
126
  DeviceDfuStatus.prototype["device_uid"] = undefined;
127
127
 
128
128
  /**
129
- * `true` while the device's latest firmware update hasn't finished.
129
+ * true if there is a DFU currently in progress
130
130
  * @member {Boolean} dfu_in_progress
131
131
  */
132
132
  DeviceDfuStatus.prototype["dfu_in_progress"] = undefined;
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The DeviceDfuStatusPage model module.
32
32
  * @module model/DeviceDfuStatusPage
33
- * @version 6.7.0-beta.72
33
+ * @version 6.7.0-beta.73
34
34
  */
35
35
  var DeviceDfuStatusPage = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The DeviceSensor model module.
31
31
  * @module model/DeviceSensor
32
- * @version 6.7.0-beta.72
32
+ * @version 6.7.0-beta.73
33
33
  */
34
34
  var DeviceSensor = /*#__PURE__*/function () {
35
35
  /**