@blues-inc/notehub-js 6.5.0 → 6.6.0-beta.10
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.
- package/README.md +9 -2
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +29 -29
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +43 -43
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +66 -6
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +49 -7
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +125 -0
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +178 -0
- package/dist/model/BatchJobRequests.js +34 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +44 -39
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +77 -2
- package/dist/model/DataSetField.js +7 -2
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +116 -0
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +115 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +125 -0
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +10 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +140 -0
- package/dist/model/GetBillingAccount200Response.js +1 -1
- package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +6 -6
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetEventsByCursor200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/{GetDeviceHealthLog200ResponseHealthLogInner.js → HealthLog.js} +22 -22
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +30 -23
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +15 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +147 -0
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CloneProjectRequest model module.
|
|
31
31
|
* @module model/CloneProjectRequest
|
|
32
|
-
* @version 6.
|
|
32
|
+
* @version 6.6.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Contact.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateFleetRequest model module.
|
|
29
29
|
* @module model/CreateFleetRequest
|
|
30
|
-
* @version 6.
|
|
30
|
+
* @version 6.6.0-beta.10
|
|
31
31
|
*/
|
|
32
32
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateJob201Response model module.
|
|
31
31
|
* @module model/CreateJob201Response
|
|
32
|
-
* @version 6.
|
|
32
|
+
* @version 6.6.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var CreateJob201Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateMonitor model module.
|
|
33
33
|
* @module model/CreateMonitor
|
|
34
|
-
* @version 6.
|
|
34
|
+
* @version 6.6.0-beta.10
|
|
35
35
|
*/
|
|
36
36
|
var CreateMonitor = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -39,15 +39,13 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
39
39
|
* @alias module:model/CreateMonitor
|
|
40
40
|
* @implements module:model/Monitor
|
|
41
41
|
* @param alertRoutes {Array.<module:model/MonitorAlertRoutesInner>}
|
|
42
|
-
* @param description {String}
|
|
43
42
|
* @param name {String}
|
|
44
|
-
* @param
|
|
45
|
-
* @param threshold {Number} The type of condition to apply to the value selected by the source_selector
|
|
43
|
+
* @param threshold {Number} The value that condition_type compares against. For heartbeat monitors this is seconds of inactivity; for usage monitors it is bytes.
|
|
46
44
|
*/
|
|
47
|
-
function CreateMonitor(alertRoutes,
|
|
45
|
+
function CreateMonitor(alertRoutes, name, threshold) {
|
|
48
46
|
_classCallCheck(this, CreateMonitor);
|
|
49
47
|
_Monitor["default"].initialize(this);
|
|
50
|
-
CreateMonitor.initialize(this, alertRoutes,
|
|
48
|
+
CreateMonitor.initialize(this, alertRoutes, name, threshold);
|
|
51
49
|
}
|
|
52
50
|
|
|
53
51
|
/**
|
|
@@ -57,11 +55,9 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
57
55
|
*/
|
|
58
56
|
return _createClass(CreateMonitor, null, [{
|
|
59
57
|
key: "initialize",
|
|
60
|
-
value: function initialize(obj, alertRoutes,
|
|
58
|
+
value: function initialize(obj, alertRoutes, name, threshold) {
|
|
61
59
|
obj["alert_routes"] = alertRoutes;
|
|
62
|
-
obj["description"] = description;
|
|
63
60
|
obj["name"] = name;
|
|
64
|
-
obj["source_type"] = sourceType;
|
|
65
61
|
obj["threshold"] = threshold;
|
|
66
62
|
}
|
|
67
63
|
|
|
@@ -250,10 +246,10 @@ var CreateMonitor = /*#__PURE__*/function () {
|
|
|
250
246
|
}
|
|
251
247
|
}]);
|
|
252
248
|
}();
|
|
253
|
-
CreateMonitor.RequiredProperties = ["alert_routes", "
|
|
249
|
+
CreateMonitor.RequiredProperties = ["alert_routes", "name", "threshold"];
|
|
254
250
|
|
|
255
251
|
/**
|
|
256
|
-
* Aggregate function to apply to the selected values before applying the condition. [none,
|
|
252
|
+
* Aggregate function to apply to the selected values before applying the condition. [none, avg, max, min, sum, count]
|
|
257
253
|
* @member {module:model/CreateMonitor.AggregateFunctionEnum} aggregate_function
|
|
258
254
|
*/
|
|
259
255
|
CreateMonitor.prototype["aggregate_function"] = undefined;
|
|
@@ -276,15 +272,16 @@ CreateMonitor.prototype["alert"] = undefined;
|
|
|
276
272
|
CreateMonitor.prototype["alert_routes"] = undefined;
|
|
277
273
|
|
|
278
274
|
/**
|
|
279
|
-
* A comparison operation to apply to the value selected by the source_selector [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
275
|
+
* A comparison operation to apply to the value selected by the source_selector. Required for event and usage monitors; set automatically for heartbeat monitors. [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
280
276
|
* @member {module:model/CreateMonitor.ConditionTypeEnum} condition_type
|
|
281
277
|
*/
|
|
282
278
|
CreateMonitor.prototype["condition_type"] = undefined;
|
|
283
279
|
|
|
284
280
|
/**
|
|
285
281
|
* @member {String} description
|
|
282
|
+
* @default ''
|
|
286
283
|
*/
|
|
287
|
-
CreateMonitor.prototype["description"] =
|
|
284
|
+
CreateMonitor.prototype["description"] = "";
|
|
288
285
|
|
|
289
286
|
/**
|
|
290
287
|
* If true, the monitor will not be evaluated.
|
|
@@ -332,19 +329,20 @@ CreateMonitor.prototype["routing_cooldown_period"] = undefined;
|
|
|
332
329
|
CreateMonitor.prototype["silenced"] = undefined;
|
|
333
330
|
|
|
334
331
|
/**
|
|
335
|
-
* A
|
|
332
|
+
* A dot-delimited path to a single numeric value within the event body.
|
|
336
333
|
* @member {String} source_selector
|
|
337
334
|
*/
|
|
338
335
|
CreateMonitor.prototype["source_selector"] = undefined;
|
|
339
336
|
|
|
340
337
|
/**
|
|
341
|
-
* The type of source to monitor.
|
|
338
|
+
* The type of source to monitor. Defaults to \"event\".
|
|
342
339
|
* @member {module:model/CreateMonitor.SourceTypeEnum} source_type
|
|
340
|
+
* @default 'event'
|
|
343
341
|
*/
|
|
344
|
-
CreateMonitor.prototype["source_type"] =
|
|
342
|
+
CreateMonitor.prototype["source_type"] = "event";
|
|
345
343
|
|
|
346
344
|
/**
|
|
347
|
-
* The
|
|
345
|
+
* The value that condition_type compares against. For heartbeat monitors this is seconds of inactivity; for usage monitors it is bytes.
|
|
348
346
|
* @member {Number} threshold
|
|
349
347
|
*/
|
|
350
348
|
CreateMonitor.prototype["threshold"] = undefined;
|
|
@@ -374,7 +372,7 @@ CreateMonitor.prototype["usage_window"] = undefined;
|
|
|
374
372
|
|
|
375
373
|
// Implement Monitor interface:
|
|
376
374
|
/**
|
|
377
|
-
* Aggregate function to apply to the selected values before applying the condition. [none,
|
|
375
|
+
* Aggregate function to apply to the selected values before applying the condition. [none, avg, max, min, sum, count]
|
|
378
376
|
* @member {module:model/Monitor.AggregateFunctionEnum} aggregate_function
|
|
379
377
|
*/
|
|
380
378
|
_Monitor["default"].prototype["aggregate_function"] = undefined;
|
|
@@ -393,14 +391,15 @@ _Monitor["default"].prototype["alert"] = undefined;
|
|
|
393
391
|
*/
|
|
394
392
|
_Monitor["default"].prototype["alert_routes"] = undefined;
|
|
395
393
|
/**
|
|
396
|
-
* A comparison operation to apply to the value selected by the source_selector [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
394
|
+
* A comparison operation to apply to the value selected by the source_selector. Required for event and usage monitors; set automatically for heartbeat monitors. [greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to]
|
|
397
395
|
* @member {module:model/Monitor.ConditionTypeEnum} condition_type
|
|
398
396
|
*/
|
|
399
397
|
_Monitor["default"].prototype["condition_type"] = undefined;
|
|
400
398
|
/**
|
|
401
399
|
* @member {String} description
|
|
400
|
+
* @default ''
|
|
402
401
|
*/
|
|
403
|
-
_Monitor["default"].prototype["description"] =
|
|
402
|
+
_Monitor["default"].prototype["description"] = "";
|
|
404
403
|
/**
|
|
405
404
|
* If true, the monitor will not be evaluated.
|
|
406
405
|
* @member {Boolean} disabled
|
|
@@ -439,17 +438,18 @@ _Monitor["default"].prototype["routing_cooldown_period"] = undefined;
|
|
|
439
438
|
*/
|
|
440
439
|
_Monitor["default"].prototype["silenced"] = undefined;
|
|
441
440
|
/**
|
|
442
|
-
* A
|
|
441
|
+
* A dot-delimited path to a single numeric value within the event body.
|
|
443
442
|
* @member {String} source_selector
|
|
444
443
|
*/
|
|
445
444
|
_Monitor["default"].prototype["source_selector"] = undefined;
|
|
446
445
|
/**
|
|
447
|
-
* The type of source to monitor.
|
|
446
|
+
* The type of source to monitor. Defaults to \"event\".
|
|
448
447
|
* @member {module:model/Monitor.SourceTypeEnum} source_type
|
|
448
|
+
* @default 'event'
|
|
449
449
|
*/
|
|
450
|
-
_Monitor["default"].prototype["source_type"] =
|
|
450
|
+
_Monitor["default"].prototype["source_type"] = "event";
|
|
451
451
|
/**
|
|
452
|
-
* The
|
|
452
|
+
* The value that condition_type compares against. For heartbeat monitors this is seconds of inactivity; for usage monitors it is bytes.
|
|
453
453
|
* @member {Number} threshold
|
|
454
454
|
*/
|
|
455
455
|
_Monitor["default"].prototype["threshold"] = undefined;
|
|
@@ -485,15 +485,10 @@ CreateMonitor["AggregateFunctionEnum"] = {
|
|
|
485
485
|
*/
|
|
486
486
|
none: "none",
|
|
487
487
|
/**
|
|
488
|
-
* value: "
|
|
489
|
-
* @const
|
|
490
|
-
*/
|
|
491
|
-
sum: "sum",
|
|
492
|
-
/**
|
|
493
|
-
* value: "average"
|
|
488
|
+
* value: "avg"
|
|
494
489
|
* @const
|
|
495
490
|
*/
|
|
496
|
-
|
|
491
|
+
avg: "avg",
|
|
497
492
|
/**
|
|
498
493
|
* value: "max"
|
|
499
494
|
* @const
|
|
@@ -503,7 +498,17 @@ CreateMonitor["AggregateFunctionEnum"] = {
|
|
|
503
498
|
* value: "min"
|
|
504
499
|
* @const
|
|
505
500
|
*/
|
|
506
|
-
min: "min"
|
|
501
|
+
min: "min",
|
|
502
|
+
/**
|
|
503
|
+
* value: "sum"
|
|
504
|
+
* @const
|
|
505
|
+
*/
|
|
506
|
+
sum: "sum",
|
|
507
|
+
/**
|
|
508
|
+
* value: "count"
|
|
509
|
+
* @const
|
|
510
|
+
*/
|
|
511
|
+
count: "count"
|
|
507
512
|
};
|
|
508
513
|
|
|
509
514
|
/**
|
|
@@ -541,12 +546,7 @@ CreateMonitor["ConditionTypeEnum"] = {
|
|
|
541
546
|
* value: "not_equal_to"
|
|
542
547
|
* @const
|
|
543
548
|
*/
|
|
544
|
-
not_equal_to: "not_equal_to"
|
|
545
|
-
/**
|
|
546
|
-
* value: "count"
|
|
547
|
-
* @const
|
|
548
|
-
*/
|
|
549
|
-
count: "count"
|
|
549
|
+
not_equal_to: "not_equal_to"
|
|
550
550
|
};
|
|
551
551
|
|
|
552
552
|
/**
|
|
@@ -564,6 +564,11 @@ CreateMonitor["SourceTypeEnum"] = {
|
|
|
564
564
|
* value: "heartbeat"
|
|
565
565
|
* @const
|
|
566
566
|
*/
|
|
567
|
-
heartbeat: "heartbeat"
|
|
567
|
+
heartbeat: "heartbeat",
|
|
568
|
+
/**
|
|
569
|
+
* value: "usage"
|
|
570
|
+
* @const
|
|
571
|
+
*/
|
|
572
|
+
usage: "usage"
|
|
568
573
|
};
|
|
569
574
|
var _default = exports["default"] = CreateMonitor;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProductRequest model module.
|
|
31
31
|
* @module model/CreateProductRequest
|
|
32
|
-
* @version 6.
|
|
32
|
+
* @version 6.6.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var CreateProductRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectRequest model module.
|
|
31
31
|
* @module model/CreateProjectRequest
|
|
32
|
-
* @version 6.
|
|
32
|
+
* @version 6.6.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateProjectSecretRequest model module.
|
|
31
31
|
* @module model/CreateProjectSecretRequest
|
|
32
|
-
* @version 6.
|
|
32
|
+
* @version 6.6.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var CreateProjectSecretRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreateUpdateRepository model module.
|
|
28
28
|
* @module model/CreateUpdateRepository
|
|
29
|
-
* @version 6.
|
|
29
|
+
* @version 6.6.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var CreateUpdateRepository = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The CreatedRepository model module.
|
|
28
28
|
* @module model/CreatedRepository
|
|
29
|
-
* @version 6.
|
|
29
|
+
* @version 6.6.0-beta.10
|
|
30
30
|
*/
|
|
31
31
|
var CreatedRepository = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
/**
|
|
28
28
|
* The CurrentFirmware model module.
|
|
29
29
|
* @module model/CurrentFirmware
|
|
30
|
-
* @version 6.
|
|
30
|
+
* @version 6.6.0-beta.10
|
|
31
31
|
*/
|
|
32
32
|
var CurrentFirmware = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
package/dist/model/DFUEnv.js
CHANGED
package/dist/model/DFUState.js
CHANGED
package/dist/model/DataField.js
CHANGED
package/dist/model/DataSet.js
CHANGED
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
8
|
var _DataSetField = _interopRequireDefault(require("./DataSetField"));
|
|
9
|
+
var _DatasetReloadProgress = _interopRequireDefault(require("./DatasetReloadProgress"));
|
|
9
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
11
|
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); }
|
|
11
12
|
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; } } }; }
|
|
@@ -30,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
31
|
/**
|
|
31
32
|
* The DataSet model module.
|
|
32
33
|
* @module model/DataSet
|
|
33
|
-
* @version 6.
|
|
34
|
+
* @version 6.6.0-beta.10
|
|
34
35
|
*/
|
|
35
36
|
var DataSet = /*#__PURE__*/function () {
|
|
36
37
|
/**
|
|
@@ -72,9 +73,18 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
72
73
|
if (data.hasOwnProperty("is_ready")) {
|
|
73
74
|
obj["is_ready"] = _ApiClient["default"].convertToType(data["is_ready"], "Boolean");
|
|
74
75
|
}
|
|
76
|
+
if (data.hasOwnProperty("lambda_name")) {
|
|
77
|
+
obj["lambda_name"] = _ApiClient["default"].convertToType(data["lambda_name"], "String");
|
|
78
|
+
}
|
|
79
|
+
if (data.hasOwnProperty("lambda_version")) {
|
|
80
|
+
obj["lambda_version"] = _ApiClient["default"].convertToType(data["lambda_version"], "String");
|
|
81
|
+
}
|
|
75
82
|
if (data.hasOwnProperty("lat")) {
|
|
76
83
|
obj["lat"] = _ApiClient["default"].convertToType(data["lat"], "String");
|
|
77
84
|
}
|
|
85
|
+
if (data.hasOwnProperty("location")) {
|
|
86
|
+
obj["location"] = _ApiClient["default"].convertToType(data["location"], "Boolean");
|
|
87
|
+
}
|
|
78
88
|
if (data.hasOwnProperty("lon")) {
|
|
79
89
|
obj["lon"] = _ApiClient["default"].convertToType(data["lon"], "String");
|
|
80
90
|
}
|
|
@@ -84,6 +94,15 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
84
94
|
if (data.hasOwnProperty("notefiles")) {
|
|
85
95
|
obj["notefiles"] = _ApiClient["default"].convertToType(data["notefiles"], ["String"]);
|
|
86
96
|
}
|
|
97
|
+
if (data.hasOwnProperty("python")) {
|
|
98
|
+
obj["python"] = _ApiClient["default"].convertToType(data["python"], "String");
|
|
99
|
+
}
|
|
100
|
+
if (data.hasOwnProperty("reload")) {
|
|
101
|
+
obj["reload"] = _DatasetReloadProgress["default"].constructFromObject(data["reload"]);
|
|
102
|
+
}
|
|
103
|
+
if (data.hasOwnProperty("rows")) {
|
|
104
|
+
obj["rows"] = _ApiClient["default"].convertToType(data["rows"], "String");
|
|
105
|
+
}
|
|
87
106
|
if (data.hasOwnProperty("time")) {
|
|
88
107
|
obj["time"] = _ApiClient["default"].convertToType(data["time"], "String");
|
|
89
108
|
}
|
|
@@ -122,6 +141,14 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
122
141
|
}
|
|
123
142
|
}
|
|
124
143
|
// ensure the json data is a string
|
|
144
|
+
if (data["lambda_name"] && !(typeof data["lambda_name"] === "string" || data["lambda_name"] instanceof String)) {
|
|
145
|
+
throw new Error("Expected the field `lambda_name` to be a primitive type in the JSON string but got " + data["lambda_name"]);
|
|
146
|
+
}
|
|
147
|
+
// ensure the json data is a string
|
|
148
|
+
if (data["lambda_version"] && !(typeof data["lambda_version"] === "string" || data["lambda_version"] instanceof String)) {
|
|
149
|
+
throw new Error("Expected the field `lambda_version` to be a primitive type in the JSON string but got " + data["lambda_version"]);
|
|
150
|
+
}
|
|
151
|
+
// ensure the json data is a string
|
|
125
152
|
if (data["lat"] && !(typeof data["lat"] === "string" || data["lat"] instanceof String)) {
|
|
126
153
|
throw new Error("Expected the field `lat` to be a primitive type in the JSON string but got " + data["lat"]);
|
|
127
154
|
}
|
|
@@ -138,6 +165,19 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
138
165
|
throw new Error("Expected the field `notefiles` to be an array in the JSON data but got " + data["notefiles"]);
|
|
139
166
|
}
|
|
140
167
|
// ensure the json data is a string
|
|
168
|
+
if (data["python"] && !(typeof data["python"] === "string" || data["python"] instanceof String)) {
|
|
169
|
+
throw new Error("Expected the field `python` to be a primitive type in the JSON string but got " + data["python"]);
|
|
170
|
+
}
|
|
171
|
+
// validate the optional field `reload`
|
|
172
|
+
if (data["reload"]) {
|
|
173
|
+
// data not null
|
|
174
|
+
_DatasetReloadProgress["default"].validateJSON(data["reload"]);
|
|
175
|
+
}
|
|
176
|
+
// ensure the json data is a string
|
|
177
|
+
if (data["rows"] && !(typeof data["rows"] === "string" || data["rows"] instanceof String)) {
|
|
178
|
+
throw new Error("Expected the field `rows` to be a primitive type in the JSON string but got " + data["rows"]);
|
|
179
|
+
}
|
|
180
|
+
// ensure the json data is a string
|
|
141
181
|
if (data["time"] && !(typeof data["time"] === "string" || data["time"] instanceof String)) {
|
|
142
182
|
throw new Error("Expected the field `time` to be a primitive type in the JSON string but got " + data["time"]);
|
|
143
183
|
}
|
|
@@ -162,12 +202,30 @@ DataSet.prototype["is_optimized"] = undefined;
|
|
|
162
202
|
*/
|
|
163
203
|
DataSet.prototype["is_ready"] = undefined;
|
|
164
204
|
|
|
205
|
+
/**
|
|
206
|
+
* Name of the Lambda function deployed for a Python dataset. Derived from the repository and dataset name; set when the function is deployed.
|
|
207
|
+
* @member {String} lambda_name
|
|
208
|
+
*/
|
|
209
|
+
DataSet.prototype["lambda_name"] = undefined;
|
|
210
|
+
|
|
211
|
+
/**
|
|
212
|
+
* Published Lambda version this dataset is pinned to. A reload invokes this version rather than the latest, so republishing a projection never changes how a replay projects.
|
|
213
|
+
* @member {String} lambda_version
|
|
214
|
+
*/
|
|
215
|
+
DataSet.prototype["lambda_version"] = undefined;
|
|
216
|
+
|
|
165
217
|
/**
|
|
166
218
|
* JSONata expression resulting in the latitude field
|
|
167
219
|
* @member {String} lat
|
|
168
220
|
*/
|
|
169
221
|
DataSet.prototype["lat"] = undefined;
|
|
170
222
|
|
|
223
|
+
/**
|
|
224
|
+
* Whether the dataset has a location column, taken from each row's \"lat\" and \"lon\" keys. For Python datasets only; a JSONata dataset declares a location column by setting both lat and lon.
|
|
225
|
+
* @member {Boolean} location
|
|
226
|
+
*/
|
|
227
|
+
DataSet.prototype["location"] = undefined;
|
|
228
|
+
|
|
171
229
|
/**
|
|
172
230
|
* JSONata expression resulting in the Longitude field
|
|
173
231
|
* @member {String} lon
|
|
@@ -187,7 +245,24 @@ DataSet.prototype["name"] = undefined;
|
|
|
187
245
|
DataSet.prototype["notefiles"] = undefined;
|
|
188
246
|
|
|
189
247
|
/**
|
|
190
|
-
* JSONata expression
|
|
248
|
+
* Optional Python source projecting each event, as an alternative to JSONata. It defines one function, with type annotations required: \"def rows(record: dict[str, Any]) -> list[dict[str, Any]]\". It returns zero or more row objects per event, whose keys are the dataset's columns -- the same convention the rows expression uses. Returning an empty list contributes no rows and is not an error; anything else, None included, is an error for that event. Mutually exclusive with rows, time, lat, lon and every field's own jsonata expression, since a Python projection produces whole row objects and leaves nothing for them to do. Use it for payloads JSONata cannot decode, such as packed binary, base64-wrapped blobs, protobuf or CBOR. At most 64 KiB. Rows must come back in the same order every time rows() runs over the same event: a row's position in the list identifies it, so an order that varies (such as iterating over a set) makes a replay insert duplicates. Sort the list if the order is not already fixed.
|
|
249
|
+
* @member {String} python
|
|
250
|
+
*/
|
|
251
|
+
DataSet.prototype["python"] = undefined;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* @member {module:model/DatasetReloadProgress} reload
|
|
255
|
+
*/
|
|
256
|
+
DataSet.prototype["reload"] = undefined;
|
|
257
|
+
|
|
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.
|
|
260
|
+
* @member {String} rows
|
|
261
|
+
*/
|
|
262
|
+
DataSet.prototype["rows"] = undefined;
|
|
263
|
+
|
|
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.
|
|
191
266
|
* @member {String} time
|
|
192
267
|
*/
|
|
193
268
|
DataSet.prototype["time"] = undefined;
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The DataSetField model module.
|
|
28
28
|
* @module model/DataSetField
|
|
29
|
-
* @version 6.
|
|
29
|
+
* @version 6.6.0-beta.10
|
|
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
|
-
*
|
|
104
|
+
* The JSONata expression that populates this field from the event. Required for a dataset with no rows expression. Must be omitted when the dataset has one: the column is then taken from the row object key matching this field's name, and supplying an expression here is rejected rather than silently ignored.
|
|
105
105
|
* @member {String} jsonata
|
|
106
106
|
*/
|
|
107
107
|
DataSetField.prototype["jsonata"] = undefined;
|
|
@@ -133,6 +133,11 @@ DataSetField["DatatypeEnum"] = {
|
|
|
133
133
|
* @const
|
|
134
134
|
*/
|
|
135
135
|
2: 2,
|
|
136
|
+
/**
|
|
137
|
+
* value: 3
|
|
138
|
+
* @const
|
|
139
|
+
*/
|
|
140
|
+
3: 3,
|
|
136
141
|
/**
|
|
137
142
|
* value: 5
|
|
138
143
|
* @const
|
package/dist/model/DataUsage.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The DatacakeRoute model module.
|
|
30
30
|
* @module model/DatacakeRoute
|
|
31
|
-
* @version 6.
|
|
31
|
+
* @version 6.6.0-beta.10
|
|
32
32
|
*/
|
|
33
33
|
var DatacakeRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -0,0 +1,116 @@
|
|
|
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-beta.10
|
|
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;
|