@neuracore/types 7.0.0 → 7.2.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.
@@ -81,6 +81,30 @@ export interface BaseRecodingUpdatePayload {
81
81
  robot_id: string;
82
82
  instance: number;
83
83
  }
84
+ /**
85
+ * Request body for updating the status/progress of multiple data traces.
86
+ *
87
+ * Attributes:
88
+ * updates: A dictionary of trace_id -> TraceStatusUpdates
89
+ */
90
+ export interface BatchedUpdateTraceRequest {
91
+ updates: {
92
+ [k: string]: TraceStatusUpdates;
93
+ };
94
+ }
95
+ /**
96
+ * Represents an update status/progress of a data trace.
97
+ *
98
+ * Attributes:
99
+ * status: The status of the trace upload.
100
+ * uploaded_bytes: The number of bytes uploaded.
101
+ * total_bytes: The total number of bytes expected.
102
+ */
103
+ export interface TraceStatusUpdates {
104
+ status?: RecordingDataTraceStatus | null;
105
+ uploaded_bytes?: number | null;
106
+ total_bytes?: number | null;
107
+ }
84
108
  /**
85
109
  * Camera sensor data including images and calibration information.
86
110
  *
@@ -850,6 +874,8 @@ export interface EndEffectorPoseDataStats {
850
874
  * expiration_time: Timestamp when the endpoint expires (if set)
851
875
  * cloud_compute_job_id: ID of the cloud compute job running this endpoint
852
876
  * zone: The GCP zone where the endpoint is running
877
+ * input_embodiment_description: Optional model input data order
878
+ * output_embodiment_description: Optional model output data order
853
879
  */
854
880
  export interface Endpoint {
855
881
  id: string;
@@ -865,6 +891,16 @@ export interface Endpoint {
865
891
  error_code?: number | null;
866
892
  expiration_time?: number | null;
867
893
  cloud_compute_job_id?: string | null;
894
+ input_embodiment_description?: {
895
+ [k: string]: {
896
+ [k: string]: string;
897
+ };
898
+ } | null;
899
+ output_embodiment_description?: {
900
+ [k: string]: {
901
+ [k: string]: string;
902
+ };
903
+ } | null;
868
904
  }
869
905
  /**
870
906
  * Description of a single episode with statistics and counts.
@@ -1305,7 +1341,7 @@ export interface RecordingDataTrace {
1305
1341
  id: string;
1306
1342
  recording_id: string;
1307
1343
  data_type: DataType;
1308
- status: RecordingDataTraceStatus;
1344
+ status: RecordingDataTraceStatus1;
1309
1345
  created_at: number;
1310
1346
  uploaded_at: number | null;
1311
1347
  uploaded_bytes: number;
@@ -1631,6 +1667,14 @@ export declare enum DataType {
1631
1667
  LANGUAGE = "LANGUAGE",
1632
1668
  CUSTOM_1D = "CUSTOM_1D"
1633
1669
  }
1670
+ /**
1671
+ * Status for a recording data trace upload lifecycle.
1672
+ */
1673
+ export declare enum RecordingDataTraceStatus {
1674
+ QUEUED = "QUEUED",
1675
+ UPLOAD_STARTED = "UPLOAD_STARTED",
1676
+ UPLOAD_COMPLETE = "UPLOAD_COMPLETE"
1677
+ }
1634
1678
  export declare enum Type {
1635
1679
  CameraDataStats = "CameraDataStats"
1636
1680
  }
@@ -1916,7 +1960,7 @@ export declare enum Type16 {
1916
1960
  /**
1917
1961
  * Status for a recording data trace upload lifecycle.
1918
1962
  */
1919
- export declare enum RecordingDataTraceStatus {
1963
+ export declare enum RecordingDataTraceStatus1 {
1920
1964
  QUEUED = "QUEUED",
1921
1965
  UPLOAD_STARTED = "UPLOAD_STARTED",
1922
1966
  UPLOAD_COMPLETE = "UPLOAD_COMPLETE"
@@ -6,7 +6,7 @@
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.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = 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.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = 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.DataType = void 0;
9
+ exports.GPUType2 = exports.TrainingJobStatus = exports.RecordingNotificationType = 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.DatasetTypeConfig = exports.Type2 = exports.IntrinsicsConfig = exports.PoseConfig1 = exports.ActionSpaceConfig = exports.ActionTypeConfig = exports.JointPositionInputTypeConfig = exports.VisualJointInputTypeConfig = exports.LanguageConfig = exports.EndEffectorPoseInputTypeConfig = 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.DataType = void 0;
10
10
  /**
11
11
  * Enumeration of supported data types in the Neuracore system.
12
12
  *
@@ -30,6 +30,15 @@ var DataType;
30
30
  DataType["LANGUAGE"] = "LANGUAGE";
31
31
  DataType["CUSTOM_1D"] = "CUSTOM_1D";
32
32
  })(DataType || (exports.DataType = DataType = {}));
33
+ /**
34
+ * Status for a recording data trace upload lifecycle.
35
+ */
36
+ var RecordingDataTraceStatus;
37
+ (function (RecordingDataTraceStatus) {
38
+ RecordingDataTraceStatus["QUEUED"] = "QUEUED";
39
+ RecordingDataTraceStatus["UPLOAD_STARTED"] = "UPLOAD_STARTED";
40
+ RecordingDataTraceStatus["UPLOAD_COMPLETE"] = "UPLOAD_COMPLETE";
41
+ })(RecordingDataTraceStatus || (exports.RecordingDataTraceStatus = RecordingDataTraceStatus = {}));
33
42
  var Type;
34
43
  (function (Type) {
35
44
  Type["CameraDataStats"] = "CameraDataStats";
@@ -358,12 +367,12 @@ var Type16;
358
367
  /**
359
368
  * Status for a recording data trace upload lifecycle.
360
369
  */
361
- var RecordingDataTraceStatus;
362
- (function (RecordingDataTraceStatus) {
363
- RecordingDataTraceStatus["QUEUED"] = "QUEUED";
364
- RecordingDataTraceStatus["UPLOAD_STARTED"] = "UPLOAD_STARTED";
365
- RecordingDataTraceStatus["UPLOAD_COMPLETE"] = "UPLOAD_COMPLETE";
366
- })(RecordingDataTraceStatus || (exports.RecordingDataTraceStatus = RecordingDataTraceStatus = {}));
370
+ var RecordingDataTraceStatus1;
371
+ (function (RecordingDataTraceStatus1) {
372
+ RecordingDataTraceStatus1["QUEUED"] = "QUEUED";
373
+ RecordingDataTraceStatus1["UPLOAD_STARTED"] = "UPLOAD_STARTED";
374
+ RecordingDataTraceStatus1["UPLOAD_COMPLETE"] = "UPLOAD_COMPLETE";
375
+ })(RecordingDataTraceStatus1 || (exports.RecordingDataTraceStatus1 = RecordingDataTraceStatus1 = {}));
367
376
  /**
368
377
  * Types of recording lifecycle notifications.
369
378
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "7.0.0",
3
+ "version": "7.2.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",