@viamrobotics/sdk 0.68.0 → 0.68.2

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 (83) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/components/arm/client.d.ts +1 -0
  3. package/dist/components/audio-in/client.d.ts +1 -0
  4. package/dist/components/audio-out/client.d.ts +1 -0
  5. package/dist/components/base/client.d.ts +1 -0
  6. package/dist/components/board/client.d.ts +1 -0
  7. package/dist/components/button/client.d.ts +1 -0
  8. package/dist/components/camera/client.d.ts +1 -0
  9. package/dist/components/encoder/client.d.ts +1 -0
  10. package/dist/components/gantry/client.d.ts +1 -0
  11. package/dist/components/generic/client.d.ts +1 -0
  12. package/dist/components/gripper/client.d.ts +1 -0
  13. package/dist/components/input-controller/client.d.ts +1 -0
  14. package/dist/components/motor/client.d.ts +1 -0
  15. package/dist/components/movement-sensor/client.d.ts +1 -0
  16. package/dist/components/pose-tracker/client.d.ts +1 -0
  17. package/dist/components/power-sensor/client.d.ts +1 -0
  18. package/dist/components/sensor/client.d.ts +1 -0
  19. package/dist/components/servo/client.d.ts +1 -0
  20. package/dist/components/switch/client.d.ts +1 -0
  21. package/dist/gen/app/build/v1/build_pb.d.ts +17 -1
  22. package/dist/gen/app/v1/app_connect.d.ts +68 -1
  23. package/dist/gen/app/v1/app_pb.d.ts +313 -0
  24. package/dist/gen/common/v1/common_pb.d.ts +52 -0
  25. package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
  26. package/dist/gen/component/audioin/v1/audioin_connect.d.ts +12 -1
  27. package/dist/gen/component/audioout/v1/audioout_connect.d.ts +12 -1
  28. package/dist/gen/component/base/v1/base_connect.d.ts +12 -1
  29. package/dist/gen/component/board/v1/board_connect.d.ts +12 -1
  30. package/dist/gen/component/button/v1/button_connect.d.ts +12 -1
  31. package/dist/gen/component/camera/v1/camera_connect.d.ts +13 -27
  32. package/dist/gen/component/camera/v1/camera_pb.d.ts +0 -150
  33. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +12 -1
  34. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +12 -1
  35. package/dist/gen/component/generic/v1/generic_connect.d.ts +12 -1
  36. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
  37. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +12 -1
  38. package/dist/gen/component/motor/v1/motor_connect.d.ts +12 -1
  39. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +12 -1
  40. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +12 -1
  41. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +12 -1
  42. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +12 -1
  43. package/dist/gen/component/servo/v1/servo_connect.d.ts +12 -1
  44. package/dist/gen/component/switch/v1/switch_connect.d.ts +12 -1
  45. package/dist/gen/google/api/client_pb.d.ts +294 -53
  46. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  47. package/dist/gen/google/api/field_info_pb.d.ts +1 -1
  48. package/dist/gen/google/api/http_pb.d.ts +1 -1
  49. package/dist/gen/google/api/httpbody_pb.d.ts +1 -1
  50. package/dist/gen/google/api/launch_stage_pb.d.ts +1 -1
  51. package/dist/gen/google/api/resource_pb.d.ts +1 -1
  52. package/dist/gen/google/api/routing_pb.d.ts +8 -4
  53. package/dist/gen/google/api/visibility_pb.d.ts +1 -1
  54. package/dist/gen/robot/v1/robot_pb.d.ts +0 -8
  55. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +12 -1
  56. package/dist/gen/service/discovery/v1/discovery_connect.d.ts +12 -1
  57. package/dist/gen/service/generic/v1/generic_connect.d.ts +12 -1
  58. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +12 -0
  59. package/dist/gen/service/motion/v1/motion_connect.d.ts +12 -1
  60. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +12 -1
  61. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +12 -1
  62. package/dist/gen/service/shell/v1/shell_connect.d.ts +12 -1
  63. package/dist/gen/service/slam/v1/slam_connect.d.ts +12 -1
  64. package/dist/gen/service/video/v1/video_connect.d.ts +12 -1
  65. package/dist/gen/service/vision/v1/vision_connect.d.ts +12 -1
  66. package/dist/gen/service/worldstatestore/v1/world_state_store_connect.d.ts +12 -1
  67. package/dist/main.d.ts +1 -1
  68. package/dist/main.es.js +6222 -5501
  69. package/dist/main.umd.js +7 -7
  70. package/dist/robot/client.d.ts +169 -16
  71. package/dist/rpc/dial.d.ts +24 -0
  72. package/dist/services/data-manager/client.d.ts +1 -0
  73. package/dist/services/discovery/client.d.ts +1 -0
  74. package/dist/services/generic/client.d.ts +1 -0
  75. package/dist/services/motion/client.d.ts +1 -0
  76. package/dist/services/navigation/client.d.ts +1 -0
  77. package/dist/services/slam/client.d.ts +1 -0
  78. package/dist/services/video/client.d.ts +1 -0
  79. package/dist/services/vision/client.d.ts +1 -0
  80. package/dist/services/world-state-store/client.d.ts +1 -0
  81. package/dist/types.d.ts +2 -0
  82. package/dist/utils.d.ts +4 -1
  83. package/package.json +2 -1
@@ -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
@@ -318,5 +318,5 @@ export * as genericServiceApi from './gen/service/generic/v1/generic_connect';
318
318
  */
319
319
  export * as commonApi from './gen/common/v1/common_pb';
320
320
  export * from './types';
321
- export { addMetadata, deleteMetadata, disableDebugLogging, doCommandFromClient, enableDebugLogging, } from './utils';
321
+ export { addMetadata, deleteMetadata, disableDebugLogging, doCommandFromClient, enableDebugLogging, getStatusFromClient, } from './utils';
322
322
  export { MachineConnectionEvent } from './events';