@viamrobotics/sdk 0.56.0 → 0.58.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/README.md +0 -5
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +21 -1
- package/dist/audio-common.d.ts +1 -1
- package/dist/events.d.ts +2 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +12 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +67 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +12 -1
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +107 -0
- package/dist/gen/app/v1/app_pb.d.ts +65 -0
- package/dist/gen/app/v1/billing_pb.d.ts +10 -0
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/common/v1/common_pb.d.ts +1 -1
- package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +10 -1
- package/dist/gen/google/api/routing_pb.d.ts +508 -0
- package/dist/gen/google/iam/v1/iam_policy_connect.d.ts +102 -0
- package/dist/gen/google/iam/v1/iam_policy_pb.d.ts +179 -0
- package/dist/gen/google/iam/v1/options_pb.d.ts +67 -0
- package/dist/gen/google/iam/v1/policy_pb.d.ts +668 -0
- package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/logs/v1/logs_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/metrics/v1/metrics_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +43 -0
- package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +142 -0
- package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_connect.d.ts +44 -0
- package/dist/gen/opentelemetry/proto/collector/trace/v1/trace_service_pb.d.ts +135 -0
- package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +322 -0
- package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +479 -0
- package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +1349 -0
- package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +890 -0
- package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +73 -0
- package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +683 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +10 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +83 -0
- package/dist/main.es.js +13572 -12946
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +33 -16
- package/dist/robot/robot.d.ts +19 -10
- package/dist/robot.d.ts +1 -1
- package/dist/services/motion/client.d.ts +1 -0
- package/dist/services/motion/motion.d.ts +1 -0
- package/package.json +11 -7
- package/dist/__fixtures__/credentials.d.ts +0 -5
- package/dist/__fixtures__/test-constants.d.ts +0 -4
- package/dist/__mocks__/transports.d.ts +0 -2
- package/dist/__mocks__/webrtc.d.ts +0 -2
- package/dist/app/app-client.spec.d.ts +0 -1
- package/dist/app/billing-client.spec.d.ts +0 -1
- package/dist/app/data-client.spec.d.ts +0 -1
- package/dist/app/ml-training-client.spec.d.ts +0 -1
- package/dist/app/provisioning-client.spec.d.ts +0 -1
- package/dist/app/viam-client.spec.d.ts +0 -1
- package/dist/components/audio-in/client.spec.d.ts +0 -1
- package/dist/components/audio-out/client.spec.d.ts +0 -1
- package/dist/components/board/client.spec.d.ts +0 -1
- package/dist/components/input-controller/client.spec.d.ts +0 -1
- package/dist/components/movement-sensor/client.spec.d.ts +0 -1
- package/dist/components/power-sensor/client.spec.d.ts +0 -1
- package/dist/extra/stream/client.spec.d.ts +0 -1
- package/dist/robot/__fixtures__/dial-configs.d.ts +0 -4
- package/dist/robot/__mocks__/robot-service.d.ts +0 -5
- package/dist/robot/__tests__/client.spec.d.ts +0 -1
- package/dist/robot/__tests__/grpc-connection-manager.spec.d.ts +0 -1
- package/dist/robot/__tests__/session-manager.spec.d.ts +0 -1
- package/dist/rpc/__fixtures__/dial-options.d.ts +0 -6
- package/dist/rpc/__fixtures__/dial-webrtc-options.d.ts +0 -8
- package/dist/rpc/__mocks__/signaling-exchanges.d.ts +0 -3
- package/dist/rpc/__tests__/dial.spec.d.ts +0 -1
- package/dist/services/discovery/client.spec.d.ts +0 -1
- package/dist/services/motion/client.spec.d.ts +0 -1
- package/dist/services/navigation/client.spec.d.ts +0 -1
- package/dist/services/slam/client.spec.d.ts +0 -1
- package/dist/services/vision/client.spec.d.ts +0 -1
- package/dist/services/world-state-store/client.spec.d.ts +0 -1
package/README.md
CHANGED
|
@@ -6,11 +6,6 @@ Build and connect to robots with TypeScript
|
|
|
6
6
|
[](https://www.npmjs.com/package/@viamrobotics/sdk)
|
|
7
7
|
[](https://ts.viam.dev)
|
|
8
8
|
|
|
9
|
-
## (In)stability Notice
|
|
10
|
-
|
|
11
|
-
> **Warning**
|
|
12
|
-
> This is a beta release of the Viam TypeScript SDK. Stability is not guaranteed. Breaking changes are likely to occur, and occur often.
|
|
13
|
-
|
|
14
9
|
## Usage
|
|
15
10
|
|
|
16
11
|
### Installation
|
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.500";
|
|
@@ -258,9 +258,29 @@ export declare class DataClient {
|
|
|
258
258
|
* API](https://docs.viam.com/dev/reference/apis/data-client/#binarydatabyids).
|
|
259
259
|
*
|
|
260
260
|
* @param ids The IDs of the requested binary data
|
|
261
|
+
* @param includeBinary Whether to include binary file data with each
|
|
262
|
+
* retrieved file
|
|
261
263
|
* @returns An array of data objects
|
|
262
264
|
*/
|
|
263
|
-
binaryDataByIds(ids: string[] | BinaryID[]): Promise<import("../gen/app/data/v1/data_pb").BinaryData[]>;
|
|
265
|
+
binaryDataByIds(ids: string[] | BinaryID[], includeBinary?: boolean): Promise<import("../gen/app/data/v1/data_pb").BinaryData[]>;
|
|
266
|
+
/**
|
|
267
|
+
* Create a signed URL for binary data.
|
|
268
|
+
*
|
|
269
|
+
* @example
|
|
270
|
+
*
|
|
271
|
+
* ```ts
|
|
272
|
+
* const signedUrl = await dataClient.createBinaryDataSignedURL(
|
|
273
|
+
* 'ccb74b53-1235-4328-a4b9-91dff1915a50/x5vur1fmps/YAEzj5I1kTwtYsDdf4a7ctaJpGgKRHmnM9bJNVyblk52UpqmrnMVTITaBKZctKEh'
|
|
274
|
+
* );
|
|
275
|
+
* ```
|
|
276
|
+
*
|
|
277
|
+
* For more information, see [Data
|
|
278
|
+
* API](https://docs.viam.com/dev/reference/apis/data-client/#createbinarydatasignedurl).
|
|
279
|
+
*
|
|
280
|
+
* @param binaryDataId The ID of the binary data
|
|
281
|
+
* @returns A signed URL string for accessing the binary data
|
|
282
|
+
*/
|
|
283
|
+
createBinaryDataSignedURL(binaryDataId: string, expirationMinutes?: number): Promise<string>;
|
|
264
284
|
/**
|
|
265
285
|
* Delete tabular data older than a specified number of days.
|
|
266
286
|
*
|
package/dist/audio-common.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const AudioCodec: {
|
|
|
11
11
|
readonly MP3: "mp3";
|
|
12
12
|
readonly PCM16: "pcm16";
|
|
13
13
|
readonly PCM32: "pcm32";
|
|
14
|
-
readonly PCM32_FLOAT: "
|
|
14
|
+
readonly PCM32_FLOAT: "pcm32_float";
|
|
15
15
|
readonly AAC: "aac";
|
|
16
16
|
readonly OPUS: "opus";
|
|
17
17
|
readonly FLAC: "flac";
|
package/dist/events.d.ts
CHANGED
|
@@ -7,7 +7,8 @@ export declare enum MachineConnectionEvent {
|
|
|
7
7
|
CONNECTING = "connecting",
|
|
8
8
|
CONNECTED = "connected",
|
|
9
9
|
DISCONNECTING = "disconnecting",
|
|
10
|
-
DISCONNECTED = "disconnected"
|
|
10
|
+
DISCONNECTED = "disconnected",
|
|
11
|
+
DIALING = "dialing"
|
|
11
12
|
}
|
|
12
13
|
export declare class EventDispatcher {
|
|
13
14
|
listeners: Partial<Record<string, Set<Callback>>>;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse } from "./data_pb.js";
|
|
6
|
+
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateBinaryDataSignedURLRequest, CreateBinaryDataSignedURLResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse } from "./data_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -362,6 +362,17 @@ export declare const DataService: {
|
|
|
362
362
|
readonly O: typeof ListSavedQueriesResponse,
|
|
363
363
|
readonly kind: MethodKind.Unary,
|
|
364
364
|
},
|
|
365
|
+
/**
|
|
366
|
+
* CreateBinaryDataSignedURL creates a temporary public URL for a binary data file.
|
|
367
|
+
*
|
|
368
|
+
* @generated from rpc viam.app.data.v1.DataService.CreateBinaryDataSignedURL
|
|
369
|
+
*/
|
|
370
|
+
readonly createBinaryDataSignedURL: {
|
|
371
|
+
readonly name: "CreateBinaryDataSignedURL",
|
|
372
|
+
readonly I: typeof CreateBinaryDataSignedURLRequest,
|
|
373
|
+
readonly O: typeof CreateBinaryDataSignedURLResponse,
|
|
374
|
+
readonly kind: MethodKind.Unary,
|
|
375
|
+
},
|
|
365
376
|
}
|
|
366
377
|
};
|
|
367
378
|
|
|
@@ -2878,3 +2878,70 @@ export declare class ListSavedQueriesResponse extends Message<ListSavedQueriesRe
|
|
|
2878
2878
|
static equals(a: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined, b: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined): boolean;
|
|
2879
2879
|
}
|
|
2880
2880
|
|
|
2881
|
+
/**
|
|
2882
|
+
* @generated from message viam.app.data.v1.CreateBinaryDataSignedURLRequest
|
|
2883
|
+
*/
|
|
2884
|
+
export declare class CreateBinaryDataSignedURLRequest extends Message<CreateBinaryDataSignedURLRequest> {
|
|
2885
|
+
/**
|
|
2886
|
+
* The binary data ID of the file to create a signed URL for.
|
|
2887
|
+
*
|
|
2888
|
+
* @generated from field: string binary_data_id = 1;
|
|
2889
|
+
*/
|
|
2890
|
+
binaryDataId: string;
|
|
2891
|
+
|
|
2892
|
+
/**
|
|
2893
|
+
* Expiration time in minutes. Defaults to 15 minutes if not specified.
|
|
2894
|
+
* Maximum allowed is 10080 minutes (7 days).
|
|
2895
|
+
*
|
|
2896
|
+
* @generated from field: optional uint32 expiration_minutes = 2;
|
|
2897
|
+
*/
|
|
2898
|
+
expirationMinutes?: number;
|
|
2899
|
+
|
|
2900
|
+
constructor(data?: PartialMessage<CreateBinaryDataSignedURLRequest>);
|
|
2901
|
+
|
|
2902
|
+
static readonly runtime: typeof proto3;
|
|
2903
|
+
static readonly typeName = "viam.app.data.v1.CreateBinaryDataSignedURLRequest";
|
|
2904
|
+
static readonly fields: FieldList;
|
|
2905
|
+
|
|
2906
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateBinaryDataSignedURLRequest;
|
|
2907
|
+
|
|
2908
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateBinaryDataSignedURLRequest;
|
|
2909
|
+
|
|
2910
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateBinaryDataSignedURLRequest;
|
|
2911
|
+
|
|
2912
|
+
static equals(a: CreateBinaryDataSignedURLRequest | PlainMessage<CreateBinaryDataSignedURLRequest> | undefined, b: CreateBinaryDataSignedURLRequest | PlainMessage<CreateBinaryDataSignedURLRequest> | undefined): boolean;
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* @generated from message viam.app.data.v1.CreateBinaryDataSignedURLResponse
|
|
2917
|
+
*/
|
|
2918
|
+
export declare class CreateBinaryDataSignedURLResponse extends Message<CreateBinaryDataSignedURLResponse> {
|
|
2919
|
+
/**
|
|
2920
|
+
* The signed URL for the binary data file.
|
|
2921
|
+
*
|
|
2922
|
+
* @generated from field: string signed_url = 1;
|
|
2923
|
+
*/
|
|
2924
|
+
signedUrl: string;
|
|
2925
|
+
|
|
2926
|
+
/**
|
|
2927
|
+
* Expiration time of the signed URL token.
|
|
2928
|
+
*
|
|
2929
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 2;
|
|
2930
|
+
*/
|
|
2931
|
+
expiresAt?: Timestamp;
|
|
2932
|
+
|
|
2933
|
+
constructor(data?: PartialMessage<CreateBinaryDataSignedURLResponse>);
|
|
2934
|
+
|
|
2935
|
+
static readonly runtime: typeof proto3;
|
|
2936
|
+
static readonly typeName = "viam.app.data.v1.CreateBinaryDataSignedURLResponse";
|
|
2937
|
+
static readonly fields: FieldList;
|
|
2938
|
+
|
|
2939
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateBinaryDataSignedURLResponse;
|
|
2940
|
+
|
|
2941
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateBinaryDataSignedURLResponse;
|
|
2942
|
+
|
|
2943
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateBinaryDataSignedURLResponse;
|
|
2944
|
+
|
|
2945
|
+
static equals(a: CreateBinaryDataSignedURLResponse | PlainMessage<CreateBinaryDataSignedURLResponse> | undefined, b: CreateBinaryDataSignedURLResponse | PlainMessage<CreateBinaryDataSignedURLResponse> | undefined): boolean;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CancelTrainingJobRequest, CancelTrainingJobResponse, DeleteCompletedTrainingJobRequest, DeleteCompletedTrainingJobResponse, GetTrainingJobLogsRequest, GetTrainingJobLogsResponse, GetTrainingJobRequest, GetTrainingJobResponse, ListTrainingJobsRequest, ListTrainingJobsResponse, SubmitCustomTrainingJobRequest, SubmitCustomTrainingJobResponse, SubmitTrainingJobRequest, SubmitTrainingJobResponse } from "./ml_training_pb.js";
|
|
6
|
+
import { CancelTrainingJobRequest, CancelTrainingJobResponse, DeleteCompletedTrainingJobRequest, DeleteCompletedTrainingJobResponse, GetTrainingJobLogsRequest, GetTrainingJobLogsResponse, GetTrainingJobRequest, GetTrainingJobResponse, ListSupportedContainersRequest, ListSupportedContainersResponse, ListTrainingJobsRequest, ListTrainingJobsResponse, SubmitCustomTrainingJobRequest, SubmitCustomTrainingJobResponse, SubmitTrainingJobRequest, SubmitTrainingJobResponse } from "./ml_training_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -89,6 +89,17 @@ export declare const MLTrainingService: {
|
|
|
89
89
|
readonly O: typeof GetTrainingJobLogsResponse,
|
|
90
90
|
readonly kind: MethodKind.Unary,
|
|
91
91
|
},
|
|
92
|
+
/**
|
|
93
|
+
* ListSupportedContainers gets all the containers one can use for a custom training job.
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc viam.app.mltraining.v1.MLTrainingService.ListSupportedContainers
|
|
96
|
+
*/
|
|
97
|
+
readonly listSupportedContainers: {
|
|
98
|
+
readonly name: "ListSupportedContainers",
|
|
99
|
+
readonly I: typeof ListSupportedContainersRequest,
|
|
100
|
+
readonly O: typeof ListSupportedContainersResponse,
|
|
101
|
+
readonly kind: MethodKind.Unary,
|
|
102
|
+
},
|
|
92
103
|
}
|
|
93
104
|
};
|
|
94
105
|
|
|
@@ -219,6 +219,11 @@ export declare class SubmitCustomTrainingJobRequest extends Message<SubmitCustom
|
|
|
219
219
|
*/
|
|
220
220
|
arguments: { [key: string]: string };
|
|
221
221
|
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: string container_version = 8;
|
|
224
|
+
*/
|
|
225
|
+
containerVersion: string;
|
|
226
|
+
|
|
222
227
|
constructor(data?: PartialMessage<SubmitCustomTrainingJobRequest>);
|
|
223
228
|
|
|
224
229
|
static readonly runtime: typeof proto3;
|
|
@@ -458,6 +463,11 @@ export declare class TrainingJobMetadata extends Message<TrainingJobMetadata> {
|
|
|
458
463
|
*/
|
|
459
464
|
arguments: { [key: string]: string };
|
|
460
465
|
|
|
466
|
+
/**
|
|
467
|
+
* @generated from field: string container_version = 22;
|
|
468
|
+
*/
|
|
469
|
+
containerVersion: string;
|
|
470
|
+
|
|
461
471
|
constructor(data?: PartialMessage<TrainingJobMetadata>);
|
|
462
472
|
|
|
463
473
|
static readonly runtime: typeof proto3;
|
|
@@ -651,3 +661,100 @@ export declare class GetTrainingJobLogsResponse extends Message<GetTrainingJobLo
|
|
|
651
661
|
static equals(a: GetTrainingJobLogsResponse | PlainMessage<GetTrainingJobLogsResponse> | undefined, b: GetTrainingJobLogsResponse | PlainMessage<GetTrainingJobLogsResponse> | undefined): boolean;
|
|
652
662
|
}
|
|
653
663
|
|
|
664
|
+
/**
|
|
665
|
+
* @generated from message viam.app.mltraining.v1.ListSupportedContainersRequest
|
|
666
|
+
*/
|
|
667
|
+
export declare class ListSupportedContainersRequest extends Message<ListSupportedContainersRequest> {
|
|
668
|
+
constructor(data?: PartialMessage<ListSupportedContainersRequest>);
|
|
669
|
+
|
|
670
|
+
static readonly runtime: typeof proto3;
|
|
671
|
+
static readonly typeName = "viam.app.mltraining.v1.ListSupportedContainersRequest";
|
|
672
|
+
static readonly fields: FieldList;
|
|
673
|
+
|
|
674
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSupportedContainersRequest;
|
|
675
|
+
|
|
676
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSupportedContainersRequest;
|
|
677
|
+
|
|
678
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSupportedContainersRequest;
|
|
679
|
+
|
|
680
|
+
static equals(a: ListSupportedContainersRequest | PlainMessage<ListSupportedContainersRequest> | undefined, b: ListSupportedContainersRequest | PlainMessage<ListSupportedContainersRequest> | undefined): boolean;
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* @generated from message viam.app.mltraining.v1.ListSupportedContainersResponse
|
|
685
|
+
*/
|
|
686
|
+
export declare class ListSupportedContainersResponse extends Message<ListSupportedContainersResponse> {
|
|
687
|
+
/**
|
|
688
|
+
* ex value:
|
|
689
|
+
* container_map: {
|
|
690
|
+
* "tf:2.15": Container {
|
|
691
|
+
* key: "tf:2.15"
|
|
692
|
+
* uri: "us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-15.py310:latest"
|
|
693
|
+
* description: "Tensorflow 2.15"
|
|
694
|
+
* eol: { seconds: 1772630400, nanos: 0 } // 2026-03-03T00:00:00Z
|
|
695
|
+
* }
|
|
696
|
+
* }
|
|
697
|
+
*
|
|
698
|
+
* @generated from field: map<string, viam.app.mltraining.v1.Container> container_map = 1;
|
|
699
|
+
*/
|
|
700
|
+
containerMap: { [key: string]: Container };
|
|
701
|
+
|
|
702
|
+
constructor(data?: PartialMessage<ListSupportedContainersResponse>);
|
|
703
|
+
|
|
704
|
+
static readonly runtime: typeof proto3;
|
|
705
|
+
static readonly typeName = "viam.app.mltraining.v1.ListSupportedContainersResponse";
|
|
706
|
+
static readonly fields: FieldList;
|
|
707
|
+
|
|
708
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSupportedContainersResponse;
|
|
709
|
+
|
|
710
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSupportedContainersResponse;
|
|
711
|
+
|
|
712
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSupportedContainersResponse;
|
|
713
|
+
|
|
714
|
+
static equals(a: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined, b: ListSupportedContainersResponse | PlainMessage<ListSupportedContainersResponse> | undefined): boolean;
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* @generated from message viam.app.mltraining.v1.Container
|
|
719
|
+
*/
|
|
720
|
+
export declare class Container extends Message<Container> {
|
|
721
|
+
/**
|
|
722
|
+
* @generated from field: string key = 1;
|
|
723
|
+
*/
|
|
724
|
+
key: string;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* @generated from field: string uri = 2;
|
|
728
|
+
*/
|
|
729
|
+
uri: string;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* @generated from field: string framework = 3;
|
|
733
|
+
*/
|
|
734
|
+
framework: string;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* @generated from field: string description = 4;
|
|
738
|
+
*/
|
|
739
|
+
description: string;
|
|
740
|
+
|
|
741
|
+
/**
|
|
742
|
+
* @generated from field: google.protobuf.Timestamp eol = 5;
|
|
743
|
+
*/
|
|
744
|
+
eol?: Timestamp;
|
|
745
|
+
|
|
746
|
+
constructor(data?: PartialMessage<Container>);
|
|
747
|
+
|
|
748
|
+
static readonly runtime: typeof proto3;
|
|
749
|
+
static readonly typeName = "viam.app.mltraining.v1.Container";
|
|
750
|
+
static readonly fields: FieldList;
|
|
751
|
+
|
|
752
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Container;
|
|
753
|
+
|
|
754
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Container;
|
|
755
|
+
|
|
756
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Container;
|
|
757
|
+
|
|
758
|
+
static equals(a: Container | PlainMessage<Container> | undefined, b: Container | PlainMessage<Container> | undefined): boolean;
|
|
759
|
+
}
|
|
760
|
+
|
|
@@ -9,6 +9,31 @@ import type { LogEntry } from "../../common/v1/common_pb.js";
|
|
|
9
9
|
import type { ModelFramework, ModelType } from "../mltraining/v1/ml_training_pb.js";
|
|
10
10
|
import type { PackageType } from "../packages/v1/packages_pb.js";
|
|
11
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @generated from enum viam.app.v1.OnlineState
|
|
14
|
+
*/
|
|
15
|
+
export declare enum OnlineState {
|
|
16
|
+
/**
|
|
17
|
+
* @generated from enum value: ONLINE_STATE_UNSPECIFIED = 0;
|
|
18
|
+
*/
|
|
19
|
+
UNSPECIFIED = 0,
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @generated from enum value: ONLINE_STATE_ONLINE = 1;
|
|
23
|
+
*/
|
|
24
|
+
ONLINE = 1,
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @generated from enum value: ONLINE_STATE_OFFLINE = 2;
|
|
28
|
+
*/
|
|
29
|
+
OFFLINE = 2,
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* @generated from enum value: ONLINE_STATE_AWAITING_SETUP = 3;
|
|
33
|
+
*/
|
|
34
|
+
AWAITING_SETUP = 3,
|
|
35
|
+
}
|
|
36
|
+
|
|
12
37
|
/**
|
|
13
38
|
* @generated from enum viam.app.v1.AuthenticationType
|
|
14
39
|
*/
|
|
@@ -299,6 +324,16 @@ export declare class Robot extends Message<Robot> {
|
|
|
299
324
|
*/
|
|
300
325
|
createdOn?: Timestamp;
|
|
301
326
|
|
|
327
|
+
/**
|
|
328
|
+
* @generated from field: viam.app.v1.OnlineState online_state = 6;
|
|
329
|
+
*/
|
|
330
|
+
onlineState: OnlineState;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: int64 seconds_since_online = 7;
|
|
334
|
+
*/
|
|
335
|
+
secondsSinceOnline: bigint;
|
|
336
|
+
|
|
302
337
|
constructor(data?: PartialMessage<Robot>);
|
|
303
338
|
|
|
304
339
|
static readonly runtime: typeof proto3;
|
|
@@ -402,6 +437,16 @@ export declare class RobotPart extends Message<RobotPart> {
|
|
|
402
437
|
*/
|
|
403
438
|
lastUpdated?: Timestamp;
|
|
404
439
|
|
|
440
|
+
/**
|
|
441
|
+
* @generated from field: viam.app.v1.OnlineState online_state = 16;
|
|
442
|
+
*/
|
|
443
|
+
onlineState: OnlineState;
|
|
444
|
+
|
|
445
|
+
/**
|
|
446
|
+
* @generated from field: int64 seconds_since_online = 17;
|
|
447
|
+
*/
|
|
448
|
+
secondsSinceOnline: bigint;
|
|
449
|
+
|
|
405
450
|
constructor(data?: PartialMessage<RobotPart>);
|
|
406
451
|
|
|
407
452
|
static readonly runtime: typeof proto3;
|
|
@@ -3088,6 +3133,11 @@ export declare class GetRobotPartLogsRequest extends Message<GetRobotPartLogsReq
|
|
|
3088
3133
|
*/
|
|
3089
3134
|
source?: string;
|
|
3090
3135
|
|
|
3136
|
+
/**
|
|
3137
|
+
* @generated from field: optional bool user_facing_only = 10;
|
|
3138
|
+
*/
|
|
3139
|
+
userFacingOnly?: boolean;
|
|
3140
|
+
|
|
3091
3141
|
constructor(data?: PartialMessage<GetRobotPartLogsRequest>);
|
|
3092
3142
|
|
|
3093
3143
|
static readonly runtime: typeof proto3;
|
|
@@ -4930,6 +4980,21 @@ export declare class PartSummary extends Message<PartSummary> {
|
|
|
4930
4980
|
*/
|
|
4931
4981
|
isMainPart: boolean;
|
|
4932
4982
|
|
|
4983
|
+
/**
|
|
4984
|
+
* @generated from field: viam.app.v1.OnlineState online_state = 12;
|
|
4985
|
+
*/
|
|
4986
|
+
onlineState: OnlineState;
|
|
4987
|
+
|
|
4988
|
+
/**
|
|
4989
|
+
* @generated from field: int64 seconds_since_online = 13;
|
|
4990
|
+
*/
|
|
4991
|
+
secondsSinceOnline: bigint;
|
|
4992
|
+
|
|
4993
|
+
/**
|
|
4994
|
+
* @generated from field: optional google.protobuf.Timestamp last_access = 14;
|
|
4995
|
+
*/
|
|
4996
|
+
lastAccess?: Timestamp;
|
|
4997
|
+
|
|
4933
4998
|
/**
|
|
4934
4999
|
* @generated from field: optional google.protobuf.Timestamp last_online = 3;
|
|
4935
5000
|
*/
|
|
@@ -158,6 +158,16 @@ export declare enum UsageCostType {
|
|
|
158
158
|
* @generated from enum value: USAGE_COST_TYPE_BINARY_DATA_CROSS_REGION_EGRESS = 24;
|
|
159
159
|
*/
|
|
160
160
|
BINARY_DATA_CROSS_REGION_EGRESS = 24,
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* @generated from enum value: USAGE_COST_TYPE_PIPELINE_SINK_CLOUD_STORAGE = 25;
|
|
164
|
+
*/
|
|
165
|
+
PIPELINE_SINK_CLOUD_STORAGE = 25,
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from enum value: USAGE_COST_TYPE_PIPELINE_SINK_COMPUTE = 26;
|
|
169
|
+
*/
|
|
170
|
+
PIPELINE_SINK_COMPUTE = 26,
|
|
161
171
|
}
|
|
162
172
|
|
|
163
173
|
/**
|
|
@@ -228,6 +228,13 @@ export declare class JobConfig extends Message<JobConfig> {
|
|
|
228
228
|
*/
|
|
229
229
|
command?: Struct;
|
|
230
230
|
|
|
231
|
+
/**
|
|
232
|
+
* configuration for this job's logger.
|
|
233
|
+
*
|
|
234
|
+
* @generated from field: viam.app.v1.LogConfiguration log_configuration = 6;
|
|
235
|
+
*/
|
|
236
|
+
logConfiguration?: LogConfiguration;
|
|
237
|
+
|
|
231
238
|
constructor(data?: PartialMessage<JobConfig>);
|
|
232
239
|
|
|
233
240
|
static readonly runtime: typeof proto3;
|
|
@@ -192,7 +192,7 @@ export declare class Orientation extends Message<Orientation> {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
/**
|
|
195
|
-
* PoseInFrame contains a pose and the
|
|
195
|
+
* PoseInFrame contains a pose and the reference frame in which it was observed
|
|
196
196
|
*
|
|
197
197
|
* @generated from message viam.common.v1.PoseInFrame
|
|
198
198
|
*/
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
import type { ResponseMetadata } from "../../../common/v1/common_pb.js";
|
|
9
|
+
import type { Annotations } from "../../../app/data/v1/data_pb.js";
|
|
9
10
|
|
|
10
11
|
/**
|
|
11
12
|
* @generated from enum viam.component.camera.v1.Format
|
|
@@ -216,6 +217,13 @@ export declare class Image extends Message<Image> {
|
|
|
216
217
|
*/
|
|
217
218
|
mimeType: string;
|
|
218
219
|
|
|
220
|
+
/**
|
|
221
|
+
* annotations can be used to store additional information about the image
|
|
222
|
+
*
|
|
223
|
+
* @generated from field: viam.app.data.v1.Annotations annotations = 5;
|
|
224
|
+
*/
|
|
225
|
+
annotations?: Annotations;
|
|
226
|
+
|
|
219
227
|
constructor(data?: PartialMessage<Image>);
|
|
220
228
|
|
|
221
229
|
static readonly runtime: typeof proto3;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { GetLengthsRequest, GetLengthsResponse, GetPositionRequest, GetPositionResponse, HomeRequest, HomeResponse, IsMovingRequest, IsMovingResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./gantry_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* An GantryService services all gantries associated with a robot
|
|
@@ -92,6 +92,15 @@ export declare const GantryService: {
|
|
|
92
92
|
readonly O: typeof DoCommandResponse,
|
|
93
93
|
readonly kind: MethodKind.Unary,
|
|
94
94
|
},
|
|
95
|
+
/**
|
|
96
|
+
* @generated from rpc viam.component.gantry.v1.GantryService.GetKinematics
|
|
97
|
+
*/
|
|
98
|
+
readonly getKinematics: {
|
|
99
|
+
readonly name: "GetKinematics",
|
|
100
|
+
readonly I: typeof GetKinematicsRequest,
|
|
101
|
+
readonly O: typeof GetKinematicsResponse,
|
|
102
|
+
readonly kind: MethodKind.Unary,
|
|
103
|
+
},
|
|
95
104
|
/**
|
|
96
105
|
* GetGeometries returns the geometries of the component in their current configuration
|
|
97
106
|
*
|