@blues-inc/notehub-js 6.6.0 → 6.7.0-beta.2

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 +2 -6
  2. package/dist/ApiClient.js +3 -3
  3. package/dist/api/AlertApi.js +2 -2
  4. package/dist/api/AuthorizationApi.js +2 -2
  5. package/dist/api/BillingAccountApi.js +2 -2
  6. package/dist/api/DescriptionApi.js +2 -2
  7. package/dist/api/DeviceApi.js +30 -30
  8. package/dist/api/EventApi.js +2 -2
  9. package/dist/api/ExternalDevicesApi.js +2 -2
  10. package/dist/api/JobsApi.js +2 -2
  11. package/dist/api/MonitorApi.js +2 -2
  12. package/dist/api/OrganizationApi.js +2 -2
  13. package/dist/api/ProjectApi.js +44 -44
  14. package/dist/api/RouteApi.js +2 -2
  15. package/dist/api/UsageApi.js +2 -2
  16. package/dist/api/WebhookApi.js +2 -2
  17. package/dist/index.js +7 -35
  18. package/dist/model/AWSRoleConfig.js +2 -2
  19. package/dist/model/AddDeviceToFleetsRequest.js +2 -2
  20. package/dist/model/Alert.js +2 -2
  21. package/dist/model/AlertDataInner.js +2 -2
  22. package/dist/model/AlertNotificationsInner.js +2 -2
  23. package/dist/model/AwsRoute.js +2 -2
  24. package/dist/model/AzureRoute.js +2 -2
  25. package/dist/model/BatchJobRequests.js +2 -35
  26. package/dist/model/BillingAccount.js +2 -2
  27. package/dist/model/BillingAccountRole.js +1 -1
  28. package/dist/model/BlynkRoute.js +2 -2
  29. package/dist/model/Body.js +2 -2
  30. package/dist/model/CancelJobRun200Response.js +2 -2
  31. package/dist/model/CellularPlan.js +2 -2
  32. package/dist/model/CloneProjectRequest.js +2 -2
  33. package/dist/model/Contact.js +2 -2
  34. package/dist/model/CreateFleetRequest.js +2 -2
  35. package/dist/model/CreateJob201Response.js +2 -2
  36. package/dist/model/CreateMonitor.js +40 -45
  37. package/dist/model/CreateProductRequest.js +2 -2
  38. package/dist/model/CreateProjectRequest.js +2 -2
  39. package/dist/model/CreateProjectSecretRequest.js +2 -2
  40. package/dist/model/CreateUpdateRepository.js +2 -2
  41. package/dist/model/CreatedRepository.js +2 -2
  42. package/dist/model/CurrentFirmware.js +2 -2
  43. package/dist/model/DFUEnv.js +2 -2
  44. package/dist/model/DFUState.js +2 -2
  45. package/dist/model/DataField.js +2 -2
  46. package/dist/model/DataSet.js +3 -30
  47. package/dist/model/DataSetField.js +3 -8
  48. package/dist/model/DataUsage.js +2 -2
  49. package/dist/model/DatacakeRoute.js +2 -2
  50. package/dist/model/DeleteDeviceFromFleetsRequest.js +2 -2
  51. package/dist/model/DeleteJob200Response.js +2 -2
  52. package/dist/model/DeleteNotefilesRequest.js +2 -2
  53. package/dist/model/DescriptionRecord.js +2 -2
  54. package/dist/model/DescriptionRecordList.js +2 -2
  55. package/dist/model/Device.js +2 -116
  56. package/dist/model/DeviceDfuHistory.js +2 -2
  57. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  58. package/dist/model/DeviceDfuHistoryPage.js +2 -2
  59. package/dist/model/DeviceDfuStateMachine.js +2 -2
  60. package/dist/model/DeviceDfuStateMachineNode.js +2 -2
  61. package/dist/model/DeviceDfuStatus.js +2 -2
  62. package/dist/model/DeviceDfuStatusPage.js +2 -2
  63. package/dist/model/DeviceSession.js +2 -2
  64. package/dist/model/DeviceTowerInfo.js +2 -2
  65. package/dist/model/DeviceUsage.js +2 -2
  66. package/dist/model/DfuActionRequest.js +2 -2
  67. package/dist/model/EmailNotification.js +2 -2
  68. package/dist/model/EnvTreeJsonNode.js +2 -2
  69. package/dist/model/EnvVar.js +2 -2
  70. package/dist/model/EnvironmentVariables.js +2 -2
  71. package/dist/model/Error.js +2 -2
  72. package/dist/model/Event.js +2 -11
  73. package/dist/model/Filter.js +2 -2
  74. package/dist/model/Firmware.js +2 -2
  75. package/dist/model/FirmwareInfo.js +2 -2
  76. package/dist/model/Fleet.js +2 -2
  77. package/dist/model/FleetConnectivityAssurance.js +2 -2
  78. package/dist/model/GetAlerts200Response.js +2 -2
  79. package/dist/model/GetBillingAccount200Response.js +2 -2
  80. package/dist/model/GetBillingAccount200ResponsePlan.js +2 -2
  81. package/dist/model/GetBillingAccountBalanceHistory200Response.js +2 -2
  82. package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +2 -2
  83. package/dist/model/GetBillingAccounts200Response.js +2 -2
  84. package/dist/model/GetDataUsage200Response.js +2 -2
  85. package/dist/model/GetDataUsage200ResponseDataInner.js +2 -2
  86. package/dist/model/GetDbNote200Response.js +2 -2
  87. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +2 -2
  88. package/dist/model/GetDeviceFleets200Response.js +2 -2
  89. package/dist/model/GetDeviceHealthLog200Response.js +7 -7
  90. package/dist/model/{HealthLog.js → GetDeviceHealthLog200ResponseHealthLogInner.js} +23 -23
  91. package/dist/model/GetDeviceJourney200Response.js +2 -2
  92. package/dist/model/GetDeviceJourney200ResponseJourney.js +2 -2
  93. package/dist/model/GetDeviceJourneys200Response.js +2 -2
  94. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +2 -2
  95. package/dist/model/GetDeviceLatestEvents200Response.js +2 -2
  96. package/dist/model/GetDevicePlans200Response.js +2 -2
  97. package/dist/model/GetDevicePublicKey200Response.js +2 -2
  98. package/dist/model/GetDevicePublicKeys200Response.js +2 -2
  99. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +2 -2
  100. package/dist/model/GetDeviceSessions200Response.js +2 -2
  101. package/dist/model/GetDevices200Response.js +2 -2
  102. package/dist/model/GetEvents200Response.js +2 -2
  103. package/dist/model/GetEventsByCursor200Response.js +2 -2
  104. package/dist/model/GetJobRuns200Response.js +2 -2
  105. package/dist/model/GetJobs200Response.js +2 -2
  106. package/dist/model/GetNotefile200Response.js +2 -2
  107. package/dist/model/GetOrganizations200Response.js +2 -2
  108. package/dist/model/GetProducts200Response.js +2 -2
  109. package/dist/model/GetProjectMembers200Response.js +2 -2
  110. package/dist/model/GetProjectSecretsResponse.js +2 -2
  111. package/dist/model/GetProjects200Response.js +2 -2
  112. package/dist/model/GetRouteLogsUsage200Response.js +2 -2
  113. package/dist/model/GetSessionsUsage200Response.js +2 -2
  114. package/dist/model/GetWebhooks200Response.js +2 -2
  115. package/dist/model/GoogleRoute.js +2 -2
  116. package/dist/model/HttpRoute.js +2 -2
  117. package/dist/model/Job.js +2 -2
  118. package/dist/model/JobDefinition.js +2 -2
  119. package/dist/model/JobDefinitionReportOptions.js +2 -2
  120. package/dist/model/JobDefinitionSelect.js +2 -2
  121. package/dist/model/JobDetail.js +2 -2
  122. package/dist/model/JobDetailAllOf.js +2 -2
  123. package/dist/model/JobRun.js +2 -2
  124. package/dist/model/Location.js +2 -2
  125. package/dist/model/Login200Response.js +2 -2
  126. package/dist/model/LoginRequest.js +2 -2
  127. package/dist/model/Monitor.js +24 -31
  128. package/dist/model/MonitorAlertRoutesInner.js +2 -2
  129. package/dist/model/MqttRoute.js +2 -2
  130. package/dist/model/Note.js +2 -2
  131. package/dist/model/NoteInput.js +2 -2
  132. package/dist/model/Notefile.js +2 -2
  133. package/dist/model/NotefileSchema.js +2 -2
  134. package/dist/model/NotehubRoute.js +2 -2
  135. package/dist/model/NotehubRouteSummary.js +2 -2
  136. package/dist/model/OAuth2Error.js +2 -2
  137. package/dist/model/OAuth2TokenResponse.js +2 -2
  138. package/dist/model/Organization.js +2 -2
  139. package/dist/model/OrganizationRole.js +1 -1
  140. package/dist/model/PersonalAccessToken.js +2 -2
  141. package/dist/model/PersonalAccessTokenCreatedBy.js +2 -2
  142. package/dist/model/PersonalAccessTokenInfo.js +2 -2
  143. package/dist/model/PersonalAccessTokenSecret.js +2 -2
  144. package/dist/model/Product.js +2 -2
  145. package/dist/model/Project.js +2 -2
  146. package/dist/model/ProjectMember.js +2 -2
  147. package/dist/model/ProjectSecret.js +2 -2
  148. package/dist/model/ProvisionDeviceRequest.js +2 -2
  149. package/dist/model/ProxyRoute.js +2 -2
  150. package/dist/model/QubitroRoute.js +2 -2
  151. package/dist/model/RadRoute.js +2 -2
  152. package/dist/model/Repository.js +2 -16
  153. package/dist/model/RepositoryListResponse.js +2 -2
  154. package/dist/model/RepositoryTokenRequest.js +2 -2
  155. package/dist/model/RepositoryTokenResponse.js +2 -2
  156. package/dist/model/Role.js +1 -1
  157. package/dist/model/RouteLog.js +2 -2
  158. package/dist/model/RouteTransformSettings.js +2 -2
  159. package/dist/model/RunJob200Response.js +2 -2
  160. package/dist/model/S3ArchiveRoute.js +2 -2
  161. package/dist/model/SatelliteDataUsage.js +2 -2
  162. package/dist/model/SatellitePlan.js +2 -2
  163. package/dist/model/SchemaProperty.js +2 -2
  164. package/dist/model/SignalDevice200Response.js +2 -2
  165. package/dist/model/SimUsage.js +2 -2
  166. package/dist/model/SlackBearerNotification.js +2 -2
  167. package/dist/model/SlackRoute.js +2 -2
  168. package/dist/model/SlackWebHookNotification.js +2 -2
  169. package/dist/model/SnowflakeRoute.js +2 -2
  170. package/dist/model/SnowpipeStreamingRoute.js +2 -2
  171. package/dist/model/ThingworxRoute.js +2 -2
  172. package/dist/model/TowerLocation.js +2 -2
  173. package/dist/model/TwilioRoute.js +2 -2
  174. package/dist/model/UpdateFleetRequest.js +2 -2
  175. package/dist/model/UpdateHostFirmwareRequest.js +2 -2
  176. package/dist/model/UpdateProjectSecretRequest.js +2 -2
  177. package/dist/model/UploadMetadata.js +2 -2
  178. package/dist/model/UsageData.js +2 -2
  179. package/dist/model/UsageEventsData.js +2 -2
  180. package/dist/model/UsageEventsResponse.js +2 -2
  181. package/dist/model/UsageRouteLogsData.js +2 -2
  182. package/dist/model/UsageSessionsData.js +2 -2
  183. package/dist/model/UserDfuStateMachine.js +2 -2
  184. package/dist/model/UserDfuStateMachineStatus.js +2 -2
  185. package/dist/model/UserFirmwareInfo.js +2 -2
  186. package/dist/model/WebhookSettings.js +2 -2
  187. package/package.json +1 -1
  188. package/dist/model/ArchiveStats.js +0 -125
  189. package/dist/model/BatchJobNoteRequest.js +0 -178
  190. package/dist/model/DatasetReloadProgress.js +0 -116
  191. package/dist/model/DeviceSensor.js +0 -125
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
14
14
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
15
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The UsageEventsData model module.
31
31
  * @module model/UsageEventsData
32
- * @version 6.6.0
32
+ * @version 6.7.0-beta.2
33
33
  */
34
34
  var UsageEventsData = /*#__PURE__*/function () {
35
35
  /**
@@ -15,7 +15,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
15
15
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
16
16
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
17
17
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
18
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
19
19
  * Notehub API
20
20
  * The OpenAPI definition for the Notehub.io API.
21
21
  *
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
30
30
  /**
31
31
  * The UsageEventsResponse model module.
32
32
  * @module model/UsageEventsResponse
33
- * @version 6.6.0
33
+ * @version 6.7.0-beta.2
34
34
  */
35
35
  var UsageEventsResponse = /*#__PURE__*/function () {
36
36
  /**
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
14
14
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
15
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The UsageRouteLogsData model module.
31
31
  * @module model/UsageRouteLogsData
32
- * @version 6.6.0
32
+ * @version 6.7.0-beta.2
33
33
  */
34
34
  var UsageRouteLogsData = /*#__PURE__*/function () {
35
35
  /**
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
14
14
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
15
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
16
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
17
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
18
18
  * Notehub API
19
19
  * The OpenAPI definition for the Notehub.io API.
20
20
  *
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
29
29
  /**
30
30
  * The UsageSessionsData model module.
31
31
  * @module model/UsageSessionsData
32
- * @version 6.6.0
32
+ * @version 6.7.0-beta.2
33
33
  */
34
34
  var UsageSessionsData = /*#__PURE__*/function () {
35
35
  /**
@@ -13,7 +13,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
13
13
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
14
14
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
15
15
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The UserDfuStateMachine model module.
30
30
  * @module model/UserDfuStateMachine
31
- * @version 6.6.0
31
+ * @version 6.7.0-beta.2
32
32
  */
33
33
  var UserDfuStateMachine = /*#__PURE__*/function () {
34
34
  /**
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The UserDfuStateMachineStatus model module.
28
28
  * @module model/UserDfuStateMachineStatus
29
- * @version 6.6.0
29
+ * @version 6.7.0-beta.2
30
30
  */
31
31
  var UserDfuStateMachineStatus = /*#__PURE__*/function () {
32
32
  /**
@@ -13,7 +13,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
13
13
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
14
14
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
15
15
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
16
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
16
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
17
17
  * Notehub API
18
18
  * The OpenAPI definition for the Notehub.io API.
19
19
  *
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
28
28
  /**
29
29
  * The UserFirmwareInfo model module.
30
30
  * @module model/UserFirmwareInfo
31
- * @version 6.6.0
31
+ * @version 6.7.0-beta.2
32
32
  */
33
33
  var UserFirmwareInfo = /*#__PURE__*/function () {
34
34
  /**
@@ -11,7 +11,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
11
11
  function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
12
  function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
13
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
14
+ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
15
15
  * Notehub API
16
16
  * The OpenAPI definition for the Notehub.io API.
17
17
  *
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
26
26
  /**
27
27
  * The WebhookSettings model module.
28
28
  * @module model/WebhookSettings
29
- * @version 6.6.0
29
+ * @version 6.7.0-beta.2
30
30
  */
31
31
  var WebhookSettings = /*#__PURE__*/function () {
32
32
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blues-inc/notehub-js",
3
- "version": "6.6.0",
3
+ "version": "6.7.0-beta.2",
4
4
  "description": "The OpenAPI definition for the Notehub.io API. ",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -1,125 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
17
- *
18
- * The version of the OpenAPI document: 1.2.0
19
- * Contact: engineering@blues.io
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The ArchiveStats model module.
28
- * @module model/ArchiveStats
29
- * @version 6.6.0
30
- */
31
- var ArchiveStats = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>ArchiveStats</code>.
34
- * Statistics about a repository&#39;s data archive.
35
- * @alias module:model/ArchiveStats
36
- */
37
- function ArchiveStats() {
38
- _classCallCheck(this, ArchiveStats);
39
- ArchiveStats.initialize(this);
40
- }
41
-
42
- /**
43
- * Initializes the fields of this object.
44
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
- * Only for internal use.
46
- */
47
- return _createClass(ArchiveStats, null, [{
48
- key: "initialize",
49
- value: function initialize(obj) {}
50
-
51
- /**
52
- * Constructs a <code>ArchiveStats</code> from a plain JavaScript object, optionally creating a new instance.
53
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
- * @param {Object} data The plain JavaScript object bearing properties of interest.
55
- * @param {module:model/ArchiveStats} obj Optional instance to populate.
56
- * @return {module:model/ArchiveStats} The populated <code>ArchiveStats</code> instance.
57
- */
58
- }, {
59
- key: "constructFromObject",
60
- value: function constructFromObject(data, obj) {
61
- if (data) {
62
- obj = obj || new ArchiveStats();
63
- if (data.hasOwnProperty("begin")) {
64
- obj["begin"] = _ApiClient["default"].convertToType(data["begin"], "Date");
65
- }
66
- if (data.hasOwnProperty("end")) {
67
- obj["end"] = _ApiClient["default"].convertToType(data["end"], "Date");
68
- }
69
- if (data.hasOwnProperty("file_count")) {
70
- obj["file_count"] = _ApiClient["default"].convertToType(data["file_count"], "Number");
71
- }
72
- if (data.hasOwnProperty("record_count")) {
73
- obj["record_count"] = _ApiClient["default"].convertToType(data["record_count"], "Number");
74
- }
75
- if (data.hasOwnProperty("total_size_bytes")) {
76
- obj["total_size_bytes"] = _ApiClient["default"].convertToType(data["total_size_bytes"], "Number");
77
- }
78
- } else if (data === null) {
79
- return null;
80
- }
81
- return obj;
82
- }
83
-
84
- /**
85
- * Validates the JSON data with respect to <code>ArchiveStats</code>.
86
- * @param {Object} data The plain JavaScript object bearing properties of interest.
87
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>ArchiveStats</code>.
88
- */
89
- }, {
90
- key: "validateJSON",
91
- value: function validateJSON(data) {
92
- return true;
93
- }
94
- }]);
95
- }();
96
- /**
97
- * Timestamp of the earliest archived record.
98
- * @member {Date} begin
99
- */
100
- ArchiveStats.prototype["begin"] = undefined;
101
-
102
- /**
103
- * Timestamp of the latest archived record.
104
- * @member {Date} end
105
- */
106
- ArchiveStats.prototype["end"] = undefined;
107
-
108
- /**
109
- * Number of archive files.
110
- * @member {Number} file_count
111
- */
112
- ArchiveStats.prototype["file_count"] = undefined;
113
-
114
- /**
115
- * Total number of records across all archive files. Null when the count cannot be determined because one or more archive files predate the record-count filename format.
116
- * @member {Number} record_count
117
- */
118
- ArchiveStats.prototype["record_count"] = undefined;
119
-
120
- /**
121
- * Total size of all archive files, in bytes.
122
- * @member {Number} total_size_bytes
123
- */
124
- ArchiveStats.prototype["total_size_bytes"] = undefined;
125
- var _default = exports["default"] = ArchiveStats;
@@ -1,178 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
11
- function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
12
- function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
14
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
15
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
16
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
17
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
18
- * Notehub API
19
- * The OpenAPI definition for the Notehub.io API.
20
- *
21
- * The version of the OpenAPI document: 1.2.0
22
- * Contact: engineering@blues.io
23
- *
24
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
25
- * https://openapi-generator.tech
26
- * Do not edit the class manually.
27
- *
28
- */
29
- /**
30
- * The BatchJobNoteRequest model module.
31
- * @module model/BatchJobNoteRequest
32
- * @version 6.6.0
33
- */
34
- var BatchJobNoteRequest = /*#__PURE__*/function () {
35
- /**
36
- * Constructs a new <code>BatchJobNoteRequest</code>.
37
- * A single note.add/note.update/note.delete request against a device&#39;s own notefile
38
- * @alias module:model/BatchJobNoteRequest
39
- * @param file {String} The notefile to operate on (e.g. data.qi, config.dbs)
40
- * @param req {module:model/BatchJobNoteRequest.ReqEnum} The note operation to perform
41
- */
42
- function BatchJobNoteRequest(file, req) {
43
- _classCallCheck(this, BatchJobNoteRequest);
44
- BatchJobNoteRequest.initialize(this, file, req);
45
- }
46
-
47
- /**
48
- * Initializes the fields of this object.
49
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
50
- * Only for internal use.
51
- */
52
- return _createClass(BatchJobNoteRequest, null, [{
53
- key: "initialize",
54
- value: function initialize(obj, file, req) {
55
- obj["file"] = file;
56
- obj["req"] = req;
57
- }
58
-
59
- /**
60
- * Constructs a <code>BatchJobNoteRequest</code> from a plain JavaScript object, optionally creating a new instance.
61
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
62
- * @param {Object} data The plain JavaScript object bearing properties of interest.
63
- * @param {module:model/BatchJobNoteRequest} obj Optional instance to populate.
64
- * @return {module:model/BatchJobNoteRequest} The populated <code>BatchJobNoteRequest</code> instance.
65
- */
66
- }, {
67
- key: "constructFromObject",
68
- value: function constructFromObject(data, obj) {
69
- if (data) {
70
- obj = obj || new BatchJobNoteRequest();
71
- if (data.hasOwnProperty("body")) {
72
- obj["body"] = _ApiClient["default"].convertToType(data["body"], {
73
- String: Object
74
- });
75
- }
76
- if (data.hasOwnProperty("file")) {
77
- obj["file"] = _ApiClient["default"].convertToType(data["file"], "String");
78
- }
79
- if (data.hasOwnProperty("note")) {
80
- obj["note"] = _ApiClient["default"].convertToType(data["note"], "String");
81
- }
82
- if (data.hasOwnProperty("req")) {
83
- obj["req"] = _ApiClient["default"].convertToType(data["req"], "String");
84
- }
85
- } else if (data === null) {
86
- return null;
87
- }
88
- return obj;
89
- }
90
-
91
- /**
92
- * Validates the JSON data with respect to <code>BatchJobNoteRequest</code>.
93
- * @param {Object} data The plain JavaScript object bearing properties of interest.
94
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>BatchJobNoteRequest</code>.
95
- */
96
- }, {
97
- key: "validateJSON",
98
- value: function validateJSON(data) {
99
- // check to make sure all required properties are present in the JSON string
100
- var _iterator = _createForOfIteratorHelper(BatchJobNoteRequest.RequiredProperties),
101
- _step;
102
- try {
103
- for (_iterator.s(); !(_step = _iterator.n()).done;) {
104
- var property = _step.value;
105
- if (!data[property]) {
106
- throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
107
- }
108
- }
109
- // ensure the json data is a string
110
- } catch (err) {
111
- _iterator.e(err);
112
- } finally {
113
- _iterator.f();
114
- }
115
- if (data["file"] && !(typeof data["file"] === "string" || data["file"] instanceof String)) {
116
- throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data["file"]);
117
- }
118
- // ensure the json data is a string
119
- if (data["note"] && !(typeof data["note"] === "string" || data["note"] instanceof String)) {
120
- throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data["note"]);
121
- }
122
- // ensure the json data is a string
123
- if (data["req"] && !(typeof data["req"] === "string" || data["req"] instanceof String)) {
124
- throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data["req"]);
125
- }
126
- return true;
127
- }
128
- }]);
129
- }();
130
- BatchJobNoteRequest.RequiredProperties = ["file", "req"];
131
-
132
- /**
133
- * The note's JSON body (used by note.add and note.update)
134
- * @member {Object.<String, Object>} body
135
- */
136
- BatchJobNoteRequest.prototype["body"] = undefined;
137
-
138
- /**
139
- * The notefile to operate on (e.g. data.qi, config.dbs)
140
- * @member {String} file
141
- */
142
- BatchJobNoteRequest.prototype["file"] = undefined;
143
-
144
- /**
145
- * The note ID. Required for note.update and note.delete, and for note.add against a database (.dbs/.db) notefile. Must be omitted for note.add against a queue (.qi/.qo) notefile.
146
- * @member {String} note
147
- */
148
- BatchJobNoteRequest.prototype["note"] = undefined;
149
-
150
- /**
151
- * The note operation to perform
152
- * @member {module:model/BatchJobNoteRequest.ReqEnum} req
153
- */
154
- BatchJobNoteRequest.prototype["req"] = undefined;
155
-
156
- /**
157
- * Allowed values for the <code>req</code> property.
158
- * @enum {String}
159
- * @readonly
160
- */
161
- BatchJobNoteRequest["ReqEnum"] = {
162
- /**
163
- * value: "note.add"
164
- * @const
165
- */
166
- add: "note.add",
167
- /**
168
- * value: "note.update"
169
- * @const
170
- */
171
- update: "note.update",
172
- /**
173
- * value: "note.delete"
174
- * @const
175
- */
176
- "delete": "note.delete"
177
- };
178
- var _default = exports["default"] = BatchJobNoteRequest;
@@ -1,116 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports["default"] = void 0;
7
- var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
9
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
10
- function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
11
- function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
12
- function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
13
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
15
- * Notehub API
16
- * The OpenAPI definition for the Notehub.io API.
17
- *
18
- * The version of the OpenAPI document: 1.2.0
19
- * Contact: engineering@blues.io
20
- *
21
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
22
- * https://openapi-generator.tech
23
- * Do not edit the class manually.
24
- *
25
- */
26
- /**
27
- * The DatasetReloadProgress model module.
28
- * @module model/DatasetReloadProgress
29
- * @version 6.6.0
30
- */
31
- var DatasetReloadProgress = /*#__PURE__*/function () {
32
- /**
33
- * Constructs a new <code>DatasetReloadProgress</code>.
34
- * Live progress of an in-flight reload of this dataset; absent when not reloading.
35
- * @alias module:model/DatasetReloadProgress
36
- */
37
- function DatasetReloadProgress() {
38
- _classCallCheck(this, DatasetReloadProgress);
39
- DatasetReloadProgress.initialize(this);
40
- }
41
-
42
- /**
43
- * Initializes the fields of this object.
44
- * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
45
- * Only for internal use.
46
- */
47
- return _createClass(DatasetReloadProgress, null, [{
48
- key: "initialize",
49
- value: function initialize(obj) {}
50
-
51
- /**
52
- * Constructs a <code>DatasetReloadProgress</code> from a plain JavaScript object, optionally creating a new instance.
53
- * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
54
- * @param {Object} data The plain JavaScript object bearing properties of interest.
55
- * @param {module:model/DatasetReloadProgress} obj Optional instance to populate.
56
- * @return {module:model/DatasetReloadProgress} The populated <code>DatasetReloadProgress</code> instance.
57
- */
58
- }, {
59
- key: "constructFromObject",
60
- value: function constructFromObject(data, obj) {
61
- if (data) {
62
- obj = obj || new DatasetReloadProgress();
63
- if (data.hasOwnProperty("archive_records_read")) {
64
- obj["archive_records_read"] = _ApiClient["default"].convertToType(data["archive_records_read"], "Number");
65
- }
66
- if (data.hasOwnProperty("archive_records_total")) {
67
- obj["archive_records_total"] = _ApiClient["default"].convertToType(data["archive_records_total"], "Number");
68
- }
69
- if (data.hasOwnProperty("started")) {
70
- obj["started"] = _ApiClient["default"].convertToType(data["started"], "Date");
71
- }
72
- if (data.hasOwnProperty("tail_records_read")) {
73
- obj["tail_records_read"] = _ApiClient["default"].convertToType(data["tail_records_read"], "Number");
74
- }
75
- } else if (data === null) {
76
- return null;
77
- }
78
- return obj;
79
- }
80
-
81
- /**
82
- * Validates the JSON data with respect to <code>DatasetReloadProgress</code>.
83
- * @param {Object} data The plain JavaScript object bearing properties of interest.
84
- * @return {boolean} to indicate whether the JSON data is valid with respect to <code>DatasetReloadProgress</code>.
85
- */
86
- }, {
87
- key: "validateJSON",
88
- value: function validateJSON(data) {
89
- return true;
90
- }
91
- }]);
92
- }();
93
- /**
94
- * Archived records read so far.
95
- * @member {Number} archive_records_read
96
- */
97
- DatasetReloadProgress.prototype["archive_records_read"] = undefined;
98
-
99
- /**
100
- * Approximate total archived records to read. Null when it cannot be determined because some archive files predate the record-count filename format.
101
- * @member {Number} archive_records_total
102
- */
103
- DatasetReloadProgress.prototype["archive_records_total"] = undefined;
104
-
105
- /**
106
- * When this reload started.
107
- * @member {Date} started
108
- */
109
- DatasetReloadProgress.prototype["started"] = undefined;
110
-
111
- /**
112
- * Unarchived (Kafka tail) records read so far.
113
- * @member {Number} tail_records_read
114
- */
115
- DatasetReloadProgress.prototype["tail_records_read"] = undefined;
116
- var _default = exports["default"] = DatasetReloadProgress;