@viamrobotics/sdk 0.68.0 → 0.68.1

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.
Files changed (48) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/gen/app/v1/app_pb.d.ts +15 -0
  3. package/dist/gen/common/v1/common_pb.d.ts +52 -0
  4. package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
  5. package/dist/gen/component/audioin/v1/audioin_connect.d.ts +12 -1
  6. package/dist/gen/component/audioout/v1/audioout_connect.d.ts +12 -1
  7. package/dist/gen/component/base/v1/base_connect.d.ts +12 -1
  8. package/dist/gen/component/board/v1/board_connect.d.ts +12 -1
  9. package/dist/gen/component/button/v1/button_connect.d.ts +12 -1
  10. package/dist/gen/component/camera/v1/camera_connect.d.ts +13 -27
  11. package/dist/gen/component/camera/v1/camera_pb.d.ts +0 -150
  12. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +12 -1
  13. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +12 -1
  14. package/dist/gen/component/generic/v1/generic_connect.d.ts +12 -1
  15. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
  16. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +12 -1
  17. package/dist/gen/component/motor/v1/motor_connect.d.ts +12 -1
  18. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +12 -1
  19. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +12 -1
  20. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +12 -1
  21. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +12 -1
  22. package/dist/gen/component/servo/v1/servo_connect.d.ts +12 -1
  23. package/dist/gen/component/switch/v1/switch_connect.d.ts +12 -1
  24. package/dist/gen/google/api/client_pb.d.ts +294 -53
  25. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  26. package/dist/gen/google/api/field_info_pb.d.ts +1 -1
  27. package/dist/gen/google/api/http_pb.d.ts +1 -1
  28. package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
  29. package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
  30. package/dist/gen/google/api/resource_pb.d.ts +1 -1
  31. package/dist/gen/google/api/routing_pb.d.ts +8 -4
  32. package/dist/gen/google/api/visibility_pb.d.ts +1 -1
  33. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
  34. package/dist/gen/service/discovery/v1/discovery_connect.d.ts +12 -1
  35. package/dist/gen/service/generic/v1/generic_connect.d.ts +12 -1
  36. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +12 -0
  37. package/dist/gen/service/motion/v1/motion_connect.d.ts +12 -1
  38. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +12 -1
  39. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +12 -1
  40. package/dist/gen/service/shell/v1/shell_connect.d.ts +12 -1
  41. package/dist/gen/service/slam/v1/slam_connect.d.ts +12 -1
  42. package/dist/gen/service/video/v1/video_connect.d.ts +12 -1
  43. package/dist/gen/service/vision/v1/vision_connect.d.ts +12 -1
  44. package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +12 -1
  45. package/dist/main.es.js +5382 -5156
  46. package/dist/main.umd.js +7 -7
  47. package/dist/robot/client.d.ts +135 -15
  48. package/package.json +1 -1
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.530";
1
+ export declare const apiVersion = "v0.1.533";
@@ -496,6 +496,13 @@ export declare class RobotPart extends Message<RobotPart> {
496
496
  */
497
497
  secondsSinceOnline: bigint;
498
498
 
499
+ /**
500
+ * robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.
501
+ *
502
+ * @generated from field: optional string robot_config_json = 18;
503
+ */
504
+ robotConfigJson?: string;
505
+
499
506
  constructor(data?: PartialMessage<RobotPart>);
500
507
 
501
508
  static readonly runtime: typeof proto3;
@@ -3395,6 +3402,14 @@ export declare class UpdateRobotPartRequest extends Message<UpdateRobotPartReque
3395
3402
  */
3396
3403
  lastKnownUpdate?: Timestamp;
3397
3404
 
3405
+ /**
3406
+ * robot_config_json is the raw JSON string of the robot config, preserving user-defined key order.
3407
+ * When set, this takes precedence over robot_config for storage purposes.
3408
+ *
3409
+ * @generated from field: optional string robot_config_json = 5;
3410
+ */
3411
+ robotConfigJson?: string;
3412
+
3398
3413
  constructor(data?: PartialMessage<UpdateRobotPartRequest>);
3399
3414
 
3400
3415
  static readonly runtime: typeof proto3;
@@ -866,6 +866,58 @@ export declare class DoCommandResponse extends Message<DoCommandResponse> {
866
866
  static equals(a: DoCommandResponse | PlainMessage<DoCommandResponse> | undefined, b: DoCommandResponse | PlainMessage<DoCommandResponse> | undefined): boolean;
867
867
  }
868
868
 
869
+ /**
870
+ * GetStatusRequest represents a generic GetStatus input
871
+ *
872
+ * @generated from message viam.common.v1.GetStatusRequest
873
+ */
874
+ export declare class GetStatusRequest extends Message<GetStatusRequest> {
875
+ /**
876
+ * @generated from field: string name = 1;
877
+ */
878
+ name: string;
879
+
880
+ constructor(data?: PartialMessage<GetStatusRequest>);
881
+
882
+ static readonly runtime: typeof proto3;
883
+ static readonly typeName = "viam.common.v1.GetStatusRequest";
884
+ static readonly fields: FieldList;
885
+
886
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetStatusRequest;
887
+
888
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetStatusRequest;
889
+
890
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetStatusRequest;
891
+
892
+ static equals(a: GetStatusRequest | PlainMessage<GetStatusRequest> | undefined, b: GetStatusRequest | PlainMessage<GetStatusRequest> | undefined): boolean;
893
+ }
894
+
895
+ /**
896
+ * GetStatusResponse represents a generic GetStatus output
897
+ *
898
+ * @generated from message viam.common.v1.GetStatusResponse
899
+ */
900
+ export declare class GetStatusResponse extends Message<GetStatusResponse> {
901
+ /**
902
+ * @generated from field: google.protobuf.Struct result = 1;
903
+ */
904
+ result?: Struct;
905
+
906
+ constructor(data?: PartialMessage<GetStatusResponse>);
907
+
908
+ static readonly runtime: typeof proto3;
909
+ static readonly typeName = "viam.common.v1.GetStatusResponse";
910
+ static readonly fields: FieldList;
911
+
912
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetStatusResponse;
913
+
914
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetStatusResponse;
915
+
916
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetStatusResponse;
917
+
918
+ static equals(a: GetStatusResponse | PlainMessage<GetStatusResponse> | undefined, b: GetStatusResponse | PlainMessage<GetStatusResponse> | undefined): boolean;
919
+ }
920
+
869
921
  /**
870
922
  * @generated from message viam.common.v1.GetKinematicsRequest
871
923
  */
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * An ArmService services all arms associated with a robot
@@ -107,6 +107,17 @@ export declare const ArmService: {
107
107
  readonly O: typeof DoCommandResponse,
108
108
  readonly kind: MethodKind.Unary,
109
109
  },
110
+ /**
111
+ * GetStatus returns the status of the resource
112
+ *
113
+ * @generated from rpc viam.component.arm.v1.ArmService.GetStatus
114
+ */
115
+ readonly getStatus: {
116
+ readonly name: "GetStatus",
117
+ readonly I: typeof GetStatusRequest,
118
+ readonly O: typeof GetStatusResponse,
119
+ readonly kind: MethodKind.Unary,
120
+ },
110
121
  /**
111
122
  * GetKinematics returns the kinematics file for the component
112
123
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetAudioRequest, GetAudioResponse } from "./audioin_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * An AudioInService services all audio inputss associated with a robot
@@ -48,6 +48,17 @@ export declare const AudioInService: {
48
48
  readonly O: typeof DoCommandResponse,
49
49
  readonly kind: MethodKind.Unary,
50
50
  },
51
+ /**
52
+ * GetStatus returns the status of the resource
53
+ *
54
+ * @generated from rpc viam.component.audioin.v1.AudioInService.GetStatus
55
+ */
56
+ readonly getStatus: {
57
+ readonly name: "GetStatus",
58
+ readonly I: typeof GetStatusRequest,
59
+ readonly O: typeof GetStatusResponse,
60
+ readonly kind: MethodKind.Unary,
61
+ },
51
62
  /**
52
63
  * GetGeometries returns the geometries of the component in their current configuration
53
64
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { PlayRequest, PlayResponse } from "./audioout_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * An AudioOutService services all audio outputs associated with a robot
@@ -48,6 +48,17 @@ export declare const AudioOutService: {
48
48
  readonly O: typeof DoCommandResponse,
49
49
  readonly kind: MethodKind.Unary,
50
50
  },
51
+ /**
52
+ * GetStatus returns the status of the resource
53
+ *
54
+ * @generated from rpc viam.component.audioout.v1.AudioOutService.GetStatus
55
+ */
56
+ readonly getStatus: {
57
+ readonly name: "GetStatus",
58
+ readonly I: typeof GetStatusRequest,
59
+ readonly O: typeof GetStatusResponse,
60
+ readonly kind: MethodKind.Unary,
61
+ },
51
62
  /**
52
63
  * GetGeometries returns the geometries of the component in their current configuration
53
64
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPropertiesRequest, GetPropertiesResponse, IsMovingRequest, IsMovingResponse, MoveStraightRequest, MoveStraightResponse, SetPowerRequest, SetPowerResponse, SetVelocityRequest, SetVelocityResponse, SpinRequest, SpinResponse, StopRequest, StopResponse } from "./base_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from service viam.component.base.v1.BaseService
@@ -95,6 +95,17 @@ export declare const BaseService: {
95
95
  readonly O: typeof DoCommandResponse,
96
96
  readonly kind: MethodKind.Unary,
97
97
  },
98
+ /**
99
+ * GetStatus returns the status of the resource
100
+ *
101
+ * @generated from rpc viam.component.base.v1.BaseService.GetStatus
102
+ */
103
+ readonly getStatus: {
104
+ readonly name: "GetStatus",
105
+ readonly I: typeof GetStatusRequest,
106
+ readonly O: typeof GetStatusResponse,
107
+ readonly kind: MethodKind.Unary,
108
+ },
98
109
  /**
99
110
  * GetGeometries returns the geometries of the component in their current configuration
100
111
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetDigitalInterruptValueRequest, GetDigitalInterruptValueResponse, GetGPIORequest, GetGPIOResponse, PWMFrequencyRequest, PWMFrequencyResponse, PWMRequest, PWMResponse, ReadAnalogReaderRequest, ReadAnalogReaderResponse, SetGPIORequest, SetGPIOResponse, SetPowerModeRequest, SetPowerModeResponse, SetPWMFrequencyRequest, SetPWMFrequencyResponse, SetPWMRequest, SetPWMResponse, StreamTicksRequest, StreamTicksResponse, WriteAnalogRequest, WriteAnalogResponse } from "./board_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * BoardService services all Boards associated with a robot
@@ -90,6 +90,17 @@ export declare const BoardService: {
90
90
  readonly O: typeof DoCommandResponse,
91
91
  readonly kind: MethodKind.Unary,
92
92
  },
93
+ /**
94
+ * GetStatus returns the status of the resource
95
+ *
96
+ * @generated from rpc viam.component.board.v1.BoardService.GetStatus
97
+ */
98
+ readonly getStatus: {
99
+ readonly name: "GetStatus",
100
+ readonly I: typeof GetStatusRequest,
101
+ readonly O: typeof GetStatusResponse,
102
+ readonly kind: MethodKind.Unary,
103
+ },
93
104
  /**
94
105
  * ReadAnalogReader reads off the current value of an analog reader of a board of the underlying robot.
95
106
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { PushRequest, PushResponse } from "./button_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A ButtonService services buttons associated with a machine
@@ -37,6 +37,17 @@ export declare const ButtonService: {
37
37
  readonly O: typeof DoCommandResponse,
38
38
  readonly kind: MethodKind.Unary,
39
39
  },
40
+ /**
41
+ * GetStatus returns the status of the resource
42
+ *
43
+ * @generated from rpc viam.component.button.v1.ButtonService.GetStatus
44
+ */
45
+ readonly getStatus: {
46
+ readonly name: "GetStatus",
47
+ readonly I: typeof GetStatusRequest,
48
+ readonly O: typeof GetStatusResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
40
51
  }
41
52
  };
42
53
 
@@ -3,10 +3,9 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { GetImageRequest, GetImageResponse, GetImagesRequest, GetImagesResponse, GetPointCloudRequest, GetPointCloudResponse, GetPropertiesRequest, GetPropertiesResponse, RenderFrameRequest } from "./camera_pb.js";
6
+ import { GetImagesRequest, GetImagesResponse, GetPointCloudRequest, GetPointCloudResponse, GetPropertiesRequest, GetPropertiesResponse } from "./camera_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { HttpBody } from "../../../google/api/httpbody_pb.js";
9
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
10
9
 
11
10
  /**
12
11
  * A CameraService services all cameras associated with a robot
@@ -16,18 +15,6 @@ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometrie
16
15
  export declare const CameraService: {
17
16
  readonly typeName: "viam.component.camera.v1.CameraService",
18
17
  readonly methods: {
19
- /**
20
- * GetImage returns a frame from a camera of the underlying robot. A specific MIME type
21
- * can be requested but may not necessarily be the same one returned.
22
- *
23
- * @generated from rpc viam.component.camera.v1.CameraService.GetImage
24
- */
25
- readonly getImage: {
26
- readonly name: "GetImage",
27
- readonly I: typeof GetImageRequest,
28
- readonly O: typeof GetImageResponse,
29
- readonly kind: MethodKind.Unary,
30
- },
31
18
  /**
32
19
  * @generated from rpc viam.component.camera.v1.CameraService.GetImages
33
20
  */
@@ -37,18 +24,6 @@ export declare const CameraService: {
37
24
  readonly O: typeof GetImagesResponse,
38
25
  readonly kind: MethodKind.Unary,
39
26
  },
40
- /**
41
- * RenderFrame renders a frame from a camera of the underlying robot to an HTTP response. A specific MIME type
42
- * can be requested but may not necessarily be the same one returned.
43
- *
44
- * @generated from rpc viam.component.camera.v1.CameraService.RenderFrame
45
- */
46
- readonly renderFrame: {
47
- readonly name: "RenderFrame",
48
- readonly I: typeof RenderFrameRequest,
49
- readonly O: typeof HttpBody,
50
- readonly kind: MethodKind.Unary,
51
- },
52
27
  /**
53
28
  * GetPointCloud returns a point cloud from a camera of the underlying robot. A specific MIME type
54
29
  * can be requested but may not necessarily be the same one returned.
@@ -83,6 +58,17 @@ export declare const CameraService: {
83
58
  readonly O: typeof DoCommandResponse,
84
59
  readonly kind: MethodKind.Unary,
85
60
  },
61
+ /**
62
+ * GetStatus returns the status of the resource
63
+ *
64
+ * @generated from rpc viam.component.camera.v1.CameraService.GetStatus
65
+ */
66
+ readonly getStatus: {
67
+ readonly name: "GetStatus",
68
+ readonly I: typeof GetStatusRequest,
69
+ readonly O: typeof GetStatusResponse,
70
+ readonly kind: MethodKind.Unary,
71
+ },
86
72
  /**
87
73
  * GetGeometries returns the geometries of the component in their current configuration
88
74
  *
@@ -8,109 +8,6 @@ import { Message, proto3 } from "@bufbuild/protobuf";
8
8
  import type { Orientation, ResponseMetadata, Vector3 } from "../../../common/v1/common_pb.js";
9
9
  import type { Annotations } from "../../../app/data/v1/data_pb.js";
10
10
 
11
- /**
12
- * @generated from enum viam.component.camera.v1.Format
13
- */
14
- export declare enum Format {
15
- /**
16
- * @generated from enum value: FORMAT_UNSPECIFIED = 0;
17
- */
18
- UNSPECIFIED = 0,
19
-
20
- /**
21
- * @generated from enum value: FORMAT_RAW_RGBA = 1;
22
- */
23
- RAW_RGBA = 1,
24
-
25
- /**
26
- * @generated from enum value: FORMAT_RAW_DEPTH = 2;
27
- */
28
- RAW_DEPTH = 2,
29
-
30
- /**
31
- * @generated from enum value: FORMAT_JPEG = 3;
32
- */
33
- JPEG = 3,
34
-
35
- /**
36
- * @generated from enum value: FORMAT_PNG = 4;
37
- */
38
- PNG = 4,
39
- }
40
-
41
- /**
42
- * @generated from message viam.component.camera.v1.GetImageRequest
43
- */
44
- export declare class GetImageRequest extends Message<GetImageRequest> {
45
- /**
46
- * Name of a camera
47
- *
48
- * @generated from field: string name = 1;
49
- */
50
- name: string;
51
-
52
- /**
53
- * Requested MIME type of response
54
- *
55
- * @generated from field: string mime_type = 2;
56
- */
57
- mimeType: string;
58
-
59
- /**
60
- * Additional arguments to the method
61
- *
62
- * @generated from field: google.protobuf.Struct extra = 99;
63
- */
64
- extra?: Struct;
65
-
66
- constructor(data?: PartialMessage<GetImageRequest>);
67
-
68
- static readonly runtime: typeof proto3;
69
- static readonly typeName = "viam.component.camera.v1.GetImageRequest";
70
- static readonly fields: FieldList;
71
-
72
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetImageRequest;
73
-
74
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetImageRequest;
75
-
76
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetImageRequest;
77
-
78
- static equals(a: GetImageRequest | PlainMessage<GetImageRequest> | undefined, b: GetImageRequest | PlainMessage<GetImageRequest> | undefined): boolean;
79
- }
80
-
81
- /**
82
- * @generated from message viam.component.camera.v1.GetImageResponse
83
- */
84
- export declare class GetImageResponse extends Message<GetImageResponse> {
85
- /**
86
- * Actual MIME type of response
87
- *
88
- * @generated from field: string mime_type = 1;
89
- */
90
- mimeType: string;
91
-
92
- /**
93
- * Frame in bytes
94
- *
95
- * @generated from field: bytes image = 2;
96
- */
97
- image: Uint8Array;
98
-
99
- constructor(data?: PartialMessage<GetImageResponse>);
100
-
101
- static readonly runtime: typeof proto3;
102
- static readonly typeName = "viam.component.camera.v1.GetImageResponse";
103
- static readonly fields: FieldList;
104
-
105
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetImageResponse;
106
-
107
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetImageResponse;
108
-
109
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetImageResponse;
110
-
111
- static equals(a: GetImageResponse | PlainMessage<GetImageResponse> | undefined, b: GetImageResponse | PlainMessage<GetImageResponse> | undefined): boolean;
112
- }
113
-
114
11
  /**
115
12
  * @generated from message viam.component.camera.v1.GetImagesRequest
116
13
  */
@@ -196,13 +93,6 @@ export declare class Image extends Message<Image> {
196
93
  */
197
94
  sourceName: string;
198
95
 
199
- /**
200
- * format of the response image bytes
201
- *
202
- * @generated from field: viam.component.camera.v1.Format format = 2;
203
- */
204
- format: Format;
205
-
206
96
  /**
207
97
  * image in bytes
208
98
  *
@@ -239,46 +129,6 @@ export declare class Image extends Message<Image> {
239
129
  static equals(a: Image | PlainMessage<Image> | undefined, b: Image | PlainMessage<Image> | undefined): boolean;
240
130
  }
241
131
 
242
- /**
243
- * @generated from message viam.component.camera.v1.RenderFrameRequest
244
- */
245
- export declare class RenderFrameRequest extends Message<RenderFrameRequest> {
246
- /**
247
- * Name of a camera
248
- *
249
- * @generated from field: string name = 1;
250
- */
251
- name: string;
252
-
253
- /**
254
- * Requested MIME type of response
255
- *
256
- * @generated from field: string mime_type = 2;
257
- */
258
- mimeType: string;
259
-
260
- /**
261
- * Additional arguments to the method
262
- *
263
- * @generated from field: google.protobuf.Struct extra = 99;
264
- */
265
- extra?: Struct;
266
-
267
- constructor(data?: PartialMessage<RenderFrameRequest>);
268
-
269
- static readonly runtime: typeof proto3;
270
- static readonly typeName = "viam.component.camera.v1.RenderFrameRequest";
271
- static readonly fields: FieldList;
272
-
273
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RenderFrameRequest;
274
-
275
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RenderFrameRequest;
276
-
277
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RenderFrameRequest;
278
-
279
- static equals(a: RenderFrameRequest | PlainMessage<RenderFrameRequest> | undefined, b: RenderFrameRequest | PlainMessage<RenderFrameRequest> | undefined): boolean;
280
- }
281
-
282
132
  /**
283
133
  * @generated from message viam.component.camera.v1.GetPointCloudRequest
284
134
  */
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse, ResetPositionRequest, ResetPositionResponse } from "./encoder_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * @generated from service viam.component.encoder.v1.EncoderService
@@ -55,6 +55,17 @@ export declare const EncoderService: {
55
55
  readonly O: typeof DoCommandResponse,
56
56
  readonly kind: MethodKind.Unary,
57
57
  },
58
+ /**
59
+ * GetStatus returns the status of the resource
60
+ *
61
+ * @generated from rpc viam.component.encoder.v1.EncoderService.GetStatus
62
+ */
63
+ readonly getStatus: {
64
+ readonly name: "GetStatus",
65
+ readonly I: typeof GetStatusRequest,
66
+ readonly O: typeof GetStatusResponse,
67
+ readonly kind: MethodKind.Unary,
68
+ },
58
69
  /**
59
70
  * GetGeometries returns the geometries of the component in their current configuration
60
71
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetLengthsRequest, GetLengthsResponse, GetPositionRequest, GetPositionResponse, HomeRequest, HomeResponse, IsMovingRequest, IsMovingResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./gantry_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * An GantryService services all gantries associated with a robot
@@ -92,6 +92,17 @@ export declare const GantryService: {
92
92
  readonly O: typeof DoCommandResponse,
93
93
  readonly kind: MethodKind.Unary,
94
94
  },
95
+ /**
96
+ * GetStatus returns the status of the resource
97
+ *
98
+ * @generated from rpc viam.component.gantry.v1.GantryService.GetStatus
99
+ */
100
+ readonly getStatus: {
101
+ readonly name: "GetStatus",
102
+ readonly I: typeof GetStatusRequest,
103
+ readonly O: typeof GetStatusResponse,
104
+ readonly kind: MethodKind.Unary,
105
+ },
95
106
  /**
96
107
  * @generated from rpc viam.component.gantry.v1.GantryService.GetKinematics
97
108
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
6
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -25,6 +25,17 @@ export declare const GenericService: {
25
25
  readonly O: typeof DoCommandResponse,
26
26
  readonly kind: MethodKind.Unary,
27
27
  },
28
+ /**
29
+ * GetStatus returns the status of the resource
30
+ *
31
+ * @generated from rpc viam.component.generic.v1.GenericService.GetStatus
32
+ */
33
+ readonly getStatus: {
34
+ readonly name: "GetStatus",
35
+ readonly I: typeof GetStatusRequest,
36
+ readonly O: typeof GetStatusResponse,
37
+ readonly kind: MethodKind.Unary,
38
+ },
28
39
  /**
29
40
  * GetGeometries returns the geometries of the component in their current configuration
30
41
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * An GripperService services all grippers associated with a robot
@@ -81,6 +81,17 @@ export declare const GripperService: {
81
81
  readonly O: typeof DoCommandResponse,
82
82
  readonly kind: MethodKind.Unary,
83
83
  },
84
+ /**
85
+ * GetStatus returns the status of the resource
86
+ *
87
+ * @generated from rpc viam.component.gripper.v1.GripperService.GetStatus
88
+ */
89
+ readonly getStatus: {
90
+ readonly name: "GetStatus",
91
+ readonly I: typeof GetStatusRequest,
92
+ readonly O: typeof GetStatusResponse,
93
+ readonly kind: MethodKind.Unary,
94
+ },
84
95
  /**
85
96
  * GetGeometries returns the geometries of the component in their current configuration
86
97
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetControlsRequest, GetControlsResponse, GetEventsRequest, GetEventsResponse, StreamEventsRequest, StreamEventsResponse, TriggerEventRequest, TriggerEventResponse } from "./input_controller_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * InputControllerService servicestains all input controller associated with a robot
@@ -71,6 +71,17 @@ export declare const InputControllerService: {
71
71
  readonly O: typeof DoCommandResponse,
72
72
  readonly kind: MethodKind.Unary,
73
73
  },
74
+ /**
75
+ * GetStatus returns the status of the resource
76
+ *
77
+ * @generated from rpc viam.component.inputcontroller.v1.InputControllerService.GetStatus
78
+ */
79
+ readonly getStatus: {
80
+ readonly name: "GetStatus",
81
+ readonly I: typeof GetStatusRequest,
82
+ readonly O: typeof GetStatusResponse,
83
+ readonly kind: MethodKind.Unary,
84
+ },
74
85
  /**
75
86
  * GetGeometries returns the geometries of the component in their current configuration
76
87
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse, GoForRequest, GoForResponse, GoToRequest, GoToResponse, IsMovingRequest, IsMovingResponse, IsPoweredRequest, IsPoweredResponse, ResetZeroPositionRequest, ResetZeroPositionResponse, SetPowerRequest, SetPowerResponse, SetRPMRequest, SetRPMResponse, StopRequest, StopResponse } from "./motor_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
- import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse } from "../../../common/v1/common_pb.js";
8
+ import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
9
9
 
10
10
  /**
11
11
  * A MotorService maintains all motors associated with a robot
@@ -146,6 +146,17 @@ export declare const MotorService: {
146
146
  readonly O: typeof DoCommandResponse,
147
147
  readonly kind: MethodKind.Unary,
148
148
  },
149
+ /**
150
+ * GetStatus returns the status of the resource
151
+ *
152
+ * @generated from rpc viam.component.motor.v1.MotorService.GetStatus
153
+ */
154
+ readonly getStatus: {
155
+ readonly name: "GetStatus",
156
+ readonly I: typeof GetStatusRequest,
157
+ readonly O: typeof GetStatusResponse,
158
+ readonly kind: MethodKind.Unary,
159
+ },
149
160
  /**
150
161
  * GetGeometries returns the geometries of the component in their current configuration
151
162
  *