@neuracore/types 11.5.0 → 11.6.0

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.
@@ -1461,6 +1461,19 @@ export interface PoseData {
1461
1461
  type: Type15;
1462
1462
  pose: unknown[];
1463
1463
  }
1464
+ /**
1465
+ * Result when a recording fails a QA check.
1466
+ */
1467
+ export interface QAFailureResult {
1468
+ passed: false;
1469
+ reason: QAFailureReason;
1470
+ }
1471
+ /**
1472
+ * Result when a recording passes a QA check.
1473
+ */
1474
+ export interface QAPassResult {
1475
+ passed: true;
1476
+ }
1464
1477
  /**
1465
1478
  * RGB camera data subclass.
1466
1479
  *
@@ -1620,6 +1633,16 @@ export interface SynchronizeDatasetRequest {
1620
1633
  dataset_id: string;
1621
1634
  synchronization_details: SynchronizationDetails;
1622
1635
  }
1636
+ /**
1637
+ * Current preparation state returned by the polling endpoint.
1638
+ */
1639
+ export interface SynchronizeRecordingProgress {
1640
+ recording_id: string;
1641
+ synchronize_recording_id: string;
1642
+ status: SynchronizeRecordingStatus;
1643
+ download_url?: string | null;
1644
+ error?: string | null;
1645
+ }
1623
1646
  /**
1624
1647
  * Request model for synchronizing a recording.
1625
1648
  *
@@ -1631,6 +1654,14 @@ export interface SynchronizeRecordingRequest {
1631
1654
  recording_id: string;
1632
1655
  synchronization_details: SynchronizationDetails;
1633
1656
  }
1657
+ /**
1658
+ * Tracking information returned when recording synchronization starts.
1659
+ */
1660
+ export interface SynchronizeRecordingStartResponse {
1661
+ recording_id: string;
1662
+ synchronized_recording_id: string;
1663
+ status?: SynchronizeRecordingStatus1;
1664
+ }
1634
1665
  /**
1635
1666
  * Represents a synchronized dataset of episodes.
1636
1667
  *
@@ -2207,7 +2238,8 @@ export declare enum Type13 {
2207
2238
  */
2208
2239
  export declare enum RecordingStatus {
2209
2240
  NORMAL = "NORMAL",
2210
- FLAGGED = "FLAGGED"
2241
+ FLAGGED = "FLAGGED",
2242
+ QA_FLAGGED = "QA_FLAGGED"
2211
2243
  }
2212
2244
  /**
2213
2245
  * Pending recording status.
@@ -2227,6 +2259,16 @@ export declare enum Type14 {
2227
2259
  export declare enum Type15 {
2228
2260
  PoseData = "PoseData"
2229
2261
  }
2262
+ /**
2263
+ * Reasons why a recording can fail QA.
2264
+ */
2265
+ export declare enum QAFailureReason {
2266
+ LARGE_GAPS = "LARGE_GAPS",
2267
+ INCONSISTENT_START_TIME = "INCONSISTENT_START_TIME",
2268
+ INCONSISTENT_END_TIME = "INCONSISTENT_END_TIME",
2269
+ TOO_FEW_POINTS = "TOO_FEW_POINTS",
2270
+ LOW_COVERAGE = "LOW_COVERAGE"
2271
+ }
2230
2272
  export declare enum Type16 {
2231
2273
  RGBCameraData = "RGBCameraData"
2232
2274
  }
@@ -2249,6 +2291,22 @@ export declare enum RecordingNotificationType {
2249
2291
  DISCARDED = "DISCARDED",
2250
2292
  EXPIRED = "EXPIRED"
2251
2293
  }
2294
+ /**
2295
+ * Lifecycle stage of an asynchronous recording synchronization.
2296
+ */
2297
+ export declare enum SynchronizeRecordingStatus {
2298
+ PENDING = "PENDING",
2299
+ READY = "READY",
2300
+ FAILED = "FAILED"
2301
+ }
2302
+ /**
2303
+ * Lifecycle stage of an asynchronous recording synchronization.
2304
+ */
2305
+ export declare enum SynchronizeRecordingStatus1 {
2306
+ PENDING = "PENDING",
2307
+ READY = "READY",
2308
+ FAILED = "FAILED"
2309
+ }
2252
2310
  /**
2253
2311
  * Training job status.
2254
2312
  */
@@ -6,8 +6,8 @@
6
6
  /* Do not modify it by hand - just update the pydantic models and then re-run the script
7
7
  */
8
8
  Object.defineProperty(exports, "__esModule", { value: true });
9
- exports.RecordingDataTraceStatus1 = exports.Type16 = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetStatisticsJobStatus = exports.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = exports.Frame = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.RecordingDataTraceStatus = exports.RobotAvailabilityEventType1 = exports.RobotAvailabilityEventType = exports.DataType = void 0;
10
- exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = void 0;
9
+ exports.Type16 = exports.QAFailureReason = exports.Type15 = exports.Type14 = exports.PendingRecordingStatus = exports.RecordingStatus = exports.Type13 = exports.VideoFormat = exports.Type12 = exports.Type11 = exports.Type10 = exports.Type9 = exports.Type8 = exports.Type7 = exports.Type6 = exports.MessageType = exports.GPUType1 = exports.EndpointStatus = exports.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetStatisticsJobStatus = exports.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = exports.Frame = exports.AngleConfig1 = exports.EulerOrderConfig = exports.QuaternionOrderConfig = exports.RotationConfig = exports.PoseConfig = exports.DistanceUnitsConfig = exports.TorqueUnitsConfig = exports.AngleConfig = exports.ImageChannelOrderConfig = exports.ImageConventionConfig = exports.Type1 = exports.Type = exports.RecordingDataTraceStatus = exports.RobotAvailabilityEventType1 = exports.RobotAvailabilityEventType = exports.DataType = void 0;
10
+ exports.GPUType2 = exports.TrainingJobStatus = exports.SynchronizeRecordingStatus1 = exports.SynchronizeRecordingStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus1 = void 0;
11
11
  /**
12
12
  * Enumeration of supported data types in the Neuracore system.
13
13
  *
@@ -382,6 +382,7 @@ var RecordingStatus;
382
382
  (function (RecordingStatus) {
383
383
  RecordingStatus["NORMAL"] = "NORMAL";
384
384
  RecordingStatus["FLAGGED"] = "FLAGGED";
385
+ RecordingStatus["QA_FLAGGED"] = "QA_FLAGGED";
385
386
  })(RecordingStatus || (exports.RecordingStatus = RecordingStatus = {}));
386
387
  /**
387
388
  * Pending recording status.
@@ -404,6 +405,17 @@ var Type15;
404
405
  (function (Type15) {
405
406
  Type15["PoseData"] = "PoseData";
406
407
  })(Type15 || (exports.Type15 = Type15 = {}));
408
+ /**
409
+ * Reasons why a recording can fail QA.
410
+ */
411
+ var QAFailureReason;
412
+ (function (QAFailureReason) {
413
+ QAFailureReason["LARGE_GAPS"] = "LARGE_GAPS";
414
+ QAFailureReason["INCONSISTENT_START_TIME"] = "INCONSISTENT_START_TIME";
415
+ QAFailureReason["INCONSISTENT_END_TIME"] = "INCONSISTENT_END_TIME";
416
+ QAFailureReason["TOO_FEW_POINTS"] = "TOO_FEW_POINTS";
417
+ QAFailureReason["LOW_COVERAGE"] = "LOW_COVERAGE";
418
+ })(QAFailureReason || (exports.QAFailureReason = QAFailureReason = {}));
407
419
  var Type16;
408
420
  (function (Type16) {
409
421
  Type16["RGBCameraData"] = "RGBCameraData";
@@ -429,6 +441,24 @@ var RecordingNotificationType;
429
441
  RecordingNotificationType["DISCARDED"] = "DISCARDED";
430
442
  RecordingNotificationType["EXPIRED"] = "EXPIRED";
431
443
  })(RecordingNotificationType || (exports.RecordingNotificationType = RecordingNotificationType = {}));
444
+ /**
445
+ * Lifecycle stage of an asynchronous recording synchronization.
446
+ */
447
+ var SynchronizeRecordingStatus;
448
+ (function (SynchronizeRecordingStatus) {
449
+ SynchronizeRecordingStatus["PENDING"] = "PENDING";
450
+ SynchronizeRecordingStatus["READY"] = "READY";
451
+ SynchronizeRecordingStatus["FAILED"] = "FAILED";
452
+ })(SynchronizeRecordingStatus || (exports.SynchronizeRecordingStatus = SynchronizeRecordingStatus = {}));
453
+ /**
454
+ * Lifecycle stage of an asynchronous recording synchronization.
455
+ */
456
+ var SynchronizeRecordingStatus1;
457
+ (function (SynchronizeRecordingStatus1) {
458
+ SynchronizeRecordingStatus1["PENDING"] = "PENDING";
459
+ SynchronizeRecordingStatus1["READY"] = "READY";
460
+ SynchronizeRecordingStatus1["FAILED"] = "FAILED";
461
+ })(SynchronizeRecordingStatus1 || (exports.SynchronizeRecordingStatus1 = SynchronizeRecordingStatus1 = {}));
432
462
  /**
433
463
  * Training job status.
434
464
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "11.5.0",
3
+ "version": "11.6.0",
4
4
  "description": "Shared TypeScript type definitions for Neuracore robotics platform",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",