@viamrobotics/sdk 0.49.1 → 0.50.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/data-client.d.ts +2 -2
- package/dist/assert.d.ts +9 -0
- package/dist/components/camera/camera.d.ts +30 -1
- package/dist/components/camera/client.d.ts +9 -1
- package/dist/gen/common/v1/common_pb.d.ts +44 -0
- package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +62 -0
- package/dist/gen/service/worldstatestore/v1/world_state_store_pb.d.ts +224 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +5601 -5304
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +69 -38
- package/dist/rpc/signaling-exchange.d.ts +2 -2
- package/dist/services/world-state-store/client.d.ts +22 -0
- package/dist/services/world-state-store/client.spec.d.ts +1 -0
- package/dist/services/world-state-store/index.d.ts +5 -0
- package/dist/services/world-state-store/types.d.ts +9 -0
- package/dist/services/world-state-store/world-state-store.d.ts +76 -0
- package/dist/types.d.ts +2 -1
- package/package.json +2 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.475";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type JsonValue } from '@bufbuild/protobuf';
|
|
2
|
-
import { type
|
|
2
|
+
import { type Client, type Transport } from '@connectrpc/connect';
|
|
3
3
|
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
5
5
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
@@ -888,7 +888,7 @@ export declare class ListDataPipelineRunsPage {
|
|
|
888
888
|
readonly runs: DataPipelineRun[];
|
|
889
889
|
private readonly pageSize?;
|
|
890
890
|
private readonly nextPageToken?;
|
|
891
|
-
constructor(dataPipelinesClient:
|
|
891
|
+
constructor(dataPipelinesClient: Client<typeof DataPipelinesService>, pipelineId: string, runs?: DataPipelineRun[], pageSize?: number | undefined, nextPageToken?: string | undefined);
|
|
892
892
|
/**
|
|
893
893
|
* Retrieves the next page of data pipeline runs.
|
|
894
894
|
*
|
package/dist/assert.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Assertion functions for runtime and type safety. */
|
|
2
|
+
/**
|
|
3
|
+
* Assert that a value is defined.
|
|
4
|
+
*
|
|
5
|
+
* @example Const stringify = (value: number | undefined): number => {
|
|
6
|
+
* assertExists(value) return `${value}` // TS now knows that value is of type
|
|
7
|
+
* `number` }
|
|
8
|
+
*/
|
|
9
|
+
export declare const assertExists: <T>(value: T, message: string) => asserts value is NonNullable<T>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
|
+
import type { Timestamp } from '@bufbuild/protobuf';
|
|
2
3
|
import type { DistortionParameters, IntrinsicParameters } from '../../gen/component/camera/v1/camera_pb';
|
|
3
4
|
import type { Resource } from '../../types';
|
|
4
5
|
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
@@ -12,7 +13,15 @@ export interface Properties {
|
|
|
12
13
|
/** Camera frame rate parameters, if available. */
|
|
13
14
|
frameRate?: number;
|
|
14
15
|
}
|
|
15
|
-
export
|
|
16
|
+
export interface NamedImage {
|
|
17
|
+
sourceName: string;
|
|
18
|
+
image: Uint8Array;
|
|
19
|
+
mimeType: string;
|
|
20
|
+
}
|
|
21
|
+
export interface ResponseMetadata {
|
|
22
|
+
capturedAt: Timestamp;
|
|
23
|
+
}
|
|
24
|
+
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/vnd.viam.depth' | 'image/jpeg' | 'image/png' | 'pointcloud/pcd' | 'unsupported';
|
|
16
25
|
/** Represents any physical hardware that can capture frames. */
|
|
17
26
|
export interface Camera extends Resource {
|
|
18
27
|
/** Get the geometries of the component in their current configuration */
|
|
@@ -50,6 +59,26 @@ export interface Camera extends Resource {
|
|
|
50
59
|
* the same type that will be returned.
|
|
51
60
|
*/
|
|
52
61
|
getImage: (mimeType?: MimeType, extra?: Struct) => Promise<Uint8Array>;
|
|
62
|
+
/**
|
|
63
|
+
* Return a frame from a camera.
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
*
|
|
67
|
+
* ```ts
|
|
68
|
+
* const camera = new VIAM.CameraClient(machine, 'my_camera');
|
|
69
|
+
* const images = await camera.getImages();
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* TODO(docs): include docs link for get images TS example
|
|
73
|
+
*
|
|
74
|
+
* @param filterSourceNames - A list of source names to filter the images by.
|
|
75
|
+
* If empty or undefined, all images will be returned.
|
|
76
|
+
* @param extra - Extra parameters to pass to the camera.
|
|
77
|
+
*/
|
|
78
|
+
getImages: (filterSourceNames?: string[], extra?: Struct) => Promise<{
|
|
79
|
+
images: NamedImage[];
|
|
80
|
+
metadata: ResponseMetadata;
|
|
81
|
+
}>;
|
|
53
82
|
/**
|
|
54
83
|
* Render a frame from a camera to an HTTP response.
|
|
55
84
|
*
|
|
@@ -2,7 +2,7 @@ import { type JsonValue, Struct } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { CallOptions } from '@connectrpc/connect';
|
|
3
3
|
import type { RobotClient } from '../../robot';
|
|
4
4
|
import type { Options } from '../../types';
|
|
5
|
-
import type { Camera, MimeType } from './camera';
|
|
5
|
+
import type { Camera, MimeType, ResponseMetadata } from './camera';
|
|
6
6
|
/**
|
|
7
7
|
* A gRPC-web client for the Camera component.
|
|
8
8
|
*
|
|
@@ -16,6 +16,14 @@ export declare class CameraClient implements Camera {
|
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
18
18
|
getImage(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
19
|
+
getImages(filterSourceNames?: string[], extra?: {}, callOptions?: CallOptions): Promise<{
|
|
20
|
+
images: {
|
|
21
|
+
sourceName: string;
|
|
22
|
+
image: Uint8Array;
|
|
23
|
+
mimeType: string;
|
|
24
|
+
}[];
|
|
25
|
+
metadata: ResponseMetadata;
|
|
26
|
+
}>;
|
|
19
27
|
renderFrame(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Blob>;
|
|
20
28
|
getPointCloud(extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
21
29
|
getProperties(callOptions?: CallOptions): Promise<import("../../gen/component/camera/v1/camera_pb").GetPropertiesResponse>;
|
|
@@ -379,6 +379,30 @@ export declare class Mesh extends Message<Mesh> {
|
|
|
379
379
|
static equals(a: Mesh | PlainMessage<Mesh> | undefined, b: Mesh | PlainMessage<Mesh> | undefined): boolean;
|
|
380
380
|
}
|
|
381
381
|
|
|
382
|
+
/**
|
|
383
|
+
* @generated from message viam.common.v1.PointCloud
|
|
384
|
+
*/
|
|
385
|
+
export declare class PointCloud extends Message<PointCloud> {
|
|
386
|
+
/**
|
|
387
|
+
* @generated from field: bytes point_cloud = 1;
|
|
388
|
+
*/
|
|
389
|
+
pointCloud: Uint8Array;
|
|
390
|
+
|
|
391
|
+
constructor(data?: PartialMessage<PointCloud>);
|
|
392
|
+
|
|
393
|
+
static readonly runtime: typeof proto3;
|
|
394
|
+
static readonly typeName = "viam.common.v1.PointCloud";
|
|
395
|
+
static readonly fields: FieldList;
|
|
396
|
+
|
|
397
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PointCloud;
|
|
398
|
+
|
|
399
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PointCloud;
|
|
400
|
+
|
|
401
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PointCloud;
|
|
402
|
+
|
|
403
|
+
static equals(a: PointCloud | PlainMessage<PointCloud> | undefined, b: PointCloud | PlainMessage<PointCloud> | undefined): boolean;
|
|
404
|
+
}
|
|
405
|
+
|
|
382
406
|
/**
|
|
383
407
|
* Geometry contains the dimensions of a given geometry and the pose of its center. The geometry is one of either a sphere or a box.
|
|
384
408
|
*
|
|
@@ -421,6 +445,12 @@ export declare class Geometry extends Message<Geometry> {
|
|
|
421
445
|
*/
|
|
422
446
|
value: Mesh;
|
|
423
447
|
case: "mesh";
|
|
448
|
+
} | {
|
|
449
|
+
/**
|
|
450
|
+
* @generated from field: viam.common.v1.PointCloud pointcloud = 7;
|
|
451
|
+
*/
|
|
452
|
+
value: PointCloud;
|
|
453
|
+
case: "pointcloud";
|
|
424
454
|
} | { case: undefined; value?: undefined };
|
|
425
455
|
|
|
426
456
|
/**
|
|
@@ -608,6 +638,20 @@ export declare class Transform extends Message<Transform> {
|
|
|
608
638
|
*/
|
|
609
639
|
physicalObject?: Geometry;
|
|
610
640
|
|
|
641
|
+
/**
|
|
642
|
+
* The UUID of the transform
|
|
643
|
+
*
|
|
644
|
+
* @generated from field: bytes uuid = 4;
|
|
645
|
+
*/
|
|
646
|
+
uuid: Uint8Array;
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Can hold information like color, opacity, points colors, collision_allowed, etc...
|
|
650
|
+
*
|
|
651
|
+
* @generated from field: optional google.protobuf.Struct metadata = 5;
|
|
652
|
+
*/
|
|
653
|
+
metadata?: Struct;
|
|
654
|
+
|
|
611
655
|
constructor(data?: PartialMessage<Transform>);
|
|
612
656
|
|
|
613
657
|
static readonly runtime: typeof proto3;
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file service/worldstatestore/v1/world_state_store.proto (package viam.service.worldstatestore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetTransformRequest, GetTransformResponse, ListUUIDsRequest, ListUUIDsResponse, StreamTransformChangesRequest, StreamTransformChangesResponse } from "./world_state_store_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from service viam.service.worldstatestore.v1.WorldStateStoreService
|
|
12
|
+
*/
|
|
13
|
+
export declare const WorldStateStoreService: {
|
|
14
|
+
readonly typeName: "viam.service.worldstatestore.v1.WorldStateStoreService",
|
|
15
|
+
readonly methods: {
|
|
16
|
+
/**
|
|
17
|
+
* ListUUIDs returns all world state transform UUIDs
|
|
18
|
+
*
|
|
19
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.ListUUIDs
|
|
20
|
+
*/
|
|
21
|
+
readonly listUUIDs: {
|
|
22
|
+
readonly name: "ListUUIDs",
|
|
23
|
+
readonly I: typeof ListUUIDsRequest,
|
|
24
|
+
readonly O: typeof ListUUIDsResponse,
|
|
25
|
+
readonly kind: MethodKind.Unary,
|
|
26
|
+
},
|
|
27
|
+
/**
|
|
28
|
+
* GetTransform returns a world state transform by uuid
|
|
29
|
+
*
|
|
30
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.GetTransform
|
|
31
|
+
*/
|
|
32
|
+
readonly getTransform: {
|
|
33
|
+
readonly name: "GetTransform",
|
|
34
|
+
readonly I: typeof GetTransformRequest,
|
|
35
|
+
readonly O: typeof GetTransformResponse,
|
|
36
|
+
readonly kind: MethodKind.Unary,
|
|
37
|
+
},
|
|
38
|
+
/**
|
|
39
|
+
* StreamTransformChanges streams changes to world state transforms
|
|
40
|
+
*
|
|
41
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.StreamTransformChanges
|
|
42
|
+
*/
|
|
43
|
+
readonly streamTransformChanges: {
|
|
44
|
+
readonly name: "StreamTransformChanges",
|
|
45
|
+
readonly I: typeof StreamTransformChangesRequest,
|
|
46
|
+
readonly O: typeof StreamTransformChangesResponse,
|
|
47
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
48
|
+
},
|
|
49
|
+
/**
|
|
50
|
+
* DoCommand sends/receives arbitrary commands
|
|
51
|
+
*
|
|
52
|
+
* @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.DoCommand
|
|
53
|
+
*/
|
|
54
|
+
readonly doCommand: {
|
|
55
|
+
readonly name: "DoCommand",
|
|
56
|
+
readonly I: typeof DoCommandRequest,
|
|
57
|
+
readonly O: typeof DoCommandResponse,
|
|
58
|
+
readonly kind: MethodKind.Unary,
|
|
59
|
+
},
|
|
60
|
+
}
|
|
61
|
+
};
|
|
62
|
+
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file service/worldstatestore/v1/world_state_store.proto (package viam.service.worldstatestore.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, FieldMask, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { Transform } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from enum viam.service.worldstatestore.v1.TransformChangeType
|
|
12
|
+
*/
|
|
13
|
+
export declare enum TransformChangeType {
|
|
14
|
+
/**
|
|
15
|
+
* @generated from enum value: TRANSFORM_CHANGE_TYPE_UNSPECIFIED = 0;
|
|
16
|
+
*/
|
|
17
|
+
UNSPECIFIED = 0,
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @generated from enum value: TRANSFORM_CHANGE_TYPE_ADDED = 1;
|
|
21
|
+
*/
|
|
22
|
+
ADDED = 1,
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* @generated from enum value: TRANSFORM_CHANGE_TYPE_REMOVED = 2;
|
|
26
|
+
*/
|
|
27
|
+
REMOVED = 2,
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from enum value: TRANSFORM_CHANGE_TYPE_UPDATED = 3;
|
|
31
|
+
*/
|
|
32
|
+
UPDATED = 3,
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* @generated from message viam.service.worldstatestore.v1.ListUUIDsRequest
|
|
37
|
+
*/
|
|
38
|
+
export declare class ListUUIDsRequest extends Message<ListUUIDsRequest> {
|
|
39
|
+
/**
|
|
40
|
+
* Name of the world object store service
|
|
41
|
+
*
|
|
42
|
+
* @generated from field: string name = 1;
|
|
43
|
+
*/
|
|
44
|
+
name: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Additional arguments to the method
|
|
48
|
+
*
|
|
49
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
50
|
+
*/
|
|
51
|
+
extra?: Struct;
|
|
52
|
+
|
|
53
|
+
constructor(data?: PartialMessage<ListUUIDsRequest>);
|
|
54
|
+
|
|
55
|
+
static readonly runtime: typeof proto3;
|
|
56
|
+
static readonly typeName = "viam.service.worldstatestore.v1.ListUUIDsRequest";
|
|
57
|
+
static readonly fields: FieldList;
|
|
58
|
+
|
|
59
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUUIDsRequest;
|
|
60
|
+
|
|
61
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUUIDsRequest;
|
|
62
|
+
|
|
63
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUUIDsRequest;
|
|
64
|
+
|
|
65
|
+
static equals(a: ListUUIDsRequest | PlainMessage<ListUUIDsRequest> | undefined, b: ListUUIDsRequest | PlainMessage<ListUUIDsRequest> | undefined): boolean;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message viam.service.worldstatestore.v1.ListUUIDsResponse
|
|
70
|
+
*/
|
|
71
|
+
export declare class ListUUIDsResponse extends Message<ListUUIDsResponse> {
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: repeated bytes uuids = 1;
|
|
74
|
+
*/
|
|
75
|
+
uuids: Uint8Array[];
|
|
76
|
+
|
|
77
|
+
constructor(data?: PartialMessage<ListUUIDsResponse>);
|
|
78
|
+
|
|
79
|
+
static readonly runtime: typeof proto3;
|
|
80
|
+
static readonly typeName = "viam.service.worldstatestore.v1.ListUUIDsResponse";
|
|
81
|
+
static readonly fields: FieldList;
|
|
82
|
+
|
|
83
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListUUIDsResponse;
|
|
84
|
+
|
|
85
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListUUIDsResponse;
|
|
86
|
+
|
|
87
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListUUIDsResponse;
|
|
88
|
+
|
|
89
|
+
static equals(a: ListUUIDsResponse | PlainMessage<ListUUIDsResponse> | undefined, b: ListUUIDsResponse | PlainMessage<ListUUIDsResponse> | undefined): boolean;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from message viam.service.worldstatestore.v1.GetTransformRequest
|
|
94
|
+
*/
|
|
95
|
+
export declare class GetTransformRequest extends Message<GetTransformRequest> {
|
|
96
|
+
/**
|
|
97
|
+
* Name of the world object store service
|
|
98
|
+
*
|
|
99
|
+
* @generated from field: string name = 1;
|
|
100
|
+
*/
|
|
101
|
+
name: string;
|
|
102
|
+
|
|
103
|
+
/**
|
|
104
|
+
* @generated from field: bytes uuid = 2;
|
|
105
|
+
*/
|
|
106
|
+
uuid: Uint8Array;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Additional arguments to the method
|
|
110
|
+
*
|
|
111
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
112
|
+
*/
|
|
113
|
+
extra?: Struct;
|
|
114
|
+
|
|
115
|
+
constructor(data?: PartialMessage<GetTransformRequest>);
|
|
116
|
+
|
|
117
|
+
static readonly runtime: typeof proto3;
|
|
118
|
+
static readonly typeName = "viam.service.worldstatestore.v1.GetTransformRequest";
|
|
119
|
+
static readonly fields: FieldList;
|
|
120
|
+
|
|
121
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTransformRequest;
|
|
122
|
+
|
|
123
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTransformRequest;
|
|
124
|
+
|
|
125
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTransformRequest;
|
|
126
|
+
|
|
127
|
+
static equals(a: GetTransformRequest | PlainMessage<GetTransformRequest> | undefined, b: GetTransformRequest | PlainMessage<GetTransformRequest> | undefined): boolean;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from message viam.service.worldstatestore.v1.GetTransformResponse
|
|
132
|
+
*/
|
|
133
|
+
export declare class GetTransformResponse extends Message<GetTransformResponse> {
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: viam.common.v1.Transform transform = 2;
|
|
136
|
+
*/
|
|
137
|
+
transform?: Transform;
|
|
138
|
+
|
|
139
|
+
constructor(data?: PartialMessage<GetTransformResponse>);
|
|
140
|
+
|
|
141
|
+
static readonly runtime: typeof proto3;
|
|
142
|
+
static readonly typeName = "viam.service.worldstatestore.v1.GetTransformResponse";
|
|
143
|
+
static readonly fields: FieldList;
|
|
144
|
+
|
|
145
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetTransformResponse;
|
|
146
|
+
|
|
147
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetTransformResponse;
|
|
148
|
+
|
|
149
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetTransformResponse;
|
|
150
|
+
|
|
151
|
+
static equals(a: GetTransformResponse | PlainMessage<GetTransformResponse> | undefined, b: GetTransformResponse | PlainMessage<GetTransformResponse> | undefined): boolean;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message viam.service.worldstatestore.v1.StreamTransformChangesRequest
|
|
156
|
+
*/
|
|
157
|
+
export declare class StreamTransformChangesRequest extends Message<StreamTransformChangesRequest> {
|
|
158
|
+
/**
|
|
159
|
+
* Name of the world object store service
|
|
160
|
+
*
|
|
161
|
+
* @generated from field: string name = 1;
|
|
162
|
+
*/
|
|
163
|
+
name: string;
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Additional arguments to the method
|
|
167
|
+
*
|
|
168
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
169
|
+
*/
|
|
170
|
+
extra?: Struct;
|
|
171
|
+
|
|
172
|
+
constructor(data?: PartialMessage<StreamTransformChangesRequest>);
|
|
173
|
+
|
|
174
|
+
static readonly runtime: typeof proto3;
|
|
175
|
+
static readonly typeName = "viam.service.worldstatestore.v1.StreamTransformChangesRequest";
|
|
176
|
+
static readonly fields: FieldList;
|
|
177
|
+
|
|
178
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTransformChangesRequest;
|
|
179
|
+
|
|
180
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTransformChangesRequest;
|
|
181
|
+
|
|
182
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTransformChangesRequest;
|
|
183
|
+
|
|
184
|
+
static equals(a: StreamTransformChangesRequest | PlainMessage<StreamTransformChangesRequest> | undefined, b: StreamTransformChangesRequest | PlainMessage<StreamTransformChangesRequest> | undefined): boolean;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* @generated from message viam.service.worldstatestore.v1.StreamTransformChangesResponse
|
|
189
|
+
*/
|
|
190
|
+
export declare class StreamTransformChangesResponse extends Message<StreamTransformChangesResponse> {
|
|
191
|
+
/**
|
|
192
|
+
* @generated from field: viam.service.worldstatestore.v1.TransformChangeType change_type = 1;
|
|
193
|
+
*/
|
|
194
|
+
changeType: TransformChangeType;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from field: viam.common.v1.Transform transform = 2;
|
|
198
|
+
*/
|
|
199
|
+
transform?: Transform;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* The field mask of the transform that has changed, if any. For added transforms, this will be empty. For updated
|
|
203
|
+
* transforms, this will be the fields that have changed. For removed transforms, this will be the transform's UUID
|
|
204
|
+
* path.
|
|
205
|
+
*
|
|
206
|
+
* @generated from field: google.protobuf.FieldMask updated_fields = 3;
|
|
207
|
+
*/
|
|
208
|
+
updatedFields?: FieldMask;
|
|
209
|
+
|
|
210
|
+
constructor(data?: PartialMessage<StreamTransformChangesResponse>);
|
|
211
|
+
|
|
212
|
+
static readonly runtime: typeof proto3;
|
|
213
|
+
static readonly typeName = "viam.service.worldstatestore.v1.StreamTransformChangesResponse";
|
|
214
|
+
static readonly fields: FieldList;
|
|
215
|
+
|
|
216
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): StreamTransformChangesResponse;
|
|
217
|
+
|
|
218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): StreamTransformChangesResponse;
|
|
219
|
+
|
|
220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): StreamTransformChangesResponse;
|
|
221
|
+
|
|
222
|
+
static equals(a: StreamTransformChangesResponse | PlainMessage<StreamTransformChangesResponse> | undefined, b: StreamTransformChangesResponse | PlainMessage<StreamTransformChangesResponse> | undefined): boolean;
|
|
223
|
+
}
|
|
224
|
+
|
package/dist/main.d.ts
CHANGED
|
@@ -293,6 +293,7 @@ export { Classification, Detection, PointCloudObject, VisionClient, } from './se
|
|
|
293
293
|
* @group Raw Protobufs
|
|
294
294
|
*/
|
|
295
295
|
export * as visionApi from './gen/service/vision/v1/vision_pb';
|
|
296
|
+
export * from './services/world-state-store';
|
|
296
297
|
export { GenericClient as GenericServiceClient, type Generic as GenericService, } from './services/generic';
|
|
297
298
|
/**
|
|
298
299
|
* Raw Protobuf interfaces for a Generic service.
|