@viamrobotics/sdk 0.49.0 → 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/constants.d.ts +1 -1
- package/dist/gen/app/data/v1/data_connect.d.ts +4 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +8 -0
- package/dist/gen/common/v1/common_pb.d.ts +44 -0
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +71 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +41 -2
- 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 +5775 -5389
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +121 -37
- package/dist/robot/dial.d.ts +1 -46
- package/dist/robot/robot.d.ts +1 -2
- package/dist/robot/session-manager.d.ts +2 -1
- package/dist/robot.d.ts +2 -2
- package/dist/rpc/signaling-exchange.d.ts +2 -2
- package/dist/services/data-manager/client.d.ts +27 -0
- package/dist/services/data-manager/data-manager.d.ts +2 -0
- package/dist/services/motion/types.d.ts +2 -1
- 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
|
@@ -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.
|