@viamrobotics/sdk 0.24.0 → 0.25.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/components/camera/camera.d.ts +2 -0
- package/dist/gen/app/v1/app_pb.d.ts +1 -0
- package/dist/gen/app/v1/robot_pb.d.ts +32 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +6 -0
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +2 -2
- package/dist/main.es.js +30498 -41450
- package/dist/main.umd.js +12 -20
- package/dist/rpc/base-channel.d.ts +20 -0
- package/dist/rpc/base-stream.d.ts +14 -0
- package/dist/rpc/client-channel.d.ts +17 -0
- package/dist/rpc/client-stream.d.ts +21 -0
- package/dist/rpc/connection-closed-error.d.ts +5 -0
- package/dist/rpc/dial.d.ts +31 -0
- package/dist/rpc/grpc-error.d.ts +6 -0
- package/dist/rpc/index.d.ts +10 -0
- package/dist/rpc/peer.d.ts +10 -0
- package/dist/rpc/polyfills.d.ts +2 -0
- package/package.json +1 -2
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.342";
|
|
@@ -7,6 +7,8 @@ export interface Properties {
|
|
|
7
7
|
intrinsicParameters?: IntrinsicParameters.AsObject;
|
|
8
8
|
/** Camera distortion parameters, if available. */
|
|
9
9
|
distortionParameters?: DistortionParameters.AsObject;
|
|
10
|
+
/** Camera frame rate parameters, if available. */
|
|
11
|
+
frameRate?: number;
|
|
10
12
|
}
|
|
11
13
|
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/jpeg' | 'image/png' | 'pointcloud/pcd' | 'unsupported';
|
|
12
14
|
/** Represents any physical hardware that can capture frames. */
|
|
@@ -79,6 +79,11 @@ export class RobotConfig extends jspb.Message {
|
|
|
79
79
|
getRevision(): string;
|
|
80
80
|
setRevision(value: string): void;
|
|
81
81
|
|
|
82
|
+
hasMaintenance(): boolean;
|
|
83
|
+
clearMaintenance(): void;
|
|
84
|
+
getMaintenance(): MaintenanceConfig | undefined;
|
|
85
|
+
setMaintenance(value?: MaintenanceConfig): void;
|
|
86
|
+
|
|
82
87
|
serializeBinary(): Uint8Array;
|
|
83
88
|
toObject(includeInstance?: boolean): RobotConfig.AsObject;
|
|
84
89
|
static toObject(includeInstance: boolean, msg: RobotConfig): RobotConfig.AsObject;
|
|
@@ -106,6 +111,7 @@ export namespace RobotConfig {
|
|
|
106
111
|
enableWebProfile: boolean,
|
|
107
112
|
logList: Array<LogPatternConfig.AsObject>,
|
|
108
113
|
revision: string,
|
|
114
|
+
maintenance?: MaintenanceConfig.AsObject,
|
|
109
115
|
}
|
|
110
116
|
}
|
|
111
117
|
|
|
@@ -1366,6 +1372,32 @@ export namespace PackageConfig {
|
|
|
1366
1372
|
}
|
|
1367
1373
|
}
|
|
1368
1374
|
|
|
1375
|
+
export class MaintenanceConfig extends jspb.Message {
|
|
1376
|
+
hasSensorName(): boolean;
|
|
1377
|
+
clearSensorName(): void;
|
|
1378
|
+
getSensorName(): common_v1_common_pb.ResourceName | undefined;
|
|
1379
|
+
setSensorName(value?: common_v1_common_pb.ResourceName): void;
|
|
1380
|
+
|
|
1381
|
+
getMaintenanceAllowedKey(): string;
|
|
1382
|
+
setMaintenanceAllowedKey(value: string): void;
|
|
1383
|
+
|
|
1384
|
+
serializeBinary(): Uint8Array;
|
|
1385
|
+
toObject(includeInstance?: boolean): MaintenanceConfig.AsObject;
|
|
1386
|
+
static toObject(includeInstance: boolean, msg: MaintenanceConfig): MaintenanceConfig.AsObject;
|
|
1387
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1388
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1389
|
+
static serializeBinaryToWriter(message: MaintenanceConfig, writer: jspb.BinaryWriter): void;
|
|
1390
|
+
static deserializeBinary(bytes: Uint8Array): MaintenanceConfig;
|
|
1391
|
+
static deserializeBinaryFromReader(message: MaintenanceConfig, reader: jspb.BinaryReader): MaintenanceConfig;
|
|
1392
|
+
}
|
|
1393
|
+
|
|
1394
|
+
export namespace MaintenanceConfig {
|
|
1395
|
+
export type AsObject = {
|
|
1396
|
+
sensorName?: common_v1_common_pb.ResourceName.AsObject,
|
|
1397
|
+
maintenanceAllowedKey: string,
|
|
1398
|
+
}
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1369
1401
|
export interface CredentialsTypeMap {
|
|
1370
1402
|
CREDENTIALS_TYPE_UNSPECIFIED: 0;
|
|
1371
1403
|
CREDENTIALS_TYPE_INTERNAL: 1;
|
|
@@ -266,6 +266,11 @@ export class GetPropertiesResponse extends jspb.Message {
|
|
|
266
266
|
setMimeTypesList(value: Array<string>): void;
|
|
267
267
|
addMimeTypes(value: string, index?: number): string;
|
|
268
268
|
|
|
269
|
+
hasFrameRate(): boolean;
|
|
270
|
+
clearFrameRate(): void;
|
|
271
|
+
getFrameRate(): number;
|
|
272
|
+
setFrameRate(value: number): void;
|
|
273
|
+
|
|
269
274
|
serializeBinary(): Uint8Array;
|
|
270
275
|
toObject(includeInstance?: boolean): GetPropertiesResponse.AsObject;
|
|
271
276
|
static toObject(includeInstance: boolean, msg: GetPropertiesResponse): GetPropertiesResponse.AsObject;
|
|
@@ -282,6 +287,7 @@ export namespace GetPropertiesResponse {
|
|
|
282
287
|
intrinsicParameters?: IntrinsicParameters.AsObject,
|
|
283
288
|
distortionParameters?: DistortionParameters.AsObject,
|
|
284
289
|
mimeTypesList: Array<string>,
|
|
290
|
+
frameRate: number,
|
|
285
291
|
}
|
|
286
292
|
}
|
|
287
293
|
|
|
@@ -8,7 +8,7 @@ type FileUploadServiceUploadFile = {
|
|
|
8
8
|
readonly methodName: string;
|
|
9
9
|
readonly service: typeof FileUploadService;
|
|
10
10
|
readonly requestStream: true;
|
|
11
|
-
readonly responseStream:
|
|
11
|
+
readonly responseStream: false;
|
|
12
12
|
readonly requestType: typeof proto_rpc_examples_fileupload_v1_fileupload_pb.UploadFileRequest;
|
|
13
13
|
readonly responseType: typeof proto_rpc_examples_fileupload_v1_fileupload_pb.UploadFileResponse;
|
|
14
14
|
};
|
|
@@ -50,6 +50,6 @@ export class FileUploadServiceClient {
|
|
|
50
50
|
readonly serviceHost: string;
|
|
51
51
|
|
|
52
52
|
constructor(serviceHost: string, options?: grpc.RpcOptions);
|
|
53
|
-
uploadFile(metadata?: grpc.Metadata):
|
|
53
|
+
uploadFile(metadata?: grpc.Metadata): RequestStream<proto_rpc_examples_fileupload_v1_fileupload_pb.UploadFileRequest>;
|
|
54
54
|
}
|
|
55
55
|
|