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

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 +130 -129
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +5 -5
  5. package/dist/api/DescriptionApi.js +49 -33
  6. package/dist/api/DeviceApi.js +177 -115
  7. package/dist/api/EventApi.js +51 -45
  8. package/dist/api/ExternalDevicesApi.js +19 -13
  9. package/dist/api/JobsApi.js +57 -39
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +17 -11
  12. package/dist/api/ProjectApi.js +237 -149
  13. package/dist/api/RouteApi.js +47 -35
  14. package/dist/api/SkillsApi.js +17 -17
  15. package/dist/api/UsageApi.js +59 -49
  16. package/dist/api/WebhookApi.js +67 -45
  17. package/dist/index.js +7 -0
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  20. package/dist/model/Alert.js +1 -1
  21. package/dist/model/AlertDataInner.js +1 -1
  22. package/dist/model/AlertNotificationsInner.js +1 -1
  23. package/dist/model/ArchiveStats.js +1 -1
  24. package/dist/model/AwsRoute.js +1 -1
  25. package/dist/model/AzureRoute.js +1 -1
  26. package/dist/model/BatchJobNoteRequest.js +1 -1
  27. package/dist/model/BatchJobRequests.js +1 -1
  28. package/dist/model/BillingAccount.js +1 -1
  29. package/dist/model/BlynkRoute.js +1 -1
  30. package/dist/model/Body.js +2 -1
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +3 -2
  33. package/dist/model/CloneProjectRequest.js +7 -7
  34. package/dist/model/Contact.js +1 -1
  35. package/dist/model/CreateFleetRequest.js +4 -3
  36. package/dist/model/CreateJob201Response.js +1 -1
  37. package/dist/model/CreateMonitor.js +1 -1
  38. package/dist/model/CreateProductRequest.js +7 -6
  39. package/dist/model/CreateProjectRequest.js +5 -5
  40. package/dist/model/CreateProjectSecretRequest.js +5 -5
  41. package/dist/model/CreateUpdateRepository.js +2 -1
  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 +27 -8
  58. package/dist/model/DeviceDfuHistory.js +2 -1
  59. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  61. package/dist/model/DeviceDfuStateMachine.js +2 -1
  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 +6 -1
  68. package/dist/model/DeviceUsage.js +1 -1
  69. package/dist/model/DfuActionRequest.js +2 -2
  70. package/dist/model/EmailNotification.js +1 -1
  71. package/dist/model/EnvTreeJsonNode.js +1 -1
  72. package/dist/model/EnvVar.js +1 -1
  73. package/dist/model/EnvironmentVariables.js +1 -1
  74. package/dist/model/Error.js +1 -1
  75. package/dist/model/Event.js +1 -1
  76. package/dist/model/Filter.js +1 -1
  77. package/dist/model/Firmware.js +1 -1
  78. package/dist/model/FirmwareInfo.js +6 -6
  79. package/dist/model/Fleet.js +11 -10
  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 +2 -1
  95. package/dist/model/GetDevicePublicKey200Response.js +5 -3
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -1
  98. package/dist/model/GetDeviceSessions200Response.js +1 -1
  99. package/dist/model/GetDevices200Response.js +1 -1
  100. package/dist/model/GetEvents200Response.js +1 -1
  101. package/dist/model/GetJobRuns200Response.js +1 -1
  102. package/dist/model/GetJobs200Response.js +1 -1
  103. package/dist/model/GetNotefile200Response.js +1 -1
  104. package/dist/model/GetOrganization200Response.js +1 -1
  105. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  107. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  108. package/dist/model/GetOrganizations200Response.js +1 -1
  109. package/dist/model/GetProducts200Response.js +1 -1
  110. package/dist/model/GetProjectMembers200Response.js +1 -1
  111. package/dist/model/GetProjectSecretsResponse.js +1 -1
  112. package/dist/model/GetProjects200Response.js +1 -1
  113. package/dist/model/GetRouteLogsUsage200Response.js +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 +7 -4
  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 +13 -7
  127. package/dist/model/Monitor.js +1 -1
  128. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  129. package/dist/model/MqttRoute.js +1 -1
  130. package/dist/model/Note.js +2 -2
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +2 -1
  133. package/dist/model/NotefileSchema.js +5 -3
  134. package/dist/model/NotehubRoute.js +7 -3
  135. package/dist/model/NotehubRouteSummary.js +6 -1
  136. package/dist/model/OAuth2Error.js +1 -1
  137. package/dist/model/OAuth2TokenResponse.js +1 -1
  138. package/dist/model/Organization.js +5 -3
  139. package/dist/model/Product.js +8 -4
  140. package/dist/model/Project.js +7 -4
  141. package/dist/model/ProjectMember.js +5 -4
  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/RepositoryRecord.js +119 -0
  150. package/dist/model/RepositoryTokenRequest.js +1 -1
  151. package/dist/model/RepositoryTokenResponse.js +1 -1
  152. package/dist/model/RouteLog.js +9 -9
  153. package/dist/model/RouteTransformSettings.js +1 -1
  154. package/dist/model/RunJob200Response.js +1 -1
  155. package/dist/model/S3ArchiveRoute.js +1 -1
  156. package/dist/model/SatelliteDataUsage.js +1 -1
  157. package/dist/model/SatellitePlan.js +1 -1
  158. package/dist/model/SchemaProperty.js +6 -4
  159. package/dist/model/SignalDevice200Response.js +2 -2
  160. package/dist/model/SimUsage.js +1 -1
  161. package/dist/model/Skill.js +1 -1
  162. package/dist/model/SkillLinks.js +1 -1
  163. package/dist/model/SkillSet.js +1 -1
  164. package/dist/model/SkillSummary.js +1 -1
  165. package/dist/model/SkillWrite.js +1 -1
  166. package/dist/model/SkillWriteResult.js +1 -1
  167. package/dist/model/SlackBearerNotification.js +1 -1
  168. package/dist/model/SlackRoute.js +1 -1
  169. package/dist/model/SlackWebHookNotification.js +1 -1
  170. package/dist/model/SnowflakeRoute.js +1 -1
  171. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  172. package/dist/model/ThingworxRoute.js +1 -1
  173. package/dist/model/TowerLocation.js +1 -1
  174. package/dist/model/TwilioRoute.js +1 -1
  175. package/dist/model/UpdateFleetRequest.js +7 -6
  176. package/dist/model/UpdateHostFirmwareRequest.js +4 -4
  177. package/dist/model/UpdateProjectSecretRequest.js +3 -3
  178. package/dist/model/UploadMetadata.js +1 -1
  179. package/dist/model/UsageApiData.js +1 -1
  180. package/dist/model/UsageData.js +1 -1
  181. package/dist/model/UsageEventsData.js +1 -1
  182. package/dist/model/UsageEventsResponse.js +2 -2
  183. package/dist/model/UsageRouteLogsData.js +1 -1
  184. package/dist/model/UsageSessionsData.js +1 -1
  185. package/dist/model/UserDfuStateMachine.js +1 -1
  186. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  187. package/dist/model/UserFirmwareInfo.js +1 -1
  188. package/dist/model/WebhookSettings.js +4 -4
  189. package/package.json +1 -1
@@ -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.73
32
+ * @version 6.7.0-beta.75
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.73
32
+ * @version 6.7.0-beta.75
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.73
32
+ * @version 6.7.0-beta.75
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.73
29
+ * @version 6.7.0-beta.75
30
30
  */
31
31
  var CreateUpdateRepository = /*#__PURE__*/function () {
32
32
  /**
@@ -104,6 +104,7 @@ var CreateUpdateRepository = /*#__PURE__*/function () {
104
104
  CreateUpdateRepository.prototype["fleet_uids"] = undefined;
105
105
 
106
106
  /**
107
+ * Repository name.
107
108
  * @member {String} name
108
109
  */
109
110
  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.73
29
+ * @version 6.7.0-beta.75
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
- * 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
134
+ * The repository key, for `X-Repository-Key` and as the database password. Returned only here, never to a scoped token.
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
- * The unique identifier for the data repository
145
+ * Repository UID, e.g. `repo:2606f411-dea6-44a0-9743-1130f57d77d8`.
146
146
  * @member {String} uid
147
147
  */
148
148
  CreatedRepository.prototype["uid"] = undefined;
149
149
 
150
150
  /**
151
- * read-only user for database
151
+ * Read-only database user that goes with `password`.
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.73
30
+ * @version 6.7.0-beta.75
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.73
30
+ * @version 6.7.0-beta.75
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.73
29
+ * @version 6.7.0-beta.75
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.73
29
+ * @version 6.7.0-beta.75
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.73
34
+ * @version 6.7.0-beta.75
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 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.
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.
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 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.
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.
260
260
  * @member {String} rows
261
261
  */
262
262
  DataSet.prototype["rows"] = undefined;
263
263
 
264
264
  /**
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.
265
+ * JSONata expression for the row's time. Required without `rows`; with `rows`, defaults to the row's `time` key.
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.73
29
+ * @version 6.7.0-beta.75
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
- * 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.
104
+ * JSONata expression for this column. Required without the dataset's `rows` expression; must be omitted with it.
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.73
32
+ * @version 6.7.0-beta.75
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.73
31
+ * @version 6.7.0-beta.75
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.73
29
+ * @version 6.7.0-beta.75
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.73
32
+ * @version 6.7.0-beta.75
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>} The fleetUIDs to remove from the device.
38
+ * @param fleetUids {Array.<String>} FleetUIDs to remove the device from.
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
- * The fleetUIDs to remove from the device.
111
+ * FleetUIDs to remove the device from.
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.73
32
+ * @version 6.7.0-beta.75
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.73
29
+ * @version 6.7.0-beta.75
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
- * Name of notefiles to delete
88
+ * Names of the notefiles to delete, e.g. `config.db`.
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.73
32
+ * @version 6.7.0-beta.75
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 stored content type, either \"application/json\" or \"text/plain; charset=utf-8\".
39
+ * @param contentType {String} The Content-Type served on GET, as sent when the record was stored or detected from its content.
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} The ownership scope of the record (\"global\" or \"project\").
45
+ * @param scope {String} Where the record is stored. - `project`: in one project - `global`: platform-wide, readable by every signed-in user
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 stored content type, either \"application/json\" or \"text/plain; charset=utf-8\".
175
+ * The Content-Type served on GET, as sent when the record was stored or detected from its content.
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
- * The owning project (app) UID for project-scoped records; empty for global.
223
+ * ProjectUID of the owning project, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`. Empty for a global record.
224
224
  * @member {String} owner_uid
225
225
  */
226
226
  DescriptionRecord.prototype["owner_uid"] = undefined;
227
227
 
228
228
  /**
229
- * The ownership scope of the record (\"global\" or \"project\").
229
+ * Where the record is stored. - `project`: in one project - `global`: platform-wide, readable by every signed-in user
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.73
33
+ * @version 6.7.0-beta.75
34
34
  */
35
35
  var DescriptionRecordList = /*#__PURE__*/function () {
36
36
  /**
@@ -36,18 +36,19 @@ 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.73
39
+ * @version 6.7.0-beta.75
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.
44
45
  * @alias module:model/Device
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}
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.
51
52
  */
52
53
  function Device(fleetUids, productUid, provisioned, temperature, uid, voltage) {
53
54
  _classCallCheck(this, Device);
@@ -348,7 +349,7 @@ var Device = /*#__PURE__*/function () {
348
349
  Device.RequiredProperties = ["fleet_uids", "product_uid", "provisioned", "temperature", "uid", "voltage"];
349
350
 
350
351
  /**
351
- * The best ID for the device, preference for the serial number over DeviceUID
352
+ * The serial number if set, otherwise the DeviceUID. Use it as a display name.
352
353
  * @member {String} best_id
353
354
  */
354
355
  Device.prototype["best_id"] = undefined;
@@ -380,21 +381,25 @@ Device.prototype["deleted"] = undefined;
380
381
  Device.prototype["dfu"] = undefined;
381
382
 
382
383
  /**
384
+ * True if the device was disabled with `DisableDevice` and can't connect.
383
385
  * @member {Boolean} disabled
384
386
  */
385
387
  Device.prototype["disabled"] = undefined;
386
388
 
387
389
  /**
390
+ * Host firmware version, as reported by the device. Usually a JSON string.
388
391
  * @member {String} firmware_host
389
392
  */
390
393
  Device.prototype["firmware_host"] = undefined;
391
394
 
392
395
  /**
396
+ * Notecard firmware version, as reported by the device.
393
397
  * @member {String} firmware_notecard
394
398
  */
395
399
  Device.prototype["firmware_notecard"] = undefined;
396
400
 
397
401
  /**
402
+ * FleetUIDs of the fleets the device is in.
398
403
  * @member {Array.<String>} fleet_uids
399
404
  */
400
405
  Device.prototype["fleet_uids"] = undefined;
@@ -405,41 +410,49 @@ Device.prototype["fleet_uids"] = undefined;
405
410
  Device.prototype["gps_location"] = undefined;
406
411
 
407
412
  /**
413
+ * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`; use `GetDeviceHealthLog`.
408
414
  * @member {Array.<module:model/HealthLog>} health_log
409
415
  */
410
416
  Device.prototype["health_log"] = undefined;
411
417
 
412
418
  /**
419
+ * When the device was last active in a session. Null if it has never connected.
413
420
  * @member {Date} last_activity
414
421
  */
415
422
  Device.prototype["last_activity"] = undefined;
416
423
 
417
424
  /**
425
+ * ProductUID the device uses, e.g. `com.blues.bridge:sensors`.
418
426
  * @member {String} product_uid
419
427
  */
420
428
  Device.prototype["product_uid"] = undefined;
421
429
 
422
430
  /**
431
+ * When the device was added to the project.
423
432
  * @member {Date} provisioned
424
433
  */
425
434
  Device.prototype["provisioned"] = undefined;
426
435
 
427
436
  /**
437
+ * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
428
438
  * @member {Array.<Number>} recent_event_count
429
439
  */
430
440
  Device.prototype["recent_event_count"] = undefined;
431
441
 
432
442
  /**
443
+ * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
433
444
  * @member {Array.<Number>} recent_session_count
434
445
  */
435
446
  Device.prototype["recent_session_count"] = undefined;
436
447
 
437
448
  /**
449
+ * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
438
450
  * @member {Array.<Number>} recent_session_seconds
439
451
  */
440
452
  Device.prototype["recent_session_seconds"] = undefined;
441
453
 
442
454
  /**
455
+ * Not returned by `GetDevice`, `GetDevices` or `GetFleetDevices`.
443
456
  * @member {Date} recent_when
444
457
  */
445
458
  Device.prototype["recent_when"] = undefined;
@@ -450,21 +463,25 @@ Device.prototype["recent_when"] = undefined;
450
463
  Device.prototype["sensors"] = undefined;
451
464
 
452
465
  /**
466
+ * Serial number, from the `_sn` environment variable if set. Empty if none.
453
467
  * @member {String} serial_number
454
468
  */
455
469
  Device.prototype["serial_number"] = undefined;
456
470
 
457
471
  /**
472
+ * Notecard SKU, e.g. `NOTE-WBNAW`.
458
473
  * @member {String} sku
459
474
  */
460
475
  Device.prototype["sku"] = undefined;
461
476
 
462
477
  /**
478
+ * Comma-separated tags, from the `_tags` environment variable. Empty if none.
463
479
  * @member {String} tags
464
480
  */
465
481
  Device.prototype["tags"] = undefined;
466
482
 
467
483
  /**
484
+ * Last reported Notecard temperature, in degrees Celsius.
468
485
  * @member {Number} temperature
469
486
  */
470
487
  Device.prototype["temperature"] = undefined;
@@ -485,11 +502,13 @@ Device.prototype["tower_location"] = undefined;
485
502
  Device.prototype["triangulated_location"] = undefined;
486
503
 
487
504
  /**
505
+ * DeviceUID, e.g. `dev:864475040509284`.
488
506
  * @member {String} uid
489
507
  */
490
508
  Device.prototype["uid"] = undefined;
491
509
 
492
510
  /**
511
+ * Last reported supply voltage, in volts.
493
512
  * @member {Number} voltage
494
513
  */
495
514
  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.73
34
+ * @version 6.7.0-beta.75
35
35
  */
36
36
  var DeviceDfuHistory = /*#__PURE__*/function () {
37
37
  /**
@@ -141,6 +141,7 @@ 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.
144
145
  * @member {Array.<module:model/DeviceDfuStateMachine>} history
145
146
  */
146
147
  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.73
29
+ * @version 6.7.0-beta.75
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
154
+ * Firmware version the device runs, or `Unknown (device has not fully sync'd)`.
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.73
33
+ * @version 6.7.0-beta.75
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.73
33
+ * @version 6.7.0-beta.75
34
34
  */
35
35
  var DeviceDfuStateMachine = /*#__PURE__*/function () {
36
36
  /**
@@ -145,6 +145,7 @@ DeviceDfuStateMachine.prototype["initiated"] = undefined;
145
145
  DeviceDfuStateMachine.prototype["requested_version"] = undefined;
146
146
 
147
147
  /**
148
+ * Status updates reported for this firmware update.
148
149
  * @member {Array.<module:model/DeviceDfuStateMachineNode>} updates
149
150
  */
150
151
  DeviceDfuStateMachine.prototype["updates"] = undefined;