@viamrobotics/sdk 0.76.0 → 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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +24 -1
- package/dist/debug.d.ts +4 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
- package/dist/gen/app/v1/app_connect.d.ts +45 -1
- package/dist/gen/app/v1/app_pb.d.ts +326 -1
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
- package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
- package/dist/gen/robot/v1/robot_pb.d.ts +1 -1
- package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
- package/dist/gen/service/motion/v1/motion_pb.d.ts +190 -0
- package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
- package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +4593 -4147
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +12 -0
- package/dist/services/vision/client.d.ts +4 -1
- package/dist/services/vision/types.d.ts +7 -1
- package/dist/services/vision/vision.d.ts +22 -1
- package/dist/services/vision.d.ts +1 -1
- package/package.json +5 -2
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.596";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -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
|
*
|
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
|
|
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
|
/**
|
|
@@ -244,6 +253,11 @@ export declare class SubmitCustomTrainingJobRequest extends Message<SubmitCustom
|
|
|
244
253
|
*/
|
|
245
254
|
containerVersion: string;
|
|
246
255
|
|
|
256
|
+
/**
|
|
257
|
+
* @generated from field: string container_id = 9;
|
|
258
|
+
*/
|
|
259
|
+
containerId: string;
|
|
260
|
+
|
|
247
261
|
constructor(data?: PartialMessage<SubmitCustomTrainingJobRequest>);
|
|
248
262
|
|
|
249
263
|
static readonly runtime: typeof proto3;
|
|
@@ -488,6 +502,21 @@ export declare class TrainingJobMetadata extends Message<TrainingJobMetadata> {
|
|
|
488
502
|
*/
|
|
489
503
|
containerVersion: string;
|
|
490
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
|
+
|
|
491
520
|
constructor(data?: PartialMessage<TrainingJobMetadata>);
|
|
492
521
|
|
|
493
522
|
static readonly runtime: typeof proto3;
|
|
@@ -685,16 +714,6 @@ export declare class GetTrainingJobLogsResponse extends Message<GetTrainingJobLo
|
|
|
685
714
|
* @generated from message viam.app.mltraining.v1.ListSupportedContainersRequest
|
|
686
715
|
*/
|
|
687
716
|
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
|
-
|
|
698
717
|
constructor(data?: PartialMessage<ListSupportedContainersRequest>);
|
|
699
718
|
|
|
700
719
|
static readonly runtime: typeof proto3;
|
|
@@ -748,6 +767,211 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
|
|
|
748
767
|
static equals(a: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined, b: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined): boolean;
|
|
749
768
|
}
|
|
750
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
|
+
|
|
751
975
|
/**
|
|
752
976
|
* @generated from message viam.app.mltraining.v1.Container
|
|
753
977
|
*/
|
|
@@ -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
|
*
|