@viamrobotics/sdk 0.53.0 → 0.54.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/viam-client.d.ts +1 -0
- package/dist/app/viam-transport.d.ts +1 -1
- package/dist/components/arm/arm.d.ts +29 -1
- package/dist/components/arm/client.d.ts +13 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +5 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +56 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +314 -0
- package/dist/gen/common/v1/common_pb.d.ts +59 -0
- package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
- package/dist/gen/service/video/v1/video_connect.d.ts +42 -0
- package/dist/gen/service/video/v1/video_pb.d.ts +116 -0
- package/dist/main.es.js +4043 -3793
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +11 -0
- package/dist/robot/client.spec.d.ts +1 -0
- package/dist/rpc/dial.d.ts +11 -1
- package/dist/rpc/dial.spec.d.ts +1 -0
- package/package.json +3 -3
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.487";
|
|
@@ -25,6 +25,7 @@ export declare class ViamClient {
|
|
|
25
25
|
readonly provisioningClient: ProvisioningClient;
|
|
26
26
|
readonly billingClient: BillingClient;
|
|
27
27
|
constructor(transport: Transport, credentials: Credentials);
|
|
28
|
+
getRobotSecretFromHost(host: string): Promise<string | undefined>;
|
|
28
29
|
connectToMachine({ host, id, }: ViamClientMachineConnectionOpts): Promise<import("../robot").RobotClient>;
|
|
29
30
|
}
|
|
30
31
|
export {};
|
|
@@ -10,7 +10,7 @@ export interface Credential {
|
|
|
10
10
|
type: CredentialType;
|
|
11
11
|
payload: string;
|
|
12
12
|
}
|
|
13
|
-
export type CredentialType = '
|
|
13
|
+
export type CredentialType = 'api-key' | 'robot-secret';
|
|
14
14
|
/** An access token used to access protected resources. */
|
|
15
15
|
export interface AccessToken {
|
|
16
16
|
type: 'access-token';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { PlainMessage, Struct } from '@bufbuild/protobuf';
|
|
2
|
-
import type { Pose, Resource } from '../../types';
|
|
2
|
+
import type { Pose, Resource, Vector3 } from '../../types';
|
|
3
3
|
import * as armApi from '../../gen/component/arm/v1/arm_pb';
|
|
4
4
|
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
5
|
+
import type { Frame } from '../../gen/app/v1/robot_pb';
|
|
5
6
|
export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
|
|
6
7
|
export declare const ArmJointPositions: typeof armApi.JointPositions;
|
|
7
8
|
/** Represents a physical robot arm that exists in three-dimensional space. */
|
|
@@ -35,6 +36,33 @@ export interface Arm extends Resource {
|
|
|
35
36
|
* API](https://docs.viam.com/dev/reference/apis/components/arm/#getgeometries).
|
|
36
37
|
*/
|
|
37
38
|
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Get the kinematics information associated with the arm.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
*
|
|
44
|
+
* ```ts
|
|
45
|
+
* const arm = new VIAM.ArmClient(machine, 'my_arm');
|
|
46
|
+
* const kinematics = await arm.getKinematics();
|
|
47
|
+
* console.log(kinematics);
|
|
48
|
+
*
|
|
49
|
+
* For more information, see [Arm
|
|
50
|
+
* API](https://docs.viam.com/dev/reference/apis/components/arm/#getkinematics).
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
getKinematics: (extra?: Struct) => Promise<{
|
|
54
|
+
name: string;
|
|
55
|
+
kinematic_param_type: 'SVA' | 'URDF' | 'UNSPECIFIED';
|
|
56
|
+
joints: {
|
|
57
|
+
id: string;
|
|
58
|
+
type: string;
|
|
59
|
+
parent: string;
|
|
60
|
+
axis: Vector3;
|
|
61
|
+
max: number;
|
|
62
|
+
min: number;
|
|
63
|
+
}[];
|
|
64
|
+
links: Frame[];
|
|
65
|
+
}>;
|
|
38
66
|
/**
|
|
39
67
|
* Move the end of the arm to the pose.
|
|
40
68
|
*
|
|
@@ -17,6 +17,19 @@ export declare class ArmClient implements Arm {
|
|
|
17
17
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
18
18
|
getEndPosition(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Pose>;
|
|
19
19
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
20
|
+
getKinematics(extra?: {}, callOptions?: CallOptions): Promise<{
|
|
21
|
+
name: string;
|
|
22
|
+
kinematic_param_type: "SVA" | "URDF" | "UNSPECIFIED";
|
|
23
|
+
joints: {
|
|
24
|
+
id: string;
|
|
25
|
+
type: string;
|
|
26
|
+
parent: string;
|
|
27
|
+
axis: import("@bufbuild/protobuf").PlainMessage<import("../../gen/common/v1/common_pb").Vector3>;
|
|
28
|
+
max: number;
|
|
29
|
+
min: number;
|
|
30
|
+
}[];
|
|
31
|
+
links: import("../../gen/app/v1/robot_pb").Frame[];
|
|
32
|
+
}>;
|
|
20
33
|
moveToPosition(pose: Pose, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
21
34
|
moveToJointPositions(jointPositionsList: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
22
35
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
@@ -325,6 +325,11 @@ export declare class JobInfo extends Message<JobInfo> {
|
|
|
325
325
|
*/
|
|
326
326
|
endTime?: Timestamp;
|
|
327
327
|
|
|
328
|
+
/**
|
|
329
|
+
* @generated from field: optional string build_step = 7;
|
|
330
|
+
*/
|
|
331
|
+
buildStep?: string;
|
|
332
|
+
|
|
328
333
|
constructor(data?: PartialMessage<JobInfo>);
|
|
329
334
|
|
|
330
335
|
static readonly runtime: typeof proto3;
|
|
@@ -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, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, ListIndexesRequest, ListIndexesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse } from "./data_pb.js";
|
|
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";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -307,6 +307,61 @@ export declare const DataService: {
|
|
|
307
307
|
readonly O: typeof DeleteIndexResponse,
|
|
308
308
|
readonly kind: MethodKind.Unary,
|
|
309
309
|
},
|
|
310
|
+
/**
|
|
311
|
+
* CreateSavedQuery saves a mql query.
|
|
312
|
+
*
|
|
313
|
+
* @generated from rpc viam.app.data.v1.DataService.CreateSavedQuery
|
|
314
|
+
*/
|
|
315
|
+
readonly createSavedQuery: {
|
|
316
|
+
readonly name: "CreateSavedQuery",
|
|
317
|
+
readonly I: typeof CreateSavedQueryRequest,
|
|
318
|
+
readonly O: typeof CreateSavedQueryResponse,
|
|
319
|
+
readonly kind: MethodKind.Unary,
|
|
320
|
+
},
|
|
321
|
+
/**
|
|
322
|
+
* UpdateSavedQuery updates the saved query with the given id.
|
|
323
|
+
*
|
|
324
|
+
* @generated from rpc viam.app.data.v1.DataService.UpdateSavedQuery
|
|
325
|
+
*/
|
|
326
|
+
readonly updateSavedQuery: {
|
|
327
|
+
readonly name: "UpdateSavedQuery",
|
|
328
|
+
readonly I: typeof UpdateSavedQueryRequest,
|
|
329
|
+
readonly O: typeof UpdateSavedQueryResponse,
|
|
330
|
+
readonly kind: MethodKind.Unary,
|
|
331
|
+
},
|
|
332
|
+
/**
|
|
333
|
+
* GetSavedQuery retrieves a saved query by id.
|
|
334
|
+
*
|
|
335
|
+
* @generated from rpc viam.app.data.v1.DataService.GetSavedQuery
|
|
336
|
+
*/
|
|
337
|
+
readonly getSavedQuery: {
|
|
338
|
+
readonly name: "GetSavedQuery",
|
|
339
|
+
readonly I: typeof GetSavedQueryRequest,
|
|
340
|
+
readonly O: typeof GetSavedQueryResponse,
|
|
341
|
+
readonly kind: MethodKind.Unary,
|
|
342
|
+
},
|
|
343
|
+
/**
|
|
344
|
+
* DeleteSavedQuery deletes a saved query based on the given id.
|
|
345
|
+
*
|
|
346
|
+
* @generated from rpc viam.app.data.v1.DataService.DeleteSavedQuery
|
|
347
|
+
*/
|
|
348
|
+
readonly deleteSavedQuery: {
|
|
349
|
+
readonly name: "DeleteSavedQuery",
|
|
350
|
+
readonly I: typeof DeleteSavedQueryRequest,
|
|
351
|
+
readonly O: typeof DeleteSavedQueryResponse,
|
|
352
|
+
readonly kind: MethodKind.Unary,
|
|
353
|
+
},
|
|
354
|
+
/**
|
|
355
|
+
* ListSavedQueries lists saved queries for a given organization.
|
|
356
|
+
*
|
|
357
|
+
* @generated from rpc viam.app.data.v1.DataService.ListSavedQueries
|
|
358
|
+
*/
|
|
359
|
+
readonly listSavedQueries: {
|
|
360
|
+
readonly name: "ListSavedQueries",
|
|
361
|
+
readonly I: typeof ListSavedQueriesRequest,
|
|
362
|
+
readonly O: typeof ListSavedQueriesResponse,
|
|
363
|
+
readonly kind: MethodKind.Unary,
|
|
364
|
+
},
|
|
310
365
|
}
|
|
311
366
|
};
|
|
312
367
|
|
|
@@ -2564,3 +2564,317 @@ export declare class Index extends Message<Index> {
|
|
|
2564
2564
|
static equals(a: Index | PlainMessage<Index> | undefined, b: Index | PlainMessage<Index> | undefined): boolean;
|
|
2565
2565
|
}
|
|
2566
2566
|
|
|
2567
|
+
/**
|
|
2568
|
+
* CreateSavedQueryRequest saves a mql query.
|
|
2569
|
+
*
|
|
2570
|
+
* @generated from message viam.app.data.v1.CreateSavedQueryRequest
|
|
2571
|
+
*/
|
|
2572
|
+
export declare class CreateSavedQueryRequest extends Message<CreateSavedQueryRequest> {
|
|
2573
|
+
/**
|
|
2574
|
+
* @generated from field: string organization_id = 1;
|
|
2575
|
+
*/
|
|
2576
|
+
organizationId: string;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* @generated from field: string name = 2;
|
|
2580
|
+
*/
|
|
2581
|
+
name: string;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* @generated from field: repeated bytes mql_binary = 3;
|
|
2585
|
+
*/
|
|
2586
|
+
mqlBinary: Uint8Array[];
|
|
2587
|
+
|
|
2588
|
+
constructor(data?: PartialMessage<CreateSavedQueryRequest>);
|
|
2589
|
+
|
|
2590
|
+
static readonly runtime: typeof proto3;
|
|
2591
|
+
static readonly typeName = "viam.app.data.v1.CreateSavedQueryRequest";
|
|
2592
|
+
static readonly fields: FieldList;
|
|
2593
|
+
|
|
2594
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSavedQueryRequest;
|
|
2595
|
+
|
|
2596
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSavedQueryRequest;
|
|
2597
|
+
|
|
2598
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSavedQueryRequest;
|
|
2599
|
+
|
|
2600
|
+
static equals(a: CreateSavedQueryRequest | PlainMessage<CreateSavedQueryRequest> | undefined, b: CreateSavedQueryRequest | PlainMessage<CreateSavedQueryRequest> | undefined): boolean;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* @generated from message viam.app.data.v1.CreateSavedQueryResponse
|
|
2605
|
+
*/
|
|
2606
|
+
export declare class CreateSavedQueryResponse extends Message<CreateSavedQueryResponse> {
|
|
2607
|
+
/**
|
|
2608
|
+
* @generated from field: string id = 1;
|
|
2609
|
+
*/
|
|
2610
|
+
id: string;
|
|
2611
|
+
|
|
2612
|
+
constructor(data?: PartialMessage<CreateSavedQueryResponse>);
|
|
2613
|
+
|
|
2614
|
+
static readonly runtime: typeof proto3;
|
|
2615
|
+
static readonly typeName = "viam.app.data.v1.CreateSavedQueryResponse";
|
|
2616
|
+
static readonly fields: FieldList;
|
|
2617
|
+
|
|
2618
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSavedQueryResponse;
|
|
2619
|
+
|
|
2620
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSavedQueryResponse;
|
|
2621
|
+
|
|
2622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSavedQueryResponse;
|
|
2623
|
+
|
|
2624
|
+
static equals(a: CreateSavedQueryResponse | PlainMessage<CreateSavedQueryResponse> | undefined, b: CreateSavedQueryResponse | PlainMessage<CreateSavedQueryResponse> | undefined): boolean;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* @generated from message viam.app.data.v1.Query
|
|
2629
|
+
*/
|
|
2630
|
+
export declare class Query extends Message<Query> {
|
|
2631
|
+
/**
|
|
2632
|
+
* @generated from field: string id = 1;
|
|
2633
|
+
*/
|
|
2634
|
+
id: string;
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* @generated from field: string organization_id = 2;
|
|
2638
|
+
*/
|
|
2639
|
+
organizationId: string;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* @generated from field: string name = 3;
|
|
2643
|
+
*/
|
|
2644
|
+
name: string;
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* @generated from field: repeated bytes mql_binary = 4;
|
|
2648
|
+
*/
|
|
2649
|
+
mqlBinary: Uint8Array[];
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* @generated from field: google.protobuf.Timestamp created_on = 5;
|
|
2653
|
+
*/
|
|
2654
|
+
createdOn?: Timestamp;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
2658
|
+
*/
|
|
2659
|
+
updatedAt?: Timestamp;
|
|
2660
|
+
|
|
2661
|
+
constructor(data?: PartialMessage<Query>);
|
|
2662
|
+
|
|
2663
|
+
static readonly runtime: typeof proto3;
|
|
2664
|
+
static readonly typeName = "viam.app.data.v1.Query";
|
|
2665
|
+
static readonly fields: FieldList;
|
|
2666
|
+
|
|
2667
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Query;
|
|
2668
|
+
|
|
2669
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Query;
|
|
2670
|
+
|
|
2671
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Query;
|
|
2672
|
+
|
|
2673
|
+
static equals(a: Query | PlainMessage<Query> | undefined, b: Query | PlainMessage<Query> | undefined): boolean;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* DeleteSavedQuery deletes a saved query based on the given id.
|
|
2678
|
+
*
|
|
2679
|
+
* @generated from message viam.app.data.v1.DeleteSavedQueryRequest
|
|
2680
|
+
*/
|
|
2681
|
+
export declare class DeleteSavedQueryRequest extends Message<DeleteSavedQueryRequest> {
|
|
2682
|
+
/**
|
|
2683
|
+
* @generated from field: string id = 1;
|
|
2684
|
+
*/
|
|
2685
|
+
id: string;
|
|
2686
|
+
|
|
2687
|
+
constructor(data?: PartialMessage<DeleteSavedQueryRequest>);
|
|
2688
|
+
|
|
2689
|
+
static readonly runtime: typeof proto3;
|
|
2690
|
+
static readonly typeName = "viam.app.data.v1.DeleteSavedQueryRequest";
|
|
2691
|
+
static readonly fields: FieldList;
|
|
2692
|
+
|
|
2693
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSavedQueryRequest;
|
|
2694
|
+
|
|
2695
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSavedQueryRequest;
|
|
2696
|
+
|
|
2697
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSavedQueryRequest;
|
|
2698
|
+
|
|
2699
|
+
static equals(a: DeleteSavedQueryRequest | PlainMessage<DeleteSavedQueryRequest> | undefined, b: DeleteSavedQueryRequest | PlainMessage<DeleteSavedQueryRequest> | undefined): boolean;
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @generated from message viam.app.data.v1.DeleteSavedQueryResponse
|
|
2704
|
+
*/
|
|
2705
|
+
export declare class DeleteSavedQueryResponse extends Message<DeleteSavedQueryResponse> {
|
|
2706
|
+
constructor(data?: PartialMessage<DeleteSavedQueryResponse>);
|
|
2707
|
+
|
|
2708
|
+
static readonly runtime: typeof proto3;
|
|
2709
|
+
static readonly typeName = "viam.app.data.v1.DeleteSavedQueryResponse";
|
|
2710
|
+
static readonly fields: FieldList;
|
|
2711
|
+
|
|
2712
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSavedQueryResponse;
|
|
2713
|
+
|
|
2714
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSavedQueryResponse;
|
|
2715
|
+
|
|
2716
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSavedQueryResponse;
|
|
2717
|
+
|
|
2718
|
+
static equals(a: DeleteSavedQueryResponse | PlainMessage<DeleteSavedQueryResponse> | undefined, b: DeleteSavedQueryResponse | PlainMessage<DeleteSavedQueryResponse> | undefined): boolean;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* GetSavedQuery retrieves a saved query by id.
|
|
2723
|
+
*
|
|
2724
|
+
* @generated from message viam.app.data.v1.GetSavedQueryRequest
|
|
2725
|
+
*/
|
|
2726
|
+
export declare class GetSavedQueryRequest extends Message<GetSavedQueryRequest> {
|
|
2727
|
+
/**
|
|
2728
|
+
* @generated from field: string id = 1;
|
|
2729
|
+
*/
|
|
2730
|
+
id: string;
|
|
2731
|
+
|
|
2732
|
+
constructor(data?: PartialMessage<GetSavedQueryRequest>);
|
|
2733
|
+
|
|
2734
|
+
static readonly runtime: typeof proto3;
|
|
2735
|
+
static readonly typeName = "viam.app.data.v1.GetSavedQueryRequest";
|
|
2736
|
+
static readonly fields: FieldList;
|
|
2737
|
+
|
|
2738
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSavedQueryRequest;
|
|
2739
|
+
|
|
2740
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSavedQueryRequest;
|
|
2741
|
+
|
|
2742
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSavedQueryRequest;
|
|
2743
|
+
|
|
2744
|
+
static equals(a: GetSavedQueryRequest | PlainMessage<GetSavedQueryRequest> | undefined, b: GetSavedQueryRequest | PlainMessage<GetSavedQueryRequest> | undefined): boolean;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* @generated from message viam.app.data.v1.GetSavedQueryResponse
|
|
2749
|
+
*/
|
|
2750
|
+
export declare class GetSavedQueryResponse extends Message<GetSavedQueryResponse> {
|
|
2751
|
+
/**
|
|
2752
|
+
* @generated from field: viam.app.data.v1.Query saved_query = 1;
|
|
2753
|
+
*/
|
|
2754
|
+
savedQuery?: Query;
|
|
2755
|
+
|
|
2756
|
+
constructor(data?: PartialMessage<GetSavedQueryResponse>);
|
|
2757
|
+
|
|
2758
|
+
static readonly runtime: typeof proto3;
|
|
2759
|
+
static readonly typeName = "viam.app.data.v1.GetSavedQueryResponse";
|
|
2760
|
+
static readonly fields: FieldList;
|
|
2761
|
+
|
|
2762
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSavedQueryResponse;
|
|
2763
|
+
|
|
2764
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSavedQueryResponse;
|
|
2765
|
+
|
|
2766
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSavedQueryResponse;
|
|
2767
|
+
|
|
2768
|
+
static equals(a: GetSavedQueryResponse | PlainMessage<GetSavedQueryResponse> | undefined, b: GetSavedQueryResponse | PlainMessage<GetSavedQueryResponse> | undefined): boolean;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* UpdateSavedQuery updates the saved query with the given id.
|
|
2773
|
+
*
|
|
2774
|
+
* @generated from message viam.app.data.v1.UpdateSavedQueryRequest
|
|
2775
|
+
*/
|
|
2776
|
+
export declare class UpdateSavedQueryRequest extends Message<UpdateSavedQueryRequest> {
|
|
2777
|
+
/**
|
|
2778
|
+
* @generated from field: string id = 1;
|
|
2779
|
+
*/
|
|
2780
|
+
id: string;
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* @generated from field: string name = 2;
|
|
2784
|
+
*/
|
|
2785
|
+
name: string;
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* @generated from field: repeated bytes mql_binary = 3;
|
|
2789
|
+
*/
|
|
2790
|
+
mqlBinary: Uint8Array[];
|
|
2791
|
+
|
|
2792
|
+
constructor(data?: PartialMessage<UpdateSavedQueryRequest>);
|
|
2793
|
+
|
|
2794
|
+
static readonly runtime: typeof proto3;
|
|
2795
|
+
static readonly typeName = "viam.app.data.v1.UpdateSavedQueryRequest";
|
|
2796
|
+
static readonly fields: FieldList;
|
|
2797
|
+
|
|
2798
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSavedQueryRequest;
|
|
2799
|
+
|
|
2800
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSavedQueryRequest;
|
|
2801
|
+
|
|
2802
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSavedQueryRequest;
|
|
2803
|
+
|
|
2804
|
+
static equals(a: UpdateSavedQueryRequest | PlainMessage<UpdateSavedQueryRequest> | undefined, b: UpdateSavedQueryRequest | PlainMessage<UpdateSavedQueryRequest> | undefined): boolean;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* @generated from message viam.app.data.v1.UpdateSavedQueryResponse
|
|
2809
|
+
*/
|
|
2810
|
+
export declare class UpdateSavedQueryResponse extends Message<UpdateSavedQueryResponse> {
|
|
2811
|
+
constructor(data?: PartialMessage<UpdateSavedQueryResponse>);
|
|
2812
|
+
|
|
2813
|
+
static readonly runtime: typeof proto3;
|
|
2814
|
+
static readonly typeName = "viam.app.data.v1.UpdateSavedQueryResponse";
|
|
2815
|
+
static readonly fields: FieldList;
|
|
2816
|
+
|
|
2817
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSavedQueryResponse;
|
|
2818
|
+
|
|
2819
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSavedQueryResponse;
|
|
2820
|
+
|
|
2821
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSavedQueryResponse;
|
|
2822
|
+
|
|
2823
|
+
static equals(a: UpdateSavedQueryResponse | PlainMessage<UpdateSavedQueryResponse> | undefined, b: UpdateSavedQueryResponse | PlainMessage<UpdateSavedQueryResponse> | undefined): boolean;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* ListSavedQueries lists saved queries for a given organization.
|
|
2828
|
+
*
|
|
2829
|
+
* @generated from message viam.app.data.v1.ListSavedQueriesRequest
|
|
2830
|
+
*/
|
|
2831
|
+
export declare class ListSavedQueriesRequest extends Message<ListSavedQueriesRequest> {
|
|
2832
|
+
/**
|
|
2833
|
+
* @generated from field: string organization_id = 1;
|
|
2834
|
+
*/
|
|
2835
|
+
organizationId: string;
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* @generated from field: int64 limit = 2;
|
|
2839
|
+
*/
|
|
2840
|
+
limit: bigint;
|
|
2841
|
+
|
|
2842
|
+
constructor(data?: PartialMessage<ListSavedQueriesRequest>);
|
|
2843
|
+
|
|
2844
|
+
static readonly runtime: typeof proto3;
|
|
2845
|
+
static readonly typeName = "viam.app.data.v1.ListSavedQueriesRequest";
|
|
2846
|
+
static readonly fields: FieldList;
|
|
2847
|
+
|
|
2848
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSavedQueriesRequest;
|
|
2849
|
+
|
|
2850
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSavedQueriesRequest;
|
|
2851
|
+
|
|
2852
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSavedQueriesRequest;
|
|
2853
|
+
|
|
2854
|
+
static equals(a: ListSavedQueriesRequest | PlainMessage<ListSavedQueriesRequest> | undefined, b: ListSavedQueriesRequest | PlainMessage<ListSavedQueriesRequest> | undefined): boolean;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
/**
|
|
2858
|
+
* @generated from message viam.app.data.v1.ListSavedQueriesResponse
|
|
2859
|
+
*/
|
|
2860
|
+
export declare class ListSavedQueriesResponse extends Message<ListSavedQueriesResponse> {
|
|
2861
|
+
/**
|
|
2862
|
+
* @generated from field: repeated viam.app.data.v1.Query queries = 1;
|
|
2863
|
+
*/
|
|
2864
|
+
queries: Query[];
|
|
2865
|
+
|
|
2866
|
+
constructor(data?: PartialMessage<ListSavedQueriesResponse>);
|
|
2867
|
+
|
|
2868
|
+
static readonly runtime: typeof proto3;
|
|
2869
|
+
static readonly typeName = "viam.app.data.v1.ListSavedQueriesResponse";
|
|
2870
|
+
static readonly fields: FieldList;
|
|
2871
|
+
|
|
2872
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSavedQueriesResponse;
|
|
2873
|
+
|
|
2874
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSavedQueriesResponse;
|
|
2875
|
+
|
|
2876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSavedQueriesResponse;
|
|
2877
|
+
|
|
2878
|
+
static equals(a: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined, b: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined): boolean;
|
|
2879
|
+
}
|
|
2880
|
+
|
|
@@ -933,6 +933,65 @@ export declare class GetGeometriesResponse extends Message<GetGeometriesResponse
|
|
|
933
933
|
static equals(a: GetGeometriesResponse | PlainMessage<GetGeometriesResponse> | undefined, b: GetGeometriesResponse | PlainMessage<GetGeometriesResponse> | undefined): boolean;
|
|
934
934
|
}
|
|
935
935
|
|
|
936
|
+
/**
|
|
937
|
+
* @generated from message viam.common.v1.Get3DModelsRequest
|
|
938
|
+
*/
|
|
939
|
+
export declare class Get3DModelsRequest extends Message<Get3DModelsRequest> {
|
|
940
|
+
/**
|
|
941
|
+
* The component name
|
|
942
|
+
*
|
|
943
|
+
* @generated from field: string name = 1;
|
|
944
|
+
*/
|
|
945
|
+
name: string;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Additional arguments to the method
|
|
949
|
+
*
|
|
950
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
951
|
+
*/
|
|
952
|
+
extra?: Struct;
|
|
953
|
+
|
|
954
|
+
constructor(data?: PartialMessage<Get3DModelsRequest>);
|
|
955
|
+
|
|
956
|
+
static readonly runtime: typeof proto3;
|
|
957
|
+
static readonly typeName = "viam.common.v1.Get3DModelsRequest";
|
|
958
|
+
static readonly fields: FieldList;
|
|
959
|
+
|
|
960
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Get3DModelsRequest;
|
|
961
|
+
|
|
962
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Get3DModelsRequest;
|
|
963
|
+
|
|
964
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Get3DModelsRequest;
|
|
965
|
+
|
|
966
|
+
static equals(a: Get3DModelsRequest | PlainMessage<Get3DModelsRequest> | undefined, b: Get3DModelsRequest | PlainMessage<Get3DModelsRequest> | undefined): boolean;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @generated from message viam.common.v1.Get3DModelsResponse
|
|
971
|
+
*/
|
|
972
|
+
export declare class Get3DModelsResponse extends Message<Get3DModelsResponse> {
|
|
973
|
+
/**
|
|
974
|
+
* the 3D models associated with the component
|
|
975
|
+
*
|
|
976
|
+
* @generated from field: map<string, viam.common.v1.Mesh> models = 1;
|
|
977
|
+
*/
|
|
978
|
+
models: { [key: string]: Mesh };
|
|
979
|
+
|
|
980
|
+
constructor(data?: PartialMessage<Get3DModelsResponse>);
|
|
981
|
+
|
|
982
|
+
static readonly runtime: typeof proto3;
|
|
983
|
+
static readonly typeName = "viam.common.v1.Get3DModelsResponse";
|
|
984
|
+
static readonly fields: FieldList;
|
|
985
|
+
|
|
986
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Get3DModelsResponse;
|
|
987
|
+
|
|
988
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Get3DModelsResponse;
|
|
989
|
+
|
|
990
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Get3DModelsResponse;
|
|
991
|
+
|
|
992
|
+
static equals(a: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined, b: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined): boolean;
|
|
993
|
+
}
|
|
994
|
+
|
|
936
995
|
/**
|
|
937
996
|
* @generated from message viam.common.v1.GetReadingsRequest
|
|
938
997
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* An ArmService services all arms associated with a robot
|
|
@@ -129,6 +129,17 @@ export declare const ArmService: {
|
|
|
129
129
|
readonly O: typeof GetGeometriesResponse,
|
|
130
130
|
readonly kind: MethodKind.Unary,
|
|
131
131
|
},
|
|
132
|
+
/**
|
|
133
|
+
* Get3DModels returns the 3D models of the component
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc viam.component.arm.v1.ArmService.Get3DModels
|
|
136
|
+
*/
|
|
137
|
+
readonly get3DModels: {
|
|
138
|
+
readonly name: "Get3DModels",
|
|
139
|
+
readonly I: typeof Get3DModelsRequest,
|
|
140
|
+
readonly O: typeof Get3DModelsResponse,
|
|
141
|
+
readonly kind: MethodKind.Unary,
|
|
142
|
+
},
|
|
132
143
|
}
|
|
133
144
|
};
|
|
134
145
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file service/video/v1/video.proto (package viam.service.video.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetVideoRequest, GetVideoResponse } from "./video_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* VideoService services video streaming and retrieval
|
|
12
|
+
*
|
|
13
|
+
* @generated from service viam.service.video.v1.VideoService
|
|
14
|
+
*/
|
|
15
|
+
export declare const VideoService: {
|
|
16
|
+
readonly typeName: "viam.service.video.v1.VideoService",
|
|
17
|
+
readonly methods: {
|
|
18
|
+
/**
|
|
19
|
+
* GetVideo retrieves a video for a given time range
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc viam.service.video.v1.VideoService.GetVideo
|
|
22
|
+
*/
|
|
23
|
+
readonly getVideo: {
|
|
24
|
+
readonly name: "GetVideo",
|
|
25
|
+
readonly I: typeof GetVideoRequest,
|
|
26
|
+
readonly O: typeof GetVideoResponse,
|
|
27
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* DoCommand sends/receives arbitrary commands
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc viam.service.video.v1.VideoService.DoCommand
|
|
33
|
+
*/
|
|
34
|
+
readonly doCommand: {
|
|
35
|
+
readonly name: "DoCommand",
|
|
36
|
+
readonly I: typeof DoCommandRequest,
|
|
37
|
+
readonly O: typeof DoCommandResponse,
|
|
38
|
+
readonly kind: MethodKind.Unary,
|
|
39
|
+
},
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
|