@viamrobotics/sdk 0.15.0 → 0.16.0-rc.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/app/app-client.d.ts +583 -0
- package/dist/app/data-client.d.ts +292 -14
- package/dist/app/viam-client.d.ts +2 -0
- package/dist/events.d.ts +10 -2
- package/dist/gen/app/agent/v1/agent_pb.d.ts +0 -148
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -48
- package/dist/gen/app/v1/billing_pb.d.ts +12 -0
- package/dist/gen/common/v1/common_pb.d.ts +0 -62
- package/dist/gen/component/board/v1/board_pb.d.ts +25 -39
- package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -19
- package/dist/gen/service/shell/v1/shell_pb.d.ts +283 -0
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +22 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +147 -0
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +38 -0
- package/dist/main.d.ts +12 -0
- package/dist/main.es.js +47906 -30182
- package/dist/main.umd.js +19 -19
- package/dist/robot/robot.d.ts +2 -2
- package/package.json +1 -1
|
@@ -7,51 +7,25 @@ import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
|
7
7
|
import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
|
|
8
8
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
9
9
|
|
|
10
|
-
export class
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
clearExtra(): void;
|
|
16
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
17
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
18
|
-
|
|
10
|
+
export class Status extends jspb.Message {
|
|
11
|
+
getAnalogsMap(): jspb.Map<string, number>;
|
|
12
|
+
clearAnalogsMap(): void;
|
|
13
|
+
getDigitalInterruptsMap(): jspb.Map<string, number>;
|
|
14
|
+
clearDigitalInterruptsMap(): void;
|
|
19
15
|
serializeBinary(): Uint8Array;
|
|
20
|
-
toObject(includeInstance?: boolean):
|
|
21
|
-
static toObject(includeInstance: boolean, msg:
|
|
16
|
+
toObject(includeInstance?: boolean): Status.AsObject;
|
|
17
|
+
static toObject(includeInstance: boolean, msg: Status): Status.AsObject;
|
|
22
18
|
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
23
19
|
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
24
|
-
static serializeBinaryToWriter(message:
|
|
25
|
-
static deserializeBinary(bytes: Uint8Array):
|
|
26
|
-
static deserializeBinaryFromReader(message:
|
|
20
|
+
static serializeBinaryToWriter(message: Status, writer: jspb.BinaryWriter): void;
|
|
21
|
+
static deserializeBinary(bytes: Uint8Array): Status;
|
|
22
|
+
static deserializeBinaryFromReader(message: Status, reader: jspb.BinaryReader): Status;
|
|
27
23
|
}
|
|
28
24
|
|
|
29
|
-
export namespace
|
|
25
|
+
export namespace Status {
|
|
30
26
|
export type AsObject = {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export class StatusResponse extends jspb.Message {
|
|
37
|
-
hasStatus(): boolean;
|
|
38
|
-
clearStatus(): void;
|
|
39
|
-
getStatus(): common_v1_common_pb.BoardStatus | undefined;
|
|
40
|
-
setStatus(value?: common_v1_common_pb.BoardStatus): void;
|
|
41
|
-
|
|
42
|
-
serializeBinary(): Uint8Array;
|
|
43
|
-
toObject(includeInstance?: boolean): StatusResponse.AsObject;
|
|
44
|
-
static toObject(includeInstance: boolean, msg: StatusResponse): StatusResponse.AsObject;
|
|
45
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
46
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
47
|
-
static serializeBinaryToWriter(message: StatusResponse, writer: jspb.BinaryWriter): void;
|
|
48
|
-
static deserializeBinary(bytes: Uint8Array): StatusResponse;
|
|
49
|
-
static deserializeBinaryFromReader(message: StatusResponse, reader: jspb.BinaryReader): StatusResponse;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export namespace StatusResponse {
|
|
53
|
-
export type AsObject = {
|
|
54
|
-
status?: common_v1_common_pb.BoardStatus.AsObject,
|
|
27
|
+
analogsMap: Array<[string, number]>,
|
|
28
|
+
digitalInterruptsMap: Array<[string, number]>,
|
|
55
29
|
}
|
|
56
30
|
}
|
|
57
31
|
|
|
@@ -389,6 +363,15 @@ export class ReadAnalogReaderResponse extends jspb.Message {
|
|
|
389
363
|
getValue(): number;
|
|
390
364
|
setValue(value: number): void;
|
|
391
365
|
|
|
366
|
+
getMinRange(): number;
|
|
367
|
+
setMinRange(value: number): void;
|
|
368
|
+
|
|
369
|
+
getMaxRange(): number;
|
|
370
|
+
setMaxRange(value: number): void;
|
|
371
|
+
|
|
372
|
+
getStepSize(): number;
|
|
373
|
+
setStepSize(value: number): void;
|
|
374
|
+
|
|
392
375
|
serializeBinary(): Uint8Array;
|
|
393
376
|
toObject(includeInstance?: boolean): ReadAnalogReaderResponse.AsObject;
|
|
394
377
|
static toObject(includeInstance: boolean, msg: ReadAnalogReaderResponse): ReadAnalogReaderResponse.AsObject;
|
|
@@ -402,6 +385,9 @@ export class ReadAnalogReaderResponse extends jspb.Message {
|
|
|
402
385
|
export namespace ReadAnalogReaderResponse {
|
|
403
386
|
export type AsObject = {
|
|
404
387
|
value: number,
|
|
388
|
+
minRange: number,
|
|
389
|
+
maxRange: number,
|
|
390
|
+
stepSize: number,
|
|
405
391
|
}
|
|
406
392
|
}
|
|
407
393
|
|
|
@@ -5,15 +5,6 @@ import * as component_board_v1_board_pb from "../../../component/board/v1/board_
|
|
|
5
5
|
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
6
|
import {grpc} from "@improbable-eng/grpc-web";
|
|
7
7
|
|
|
8
|
-
type BoardServiceStatus = {
|
|
9
|
-
readonly methodName: string;
|
|
10
|
-
readonly service: typeof BoardService;
|
|
11
|
-
readonly requestStream: false;
|
|
12
|
-
readonly responseStream: false;
|
|
13
|
-
readonly requestType: typeof component_board_v1_board_pb.StatusRequest;
|
|
14
|
-
readonly responseType: typeof component_board_v1_board_pb.StatusResponse;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
8
|
type BoardServiceSetGPIO = {
|
|
18
9
|
readonly methodName: string;
|
|
19
10
|
readonly service: typeof BoardService;
|
|
@@ -133,7 +124,6 @@ type BoardServiceGetGeometries = {
|
|
|
133
124
|
|
|
134
125
|
export class BoardService {
|
|
135
126
|
static readonly serviceName: string;
|
|
136
|
-
static readonly Status: BoardServiceStatus;
|
|
137
127
|
static readonly SetGPIO: BoardServiceSetGPIO;
|
|
138
128
|
static readonly GetGPIO: BoardServiceGetGPIO;
|
|
139
129
|
static readonly PWM: BoardServicePWM;
|
|
@@ -181,15 +171,6 @@ export class BoardServiceClient {
|
|
|
181
171
|
readonly serviceHost: string;
|
|
182
172
|
|
|
183
173
|
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
184
|
-
status(
|
|
185
|
-
requestMessage: component_board_v1_board_pb.StatusRequest,
|
|
186
|
-
metadata: grpc.Metadata,
|
|
187
|
-
callback: (error: ServiceError|null, responseMessage: component_board_v1_board_pb.StatusResponse|null) => void
|
|
188
|
-
): UnaryResponse;
|
|
189
|
-
status(
|
|
190
|
-
requestMessage: component_board_v1_board_pb.StatusRequest,
|
|
191
|
-
callback: (error: ServiceError|null, responseMessage: component_board_v1_board_pb.StatusResponse|null) => void
|
|
192
|
-
): UnaryResponse;
|
|
193
174
|
setGPIO(
|
|
194
175
|
requestMessage: component_board_v1_board_pb.SetGPIORequest,
|
|
195
176
|
metadata: grpc.Metadata,
|
|
@@ -5,6 +5,7 @@ import * as jspb from "google-protobuf";
|
|
|
5
5
|
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
6
|
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
7
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
8
9
|
|
|
9
10
|
export class ShellRequest extends jspb.Message {
|
|
10
11
|
getName(): string;
|
|
@@ -64,3 +65,285 @@ export namespace ShellResponse {
|
|
|
64
65
|
}
|
|
65
66
|
}
|
|
66
67
|
|
|
68
|
+
export class FileData extends jspb.Message {
|
|
69
|
+
getName(): string;
|
|
70
|
+
setName(value: string): void;
|
|
71
|
+
|
|
72
|
+
getSize(): number;
|
|
73
|
+
setSize(value: number): void;
|
|
74
|
+
|
|
75
|
+
getIsDir(): boolean;
|
|
76
|
+
setIsDir(value: boolean): void;
|
|
77
|
+
|
|
78
|
+
getData(): Uint8Array | string;
|
|
79
|
+
getData_asU8(): Uint8Array;
|
|
80
|
+
getData_asB64(): string;
|
|
81
|
+
setData(value: Uint8Array | string): void;
|
|
82
|
+
|
|
83
|
+
getEof(): boolean;
|
|
84
|
+
setEof(value: boolean): void;
|
|
85
|
+
|
|
86
|
+
hasModTime(): boolean;
|
|
87
|
+
clearModTime(): void;
|
|
88
|
+
getModTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
89
|
+
setModTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
90
|
+
|
|
91
|
+
hasMode(): boolean;
|
|
92
|
+
clearMode(): void;
|
|
93
|
+
getMode(): number;
|
|
94
|
+
setMode(value: number): void;
|
|
95
|
+
|
|
96
|
+
serializeBinary(): Uint8Array;
|
|
97
|
+
toObject(includeInstance?: boolean): FileData.AsObject;
|
|
98
|
+
static toObject(includeInstance: boolean, msg: FileData): FileData.AsObject;
|
|
99
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
100
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
101
|
+
static serializeBinaryToWriter(message: FileData, writer: jspb.BinaryWriter): void;
|
|
102
|
+
static deserializeBinary(bytes: Uint8Array): FileData;
|
|
103
|
+
static deserializeBinaryFromReader(message: FileData, reader: jspb.BinaryReader): FileData;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export namespace FileData {
|
|
107
|
+
export type AsObject = {
|
|
108
|
+
name: string,
|
|
109
|
+
size: number,
|
|
110
|
+
isDir: boolean,
|
|
111
|
+
data: Uint8Array | string,
|
|
112
|
+
eof: boolean,
|
|
113
|
+
modTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
114
|
+
mode: number,
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export class CopyFilesToMachineRequestMetadata extends jspb.Message {
|
|
119
|
+
getName(): string;
|
|
120
|
+
setName(value: string): void;
|
|
121
|
+
|
|
122
|
+
getSourceType(): CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap];
|
|
123
|
+
setSourceType(value: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap]): void;
|
|
124
|
+
|
|
125
|
+
getDestination(): string;
|
|
126
|
+
setDestination(value: string): void;
|
|
127
|
+
|
|
128
|
+
getPreserve(): boolean;
|
|
129
|
+
setPreserve(value: boolean): void;
|
|
130
|
+
|
|
131
|
+
hasExtra(): boolean;
|
|
132
|
+
clearExtra(): void;
|
|
133
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
134
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
135
|
+
|
|
136
|
+
serializeBinary(): Uint8Array;
|
|
137
|
+
toObject(includeInstance?: boolean): CopyFilesToMachineRequestMetadata.AsObject;
|
|
138
|
+
static toObject(includeInstance: boolean, msg: CopyFilesToMachineRequestMetadata): CopyFilesToMachineRequestMetadata.AsObject;
|
|
139
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
140
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
141
|
+
static serializeBinaryToWriter(message: CopyFilesToMachineRequestMetadata, writer: jspb.BinaryWriter): void;
|
|
142
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineRequestMetadata;
|
|
143
|
+
static deserializeBinaryFromReader(message: CopyFilesToMachineRequestMetadata, reader: jspb.BinaryReader): CopyFilesToMachineRequestMetadata;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export namespace CopyFilesToMachineRequestMetadata {
|
|
147
|
+
export type AsObject = {
|
|
148
|
+
name: string,
|
|
149
|
+
sourceType: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap],
|
|
150
|
+
destination: string,
|
|
151
|
+
preserve: boolean,
|
|
152
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
export class CopyFilesToMachineRequest extends jspb.Message {
|
|
157
|
+
hasMetadata(): boolean;
|
|
158
|
+
clearMetadata(): void;
|
|
159
|
+
getMetadata(): CopyFilesToMachineRequestMetadata | undefined;
|
|
160
|
+
setMetadata(value?: CopyFilesToMachineRequestMetadata): void;
|
|
161
|
+
|
|
162
|
+
hasFileData(): boolean;
|
|
163
|
+
clearFileData(): void;
|
|
164
|
+
getFileData(): FileData | undefined;
|
|
165
|
+
setFileData(value?: FileData): void;
|
|
166
|
+
|
|
167
|
+
getRequestCase(): CopyFilesToMachineRequest.RequestCase;
|
|
168
|
+
serializeBinary(): Uint8Array;
|
|
169
|
+
toObject(includeInstance?: boolean): CopyFilesToMachineRequest.AsObject;
|
|
170
|
+
static toObject(includeInstance: boolean, msg: CopyFilesToMachineRequest): CopyFilesToMachineRequest.AsObject;
|
|
171
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
172
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
173
|
+
static serializeBinaryToWriter(message: CopyFilesToMachineRequest, writer: jspb.BinaryWriter): void;
|
|
174
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineRequest;
|
|
175
|
+
static deserializeBinaryFromReader(message: CopyFilesToMachineRequest, reader: jspb.BinaryReader): CopyFilesToMachineRequest;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
export namespace CopyFilesToMachineRequest {
|
|
179
|
+
export type AsObject = {
|
|
180
|
+
metadata?: CopyFilesToMachineRequestMetadata.AsObject,
|
|
181
|
+
fileData?: FileData.AsObject,
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export enum RequestCase {
|
|
185
|
+
REQUEST_NOT_SET = 0,
|
|
186
|
+
METADATA = 1,
|
|
187
|
+
FILE_DATA = 2,
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export class CopyFilesToMachineResponse extends jspb.Message {
|
|
192
|
+
getAckLastFile(): boolean;
|
|
193
|
+
setAckLastFile(value: boolean): void;
|
|
194
|
+
|
|
195
|
+
serializeBinary(): Uint8Array;
|
|
196
|
+
toObject(includeInstance?: boolean): CopyFilesToMachineResponse.AsObject;
|
|
197
|
+
static toObject(includeInstance: boolean, msg: CopyFilesToMachineResponse): CopyFilesToMachineResponse.AsObject;
|
|
198
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
199
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
200
|
+
static serializeBinaryToWriter(message: CopyFilesToMachineResponse, writer: jspb.BinaryWriter): void;
|
|
201
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineResponse;
|
|
202
|
+
static deserializeBinaryFromReader(message: CopyFilesToMachineResponse, reader: jspb.BinaryReader): CopyFilesToMachineResponse;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export namespace CopyFilesToMachineResponse {
|
|
206
|
+
export type AsObject = {
|
|
207
|
+
ackLastFile: boolean,
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
export class CopyFilesFromMachineRequestMetadata extends jspb.Message {
|
|
212
|
+
getName(): string;
|
|
213
|
+
setName(value: string): void;
|
|
214
|
+
|
|
215
|
+
clearPathsList(): void;
|
|
216
|
+
getPathsList(): Array<string>;
|
|
217
|
+
setPathsList(value: Array<string>): void;
|
|
218
|
+
addPaths(value: string, index?: number): string;
|
|
219
|
+
|
|
220
|
+
getAllowRecursion(): boolean;
|
|
221
|
+
setAllowRecursion(value: boolean): void;
|
|
222
|
+
|
|
223
|
+
getPreserve(): boolean;
|
|
224
|
+
setPreserve(value: boolean): void;
|
|
225
|
+
|
|
226
|
+
hasExtra(): boolean;
|
|
227
|
+
clearExtra(): void;
|
|
228
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
229
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
230
|
+
|
|
231
|
+
serializeBinary(): Uint8Array;
|
|
232
|
+
toObject(includeInstance?: boolean): CopyFilesFromMachineRequestMetadata.AsObject;
|
|
233
|
+
static toObject(includeInstance: boolean, msg: CopyFilesFromMachineRequestMetadata): CopyFilesFromMachineRequestMetadata.AsObject;
|
|
234
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
235
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
236
|
+
static serializeBinaryToWriter(message: CopyFilesFromMachineRequestMetadata, writer: jspb.BinaryWriter): void;
|
|
237
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineRequestMetadata;
|
|
238
|
+
static deserializeBinaryFromReader(message: CopyFilesFromMachineRequestMetadata, reader: jspb.BinaryReader): CopyFilesFromMachineRequestMetadata;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export namespace CopyFilesFromMachineRequestMetadata {
|
|
242
|
+
export type AsObject = {
|
|
243
|
+
name: string,
|
|
244
|
+
pathsList: Array<string>,
|
|
245
|
+
allowRecursion: boolean,
|
|
246
|
+
preserve: boolean,
|
|
247
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export class CopyFilesFromMachineRequest extends jspb.Message {
|
|
252
|
+
hasMetadata(): boolean;
|
|
253
|
+
clearMetadata(): void;
|
|
254
|
+
getMetadata(): CopyFilesFromMachineRequestMetadata | undefined;
|
|
255
|
+
setMetadata(value?: CopyFilesFromMachineRequestMetadata): void;
|
|
256
|
+
|
|
257
|
+
hasAckLastFile(): boolean;
|
|
258
|
+
clearAckLastFile(): void;
|
|
259
|
+
getAckLastFile(): boolean;
|
|
260
|
+
setAckLastFile(value: boolean): void;
|
|
261
|
+
|
|
262
|
+
getRequestCase(): CopyFilesFromMachineRequest.RequestCase;
|
|
263
|
+
serializeBinary(): Uint8Array;
|
|
264
|
+
toObject(includeInstance?: boolean): CopyFilesFromMachineRequest.AsObject;
|
|
265
|
+
static toObject(includeInstance: boolean, msg: CopyFilesFromMachineRequest): CopyFilesFromMachineRequest.AsObject;
|
|
266
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
267
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
268
|
+
static serializeBinaryToWriter(message: CopyFilesFromMachineRequest, writer: jspb.BinaryWriter): void;
|
|
269
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineRequest;
|
|
270
|
+
static deserializeBinaryFromReader(message: CopyFilesFromMachineRequest, reader: jspb.BinaryReader): CopyFilesFromMachineRequest;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
export namespace CopyFilesFromMachineRequest {
|
|
274
|
+
export type AsObject = {
|
|
275
|
+
metadata?: CopyFilesFromMachineRequestMetadata.AsObject,
|
|
276
|
+
ackLastFile: boolean,
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export enum RequestCase {
|
|
280
|
+
REQUEST_NOT_SET = 0,
|
|
281
|
+
METADATA = 1,
|
|
282
|
+
ACK_LAST_FILE = 2,
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
export class CopyFilesFromMachineResponseMetadata extends jspb.Message {
|
|
287
|
+
getSourceType(): CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap];
|
|
288
|
+
setSourceType(value: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap]): void;
|
|
289
|
+
|
|
290
|
+
serializeBinary(): Uint8Array;
|
|
291
|
+
toObject(includeInstance?: boolean): CopyFilesFromMachineResponseMetadata.AsObject;
|
|
292
|
+
static toObject(includeInstance: boolean, msg: CopyFilesFromMachineResponseMetadata): CopyFilesFromMachineResponseMetadata.AsObject;
|
|
293
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
294
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
295
|
+
static serializeBinaryToWriter(message: CopyFilesFromMachineResponseMetadata, writer: jspb.BinaryWriter): void;
|
|
296
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineResponseMetadata;
|
|
297
|
+
static deserializeBinaryFromReader(message: CopyFilesFromMachineResponseMetadata, reader: jspb.BinaryReader): CopyFilesFromMachineResponseMetadata;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export namespace CopyFilesFromMachineResponseMetadata {
|
|
301
|
+
export type AsObject = {
|
|
302
|
+
sourceType: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap],
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
export class CopyFilesFromMachineResponse extends jspb.Message {
|
|
307
|
+
hasMetadata(): boolean;
|
|
308
|
+
clearMetadata(): void;
|
|
309
|
+
getMetadata(): CopyFilesFromMachineResponseMetadata | undefined;
|
|
310
|
+
setMetadata(value?: CopyFilesFromMachineResponseMetadata): void;
|
|
311
|
+
|
|
312
|
+
hasFileData(): boolean;
|
|
313
|
+
clearFileData(): void;
|
|
314
|
+
getFileData(): FileData | undefined;
|
|
315
|
+
setFileData(value?: FileData): void;
|
|
316
|
+
|
|
317
|
+
getResponseCase(): CopyFilesFromMachineResponse.ResponseCase;
|
|
318
|
+
serializeBinary(): Uint8Array;
|
|
319
|
+
toObject(includeInstance?: boolean): CopyFilesFromMachineResponse.AsObject;
|
|
320
|
+
static toObject(includeInstance: boolean, msg: CopyFilesFromMachineResponse): CopyFilesFromMachineResponse.AsObject;
|
|
321
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
322
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
323
|
+
static serializeBinaryToWriter(message: CopyFilesFromMachineResponse, writer: jspb.BinaryWriter): void;
|
|
324
|
+
static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineResponse;
|
|
325
|
+
static deserializeBinaryFromReader(message: CopyFilesFromMachineResponse, reader: jspb.BinaryReader): CopyFilesFromMachineResponse;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export namespace CopyFilesFromMachineResponse {
|
|
329
|
+
export type AsObject = {
|
|
330
|
+
metadata?: CopyFilesFromMachineResponseMetadata.AsObject,
|
|
331
|
+
fileData?: FileData.AsObject,
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export enum ResponseCase {
|
|
335
|
+
RESPONSE_NOT_SET = 0,
|
|
336
|
+
METADATA = 1,
|
|
337
|
+
FILE_DATA = 2,
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export interface CopyFilesSourceTypeMap {
|
|
342
|
+
COPY_FILES_SOURCE_TYPE_UNSPECIFIED: 0;
|
|
343
|
+
COPY_FILES_SOURCE_TYPE_SINGLE_FILE: 1;
|
|
344
|
+
COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY: 2;
|
|
345
|
+
COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES: 3;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export const CopyFilesSourceType: CopyFilesSourceTypeMap;
|
|
349
|
+
|
|
@@ -14,6 +14,24 @@ type ShellServiceShell = {
|
|
|
14
14
|
readonly responseType: typeof service_shell_v1_shell_pb.ShellResponse;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
|
+
type ShellServiceCopyFilesToMachine = {
|
|
18
|
+
readonly methodName: string;
|
|
19
|
+
readonly service: typeof ShellService;
|
|
20
|
+
readonly requestStream: true;
|
|
21
|
+
readonly responseStream: true;
|
|
22
|
+
readonly requestType: typeof service_shell_v1_shell_pb.CopyFilesToMachineRequest;
|
|
23
|
+
readonly responseType: typeof service_shell_v1_shell_pb.CopyFilesToMachineResponse;
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
type ShellServiceCopyFilesFromMachine = {
|
|
27
|
+
readonly methodName: string;
|
|
28
|
+
readonly service: typeof ShellService;
|
|
29
|
+
readonly requestStream: true;
|
|
30
|
+
readonly responseStream: true;
|
|
31
|
+
readonly requestType: typeof service_shell_v1_shell_pb.CopyFilesFromMachineRequest;
|
|
32
|
+
readonly responseType: typeof service_shell_v1_shell_pb.CopyFilesFromMachineResponse;
|
|
33
|
+
};
|
|
34
|
+
|
|
17
35
|
type ShellServiceDoCommand = {
|
|
18
36
|
readonly methodName: string;
|
|
19
37
|
readonly service: typeof ShellService;
|
|
@@ -26,6 +44,8 @@ type ShellServiceDoCommand = {
|
|
|
26
44
|
export class ShellService {
|
|
27
45
|
static readonly serviceName: string;
|
|
28
46
|
static readonly Shell: ShellServiceShell;
|
|
47
|
+
static readonly CopyFilesToMachine: ShellServiceCopyFilesToMachine;
|
|
48
|
+
static readonly CopyFilesFromMachine: ShellServiceCopyFilesFromMachine;
|
|
29
49
|
static readonly DoCommand: ShellServiceDoCommand;
|
|
30
50
|
}
|
|
31
51
|
|
|
@@ -62,6 +82,8 @@ export class ShellServiceClient {
|
|
|
62
82
|
|
|
63
83
|
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
64
84
|
shell(metadata?: grpc.Metadata): BidirectionalStream<service_shell_v1_shell_pb.ShellRequest, service_shell_v1_shell_pb.ShellResponse>;
|
|
85
|
+
copyFilesToMachine(metadata?: grpc.Metadata): BidirectionalStream<service_shell_v1_shell_pb.CopyFilesToMachineRequest, service_shell_v1_shell_pb.CopyFilesToMachineResponse>;
|
|
86
|
+
copyFilesFromMachine(metadata?: grpc.Metadata): BidirectionalStream<service_shell_v1_shell_pb.CopyFilesFromMachineRequest, service_shell_v1_shell_pb.CopyFilesFromMachineResponse>;
|
|
65
87
|
doCommand(
|
|
66
88
|
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
67
89
|
metadata: grpc.Metadata,
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as common_v1_common_pb from "../../../common/v1/common_pb";
|
|
6
|
+
import * as component_camera_v1_camera_pb from "../../../component/camera/v1/camera_pb";
|
|
6
7
|
import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
|
|
7
8
|
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
9
|
|
|
@@ -382,3 +383,149 @@ export namespace GetObjectPointCloudsResponse {
|
|
|
382
383
|
}
|
|
383
384
|
}
|
|
384
385
|
|
|
386
|
+
export class GetPropertiesRequest extends jspb.Message {
|
|
387
|
+
getName(): string;
|
|
388
|
+
setName(value: string): void;
|
|
389
|
+
|
|
390
|
+
hasExtra(): boolean;
|
|
391
|
+
clearExtra(): void;
|
|
392
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
393
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
394
|
+
|
|
395
|
+
serializeBinary(): Uint8Array;
|
|
396
|
+
toObject(includeInstance?: boolean): GetPropertiesRequest.AsObject;
|
|
397
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesRequest): GetPropertiesRequest.AsObject;
|
|
398
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
399
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
400
|
+
static serializeBinaryToWriter(message: GetPropertiesRequest, writer: jspb.BinaryWriter): void;
|
|
401
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesRequest;
|
|
402
|
+
static deserializeBinaryFromReader(message: GetPropertiesRequest, reader: jspb.BinaryReader): GetPropertiesRequest;
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
export namespace GetPropertiesRequest {
|
|
406
|
+
export type AsObject = {
|
|
407
|
+
name: string,
|
|
408
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
export class CaptureAllFromCameraRequest extends jspb.Message {
|
|
413
|
+
getName(): string;
|
|
414
|
+
setName(value: string): void;
|
|
415
|
+
|
|
416
|
+
getCameraName(): string;
|
|
417
|
+
setCameraName(value: string): void;
|
|
418
|
+
|
|
419
|
+
getReturnImage(): boolean;
|
|
420
|
+
setReturnImage(value: boolean): void;
|
|
421
|
+
|
|
422
|
+
getReturnClassifications(): boolean;
|
|
423
|
+
setReturnClassifications(value: boolean): void;
|
|
424
|
+
|
|
425
|
+
getReturnDetections(): boolean;
|
|
426
|
+
setReturnDetections(value: boolean): void;
|
|
427
|
+
|
|
428
|
+
getReturnObjectPointClouds(): boolean;
|
|
429
|
+
setReturnObjectPointClouds(value: boolean): void;
|
|
430
|
+
|
|
431
|
+
hasExtra(): boolean;
|
|
432
|
+
clearExtra(): void;
|
|
433
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
434
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
435
|
+
|
|
436
|
+
serializeBinary(): Uint8Array;
|
|
437
|
+
toObject(includeInstance?: boolean): CaptureAllFromCameraRequest.AsObject;
|
|
438
|
+
static toObject(includeInstance: boolean, msg: CaptureAllFromCameraRequest): CaptureAllFromCameraRequest.AsObject;
|
|
439
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
440
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
441
|
+
static serializeBinaryToWriter(message: CaptureAllFromCameraRequest, writer: jspb.BinaryWriter): void;
|
|
442
|
+
static deserializeBinary(bytes: Uint8Array): CaptureAllFromCameraRequest;
|
|
443
|
+
static deserializeBinaryFromReader(message: CaptureAllFromCameraRequest, reader: jspb.BinaryReader): CaptureAllFromCameraRequest;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
export namespace CaptureAllFromCameraRequest {
|
|
447
|
+
export type AsObject = {
|
|
448
|
+
name: string,
|
|
449
|
+
cameraName: string,
|
|
450
|
+
returnImage: boolean,
|
|
451
|
+
returnClassifications: boolean,
|
|
452
|
+
returnDetections: boolean,
|
|
453
|
+
returnObjectPointClouds: boolean,
|
|
454
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
export class CaptureAllFromCameraResponse extends jspb.Message {
|
|
459
|
+
hasImage(): boolean;
|
|
460
|
+
clearImage(): void;
|
|
461
|
+
getImage(): component_camera_v1_camera_pb.Image | undefined;
|
|
462
|
+
setImage(value?: component_camera_v1_camera_pb.Image): void;
|
|
463
|
+
|
|
464
|
+
clearDetectionsList(): void;
|
|
465
|
+
getDetectionsList(): Array<Detection>;
|
|
466
|
+
setDetectionsList(value: Array<Detection>): void;
|
|
467
|
+
addDetections(value?: Detection, index?: number): Detection;
|
|
468
|
+
|
|
469
|
+
clearClassificationsList(): void;
|
|
470
|
+
getClassificationsList(): Array<Classification>;
|
|
471
|
+
setClassificationsList(value: Array<Classification>): void;
|
|
472
|
+
addClassifications(value?: Classification, index?: number): Classification;
|
|
473
|
+
|
|
474
|
+
clearObjectsList(): void;
|
|
475
|
+
getObjectsList(): Array<common_v1_common_pb.PointCloudObject>;
|
|
476
|
+
setObjectsList(value: Array<common_v1_common_pb.PointCloudObject>): void;
|
|
477
|
+
addObjects(value?: common_v1_common_pb.PointCloudObject, index?: number): common_v1_common_pb.PointCloudObject;
|
|
478
|
+
|
|
479
|
+
hasExtra(): boolean;
|
|
480
|
+
clearExtra(): void;
|
|
481
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
482
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
483
|
+
|
|
484
|
+
serializeBinary(): Uint8Array;
|
|
485
|
+
toObject(includeInstance?: boolean): CaptureAllFromCameraResponse.AsObject;
|
|
486
|
+
static toObject(includeInstance: boolean, msg: CaptureAllFromCameraResponse): CaptureAllFromCameraResponse.AsObject;
|
|
487
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
488
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
489
|
+
static serializeBinaryToWriter(message: CaptureAllFromCameraResponse, writer: jspb.BinaryWriter): void;
|
|
490
|
+
static deserializeBinary(bytes: Uint8Array): CaptureAllFromCameraResponse;
|
|
491
|
+
static deserializeBinaryFromReader(message: CaptureAllFromCameraResponse, reader: jspb.BinaryReader): CaptureAllFromCameraResponse;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
export namespace CaptureAllFromCameraResponse {
|
|
495
|
+
export type AsObject = {
|
|
496
|
+
image?: component_camera_v1_camera_pb.Image.AsObject,
|
|
497
|
+
detectionsList: Array<Detection.AsObject>,
|
|
498
|
+
classificationsList: Array<Classification.AsObject>,
|
|
499
|
+
objectsList: Array<common_v1_common_pb.PointCloudObject.AsObject>,
|
|
500
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export class GetPropertiesResponse extends jspb.Message {
|
|
505
|
+
getClassificationsSupported(): boolean;
|
|
506
|
+
setClassificationsSupported(value: boolean): void;
|
|
507
|
+
|
|
508
|
+
getDetectionsSupported(): boolean;
|
|
509
|
+
setDetectionsSupported(value: boolean): void;
|
|
510
|
+
|
|
511
|
+
getObjectPointCloudsSupported(): boolean;
|
|
512
|
+
setObjectPointCloudsSupported(value: boolean): void;
|
|
513
|
+
|
|
514
|
+
serializeBinary(): Uint8Array;
|
|
515
|
+
toObject(includeInstance?: boolean): GetPropertiesResponse.AsObject;
|
|
516
|
+
static toObject(includeInstance: boolean, msg: GetPropertiesResponse): GetPropertiesResponse.AsObject;
|
|
517
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
518
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
519
|
+
static serializeBinaryToWriter(message: GetPropertiesResponse, writer: jspb.BinaryWriter): void;
|
|
520
|
+
static deserializeBinary(bytes: Uint8Array): GetPropertiesResponse;
|
|
521
|
+
static deserializeBinaryFromReader(message: GetPropertiesResponse, reader: jspb.BinaryReader): GetPropertiesResponse;
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
export namespace GetPropertiesResponse {
|
|
525
|
+
export type AsObject = {
|
|
526
|
+
classificationsSupported: boolean,
|
|
527
|
+
detectionsSupported: boolean,
|
|
528
|
+
objectPointCloudsSupported: boolean,
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
@@ -50,6 +50,24 @@ type VisionServiceGetObjectPointClouds = {
|
|
|
50
50
|
readonly responseType: typeof service_vision_v1_vision_pb.GetObjectPointCloudsResponse;
|
|
51
51
|
};
|
|
52
52
|
|
|
53
|
+
type VisionServiceGetProperties = {
|
|
54
|
+
readonly methodName: string;
|
|
55
|
+
readonly service: typeof VisionService;
|
|
56
|
+
readonly requestStream: false;
|
|
57
|
+
readonly responseStream: false;
|
|
58
|
+
readonly requestType: typeof service_vision_v1_vision_pb.GetPropertiesRequest;
|
|
59
|
+
readonly responseType: typeof service_vision_v1_vision_pb.GetPropertiesResponse;
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
type VisionServiceCaptureAllFromCamera = {
|
|
63
|
+
readonly methodName: string;
|
|
64
|
+
readonly service: typeof VisionService;
|
|
65
|
+
readonly requestStream: false;
|
|
66
|
+
readonly responseStream: false;
|
|
67
|
+
readonly requestType: typeof service_vision_v1_vision_pb.CaptureAllFromCameraRequest;
|
|
68
|
+
readonly responseType: typeof service_vision_v1_vision_pb.CaptureAllFromCameraResponse;
|
|
69
|
+
};
|
|
70
|
+
|
|
53
71
|
type VisionServiceDoCommand = {
|
|
54
72
|
readonly methodName: string;
|
|
55
73
|
readonly service: typeof VisionService;
|
|
@@ -66,6 +84,8 @@ export class VisionService {
|
|
|
66
84
|
static readonly GetClassificationsFromCamera: VisionServiceGetClassificationsFromCamera;
|
|
67
85
|
static readonly GetClassifications: VisionServiceGetClassifications;
|
|
68
86
|
static readonly GetObjectPointClouds: VisionServiceGetObjectPointClouds;
|
|
87
|
+
static readonly GetProperties: VisionServiceGetProperties;
|
|
88
|
+
static readonly CaptureAllFromCamera: VisionServiceCaptureAllFromCamera;
|
|
69
89
|
static readonly DoCommand: VisionServiceDoCommand;
|
|
70
90
|
}
|
|
71
91
|
|
|
@@ -146,6 +166,24 @@ export class VisionServiceClient {
|
|
|
146
166
|
requestMessage: service_vision_v1_vision_pb.GetObjectPointCloudsRequest,
|
|
147
167
|
callback: (error: ServiceError|null, responseMessage: service_vision_v1_vision_pb.GetObjectPointCloudsResponse|null) => void
|
|
148
168
|
): UnaryResponse;
|
|
169
|
+
getProperties(
|
|
170
|
+
requestMessage: service_vision_v1_vision_pb.GetPropertiesRequest,
|
|
171
|
+
metadata: grpc.Metadata,
|
|
172
|
+
callback: (error: ServiceError|null, responseMessage: service_vision_v1_vision_pb.GetPropertiesResponse|null) => void
|
|
173
|
+
): UnaryResponse;
|
|
174
|
+
getProperties(
|
|
175
|
+
requestMessage: service_vision_v1_vision_pb.GetPropertiesRequest,
|
|
176
|
+
callback: (error: ServiceError|null, responseMessage: service_vision_v1_vision_pb.GetPropertiesResponse|null) => void
|
|
177
|
+
): UnaryResponse;
|
|
178
|
+
captureAllFromCamera(
|
|
179
|
+
requestMessage: service_vision_v1_vision_pb.CaptureAllFromCameraRequest,
|
|
180
|
+
metadata: grpc.Metadata,
|
|
181
|
+
callback: (error: ServiceError|null, responseMessage: service_vision_v1_vision_pb.CaptureAllFromCameraResponse|null) => void
|
|
182
|
+
): UnaryResponse;
|
|
183
|
+
captureAllFromCamera(
|
|
184
|
+
requestMessage: service_vision_v1_vision_pb.CaptureAllFromCameraRequest,
|
|
185
|
+
callback: (error: ServiceError|null, responseMessage: service_vision_v1_vision_pb.CaptureAllFromCameraResponse|null) => void
|
|
186
|
+
): UnaryResponse;
|
|
149
187
|
doCommand(
|
|
150
188
|
requestMessage: common_v1_common_pb.DoCommandRequest,
|
|
151
189
|
metadata: grpc.Metadata,
|