@viamrobotics/sdk 0.67.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 (52) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/data-client.d.ts +0 -5
  3. package/dist/gen/app/data/v1/data_pb.d.ts +5 -0
  4. package/dist/gen/app/v1/app_pb.d.ts +15 -0
  5. package/dist/gen/app/v1/end_user_pb.d.ts +7 -0
  6. package/dist/gen/common/v1/common_pb.d.ts +52 -0
  7. package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
  8. package/dist/gen/component/audioin/v1/audioin_connect.d.ts +12 -1
  9. package/dist/gen/component/audioout/v1/audioout_connect.d.ts +12 -1
  10. package/dist/gen/component/base/v1/base_connect.d.ts +12 -1
  11. package/dist/gen/component/board/v1/board_connect.d.ts +12 -1
  12. package/dist/gen/component/button/v1/button_connect.d.ts +12 -1
  13. package/dist/gen/component/camera/v1/camera_connect.d.ts +13 -27
  14. package/dist/gen/component/camera/v1/camera_pb.d.ts +0 -150
  15. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +12 -1
  16. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +12 -1
  17. package/dist/gen/component/generic/v1/generic_connect.d.ts +12 -1
  18. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
  19. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +12 -1
  20. package/dist/gen/component/motor/v1/motor_connect.d.ts +12 -1
  21. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +12 -1
  22. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +12 -1
  23. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +12 -1
  24. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +12 -1
  25. package/dist/gen/component/servo/v1/servo_connect.d.ts +12 -1
  26. package/dist/gen/component/switch/v1/switch_connect.d.ts +12 -1
  27. package/dist/gen/google/api/client_pb.d.ts +294 -53
  28. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  29. package/dist/gen/google/api/field_info_pb.d.ts +1 -1
  30. package/dist/gen/google/api/http_pb.d.ts +1 -1
  31. package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
  32. package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
  33. package/dist/gen/google/api/resource_pb.d.ts +1 -1
  34. package/dist/gen/google/api/routing_pb.d.ts +8 -4
  35. package/dist/gen/google/api/visibility_pb.d.ts +1 -1
  36. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
  37. package/dist/gen/service/discovery/v1/discovery_connect.d.ts +12 -1
  38. package/dist/gen/service/generic/v1/generic_connect.d.ts +12 -1
  39. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +12 -0
  40. package/dist/gen/service/motion/v1/motion_connect.d.ts +12 -1
  41. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +12 -1
  42. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +12 -1
  43. package/dist/gen/service/shell/v1/shell_connect.d.ts +12 -1
  44. package/dist/gen/service/slam/v1/slam_connect.d.ts +12 -1
  45. package/dist/gen/service/video/v1/video_connect.d.ts +12 -1
  46. package/dist/gen/service/vision/v1/vision_connect.d.ts +12 -1
  47. package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +12 -1
  48. package/dist/main.d.ts +1 -1
  49. package/dist/main.es.js +5457 -5191
  50. package/dist/main.umd.js +7 -7
  51. package/dist/robot/client.d.ts +135 -15
  52. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -51,9 +51,13 @@ import { Message, proto3 } from "@bufbuild/protobuf";
51
51
  * app_profile_id: profiles/prof_qux
52
52
  * }
53
53
  *
54
- * The routing header consists of one or multiple key-value pairs. Every key
55
- * and value must be percent-encoded, and joined together in the format of
56
- * `key1=value1&key2=value2`.
54
+ * The routing header consists of one or multiple key-value pairs. The order of
55
+ * the key-value pairs is undefined, the order of the `routing_parameters` in
56
+ * the `RoutingRule` only matters for the evaluation order of the path
57
+ * templates when `field` is the same. See the examples below for more details.
58
+ *
59
+ * Every key and value in the routing header must be percent-encoded,
60
+ * and joined together in the following format: `key1=value1&key2=value2`.
57
61
  * The examples below skip the percent-encoding for readability.
58
62
  *
59
63
  * Example 1
@@ -1,4 +1,4 @@
1
- // Copyright 2025 Google LLC
1
+ // Copyright 2026 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { SyncRequest, SyncResponse, UploadBinaryDataToDatasetsRequest, UploadBinaryDataToDatasetsResponse } from "./data_manager_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 DataManagerService service manages data between the robot and the cloud.
@@ -37,6 +37,17 @@ export declare const DataManagerService: {
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.service.datamanager.v1.DataManagerService.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
  * UploadBinaryDataToDatasets uploads binary data to specified datasets.
42
53
  *
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { DiscoverResourcesRequest, DiscoverResourcesResponse } from "./discovery_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
  * @generated from service viam.service.discovery.v1.DiscoveryService
@@ -35,6 +35,17 @@ export declare const DiscoveryService: {
35
35
  readonly O: typeof DoCommandResponse,
36
36
  readonly kind: MethodKind.Unary,
37
37
  },
38
+ /**
39
+ * GetStatus returns the status of the resource
40
+ *
41
+ * @generated from rpc viam.service.discovery.v1.DiscoveryService.GetStatus
42
+ */
43
+ readonly getStatus: {
44
+ readonly name: "GetStatus",
45
+ readonly I: typeof GetStatusRequest,
46
+ readonly O: typeof GetStatusResponse,
47
+ readonly kind: MethodKind.Unary,
48
+ },
38
49
  }
39
50
  };
40
51
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { DoCommandRequest, DoCommandResponse } from "../../../common/v1/common_pb.js";
6
+ import { DoCommandRequest, DoCommandResponse, 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.service.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
  };
30
41
 
@@ -5,6 +5,7 @@
5
5
 
6
6
  import { InferRequest, InferResponse, MetadataRequest, MetadataResponse } from "./mlmodel_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
+ import { GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
8
9
 
9
10
  /**
10
11
  * MLModelService declares the gRPC contract for a service that takes in a map of input arrays/tensors,
@@ -37,6 +38,17 @@ export declare const MLModelService: {
37
38
  readonly O: typeof MetadataResponse,
38
39
  readonly kind: MethodKind.Unary,
39
40
  },
41
+ /**
42
+ * GetStatus returns the status of the resource
43
+ *
44
+ * @generated from rpc viam.service.mlmodel.v1.MLModelService.GetStatus
45
+ */
46
+ readonly getStatus: {
47
+ readonly name: "GetStatus",
48
+ readonly I: typeof GetStatusRequest,
49
+ readonly O: typeof GetStatusResponse,
50
+ readonly kind: MethodKind.Unary,
51
+ },
40
52
  }
41
53
  };
42
54
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetPlanRequest, GetPlanResponse, GetPoseRequest, GetPoseResponse, ListPlanStatusesRequest, ListPlanStatusesResponse, MoveOnGlobeRequest, MoveOnGlobeResponse, MoveOnMapRequest, MoveOnMapResponse, MoveRequest, MoveResponse, StopPlanRequest, StopPlanResponse } from "./motion_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 MotionService declares the gRPC contract for a motion service
@@ -114,6 +114,17 @@ export declare const MotionService: {
114
114
  readonly O: typeof DoCommandResponse,
115
115
  readonly kind: MethodKind.Unary,
116
116
  },
117
+ /**
118
+ * GetStatus returns the status of the resource
119
+ *
120
+ * @generated from rpc viam.service.motion.v1.MotionService.GetStatus
121
+ */
122
+ readonly getStatus: {
123
+ readonly name: "GetStatus",
124
+ readonly I: typeof GetStatusRequest,
125
+ readonly O: typeof GetStatusResponse,
126
+ readonly kind: MethodKind.Unary,
127
+ },
117
128
  }
118
129
  };
119
130
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { AddWaypointRequest, AddWaypointResponse, GetLocationRequest, GetLocationResponse, GetModeRequest, GetModeResponse, GetObstaclesRequest, GetObstaclesResponse, GetPathsRequest, GetPathsResponse, GetPropertiesRequest, GetPropertiesResponse, GetWaypointsRequest, GetWaypointsResponse, RemoveWaypointRequest, RemoveWaypointResponse, SetModeRequest, SetModeResponse } from "./navigation_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 NavigationService declares the gRPC contract for a Navigation service
@@ -110,6 +110,17 @@ export declare const NavigationService: {
110
110
  readonly O: typeof DoCommandResponse,
111
111
  readonly kind: MethodKind.Unary,
112
112
  },
113
+ /**
114
+ * GetStatus returns the status of the resource
115
+ *
116
+ * @generated from rpc viam.service.navigation.v1.NavigationService.GetStatus
117
+ */
118
+ readonly getStatus: {
119
+ readonly name: "GetStatus",
120
+ readonly I: typeof GetStatusRequest,
121
+ readonly O: typeof GetStatusResponse,
122
+ readonly kind: MethodKind.Unary,
123
+ },
113
124
  }
114
125
  };
115
126
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetReadingsRequest, GetReadingsResponse, GetSensorsRequest, GetSensorsResponse } from "./sensors_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 SensorsService services keeps track of all sensors associated with a robot
@@ -53,6 +53,17 @@ export declare const SensorsService: {
53
53
  readonly O: typeof DoCommandResponse,
54
54
  readonly kind: MethodKind.Unary,
55
55
  },
56
+ /**
57
+ * GetStatus returns the status of the resource
58
+ *
59
+ * @generated from rpc viam.service.sensors.v1.SensorsService.GetStatus
60
+ */
61
+ readonly getStatus: {
62
+ readonly name: "GetStatus",
63
+ readonly I: typeof GetStatusRequest,
64
+ readonly O: typeof GetStatusResponse,
65
+ readonly kind: MethodKind.Unary,
66
+ },
56
67
  }
57
68
  };
58
69
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { CopyFilesFromMachineRequest, CopyFilesFromMachineResponse, CopyFilesToMachineRequest, CopyFilesToMachineResponse, ShellRequest, ShellResponse } from "./shell_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 ShellService service allows access to an interactive shell experience, including
@@ -73,6 +73,17 @@ export declare const ShellService: {
73
73
  readonly O: typeof DoCommandResponse,
74
74
  readonly kind: MethodKind.Unary,
75
75
  },
76
+ /**
77
+ * GetStatus returns the status of the resource
78
+ *
79
+ * @generated from rpc viam.service.shell.v1.ShellService.GetStatus
80
+ */
81
+ readonly getStatus: {
82
+ readonly name: "GetStatus",
83
+ readonly I: typeof GetStatusRequest,
84
+ readonly O: typeof GetStatusResponse,
85
+ readonly kind: MethodKind.Unary,
86
+ },
76
87
  }
77
88
  };
78
89
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetInternalStateRequest, GetInternalStateResponse, GetPointCloudMapRequest, GetPointCloudMapResponse, GetPositionRequest, GetPositionResponse, GetPropertiesRequest, GetPropertiesResponse } from "./slam_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 SlamService declares the gRPC contract for a slam service
@@ -76,6 +76,17 @@ export declare const SLAMService: {
76
76
  readonly O: typeof DoCommandResponse,
77
77
  readonly kind: MethodKind.Unary,
78
78
  },
79
+ /**
80
+ * GetStatus returns the status of the resource
81
+ *
82
+ * @generated from rpc viam.service.slam.v1.SLAMService.GetStatus
83
+ */
84
+ readonly getStatus: {
85
+ readonly name: "GetStatus",
86
+ readonly I: typeof GetStatusRequest,
87
+ readonly O: typeof GetStatusResponse,
88
+ readonly kind: MethodKind.Unary,
89
+ },
79
90
  }
80
91
  };
81
92
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetVideoRequest, GetVideoResponse } from "./video_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
  * VideoService services video streaming and retrieval
@@ -37,6 +37,17 @@ export declare const VideoService: {
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.service.video.v1.VideoService.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
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { CaptureAllFromCameraRequest, CaptureAllFromCameraResponse, GetClassificationsFromCameraRequest, GetClassificationsFromCameraResponse, GetClassificationsRequest, GetClassificationsResponse, GetDetectionsFromCameraRequest, GetDetectionsFromCameraResponse, GetDetectionsRequest, GetDetectionsResponse, GetObjectPointCloudsRequest, GetObjectPointCloudsResponse, GetPropertiesRequest, GetPropertiesResponse } from "./vision_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
  * VisionService declares the gRPC contract for a vision service
@@ -103,6 +103,17 @@ export declare const VisionService: {
103
103
  readonly O: typeof DoCommandResponse,
104
104
  readonly kind: MethodKind.Unary,
105
105
  },
106
+ /**
107
+ * GetStatus returns the status of the resource
108
+ *
109
+ * @generated from rpc viam.service.vision.v1.VisionService.GetStatus
110
+ */
111
+ readonly getStatus: {
112
+ readonly name: "GetStatus",
113
+ readonly I: typeof GetStatusRequest,
114
+ readonly O: typeof GetStatusResponse,
115
+ readonly kind: MethodKind.Unary,
116
+ },
106
117
  }
107
118
  };
108
119
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  import { GetTransformRequest, GetTransformResponse, ListUUIDsRequest, ListUUIDsResponse, StreamTransformChangesRequest, StreamTransformChangesResponse } from "./world_state_store_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
  * @generated from service viam.service.worldstatestore.v1.WorldStateStoreService
@@ -57,6 +57,17 @@ export declare const WorldStateStoreService: {
57
57
  readonly O: typeof DoCommandResponse,
58
58
  readonly kind: MethodKind.Unary,
59
59
  },
60
+ /**
61
+ * GetStatus returns the status of the resource
62
+ *
63
+ * @generated from rpc viam.service.worldstatestore.v1.WorldStateStoreService.GetStatus
64
+ */
65
+ readonly getStatus: {
66
+ readonly name: "GetStatus",
67
+ readonly I: typeof GetStatusRequest,
68
+ readonly O: typeof GetStatusResponse,
69
+ readonly kind: MethodKind.Unary,
70
+ },
60
71
  }
61
72
  };
62
73
 
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 BinaryID, type DataClient, type FilterOptions, type IndexableCollection, } from './app/data-client';
14
+ export { type BinaryDataCaptureUploadOptions, type BinaryID, type DataClient, type FilterOptions, type IndexableCollection, } from './app/data-client';
15
15
  /**
16
16
  * Raw Protobuf interfaces for Data.
17
17
  *