@viamrobotics/sdk 0.37.0 → 0.38.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 +2 -2
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +58 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +50 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +15 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +5 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +5 -0
- package/dist/gen/app/v1/app_connect.d.ts +21 -1
- package/dist/gen/app/v1/app_pb.d.ts +418 -23
- package/dist/gen/common/v1/common_pb.d.ts +40 -1
- package/dist/gen/grpc/reflection/v1/reflection_connect.d.ts +50 -0
- package/dist/gen/grpc/reflection/v1/reflection_pb.d.ts +384 -0
- package/dist/gen/robot/v1/robot_connect.d.ts +12 -14
- package/dist/gen/robot/v1/robot_pb.d.ts +72 -115
- package/dist/gen/service/vision/v1/vision_pb.d.ts +22 -0
- package/dist/main.es.js +5009 -4487
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +7 -8
- package/dist/robot/robot.d.ts +2 -12
- package/dist/robot/session-manager.d.ts +5 -1
- package/dist/robot/session-transport.d.ts +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
// Copyright 2016 The gRPC Authors
|
|
2
|
+
//
|
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
// you may not use this file except in compliance with the License.
|
|
5
|
+
// You may obtain a copy of the License at
|
|
6
|
+
//
|
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
//
|
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
// See the License for the specific language governing permissions and
|
|
13
|
+
// limitations under the License.
|
|
14
|
+
|
|
15
|
+
// Service exported by server reflection. A more complete description of how
|
|
16
|
+
// server reflection works can be found at
|
|
17
|
+
// https://github.com/grpc/grpc/blob/master/doc/server-reflection.md
|
|
18
|
+
//
|
|
19
|
+
// The canonical version of this proto can be found at
|
|
20
|
+
// https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1/reflection.proto
|
|
21
|
+
|
|
22
|
+
// @generated by protoc-gen-es v1.10.0
|
|
23
|
+
// @generated from file grpc/reflection/v1/reflection.proto (package grpc.reflection.v1, syntax proto3)
|
|
24
|
+
/* eslint-disable */
|
|
25
|
+
// @ts-nocheck
|
|
26
|
+
|
|
27
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
28
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* The message sent by the client when calling ServerReflectionInfo method.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message grpc.reflection.v1.ServerReflectionRequest
|
|
34
|
+
*/
|
|
35
|
+
export declare class ServerReflectionRequest extends Message<ServerReflectionRequest> {
|
|
36
|
+
/**
|
|
37
|
+
* @generated from field: string host = 1;
|
|
38
|
+
*/
|
|
39
|
+
host: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* To use reflection service, the client should set one of the following
|
|
43
|
+
* fields in message_request. The server distinguishes requests by their
|
|
44
|
+
* defined field and then handles them using corresponding methods.
|
|
45
|
+
*
|
|
46
|
+
* @generated from oneof grpc.reflection.v1.ServerReflectionRequest.message_request
|
|
47
|
+
*/
|
|
48
|
+
messageRequest: {
|
|
49
|
+
/**
|
|
50
|
+
* Find a proto file by the file name.
|
|
51
|
+
*
|
|
52
|
+
* @generated from field: string file_by_filename = 3;
|
|
53
|
+
*/
|
|
54
|
+
value: string;
|
|
55
|
+
case: "fileByFilename";
|
|
56
|
+
} | {
|
|
57
|
+
/**
|
|
58
|
+
* Find the proto file that declares the given fully-qualified symbol name.
|
|
59
|
+
* This field should be a fully-qualified symbol name
|
|
60
|
+
* (e.g. <package>.<service>[.<method>] or <package>.<type>).
|
|
61
|
+
*
|
|
62
|
+
* @generated from field: string file_containing_symbol = 4;
|
|
63
|
+
*/
|
|
64
|
+
value: string;
|
|
65
|
+
case: "fileContainingSymbol";
|
|
66
|
+
} | {
|
|
67
|
+
/**
|
|
68
|
+
* Find the proto file which defines an extension extending the given
|
|
69
|
+
* message type with the given field number.
|
|
70
|
+
*
|
|
71
|
+
* @generated from field: grpc.reflection.v1.ExtensionRequest file_containing_extension = 5;
|
|
72
|
+
*/
|
|
73
|
+
value: ExtensionRequest;
|
|
74
|
+
case: "fileContainingExtension";
|
|
75
|
+
} | {
|
|
76
|
+
/**
|
|
77
|
+
* Finds the tag numbers used by all known extensions of the given message
|
|
78
|
+
* type, and appends them to ExtensionNumberResponse in an undefined order.
|
|
79
|
+
* Its corresponding method is best-effort: it's not guaranteed that the
|
|
80
|
+
* reflection service will implement this method, and it's not guaranteed
|
|
81
|
+
* that this method will provide all extensions. Returns
|
|
82
|
+
* StatusCode::UNIMPLEMENTED if it's not implemented.
|
|
83
|
+
* This field should be a fully-qualified type name. The format is
|
|
84
|
+
* <package>.<type>
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: string all_extension_numbers_of_type = 6;
|
|
87
|
+
*/
|
|
88
|
+
value: string;
|
|
89
|
+
case: "allExtensionNumbersOfType";
|
|
90
|
+
} | {
|
|
91
|
+
/**
|
|
92
|
+
* List the full names of registered services. The content will not be
|
|
93
|
+
* checked.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: string list_services = 7;
|
|
96
|
+
*/
|
|
97
|
+
value: string;
|
|
98
|
+
case: "listServices";
|
|
99
|
+
} | { case: undefined; value?: undefined };
|
|
100
|
+
|
|
101
|
+
constructor(data?: PartialMessage<ServerReflectionRequest>);
|
|
102
|
+
|
|
103
|
+
static readonly runtime: typeof proto3;
|
|
104
|
+
static readonly typeName = "grpc.reflection.v1.ServerReflectionRequest";
|
|
105
|
+
static readonly fields: FieldList;
|
|
106
|
+
|
|
107
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerReflectionRequest;
|
|
108
|
+
|
|
109
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerReflectionRequest;
|
|
110
|
+
|
|
111
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerReflectionRequest;
|
|
112
|
+
|
|
113
|
+
static equals(a: ServerReflectionRequest | PlainMessage<ServerReflectionRequest> | undefined, b: ServerReflectionRequest | PlainMessage<ServerReflectionRequest> | undefined): boolean;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* The type name and extension number sent by the client when requesting
|
|
118
|
+
* file_containing_extension.
|
|
119
|
+
*
|
|
120
|
+
* @generated from message grpc.reflection.v1.ExtensionRequest
|
|
121
|
+
*/
|
|
122
|
+
export declare class ExtensionRequest extends Message<ExtensionRequest> {
|
|
123
|
+
/**
|
|
124
|
+
* Fully-qualified type name. The format should be <package>.<type>
|
|
125
|
+
*
|
|
126
|
+
* @generated from field: string containing_type = 1;
|
|
127
|
+
*/
|
|
128
|
+
containingType: string;
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: int32 extension_number = 2;
|
|
132
|
+
*/
|
|
133
|
+
extensionNumber: number;
|
|
134
|
+
|
|
135
|
+
constructor(data?: PartialMessage<ExtensionRequest>);
|
|
136
|
+
|
|
137
|
+
static readonly runtime: typeof proto3;
|
|
138
|
+
static readonly typeName = "grpc.reflection.v1.ExtensionRequest";
|
|
139
|
+
static readonly fields: FieldList;
|
|
140
|
+
|
|
141
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExtensionRequest;
|
|
142
|
+
|
|
143
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExtensionRequest;
|
|
144
|
+
|
|
145
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtensionRequest;
|
|
146
|
+
|
|
147
|
+
static equals(a: ExtensionRequest | PlainMessage<ExtensionRequest> | undefined, b: ExtensionRequest | PlainMessage<ExtensionRequest> | undefined): boolean;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* The message sent by the server to answer ServerReflectionInfo method.
|
|
152
|
+
*
|
|
153
|
+
* @generated from message grpc.reflection.v1.ServerReflectionResponse
|
|
154
|
+
*/
|
|
155
|
+
export declare class ServerReflectionResponse extends Message<ServerReflectionResponse> {
|
|
156
|
+
/**
|
|
157
|
+
* @generated from field: string valid_host = 1;
|
|
158
|
+
*/
|
|
159
|
+
validHost: string;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: grpc.reflection.v1.ServerReflectionRequest original_request = 2;
|
|
163
|
+
*/
|
|
164
|
+
originalRequest?: ServerReflectionRequest;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* The server sets one of the following fields according to the message_request
|
|
168
|
+
* in the request.
|
|
169
|
+
*
|
|
170
|
+
* @generated from oneof grpc.reflection.v1.ServerReflectionResponse.message_response
|
|
171
|
+
*/
|
|
172
|
+
messageResponse: {
|
|
173
|
+
/**
|
|
174
|
+
* This message is used to answer file_by_filename, file_containing_symbol,
|
|
175
|
+
* file_containing_extension requests with transitive dependencies.
|
|
176
|
+
* As the repeated label is not allowed in oneof fields, we use a
|
|
177
|
+
* FileDescriptorResponse message to encapsulate the repeated fields.
|
|
178
|
+
* The reflection service is allowed to avoid sending FileDescriptorProtos
|
|
179
|
+
* that were previously sent in response to earlier requests in the stream.
|
|
180
|
+
*
|
|
181
|
+
* @generated from field: grpc.reflection.v1.FileDescriptorResponse file_descriptor_response = 4;
|
|
182
|
+
*/
|
|
183
|
+
value: FileDescriptorResponse;
|
|
184
|
+
case: "fileDescriptorResponse";
|
|
185
|
+
} | {
|
|
186
|
+
/**
|
|
187
|
+
* This message is used to answer all_extension_numbers_of_type requests.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: grpc.reflection.v1.ExtensionNumberResponse all_extension_numbers_response = 5;
|
|
190
|
+
*/
|
|
191
|
+
value: ExtensionNumberResponse;
|
|
192
|
+
case: "allExtensionNumbersResponse";
|
|
193
|
+
} | {
|
|
194
|
+
/**
|
|
195
|
+
* This message is used to answer list_services requests.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: grpc.reflection.v1.ListServiceResponse list_services_response = 6;
|
|
198
|
+
*/
|
|
199
|
+
value: ListServiceResponse;
|
|
200
|
+
case: "listServicesResponse";
|
|
201
|
+
} | {
|
|
202
|
+
/**
|
|
203
|
+
* This message is used when an error occurs.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: grpc.reflection.v1.ErrorResponse error_response = 7;
|
|
206
|
+
*/
|
|
207
|
+
value: ErrorResponse;
|
|
208
|
+
case: "errorResponse";
|
|
209
|
+
} | { case: undefined; value?: undefined };
|
|
210
|
+
|
|
211
|
+
constructor(data?: PartialMessage<ServerReflectionResponse>);
|
|
212
|
+
|
|
213
|
+
static readonly runtime: typeof proto3;
|
|
214
|
+
static readonly typeName = "grpc.reflection.v1.ServerReflectionResponse";
|
|
215
|
+
static readonly fields: FieldList;
|
|
216
|
+
|
|
217
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerReflectionResponse;
|
|
218
|
+
|
|
219
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerReflectionResponse;
|
|
220
|
+
|
|
221
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerReflectionResponse;
|
|
222
|
+
|
|
223
|
+
static equals(a: ServerReflectionResponse | PlainMessage<ServerReflectionResponse> | undefined, b: ServerReflectionResponse | PlainMessage<ServerReflectionResponse> | undefined): boolean;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Serialized FileDescriptorProto messages sent by the server answering
|
|
228
|
+
* a file_by_filename, file_containing_symbol, or file_containing_extension
|
|
229
|
+
* request.
|
|
230
|
+
*
|
|
231
|
+
* @generated from message grpc.reflection.v1.FileDescriptorResponse
|
|
232
|
+
*/
|
|
233
|
+
export declare class FileDescriptorResponse extends Message<FileDescriptorResponse> {
|
|
234
|
+
/**
|
|
235
|
+
* Serialized FileDescriptorProto messages. We avoid taking a dependency on
|
|
236
|
+
* descriptor.proto, which uses proto2 only features, by making them opaque
|
|
237
|
+
* bytes instead.
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: repeated bytes file_descriptor_proto = 1;
|
|
240
|
+
*/
|
|
241
|
+
fileDescriptorProto: Uint8Array[];
|
|
242
|
+
|
|
243
|
+
constructor(data?: PartialMessage<FileDescriptorResponse>);
|
|
244
|
+
|
|
245
|
+
static readonly runtime: typeof proto3;
|
|
246
|
+
static readonly typeName = "grpc.reflection.v1.FileDescriptorResponse";
|
|
247
|
+
static readonly fields: FieldList;
|
|
248
|
+
|
|
249
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileDescriptorResponse;
|
|
250
|
+
|
|
251
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileDescriptorResponse;
|
|
252
|
+
|
|
253
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileDescriptorResponse;
|
|
254
|
+
|
|
255
|
+
static equals(a: FileDescriptorResponse | PlainMessage<FileDescriptorResponse> | undefined, b: FileDescriptorResponse | PlainMessage<FileDescriptorResponse> | undefined): boolean;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* A list of extension numbers sent by the server answering
|
|
260
|
+
* all_extension_numbers_of_type request.
|
|
261
|
+
*
|
|
262
|
+
* @generated from message grpc.reflection.v1.ExtensionNumberResponse
|
|
263
|
+
*/
|
|
264
|
+
export declare class ExtensionNumberResponse extends Message<ExtensionNumberResponse> {
|
|
265
|
+
/**
|
|
266
|
+
* Full name of the base type, including the package name. The format
|
|
267
|
+
* is <package>.<type>
|
|
268
|
+
*
|
|
269
|
+
* @generated from field: string base_type_name = 1;
|
|
270
|
+
*/
|
|
271
|
+
baseTypeName: string;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: repeated int32 extension_number = 2;
|
|
275
|
+
*/
|
|
276
|
+
extensionNumber: number[];
|
|
277
|
+
|
|
278
|
+
constructor(data?: PartialMessage<ExtensionNumberResponse>);
|
|
279
|
+
|
|
280
|
+
static readonly runtime: typeof proto3;
|
|
281
|
+
static readonly typeName = "grpc.reflection.v1.ExtensionNumberResponse";
|
|
282
|
+
static readonly fields: FieldList;
|
|
283
|
+
|
|
284
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExtensionNumberResponse;
|
|
285
|
+
|
|
286
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExtensionNumberResponse;
|
|
287
|
+
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtensionNumberResponse;
|
|
289
|
+
|
|
290
|
+
static equals(a: ExtensionNumberResponse | PlainMessage<ExtensionNumberResponse> | undefined, b: ExtensionNumberResponse | PlainMessage<ExtensionNumberResponse> | undefined): boolean;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
/**
|
|
294
|
+
* A list of ServiceResponse sent by the server answering list_services request.
|
|
295
|
+
*
|
|
296
|
+
* @generated from message grpc.reflection.v1.ListServiceResponse
|
|
297
|
+
*/
|
|
298
|
+
export declare class ListServiceResponse extends Message<ListServiceResponse> {
|
|
299
|
+
/**
|
|
300
|
+
* The information of each service may be expanded in the future, so we use
|
|
301
|
+
* ServiceResponse message to encapsulate it.
|
|
302
|
+
*
|
|
303
|
+
* @generated from field: repeated grpc.reflection.v1.ServiceResponse service = 1;
|
|
304
|
+
*/
|
|
305
|
+
service: ServiceResponse[];
|
|
306
|
+
|
|
307
|
+
constructor(data?: PartialMessage<ListServiceResponse>);
|
|
308
|
+
|
|
309
|
+
static readonly runtime: typeof proto3;
|
|
310
|
+
static readonly typeName = "grpc.reflection.v1.ListServiceResponse";
|
|
311
|
+
static readonly fields: FieldList;
|
|
312
|
+
|
|
313
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListServiceResponse;
|
|
314
|
+
|
|
315
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListServiceResponse;
|
|
316
|
+
|
|
317
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListServiceResponse;
|
|
318
|
+
|
|
319
|
+
static equals(a: ListServiceResponse | PlainMessage<ListServiceResponse> | undefined, b: ListServiceResponse | PlainMessage<ListServiceResponse> | undefined): boolean;
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The information of a single service used by ListServiceResponse to answer
|
|
324
|
+
* list_services request.
|
|
325
|
+
*
|
|
326
|
+
* @generated from message grpc.reflection.v1.ServiceResponse
|
|
327
|
+
*/
|
|
328
|
+
export declare class ServiceResponse extends Message<ServiceResponse> {
|
|
329
|
+
/**
|
|
330
|
+
* Full name of a registered service, including its package name. The format
|
|
331
|
+
* is <package>.<service>
|
|
332
|
+
*
|
|
333
|
+
* @generated from field: string name = 1;
|
|
334
|
+
*/
|
|
335
|
+
name: string;
|
|
336
|
+
|
|
337
|
+
constructor(data?: PartialMessage<ServiceResponse>);
|
|
338
|
+
|
|
339
|
+
static readonly runtime: typeof proto3;
|
|
340
|
+
static readonly typeName = "grpc.reflection.v1.ServiceResponse";
|
|
341
|
+
static readonly fields: FieldList;
|
|
342
|
+
|
|
343
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceResponse;
|
|
344
|
+
|
|
345
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceResponse;
|
|
346
|
+
|
|
347
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceResponse;
|
|
348
|
+
|
|
349
|
+
static equals(a: ServiceResponse | PlainMessage<ServiceResponse> | undefined, b: ServiceResponse | PlainMessage<ServiceResponse> | undefined): boolean;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* The error code and error message sent by the server when an error occurs.
|
|
354
|
+
*
|
|
355
|
+
* @generated from message grpc.reflection.v1.ErrorResponse
|
|
356
|
+
*/
|
|
357
|
+
export declare class ErrorResponse extends Message<ErrorResponse> {
|
|
358
|
+
/**
|
|
359
|
+
* This field uses the error codes defined in grpc::StatusCode.
|
|
360
|
+
*
|
|
361
|
+
* @generated from field: int32 error_code = 1;
|
|
362
|
+
*/
|
|
363
|
+
errorCode: number;
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* @generated from field: string error_message = 2;
|
|
367
|
+
*/
|
|
368
|
+
errorMessage: string;
|
|
369
|
+
|
|
370
|
+
constructor(data?: PartialMessage<ErrorResponse>);
|
|
371
|
+
|
|
372
|
+
static readonly runtime: typeof proto3;
|
|
373
|
+
static readonly typeName = "grpc.reflection.v1.ErrorResponse";
|
|
374
|
+
static readonly fields: FieldList;
|
|
375
|
+
|
|
376
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ErrorResponse;
|
|
377
|
+
|
|
378
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ErrorResponse;
|
|
379
|
+
|
|
380
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ErrorResponse;
|
|
381
|
+
|
|
382
|
+
static equals(a: ErrorResponse | PlainMessage<ErrorResponse> | undefined, b: ErrorResponse | PlainMessage<ErrorResponse> | undefined): boolean;
|
|
383
|
+
}
|
|
384
|
+
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse,
|
|
6
|
+
import { BlockForOperationRequest, BlockForOperationResponse, CancelOperationRequest, CancelOperationResponse, FrameSystemConfigRequest, FrameSystemConfigResponse, GetCloudMetadataRequest, GetCloudMetadataResponse, GetMachineStatusRequest, GetMachineStatusResponse, GetModelsFromModulesRequest, GetModelsFromModulesResponse, GetOperationsRequest, GetOperationsResponse, GetSessionsRequest, GetSessionsResponse, GetStatusRequest, GetStatusResponse, GetVersionRequest, GetVersionResponse, ListTunnelsRequest, ListTunnelsResponse, LogRequest, LogResponse, ResourceNamesRequest, ResourceNamesResponse, ResourceRPCSubtypesRequest, ResourceRPCSubtypesResponse, RestartModuleRequest, RestartModuleResponse, SendSessionHeartbeatRequest, SendSessionHeartbeatResponse, ShutdownRequest, ShutdownResponse, StartSessionRequest, StartSessionResponse, StopAllRequest, StopAllResponse, StreamStatusRequest, StreamStatusResponse, TransformPCDRequest, TransformPCDResponse, TransformPoseRequest, TransformPoseResponse, TunnelRequest, TunnelResponse } from "./robot_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -83,19 +83,6 @@ export declare const RobotService: {
|
|
|
83
83
|
readonly O: typeof GetModelsFromModulesResponse,
|
|
84
84
|
readonly kind: MethodKind.Unary,
|
|
85
85
|
},
|
|
86
|
-
/**
|
|
87
|
-
* DiscoverComponents returns the list of discovered component configurations.
|
|
88
|
-
* This API is deprecated
|
|
89
|
-
*
|
|
90
|
-
* @generated from rpc viam.robot.v1.RobotService.DiscoverComponents
|
|
91
|
-
* @deprecated
|
|
92
|
-
*/
|
|
93
|
-
readonly discoverComponents: {
|
|
94
|
-
readonly name: "DiscoverComponents",
|
|
95
|
-
readonly I: typeof DiscoverComponentsRequest,
|
|
96
|
-
readonly O: typeof DiscoverComponentsResponse,
|
|
97
|
-
readonly kind: MethodKind.Unary,
|
|
98
|
-
},
|
|
99
86
|
/**
|
|
100
87
|
* @generated from rpc viam.robot.v1.RobotService.FrameSystemConfig
|
|
101
88
|
*/
|
|
@@ -258,6 +245,17 @@ export declare const RobotService: {
|
|
|
258
245
|
readonly O: typeof TunnelResponse,
|
|
259
246
|
readonly kind: MethodKind.BiDiStreaming,
|
|
260
247
|
},
|
|
248
|
+
/**
|
|
249
|
+
* ListTunnels lists all available tunnels configured on the robot.
|
|
250
|
+
*
|
|
251
|
+
* @generated from rpc viam.robot.v1.RobotService.ListTunnels
|
|
252
|
+
*/
|
|
253
|
+
readonly listTunnels: {
|
|
254
|
+
readonly name: "ListTunnels",
|
|
255
|
+
readonly I: typeof ListTunnelsRequest,
|
|
256
|
+
readonly O: typeof ListTunnelsResponse,
|
|
257
|
+
readonly kind: MethodKind.Unary,
|
|
258
|
+
},
|
|
261
259
|
}
|
|
262
260
|
};
|
|
263
261
|
|
|
@@ -80,6 +80,78 @@ export declare class TunnelResponse extends Message<TunnelResponse> {
|
|
|
80
80
|
static equals(a: TunnelResponse | PlainMessage<TunnelResponse> | undefined, b: TunnelResponse | PlainMessage<TunnelResponse> | undefined): boolean;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
+
/**
|
|
84
|
+
* @generated from message viam.robot.v1.ListTunnelsRequest
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListTunnelsRequest extends Message<ListTunnelsRequest> {
|
|
87
|
+
constructor(data?: PartialMessage<ListTunnelsRequest>);
|
|
88
|
+
|
|
89
|
+
static readonly runtime: typeof proto3;
|
|
90
|
+
static readonly typeName = "viam.robot.v1.ListTunnelsRequest";
|
|
91
|
+
static readonly fields: FieldList;
|
|
92
|
+
|
|
93
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTunnelsRequest;
|
|
94
|
+
|
|
95
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTunnelsRequest;
|
|
96
|
+
|
|
97
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTunnelsRequest;
|
|
98
|
+
|
|
99
|
+
static equals(a: ListTunnelsRequest | PlainMessage<ListTunnelsRequest> | undefined, b: ListTunnelsRequest | PlainMessage<ListTunnelsRequest> | undefined): boolean;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from message viam.robot.v1.ListTunnelsResponse
|
|
104
|
+
*/
|
|
105
|
+
export declare class ListTunnelsResponse extends Message<ListTunnelsResponse> {
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: repeated viam.robot.v1.Tunnel tunnels = 1;
|
|
108
|
+
*/
|
|
109
|
+
tunnels: Tunnel[];
|
|
110
|
+
|
|
111
|
+
constructor(data?: PartialMessage<ListTunnelsResponse>);
|
|
112
|
+
|
|
113
|
+
static readonly runtime: typeof proto3;
|
|
114
|
+
static readonly typeName = "viam.robot.v1.ListTunnelsResponse";
|
|
115
|
+
static readonly fields: FieldList;
|
|
116
|
+
|
|
117
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListTunnelsResponse;
|
|
118
|
+
|
|
119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListTunnelsResponse;
|
|
120
|
+
|
|
121
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListTunnelsResponse;
|
|
122
|
+
|
|
123
|
+
static equals(a: ListTunnelsResponse | PlainMessage<ListTunnelsResponse> | undefined, b: ListTunnelsResponse | PlainMessage<ListTunnelsResponse> | undefined): boolean;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from message viam.robot.v1.Tunnel
|
|
128
|
+
*/
|
|
129
|
+
export declare class Tunnel extends Message<Tunnel> {
|
|
130
|
+
/**
|
|
131
|
+
* @generated from field: uint32 port = 1;
|
|
132
|
+
*/
|
|
133
|
+
port: number;
|
|
134
|
+
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: google.protobuf.Duration connection_timeout = 2;
|
|
137
|
+
*/
|
|
138
|
+
connectionTimeout?: Duration;
|
|
139
|
+
|
|
140
|
+
constructor(data?: PartialMessage<Tunnel>);
|
|
141
|
+
|
|
142
|
+
static readonly runtime: typeof proto3;
|
|
143
|
+
static readonly typeName = "viam.robot.v1.Tunnel";
|
|
144
|
+
static readonly fields: FieldList;
|
|
145
|
+
|
|
146
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Tunnel;
|
|
147
|
+
|
|
148
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Tunnel;
|
|
149
|
+
|
|
150
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Tunnel;
|
|
151
|
+
|
|
152
|
+
static equals(a: Tunnel | PlainMessage<Tunnel> | undefined, b: Tunnel | PlainMessage<Tunnel> | undefined): boolean;
|
|
153
|
+
}
|
|
154
|
+
|
|
83
155
|
/**
|
|
84
156
|
* @generated from message viam.robot.v1.FrameSystemConfig
|
|
85
157
|
*/
|
|
@@ -690,71 +762,6 @@ export declare class GetSessionsResponse extends Message<GetSessionsResponse> {
|
|
|
690
762
|
static equals(a: GetSessionsResponse | PlainMessage<GetSessionsResponse> | undefined, b: GetSessionsResponse | PlainMessage<GetSessionsResponse> | undefined): boolean;
|
|
691
763
|
}
|
|
692
764
|
|
|
693
|
-
/**
|
|
694
|
-
* @generated from message viam.robot.v1.DiscoveryQuery
|
|
695
|
-
* @deprecated
|
|
696
|
-
*/
|
|
697
|
-
export declare class DiscoveryQuery extends Message<DiscoveryQuery> {
|
|
698
|
-
/**
|
|
699
|
-
* @generated from field: string subtype = 1;
|
|
700
|
-
*/
|
|
701
|
-
subtype: string;
|
|
702
|
-
|
|
703
|
-
/**
|
|
704
|
-
* @generated from field: string model = 2;
|
|
705
|
-
*/
|
|
706
|
-
model: string;
|
|
707
|
-
|
|
708
|
-
/**
|
|
709
|
-
* @generated from field: google.protobuf.Struct extra = 99;
|
|
710
|
-
*/
|
|
711
|
-
extra?: Struct;
|
|
712
|
-
|
|
713
|
-
constructor(data?: PartialMessage<DiscoveryQuery>);
|
|
714
|
-
|
|
715
|
-
static readonly runtime: typeof proto3;
|
|
716
|
-
static readonly typeName = "viam.robot.v1.DiscoveryQuery";
|
|
717
|
-
static readonly fields: FieldList;
|
|
718
|
-
|
|
719
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoveryQuery;
|
|
720
|
-
|
|
721
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoveryQuery;
|
|
722
|
-
|
|
723
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoveryQuery;
|
|
724
|
-
|
|
725
|
-
static equals(a: DiscoveryQuery | PlainMessage<DiscoveryQuery> | undefined, b: DiscoveryQuery | PlainMessage<DiscoveryQuery> | undefined): boolean;
|
|
726
|
-
}
|
|
727
|
-
|
|
728
|
-
/**
|
|
729
|
-
* @generated from message viam.robot.v1.Discovery
|
|
730
|
-
* @deprecated
|
|
731
|
-
*/
|
|
732
|
-
export declare class Discovery extends Message<Discovery> {
|
|
733
|
-
/**
|
|
734
|
-
* @generated from field: viam.robot.v1.DiscoveryQuery query = 1;
|
|
735
|
-
*/
|
|
736
|
-
query?: DiscoveryQuery;
|
|
737
|
-
|
|
738
|
-
/**
|
|
739
|
-
* @generated from field: google.protobuf.Struct results = 2;
|
|
740
|
-
*/
|
|
741
|
-
results?: Struct;
|
|
742
|
-
|
|
743
|
-
constructor(data?: PartialMessage<Discovery>);
|
|
744
|
-
|
|
745
|
-
static readonly runtime: typeof proto3;
|
|
746
|
-
static readonly typeName = "viam.robot.v1.Discovery";
|
|
747
|
-
static readonly fields: FieldList;
|
|
748
|
-
|
|
749
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Discovery;
|
|
750
|
-
|
|
751
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Discovery;
|
|
752
|
-
|
|
753
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Discovery;
|
|
754
|
-
|
|
755
|
-
static equals(a: Discovery | PlainMessage<Discovery> | undefined, b: Discovery | PlainMessage<Discovery> | undefined): boolean;
|
|
756
|
-
}
|
|
757
|
-
|
|
758
765
|
/**
|
|
759
766
|
* @generated from message viam.robot.v1.ModuleModel
|
|
760
767
|
*/
|
|
@@ -837,56 +844,6 @@ export declare class GetModelsFromModulesResponse extends Message<GetModelsFromM
|
|
|
837
844
|
static equals(a: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined, b: GetModelsFromModulesResponse | PlainMessage<GetModelsFromModulesResponse> | undefined): boolean;
|
|
838
845
|
}
|
|
839
846
|
|
|
840
|
-
/**
|
|
841
|
-
* @generated from message viam.robot.v1.DiscoverComponentsRequest
|
|
842
|
-
* @deprecated
|
|
843
|
-
*/
|
|
844
|
-
export declare class DiscoverComponentsRequest extends Message<DiscoverComponentsRequest> {
|
|
845
|
-
/**
|
|
846
|
-
* @generated from field: repeated viam.robot.v1.DiscoveryQuery queries = 1;
|
|
847
|
-
*/
|
|
848
|
-
queries: DiscoveryQuery[];
|
|
849
|
-
|
|
850
|
-
constructor(data?: PartialMessage<DiscoverComponentsRequest>);
|
|
851
|
-
|
|
852
|
-
static readonly runtime: typeof proto3;
|
|
853
|
-
static readonly typeName = "viam.robot.v1.DiscoverComponentsRequest";
|
|
854
|
-
static readonly fields: FieldList;
|
|
855
|
-
|
|
856
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverComponentsRequest;
|
|
857
|
-
|
|
858
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverComponentsRequest;
|
|
859
|
-
|
|
860
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverComponentsRequest;
|
|
861
|
-
|
|
862
|
-
static equals(a: DiscoverComponentsRequest | PlainMessage<DiscoverComponentsRequest> | undefined, b: DiscoverComponentsRequest | PlainMessage<DiscoverComponentsRequest> | undefined): boolean;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
/**
|
|
866
|
-
* @generated from message viam.robot.v1.DiscoverComponentsResponse
|
|
867
|
-
* @deprecated
|
|
868
|
-
*/
|
|
869
|
-
export declare class DiscoverComponentsResponse extends Message<DiscoverComponentsResponse> {
|
|
870
|
-
/**
|
|
871
|
-
* @generated from field: repeated viam.robot.v1.Discovery discovery = 1;
|
|
872
|
-
*/
|
|
873
|
-
discovery: Discovery[];
|
|
874
|
-
|
|
875
|
-
constructor(data?: PartialMessage<DiscoverComponentsResponse>);
|
|
876
|
-
|
|
877
|
-
static readonly runtime: typeof proto3;
|
|
878
|
-
static readonly typeName = "viam.robot.v1.DiscoverComponentsResponse";
|
|
879
|
-
static readonly fields: FieldList;
|
|
880
|
-
|
|
881
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DiscoverComponentsResponse;
|
|
882
|
-
|
|
883
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DiscoverComponentsResponse;
|
|
884
|
-
|
|
885
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DiscoverComponentsResponse;
|
|
886
|
-
|
|
887
|
-
static equals(a: DiscoverComponentsResponse | PlainMessage<DiscoverComponentsResponse> | undefined, b: DiscoverComponentsResponse | PlainMessage<DiscoverComponentsResponse> | undefined): boolean;
|
|
888
|
-
}
|
|
889
|
-
|
|
890
847
|
/**
|
|
891
848
|
* @generated from message viam.robot.v1.Status
|
|
892
849
|
*/
|
|
@@ -199,6 +199,28 @@ export declare class Detection extends Message<Detection> {
|
|
|
199
199
|
*/
|
|
200
200
|
className: string;
|
|
201
201
|
|
|
202
|
+
/**
|
|
203
|
+
* the four corners of the box, in proportion to the respective image dimension
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: optional double x_min_normalized = 7;
|
|
206
|
+
*/
|
|
207
|
+
xMinNormalized?: number;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* @generated from field: optional double y_min_normalized = 8;
|
|
211
|
+
*/
|
|
212
|
+
yMinNormalized?: number;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* @generated from field: optional double x_max_normalized = 9;
|
|
216
|
+
*/
|
|
217
|
+
xMaxNormalized?: number;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: optional double y_max_normalized = 10;
|
|
221
|
+
*/
|
|
222
|
+
yMaxNormalized?: number;
|
|
223
|
+
|
|
202
224
|
constructor(data?: PartialMessage<Detection>);
|
|
203
225
|
|
|
204
226
|
static readonly runtime: typeof proto3;
|