@viamrobotics/sdk 0.69.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.
@@ -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';