@viamrobotics/sdk 0.75.1 → 0.76.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.
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.579";
1
+ export declare const apiVersion = "v0.1.580";
@@ -122,4 +122,4 @@ export declare class MlTrainingClient {
122
122
  */
123
123
  deleteCompletedTrainingJob(id: string): Promise<null>;
124
124
  }
125
- export { ModelType, TrainingStatus } from '../gen/app/mltraining/v1/ml_training_pb';
125
+ export { ModelType, TrainingStatus, Visibility } from '../gen/app/mltraining/v1/ml_training_pb';
@@ -102,6 +102,26 @@ export declare enum TrainingStatus {
102
102
  CANCELING = 6,
103
103
  }
104
104
 
105
+ /**
106
+ * @generated from enum viam.app.mltraining.v1.Visibility
107
+ */
108
+ export declare enum Visibility {
109
+ /**
110
+ * @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
111
+ */
112
+ UNSPECIFIED = 0,
113
+
114
+ /**
115
+ * @generated from enum value: VISIBILITY_PRIVATE = 1;
116
+ */
117
+ PRIVATE = 1,
118
+
119
+ /**
120
+ * @generated from enum value: VISIBILITY_PUBLIC = 2;
121
+ */
122
+ PUBLIC = 2,
123
+ }
124
+
105
125
  /**
106
126
  * @generated from message viam.app.mltraining.v1.SubmitTrainingJobRequest
107
127
  */
@@ -665,6 +685,16 @@ export declare class GetTrainingJobLogsResponse extends Message<GetTrainingJobLo
665
685
  * @generated from message viam.app.mltraining.v1.ListSupportedContainersRequest
666
686
  */
667
687
  export declare class ListSupportedContainersRequest extends Message<ListSupportedContainersRequest> {
688
+ /**
689
+ * Optional. Scopes the response to the containers available to this
690
+ * organization: the Viam-managed catalog plus the org's registered
691
+ * custom training containers. If unset, only the Viam-managed catalog
692
+ * is returned.
693
+ *
694
+ * @generated from field: string organization_id = 1;
695
+ */
696
+ organizationId: string;
697
+
668
698
  constructor(data?: PartialMessage<ListSupportedContainersRequest>);
669
699
 
670
700
  static readonly runtime: typeof proto3;
@@ -690,8 +720,12 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
690
720
  * "tf:2.15": Container {
691
721
  * key: "tf:2.15"
692
722
  * uri: "us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-15.py310:latest"
723
+ * framework: Tensorflow
693
724
  * description: "Tensorflow 2.15"
694
725
  * eol: { seconds: 1772630400, nanos: 0 } // 2026-03-03T00:00:00Z
726
+ * created_on: 2026-01-15T01:30:15.01Z
727
+ * organization_id: "xyz"
728
+ * visibility: VISIBILITY_PUBLIC
695
729
  * }
696
730
  * }
697
731
  *
@@ -719,6 +753,8 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
719
753
  */
720
754
  export declare class Container extends Message<Container> {
721
755
  /**
756
+ * custom container keys are derived from the Docker URI (image:tag)
757
+ *
722
758
  * @generated from field: string key = 1;
723
759
  */
724
760
  key: string;
@@ -729,20 +765,50 @@ export declare class Container extends Message<Container> {
729
765
  uri: string;
730
766
 
731
767
  /**
768
+ * unset for custom containers
769
+ *
732
770
  * @generated from field: string framework = 3;
733
771
  */
734
772
  framework: string;
735
773
 
736
774
  /**
775
+ * will serve as display name
776
+ *
737
777
  * @generated from field: string description = 4;
738
778
  */
739
779
  description: string;
740
780
 
741
781
  /**
782
+ * unset for custom containers
783
+ *
742
784
  * @generated from field: google.protobuf.Timestamp eol = 5;
743
785
  */
744
786
  eol?: Timestamp;
745
787
 
788
+ /**
789
+ * @generated from field: string organization_id = 6;
790
+ */
791
+ organizationId: string;
792
+
793
+ /**
794
+ * @generated from field: google.protobuf.Timestamp created_on = 7;
795
+ */
796
+ createdOn?: Timestamp;
797
+
798
+ /**
799
+ * unique id of the container
800
+ *
801
+ * @generated from field: string id = 8;
802
+ */
803
+ id: string;
804
+
805
+ /**
806
+ * public or private
807
+ *
808
+ * @generated from field: viam.app.mltraining.v1.Visibility visibility = 9;
809
+ */
810
+ visibility: Visibility;
811
+
746
812
  constructor(data?: PartialMessage<Container>);
747
813
 
748
814
  static readonly runtime: typeof proto3;
package/dist/main.d.ts CHANGED
@@ -32,7 +32,7 @@ export { type AppClient } from './app/app-client';
32
32
  */
33
33
  export * as appApi from './gen/app/v1/app_pb';
34
34
  export * as appRobotApi from './gen/app/v1/robot_pb';
35
- export { ModelType, TrainingStatus, type MlTrainingClient } from './app/ml-training-client';
35
+ export { ModelType, TrainingStatus, Visibility, type MlTrainingClient, } from './app/ml-training-client';
36
36
  /**
37
37
  * Raw Protobuf interfaces for ML Training.
38
38
  *