@viamrobotics/sdk 0.25.0 → 0.26.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (330) 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 +2 -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 +668 -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/mlinference/v1/ml_inference_connect.d.ts +26 -0
  64. package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
  65. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  66. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  67. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  68. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  69. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  70. package/dist/gen/app/v1/app_pb.d.ts +5593 -4578
  71. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  72. package/dist/gen/app/v1/billing_pb.d.ts +564 -394
  73. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  74. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  75. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  76. package/dist/gen/app/v1/robot_pb.d.ts +1608 -1289
  77. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  78. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  79. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  80. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  81. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  82. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  83. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  84. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  85. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  86. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  87. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
  88. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  89. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  90. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  91. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  92. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  93. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  94. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  95. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  96. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  97. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  98. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  99. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  100. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  101. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  102. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  103. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  104. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  105. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  106. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  107. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  108. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  109. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  110. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  111. package/dist/gen/google/api/client_pb.d.ts +895 -453
  112. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  113. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  114. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  115. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  116. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  117. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  118. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  119. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  120. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  121. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  122. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  123. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  124. package/dist/gen/google/api/http_pb.d.ts +480 -127
  125. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  126. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  127. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  128. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  129. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  130. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  131. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  132. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  133. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  134. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  135. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  136. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  137. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  138. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  139. package/dist/gen/google/type/color_pb.d.ts +201 -37
  140. package/dist/gen/google/type/date_pb.d.ts +72 -25
  141. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  142. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  143. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  144. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  145. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  146. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  147. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  148. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  149. package/dist/gen/google/type/money_pb.d.ts +62 -25
  150. package/dist/gen/google/type/month_pb.d.ts +115 -21
  151. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  152. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  153. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  154. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  155. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  156. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  157. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  158. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  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 +676 -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 +1332 -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 +21120 -69216
  190. package/dist/main.umd.js +6 -13
  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 +2 -2
  201. package/dist/rpc/base-stream.d.ts +3 -6
  202. package/dist/rpc/client-channel.d.ts +5 -3
  203. package/dist/rpc/client-stream.d.ts +26 -12
  204. package/dist/rpc/dial.d.ts +49 -9
  205. package/dist/rpc/index.d.ts +3 -5
  206. package/dist/rpc/signaling-exchange.d.ts +33 -0
  207. package/dist/rpc/stream-client-stream.d.ts +16 -0
  208. package/dist/rpc/unary-client-stream.d.ts +13 -0
  209. package/dist/services/data-manager/client.d.ts +3 -3
  210. package/dist/services/data-manager/data-manager.d.ts +3 -2
  211. package/dist/services/generic/client.d.ts +3 -3
  212. package/dist/services/motion/client.d.ts +7 -8
  213. package/dist/services/motion/client.spec.d.ts +1 -0
  214. package/dist/services/motion/motion.d.ts +10 -9
  215. package/dist/services/motion/types.d.ts +12 -16
  216. package/dist/services/motion.d.ts +2 -2
  217. package/dist/services/navigation/client.d.ts +11 -12
  218. package/dist/services/navigation/client.spec.d.ts +1 -0
  219. package/dist/services/navigation/navigation.d.ts +11 -10
  220. package/dist/services/navigation/types.d.ts +8 -6
  221. package/dist/services/navigation.d.ts +2 -2
  222. package/dist/services/slam/client.d.ts +5 -6
  223. package/dist/services/slam/client.spec.d.ts +1 -0
  224. package/dist/services/slam/types.d.ts +4 -3
  225. package/dist/services/slam.d.ts +2 -2
  226. package/dist/services/vision/client.d.ts +13 -19
  227. package/dist/services/vision/types.d.ts +10 -7
  228. package/dist/services/vision/vision.d.ts +10 -9
  229. package/dist/services/vision.d.ts +2 -2
  230. package/dist/types.d.ts +21 -18
  231. package/dist/utils.d.ts +7 -37
  232. package/package.json +11 -8
  233. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  234. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  235. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  236. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  237. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  238. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  239. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  240. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  241. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  242. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  243. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  244. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  245. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  246. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  247. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  248. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  249. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  250. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  251. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  252. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  253. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  254. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  255. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  256. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  257. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  258. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  259. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  260. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  261. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  262. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  263. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  264. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  265. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  266. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  267. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  268. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  283. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  284. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  285. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  286. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  287. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  288. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  289. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  290. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  291. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  292. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  293. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  307. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  308. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  309. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  310. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -66
  311. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  312. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  313. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  314. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  315. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  316. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  317. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  318. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  319. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  320. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  321. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  322. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  323. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  324. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  325. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  326. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  327. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  328. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  329. package/dist/responses.d.ts +0 -8
  330. package/dist/rpc/grpc-error.d.ts +0 -6
@@ -1,349 +1,463 @@
1
- // package: viam.service.shell.v1
2
- // file: service/shell/v1/shell.proto
3
-
4
- import * as jspb from "google-protobuf";
5
- import * as common_v1_common_pb from "../../../common/v1/common_pb";
6
- import * as google_api_annotations_pb from "../../../google/api/annotations_pb";
7
- import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
8
- import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
9
-
10
- export class ShellRequest extends jspb.Message {
11
- getName(): string;
12
- setName(value: string): void;
13
-
14
- getDataIn(): string;
15
- setDataIn(value: string): void;
16
-
17
- hasExtra(): boolean;
18
- clearExtra(): void;
19
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
20
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
21
-
22
- serializeBinary(): Uint8Array;
23
- toObject(includeInstance?: boolean): ShellRequest.AsObject;
24
- static toObject(includeInstance: boolean, msg: ShellRequest): ShellRequest.AsObject;
25
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
26
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
27
- static serializeBinaryToWriter(message: ShellRequest, writer: jspb.BinaryWriter): void;
28
- static deserializeBinary(bytes: Uint8Array): ShellRequest;
29
- static deserializeBinaryFromReader(message: ShellRequest, reader: jspb.BinaryReader): ShellRequest;
1
+ // @generated by protoc-gen-es v1.10.0
2
+ // @generated from file service/shell/v1/shell.proto (package viam.service.shell.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * CopyFilesSourceType indicates what will be copied. It's important
11
+ * to disambiguate the single directory case from the multiple files
12
+ * case in order to indicate that the user's intent is to copy a directory
13
+ * into a single location which may result in a new top-level directory versus
14
+ * the cause of multiples files that always go into the existing target destination.
15
+ *
16
+ * @generated from enum viam.service.shell.v1.CopyFilesSourceType
17
+ */
18
+ export declare enum CopyFilesSourceType {
19
+ /**
20
+ * @generated from enum value: COPY_FILES_SOURCE_TYPE_UNSPECIFIED = 0;
21
+ */
22
+ UNSPECIFIED = 0,
23
+
24
+ /**
25
+ * @generated from enum value: COPY_FILES_SOURCE_TYPE_SINGLE_FILE = 1;
26
+ */
27
+ SINGLE_FILE = 1,
28
+
29
+ /**
30
+ * @generated from enum value: COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY = 2;
31
+ */
32
+ SINGLE_DIRECTORY = 2,
33
+
34
+ /**
35
+ * @generated from enum value: COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES = 3;
36
+ */
37
+ MULTIPLE_FILES = 3,
30
38
  }
31
39
 
32
- export namespace ShellRequest {
33
- export type AsObject = {
34
- name: string,
35
- dataIn: string,
36
- extra?: google_protobuf_struct_pb.Struct.AsObject,
37
- }
38
- }
40
+ /**
41
+ * @generated from message viam.service.shell.v1.ShellRequest
42
+ */
43
+ export declare class ShellRequest extends Message<ShellRequest> {
44
+ /**
45
+ * @generated from field: string name = 1;
46
+ */
47
+ name: string;
39
48
 
40
- export class ShellResponse extends jspb.Message {
41
- getDataOut(): string;
42
- setDataOut(value: string): void;
49
+ /**
50
+ * @generated from field: string data_in = 2;
51
+ */
52
+ dataIn: string;
43
53
 
44
- getDataErr(): string;
45
- setDataErr(value: string): void;
54
+ /**
55
+ * Additional arguments to the method
56
+ *
57
+ * @generated from field: google.protobuf.Struct extra = 99;
58
+ */
59
+ extra?: Struct;
46
60
 
47
- getEof(): boolean;
48
- setEof(value: boolean): void;
61
+ constructor(data?: PartialMessage<ShellRequest>);
49
62
 
50
- serializeBinary(): Uint8Array;
51
- toObject(includeInstance?: boolean): ShellResponse.AsObject;
52
- static toObject(includeInstance: boolean, msg: ShellResponse): ShellResponse.AsObject;
53
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
54
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
55
- static serializeBinaryToWriter(message: ShellResponse, writer: jspb.BinaryWriter): void;
56
- static deserializeBinary(bytes: Uint8Array): ShellResponse;
57
- static deserializeBinaryFromReader(message: ShellResponse, reader: jspb.BinaryReader): ShellResponse;
58
- }
63
+ static readonly runtime: typeof proto3;
64
+ static readonly typeName = "viam.service.shell.v1.ShellRequest";
65
+ static readonly fields: FieldList;
59
66
 
60
- export namespace ShellResponse {
61
- export type AsObject = {
62
- dataOut: string,
63
- dataErr: string,
64
- eof: boolean,
65
- }
66
- }
67
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ShellRequest;
67
68
 
68
- export class FileData extends jspb.Message {
69
- getName(): string;
70
- setName(value: string): void;
71
-
72
- getSize(): number;
73
- setSize(value: number): void;
74
-
75
- getIsDir(): boolean;
76
- setIsDir(value: boolean): void;
77
-
78
- getData(): Uint8Array | string;
79
- getData_asU8(): Uint8Array;
80
- getData_asB64(): string;
81
- setData(value: Uint8Array | string): void;
82
-
83
- getEof(): boolean;
84
- setEof(value: boolean): void;
85
-
86
- hasModTime(): boolean;
87
- clearModTime(): void;
88
- getModTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
89
- setModTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
90
-
91
- hasMode(): boolean;
92
- clearMode(): void;
93
- getMode(): number;
94
- setMode(value: number): void;
95
-
96
- serializeBinary(): Uint8Array;
97
- toObject(includeInstance?: boolean): FileData.AsObject;
98
- static toObject(includeInstance: boolean, msg: FileData): FileData.AsObject;
99
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
100
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
101
- static serializeBinaryToWriter(message: FileData, writer: jspb.BinaryWriter): void;
102
- static deserializeBinary(bytes: Uint8Array): FileData;
103
- static deserializeBinaryFromReader(message: FileData, reader: jspb.BinaryReader): FileData;
104
- }
69
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ShellRequest;
70
+
71
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ShellRequest;
105
72
 
106
- export namespace FileData {
107
- export type AsObject = {
108
- name: string,
109
- size: number,
110
- isDir: boolean,
111
- data: Uint8Array | string,
112
- eof: boolean,
113
- modTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
114
- mode: number,
115
- }
73
+ static equals(a: ShellRequest | PlainMessage<ShellRequest> | undefined, b: ShellRequest | PlainMessage<ShellRequest> | undefined): boolean;
116
74
  }
117
75
 
118
- export class CopyFilesToMachineRequestMetadata extends jspb.Message {
119
- getName(): string;
120
- setName(value: string): void;
76
+ /**
77
+ * @generated from message viam.service.shell.v1.ShellResponse
78
+ */
79
+ export declare class ShellResponse extends Message<ShellResponse> {
80
+ /**
81
+ * @generated from field: string data_out = 1;
82
+ */
83
+ dataOut: string;
121
84
 
122
- getSourceType(): CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap];
123
- setSourceType(value: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap]): void;
85
+ /**
86
+ * @generated from field: string data_err = 2;
87
+ */
88
+ dataErr: string;
124
89
 
125
- getDestination(): string;
126
- setDestination(value: string): void;
90
+ /**
91
+ * @generated from field: bool eof = 3;
92
+ */
93
+ eof: boolean;
127
94
 
128
- getPreserve(): boolean;
129
- setPreserve(value: boolean): void;
95
+ constructor(data?: PartialMessage<ShellResponse>);
130
96
 
131
- hasExtra(): boolean;
132
- clearExtra(): void;
133
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
134
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
97
+ static readonly runtime: typeof proto3;
98
+ static readonly typeName = "viam.service.shell.v1.ShellResponse";
99
+ static readonly fields: FieldList;
135
100
 
136
- serializeBinary(): Uint8Array;
137
- toObject(includeInstance?: boolean): CopyFilesToMachineRequestMetadata.AsObject;
138
- static toObject(includeInstance: boolean, msg: CopyFilesToMachineRequestMetadata): CopyFilesToMachineRequestMetadata.AsObject;
139
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
140
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
141
- static serializeBinaryToWriter(message: CopyFilesToMachineRequestMetadata, writer: jspb.BinaryWriter): void;
142
- static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineRequestMetadata;
143
- static deserializeBinaryFromReader(message: CopyFilesToMachineRequestMetadata, reader: jspb.BinaryReader): CopyFilesToMachineRequestMetadata;
144
- }
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ShellResponse;
145
102
 
146
- export namespace CopyFilesToMachineRequestMetadata {
147
- export type AsObject = {
148
- name: string,
149
- sourceType: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap],
150
- destination: string,
151
- preserve: boolean,
152
- extra?: google_protobuf_struct_pb.Struct.AsObject,
153
- }
154
- }
103
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ShellResponse;
155
104
 
156
- export class CopyFilesToMachineRequest extends jspb.Message {
157
- hasMetadata(): boolean;
158
- clearMetadata(): void;
159
- getMetadata(): CopyFilesToMachineRequestMetadata | undefined;
160
- setMetadata(value?: CopyFilesToMachineRequestMetadata): void;
161
-
162
- hasFileData(): boolean;
163
- clearFileData(): void;
164
- getFileData(): FileData | undefined;
165
- setFileData(value?: FileData): void;
166
-
167
- getRequestCase(): CopyFilesToMachineRequest.RequestCase;
168
- serializeBinary(): Uint8Array;
169
- toObject(includeInstance?: boolean): CopyFilesToMachineRequest.AsObject;
170
- static toObject(includeInstance: boolean, msg: CopyFilesToMachineRequest): CopyFilesToMachineRequest.AsObject;
171
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
172
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
173
- static serializeBinaryToWriter(message: CopyFilesToMachineRequest, writer: jspb.BinaryWriter): void;
174
- static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineRequest;
175
- static deserializeBinaryFromReader(message: CopyFilesToMachineRequest, reader: jspb.BinaryReader): CopyFilesToMachineRequest;
176
- }
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ShellResponse;
177
106
 
178
- export namespace CopyFilesToMachineRequest {
179
- export type AsObject = {
180
- metadata?: CopyFilesToMachineRequestMetadata.AsObject,
181
- fileData?: FileData.AsObject,
182
- }
183
-
184
- export enum RequestCase {
185
- REQUEST_NOT_SET = 0,
186
- METADATA = 1,
187
- FILE_DATA = 2,
188
- }
107
+ static equals(a: ShellResponse | PlainMessage<ShellResponse> | undefined, b: ShellResponse | PlainMessage<ShellResponse> | undefined): boolean;
189
108
  }
190
109
 
191
- export class CopyFilesToMachineResponse extends jspb.Message {
192
- getAckLastFile(): boolean;
193
- setAckLastFile(value: boolean): void;
194
-
195
- serializeBinary(): Uint8Array;
196
- toObject(includeInstance?: boolean): CopyFilesToMachineResponse.AsObject;
197
- static toObject(includeInstance: boolean, msg: CopyFilesToMachineResponse): CopyFilesToMachineResponse.AsObject;
198
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
199
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
200
- static serializeBinaryToWriter(message: CopyFilesToMachineResponse, writer: jspb.BinaryWriter): void;
201
- static deserializeBinary(bytes: Uint8Array): CopyFilesToMachineResponse;
202
- static deserializeBinaryFromReader(message: CopyFilesToMachineResponse, reader: jspb.BinaryReader): CopyFilesToMachineResponse;
110
+ /**
111
+ * FileData contains partial (sometimes complete) information about a File.
112
+ * When transmitting FileData with CopyFilesToMachine and CopyFilesFromMachine,
113
+ * it MUST initially contain its name, size, and is_dir. Depending on whether
114
+ * preservation is in use, the mod_time and mode fields may be initially set
115
+ * as well. On all transmissions, data and eof must be set. Because files are
116
+ * sent one-by-one, it is currently permitted to exclude the initially set fields.
117
+ * If this ever changes, a new scheme should be used for identifying files (like a number)
118
+ * in order to reduce data transmission while allowing out-of-order transfers.
119
+ * eof must be true and its own message once no more data is to be sent for this file.
120
+ *
121
+ * @generated from message viam.service.shell.v1.FileData
122
+ */
123
+ export declare class FileData extends Message<FileData> {
124
+ /**
125
+ * @generated from field: string name = 1;
126
+ */
127
+ name: string;
128
+
129
+ /**
130
+ * @generated from field: int64 size = 2;
131
+ */
132
+ size: bigint;
133
+
134
+ /**
135
+ * @generated from field: bool is_dir = 3;
136
+ */
137
+ isDir: boolean;
138
+
139
+ /**
140
+ * @generated from field: bytes data = 4;
141
+ */
142
+ data: Uint8Array;
143
+
144
+ /**
145
+ * @generated from field: bool eof = 5;
146
+ */
147
+ eof: boolean;
148
+
149
+ /**
150
+ * Note(erd): maybe support access time in the future if needed
151
+ *
152
+ * @generated from field: optional google.protobuf.Timestamp mod_time = 6;
153
+ */
154
+ modTime?: Timestamp;
155
+
156
+ /**
157
+ * @generated from field: optional uint32 mode = 7;
158
+ */
159
+ mode?: number;
160
+
161
+ constructor(data?: PartialMessage<FileData>);
162
+
163
+ static readonly runtime: typeof proto3;
164
+ static readonly typeName = "viam.service.shell.v1.FileData";
165
+ static readonly fields: FieldList;
166
+
167
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileData;
168
+
169
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileData;
170
+
171
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileData;
172
+
173
+ static equals(a: FileData | PlainMessage<FileData> | undefined, b: FileData | PlainMessage<FileData> | undefined): boolean;
203
174
  }
204
175
 
205
- export namespace CopyFilesToMachineResponse {
206
- export type AsObject = {
207
- ackLastFile: boolean,
208
- }
176
+ /**
177
+ * @generated from message viam.service.shell.v1.CopyFilesToMachineRequestMetadata
178
+ */
179
+ export declare class CopyFilesToMachineRequestMetadata extends Message<CopyFilesToMachineRequestMetadata> {
180
+ /**
181
+ * name is the service name.
182
+ *
183
+ * @generated from field: string name = 1;
184
+ */
185
+ name: string;
186
+
187
+ /**
188
+ * source_type is the type of files that will be transmitted in this request stream.
189
+ *
190
+ * @generated from field: viam.service.shell.v1.CopyFilesSourceType source_type = 2;
191
+ */
192
+ sourceType: CopyFilesSourceType;
193
+
194
+ /**
195
+ * destination is where the files should be placed. The receiver can choose to
196
+ * reasonably modify this destination based on its implementation semantics.
197
+ *
198
+ * @generated from field: string destination = 3;
199
+ */
200
+ destination: string;
201
+
202
+ /**
203
+ * preserve indicates the the receiver should use the metadata in the file to reflect
204
+ * the same state in its filesystem as applicable.
205
+ *
206
+ * @generated from field: bool preserve = 4;
207
+ */
208
+ preserve: boolean;
209
+
210
+ /**
211
+ * Additional arguments to the method
212
+ *
213
+ * @generated from field: google.protobuf.Struct extra = 99;
214
+ */
215
+ extra?: Struct;
216
+
217
+ constructor(data?: PartialMessage<CopyFilesToMachineRequestMetadata>);
218
+
219
+ static readonly runtime: typeof proto3;
220
+ static readonly typeName = "viam.service.shell.v1.CopyFilesToMachineRequestMetadata";
221
+ static readonly fields: FieldList;
222
+
223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesToMachineRequestMetadata;
224
+
225
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesToMachineRequestMetadata;
226
+
227
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesToMachineRequestMetadata;
228
+
229
+ static equals(a: CopyFilesToMachineRequestMetadata | PlainMessage<CopyFilesToMachineRequestMetadata> | undefined, b: CopyFilesToMachineRequestMetadata | PlainMessage<CopyFilesToMachineRequestMetadata> | undefined): boolean;
209
230
  }
210
231
 
211
- export class CopyFilesFromMachineRequestMetadata extends jspb.Message {
212
- getName(): string;
213
- setName(value: string): void;
214
-
215
- clearPathsList(): void;
216
- getPathsList(): Array<string>;
217
- setPathsList(value: Array<string>): void;
218
- addPaths(value: string, index?: number): string;
219
-
220
- getAllowRecursion(): boolean;
221
- setAllowRecursion(value: boolean): void;
222
-
223
- getPreserve(): boolean;
224
- setPreserve(value: boolean): void;
225
-
226
- hasExtra(): boolean;
227
- clearExtra(): void;
228
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
229
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
230
-
231
- serializeBinary(): Uint8Array;
232
- toObject(includeInstance?: boolean): CopyFilesFromMachineRequestMetadata.AsObject;
233
- static toObject(includeInstance: boolean, msg: CopyFilesFromMachineRequestMetadata): CopyFilesFromMachineRequestMetadata.AsObject;
234
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
235
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
236
- static serializeBinaryToWriter(message: CopyFilesFromMachineRequestMetadata, writer: jspb.BinaryWriter): void;
237
- static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineRequestMetadata;
238
- static deserializeBinaryFromReader(message: CopyFilesFromMachineRequestMetadata, reader: jspb.BinaryReader): CopyFilesFromMachineRequestMetadata;
232
+ /**
233
+ * @generated from message viam.service.shell.v1.CopyFilesToMachineRequest
234
+ */
235
+ export declare class CopyFilesToMachineRequest extends Message<CopyFilesToMachineRequest> {
236
+ /**
237
+ * @generated from oneof viam.service.shell.v1.CopyFilesToMachineRequest.request
238
+ */
239
+ request: {
240
+ /**
241
+ * metadata is sent first and only once.
242
+ *
243
+ * @generated from field: viam.service.shell.v1.CopyFilesToMachineRequestMetadata metadata = 1;
244
+ */
245
+ value: CopyFilesToMachineRequestMetadata;
246
+ case: "metadata";
247
+ } | {
248
+ /**
249
+ * file_data is sent only after metadata. All data MUST be sent
250
+ * in order per-file.
251
+ *
252
+ * @generated from field: viam.service.shell.v1.FileData file_data = 2;
253
+ */
254
+ value: FileData;
255
+ case: "fileData";
256
+ } | { case: undefined; value?: undefined };
257
+
258
+ constructor(data?: PartialMessage<CopyFilesToMachineRequest>);
259
+
260
+ static readonly runtime: typeof proto3;
261
+ static readonly typeName = "viam.service.shell.v1.CopyFilesToMachineRequest";
262
+ static readonly fields: FieldList;
263
+
264
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesToMachineRequest;
265
+
266
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesToMachineRequest;
267
+
268
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesToMachineRequest;
269
+
270
+ static equals(a: CopyFilesToMachineRequest | PlainMessage<CopyFilesToMachineRequest> | undefined, b: CopyFilesToMachineRequest | PlainMessage<CopyFilesToMachineRequest> | undefined): boolean;
239
271
  }
240
272
 
241
- export namespace CopyFilesFromMachineRequestMetadata {
242
- export type AsObject = {
243
- name: string,
244
- pathsList: Array<string>,
245
- allowRecursion: boolean,
246
- preserve: boolean,
247
- extra?: google_protobuf_struct_pb.Struct.AsObject,
248
- }
249
- }
273
+ /**
274
+ * @generated from message viam.service.shell.v1.CopyFilesToMachineResponse
275
+ */
276
+ export declare class CopyFilesToMachineResponse extends Message<CopyFilesToMachineResponse> {
277
+ /**
278
+ * value does not matter here but responses must be sent after every
279
+ * file has been received.
280
+ *
281
+ * @generated from field: bool ack_last_file = 1;
282
+ */
283
+ ackLastFile: boolean;
250
284
 
251
- export class CopyFilesFromMachineRequest extends jspb.Message {
252
- hasMetadata(): boolean;
253
- clearMetadata(): void;
254
- getMetadata(): CopyFilesFromMachineRequestMetadata | undefined;
255
- setMetadata(value?: CopyFilesFromMachineRequestMetadata): void;
256
-
257
- hasAckLastFile(): boolean;
258
- clearAckLastFile(): void;
259
- getAckLastFile(): boolean;
260
- setAckLastFile(value: boolean): void;
261
-
262
- getRequestCase(): CopyFilesFromMachineRequest.RequestCase;
263
- serializeBinary(): Uint8Array;
264
- toObject(includeInstance?: boolean): CopyFilesFromMachineRequest.AsObject;
265
- static toObject(includeInstance: boolean, msg: CopyFilesFromMachineRequest): CopyFilesFromMachineRequest.AsObject;
266
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
267
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
268
- static serializeBinaryToWriter(message: CopyFilesFromMachineRequest, writer: jspb.BinaryWriter): void;
269
- static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineRequest;
270
- static deserializeBinaryFromReader(message: CopyFilesFromMachineRequest, reader: jspb.BinaryReader): CopyFilesFromMachineRequest;
271
- }
285
+ constructor(data?: PartialMessage<CopyFilesToMachineResponse>);
272
286
 
273
- export namespace CopyFilesFromMachineRequest {
274
- export type AsObject = {
275
- metadata?: CopyFilesFromMachineRequestMetadata.AsObject,
276
- ackLastFile: boolean,
277
- }
278
-
279
- export enum RequestCase {
280
- REQUEST_NOT_SET = 0,
281
- METADATA = 1,
282
- ACK_LAST_FILE = 2,
283
- }
284
- }
287
+ static readonly runtime: typeof proto3;
288
+ static readonly typeName = "viam.service.shell.v1.CopyFilesToMachineResponse";
289
+ static readonly fields: FieldList;
285
290
 
286
- export class CopyFilesFromMachineResponseMetadata extends jspb.Message {
287
- getSourceType(): CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap];
288
- setSourceType(value: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap]): void;
289
-
290
- serializeBinary(): Uint8Array;
291
- toObject(includeInstance?: boolean): CopyFilesFromMachineResponseMetadata.AsObject;
292
- static toObject(includeInstance: boolean, msg: CopyFilesFromMachineResponseMetadata): CopyFilesFromMachineResponseMetadata.AsObject;
293
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
294
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
295
- static serializeBinaryToWriter(message: CopyFilesFromMachineResponseMetadata, writer: jspb.BinaryWriter): void;
296
- static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineResponseMetadata;
297
- static deserializeBinaryFromReader(message: CopyFilesFromMachineResponseMetadata, reader: jspb.BinaryReader): CopyFilesFromMachineResponseMetadata;
298
- }
291
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesToMachineResponse;
292
+
293
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesToMachineResponse;
294
+
295
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesToMachineResponse;
299
296
 
300
- export namespace CopyFilesFromMachineResponseMetadata {
301
- export type AsObject = {
302
- sourceType: CopyFilesSourceTypeMap[keyof CopyFilesSourceTypeMap],
303
- }
297
+ static equals(a: CopyFilesToMachineResponse | PlainMessage<CopyFilesToMachineResponse> | undefined, b: CopyFilesToMachineResponse | PlainMessage<CopyFilesToMachineResponse> | undefined): boolean;
304
298
  }
305
299
 
306
- export class CopyFilesFromMachineResponse extends jspb.Message {
307
- hasMetadata(): boolean;
308
- clearMetadata(): void;
309
- getMetadata(): CopyFilesFromMachineResponseMetadata | undefined;
310
- setMetadata(value?: CopyFilesFromMachineResponseMetadata): void;
311
-
312
- hasFileData(): boolean;
313
- clearFileData(): void;
314
- getFileData(): FileData | undefined;
315
- setFileData(value?: FileData): void;
316
-
317
- getResponseCase(): CopyFilesFromMachineResponse.ResponseCase;
318
- serializeBinary(): Uint8Array;
319
- toObject(includeInstance?: boolean): CopyFilesFromMachineResponse.AsObject;
320
- static toObject(includeInstance: boolean, msg: CopyFilesFromMachineResponse): CopyFilesFromMachineResponse.AsObject;
321
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
322
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
323
- static serializeBinaryToWriter(message: CopyFilesFromMachineResponse, writer: jspb.BinaryWriter): void;
324
- static deserializeBinary(bytes: Uint8Array): CopyFilesFromMachineResponse;
325
- static deserializeBinaryFromReader(message: CopyFilesFromMachineResponse, reader: jspb.BinaryReader): CopyFilesFromMachineResponse;
300
+ /**
301
+ * @generated from message viam.service.shell.v1.CopyFilesFromMachineRequestMetadata
302
+ */
303
+ export declare class CopyFilesFromMachineRequestMetadata extends Message<CopyFilesFromMachineRequestMetadata> {
304
+ /**
305
+ * name is the service name.
306
+ *
307
+ * @generated from field: string name = 1;
308
+ */
309
+ name: string;
310
+
311
+ /**
312
+ * paths are the paths to copy from and send back over the wire.
313
+ *
314
+ * @generated from field: repeated string paths = 2;
315
+ */
316
+ paths: string[];
317
+
318
+ /**
319
+ * allow_recursion indicates if directories should be recursed into. If
320
+ * a directory is encountered and this is false, an error MUST occur.
321
+ *
322
+ * @generated from field: bool allow_recursion = 3;
323
+ */
324
+ allowRecursion: boolean;
325
+
326
+ /**
327
+ * preserve indicates the the receiver should provide the metadata in the file
328
+ * to reflect the same state in the sender's filesystem as applicable.
329
+ *
330
+ * @generated from field: bool preserve = 4;
331
+ */
332
+ preserve: boolean;
333
+
334
+ /**
335
+ * Additional arguments to the method
336
+ *
337
+ * @generated from field: google.protobuf.Struct extra = 99;
338
+ */
339
+ extra?: Struct;
340
+
341
+ constructor(data?: PartialMessage<CopyFilesFromMachineRequestMetadata>);
342
+
343
+ static readonly runtime: typeof proto3;
344
+ static readonly typeName = "viam.service.shell.v1.CopyFilesFromMachineRequestMetadata";
345
+ static readonly fields: FieldList;
346
+
347
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesFromMachineRequestMetadata;
348
+
349
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesFromMachineRequestMetadata;
350
+
351
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesFromMachineRequestMetadata;
352
+
353
+ static equals(a: CopyFilesFromMachineRequestMetadata | PlainMessage<CopyFilesFromMachineRequestMetadata> | undefined, b: CopyFilesFromMachineRequestMetadata | PlainMessage<CopyFilesFromMachineRequestMetadata> | undefined): boolean;
326
354
  }
327
355
 
328
- export namespace CopyFilesFromMachineResponse {
329
- export type AsObject = {
330
- metadata?: CopyFilesFromMachineResponseMetadata.AsObject,
331
- fileData?: FileData.AsObject,
332
- }
333
-
334
- export enum ResponseCase {
335
- RESPONSE_NOT_SET = 0,
336
- METADATA = 1,
337
- FILE_DATA = 2,
338
- }
356
+ /**
357
+ * @generated from message viam.service.shell.v1.CopyFilesFromMachineRequest
358
+ */
359
+ export declare class CopyFilesFromMachineRequest extends Message<CopyFilesFromMachineRequest> {
360
+ /**
361
+ * @generated from oneof viam.service.shell.v1.CopyFilesFromMachineRequest.request
362
+ */
363
+ request: {
364
+ /**
365
+ * metadata is sent first and only once.
366
+ *
367
+ * @generated from field: viam.service.shell.v1.CopyFilesFromMachineRequestMetadata metadata = 1;
368
+ */
369
+ value: CopyFilesFromMachineRequestMetadata;
370
+ case: "metadata";
371
+ } | {
372
+ /**
373
+ * ack_last_file is sent only after metadata and after each file has been received.
374
+ * The value does not matter.
375
+ *
376
+ * @generated from field: bool ack_last_file = 2;
377
+ */
378
+ value: boolean;
379
+ case: "ackLastFile";
380
+ } | { case: undefined; value?: undefined };
381
+
382
+ constructor(data?: PartialMessage<CopyFilesFromMachineRequest>);
383
+
384
+ static readonly runtime: typeof proto3;
385
+ static readonly typeName = "viam.service.shell.v1.CopyFilesFromMachineRequest";
386
+ static readonly fields: FieldList;
387
+
388
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesFromMachineRequest;
389
+
390
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesFromMachineRequest;
391
+
392
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesFromMachineRequest;
393
+
394
+ static equals(a: CopyFilesFromMachineRequest | PlainMessage<CopyFilesFromMachineRequest> | undefined, b: CopyFilesFromMachineRequest | PlainMessage<CopyFilesFromMachineRequest> | undefined): boolean;
339
395
  }
340
396
 
341
- export interface CopyFilesSourceTypeMap {
342
- COPY_FILES_SOURCE_TYPE_UNSPECIFIED: 0;
343
- COPY_FILES_SOURCE_TYPE_SINGLE_FILE: 1;
344
- COPY_FILES_SOURCE_TYPE_SINGLE_DIRECTORY: 2;
345
- COPY_FILES_SOURCE_TYPE_MULTIPLE_FILES: 3;
397
+ /**
398
+ * @generated from message viam.service.shell.v1.CopyFilesFromMachineResponseMetadata
399
+ */
400
+ export declare class CopyFilesFromMachineResponseMetadata extends Message<CopyFilesFromMachineResponseMetadata> {
401
+ /**
402
+ * source_type is the type of files that will be transmitted in this response stream.
403
+ *
404
+ * @generated from field: viam.service.shell.v1.CopyFilesSourceType source_type = 1;
405
+ */
406
+ sourceType: CopyFilesSourceType;
407
+
408
+ constructor(data?: PartialMessage<CopyFilesFromMachineResponseMetadata>);
409
+
410
+ static readonly runtime: typeof proto3;
411
+ static readonly typeName = "viam.service.shell.v1.CopyFilesFromMachineResponseMetadata";
412
+ static readonly fields: FieldList;
413
+
414
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesFromMachineResponseMetadata;
415
+
416
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesFromMachineResponseMetadata;
417
+
418
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesFromMachineResponseMetadata;
419
+
420
+ static equals(a: CopyFilesFromMachineResponseMetadata | PlainMessage<CopyFilesFromMachineResponseMetadata> | undefined, b: CopyFilesFromMachineResponseMetadata | PlainMessage<CopyFilesFromMachineResponseMetadata> | undefined): boolean;
346
421
  }
347
422
 
348
- export const CopyFilesSourceType: CopyFilesSourceTypeMap;
423
+ /**
424
+ * @generated from message viam.service.shell.v1.CopyFilesFromMachineResponse
425
+ */
426
+ export declare class CopyFilesFromMachineResponse extends Message<CopyFilesFromMachineResponse> {
427
+ /**
428
+ * @generated from oneof viam.service.shell.v1.CopyFilesFromMachineResponse.response
429
+ */
430
+ response: {
431
+ /**
432
+ * metadata is sent first and only once.
433
+ *
434
+ * @generated from field: viam.service.shell.v1.CopyFilesFromMachineResponseMetadata metadata = 1;
435
+ */
436
+ value: CopyFilesFromMachineResponseMetadata;
437
+ case: "metadata";
438
+ } | {
439
+ /**
440
+ * file_data is sent only after metadata. All data MUST be sent
441
+ * in order per-file.
442
+ *
443
+ * @generated from field: viam.service.shell.v1.FileData file_data = 2;
444
+ */
445
+ value: FileData;
446
+ case: "fileData";
447
+ } | { case: undefined; value?: undefined };
448
+
449
+ constructor(data?: PartialMessage<CopyFilesFromMachineResponse>);
450
+
451
+ static readonly runtime: typeof proto3;
452
+ static readonly typeName = "viam.service.shell.v1.CopyFilesFromMachineResponse";
453
+ static readonly fields: FieldList;
454
+
455
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CopyFilesFromMachineResponse;
456
+
457
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CopyFilesFromMachineResponse;
458
+
459
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CopyFilesFromMachineResponse;
460
+
461
+ static equals(a: CopyFilesFromMachineResponse | PlainMessage<CopyFilesFromMachineResponse> | undefined, b: CopyFilesFromMachineResponse | PlainMessage<CopyFilesFromMachineResponse> | undefined): boolean;
462
+ }
349
463