@viamrobotics/sdk 0.24.0 → 0.26.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.
Files changed (331) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +93 -90
  3. package/dist/app/billing-client.d.ts +7 -8
  4. package/dist/app/billing-client.spec.d.ts +1 -0
  5. package/dist/app/data-client.d.ts +42 -50
  6. package/dist/app/data-client.spec.d.ts +1 -0
  7. package/dist/app/ml-training-client.d.ts +9 -14
  8. package/dist/app/ml-training-client.spec.d.ts +1 -0
  9. package/dist/app/provisioning-client.d.ts +7 -7
  10. package/dist/app/provisioning-client.spec.d.ts +1 -0
  11. package/dist/app/viam-client.d.ts +13 -15
  12. package/dist/app/viam-transport.d.ts +4 -12
  13. package/dist/components/arm/arm.d.ts +10 -8
  14. package/dist/components/arm/client.d.ts +6 -6
  15. package/dist/components/arm.d.ts +1 -1
  16. package/dist/components/base/base.d.ts +11 -10
  17. package/dist/components/base/client.d.ts +4 -5
  18. package/dist/components/base.d.ts +1 -1
  19. package/dist/components/board/board.d.ts +17 -21
  20. package/dist/components/board/client.d.ts +7 -8
  21. package/dist/components/board/client.spec.d.ts +1 -0
  22. package/dist/components/board.d.ts +1 -1
  23. package/dist/components/camera/camera.d.ts +4 -2
  24. package/dist/components/camera/client.d.ts +4 -5
  25. package/dist/components/encoder/client.d.ts +6 -7
  26. package/dist/components/encoder/encoder.d.ts +9 -10
  27. package/dist/components/encoder.d.ts +1 -2
  28. package/dist/components/gantry/client.d.ts +3 -3
  29. package/dist/components/gantry/gantry.d.ts +7 -6
  30. package/dist/components/generic/client.d.ts +3 -3
  31. package/dist/components/gripper/client.d.ts +3 -3
  32. package/dist/components/gripper/gripper.d.ts +5 -4
  33. package/dist/components/input-controller/client.d.ts +5 -6
  34. package/dist/components/input-controller/input-controller.d.ts +7 -5
  35. package/dist/components/inputcontroller.d.ts +1 -1
  36. package/dist/components/motor/client.d.ts +3 -3
  37. package/dist/components/motor/motor.d.ts +11 -10
  38. package/dist/components/movement-sensor/client.d.ts +11 -12
  39. package/dist/components/movement-sensor/client.spec.d.ts +1 -0
  40. package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
  41. package/dist/components/movementsensor.d.ts +1 -1
  42. package/dist/components/power-sensor/client.d.ts +4 -4
  43. package/dist/components/power-sensor/client.spec.d.ts +1 -0
  44. package/dist/components/power-sensor/power-sensor.d.ts +5 -5
  45. package/dist/components/sensor/client.d.ts +4 -4
  46. package/dist/components/sensor/sensor.d.ts +3 -2
  47. package/dist/components/servo/client.d.ts +5 -5
  48. package/dist/components/servo/servo.d.ts +5 -4
  49. package/dist/extra/stream/client.d.ts +0 -1
  50. package/dist/extra/stream/client.spec.d.ts +1 -0
  51. package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
  52. package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
  53. package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
  54. package/dist/gen/app/build/v1/build_pb.d.ts +654 -493
  55. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
  56. package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
  57. package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
  58. package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
  59. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
  60. package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
  61. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
  62. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
  63. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  64. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  65. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  66. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  67. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  68. package/dist/gen/app/v1/app_pb.d.ts +5558 -4577
  69. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  70. package/dist/gen/app/v1/billing_pb.d.ts +479 -396
  71. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  72. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  73. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  74. package/dist/gen/app/v1/robot_pb.d.ts +1603 -1259
  75. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  76. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  77. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  78. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  79. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  80. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  81. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  82. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  83. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  84. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  85. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -393
  86. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  87. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  88. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  89. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  90. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  91. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  92. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  93. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  94. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  95. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  96. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  97. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  98. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  99. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  100. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  101. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  102. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  103. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  104. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  105. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  106. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  107. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  108. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  109. package/dist/gen/google/api/client_pb.d.ts +895 -453
  110. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  111. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  112. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  113. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  114. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  115. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  116. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  117. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  118. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  119. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  120. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  121. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  122. package/dist/gen/google/api/http_pb.d.ts +480 -127
  123. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  124. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  125. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  126. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  127. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  128. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  129. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  130. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  131. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  132. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  133. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  134. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  135. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  136. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  137. package/dist/gen/google/type/color_pb.d.ts +201 -37
  138. package/dist/gen/google/type/date_pb.d.ts +72 -25
  139. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  140. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  141. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  142. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  143. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  144. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  145. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  146. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  147. package/dist/gen/google/type/money_pb.d.ts +62 -25
  148. package/dist/gen/google/type/month_pb.d.ts +115 -21
  149. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  150. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  151. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  152. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  153. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  154. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  155. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  156. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  157. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_connect.d.ts +26 -0
  158. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +67 -60
  159. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
  160. package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
  161. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
  162. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
  163. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +647 -529
  164. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
  165. package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
  166. package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
  167. package/dist/gen/robot/v1/robot_pb.d.ts +1327 -1087
  168. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
  169. package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
  170. package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
  171. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
  172. package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
  173. package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
  174. package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
  175. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
  176. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
  177. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
  178. package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
  179. package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
  180. package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
  181. package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
  182. package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
  183. package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
  184. package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
  185. package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
  186. package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
  187. package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
  188. package/dist/main.d.ts +81 -92
  189. package/dist/main.es.js +20593 -79637
  190. package/dist/main.umd.js +6 -21
  191. package/dist/robot/client.d.ts +990 -59
  192. package/dist/robot/dial.d.ts +2 -4
  193. package/dist/robot/grpc-connection-manager.d.ts +5 -7
  194. package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
  195. package/dist/robot/robot.d.ts +9 -10
  196. package/dist/robot/session-manager.d.ts +6 -8
  197. package/dist/robot/session-manager.spec.d.ts +1 -0
  198. package/dist/robot/session-transport.d.ts +8 -11
  199. package/dist/robot.d.ts +2 -2
  200. package/dist/rpc/base-channel.d.ts +20 -0
  201. package/dist/rpc/base-stream.d.ts +11 -0
  202. package/dist/rpc/client-channel.d.ts +19 -0
  203. package/dist/rpc/client-stream.d.ts +35 -0
  204. package/dist/rpc/connection-closed-error.d.ts +5 -0
  205. package/dist/rpc/dial.d.ts +71 -0
  206. package/dist/rpc/index.d.ts +8 -0
  207. package/dist/rpc/peer.d.ts +10 -0
  208. package/dist/rpc/polyfills.d.ts +2 -0
  209. package/dist/rpc/signaling-exchange.d.ts +33 -0
  210. package/dist/rpc/stream-client-stream.d.ts +16 -0
  211. package/dist/rpc/unary-client-stream.d.ts +13 -0
  212. package/dist/services/data-manager/client.d.ts +3 -3
  213. package/dist/services/data-manager/data-manager.d.ts +3 -2
  214. package/dist/services/generic/client.d.ts +3 -3
  215. package/dist/services/motion/client.d.ts +7 -8
  216. package/dist/services/motion/client.spec.d.ts +1 -0
  217. package/dist/services/motion/motion.d.ts +10 -9
  218. package/dist/services/motion/types.d.ts +12 -16
  219. package/dist/services/motion.d.ts +2 -2
  220. package/dist/services/navigation/client.d.ts +11 -12
  221. package/dist/services/navigation/client.spec.d.ts +1 -0
  222. package/dist/services/navigation/navigation.d.ts +11 -10
  223. package/dist/services/navigation/types.d.ts +8 -6
  224. package/dist/services/navigation.d.ts +2 -2
  225. package/dist/services/slam/client.d.ts +5 -6
  226. package/dist/services/slam/client.spec.d.ts +1 -0
  227. package/dist/services/slam/types.d.ts +4 -3
  228. package/dist/services/slam.d.ts +2 -2
  229. package/dist/services/vision/client.d.ts +13 -19
  230. package/dist/services/vision/types.d.ts +10 -7
  231. package/dist/services/vision/vision.d.ts +10 -9
  232. package/dist/services/vision.d.ts +2 -2
  233. package/dist/types.d.ts +21 -18
  234. package/dist/utils.d.ts +7 -37
  235. package/package.json +6 -10
  236. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  237. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  238. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  239. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  240. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  241. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  242. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  243. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  244. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  245. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  246. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  247. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  248. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  249. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  250. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  251. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  252. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  253. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  254. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  255. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  256. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  257. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  258. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  259. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  260. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  261. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  262. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  263. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  264. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  265. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  266. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  267. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  268. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  283. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  284. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  285. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  286. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  287. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  288. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  289. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  290. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  291. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  292. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  293. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  307. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  308. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  309. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  310. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  311. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  312. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  313. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  314. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  315. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  316. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  317. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  318. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  319. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  320. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  321. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  322. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  323. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  324. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  325. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  326. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  327. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  328. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  329. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  330. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  331. package/dist/responses.d.ts +0 -8
@@ -1,27 +1,11 @@
1
- import { grpc } from '@improbable-eng/grpc-web';
1
+ import { type ServiceType } from '@bufbuild/protobuf';
2
+ import { type PromiseClient } from '@connectrpc/connect';
2
3
  import { type Credentials } from '../app/viam-transport';
3
4
  import { EventDispatcher } from '../events';
4
- import type { PoseInFrame, ResourceName, Transform } from '../gen/common/v1/common_pb';
5
- import { ArmServiceClient } from '../gen/component/arm/v1/arm_pb_service';
6
- import { BaseServiceClient } from '../gen/component/base/v1/base_pb_service';
7
- import { BoardServiceClient } from '../gen/component/board/v1/board_pb_service';
8
- import { EncoderServiceClient } from '../gen/component/encoder/v1/encoder_pb_service';
9
- import { GantryServiceClient } from '../gen/component/gantry/v1/gantry_pb_service';
10
- import { GenericServiceClient } from '../gen/component/generic/v1/generic_pb_service';
11
- import { GripperServiceClient } from '../gen/component/gripper/v1/gripper_pb_service';
12
- import { InputControllerServiceClient } from '../gen/component/inputcontroller/v1/input_controller_pb_service';
13
- import { MotorServiceClient } from '../gen/component/motor/v1/motor_pb_service';
14
- import { MovementSensorServiceClient } from '../gen/component/movementsensor/v1/movementsensor_pb_service';
15
- import { PowerSensorServiceClient } from '../gen/component/powersensor/v1/powersensor_pb_service';
16
- import { ServoServiceClient } from '../gen/component/servo/v1/servo_pb_service';
17
- import proto from '../gen/robot/v1/robot_pb';
18
- import { RobotServiceClient } from '../gen/robot/v1/robot_pb_service';
19
- import { MotionServiceClient } from '../gen/service/motion/v1/motion_pb_service';
20
- import { NavigationServiceClient } from '../gen/service/navigation/v1/navigation_pb_service';
21
- import { SensorsServiceClient } from '../gen/service/sensors/v1/sensors_pb_service';
22
- import { SLAMServiceClient } from '../gen/service/slam/v1/slam_pb_service';
23
- import { VisionServiceClient } from '../gen/service/vision/v1/vision_pb_service';
24
- import type { Robot, RobotStatusStream } from './robot';
5
+ import type { PoseInFrame, Transform } from '../gen/common/v1/common_pb';
6
+ import { DiscoveryQuery, RestartModuleRequest, Status, TransformPCDRequest, TransformPoseRequest } from '../gen/robot/v1/robot_pb';
7
+ import type { ResourceName } from '../types';
8
+ import type { Robot } from './robot';
25
9
  interface WebRTCOptions {
26
10
  enabled: boolean;
27
11
  host: string;
@@ -40,16 +24,10 @@ interface SessionOptions {
40
24
  disabled: boolean;
41
25
  }
42
26
  export interface ConnectOptions {
43
- authEntity?: string;
44
27
  creds?: Credentials;
45
28
  priority?: number;
46
29
  dialTimeout?: number;
47
30
  }
48
- declare abstract class ServiceClient {
49
- serviceHost: string;
50
- options?: grpc.RpcOptions | undefined;
51
- constructor(serviceHost: string, options?: grpc.RpcOptions | undefined);
52
- }
53
31
  /**
54
32
  * A gRPC-web client for a Robot.
55
33
  *
@@ -63,10 +41,9 @@ export declare class RobotClient extends EventDispatcher implements Robot {
63
41
  private gRPCConnectionManager;
64
42
  private sessionManager;
65
43
  private peerConn;
66
- private transportFactory;
44
+ private transport;
67
45
  private connecting;
68
46
  private connectResolve;
69
- private savedAuthEntity;
70
47
  private savedCreds;
71
48
  private closed;
72
49
  private robotServiceClient;
@@ -94,43 +71,997 @@ export declare class RobotClient extends EventDispatcher implements Robot {
94
71
  private get reconnectMaxWait();
95
72
  get sessionId(): string;
96
73
  private static readonly notConnectedYetStr;
97
- get robotService(): RobotServiceClient;
98
- get armService(): ArmServiceClient;
99
- get baseService(): BaseServiceClient;
100
- get boardService(): BoardServiceClient;
101
- get encoderService(): EncoderServiceClient;
102
- get gantryService(): GantryServiceClient;
103
- get genericService(): GenericServiceClient;
104
- get gripperService(): GripperServiceClient;
105
- get movementSensorService(): MovementSensorServiceClient;
106
- get powerSensorService(): PowerSensorServiceClient;
107
- get inputControllerService(): InputControllerServiceClient;
108
- get motorService(): MotorServiceClient;
109
- get navigationService(): NavigationServiceClient;
110
- get motionService(): MotionServiceClient;
111
- get visionService(): VisionServiceClient;
112
- get sensorsService(): SensorsServiceClient;
113
- get servoService(): ServoServiceClient;
114
- get slamService(): SLAMServiceClient;
115
- createServiceClient<T extends ServiceClient>(SC: new (serviceHost: string, options?: grpc.RpcOptions) => T): T;
74
+ get robotService(): PromiseClient<{
75
+ readonly typeName: "viam.robot.v1.RobotService";
76
+ readonly methods: {
77
+ readonly getOperations: {
78
+ readonly name: "GetOperations";
79
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetOperationsRequest;
80
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetOperationsResponse;
81
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
82
+ };
83
+ readonly getSessions: {
84
+ readonly name: "GetSessions";
85
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetSessionsRequest;
86
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetSessionsResponse;
87
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
88
+ };
89
+ readonly resourceNames: {
90
+ readonly name: "ResourceNames";
91
+ readonly I: typeof import("../gen/robot/v1/robot_pb").ResourceNamesRequest;
92
+ readonly O: typeof import("../gen/robot/v1/robot_pb").ResourceNamesResponse;
93
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
94
+ };
95
+ readonly resourceRPCSubtypes: {
96
+ readonly name: "ResourceRPCSubtypes";
97
+ readonly I: typeof import("../gen/robot/v1/robot_pb").ResourceRPCSubtypesRequest;
98
+ readonly O: typeof import("../gen/robot/v1/robot_pb").ResourceRPCSubtypesResponse;
99
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
100
+ };
101
+ readonly cancelOperation: {
102
+ readonly name: "CancelOperation";
103
+ readonly I: typeof import("../gen/robot/v1/robot_pb").CancelOperationRequest;
104
+ readonly O: typeof import("../gen/robot/v1/robot_pb").CancelOperationResponse;
105
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
106
+ };
107
+ readonly blockForOperation: {
108
+ readonly name: "BlockForOperation";
109
+ readonly I: typeof import("../gen/robot/v1/robot_pb").BlockForOperationRequest;
110
+ readonly O: typeof import("../gen/robot/v1/robot_pb").BlockForOperationResponse;
111
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
112
+ };
113
+ readonly discoverComponents: {
114
+ readonly name: "DiscoverComponents";
115
+ readonly I: typeof import("../gen/robot/v1/robot_pb").DiscoverComponentsRequest;
116
+ readonly O: typeof import("../gen/robot/v1/robot_pb").DiscoverComponentsResponse;
117
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
118
+ };
119
+ readonly frameSystemConfig: {
120
+ readonly name: "FrameSystemConfig";
121
+ readonly I: typeof import("../gen/robot/v1/robot_pb").FrameSystemConfigRequest;
122
+ readonly O: typeof import("../gen/robot/v1/robot_pb").FrameSystemConfigResponse;
123
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
124
+ };
125
+ readonly transformPose: {
126
+ readonly name: "TransformPose";
127
+ readonly I: typeof TransformPoseRequest;
128
+ readonly O: typeof import("../gen/robot/v1/robot_pb").TransformPoseResponse;
129
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
130
+ };
131
+ readonly transformPCD: {
132
+ readonly name: "TransformPCD";
133
+ readonly I: typeof TransformPCDRequest;
134
+ readonly O: typeof import("../gen/robot/v1/robot_pb").TransformPCDResponse;
135
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
136
+ };
137
+ readonly getStatus: {
138
+ readonly name: "GetStatus";
139
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetStatusRequest;
140
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetStatusResponse;
141
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
142
+ };
143
+ readonly streamStatus: {
144
+ readonly name: "StreamStatus";
145
+ readonly I: typeof import("../gen/robot/v1/robot_pb").StreamStatusRequest;
146
+ readonly O: typeof import("../gen/robot/v1/robot_pb").StreamStatusResponse;
147
+ readonly kind: import("@bufbuild/protobuf").MethodKind.ServerStreaming;
148
+ };
149
+ readonly stopAll: {
150
+ readonly name: "StopAll";
151
+ readonly I: typeof import("../gen/robot/v1/robot_pb").StopAllRequest;
152
+ readonly O: typeof import("../gen/robot/v1/robot_pb").StopAllResponse;
153
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
154
+ };
155
+ readonly startSession: {
156
+ readonly name: "StartSession";
157
+ readonly I: typeof import("../gen/robot/v1/robot_pb").StartSessionRequest;
158
+ readonly O: typeof import("../gen/robot/v1/robot_pb").StartSessionResponse;
159
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
160
+ };
161
+ readonly sendSessionHeartbeat: {
162
+ readonly name: "SendSessionHeartbeat";
163
+ readonly I: typeof import("../gen/robot/v1/robot_pb").SendSessionHeartbeatRequest;
164
+ readonly O: typeof import("../gen/robot/v1/robot_pb").SendSessionHeartbeatResponse;
165
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
166
+ };
167
+ readonly log: {
168
+ readonly name: "Log";
169
+ readonly I: typeof import("../gen/robot/v1/robot_pb").LogRequest;
170
+ readonly O: typeof import("../gen/robot/v1/robot_pb").LogResponse;
171
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
172
+ };
173
+ readonly getCloudMetadata: {
174
+ readonly name: "GetCloudMetadata";
175
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetCloudMetadataRequest;
176
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetCloudMetadataResponse;
177
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
178
+ };
179
+ readonly restartModule: {
180
+ readonly name: "RestartModule";
181
+ readonly I: typeof RestartModuleRequest;
182
+ readonly O: typeof import("../gen/robot/v1/robot_pb").RestartModuleResponse;
183
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
184
+ };
185
+ readonly shutdown: {
186
+ readonly name: "Shutdown";
187
+ readonly I: typeof import("../gen/robot/v1/robot_pb").ShutdownRequest;
188
+ readonly O: typeof import("../gen/robot/v1/robot_pb").ShutdownResponse;
189
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
190
+ };
191
+ readonly getMachineStatus: {
192
+ readonly name: "GetMachineStatus";
193
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetMachineStatusRequest;
194
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetMachineStatusResponse;
195
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
196
+ };
197
+ readonly getVersion: {
198
+ readonly name: "GetVersion";
199
+ readonly I: typeof import("../gen/robot/v1/robot_pb").GetVersionRequest;
200
+ readonly O: typeof import("../gen/robot/v1/robot_pb").GetVersionResponse;
201
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
202
+ };
203
+ };
204
+ }>;
205
+ get armService(): PromiseClient<{
206
+ readonly typeName: "viam.component.arm.v1.ArmService";
207
+ readonly methods: {
208
+ readonly getEndPosition: {
209
+ readonly name: "GetEndPosition";
210
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").GetEndPositionRequest;
211
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").GetEndPositionResponse;
212
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
213
+ };
214
+ readonly moveToPosition: {
215
+ readonly name: "MoveToPosition";
216
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").MoveToPositionRequest;
217
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").MoveToPositionResponse;
218
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
219
+ };
220
+ readonly getJointPositions: {
221
+ readonly name: "GetJointPositions";
222
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").GetJointPositionsRequest;
223
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").GetJointPositionsResponse;
224
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
225
+ };
226
+ readonly moveToJointPositions: {
227
+ readonly name: "MoveToJointPositions";
228
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").MoveToJointPositionsRequest;
229
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").MoveToJointPositionsResponse;
230
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
231
+ };
232
+ readonly stop: {
233
+ readonly name: "Stop";
234
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").StopRequest;
235
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").StopResponse;
236
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
237
+ };
238
+ readonly isMoving: {
239
+ readonly name: "IsMoving";
240
+ readonly I: typeof import("../gen/component/arm/v1/arm_pb").IsMovingRequest;
241
+ readonly O: typeof import("../gen/component/arm/v1/arm_pb").IsMovingResponse;
242
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
243
+ };
244
+ readonly doCommand: {
245
+ readonly name: "DoCommand";
246
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
247
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
248
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
249
+ };
250
+ readonly getKinematics: {
251
+ readonly name: "GetKinematics";
252
+ readonly I: typeof import("../gen/common/v1/common_pb").GetKinematicsRequest;
253
+ readonly O: typeof import("../gen/common/v1/common_pb").GetKinematicsResponse;
254
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
255
+ };
256
+ readonly getGeometries: {
257
+ readonly name: "GetGeometries";
258
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
259
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
260
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
261
+ };
262
+ };
263
+ }>;
264
+ get baseService(): PromiseClient<{
265
+ readonly typeName: "viam.component.base.v1.BaseService";
266
+ readonly methods: {
267
+ readonly moveStraight: {
268
+ readonly name: "MoveStraight";
269
+ readonly I: typeof import("../gen/component/base/v1/base_pb").MoveStraightRequest;
270
+ readonly O: typeof import("../gen/component/base/v1/base_pb").MoveStraightResponse;
271
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
272
+ };
273
+ readonly spin: {
274
+ readonly name: "Spin";
275
+ readonly I: typeof import("../gen/component/base/v1/base_pb").SpinRequest;
276
+ readonly O: typeof import("../gen/component/base/v1/base_pb").SpinResponse;
277
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
278
+ };
279
+ readonly setPower: {
280
+ readonly name: "SetPower";
281
+ readonly I: typeof import("../gen/component/base/v1/base_pb").SetPowerRequest;
282
+ readonly O: typeof import("../gen/component/base/v1/base_pb").SetPowerResponse;
283
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
284
+ };
285
+ readonly setVelocity: {
286
+ readonly name: "SetVelocity";
287
+ readonly I: typeof import("../gen/component/base/v1/base_pb").SetVelocityRequest;
288
+ readonly O: typeof import("../gen/component/base/v1/base_pb").SetVelocityResponse;
289
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
290
+ };
291
+ readonly stop: {
292
+ readonly name: "Stop";
293
+ readonly I: typeof import("../gen/component/base/v1/base_pb").StopRequest;
294
+ readonly O: typeof import("../gen/component/base/v1/base_pb").StopResponse;
295
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
296
+ };
297
+ readonly isMoving: {
298
+ readonly name: "IsMoving";
299
+ readonly I: typeof import("../gen/component/base/v1/base_pb").IsMovingRequest;
300
+ readonly O: typeof import("../gen/component/base/v1/base_pb").IsMovingResponse;
301
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
302
+ };
303
+ readonly doCommand: {
304
+ readonly name: "DoCommand";
305
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
306
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
307
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
308
+ };
309
+ readonly getGeometries: {
310
+ readonly name: "GetGeometries";
311
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
312
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
313
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
314
+ };
315
+ readonly getProperties: {
316
+ readonly name: "GetProperties";
317
+ readonly I: typeof import("../gen/component/base/v1/base_pb").GetPropertiesRequest;
318
+ readonly O: typeof import("../gen/component/base/v1/base_pb").GetPropertiesResponse;
319
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
320
+ };
321
+ };
322
+ }>;
323
+ get boardService(): PromiseClient<{
324
+ readonly typeName: "viam.component.board.v1.BoardService";
325
+ readonly methods: {
326
+ readonly setGPIO: {
327
+ readonly name: "SetGPIO";
328
+ readonly I: typeof import("../gen/component/board/v1/board_pb").SetGPIORequest;
329
+ readonly O: typeof import("../gen/component/board/v1/board_pb").SetGPIOResponse;
330
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
331
+ };
332
+ readonly getGPIO: {
333
+ readonly name: "GetGPIO";
334
+ readonly I: typeof import("../gen/component/board/v1/board_pb").GetGPIORequest;
335
+ readonly O: typeof import("../gen/component/board/v1/board_pb").GetGPIOResponse;
336
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
337
+ };
338
+ readonly pWM: {
339
+ readonly name: "PWM";
340
+ readonly I: typeof import("../gen/component/board/v1/board_pb").PWMRequest;
341
+ readonly O: typeof import("../gen/component/board/v1/board_pb").PWMResponse;
342
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
343
+ };
344
+ readonly setPWM: {
345
+ readonly name: "SetPWM";
346
+ readonly I: typeof import("../gen/component/board/v1/board_pb").SetPWMRequest;
347
+ readonly O: typeof import("../gen/component/board/v1/board_pb").SetPWMResponse;
348
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
349
+ };
350
+ readonly pWMFrequency: {
351
+ readonly name: "PWMFrequency";
352
+ readonly I: typeof import("../gen/component/board/v1/board_pb").PWMFrequencyRequest;
353
+ readonly O: typeof import("../gen/component/board/v1/board_pb").PWMFrequencyResponse;
354
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
355
+ };
356
+ readonly setPWMFrequency: {
357
+ readonly name: "SetPWMFrequency";
358
+ readonly I: typeof import("../gen/component/board/v1/board_pb").SetPWMFrequencyRequest;
359
+ readonly O: typeof import("../gen/component/board/v1/board_pb").SetPWMFrequencyResponse;
360
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
361
+ };
362
+ readonly doCommand: {
363
+ readonly name: "DoCommand";
364
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
365
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
366
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
367
+ };
368
+ readonly readAnalogReader: {
369
+ readonly name: "ReadAnalogReader";
370
+ readonly I: typeof import("../gen/component/board/v1/board_pb").ReadAnalogReaderRequest;
371
+ readonly O: typeof import("../gen/component/board/v1/board_pb").ReadAnalogReaderResponse;
372
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
373
+ };
374
+ readonly writeAnalog: {
375
+ readonly name: "WriteAnalog";
376
+ readonly I: typeof import("../gen/component/board/v1/board_pb").WriteAnalogRequest;
377
+ readonly O: typeof import("../gen/component/board/v1/board_pb").WriteAnalogResponse;
378
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
379
+ };
380
+ readonly getDigitalInterruptValue: {
381
+ readonly name: "GetDigitalInterruptValue";
382
+ readonly I: typeof import("../gen/component/board/v1/board_pb").GetDigitalInterruptValueRequest;
383
+ readonly O: typeof import("../gen/component/board/v1/board_pb").GetDigitalInterruptValueResponse;
384
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
385
+ };
386
+ readonly streamTicks: {
387
+ readonly name: "StreamTicks";
388
+ readonly I: typeof import("../gen/component/board/v1/board_pb").StreamTicksRequest;
389
+ readonly O: typeof import("../gen/component/board/v1/board_pb").StreamTicksResponse;
390
+ readonly kind: import("@bufbuild/protobuf").MethodKind.ServerStreaming;
391
+ };
392
+ readonly setPowerMode: {
393
+ readonly name: "SetPowerMode";
394
+ readonly I: typeof import("../gen/component/board/v1/board_pb").SetPowerModeRequest;
395
+ readonly O: typeof import("../gen/component/board/v1/board_pb").SetPowerModeResponse;
396
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
397
+ };
398
+ readonly getGeometries: {
399
+ readonly name: "GetGeometries";
400
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
401
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
402
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
403
+ };
404
+ };
405
+ }>;
406
+ get encoderService(): PromiseClient<{
407
+ readonly typeName: "viam.component.encoder.v1.EncoderService";
408
+ readonly methods: {
409
+ readonly getPosition: {
410
+ readonly name: "GetPosition";
411
+ readonly I: typeof import("../gen/component/encoder/v1/encoder_pb").GetPositionRequest;
412
+ readonly O: typeof import("../gen/component/encoder/v1/encoder_pb").GetPositionResponse;
413
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
414
+ };
415
+ readonly resetPosition: {
416
+ readonly name: "ResetPosition";
417
+ readonly I: typeof import("../gen/component/encoder/v1/encoder_pb").ResetPositionRequest;
418
+ readonly O: typeof import("../gen/component/encoder/v1/encoder_pb").ResetPositionResponse;
419
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
420
+ };
421
+ readonly getProperties: {
422
+ readonly name: "GetProperties";
423
+ readonly I: typeof import("../gen/component/encoder/v1/encoder_pb").GetPropertiesRequest;
424
+ readonly O: typeof import("../gen/component/encoder/v1/encoder_pb").GetPropertiesResponse;
425
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
426
+ };
427
+ readonly doCommand: {
428
+ readonly name: "DoCommand";
429
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
430
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
431
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
432
+ };
433
+ readonly getGeometries: {
434
+ readonly name: "GetGeometries";
435
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
436
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
437
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
438
+ };
439
+ };
440
+ }>;
441
+ get gantryService(): PromiseClient<{
442
+ readonly typeName: "viam.component.gantry.v1.GantryService";
443
+ readonly methods: {
444
+ readonly getPosition: {
445
+ readonly name: "GetPosition";
446
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").GetPositionRequest;
447
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").GetPositionResponse;
448
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
449
+ };
450
+ readonly moveToPosition: {
451
+ readonly name: "MoveToPosition";
452
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").MoveToPositionRequest;
453
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").MoveToPositionResponse;
454
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
455
+ };
456
+ readonly home: {
457
+ readonly name: "Home";
458
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").HomeRequest;
459
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").HomeResponse;
460
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
461
+ };
462
+ readonly getLengths: {
463
+ readonly name: "GetLengths";
464
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").GetLengthsRequest;
465
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").GetLengthsResponse;
466
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
467
+ };
468
+ readonly stop: {
469
+ readonly name: "Stop";
470
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").StopRequest;
471
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").StopResponse;
472
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
473
+ };
474
+ readonly isMoving: {
475
+ readonly name: "IsMoving";
476
+ readonly I: typeof import("../gen/component/gantry/v1/gantry_pb").IsMovingRequest;
477
+ readonly O: typeof import("../gen/component/gantry/v1/gantry_pb").IsMovingResponse;
478
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
479
+ };
480
+ readonly doCommand: {
481
+ readonly name: "DoCommand";
482
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
483
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
484
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
485
+ };
486
+ readonly getGeometries: {
487
+ readonly name: "GetGeometries";
488
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
489
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
490
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
491
+ };
492
+ };
493
+ }>;
494
+ get genericService(): PromiseClient<{
495
+ readonly typeName: "viam.component.generic.v1.GenericService";
496
+ readonly methods: {
497
+ readonly doCommand: {
498
+ readonly name: "DoCommand";
499
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
500
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
501
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
502
+ };
503
+ readonly getGeometries: {
504
+ readonly name: "GetGeometries";
505
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
506
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
507
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
508
+ };
509
+ };
510
+ }>;
511
+ get gripperService(): PromiseClient<{
512
+ readonly typeName: "viam.component.gripper.v1.GripperService";
513
+ readonly methods: {
514
+ readonly open: {
515
+ readonly name: "Open";
516
+ readonly I: typeof import("../gen/component/gripper/v1/gripper_pb").OpenRequest;
517
+ readonly O: typeof import("../gen/component/gripper/v1/gripper_pb").OpenResponse;
518
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
519
+ };
520
+ readonly grab: {
521
+ readonly name: "Grab";
522
+ readonly I: typeof import("../gen/component/gripper/v1/gripper_pb").GrabRequest;
523
+ readonly O: typeof import("../gen/component/gripper/v1/gripper_pb").GrabResponse;
524
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
525
+ };
526
+ readonly stop: {
527
+ readonly name: "Stop";
528
+ readonly I: typeof import("../gen/component/gripper/v1/gripper_pb").StopRequest;
529
+ readonly O: typeof import("../gen/component/gripper/v1/gripper_pb").StopResponse;
530
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
531
+ };
532
+ readonly isMoving: {
533
+ readonly name: "IsMoving";
534
+ readonly I: typeof import("../gen/component/gripper/v1/gripper_pb").IsMovingRequest;
535
+ readonly O: typeof import("../gen/component/gripper/v1/gripper_pb").IsMovingResponse;
536
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
537
+ };
538
+ readonly doCommand: {
539
+ readonly name: "DoCommand";
540
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
541
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
542
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
543
+ };
544
+ readonly getGeometries: {
545
+ readonly name: "GetGeometries";
546
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
547
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
548
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
549
+ };
550
+ };
551
+ }>;
552
+ get movementSensorService(): PromiseClient<{
553
+ readonly typeName: "viam.component.movementsensor.v1.MovementSensorService";
554
+ readonly methods: {
555
+ readonly getLinearVelocity: {
556
+ readonly name: "GetLinearVelocity";
557
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetLinearVelocityRequest;
558
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetLinearVelocityResponse;
559
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
560
+ };
561
+ readonly getAngularVelocity: {
562
+ readonly name: "GetAngularVelocity";
563
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetAngularVelocityRequest;
564
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetAngularVelocityResponse;
565
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
566
+ };
567
+ readonly getCompassHeading: {
568
+ readonly name: "GetCompassHeading";
569
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetCompassHeadingRequest;
570
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetCompassHeadingResponse;
571
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
572
+ };
573
+ readonly getOrientation: {
574
+ readonly name: "GetOrientation";
575
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetOrientationRequest;
576
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetOrientationResponse;
577
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
578
+ };
579
+ readonly getPosition: {
580
+ readonly name: "GetPosition";
581
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetPositionRequest;
582
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetPositionResponse;
583
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
584
+ };
585
+ readonly getProperties: {
586
+ readonly name: "GetProperties";
587
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetPropertiesRequest;
588
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetPropertiesResponse;
589
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
590
+ };
591
+ readonly getAccuracy: {
592
+ readonly name: "GetAccuracy";
593
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetAccuracyRequest;
594
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetAccuracyResponse;
595
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
596
+ };
597
+ readonly getLinearAcceleration: {
598
+ readonly name: "GetLinearAcceleration";
599
+ readonly I: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetLinearAccelerationRequest;
600
+ readonly O: typeof import("../gen/component/movementsensor/v1/movementsensor_pb").GetLinearAccelerationResponse;
601
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
602
+ };
603
+ readonly doCommand: {
604
+ readonly name: "DoCommand";
605
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
606
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
607
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
608
+ };
609
+ readonly getGeometries: {
610
+ readonly name: "GetGeometries";
611
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
612
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
613
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
614
+ };
615
+ readonly getReadings: {
616
+ readonly name: "GetReadings";
617
+ readonly I: typeof import("../gen/common/v1/common_pb").GetReadingsRequest;
618
+ readonly O: typeof import("../gen/common/v1/common_pb").GetReadingsResponse;
619
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
620
+ };
621
+ };
622
+ }>;
623
+ get powerSensorService(): PromiseClient<{
624
+ readonly typeName: "viam.component.powersensor.v1.PowerSensorService";
625
+ readonly methods: {
626
+ readonly getVoltage: {
627
+ readonly name: "GetVoltage";
628
+ readonly I: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetVoltageRequest;
629
+ readonly O: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetVoltageResponse;
630
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
631
+ };
632
+ readonly getCurrent: {
633
+ readonly name: "GetCurrent";
634
+ readonly I: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetCurrentRequest;
635
+ readonly O: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetCurrentResponse;
636
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
637
+ };
638
+ readonly getPower: {
639
+ readonly name: "GetPower";
640
+ readonly I: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetPowerRequest;
641
+ readonly O: typeof import("../gen/component/powersensor/v1/powersensor_pb").GetPowerResponse;
642
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
643
+ };
644
+ readonly getReadings: {
645
+ readonly name: "GetReadings";
646
+ readonly I: typeof import("../gen/common/v1/common_pb").GetReadingsRequest;
647
+ readonly O: typeof import("../gen/common/v1/common_pb").GetReadingsResponse;
648
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
649
+ };
650
+ readonly doCommand: {
651
+ readonly name: "DoCommand";
652
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
653
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
654
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
655
+ };
656
+ };
657
+ }>;
658
+ get inputControllerService(): PromiseClient<{
659
+ readonly typeName: "viam.component.inputcontroller.v1.InputControllerService";
660
+ readonly methods: {
661
+ readonly getControls: {
662
+ readonly name: "GetControls";
663
+ readonly I: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").GetControlsRequest;
664
+ readonly O: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").GetControlsResponse;
665
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
666
+ };
667
+ readonly getEvents: {
668
+ readonly name: "GetEvents";
669
+ readonly I: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").GetEventsRequest;
670
+ readonly O: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").GetEventsResponse;
671
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
672
+ };
673
+ readonly streamEvents: {
674
+ readonly name: "StreamEvents";
675
+ readonly I: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").StreamEventsRequest;
676
+ readonly O: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").StreamEventsResponse;
677
+ readonly kind: import("@bufbuild/protobuf").MethodKind.ServerStreaming;
678
+ };
679
+ readonly triggerEvent: {
680
+ readonly name: "TriggerEvent";
681
+ readonly I: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").TriggerEventRequest;
682
+ readonly O: typeof import("../gen/component/inputcontroller/v1/input_controller_pb").TriggerEventResponse;
683
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
684
+ };
685
+ readonly doCommand: {
686
+ readonly name: "DoCommand";
687
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
688
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
689
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
690
+ };
691
+ readonly getGeometries: {
692
+ readonly name: "GetGeometries";
693
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
694
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
695
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
696
+ };
697
+ };
698
+ }>;
699
+ get motorService(): PromiseClient<{
700
+ readonly typeName: "viam.component.motor.v1.MotorService";
701
+ readonly methods: {
702
+ readonly setPower: {
703
+ readonly name: "SetPower";
704
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").SetPowerRequest;
705
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").SetPowerResponse;
706
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
707
+ };
708
+ readonly goFor: {
709
+ readonly name: "GoFor";
710
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").GoForRequest;
711
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").GoForResponse;
712
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
713
+ };
714
+ readonly goTo: {
715
+ readonly name: "GoTo";
716
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").GoToRequest;
717
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").GoToResponse;
718
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
719
+ };
720
+ readonly setRPM: {
721
+ readonly name: "SetRPM";
722
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").SetRPMRequest;
723
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").SetRPMResponse;
724
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
725
+ };
726
+ readonly resetZeroPosition: {
727
+ readonly name: "ResetZeroPosition";
728
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").ResetZeroPositionRequest;
729
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").ResetZeroPositionResponse;
730
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
731
+ };
732
+ readonly getPosition: {
733
+ readonly name: "GetPosition";
734
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").GetPositionRequest;
735
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").GetPositionResponse;
736
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
737
+ };
738
+ readonly getProperties: {
739
+ readonly name: "GetProperties";
740
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").GetPropertiesRequest;
741
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").GetPropertiesResponse;
742
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
743
+ };
744
+ readonly stop: {
745
+ readonly name: "Stop";
746
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").StopRequest;
747
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").StopResponse;
748
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
749
+ };
750
+ readonly isPowered: {
751
+ readonly name: "IsPowered";
752
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").IsPoweredRequest;
753
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").IsPoweredResponse;
754
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
755
+ };
756
+ readonly isMoving: {
757
+ readonly name: "IsMoving";
758
+ readonly I: typeof import("../gen/component/motor/v1/motor_pb").IsMovingRequest;
759
+ readonly O: typeof import("../gen/component/motor/v1/motor_pb").IsMovingResponse;
760
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
761
+ };
762
+ readonly doCommand: {
763
+ readonly name: "DoCommand";
764
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
765
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
766
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
767
+ };
768
+ readonly getGeometries: {
769
+ readonly name: "GetGeometries";
770
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
771
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
772
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
773
+ };
774
+ };
775
+ }>;
776
+ get navigationService(): PromiseClient<{
777
+ readonly typeName: "viam.service.navigation.v1.NavigationService";
778
+ readonly methods: {
779
+ readonly getMode: {
780
+ readonly name: "GetMode";
781
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetModeRequest;
782
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetModeResponse;
783
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
784
+ };
785
+ readonly setMode: {
786
+ readonly name: "SetMode";
787
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").SetModeRequest;
788
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").SetModeResponse;
789
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
790
+ };
791
+ readonly getLocation: {
792
+ readonly name: "GetLocation";
793
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetLocationRequest;
794
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetLocationResponse;
795
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
796
+ };
797
+ readonly getWaypoints: {
798
+ readonly name: "GetWaypoints";
799
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetWaypointsRequest;
800
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetWaypointsResponse;
801
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
802
+ };
803
+ readonly addWaypoint: {
804
+ readonly name: "AddWaypoint";
805
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").AddWaypointRequest;
806
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").AddWaypointResponse;
807
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
808
+ };
809
+ readonly removeWaypoint: {
810
+ readonly name: "RemoveWaypoint";
811
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").RemoveWaypointRequest;
812
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").RemoveWaypointResponse;
813
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
814
+ };
815
+ readonly getObstacles: {
816
+ readonly name: "GetObstacles";
817
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetObstaclesRequest;
818
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetObstaclesResponse;
819
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
820
+ };
821
+ readonly getPaths: {
822
+ readonly name: "GetPaths";
823
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetPathsRequest;
824
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetPathsResponse;
825
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
826
+ };
827
+ readonly getProperties: {
828
+ readonly name: "GetProperties";
829
+ readonly I: typeof import("../gen/service/navigation/v1/navigation_pb").GetPropertiesRequest;
830
+ readonly O: typeof import("../gen/service/navigation/v1/navigation_pb").GetPropertiesResponse;
831
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
832
+ };
833
+ readonly doCommand: {
834
+ readonly name: "DoCommand";
835
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
836
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
837
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
838
+ };
839
+ };
840
+ }>;
841
+ get motionService(): PromiseClient<{
842
+ readonly typeName: "viam.service.motion.v1.MotionService";
843
+ readonly methods: {
844
+ readonly move: {
845
+ readonly name: "Move";
846
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").MoveRequest;
847
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").MoveResponse;
848
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
849
+ };
850
+ readonly moveOnMap: {
851
+ readonly name: "MoveOnMap";
852
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").MoveOnMapRequest;
853
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").MoveOnMapResponse;
854
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
855
+ };
856
+ readonly moveOnGlobe: {
857
+ readonly name: "MoveOnGlobe";
858
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").MoveOnGlobeRequest;
859
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").MoveOnGlobeResponse;
860
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
861
+ };
862
+ readonly getPose: {
863
+ readonly name: "GetPose";
864
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").GetPoseRequest;
865
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").GetPoseResponse;
866
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
867
+ };
868
+ readonly stopPlan: {
869
+ readonly name: "StopPlan";
870
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").StopPlanRequest;
871
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").StopPlanResponse;
872
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
873
+ };
874
+ readonly listPlanStatuses: {
875
+ readonly name: "ListPlanStatuses";
876
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").ListPlanStatusesRequest;
877
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").ListPlanStatusesResponse;
878
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
879
+ };
880
+ readonly getPlan: {
881
+ readonly name: "GetPlan";
882
+ readonly I: typeof import("../gen/service/motion/v1/motion_pb").GetPlanRequest;
883
+ readonly O: typeof import("../gen/service/motion/v1/motion_pb").GetPlanResponse;
884
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
885
+ };
886
+ readonly doCommand: {
887
+ readonly name: "DoCommand";
888
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
889
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
890
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
891
+ };
892
+ };
893
+ }>;
894
+ get visionService(): PromiseClient<{
895
+ readonly typeName: "viam.service.vision.v1.VisionService";
896
+ readonly methods: {
897
+ readonly getDetectionsFromCamera: {
898
+ readonly name: "GetDetectionsFromCamera";
899
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetDetectionsFromCameraRequest;
900
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetDetectionsFromCameraResponse;
901
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
902
+ };
903
+ readonly getDetections: {
904
+ readonly name: "GetDetections";
905
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetDetectionsRequest;
906
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetDetectionsResponse;
907
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
908
+ };
909
+ readonly getClassificationsFromCamera: {
910
+ readonly name: "GetClassificationsFromCamera";
911
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetClassificationsFromCameraRequest;
912
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetClassificationsFromCameraResponse;
913
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
914
+ };
915
+ readonly getClassifications: {
916
+ readonly name: "GetClassifications";
917
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetClassificationsRequest;
918
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetClassificationsResponse;
919
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
920
+ };
921
+ readonly getObjectPointClouds: {
922
+ readonly name: "GetObjectPointClouds";
923
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetObjectPointCloudsRequest;
924
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetObjectPointCloudsResponse;
925
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
926
+ };
927
+ readonly getProperties: {
928
+ readonly name: "GetProperties";
929
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").GetPropertiesRequest;
930
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").GetPropertiesResponse;
931
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
932
+ };
933
+ readonly captureAllFromCamera: {
934
+ readonly name: "CaptureAllFromCamera";
935
+ readonly I: typeof import("../gen/service/vision/v1/vision_pb").CaptureAllFromCameraRequest;
936
+ readonly O: typeof import("../gen/service/vision/v1/vision_pb").CaptureAllFromCameraResponse;
937
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
938
+ };
939
+ readonly doCommand: {
940
+ readonly name: "DoCommand";
941
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
942
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
943
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
944
+ };
945
+ };
946
+ }>;
947
+ get sensorsService(): PromiseClient<{
948
+ readonly typeName: "viam.service.sensors.v1.SensorsService";
949
+ readonly methods: {
950
+ readonly getSensors: {
951
+ readonly name: "GetSensors";
952
+ readonly I: typeof import("../gen/service/sensors/v1/sensors_pb").GetSensorsRequest;
953
+ readonly O: typeof import("../gen/service/sensors/v1/sensors_pb").GetSensorsResponse;
954
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
955
+ };
956
+ readonly getReadings: {
957
+ readonly name: "GetReadings";
958
+ readonly I: typeof import("../gen/service/sensors/v1/sensors_pb").GetReadingsRequest;
959
+ readonly O: typeof import("../gen/service/sensors/v1/sensors_pb").GetReadingsResponse;
960
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
961
+ };
962
+ readonly doCommand: {
963
+ readonly name: "DoCommand";
964
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
965
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
966
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
967
+ };
968
+ };
969
+ }>;
970
+ get servoService(): PromiseClient<{
971
+ readonly typeName: "viam.component.servo.v1.ServoService";
972
+ readonly methods: {
973
+ readonly move: {
974
+ readonly name: "Move";
975
+ readonly I: typeof import("../gen/component/servo/v1/servo_pb").MoveRequest;
976
+ readonly O: typeof import("../gen/component/servo/v1/servo_pb").MoveResponse;
977
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
978
+ };
979
+ readonly getPosition: {
980
+ readonly name: "GetPosition";
981
+ readonly I: typeof import("../gen/component/servo/v1/servo_pb").GetPositionRequest;
982
+ readonly O: typeof import("../gen/component/servo/v1/servo_pb").GetPositionResponse;
983
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
984
+ };
985
+ readonly stop: {
986
+ readonly name: "Stop";
987
+ readonly I: typeof import("../gen/component/servo/v1/servo_pb").StopRequest;
988
+ readonly O: typeof import("../gen/component/servo/v1/servo_pb").StopResponse;
989
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
990
+ };
991
+ readonly isMoving: {
992
+ readonly name: "IsMoving";
993
+ readonly I: typeof import("../gen/component/servo/v1/servo_pb").IsMovingRequest;
994
+ readonly O: typeof import("../gen/component/servo/v1/servo_pb").IsMovingResponse;
995
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
996
+ };
997
+ readonly doCommand: {
998
+ readonly name: "DoCommand";
999
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
1000
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
1001
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1002
+ };
1003
+ readonly getGeometries: {
1004
+ readonly name: "GetGeometries";
1005
+ readonly I: typeof import("../gen/common/v1/common_pb").GetGeometriesRequest;
1006
+ readonly O: typeof import("../gen/common/v1/common_pb").GetGeometriesResponse;
1007
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1008
+ };
1009
+ };
1010
+ }>;
1011
+ get slamService(): PromiseClient<{
1012
+ readonly typeName: "viam.service.slam.v1.SLAMService";
1013
+ readonly methods: {
1014
+ readonly getPosition: {
1015
+ readonly name: "GetPosition";
1016
+ readonly I: typeof import("../gen/service/slam/v1/slam_pb").GetPositionRequest;
1017
+ readonly O: typeof import("../gen/service/slam/v1/slam_pb").GetPositionResponse;
1018
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1019
+ };
1020
+ readonly getPointCloudMap: {
1021
+ readonly name: "GetPointCloudMap";
1022
+ readonly I: typeof import("../gen/service/slam/v1/slam_pb").GetPointCloudMapRequest;
1023
+ readonly O: typeof import("../gen/service/slam/v1/slam_pb").GetPointCloudMapResponse;
1024
+ readonly kind: import("@bufbuild/protobuf").MethodKind.ServerStreaming;
1025
+ };
1026
+ readonly getInternalState: {
1027
+ readonly name: "GetInternalState";
1028
+ readonly I: typeof import("../gen/service/slam/v1/slam_pb").GetInternalStateRequest;
1029
+ readonly O: typeof import("../gen/service/slam/v1/slam_pb").GetInternalStateResponse;
1030
+ readonly kind: import("@bufbuild/protobuf").MethodKind.ServerStreaming;
1031
+ };
1032
+ readonly getProperties: {
1033
+ readonly name: "GetProperties";
1034
+ readonly I: typeof import("../gen/service/slam/v1/slam_pb").GetPropertiesRequest;
1035
+ readonly O: typeof import("../gen/service/slam/v1/slam_pb").GetPropertiesResponse;
1036
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1037
+ };
1038
+ readonly doCommand: {
1039
+ readonly name: "DoCommand";
1040
+ readonly I: typeof import("../gen/common/v1/common_pb").DoCommandRequest;
1041
+ readonly O: typeof import("../gen/common/v1/common_pb").DoCommandResponse;
1042
+ readonly kind: import("@bufbuild/protobuf").MethodKind.Unary;
1043
+ };
1044
+ };
1045
+ }>;
1046
+ createServiceClient<T extends ServiceType>(svcType: T): PromiseClient<T>;
116
1047
  get peerConnection(): RTCPeerConnection | undefined;
117
1048
  disconnect(): Promise<void>;
118
1049
  isConnected(): boolean;
119
- connect({ authEntity, creds, priority, dialTimeout, }?: ConnectOptions): Promise<void>;
120
- getSessions(): Promise<proto.Session.AsObject[]>;
121
- getOperations(): Promise<proto.Operation[]>;
1050
+ connect({ creds, priority, dialTimeout, }?: ConnectOptions): Promise<void>;
1051
+ getSessions(): Promise<import("../gen/robot/v1/robot_pb").Session[]>;
1052
+ getOperations(): Promise<import("../gen/robot/v1/robot_pb").Operation[]>;
122
1053
  cancelOperation(id: string): Promise<void>;
123
1054
  blockForOperation(id: string): Promise<void>;
124
1055
  stopAll(): Promise<void>;
125
- frameSystemConfig(transforms: Transform[]): Promise<proto.FrameSystemConfig[]>;
1056
+ frameSystemConfig(transforms: Transform[]): Promise<import("../gen/robot/v1/robot_pb").FrameSystemConfig[]>;
126
1057
  transformPose(source: PoseInFrame, destination: string, supplementalTransforms: Transform[]): Promise<PoseInFrame>;
127
1058
  transformPCD(pointCloudPCD: Uint8Array, source: string, destination: string): Promise<Uint8Array>;
128
- discoverComponents(queries: proto.DiscoveryQuery[]): Promise<proto.Discovery[]>;
129
- getCloudMetadata(): Promise<proto.GetCloudMetadataResponse.AsObject>;
130
- resourceNames(): Promise<ResourceName.AsObject[]>;
131
- resourceRPCSubtypes(): Promise<proto.ResourceRPCSubtype[]>;
132
- getStatus(resourceNames?: ResourceName.AsObject[]): Promise<proto.Status[]>;
133
- streamStatus(resourceNames?: ResourceName.AsObject[], durationMs?: number): RobotStatusStream;
1059
+ discoverComponents(queries: DiscoveryQuery[]): Promise<import("../gen/robot/v1/robot_pb").Discovery[]>;
1060
+ getCloudMetadata(): Promise<import("../gen/robot/v1/robot_pb").GetCloudMetadataResponse>;
1061
+ resourceNames(): Promise<import("../gen/common/v1/common_pb").ResourceName[]>;
1062
+ resourceRPCSubtypes(): Promise<import("../gen/robot/v1/robot_pb").ResourceRPCSubtype[]>;
1063
+ getStatus(resourceNames?: ResourceName[]): Promise<Status[]>;
1064
+ streamStatus(resourceNames?: ResourceName[], durationMs?: number): AsyncIterable<Status[]>;
134
1065
  restartModule(moduleId?: string, moduleName?: string): Promise<void>;
135
1066
  }
136
1067
  export {};