@neuracore/types 6.8.0 → 6.9.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.
@@ -694,6 +694,39 @@ export interface EndEffectorPoseDataStats {
694
694
  type: Type5;
695
695
  pose: DataItemStats;
696
696
  }
697
+ /**
698
+ * Response model for endpoint operations.
699
+ *
700
+ * Attributes:
701
+ * id: Unique identifier for the endpoint
702
+ * name: Display name of the endpoint
703
+ * training_job_id: ID of the training job used for this endpoint
704
+ * status: Current status of the endpoint
705
+ * gpu_type: Type of GPU used by the endpoint
706
+ * create_time: Timestamp when the endpoint was created
707
+ * update_time: Timestamp when the endpoint was last updated
708
+ * endpoint_url: URL for accessing the endpoint (if active)
709
+ * error: Error message if the endpoint failed
710
+ * error_code: Error code if the endpoint failed
711
+ * expiration_time: Timestamp when the endpoint expires (if set)
712
+ * cloud_compute_job_id: ID of the cloud compute job running this endpoint
713
+ * zone: The GCP zone where the endpoint is running
714
+ */
715
+ export interface Endpoint {
716
+ id: string;
717
+ name: string;
718
+ training_job_id: string;
719
+ zone?: string | null;
720
+ status: EndpointStatus;
721
+ gpu_type?: GPUType1;
722
+ create_time: number;
723
+ update_time?: number | null;
724
+ endpoint_url?: string | null;
725
+ error?: string | null;
726
+ error_code?: number | null;
727
+ expiration_time?: number | null;
728
+ cloud_compute_job_id?: string | null;
729
+ }
697
730
  /**
698
731
  * Description of a single episode with statistics and counts.
699
732
  *
@@ -1346,7 +1379,7 @@ export interface TrainingJob {
1346
1379
  algorithm_config: {
1347
1380
  [k: string]: unknown;
1348
1381
  };
1349
- gpu_type: GPUType1;
1382
+ gpu_type: GPUType2;
1350
1383
  num_gpus: number;
1351
1384
  resumed_at?: number | null;
1352
1385
  previous_training_time?: number | null;
@@ -1538,7 +1571,7 @@ export declare enum DatasetTypeConfig {
1538
1571
  TFDS = "TFDS"
1539
1572
  }
1540
1573
  /**
1541
- * GPU types available for training.
1574
+ * GPU types available for training and deployment.
1542
1575
  */
1543
1576
  export declare enum GPUType {
1544
1577
  NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
@@ -1559,6 +1592,28 @@ export declare enum Type4 {
1559
1592
  export declare enum Type5 {
1560
1593
  EndEffectorPoseDataStats = "EndEffectorPoseDataStats"
1561
1594
  }
1595
+ /**
1596
+ * Model endpoint status.
1597
+ */
1598
+ export declare enum EndpointStatus {
1599
+ creating = "creating",
1600
+ active = "active",
1601
+ failed = "failed",
1602
+ deactivated = "deactivated"
1603
+ }
1604
+ /**
1605
+ * GPU types available for training and deployment.
1606
+ */
1607
+ export declare enum GPUType1 {
1608
+ NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
1609
+ NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
1610
+ NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
1611
+ NVIDIA_TESLA_V100 = "NVIDIA_TESLA_V100",
1612
+ NVIDIA_TESLA_P100 = "NVIDIA_TESLA_P100",
1613
+ NVIDIA_TESLA_T4 = "NVIDIA_TESLA_T4",
1614
+ NVIDIA_TESLA_P4 = "NVIDIA_TESLA_P4",
1615
+ NVIDIA_L4 = "NVIDIA_L4"
1616
+ }
1562
1617
  /**
1563
1618
  * Enumerates the types of signaling messages for WebRTC handshakes.
1564
1619
  *
@@ -1670,9 +1725,9 @@ export declare enum TrainingJobStatus {
1670
1725
  CANCELLED = "CANCELLED"
1671
1726
  }
1672
1727
  /**
1673
- * GPU types available for training.
1728
+ * GPU types available for training and deployment.
1674
1729
  */
1675
- export declare enum GPUType1 {
1730
+ export declare enum GPUType2 {
1676
1731
  NVIDIA_H100_80GB = "NVIDIA_H100_80GB",
1677
1732
  NVIDIA_A100_80GB = "NVIDIA_A100_80GB",
1678
1733
  NVIDIA_TESLA_A100 = "NVIDIA_TESLA_A100",
@@ -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.GPUType1 = exports.TrainingJobStatus = exports.RecordingNotificationType = exports.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = 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.Type5 = exports.Type4 = exports.Type3 = exports.GPUType = exports.DatasetTypeConfig = exports.Type2 = exports.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = 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.RecordingDataTraceStatus = exports.Type16 = exports.Type15 = exports.Type14 = exports.RecordingUploadMethod = 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.JointPositionTypeConfig = exports.VisualJointTypeConfig = exports.LanguageConfig = 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;
10
10
  /**
11
11
  * Enumeration of supported data types in the Neuracore system.
12
12
  *
@@ -162,7 +162,7 @@ var DatasetTypeConfig;
162
162
  DatasetTypeConfig["TFDS"] = "TFDS";
163
163
  })(DatasetTypeConfig || (exports.DatasetTypeConfig = DatasetTypeConfig = {}));
164
164
  /**
165
- * GPU types available for training.
165
+ * GPU types available for training and deployment.
166
166
  */
167
167
  var GPUType;
168
168
  (function (GPUType) {
@@ -187,6 +187,30 @@ var Type5;
187
187
  (function (Type5) {
188
188
  Type5["EndEffectorPoseDataStats"] = "EndEffectorPoseDataStats";
189
189
  })(Type5 || (exports.Type5 = Type5 = {}));
190
+ /**
191
+ * Model endpoint status.
192
+ */
193
+ var EndpointStatus;
194
+ (function (EndpointStatus) {
195
+ EndpointStatus["creating"] = "creating";
196
+ EndpointStatus["active"] = "active";
197
+ EndpointStatus["failed"] = "failed";
198
+ EndpointStatus["deactivated"] = "deactivated";
199
+ })(EndpointStatus || (exports.EndpointStatus = EndpointStatus = {}));
200
+ /**
201
+ * GPU types available for training and deployment.
202
+ */
203
+ var GPUType1;
204
+ (function (GPUType1) {
205
+ GPUType1["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
206
+ GPUType1["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
207
+ GPUType1["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
208
+ GPUType1["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
209
+ GPUType1["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
210
+ GPUType1["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
211
+ GPUType1["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
212
+ GPUType1["NVIDIA_L4"] = "NVIDIA_L4";
213
+ })(GPUType1 || (exports.GPUType1 = GPUType1 = {}));
190
214
  /**
191
215
  * Enumerates the types of signaling messages for WebRTC handshakes.
192
216
  *
@@ -317,16 +341,16 @@ var TrainingJobStatus;
317
341
  TrainingJobStatus["CANCELLED"] = "CANCELLED";
318
342
  })(TrainingJobStatus || (exports.TrainingJobStatus = TrainingJobStatus = {}));
319
343
  /**
320
- * GPU types available for training.
344
+ * GPU types available for training and deployment.
321
345
  */
322
- var GPUType1;
323
- (function (GPUType1) {
324
- GPUType1["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
325
- GPUType1["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
326
- GPUType1["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
327
- GPUType1["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
328
- GPUType1["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
329
- GPUType1["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
330
- GPUType1["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
331
- GPUType1["NVIDIA_L4"] = "NVIDIA_L4";
332
- })(GPUType1 || (exports.GPUType1 = GPUType1 = {}));
346
+ var GPUType2;
347
+ (function (GPUType2) {
348
+ GPUType2["NVIDIA_H100_80GB"] = "NVIDIA_H100_80GB";
349
+ GPUType2["NVIDIA_A100_80GB"] = "NVIDIA_A100_80GB";
350
+ GPUType2["NVIDIA_TESLA_A100"] = "NVIDIA_TESLA_A100";
351
+ GPUType2["NVIDIA_TESLA_V100"] = "NVIDIA_TESLA_V100";
352
+ GPUType2["NVIDIA_TESLA_P100"] = "NVIDIA_TESLA_P100";
353
+ GPUType2["NVIDIA_TESLA_T4"] = "NVIDIA_TESLA_T4";
354
+ GPUType2["NVIDIA_TESLA_P4"] = "NVIDIA_TESLA_P4";
355
+ GPUType2["NVIDIA_L4"] = "NVIDIA_L4";
356
+ })(GPUType2 || (exports.GPUType2 = GPUType2 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neuracore/types",
3
- "version": "6.8.0",
3
+ "version": "6.9.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",