@viamrobotics/sdk 0.17.0 → 0.17.1-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/components/motor/client.d.ts +1 -0
- package/dist/components/motor/motor.d.ts +7 -0
- package/dist/gen/app/v1/app_pb.d.ts +143 -4
- package/dist/gen/app/v1/app_pb_service.d.ts +38 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +71 -3
- package/dist/gen/app/v1/end_user_pb_service.d.ts +19 -0
- package/dist/gen/app/v1/robot_pb.d.ts +0 -2
- package/dist/gen/component/motor/v1/motor_pb.d.ts +46 -0
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +19 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +32 -0
- package/dist/gen/robot/v1/robot_pb_service.d.ts +19 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +0 -11
- package/dist/main.es.js +17999 -17405
- package/dist/main.umd.js +19 -19
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ export declare class MotorClient implements Motor {
|
|
|
15
15
|
setPower(power: number, extra?: {}): Promise<void>;
|
|
16
16
|
goFor(rpm: number, revolutions: number, extra?: {}): Promise<void>;
|
|
17
17
|
goTo(rpm: number, positionRevolutions: number, extra?: {}): Promise<void>;
|
|
18
|
+
setRPM(rpm: number, extra?: {}): Promise<void>;
|
|
18
19
|
resetZeroPosition(offset: number, extra?: {}): Promise<void>;
|
|
19
20
|
stop(extra?: {}): Promise<void>;
|
|
20
21
|
getProperties(extra?: {}): Promise<{
|
|
@@ -33,6 +33,13 @@ export interface Motor extends Resource {
|
|
|
33
33
|
* home position.
|
|
34
34
|
*/
|
|
35
35
|
goTo(rpm: number, positionRevolutions: number, extra?: StructType): Promise<void>;
|
|
36
|
+
/**
|
|
37
|
+
* Move the motor indefinitely at a specified speed. Raise an error if
|
|
38
|
+
* position reporting is not supported.
|
|
39
|
+
*
|
|
40
|
+
* @param rpm - Speed in revolutions per minute.
|
|
41
|
+
*/
|
|
42
|
+
setRPM(rpm: number, extra?: StructType): Promise<void>;
|
|
36
43
|
/**
|
|
37
44
|
* Set the current position of the motor as the new zero position, offset by a
|
|
38
45
|
* given position. Raise an error if position reporting is not supported.
|
|
@@ -2126,6 +2126,9 @@ export class Fragment extends jspb.Message {
|
|
|
2126
2126
|
getOnlyUsedByOwner(): boolean;
|
|
2127
2127
|
setOnlyUsedByOwner(value: boolean): void;
|
|
2128
2128
|
|
|
2129
|
+
getVisibility(): FragmentVisibilityMap[keyof FragmentVisibilityMap];
|
|
2130
|
+
setVisibility(value: FragmentVisibilityMap[keyof FragmentVisibilityMap]): void;
|
|
2131
|
+
|
|
2129
2132
|
serializeBinary(): Uint8Array;
|
|
2130
2133
|
toObject(includeInstance?: boolean): Fragment.AsObject;
|
|
2131
2134
|
static toObject(includeInstance: boolean, msg: Fragment): Fragment.AsObject;
|
|
@@ -2148,6 +2151,7 @@ export namespace Fragment {
|
|
|
2148
2151
|
robotPartCount: number,
|
|
2149
2152
|
organizationCount: number,
|
|
2150
2153
|
onlyUsedByOwner: boolean,
|
|
2154
|
+
visibility: FragmentVisibilityMap[keyof FragmentVisibilityMap],
|
|
2151
2155
|
}
|
|
2152
2156
|
}
|
|
2153
2157
|
|
|
@@ -2158,6 +2162,11 @@ export class ListFragmentsRequest extends jspb.Message {
|
|
|
2158
2162
|
getShowPublic(): boolean;
|
|
2159
2163
|
setShowPublic(value: boolean): void;
|
|
2160
2164
|
|
|
2165
|
+
clearFragmentVisibilityList(): void;
|
|
2166
|
+
getFragmentVisibilityList(): Array<FragmentVisibilityMap[keyof FragmentVisibilityMap]>;
|
|
2167
|
+
setFragmentVisibilityList(value: Array<FragmentVisibilityMap[keyof FragmentVisibilityMap]>): void;
|
|
2168
|
+
addFragmentVisibility(value: FragmentVisibilityMap[keyof FragmentVisibilityMap], index?: number): FragmentVisibilityMap[keyof FragmentVisibilityMap];
|
|
2169
|
+
|
|
2161
2170
|
serializeBinary(): Uint8Array;
|
|
2162
2171
|
toObject(includeInstance?: boolean): ListFragmentsRequest.AsObject;
|
|
2163
2172
|
static toObject(includeInstance: boolean, msg: ListFragmentsRequest): ListFragmentsRequest.AsObject;
|
|
@@ -2172,6 +2181,7 @@ export namespace ListFragmentsRequest {
|
|
|
2172
2181
|
export type AsObject = {
|
|
2173
2182
|
organizationId: string,
|
|
2174
2183
|
showPublic: boolean,
|
|
2184
|
+
fragmentVisibilityList: Array<FragmentVisibilityMap[keyof FragmentVisibilityMap]>,
|
|
2175
2185
|
}
|
|
2176
2186
|
}
|
|
2177
2187
|
|
|
@@ -2308,6 +2318,11 @@ export class UpdateFragmentRequest extends jspb.Message {
|
|
|
2308
2318
|
getPublic(): boolean;
|
|
2309
2319
|
setPublic(value: boolean): void;
|
|
2310
2320
|
|
|
2321
|
+
hasVisibility(): boolean;
|
|
2322
|
+
clearVisibility(): void;
|
|
2323
|
+
getVisibility(): FragmentVisibilityMap[keyof FragmentVisibilityMap];
|
|
2324
|
+
setVisibility(value: FragmentVisibilityMap[keyof FragmentVisibilityMap]): void;
|
|
2325
|
+
|
|
2311
2326
|
serializeBinary(): Uint8Array;
|
|
2312
2327
|
toObject(includeInstance?: boolean): UpdateFragmentRequest.AsObject;
|
|
2313
2328
|
static toObject(includeInstance: boolean, msg: UpdateFragmentRequest): UpdateFragmentRequest.AsObject;
|
|
@@ -2324,6 +2339,7 @@ export namespace UpdateFragmentRequest {
|
|
|
2324
2339
|
name: string,
|
|
2325
2340
|
config?: google_protobuf_struct_pb.Struct.AsObject,
|
|
2326
2341
|
pb_public: boolean,
|
|
2342
|
+
visibility: FragmentVisibilityMap[keyof FragmentVisibilityMap],
|
|
2327
2343
|
}
|
|
2328
2344
|
}
|
|
2329
2345
|
|
|
@@ -3087,11 +3103,37 @@ export namespace MLModelMetadata {
|
|
|
3087
3103
|
}
|
|
3088
3104
|
}
|
|
3089
3105
|
|
|
3106
|
+
export class MLTrainingVersion extends jspb.Message {
|
|
3107
|
+
getVersion(): string;
|
|
3108
|
+
setVersion(value: string): void;
|
|
3109
|
+
|
|
3110
|
+
hasCreatedOn(): boolean;
|
|
3111
|
+
clearCreatedOn(): void;
|
|
3112
|
+
getCreatedOn(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
3113
|
+
setCreatedOn(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
3114
|
+
|
|
3115
|
+
serializeBinary(): Uint8Array;
|
|
3116
|
+
toObject(includeInstance?: boolean): MLTrainingVersion.AsObject;
|
|
3117
|
+
static toObject(includeInstance: boolean, msg: MLTrainingVersion): MLTrainingVersion.AsObject;
|
|
3118
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3119
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3120
|
+
static serializeBinaryToWriter(message: MLTrainingVersion, writer: jspb.BinaryWriter): void;
|
|
3121
|
+
static deserializeBinary(bytes: Uint8Array): MLTrainingVersion;
|
|
3122
|
+
static deserializeBinaryFromReader(message: MLTrainingVersion, reader: jspb.BinaryReader): MLTrainingVersion;
|
|
3123
|
+
}
|
|
3124
|
+
|
|
3125
|
+
export namespace MLTrainingVersion {
|
|
3126
|
+
export type AsObject = {
|
|
3127
|
+
version: string,
|
|
3128
|
+
createdOn?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
3129
|
+
}
|
|
3130
|
+
}
|
|
3131
|
+
|
|
3090
3132
|
export class MLTrainingMetadata extends jspb.Message {
|
|
3091
3133
|
clearVersionsList(): void;
|
|
3092
|
-
getVersionsList(): Array<
|
|
3093
|
-
setVersionsList(value: Array<
|
|
3094
|
-
addVersions(value
|
|
3134
|
+
getVersionsList(): Array<MLTrainingVersion>;
|
|
3135
|
+
setVersionsList(value: Array<MLTrainingVersion>): void;
|
|
3136
|
+
addVersions(value?: MLTrainingVersion, index?: number): MLTrainingVersion;
|
|
3095
3137
|
|
|
3096
3138
|
getModelType(): app_mltraining_v1_ml_training_pb.ModelTypeMap[keyof app_mltraining_v1_ml_training_pb.ModelTypeMap];
|
|
3097
3139
|
setModelType(value: app_mltraining_v1_ml_training_pb.ModelTypeMap[keyof app_mltraining_v1_ml_training_pb.ModelTypeMap]): void;
|
|
@@ -3114,7 +3156,7 @@ export class MLTrainingMetadata extends jspb.Message {
|
|
|
3114
3156
|
|
|
3115
3157
|
export namespace MLTrainingMetadata {
|
|
3116
3158
|
export type AsObject = {
|
|
3117
|
-
versionsList: Array<
|
|
3159
|
+
versionsList: Array<MLTrainingVersion.AsObject>,
|
|
3118
3160
|
modelType: app_mltraining_v1_ml_training_pb.ModelTypeMap[keyof app_mltraining_v1_ml_training_pb.ModelTypeMap],
|
|
3119
3161
|
modelFramework: app_mltraining_v1_ml_training_pb.ModelFrameworkMap[keyof app_mltraining_v1_ml_training_pb.ModelFrameworkMap],
|
|
3120
3162
|
draft: boolean,
|
|
@@ -3479,6 +3521,46 @@ export namespace DeleteRegistryItemResponse {
|
|
|
3479
3521
|
}
|
|
3480
3522
|
}
|
|
3481
3523
|
|
|
3524
|
+
export class TransferRegistryItemRequest extends jspb.Message {
|
|
3525
|
+
getItemId(): string;
|
|
3526
|
+
setItemId(value: string): void;
|
|
3527
|
+
|
|
3528
|
+
getNewPublicNamespace(): string;
|
|
3529
|
+
setNewPublicNamespace(value: string): void;
|
|
3530
|
+
|
|
3531
|
+
serializeBinary(): Uint8Array;
|
|
3532
|
+
toObject(includeInstance?: boolean): TransferRegistryItemRequest.AsObject;
|
|
3533
|
+
static toObject(includeInstance: boolean, msg: TransferRegistryItemRequest): TransferRegistryItemRequest.AsObject;
|
|
3534
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3535
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3536
|
+
static serializeBinaryToWriter(message: TransferRegistryItemRequest, writer: jspb.BinaryWriter): void;
|
|
3537
|
+
static deserializeBinary(bytes: Uint8Array): TransferRegistryItemRequest;
|
|
3538
|
+
static deserializeBinaryFromReader(message: TransferRegistryItemRequest, reader: jspb.BinaryReader): TransferRegistryItemRequest;
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3541
|
+
export namespace TransferRegistryItemRequest {
|
|
3542
|
+
export type AsObject = {
|
|
3543
|
+
itemId: string,
|
|
3544
|
+
newPublicNamespace: string,
|
|
3545
|
+
}
|
|
3546
|
+
}
|
|
3547
|
+
|
|
3548
|
+
export class TransferRegistryItemResponse extends jspb.Message {
|
|
3549
|
+
serializeBinary(): Uint8Array;
|
|
3550
|
+
toObject(includeInstance?: boolean): TransferRegistryItemResponse.AsObject;
|
|
3551
|
+
static toObject(includeInstance: boolean, msg: TransferRegistryItemResponse): TransferRegistryItemResponse.AsObject;
|
|
3552
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3553
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3554
|
+
static serializeBinaryToWriter(message: TransferRegistryItemResponse, writer: jspb.BinaryWriter): void;
|
|
3555
|
+
static deserializeBinary(bytes: Uint8Array): TransferRegistryItemResponse;
|
|
3556
|
+
static deserializeBinaryFromReader(message: TransferRegistryItemResponse, reader: jspb.BinaryReader): TransferRegistryItemResponse;
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
export namespace TransferRegistryItemResponse {
|
|
3560
|
+
export type AsObject = {
|
|
3561
|
+
}
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3482
3564
|
export class CreateModuleRequest extends jspb.Message {
|
|
3483
3565
|
getOrganizationId(): string;
|
|
3484
3566
|
setOrganizationId(value: string): void;
|
|
@@ -4106,6 +4188,54 @@ export namespace DeleteKeyResponse {
|
|
|
4106
4188
|
}
|
|
4107
4189
|
}
|
|
4108
4190
|
|
|
4191
|
+
export class RenameKeyRequest extends jspb.Message {
|
|
4192
|
+
getId(): string;
|
|
4193
|
+
setId(value: string): void;
|
|
4194
|
+
|
|
4195
|
+
getName(): string;
|
|
4196
|
+
setName(value: string): void;
|
|
4197
|
+
|
|
4198
|
+
serializeBinary(): Uint8Array;
|
|
4199
|
+
toObject(includeInstance?: boolean): RenameKeyRequest.AsObject;
|
|
4200
|
+
static toObject(includeInstance: boolean, msg: RenameKeyRequest): RenameKeyRequest.AsObject;
|
|
4201
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4202
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4203
|
+
static serializeBinaryToWriter(message: RenameKeyRequest, writer: jspb.BinaryWriter): void;
|
|
4204
|
+
static deserializeBinary(bytes: Uint8Array): RenameKeyRequest;
|
|
4205
|
+
static deserializeBinaryFromReader(message: RenameKeyRequest, reader: jspb.BinaryReader): RenameKeyRequest;
|
|
4206
|
+
}
|
|
4207
|
+
|
|
4208
|
+
export namespace RenameKeyRequest {
|
|
4209
|
+
export type AsObject = {
|
|
4210
|
+
id: string,
|
|
4211
|
+
name: string,
|
|
4212
|
+
}
|
|
4213
|
+
}
|
|
4214
|
+
|
|
4215
|
+
export class RenameKeyResponse extends jspb.Message {
|
|
4216
|
+
getId(): string;
|
|
4217
|
+
setId(value: string): void;
|
|
4218
|
+
|
|
4219
|
+
getName(): string;
|
|
4220
|
+
setName(value: string): void;
|
|
4221
|
+
|
|
4222
|
+
serializeBinary(): Uint8Array;
|
|
4223
|
+
toObject(includeInstance?: boolean): RenameKeyResponse.AsObject;
|
|
4224
|
+
static toObject(includeInstance: boolean, msg: RenameKeyResponse): RenameKeyResponse.AsObject;
|
|
4225
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
4226
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
4227
|
+
static serializeBinaryToWriter(message: RenameKeyResponse, writer: jspb.BinaryWriter): void;
|
|
4228
|
+
static deserializeBinary(bytes: Uint8Array): RenameKeyResponse;
|
|
4229
|
+
static deserializeBinaryFromReader(message: RenameKeyResponse, reader: jspb.BinaryReader): RenameKeyResponse;
|
|
4230
|
+
}
|
|
4231
|
+
|
|
4232
|
+
export namespace RenameKeyResponse {
|
|
4233
|
+
export type AsObject = {
|
|
4234
|
+
id: string,
|
|
4235
|
+
name: string,
|
|
4236
|
+
}
|
|
4237
|
+
}
|
|
4238
|
+
|
|
4109
4239
|
export class AuthorizationDetails extends jspb.Message {
|
|
4110
4240
|
getAuthorizationType(): string;
|
|
4111
4241
|
setAuthorizationType(value: string): void;
|
|
@@ -4300,6 +4430,15 @@ export namespace CreateKeyFromExistingKeyAuthorizationsResponse {
|
|
|
4300
4430
|
}
|
|
4301
4431
|
}
|
|
4302
4432
|
|
|
4433
|
+
export interface FragmentVisibilityMap {
|
|
4434
|
+
FRAGMENT_VISIBILITY_UNSPECIFIED: 0;
|
|
4435
|
+
FRAGMENT_VISIBILITY_PRIVATE: 1;
|
|
4436
|
+
FRAGMENT_VISIBILITY_PUBLIC: 2;
|
|
4437
|
+
FRAGMENT_VISIBILITY_PUBLIC_UNLISTED: 3;
|
|
4438
|
+
}
|
|
4439
|
+
|
|
4440
|
+
export const FragmentVisibility: FragmentVisibilityMap;
|
|
4441
|
+
|
|
4303
4442
|
export interface RegistryItemStatusMap {
|
|
4304
4443
|
REGISTRY_ITEM_STATUS_UNSPECIFIED: 0;
|
|
4305
4444
|
REGISTRY_ITEM_STATUS_PUBLISHED: 1;
|
|
@@ -535,6 +535,15 @@ type AppServiceDeleteRegistryItem = {
|
|
|
535
535
|
readonly responseType: typeof app_v1_app_pb.DeleteRegistryItemResponse;
|
|
536
536
|
};
|
|
537
537
|
|
|
538
|
+
type AppServiceTransferRegistryItem = {
|
|
539
|
+
readonly methodName: string;
|
|
540
|
+
readonly service: typeof AppService;
|
|
541
|
+
readonly requestStream: false;
|
|
542
|
+
readonly responseStream: false;
|
|
543
|
+
readonly requestType: typeof app_v1_app_pb.TransferRegistryItemRequest;
|
|
544
|
+
readonly responseType: typeof app_v1_app_pb.TransferRegistryItemResponse;
|
|
545
|
+
};
|
|
546
|
+
|
|
538
547
|
type AppServiceCreateModule = {
|
|
539
548
|
readonly methodName: string;
|
|
540
549
|
readonly service: typeof AppService;
|
|
@@ -607,6 +616,15 @@ type AppServiceListKeys = {
|
|
|
607
616
|
readonly responseType: typeof app_v1_app_pb.ListKeysResponse;
|
|
608
617
|
};
|
|
609
618
|
|
|
619
|
+
type AppServiceRenameKey = {
|
|
620
|
+
readonly methodName: string;
|
|
621
|
+
readonly service: typeof AppService;
|
|
622
|
+
readonly requestStream: false;
|
|
623
|
+
readonly responseStream: false;
|
|
624
|
+
readonly requestType: typeof app_v1_app_pb.RenameKeyRequest;
|
|
625
|
+
readonly responseType: typeof app_v1_app_pb.RenameKeyResponse;
|
|
626
|
+
};
|
|
627
|
+
|
|
610
628
|
type AppServiceRotateKey = {
|
|
611
629
|
readonly methodName: string;
|
|
612
630
|
readonly service: typeof AppService;
|
|
@@ -686,6 +704,7 @@ export class AppService {
|
|
|
686
704
|
static readonly UpdateRegistryItem: AppServiceUpdateRegistryItem;
|
|
687
705
|
static readonly ListRegistryItems: AppServiceListRegistryItems;
|
|
688
706
|
static readonly DeleteRegistryItem: AppServiceDeleteRegistryItem;
|
|
707
|
+
static readonly TransferRegistryItem: AppServiceTransferRegistryItem;
|
|
689
708
|
static readonly CreateModule: AppServiceCreateModule;
|
|
690
709
|
static readonly UpdateModule: AppServiceUpdateModule;
|
|
691
710
|
static readonly UploadModuleFile: AppServiceUploadModuleFile;
|
|
@@ -694,6 +713,7 @@ export class AppService {
|
|
|
694
713
|
static readonly CreateKey: AppServiceCreateKey;
|
|
695
714
|
static readonly DeleteKey: AppServiceDeleteKey;
|
|
696
715
|
static readonly ListKeys: AppServiceListKeys;
|
|
716
|
+
static readonly RenameKey: AppServiceRenameKey;
|
|
697
717
|
static readonly RotateKey: AppServiceRotateKey;
|
|
698
718
|
static readonly CreateKeyFromExistingKeyAuthorizations: AppServiceCreateKeyFromExistingKeyAuthorizations;
|
|
699
719
|
}
|
|
@@ -1253,6 +1273,15 @@ export class AppServiceClient {
|
|
|
1253
1273
|
requestMessage: app_v1_app_pb.DeleteRegistryItemRequest,
|
|
1254
1274
|
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.DeleteRegistryItemResponse|null) => void
|
|
1255
1275
|
): UnaryResponse;
|
|
1276
|
+
transferRegistryItem(
|
|
1277
|
+
requestMessage: app_v1_app_pb.TransferRegistryItemRequest,
|
|
1278
|
+
metadata: grpc.Metadata,
|
|
1279
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.TransferRegistryItemResponse|null) => void
|
|
1280
|
+
): UnaryResponse;
|
|
1281
|
+
transferRegistryItem(
|
|
1282
|
+
requestMessage: app_v1_app_pb.TransferRegistryItemRequest,
|
|
1283
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.TransferRegistryItemResponse|null) => void
|
|
1284
|
+
): UnaryResponse;
|
|
1256
1285
|
createModule(
|
|
1257
1286
|
requestMessage: app_v1_app_pb.CreateModuleRequest,
|
|
1258
1287
|
metadata: grpc.Metadata,
|
|
@@ -1317,6 +1346,15 @@ export class AppServiceClient {
|
|
|
1317
1346
|
requestMessage: app_v1_app_pb.ListKeysRequest,
|
|
1318
1347
|
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.ListKeysResponse|null) => void
|
|
1319
1348
|
): UnaryResponse;
|
|
1349
|
+
renameKey(
|
|
1350
|
+
requestMessage: app_v1_app_pb.RenameKeyRequest,
|
|
1351
|
+
metadata: grpc.Metadata,
|
|
1352
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.RenameKeyResponse|null) => void
|
|
1353
|
+
): UnaryResponse;
|
|
1354
|
+
renameKey(
|
|
1355
|
+
requestMessage: app_v1_app_pb.RenameKeyRequest,
|
|
1356
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.RenameKeyResponse|null) => void
|
|
1357
|
+
): UnaryResponse;
|
|
1320
1358
|
rotateKey(
|
|
1321
1359
|
requestMessage: app_v1_app_pb.RotateKeyRequest,
|
|
1322
1360
|
metadata: grpc.Metadata,
|
|
@@ -118,8 +118,8 @@ export class RegisterAuthApplicationResponse extends jspb.Message {
|
|
|
118
118
|
getApplicationName(): string;
|
|
119
119
|
setApplicationName(value: string): void;
|
|
120
120
|
|
|
121
|
-
|
|
122
|
-
|
|
121
|
+
getClientSecret(): string;
|
|
122
|
+
setClientSecret(value: string): void;
|
|
123
123
|
|
|
124
124
|
serializeBinary(): Uint8Array;
|
|
125
125
|
toObject(includeInstance?: boolean): RegisterAuthApplicationResponse.AsObject;
|
|
@@ -135,7 +135,7 @@ export namespace RegisterAuthApplicationResponse {
|
|
|
135
135
|
export type AsObject = {
|
|
136
136
|
applicationId: string,
|
|
137
137
|
applicationName: string,
|
|
138
|
-
|
|
138
|
+
clientSecret: string,
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
@@ -207,3 +207,71 @@ export namespace UpdateAuthApplicationResponse {
|
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
+
export class GetAuthApplicationRequest extends jspb.Message {
|
|
211
|
+
getOrgId(): string;
|
|
212
|
+
setOrgId(value: string): void;
|
|
213
|
+
|
|
214
|
+
getApplicationId(): string;
|
|
215
|
+
setApplicationId(value: string): void;
|
|
216
|
+
|
|
217
|
+
serializeBinary(): Uint8Array;
|
|
218
|
+
toObject(includeInstance?: boolean): GetAuthApplicationRequest.AsObject;
|
|
219
|
+
static toObject(includeInstance: boolean, msg: GetAuthApplicationRequest): GetAuthApplicationRequest.AsObject;
|
|
220
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
221
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
222
|
+
static serializeBinaryToWriter(message: GetAuthApplicationRequest, writer: jspb.BinaryWriter): void;
|
|
223
|
+
static deserializeBinary(bytes: Uint8Array): GetAuthApplicationRequest;
|
|
224
|
+
static deserializeBinaryFromReader(message: GetAuthApplicationRequest, reader: jspb.BinaryReader): GetAuthApplicationRequest;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export namespace GetAuthApplicationRequest {
|
|
228
|
+
export type AsObject = {
|
|
229
|
+
orgId: string,
|
|
230
|
+
applicationId: string,
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
export class GetAuthApplicationResponse extends jspb.Message {
|
|
235
|
+
getApplicationId(): string;
|
|
236
|
+
setApplicationId(value: string): void;
|
|
237
|
+
|
|
238
|
+
getApplicationName(): string;
|
|
239
|
+
setApplicationName(value: string): void;
|
|
240
|
+
|
|
241
|
+
getClientSecret(): string;
|
|
242
|
+
setClientSecret(value: string): void;
|
|
243
|
+
|
|
244
|
+
clearOriginUrisList(): void;
|
|
245
|
+
getOriginUrisList(): Array<string>;
|
|
246
|
+
setOriginUrisList(value: Array<string>): void;
|
|
247
|
+
addOriginUris(value: string, index?: number): string;
|
|
248
|
+
|
|
249
|
+
clearRedirectUrisList(): void;
|
|
250
|
+
getRedirectUrisList(): Array<string>;
|
|
251
|
+
setRedirectUrisList(value: Array<string>): void;
|
|
252
|
+
addRedirectUris(value: string, index?: number): string;
|
|
253
|
+
|
|
254
|
+
getLogoutUri(): string;
|
|
255
|
+
setLogoutUri(value: string): void;
|
|
256
|
+
|
|
257
|
+
serializeBinary(): Uint8Array;
|
|
258
|
+
toObject(includeInstance?: boolean): GetAuthApplicationResponse.AsObject;
|
|
259
|
+
static toObject(includeInstance: boolean, msg: GetAuthApplicationResponse): GetAuthApplicationResponse.AsObject;
|
|
260
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
261
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
262
|
+
static serializeBinaryToWriter(message: GetAuthApplicationResponse, writer: jspb.BinaryWriter): void;
|
|
263
|
+
static deserializeBinary(bytes: Uint8Array): GetAuthApplicationResponse;
|
|
264
|
+
static deserializeBinaryFromReader(message: GetAuthApplicationResponse, reader: jspb.BinaryReader): GetAuthApplicationResponse;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export namespace GetAuthApplicationResponse {
|
|
268
|
+
export type AsObject = {
|
|
269
|
+
applicationId: string,
|
|
270
|
+
applicationName: string,
|
|
271
|
+
clientSecret: string,
|
|
272
|
+
originUrisList: Array<string>,
|
|
273
|
+
redirectUrisList: Array<string>,
|
|
274
|
+
logoutUri: string,
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
|
|
@@ -40,12 +40,22 @@ type EndUserServiceUpdateAuthApplication = {
|
|
|
40
40
|
readonly responseType: typeof app_v1_end_user_pb.UpdateAuthApplicationResponse;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
type EndUserServiceGetAuthApplication = {
|
|
44
|
+
readonly methodName: string;
|
|
45
|
+
readonly service: typeof EndUserService;
|
|
46
|
+
readonly requestStream: false;
|
|
47
|
+
readonly responseStream: false;
|
|
48
|
+
readonly requestType: typeof app_v1_end_user_pb.GetAuthApplicationRequest;
|
|
49
|
+
readonly responseType: typeof app_v1_end_user_pb.GetAuthApplicationResponse;
|
|
50
|
+
};
|
|
51
|
+
|
|
43
52
|
export class EndUserService {
|
|
44
53
|
static readonly serviceName: string;
|
|
45
54
|
static readonly IsLegalAccepted: EndUserServiceIsLegalAccepted;
|
|
46
55
|
static readonly AcceptLegal: EndUserServiceAcceptLegal;
|
|
47
56
|
static readonly RegisterAuthApplication: EndUserServiceRegisterAuthApplication;
|
|
48
57
|
static readonly UpdateAuthApplication: EndUserServiceUpdateAuthApplication;
|
|
58
|
+
static readonly GetAuthApplication: EndUserServiceGetAuthApplication;
|
|
49
59
|
}
|
|
50
60
|
|
|
51
61
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -116,5 +126,14 @@ export class EndUserServiceClient {
|
|
|
116
126
|
requestMessage: app_v1_end_user_pb.UpdateAuthApplicationRequest,
|
|
117
127
|
callback: (error: ServiceError|null, responseMessage: app_v1_end_user_pb.UpdateAuthApplicationResponse|null) => void
|
|
118
128
|
): UnaryResponse;
|
|
129
|
+
getAuthApplication(
|
|
130
|
+
requestMessage: app_v1_end_user_pb.GetAuthApplicationRequest,
|
|
131
|
+
metadata: grpc.Metadata,
|
|
132
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_end_user_pb.GetAuthApplicationResponse|null) => void
|
|
133
|
+
): UnaryResponse;
|
|
134
|
+
getAuthApplication(
|
|
135
|
+
requestMessage: app_v1_end_user_pb.GetAuthApplicationRequest,
|
|
136
|
+
callback: (error: ServiceError|null, responseMessage: app_v1_end_user_pb.GetAuthApplicationResponse|null) => void
|
|
137
|
+
): UnaryResponse;
|
|
119
138
|
}
|
|
120
139
|
|
|
@@ -68,8 +68,6 @@ export class RobotConfig extends jspb.Message {
|
|
|
68
68
|
setOverwriteFragmentStatusList(value: Array<AppValidationStatus>): void;
|
|
69
69
|
addOverwriteFragmentStatus(value?: AppValidationStatus, index?: number): AppValidationStatus;
|
|
70
70
|
|
|
71
|
-
hasEnableWebProfile(): boolean;
|
|
72
|
-
clearEnableWebProfile(): void;
|
|
73
71
|
getEnableWebProfile(): boolean;
|
|
74
72
|
setEnableWebProfile(value: boolean): void;
|
|
75
73
|
|
|
@@ -152,6 +152,52 @@ export namespace GoToResponse {
|
|
|
152
152
|
}
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
export class SetRPMRequest extends jspb.Message {
|
|
156
|
+
getName(): string;
|
|
157
|
+
setName(value: string): void;
|
|
158
|
+
|
|
159
|
+
getRpm(): number;
|
|
160
|
+
setRpm(value: number): void;
|
|
161
|
+
|
|
162
|
+
hasExtra(): boolean;
|
|
163
|
+
clearExtra(): void;
|
|
164
|
+
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
165
|
+
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
166
|
+
|
|
167
|
+
serializeBinary(): Uint8Array;
|
|
168
|
+
toObject(includeInstance?: boolean): SetRPMRequest.AsObject;
|
|
169
|
+
static toObject(includeInstance: boolean, msg: SetRPMRequest): SetRPMRequest.AsObject;
|
|
170
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
171
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
172
|
+
static serializeBinaryToWriter(message: SetRPMRequest, writer: jspb.BinaryWriter): void;
|
|
173
|
+
static deserializeBinary(bytes: Uint8Array): SetRPMRequest;
|
|
174
|
+
static deserializeBinaryFromReader(message: SetRPMRequest, reader: jspb.BinaryReader): SetRPMRequest;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export namespace SetRPMRequest {
|
|
178
|
+
export type AsObject = {
|
|
179
|
+
name: string,
|
|
180
|
+
rpm: number,
|
|
181
|
+
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class SetRPMResponse extends jspb.Message {
|
|
186
|
+
serializeBinary(): Uint8Array;
|
|
187
|
+
toObject(includeInstance?: boolean): SetRPMResponse.AsObject;
|
|
188
|
+
static toObject(includeInstance: boolean, msg: SetRPMResponse): SetRPMResponse.AsObject;
|
|
189
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
190
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
191
|
+
static serializeBinaryToWriter(message: SetRPMResponse, writer: jspb.BinaryWriter): void;
|
|
192
|
+
static deserializeBinary(bytes: Uint8Array): SetRPMResponse;
|
|
193
|
+
static deserializeBinaryFromReader(message: SetRPMResponse, reader: jspb.BinaryReader): SetRPMResponse;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export namespace SetRPMResponse {
|
|
197
|
+
export type AsObject = {
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
155
201
|
export class ResetZeroPositionRequest extends jspb.Message {
|
|
156
202
|
getName(): string;
|
|
157
203
|
setName(value: string): void;
|
|
@@ -32,6 +32,15 @@ type MotorServiceGoTo = {
|
|
|
32
32
|
readonly responseType: typeof component_motor_v1_motor_pb.GoToResponse;
|
|
33
33
|
};
|
|
34
34
|
|
|
35
|
+
type MotorServiceSetRPM = {
|
|
36
|
+
readonly methodName: string;
|
|
37
|
+
readonly service: typeof MotorService;
|
|
38
|
+
readonly requestStream: false;
|
|
39
|
+
readonly responseStream: false;
|
|
40
|
+
readonly requestType: typeof component_motor_v1_motor_pb.SetRPMRequest;
|
|
41
|
+
readonly responseType: typeof component_motor_v1_motor_pb.SetRPMResponse;
|
|
42
|
+
};
|
|
43
|
+
|
|
35
44
|
type MotorServiceResetZeroPosition = {
|
|
36
45
|
readonly methodName: string;
|
|
37
46
|
readonly service: typeof MotorService;
|
|
@@ -109,6 +118,7 @@ export class MotorService {
|
|
|
109
118
|
static readonly SetPower: MotorServiceSetPower;
|
|
110
119
|
static readonly GoFor: MotorServiceGoFor;
|
|
111
120
|
static readonly GoTo: MotorServiceGoTo;
|
|
121
|
+
static readonly SetRPM: MotorServiceSetRPM;
|
|
112
122
|
static readonly ResetZeroPosition: MotorServiceResetZeroPosition;
|
|
113
123
|
static readonly GetPosition: MotorServiceGetPosition;
|
|
114
124
|
static readonly GetProperties: MotorServiceGetProperties;
|
|
@@ -178,6 +188,15 @@ export class MotorServiceClient {
|
|
|
178
188
|
requestMessage: component_motor_v1_motor_pb.GoToRequest,
|
|
179
189
|
callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.GoToResponse|null) => void
|
|
180
190
|
): UnaryResponse;
|
|
191
|
+
setRPM(
|
|
192
|
+
requestMessage: component_motor_v1_motor_pb.SetRPMRequest,
|
|
193
|
+
metadata: grpc.Metadata,
|
|
194
|
+
callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.SetRPMResponse|null) => void
|
|
195
|
+
): UnaryResponse;
|
|
196
|
+
setRPM(
|
|
197
|
+
requestMessage: component_motor_v1_motor_pb.SetRPMRequest,
|
|
198
|
+
callback: (error: ServiceError|null, responseMessage: component_motor_v1_motor_pb.SetRPMResponse|null) => void
|
|
199
|
+
): UnaryResponse;
|
|
181
200
|
resetZeroPosition(
|
|
182
201
|
requestMessage: component_motor_v1_motor_pb.ResetZeroPositionRequest,
|
|
183
202
|
metadata: grpc.Metadata,
|
|
@@ -1049,6 +1049,38 @@ export namespace RestartModuleResponse {
|
|
|
1049
1049
|
}
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
+
export class ShutdownRequest extends jspb.Message {
|
|
1053
|
+
serializeBinary(): Uint8Array;
|
|
1054
|
+
toObject(includeInstance?: boolean): ShutdownRequest.AsObject;
|
|
1055
|
+
static toObject(includeInstance: boolean, msg: ShutdownRequest): ShutdownRequest.AsObject;
|
|
1056
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1057
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1058
|
+
static serializeBinaryToWriter(message: ShutdownRequest, writer: jspb.BinaryWriter): void;
|
|
1059
|
+
static deserializeBinary(bytes: Uint8Array): ShutdownRequest;
|
|
1060
|
+
static deserializeBinaryFromReader(message: ShutdownRequest, reader: jspb.BinaryReader): ShutdownRequest;
|
|
1061
|
+
}
|
|
1062
|
+
|
|
1063
|
+
export namespace ShutdownRequest {
|
|
1064
|
+
export type AsObject = {
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
export class ShutdownResponse extends jspb.Message {
|
|
1069
|
+
serializeBinary(): Uint8Array;
|
|
1070
|
+
toObject(includeInstance?: boolean): ShutdownResponse.AsObject;
|
|
1071
|
+
static toObject(includeInstance: boolean, msg: ShutdownResponse): ShutdownResponse.AsObject;
|
|
1072
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1073
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1074
|
+
static serializeBinaryToWriter(message: ShutdownResponse, writer: jspb.BinaryWriter): void;
|
|
1075
|
+
static deserializeBinary(bytes: Uint8Array): ShutdownResponse;
|
|
1076
|
+
static deserializeBinaryFromReader(message: ShutdownResponse, reader: jspb.BinaryReader): ShutdownResponse;
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
export namespace ShutdownResponse {
|
|
1080
|
+
export type AsObject = {
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1052
1084
|
export interface PeerConnectionTypeMap {
|
|
1053
1085
|
PEER_CONNECTION_TYPE_UNSPECIFIED: 0;
|
|
1054
1086
|
PEER_CONNECTION_TYPE_GRPC: 1;
|
|
@@ -166,6 +166,15 @@ type RobotServiceRestartModule = {
|
|
|
166
166
|
readonly responseType: typeof robot_v1_robot_pb.RestartModuleResponse;
|
|
167
167
|
};
|
|
168
168
|
|
|
169
|
+
type RobotServiceShutdown = {
|
|
170
|
+
readonly methodName: string;
|
|
171
|
+
readonly service: typeof RobotService;
|
|
172
|
+
readonly requestStream: false;
|
|
173
|
+
readonly responseStream: false;
|
|
174
|
+
readonly requestType: typeof robot_v1_robot_pb.ShutdownRequest;
|
|
175
|
+
readonly responseType: typeof robot_v1_robot_pb.ShutdownResponse;
|
|
176
|
+
};
|
|
177
|
+
|
|
169
178
|
export class RobotService {
|
|
170
179
|
static readonly serviceName: string;
|
|
171
180
|
static readonly GetOperations: RobotServiceGetOperations;
|
|
@@ -186,6 +195,7 @@ export class RobotService {
|
|
|
186
195
|
static readonly Log: RobotServiceLog;
|
|
187
196
|
static readonly GetCloudMetadata: RobotServiceGetCloudMetadata;
|
|
188
197
|
static readonly RestartModule: RobotServiceRestartModule;
|
|
198
|
+
static readonly Shutdown: RobotServiceShutdown;
|
|
189
199
|
}
|
|
190
200
|
|
|
191
201
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -374,5 +384,14 @@ export class RobotServiceClient {
|
|
|
374
384
|
requestMessage: robot_v1_robot_pb.RestartModuleRequest,
|
|
375
385
|
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.RestartModuleResponse|null) => void
|
|
376
386
|
): UnaryResponse;
|
|
387
|
+
shutdown(
|
|
388
|
+
requestMessage: robot_v1_robot_pb.ShutdownRequest,
|
|
389
|
+
metadata: grpc.Metadata,
|
|
390
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ShutdownResponse|null) => void
|
|
391
|
+
): UnaryResponse;
|
|
392
|
+
shutdown(
|
|
393
|
+
requestMessage: robot_v1_robot_pb.ShutdownRequest,
|
|
394
|
+
callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.ShutdownResponse|null) => void
|
|
395
|
+
): UnaryResponse;
|
|
377
396
|
}
|
|
378
397
|
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
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
|
-
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
8
7
|
|
|
9
8
|
export class GetPositionRequest extends jspb.Message {
|
|
10
9
|
getName(): string;
|
|
@@ -32,14 +31,6 @@ export class GetPositionResponse extends jspb.Message {
|
|
|
32
31
|
getPose(): common_v1_common_pb.Pose | undefined;
|
|
33
32
|
setPose(value?: common_v1_common_pb.Pose): void;
|
|
34
33
|
|
|
35
|
-
getComponentReference(): string;
|
|
36
|
-
setComponentReference(value: string): void;
|
|
37
|
-
|
|
38
|
-
hasExtra(): boolean;
|
|
39
|
-
clearExtra(): void;
|
|
40
|
-
getExtra(): google_protobuf_struct_pb.Struct | undefined;
|
|
41
|
-
setExtra(value?: google_protobuf_struct_pb.Struct): void;
|
|
42
|
-
|
|
43
34
|
serializeBinary(): Uint8Array;
|
|
44
35
|
toObject(includeInstance?: boolean): GetPositionResponse.AsObject;
|
|
45
36
|
static toObject(includeInstance: boolean, msg: GetPositionResponse): GetPositionResponse.AsObject;
|
|
@@ -53,8 +44,6 @@ export class GetPositionResponse extends jspb.Message {
|
|
|
53
44
|
export namespace GetPositionResponse {
|
|
54
45
|
export type AsObject = {
|
|
55
46
|
pose?: common_v1_common_pb.Pose.AsObject,
|
|
56
|
-
componentReference: string,
|
|
57
|
-
extra?: google_protobuf_struct_pb.Struct.AsObject,
|
|
58
47
|
}
|
|
59
48
|
}
|
|
60
49
|
|