@viamrobotics/sdk 0.70.0 → 0.72.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/data-client.d.ts +107 -3
- package/dist/components/camera/camera.d.ts +1 -1
- package/dist/components/gripper/client.d.ts +2 -0
- package/dist/components/gripper/gripper.d.ts +29 -0
- package/dist/debug.d.ts +82 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +15 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +56 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +396 -1
- package/dist/gen/common/v1/common_pb.d.ts +26 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +17 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +23 -1
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +118 -0
- package/dist/main.d.ts +2 -1
- package/dist/main.es.js +6000 -5439
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +65 -28
- package/dist/rpc/dial.d.ts +1 -0
- package/dist/rpc/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import type { Any, BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
6
|
+
import type { Any, BinaryReadOptions, FieldList, FieldMask, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -3022,3 +3022,398 @@ export declare class CreateBinaryDataSignedURLResponse extends Message<CreateBin
|
|
|
3022
3022
|
static equals(a: CreateBinaryDataSignedURLResponse | PlainMessage<CreateBinaryDataSignedURLResponse> | undefined, b: CreateBinaryDataSignedURLResponse | PlainMessage<CreateBinaryDataSignedURLResponse> | undefined): boolean;
|
|
3023
3023
|
}
|
|
3024
3024
|
|
|
3025
|
+
/**
|
|
3026
|
+
* SequenceResourceFilter filters binary and/or tabular data by source identifiers.
|
|
3027
|
+
*
|
|
3028
|
+
* @generated from message viam.app.data.v1.SequenceResourceFilter
|
|
3029
|
+
*/
|
|
3030
|
+
export declare class SequenceResourceFilter extends Message<SequenceResourceFilter> {
|
|
3031
|
+
/**
|
|
3032
|
+
* @generated from field: string part_id = 1;
|
|
3033
|
+
*/
|
|
3034
|
+
partId: string;
|
|
3035
|
+
|
|
3036
|
+
/**
|
|
3037
|
+
* @generated from field: string resource_name = 2;
|
|
3038
|
+
*/
|
|
3039
|
+
resourceName: string;
|
|
3040
|
+
|
|
3041
|
+
/**
|
|
3042
|
+
* @generated from field: string method_name = 3;
|
|
3043
|
+
*/
|
|
3044
|
+
methodName: string;
|
|
3045
|
+
|
|
3046
|
+
constructor(data?: PartialMessage<SequenceResourceFilter>);
|
|
3047
|
+
|
|
3048
|
+
static readonly runtime: typeof proto3;
|
|
3049
|
+
static readonly typeName = "viam.app.data.v1.SequenceResourceFilter";
|
|
3050
|
+
static readonly fields: FieldList;
|
|
3051
|
+
|
|
3052
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SequenceResourceFilter;
|
|
3053
|
+
|
|
3054
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SequenceResourceFilter;
|
|
3055
|
+
|
|
3056
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SequenceResourceFilter;
|
|
3057
|
+
|
|
3058
|
+
static equals(a: SequenceResourceFilter | PlainMessage<SequenceResourceFilter> | undefined, b: SequenceResourceFilter | PlainMessage<SequenceResourceFilter> | undefined): boolean;
|
|
3059
|
+
}
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* @generated from message viam.app.data.v1.Sequence
|
|
3063
|
+
*/
|
|
3064
|
+
export declare class Sequence extends Message<Sequence> {
|
|
3065
|
+
/**
|
|
3066
|
+
* Metadata associated with the sequence.
|
|
3067
|
+
*
|
|
3068
|
+
* @generated from field: string id = 1;
|
|
3069
|
+
*/
|
|
3070
|
+
id: string;
|
|
3071
|
+
|
|
3072
|
+
/**
|
|
3073
|
+
* @generated from field: string organization_id = 2;
|
|
3074
|
+
*/
|
|
3075
|
+
organizationId: string;
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* @generated from field: repeated string sequence_tags = 3;
|
|
3079
|
+
*/
|
|
3080
|
+
sequenceTags: string[];
|
|
3081
|
+
|
|
3082
|
+
/**
|
|
3083
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
3084
|
+
*/
|
|
3085
|
+
createdAt?: Timestamp;
|
|
3086
|
+
|
|
3087
|
+
/**
|
|
3088
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 5;
|
|
3089
|
+
*/
|
|
3090
|
+
updatedAt?: Timestamp;
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* The time range the sequence applies to.
|
|
3094
|
+
*
|
|
3095
|
+
* @generated from field: google.protobuf.Timestamp start_time = 6;
|
|
3096
|
+
*/
|
|
3097
|
+
startTime?: Timestamp;
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* @generated from field: google.protobuf.Timestamp end_time = 7;
|
|
3101
|
+
*/
|
|
3102
|
+
endTime?: Timestamp;
|
|
3103
|
+
|
|
3104
|
+
/**
|
|
3105
|
+
* Resources whose data is associated with this sequence.
|
|
3106
|
+
*
|
|
3107
|
+
* @generated from field: repeated viam.app.data.v1.SequenceResourceFilter resources = 8;
|
|
3108
|
+
*/
|
|
3109
|
+
resources: SequenceResourceFilter[];
|
|
3110
|
+
|
|
3111
|
+
constructor(data?: PartialMessage<Sequence>);
|
|
3112
|
+
|
|
3113
|
+
static readonly runtime: typeof proto3;
|
|
3114
|
+
static readonly typeName = "viam.app.data.v1.Sequence";
|
|
3115
|
+
static readonly fields: FieldList;
|
|
3116
|
+
|
|
3117
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Sequence;
|
|
3118
|
+
|
|
3119
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Sequence;
|
|
3120
|
+
|
|
3121
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Sequence;
|
|
3122
|
+
|
|
3123
|
+
static equals(a: Sequence | PlainMessage<Sequence> | undefined, b: Sequence | PlainMessage<Sequence> | undefined): boolean;
|
|
3124
|
+
}
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* @generated from message viam.app.data.v1.CreateSequenceRequest
|
|
3128
|
+
*/
|
|
3129
|
+
export declare class CreateSequenceRequest extends Message<CreateSequenceRequest> {
|
|
3130
|
+
/**
|
|
3131
|
+
* @generated from field: string organization_id = 1;
|
|
3132
|
+
*/
|
|
3133
|
+
organizationId: string;
|
|
3134
|
+
|
|
3135
|
+
/**
|
|
3136
|
+
* @generated from field: repeated viam.app.data.v1.SequenceResourceFilter resources = 2;
|
|
3137
|
+
*/
|
|
3138
|
+
resources: SequenceResourceFilter[];
|
|
3139
|
+
|
|
3140
|
+
/**
|
|
3141
|
+
* @generated from field: repeated string sequence_tags = 3;
|
|
3142
|
+
*/
|
|
3143
|
+
sequenceTags: string[];
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
3147
|
+
*/
|
|
3148
|
+
startTime?: Timestamp;
|
|
3149
|
+
|
|
3150
|
+
/**
|
|
3151
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
3152
|
+
*/
|
|
3153
|
+
endTime?: Timestamp;
|
|
3154
|
+
|
|
3155
|
+
constructor(data?: PartialMessage<CreateSequenceRequest>);
|
|
3156
|
+
|
|
3157
|
+
static readonly runtime: typeof proto3;
|
|
3158
|
+
static readonly typeName = "viam.app.data.v1.CreateSequenceRequest";
|
|
3159
|
+
static readonly fields: FieldList;
|
|
3160
|
+
|
|
3161
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSequenceRequest;
|
|
3162
|
+
|
|
3163
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSequenceRequest;
|
|
3164
|
+
|
|
3165
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSequenceRequest;
|
|
3166
|
+
|
|
3167
|
+
static equals(a: CreateSequenceRequest | PlainMessage<CreateSequenceRequest> | undefined, b: CreateSequenceRequest | PlainMessage<CreateSequenceRequest> | undefined): boolean;
|
|
3168
|
+
}
|
|
3169
|
+
|
|
3170
|
+
/**
|
|
3171
|
+
* @generated from message viam.app.data.v1.CreateSequenceResponse
|
|
3172
|
+
*/
|
|
3173
|
+
export declare class CreateSequenceResponse extends Message<CreateSequenceResponse> {
|
|
3174
|
+
/**
|
|
3175
|
+
* @generated from field: string id = 1;
|
|
3176
|
+
*/
|
|
3177
|
+
id: string;
|
|
3178
|
+
|
|
3179
|
+
constructor(data?: PartialMessage<CreateSequenceResponse>);
|
|
3180
|
+
|
|
3181
|
+
static readonly runtime: typeof proto3;
|
|
3182
|
+
static readonly typeName = "viam.app.data.v1.CreateSequenceResponse";
|
|
3183
|
+
static readonly fields: FieldList;
|
|
3184
|
+
|
|
3185
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSequenceResponse;
|
|
3186
|
+
|
|
3187
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSequenceResponse;
|
|
3188
|
+
|
|
3189
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSequenceResponse;
|
|
3190
|
+
|
|
3191
|
+
static equals(a: CreateSequenceResponse | PlainMessage<CreateSequenceResponse> | undefined, b: CreateSequenceResponse | PlainMessage<CreateSequenceResponse> | undefined): boolean;
|
|
3192
|
+
}
|
|
3193
|
+
|
|
3194
|
+
/**
|
|
3195
|
+
* @generated from message viam.app.data.v1.GetSequenceRequest
|
|
3196
|
+
*/
|
|
3197
|
+
export declare class GetSequenceRequest extends Message<GetSequenceRequest> {
|
|
3198
|
+
/**
|
|
3199
|
+
* @generated from field: string id = 1;
|
|
3200
|
+
*/
|
|
3201
|
+
id: string;
|
|
3202
|
+
|
|
3203
|
+
constructor(data?: PartialMessage<GetSequenceRequest>);
|
|
3204
|
+
|
|
3205
|
+
static readonly runtime: typeof proto3;
|
|
3206
|
+
static readonly typeName = "viam.app.data.v1.GetSequenceRequest";
|
|
3207
|
+
static readonly fields: FieldList;
|
|
3208
|
+
|
|
3209
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceRequest;
|
|
3210
|
+
|
|
3211
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceRequest;
|
|
3212
|
+
|
|
3213
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceRequest;
|
|
3214
|
+
|
|
3215
|
+
static equals(a: GetSequenceRequest | PlainMessage<GetSequenceRequest> | undefined, b: GetSequenceRequest | PlainMessage<GetSequenceRequest> | undefined): boolean;
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
/**
|
|
3219
|
+
* @generated from message viam.app.data.v1.GetSequenceResponse
|
|
3220
|
+
*/
|
|
3221
|
+
export declare class GetSequenceResponse extends Message<GetSequenceResponse> {
|
|
3222
|
+
/**
|
|
3223
|
+
* @generated from field: viam.app.data.v1.Sequence sequence = 1;
|
|
3224
|
+
*/
|
|
3225
|
+
sequence?: Sequence;
|
|
3226
|
+
|
|
3227
|
+
constructor(data?: PartialMessage<GetSequenceResponse>);
|
|
3228
|
+
|
|
3229
|
+
static readonly runtime: typeof proto3;
|
|
3230
|
+
static readonly typeName = "viam.app.data.v1.GetSequenceResponse";
|
|
3231
|
+
static readonly fields: FieldList;
|
|
3232
|
+
|
|
3233
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSequenceResponse;
|
|
3234
|
+
|
|
3235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSequenceResponse;
|
|
3236
|
+
|
|
3237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSequenceResponse;
|
|
3238
|
+
|
|
3239
|
+
static equals(a: GetSequenceResponse | PlainMessage<GetSequenceResponse> | undefined, b: GetSequenceResponse | PlainMessage<GetSequenceResponse> | undefined): boolean;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* UpdateSequenceRequest updates the mutable fields of a sequence.
|
|
3244
|
+
* Only fields listed in field_mask will be updated; others are left unchanged.
|
|
3245
|
+
* Fields 2-5 are allowed fields for the field_mask.
|
|
3246
|
+
*
|
|
3247
|
+
* @generated from message viam.app.data.v1.UpdateSequenceRequest
|
|
3248
|
+
*/
|
|
3249
|
+
export declare class UpdateSequenceRequest extends Message<UpdateSequenceRequest> {
|
|
3250
|
+
/**
|
|
3251
|
+
* @generated from field: string id = 1;
|
|
3252
|
+
*/
|
|
3253
|
+
id: string;
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* @generated from field: repeated viam.app.data.v1.SequenceResourceFilter resources = 2;
|
|
3257
|
+
*/
|
|
3258
|
+
resources: SequenceResourceFilter[];
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* @generated from field: repeated string sequence_tags = 3;
|
|
3262
|
+
*/
|
|
3263
|
+
sequenceTags: string[];
|
|
3264
|
+
|
|
3265
|
+
/**
|
|
3266
|
+
* @generated from field: google.protobuf.Timestamp start_time = 4;
|
|
3267
|
+
*/
|
|
3268
|
+
startTime?: Timestamp;
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* @generated from field: google.protobuf.Timestamp end_time = 5;
|
|
3272
|
+
*/
|
|
3273
|
+
endTime?: Timestamp;
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* @generated from field: google.protobuf.FieldMask field_mask = 6;
|
|
3277
|
+
*/
|
|
3278
|
+
fieldMask?: FieldMask;
|
|
3279
|
+
|
|
3280
|
+
constructor(data?: PartialMessage<UpdateSequenceRequest>);
|
|
3281
|
+
|
|
3282
|
+
static readonly runtime: typeof proto3;
|
|
3283
|
+
static readonly typeName = "viam.app.data.v1.UpdateSequenceRequest";
|
|
3284
|
+
static readonly fields: FieldList;
|
|
3285
|
+
|
|
3286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSequenceRequest;
|
|
3287
|
+
|
|
3288
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSequenceRequest;
|
|
3289
|
+
|
|
3290
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSequenceRequest;
|
|
3291
|
+
|
|
3292
|
+
static equals(a: UpdateSequenceRequest | PlainMessage<UpdateSequenceRequest> | undefined, b: UpdateSequenceRequest | PlainMessage<UpdateSequenceRequest> | undefined): boolean;
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* @generated from message viam.app.data.v1.UpdateSequenceResponse
|
|
3297
|
+
*/
|
|
3298
|
+
export declare class UpdateSequenceResponse extends Message<UpdateSequenceResponse> {
|
|
3299
|
+
constructor(data?: PartialMessage<UpdateSequenceResponse>);
|
|
3300
|
+
|
|
3301
|
+
static readonly runtime: typeof proto3;
|
|
3302
|
+
static readonly typeName = "viam.app.data.v1.UpdateSequenceResponse";
|
|
3303
|
+
static readonly fields: FieldList;
|
|
3304
|
+
|
|
3305
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSequenceResponse;
|
|
3306
|
+
|
|
3307
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSequenceResponse;
|
|
3308
|
+
|
|
3309
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSequenceResponse;
|
|
3310
|
+
|
|
3311
|
+
static equals(a: UpdateSequenceResponse | PlainMessage<UpdateSequenceResponse> | undefined, b: UpdateSequenceResponse | PlainMessage<UpdateSequenceResponse> | undefined): boolean;
|
|
3312
|
+
}
|
|
3313
|
+
|
|
3314
|
+
/**
|
|
3315
|
+
* @generated from message viam.app.data.v1.DeleteSequenceRequest
|
|
3316
|
+
*/
|
|
3317
|
+
export declare class DeleteSequenceRequest extends Message<DeleteSequenceRequest> {
|
|
3318
|
+
/**
|
|
3319
|
+
* @generated from field: string id = 1;
|
|
3320
|
+
*/
|
|
3321
|
+
id: string;
|
|
3322
|
+
|
|
3323
|
+
constructor(data?: PartialMessage<DeleteSequenceRequest>);
|
|
3324
|
+
|
|
3325
|
+
static readonly runtime: typeof proto3;
|
|
3326
|
+
static readonly typeName = "viam.app.data.v1.DeleteSequenceRequest";
|
|
3327
|
+
static readonly fields: FieldList;
|
|
3328
|
+
|
|
3329
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSequenceRequest;
|
|
3330
|
+
|
|
3331
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSequenceRequest;
|
|
3332
|
+
|
|
3333
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSequenceRequest;
|
|
3334
|
+
|
|
3335
|
+
static equals(a: DeleteSequenceRequest | PlainMessage<DeleteSequenceRequest> | undefined, b: DeleteSequenceRequest | PlainMessage<DeleteSequenceRequest> | undefined): boolean;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
/**
|
|
3339
|
+
* @generated from message viam.app.data.v1.DeleteSequenceResponse
|
|
3340
|
+
*/
|
|
3341
|
+
export declare class DeleteSequenceResponse extends Message<DeleteSequenceResponse> {
|
|
3342
|
+
constructor(data?: PartialMessage<DeleteSequenceResponse>);
|
|
3343
|
+
|
|
3344
|
+
static readonly runtime: typeof proto3;
|
|
3345
|
+
static readonly typeName = "viam.app.data.v1.DeleteSequenceResponse";
|
|
3346
|
+
static readonly fields: FieldList;
|
|
3347
|
+
|
|
3348
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSequenceResponse;
|
|
3349
|
+
|
|
3350
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSequenceResponse;
|
|
3351
|
+
|
|
3352
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSequenceResponse;
|
|
3353
|
+
|
|
3354
|
+
static equals(a: DeleteSequenceResponse | PlainMessage<DeleteSequenceResponse> | undefined, b: DeleteSequenceResponse | PlainMessage<DeleteSequenceResponse> | undefined): boolean;
|
|
3355
|
+
}
|
|
3356
|
+
|
|
3357
|
+
/**
|
|
3358
|
+
* @generated from message viam.app.data.v1.ListSequencesRequest
|
|
3359
|
+
*/
|
|
3360
|
+
export declare class ListSequencesRequest extends Message<ListSequencesRequest> {
|
|
3361
|
+
/**
|
|
3362
|
+
* @generated from field: string organization_id = 1;
|
|
3363
|
+
*/
|
|
3364
|
+
organizationId: string;
|
|
3365
|
+
|
|
3366
|
+
/**
|
|
3367
|
+
* @generated from field: string page_token = 2;
|
|
3368
|
+
*/
|
|
3369
|
+
pageToken: string;
|
|
3370
|
+
|
|
3371
|
+
/**
|
|
3372
|
+
* @generated from field: uint32 page_size = 3;
|
|
3373
|
+
*/
|
|
3374
|
+
pageSize: number;
|
|
3375
|
+
|
|
3376
|
+
constructor(data?: PartialMessage<ListSequencesRequest>);
|
|
3377
|
+
|
|
3378
|
+
static readonly runtime: typeof proto3;
|
|
3379
|
+
static readonly typeName = "viam.app.data.v1.ListSequencesRequest";
|
|
3380
|
+
static readonly fields: FieldList;
|
|
3381
|
+
|
|
3382
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSequencesRequest;
|
|
3383
|
+
|
|
3384
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSequencesRequest;
|
|
3385
|
+
|
|
3386
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSequencesRequest;
|
|
3387
|
+
|
|
3388
|
+
static equals(a: ListSequencesRequest | PlainMessage<ListSequencesRequest> | undefined, b: ListSequencesRequest | PlainMessage<ListSequencesRequest> | undefined): boolean;
|
|
3389
|
+
}
|
|
3390
|
+
|
|
3391
|
+
/**
|
|
3392
|
+
* @generated from message viam.app.data.v1.ListSequencesResponse
|
|
3393
|
+
*/
|
|
3394
|
+
export declare class ListSequencesResponse extends Message<ListSequencesResponse> {
|
|
3395
|
+
/**
|
|
3396
|
+
* @generated from field: repeated viam.app.data.v1.Sequence sequences = 1;
|
|
3397
|
+
*/
|
|
3398
|
+
sequences: Sequence[];
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* @generated from field: string next_page_token = 2;
|
|
3402
|
+
*/
|
|
3403
|
+
nextPageToken: string;
|
|
3404
|
+
|
|
3405
|
+
constructor(data?: PartialMessage<ListSequencesResponse>);
|
|
3406
|
+
|
|
3407
|
+
static readonly runtime: typeof proto3;
|
|
3408
|
+
static readonly typeName = "viam.app.data.v1.ListSequencesResponse";
|
|
3409
|
+
static readonly fields: FieldList;
|
|
3410
|
+
|
|
3411
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSequencesResponse;
|
|
3412
|
+
|
|
3413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSequencesResponse;
|
|
3414
|
+
|
|
3415
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSequencesResponse;
|
|
3416
|
+
|
|
3417
|
+
static equals(a: ListSequencesResponse | PlainMessage<ListSequencesResponse> | undefined, b: ListSequencesResponse | PlainMessage<ListSequencesResponse> | undefined): boolean;
|
|
3418
|
+
}
|
|
3419
|
+
|
|
@@ -1110,6 +1110,32 @@ export declare class Get3DModelsResponse extends Message<Get3DModelsResponse> {
|
|
|
1110
1110
|
static equals(a: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined, b: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined): boolean;
|
|
1111
1111
|
}
|
|
1112
1112
|
|
|
1113
|
+
/**
|
|
1114
|
+
* @generated from message viam.common.v1.GetWorldPoseResponse
|
|
1115
|
+
*/
|
|
1116
|
+
export declare class GetWorldPoseResponse extends Message<GetWorldPoseResponse> {
|
|
1117
|
+
/**
|
|
1118
|
+
* Pose of the component in the world reference frame
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from field: viam.common.v1.Pose pose = 1;
|
|
1121
|
+
*/
|
|
1122
|
+
pose?: Pose;
|
|
1123
|
+
|
|
1124
|
+
constructor(data?: PartialMessage<GetWorldPoseResponse>);
|
|
1125
|
+
|
|
1126
|
+
static readonly runtime: typeof proto3;
|
|
1127
|
+
static readonly typeName = "viam.common.v1.GetWorldPoseResponse";
|
|
1128
|
+
static readonly fields: FieldList;
|
|
1129
|
+
|
|
1130
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWorldPoseResponse;
|
|
1131
|
+
|
|
1132
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWorldPoseResponse;
|
|
1133
|
+
|
|
1134
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWorldPoseResponse;
|
|
1135
|
+
|
|
1136
|
+
static equals(a: GetWorldPoseResponse | PlainMessage<GetWorldPoseResponse> | undefined, b: GetWorldPoseResponse | PlainMessage<GetWorldPoseResponse> | undefined): boolean;
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1113
1139
|
/**
|
|
1114
1140
|
* @generated from message viam.common.v1.GetReadingsRequest
|
|
1115
1141
|
*/
|
|
@@ -477,11 +477,17 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
477
477
|
}
|
|
478
478
|
|
|
479
479
|
/**
|
|
480
|
+
* MoveOptions specifies kinematic constraints for an arm motion. All fields
|
|
481
|
+
* are optional ceilings; any combination may be set. Every constraint that
|
|
482
|
+
* is set is respected at every point along the executed trajectory.
|
|
483
|
+
* The limiting constraint may change throughout execution.
|
|
484
|
+
*
|
|
480
485
|
* @generated from message viam.component.arm.v1.MoveOptions
|
|
481
486
|
*/
|
|
482
487
|
export declare class MoveOptions extends Message<MoveOptions> {
|
|
483
488
|
/**
|
|
484
489
|
* Maximum allowable velocity of an arm joint, in degrees per second.
|
|
490
|
+
* The arm driver will move as fast as possible up to the set value.
|
|
485
491
|
* Ignored when max_vel_degs_per_sec_joints is set.
|
|
486
492
|
*
|
|
487
493
|
* @generated from field: optional double max_vel_degs_per_sec = 1;
|
|
@@ -490,6 +496,7 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
490
496
|
|
|
491
497
|
/**
|
|
492
498
|
* Maximum allowable acceleration of an arm joint, in degrees per second squared.
|
|
499
|
+
* The arm driver will accelerate as fast as possible up to the set value.
|
|
493
500
|
* ignored when max_acc_degs_per_sec2_joints is set.
|
|
494
501
|
*
|
|
495
502
|
* @generated from field: optional double max_acc_degs_per_sec2 = 2;
|
|
@@ -498,6 +505,7 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
498
505
|
|
|
499
506
|
/**
|
|
500
507
|
* Per-joint maximum velocity in degrees per second.
|
|
508
|
+
* The arm driver will move each joint as fast as possible up to its respective set value.
|
|
501
509
|
*
|
|
502
510
|
* @generated from field: repeated double max_vel_degs_per_sec_joints = 3;
|
|
503
511
|
*/
|
|
@@ -505,11 +513,20 @@ export declare class MoveOptions extends Message<MoveOptions> {
|
|
|
505
513
|
|
|
506
514
|
/**
|
|
507
515
|
* Per-joint maximum acceleration in degrees per second squared.
|
|
516
|
+
* The arm driver will accelerate each joint as fast as possible up to its respective set value.
|
|
508
517
|
*
|
|
509
518
|
* @generated from field: repeated double max_acc_degs_per_sec2_joints = 4;
|
|
510
519
|
*/
|
|
511
520
|
maxAccDegsPerSec2Joints: number[];
|
|
512
521
|
|
|
522
|
+
/**
|
|
523
|
+
* Maximum allowable speed of an arm's tool center point in meters per second.
|
|
524
|
+
* The arm driver will move the tool center point as fast as possible up to this set value.
|
|
525
|
+
*
|
|
526
|
+
* @generated from field: optional double max_tcp_speed = 5;
|
|
527
|
+
*/
|
|
528
|
+
maxTcpSpeed?: number;
|
|
529
|
+
|
|
513
530
|
constructor(data?: PartialMessage<MoveOptions>);
|
|
514
531
|
|
|
515
532
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
6
|
+
import { GetCurrentInputsRequest, GetCurrentInputsResponse, GoToInputsRequest, GoToInputsResponse, GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -70,6 +70,28 @@ export declare const GripperService: {
|
|
|
70
70
|
readonly O: typeof IsHoldingSomethingResponse,
|
|
71
71
|
readonly kind: MethodKind.Unary,
|
|
72
72
|
},
|
|
73
|
+
/**
|
|
74
|
+
* GetCurrentInputs returns the current input values of a gripper
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.GetCurrentInputs
|
|
77
|
+
*/
|
|
78
|
+
readonly getCurrentInputs: {
|
|
79
|
+
readonly name: "GetCurrentInputs",
|
|
80
|
+
readonly I: typeof GetCurrentInputsRequest,
|
|
81
|
+
readonly O: typeof GetCurrentInputsResponse,
|
|
82
|
+
readonly kind: MethodKind.Unary,
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* GoToInputs moves the gripper to the given input values.
|
|
86
|
+
*
|
|
87
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.GoToInputs
|
|
88
|
+
*/
|
|
89
|
+
readonly goToInputs: {
|
|
90
|
+
readonly name: "GoToInputs",
|
|
91
|
+
readonly I: typeof GoToInputsRequest,
|
|
92
|
+
readonly O: typeof GoToInputsResponse,
|
|
93
|
+
readonly kind: MethodKind.Unary,
|
|
94
|
+
},
|
|
73
95
|
/**
|
|
74
96
|
* DoCommand sends/receives arbitrary commands
|
|
75
97
|
*
|
|
@@ -268,3 +268,121 @@ export declare class IsHoldingSomethingResponse extends Message<IsHoldingSomethi
|
|
|
268
268
|
static equals(a: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined, b: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined): boolean;
|
|
269
269
|
}
|
|
270
270
|
|
|
271
|
+
/**
|
|
272
|
+
* @generated from message viam.component.gripper.v1.GetCurrentInputsRequest
|
|
273
|
+
*/
|
|
274
|
+
export declare class GetCurrentInputsRequest extends Message<GetCurrentInputsRequest> {
|
|
275
|
+
/**
|
|
276
|
+
* Name of a gripper
|
|
277
|
+
*
|
|
278
|
+
* @generated from field: string name = 1;
|
|
279
|
+
*/
|
|
280
|
+
name: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Additional arguments to the method
|
|
284
|
+
*
|
|
285
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
286
|
+
*/
|
|
287
|
+
extra?: Struct;
|
|
288
|
+
|
|
289
|
+
constructor(data?: PartialMessage<GetCurrentInputsRequest>);
|
|
290
|
+
|
|
291
|
+
static readonly runtime: typeof proto3;
|
|
292
|
+
static readonly typeName = "viam.component.gripper.v1.GetCurrentInputsRequest";
|
|
293
|
+
static readonly fields: FieldList;
|
|
294
|
+
|
|
295
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCurrentInputsRequest;
|
|
296
|
+
|
|
297
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCurrentInputsRequest;
|
|
298
|
+
|
|
299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCurrentInputsRequest;
|
|
300
|
+
|
|
301
|
+
static equals(a: GetCurrentInputsRequest | PlainMessage<GetCurrentInputsRequest> | undefined, b: GetCurrentInputsRequest | PlainMessage<GetCurrentInputsRequest> | undefined): boolean;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* @generated from message viam.component.gripper.v1.GetCurrentInputsResponse
|
|
306
|
+
*/
|
|
307
|
+
export declare class GetCurrentInputsResponse extends Message<GetCurrentInputsResponse> {
|
|
308
|
+
/**
|
|
309
|
+
* The current input values of the gripper
|
|
310
|
+
*
|
|
311
|
+
* @generated from field: repeated double values = 1;
|
|
312
|
+
*/
|
|
313
|
+
values: number[];
|
|
314
|
+
|
|
315
|
+
constructor(data?: PartialMessage<GetCurrentInputsResponse>);
|
|
316
|
+
|
|
317
|
+
static readonly runtime: typeof proto3;
|
|
318
|
+
static readonly typeName = "viam.component.gripper.v1.GetCurrentInputsResponse";
|
|
319
|
+
static readonly fields: FieldList;
|
|
320
|
+
|
|
321
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetCurrentInputsResponse;
|
|
322
|
+
|
|
323
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetCurrentInputsResponse;
|
|
324
|
+
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetCurrentInputsResponse;
|
|
326
|
+
|
|
327
|
+
static equals(a: GetCurrentInputsResponse | PlainMessage<GetCurrentInputsResponse> | undefined, b: GetCurrentInputsResponse | PlainMessage<GetCurrentInputsResponse> | undefined): boolean;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
* @generated from message viam.component.gripper.v1.GoToInputsRequest
|
|
332
|
+
*/
|
|
333
|
+
export declare class GoToInputsRequest extends Message<GoToInputsRequest> {
|
|
334
|
+
/**
|
|
335
|
+
* Name of a gripper
|
|
336
|
+
*
|
|
337
|
+
* @generated from field: string name = 1;
|
|
338
|
+
*/
|
|
339
|
+
name: string;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* The input values to move the gripper to
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: repeated double values = 2;
|
|
345
|
+
*/
|
|
346
|
+
values: number[];
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* Additional arguments to the method
|
|
350
|
+
*
|
|
351
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
352
|
+
*/
|
|
353
|
+
extra?: Struct;
|
|
354
|
+
|
|
355
|
+
constructor(data?: PartialMessage<GoToInputsRequest>);
|
|
356
|
+
|
|
357
|
+
static readonly runtime: typeof proto3;
|
|
358
|
+
static readonly typeName = "viam.component.gripper.v1.GoToInputsRequest";
|
|
359
|
+
static readonly fields: FieldList;
|
|
360
|
+
|
|
361
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoToInputsRequest;
|
|
362
|
+
|
|
363
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoToInputsRequest;
|
|
364
|
+
|
|
365
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoToInputsRequest;
|
|
366
|
+
|
|
367
|
+
static equals(a: GoToInputsRequest | PlainMessage<GoToInputsRequest> | undefined, b: GoToInputsRequest | PlainMessage<GoToInputsRequest> | undefined): boolean;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from message viam.component.gripper.v1.GoToInputsResponse
|
|
372
|
+
*/
|
|
373
|
+
export declare class GoToInputsResponse extends Message<GoToInputsResponse> {
|
|
374
|
+
constructor(data?: PartialMessage<GoToInputsResponse>);
|
|
375
|
+
|
|
376
|
+
static readonly runtime: typeof proto3;
|
|
377
|
+
static readonly typeName = "viam.component.gripper.v1.GoToInputsResponse";
|
|
378
|
+
static readonly fields: FieldList;
|
|
379
|
+
|
|
380
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GoToInputsResponse;
|
|
381
|
+
|
|
382
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GoToInputsResponse;
|
|
383
|
+
|
|
384
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GoToInputsResponse;
|
|
385
|
+
|
|
386
|
+
static equals(a: GoToInputsResponse | PlainMessage<GoToInputsResponse> | undefined, b: GoToInputsResponse | PlainMessage<GoToInputsResponse> | undefined): boolean;
|
|
387
|
+
}
|
|
388
|
+
|
package/dist/main.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export { RobotClient as Client, createRobotClient, RobotClient, type CloudMetada
|
|
|
11
11
|
export * as robotApi from './gen/robot/v1/robot_pb';
|
|
12
12
|
export { createViamClient, type ViamClient, type ViamClientOptions, } from './app/viam-client';
|
|
13
13
|
export { type AccessToken, type Credential, type Credentials, type CredentialType, } from './app/viam-transport';
|
|
14
|
-
export { type BinaryDataCaptureUploadOptions, type BinaryID, type DataClient, type FilterOptions, type IndexableCollection, } from './app/data-client';
|
|
14
|
+
export { type BinaryDataCaptureUploadOptions, type BinaryID, type DataClient, type FilterOptions, type IndexableCollection, type Sequence, type SequenceResourceFilter, } from './app/data-client';
|
|
15
15
|
/**
|
|
16
16
|
* Raw Protobuf interfaces for Data.
|
|
17
17
|
*
|
|
@@ -319,4 +319,5 @@ export * as genericServiceApi from './gen/service/generic/v1/generic_connect';
|
|
|
319
319
|
export * as commonApi from './gen/common/v1/common_pb';
|
|
320
320
|
export * from './types';
|
|
321
321
|
export { addMetadata, deleteMetadata, disableDebugLogging, doCommandFromClient, enableDebugLogging, getStatusFromClient, } from './utils';
|
|
322
|
+
export { createConsoleLogWriter, setDebugLogWriter, type DebugLogEntry, type DebugLogWriter, } from './debug';
|
|
322
323
|
export { MachineConnectionEvent } from './events';
|