@viamrobotics/sdk 0.75.1 → 0.77.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.
Files changed (32) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +24 -1
  3. package/dist/app/ml-training-client.d.ts +1 -1
  4. package/dist/debug.d.ts +4 -0
  5. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
  6. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +290 -0
  7. package/dist/gen/app/v1/app_connect.d.ts +45 -1
  8. package/dist/gen/app/v1/app_pb.d.ts +326 -1
  9. package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
  10. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
  11. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
  12. package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
  13. package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
  14. package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
  15. package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
  16. package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
  17. package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
  18. package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
  19. package/dist/gen/robot/v1/robot_pb.d.ts +1 -1
  20. package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
  21. package/dist/gen/service/motion/v1/motion_pb.d.ts +190 -0
  22. package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
  23. package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
  24. package/dist/main.d.ts +2 -2
  25. package/dist/main.es.js +3566 -3074
  26. package/dist/main.umd.js +8 -8
  27. package/dist/robot/client.d.ts +12 -0
  28. package/dist/services/vision/client.d.ts +4 -1
  29. package/dist/services/vision/types.d.ts +7 -1
  30. package/dist/services/vision/vision.d.ts +22 -1
  31. package/dist/services/vision.d.ts +1 -1
  32. package/package.json +5 -2
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.579";
1
+ export declare const apiVersion = "v0.1.596";
@@ -624,9 +624,13 @@ export declare class AppClient {
624
624
  * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotparthistory).
625
625
  *
626
626
  * @param id The ID of the requested robot part
627
+ * @param start Optional start time. Only history entries created after this time will be
628
+ * returned.
629
+ * @param end Optional end time. Only history entries created before this time will be returned.
630
+ * @param pageLimit Optional maximum number of history entries to return, newest first.
627
631
  * @returns The list of the robot part's history
628
632
  */
629
- getRobotPartHistory(id: string): Promise<RobotPartHistoryEntry[]>;
633
+ getRobotPartHistory(id: string, start?: Date, end?: Date, pageLimit?: number): Promise<RobotPartHistoryEntry[]>;
630
634
  /**
631
635
  * Updates a robot part based on its ID.
632
636
  *
@@ -771,6 +775,25 @@ export declare class AppClient {
771
775
  * @returns The list of robot objects
772
776
  */
773
777
  listRobots(locId: string): Promise<Robot[]>;
778
+ /**
779
+ * Lists all robots across multiple locations in a single request.
780
+ *
781
+ * @example
782
+ *
783
+ * ```ts
784
+ * const robots = await appClient.listRobotsForLocations([
785
+ * '<YOUR-LOCATION-ID-1>',
786
+ * '<YOUR-LOCATION-ID-2>',
787
+ * ]);
788
+ * ```
789
+ *
790
+ * For more information, see [App
791
+ * API](https://docs.viam.com/dev/reference/apis/fleet/#listrobotsforlocations).
792
+ *
793
+ * @param locationIds The IDs of the locations to list robots for
794
+ * @returns The list of robot objects across all the given locations
795
+ */
796
+ listRobotsForLocations(locationIds: string[]): Promise<Robot[]>;
774
797
  /**
775
798
  * Creates a new robot.
776
799
  *
@@ -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';
package/dist/debug.d.ts CHANGED
@@ -71,4 +71,8 @@ export declare const isDebugLogEnabled: () => boolean;
71
71
  * @internal
72
72
  */
73
73
  export declare const writeDebugLog: (event: string, fields?: Record<string, unknown>) => void;
74
+ /**
75
+ * Returns a {@link DebugLogWriter} that prints each entry to the console as a JSON string, prefixed
76
+ * with `[viam-sdk]`.
77
+ */
74
78
  export declare const createConsoleLogWriter: () => DebugLogWriter;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { CancelTrainingJobRequest, CancelTrainingJobResponse, DeleteCompletedTrainingJobRequest, DeleteCompletedTrainingJobResponse, GetTrainingJobLogsRequest, GetTrainingJobLogsResponse, GetTrainingJobRequest, GetTrainingJobResponse, ListSupportedContainersRequest, ListSupportedContainersResponse, ListTrainingJobsRequest, ListTrainingJobsResponse, SubmitCustomTrainingJobRequest, SubmitCustomTrainingJobResponse, SubmitTrainingJobRequest, SubmitTrainingJobResponse } from "./ml_training_pb.js";
6
+ import { CancelTrainingJobRequest, CancelTrainingJobResponse, DeleteCompletedTrainingJobRequest, DeleteCompletedTrainingJobResponse, DeleteCustomTrainingContainerRequest, DeleteCustomTrainingContainerResponse, GetContainerRequest, GetContainerResponse, GetTrainingJobLogsRequest, GetTrainingJobLogsResponse, GetTrainingJobRequest, GetTrainingJobResponse, ListContainersRequest, ListContainersResponse, ListSupportedContainersRequest, ListSupportedContainersResponse, ListTrainingJobsRequest, ListTrainingJobsResponse, RegisterCustomTrainingContainerRequest, RegisterCustomTrainingContainerResponse, SubmitCustomTrainingJobRequest, SubmitCustomTrainingJobResponse, SubmitTrainingJobRequest, SubmitTrainingJobResponse } from "./ml_training_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -90,7 +90,7 @@ export declare const MLTrainingService: {
90
90
  readonly kind: MethodKind.Unary,
91
91
  },
92
92
  /**
93
- * ListSupportedContainers gets all the containers one can use for a custom training job.
93
+ * ListSupportedContainers gets all the Viam-supported containers available for a custom training job.
94
94
  *
95
95
  * @generated from rpc viam.app.mltraining.v1.MLTrainingService.ListSupportedContainers
96
96
  */
@@ -100,6 +100,50 @@ export declare const MLTrainingService: {
100
100
  readonly O: typeof ListSupportedContainersResponse,
101
101
  readonly kind: MethodKind.Unary,
102
102
  },
103
+ /**
104
+ * ListContainers lists the containers available for a custom training job for a given organization.
105
+ *
106
+ * @generated from rpc viam.app.mltraining.v1.MLTrainingService.ListContainers
107
+ */
108
+ readonly listContainers: {
109
+ readonly name: "ListContainers",
110
+ readonly I: typeof ListContainersRequest,
111
+ readonly O: typeof ListContainersResponse,
112
+ readonly kind: MethodKind.Unary,
113
+ },
114
+ /**
115
+ * GetContainer retrieves a container by its ID.
116
+ *
117
+ * @generated from rpc viam.app.mltraining.v1.MLTrainingService.GetContainer
118
+ */
119
+ readonly getContainer: {
120
+ readonly name: "GetContainer",
121
+ readonly I: typeof GetContainerRequest,
122
+ readonly O: typeof GetContainerResponse,
123
+ readonly kind: MethodKind.Unary,
124
+ },
125
+ /**
126
+ * RegisterCustomTrainingContainer registers a custom container in the database for custom training jobs
127
+ *
128
+ * @generated from rpc viam.app.mltraining.v1.MLTrainingService.RegisterCustomTrainingContainer
129
+ */
130
+ readonly registerCustomTrainingContainer: {
131
+ readonly name: "RegisterCustomTrainingContainer",
132
+ readonly I: typeof RegisterCustomTrainingContainerRequest,
133
+ readonly O: typeof RegisterCustomTrainingContainerResponse,
134
+ readonly kind: MethodKind.Unary,
135
+ },
136
+ /**
137
+ * DeleteCustomTrainingContainer deletes a custom container from the database
138
+ *
139
+ * @generated from rpc viam.app.mltraining.v1.MLTrainingService.DeleteCustomTrainingContainer
140
+ */
141
+ readonly deleteCustomTrainingContainer: {
142
+ readonly name: "DeleteCustomTrainingContainer",
143
+ readonly I: typeof DeleteCustomTrainingContainerRequest,
144
+ readonly O: typeof DeleteCustomTrainingContainerResponse,
145
+ readonly kind: MethodKind.Unary,
146
+ },
103
147
  }
104
148
  };
105
149
 
@@ -60,6 +60,15 @@ export declare enum ModelFramework {
60
60
  * @generated from enum value: MODEL_FRAMEWORK_ONNX = 4;
61
61
  */
62
62
  ONNX = 4,
63
+
64
+ /**
65
+ * Modular components or services in the registry, identified by
66
+ * deployment_modular_resources.
67
+ * This is a deploy target, not a managed-training backend.
68
+ *
69
+ * @generated from enum value: MODEL_FRAMEWORK_REGISTRY = 5;
70
+ */
71
+ REGISTRY = 5,
63
72
  }
64
73
 
65
74
  /**
@@ -102,6 +111,26 @@ export declare enum TrainingStatus {
102
111
  CANCELING = 6,
103
112
  }
104
113
 
114
+ /**
115
+ * @generated from enum viam.app.mltraining.v1.Visibility
116
+ */
117
+ export declare enum Visibility {
118
+ /**
119
+ * @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
120
+ */
121
+ UNSPECIFIED = 0,
122
+
123
+ /**
124
+ * @generated from enum value: VISIBILITY_PRIVATE = 1;
125
+ */
126
+ PRIVATE = 1,
127
+
128
+ /**
129
+ * @generated from enum value: VISIBILITY_PUBLIC = 2;
130
+ */
131
+ PUBLIC = 2,
132
+ }
133
+
105
134
  /**
106
135
  * @generated from message viam.app.mltraining.v1.SubmitTrainingJobRequest
107
136
  */
@@ -224,6 +253,11 @@ export declare class SubmitCustomTrainingJobRequest extends Message<SubmitCustom
224
253
  */
225
254
  containerVersion: string;
226
255
 
256
+ /**
257
+ * @generated from field: string container_id = 9;
258
+ */
259
+ containerId: string;
260
+
227
261
  constructor(data?: PartialMessage<SubmitCustomTrainingJobRequest>);
228
262
 
229
263
  static readonly runtime: typeof proto3;
@@ -468,6 +502,21 @@ export declare class TrainingJobMetadata extends Message<TrainingJobMetadata> {
468
502
  */
469
503
  containerVersion: string;
470
504
 
505
+ /**
506
+ * @generated from field: string container_id = 23;
507
+ */
508
+ containerId: string;
509
+
510
+ /**
511
+ * Colon-delimited triplets of components or services from the registry used when
512
+ * model_framework is MODEL_FRAMEWORK_REGISTRY. This ties the ML model file to the
513
+ * associated component or service that consumes the files and should be deployed
514
+ * along with the model.
515
+ *
516
+ * @generated from field: repeated string deployment_modular_resources = 24;
517
+ */
518
+ deploymentModularResources: string[];
519
+
471
520
  constructor(data?: PartialMessage<TrainingJobMetadata>);
472
521
 
473
522
  static readonly runtime: typeof proto3;
@@ -690,8 +739,12 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
690
739
  * "tf:2.15": Container {
691
740
  * key: "tf:2.15"
692
741
  * uri: "us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-15.py310:latest"
742
+ * framework: Tensorflow
693
743
  * description: "Tensorflow 2.15"
694
744
  * eol: { seconds: 1772630400, nanos: 0 } // 2026-03-03T00:00:00Z
745
+ * created_on: 2026-01-15T01:30:15.01Z
746
+ * organization_id: "xyz"
747
+ * visibility: VISIBILITY_PUBLIC
695
748
  * }
696
749
  * }
697
750
  *
@@ -714,11 +767,218 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
714
767
  static equals(a: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined, b: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined): boolean;
715
768
  }
716
769
 
770
+ /**
771
+ * @generated from message viam.app.mltraining.v1.ListContainersRequest
772
+ */
773
+ export declare class ListContainersRequest extends Message<ListContainersRequest> {
774
+ /**
775
+ * The associated Viam organization ID.
776
+ *
777
+ * @generated from field: string organization_id = 1;
778
+ */
779
+ organizationId: string;
780
+
781
+ constructor(data?: PartialMessage<ListContainersRequest>);
782
+
783
+ static readonly runtime: typeof proto3;
784
+ static readonly typeName = "viam.app.mltraining.v1.ListContainersRequest";
785
+ static readonly fields: FieldList;
786
+
787
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListContainersRequest;
788
+
789
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListContainersRequest;
790
+
791
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListContainersRequest;
792
+
793
+ static equals(a: ListContainersRequest | PlainMessage<ListContainersRequest> | undefined, b: ListContainersRequest | PlainMessage<ListContainersRequest> | undefined): boolean;
794
+ }
795
+
796
+ /**
797
+ * @generated from message viam.app.mltraining.v1.ListContainersResponse
798
+ */
799
+ export declare class ListContainersResponse extends Message<ListContainersResponse> {
800
+ /**
801
+ * @generated from field: repeated viam.app.mltraining.v1.Container containers = 1;
802
+ */
803
+ containers: Container[];
804
+
805
+ constructor(data?: PartialMessage<ListContainersResponse>);
806
+
807
+ static readonly runtime: typeof proto3;
808
+ static readonly typeName = "viam.app.mltraining.v1.ListContainersResponse";
809
+ static readonly fields: FieldList;
810
+
811
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListContainersResponse;
812
+
813
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListContainersResponse;
814
+
815
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListContainersResponse;
816
+
817
+ static equals(a: ListContainersResponse | PlainMessage<ListContainersResponse> | undefined, b: ListContainersResponse | PlainMessage<ListContainersResponse> | undefined): boolean;
818
+ }
819
+
820
+ /**
821
+ * @generated from message viam.app.mltraining.v1.GetContainerRequest
822
+ */
823
+ export declare class GetContainerRequest extends Message<GetContainerRequest> {
824
+ /**
825
+ * The ID of the container to retrieve.
826
+ *
827
+ * @generated from field: string id = 1;
828
+ */
829
+ id: string;
830
+
831
+ constructor(data?: PartialMessage<GetContainerRequest>);
832
+
833
+ static readonly runtime: typeof proto3;
834
+ static readonly typeName = "viam.app.mltraining.v1.GetContainerRequest";
835
+ static readonly fields: FieldList;
836
+
837
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetContainerRequest;
838
+
839
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetContainerRequest;
840
+
841
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetContainerRequest;
842
+
843
+ static equals(a: GetContainerRequest | PlainMessage<GetContainerRequest> | undefined, b: GetContainerRequest | PlainMessage<GetContainerRequest> | undefined): boolean;
844
+ }
845
+
846
+ /**
847
+ * @generated from message viam.app.mltraining.v1.GetContainerResponse
848
+ */
849
+ export declare class GetContainerResponse extends Message<GetContainerResponse> {
850
+ /**
851
+ * @generated from field: viam.app.mltraining.v1.Container container = 1;
852
+ */
853
+ container?: Container;
854
+
855
+ constructor(data?: PartialMessage<GetContainerResponse>);
856
+
857
+ static readonly runtime: typeof proto3;
858
+ static readonly typeName = "viam.app.mltraining.v1.GetContainerResponse";
859
+ static readonly fields: FieldList;
860
+
861
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetContainerResponse;
862
+
863
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetContainerResponse;
864
+
865
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetContainerResponse;
866
+
867
+ static equals(a: GetContainerResponse | PlainMessage<GetContainerResponse> | undefined, b: GetContainerResponse | PlainMessage<GetContainerResponse> | undefined): boolean;
868
+ }
869
+
870
+ /**
871
+ * @generated from message viam.app.mltraining.v1.RegisterCustomTrainingContainerRequest
872
+ */
873
+ export declare class RegisterCustomTrainingContainerRequest extends Message<RegisterCustomTrainingContainerRequest> {
874
+ /**
875
+ * @generated from field: string organization_id = 1;
876
+ */
877
+ organizationId: string;
878
+
879
+ /**
880
+ * Docker Hub reference, official images normalize to docker.io/library/<image>:<tag>.
881
+ *
882
+ * @generated from field: string image_uri = 2;
883
+ */
884
+ imageUri: string;
885
+
886
+ /**
887
+ * will serve as display name
888
+ *
889
+ * @generated from field: string description = 3;
890
+ */
891
+ description: string;
892
+
893
+ constructor(data?: PartialMessage<RegisterCustomTrainingContainerRequest>);
894
+
895
+ static readonly runtime: typeof proto3;
896
+ static readonly typeName = "viam.app.mltraining.v1.RegisterCustomTrainingContainerRequest";
897
+ static readonly fields: FieldList;
898
+
899
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterCustomTrainingContainerRequest;
900
+
901
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterCustomTrainingContainerRequest;
902
+
903
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterCustomTrainingContainerRequest;
904
+
905
+ static equals(a: RegisterCustomTrainingContainerRequest | PlainMessage<RegisterCustomTrainingContainerRequest> | undefined, b: RegisterCustomTrainingContainerRequest | PlainMessage<RegisterCustomTrainingContainerRequest> | undefined): boolean;
906
+ }
907
+
908
+ /**
909
+ * @generated from message viam.app.mltraining.v1.RegisterCustomTrainingContainerResponse
910
+ */
911
+ export declare class RegisterCustomTrainingContainerResponse extends Message<RegisterCustomTrainingContainerResponse> {
912
+ /**
913
+ * @generated from field: string id = 1;
914
+ */
915
+ id: string;
916
+
917
+ constructor(data?: PartialMessage<RegisterCustomTrainingContainerResponse>);
918
+
919
+ static readonly runtime: typeof proto3;
920
+ static readonly typeName = "viam.app.mltraining.v1.RegisterCustomTrainingContainerResponse";
921
+ static readonly fields: FieldList;
922
+
923
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterCustomTrainingContainerResponse;
924
+
925
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterCustomTrainingContainerResponse;
926
+
927
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterCustomTrainingContainerResponse;
928
+
929
+ static equals(a: RegisterCustomTrainingContainerResponse | PlainMessage<RegisterCustomTrainingContainerResponse> | undefined, b: RegisterCustomTrainingContainerResponse | PlainMessage<RegisterCustomTrainingContainerResponse> | undefined): boolean;
930
+ }
931
+
932
+ /**
933
+ * @generated from message viam.app.mltraining.v1.DeleteCustomTrainingContainerRequest
934
+ */
935
+ export declare class DeleteCustomTrainingContainerRequest extends Message<DeleteCustomTrainingContainerRequest> {
936
+ /**
937
+ * @generated from field: string id = 1;
938
+ */
939
+ id: string;
940
+
941
+ constructor(data?: PartialMessage<DeleteCustomTrainingContainerRequest>);
942
+
943
+ static readonly runtime: typeof proto3;
944
+ static readonly typeName = "viam.app.mltraining.v1.DeleteCustomTrainingContainerRequest";
945
+ static readonly fields: FieldList;
946
+
947
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCustomTrainingContainerRequest;
948
+
949
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCustomTrainingContainerRequest;
950
+
951
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCustomTrainingContainerRequest;
952
+
953
+ static equals(a: DeleteCustomTrainingContainerRequest | PlainMessage<DeleteCustomTrainingContainerRequest> | undefined, b: DeleteCustomTrainingContainerRequest | PlainMessage<DeleteCustomTrainingContainerRequest> | undefined): boolean;
954
+ }
955
+
956
+ /**
957
+ * @generated from message viam.app.mltraining.v1.DeleteCustomTrainingContainerResponse
958
+ */
959
+ export declare class DeleteCustomTrainingContainerResponse extends Message<DeleteCustomTrainingContainerResponse> {
960
+ constructor(data?: PartialMessage<DeleteCustomTrainingContainerResponse>);
961
+
962
+ static readonly runtime: typeof proto3;
963
+ static readonly typeName = "viam.app.mltraining.v1.DeleteCustomTrainingContainerResponse";
964
+ static readonly fields: FieldList;
965
+
966
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteCustomTrainingContainerResponse;
967
+
968
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteCustomTrainingContainerResponse;
969
+
970
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteCustomTrainingContainerResponse;
971
+
972
+ static equals(a: DeleteCustomTrainingContainerResponse | PlainMessage<DeleteCustomTrainingContainerResponse> | undefined, b: DeleteCustomTrainingContainerResponse | PlainMessage<DeleteCustomTrainingContainerResponse> | undefined): boolean;
973
+ }
974
+
717
975
  /**
718
976
  * @generated from message viam.app.mltraining.v1.Container
719
977
  */
720
978
  export declare class Container extends Message<Container> {
721
979
  /**
980
+ * custom container keys are derived from the Docker URI (image:tag)
981
+ *
722
982
  * @generated from field: string key = 1;
723
983
  */
724
984
  key: string;
@@ -729,20 +989,50 @@ export declare class Container extends Message<Container> {
729
989
  uri: string;
730
990
 
731
991
  /**
992
+ * unset for custom containers
993
+ *
732
994
  * @generated from field: string framework = 3;
733
995
  */
734
996
  framework: string;
735
997
 
736
998
  /**
999
+ * will serve as display name
1000
+ *
737
1001
  * @generated from field: string description = 4;
738
1002
  */
739
1003
  description: string;
740
1004
 
741
1005
  /**
1006
+ * unset for custom containers
1007
+ *
742
1008
  * @generated from field: google.protobuf.Timestamp eol = 5;
743
1009
  */
744
1010
  eol?: Timestamp;
745
1011
 
1012
+ /**
1013
+ * @generated from field: string organization_id = 6;
1014
+ */
1015
+ organizationId: string;
1016
+
1017
+ /**
1018
+ * @generated from field: google.protobuf.Timestamp created_on = 7;
1019
+ */
1020
+ createdOn?: Timestamp;
1021
+
1022
+ /**
1023
+ * unique id of the container
1024
+ *
1025
+ * @generated from field: string id = 8;
1026
+ */
1027
+ id: string;
1028
+
1029
+ /**
1030
+ * public or private
1031
+ *
1032
+ * @generated from field: viam.app.mltraining.v1.Visibility visibility = 9;
1033
+ */
1034
+ visibility: Visibility;
1035
+
746
1036
  constructor(data?: PartialMessage<Container>);
747
1037
 
748
1038
  static readonly runtime: typeof proto3;
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOAuthAppUserRequest, CreateOAuthAppUserResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DeprecateRegistryItemRequest, DeprecateRegistryItemResponse, DeprecateRegistryItemVersionRequest, DeprecateRegistryItemVersionResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFirebaseConfigRequest, SetFirebaseConfigResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UndeprecateRegistryItemRequest, UndeprecateRegistryItemResponse, UndeprecateRegistryItemVersionRequest, UndeprecateRegistryItemVersionResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
6
+ import { AddFavoriteMachineRequest, AddFavoriteMachineResponse, AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOAuthAppUserRequest, CreateOAuthAppUserResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DeprecateRegistryItemRequest, DeprecateRegistryItemResponse, DeprecateRegistryItemVersionRequest, DeprecateRegistryItemVersionResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFavoriteMachinesRequest, ListFavoriteMachinesResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveFavoriteMachineRequest, RemoveFavoriteMachineResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetConfigPropertyRequest, SetConfigPropertyResponse, SetFirebaseConfigRequest, SetFirebaseConfigResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UndeprecateRegistryItemRequest, UndeprecateRegistryItemResponse, UndeprecateRegistryItemVersionRequest, UndeprecateRegistryItemVersionResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -615,6 +615,17 @@ export declare const AppService: {
615
615
  readonly O: typeof UpdateRobotPartResponse,
616
616
  readonly kind: MethodKind.Unary,
617
617
  },
618
+ /**
619
+ * Set config properties on a robot part
620
+ *
621
+ * @generated from rpc viam.app.v1.AppService.SetConfigProperty
622
+ */
623
+ readonly setConfigProperty: {
624
+ readonly name: "SetConfigProperty",
625
+ readonly I: typeof SetConfigPropertyRequest,
626
+ readonly O: typeof SetConfigPropertyResponse,
627
+ readonly kind: MethodKind.Unary,
628
+ },
618
629
  /**
619
630
  * Create a new robot part
620
631
  *
@@ -785,6 +796,39 @@ export declare const AppService: {
785
796
  readonly O: typeof DeleteRobotResponse,
786
797
  readonly kind: MethodKind.Unary,
787
798
  },
799
+ /**
800
+ * AddFavoriteMachine adds a favorite machine for the user
801
+ *
802
+ * @generated from rpc viam.app.v1.AppService.AddFavoriteMachine
803
+ */
804
+ readonly addFavoriteMachine: {
805
+ readonly name: "AddFavoriteMachine",
806
+ readonly I: typeof AddFavoriteMachineRequest,
807
+ readonly O: typeof AddFavoriteMachineResponse,
808
+ readonly kind: MethodKind.Unary,
809
+ },
810
+ /**
811
+ * RemoveFavoriteMachine removes a favorite machine for the user
812
+ *
813
+ * @generated from rpc viam.app.v1.AppService.RemoveFavoriteMachine
814
+ */
815
+ readonly removeFavoriteMachine: {
816
+ readonly name: "RemoveFavoriteMachine",
817
+ readonly I: typeof RemoveFavoriteMachineRequest,
818
+ readonly O: typeof RemoveFavoriteMachineResponse,
819
+ readonly kind: MethodKind.Unary,
820
+ },
821
+ /**
822
+ * ListFavoriteMachines lists all favorited machines for the user
823
+ *
824
+ * @generated from rpc viam.app.v1.AppService.ListFavoriteMachines
825
+ */
826
+ readonly listFavoriteMachines: {
827
+ readonly name: "ListFavoriteMachines",
828
+ readonly I: typeof ListFavoriteMachinesRequest,
829
+ readonly O: typeof ListFavoriteMachinesResponse,
830
+ readonly kind: MethodKind.Unary,
831
+ },
788
832
  /**
789
833
  * Gets a list of fragments
790
834
  *