@blues-inc/notehub-js 6.7.0-beta.7 → 6.7.0-beta.70

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 (191) hide show
  1. package/README.md +150 -149
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +3 -3
  4. package/dist/api/AuthorizationApi.js +9 -48
  5. package/dist/api/DescriptionApi.js +49 -33
  6. package/dist/api/DeviceApi.js +195 -133
  7. package/dist/api/EventApi.js +61 -200
  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 +9 -9
  12. package/dist/api/ProjectApi.js +253 -165
  13. package/dist/api/RouteApi.js +51 -39
  14. package/dist/api/SkillsApi.js +279 -0
  15. package/dist/api/UsageApi.js +15 -15
  16. package/dist/api/WebhookApi.js +17 -17
  17. package/dist/index.js +84 -63
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  20. package/dist/model/Alert.js +4 -4
  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 +5 -5
  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 +3 -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 +3 -2
  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 +3 -3
  64. package/dist/model/DeviceDfuStatusPage.js +1 -1
  65. package/dist/model/DeviceSensor.js +1 -1
  66. package/dist/model/DeviceSession.js +5 -5
  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 +7 -7
  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 +1 -1
  83. package/dist/model/GetDataUsage200Response.js +1 -1
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +3 -3
  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/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
  105. package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
  106. package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
  107. package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
  108. package/dist/model/GetOrganizations200Response.js +1 -1
  109. package/dist/model/GetProducts200Response.js +1 -1
  110. package/dist/model/GetProjectMembers200Response.js +1 -1
  111. package/dist/model/GetProjectSecretsResponse.js +1 -1
  112. package/dist/model/GetProjects200Response.js +1 -1
  113. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  114. package/dist/model/GetSessionsUsage200Response.js +1 -1
  115. package/dist/model/GetWebhooks200Response.js +1 -1
  116. package/dist/model/GoogleRoute.js +1 -1
  117. package/dist/model/HealthLog.js +7 -4
  118. package/dist/model/HttpRoute.js +1 -1
  119. package/dist/model/Job.js +1 -1
  120. package/dist/model/JobDefinition.js +2 -2
  121. package/dist/model/JobDefinitionReportOptions.js +1 -1
  122. package/dist/model/JobDefinitionSelect.js +3 -3
  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 +1 -1
  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/{Login200Response.js → RepositoryRecord.js} +52 -24
  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 +207 -0
  162. package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +59 -40
  163. package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +75 -51
  164. package/dist/model/SkillSummary.js +205 -0
  165. package/dist/model/SkillWrite.js +128 -0
  166. package/dist/model/SkillWriteResult.js +153 -0
  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 +1 -1
  183. package/dist/model/UsageRouteLogsData.js +2 -2
  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 +1 -1
  189. package/package.json +1 -1
  190. package/dist/api/BillingAccountApi.js +0 -167
  191. package/dist/model/LoginRequest.js +0 -103
@@ -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.7
32
+ * @version 6.7.0-beta.70
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 billing account UID 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 billing account UID 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.7
29
+ * @version 6.7.0-beta.70
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.7
30
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
34
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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 billing account UID 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 billing account UID 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.7
32
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
30
30
  */
31
31
  var CreateUpdateRepository = /*#__PURE__*/function () {
32
32
  /**
@@ -104,11 +104,13 @@ 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;
110
111
 
111
112
  /**
113
+ * The project whose events the repository holds. A repository can reference at most one project.
112
114
  * @member {Array.<String>} project_uids
113
115
  */
114
116
  CreateUpdateRepository.prototype["project_uids"] = 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.7
29
+ * @version 6.7.0-beta.70
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.7
30
+ * @version 6.7.0-beta.70
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.7
30
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
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.7
34
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
31
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
29
+ * @version 6.7.0-beta.70
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.7
32
+ * @version 6.7.0-beta.70
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.7
33
+ * @version 6.7.0-beta.70
34
34
  */
35
35
  var DescriptionRecordList = /*#__PURE__*/function () {
36
36
  /**