@viamrobotics/sdk 0.25.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 (328) hide show
  1. package/dist/app/app-client.d.ts +93 -90
  2. package/dist/app/billing-client.d.ts +7 -8
  3. package/dist/app/billing-client.spec.d.ts +1 -0
  4. package/dist/app/data-client.d.ts +42 -50
  5. package/dist/app/data-client.spec.d.ts +1 -0
  6. package/dist/app/ml-training-client.d.ts +9 -14
  7. package/dist/app/ml-training-client.spec.d.ts +1 -0
  8. package/dist/app/provisioning-client.d.ts +7 -7
  9. package/dist/app/provisioning-client.spec.d.ts +1 -0
  10. package/dist/app/viam-client.d.ts +13 -15
  11. package/dist/app/viam-transport.d.ts +4 -12
  12. package/dist/components/arm/arm.d.ts +10 -8
  13. package/dist/components/arm/client.d.ts +6 -6
  14. package/dist/components/arm.d.ts +1 -1
  15. package/dist/components/base/base.d.ts +11 -10
  16. package/dist/components/base/client.d.ts +4 -5
  17. package/dist/components/base.d.ts +1 -1
  18. package/dist/components/board/board.d.ts +17 -21
  19. package/dist/components/board/client.d.ts +7 -8
  20. package/dist/components/board/client.spec.d.ts +1 -0
  21. package/dist/components/board.d.ts +1 -1
  22. package/dist/components/camera/camera.d.ts +2 -2
  23. package/dist/components/camera/client.d.ts +4 -5
  24. package/dist/components/encoder/client.d.ts +6 -7
  25. package/dist/components/encoder/encoder.d.ts +9 -10
  26. package/dist/components/encoder.d.ts +1 -2
  27. package/dist/components/gantry/client.d.ts +3 -3
  28. package/dist/components/gantry/gantry.d.ts +7 -6
  29. package/dist/components/generic/client.d.ts +3 -3
  30. package/dist/components/gripper/client.d.ts +3 -3
  31. package/dist/components/gripper/gripper.d.ts +5 -4
  32. package/dist/components/input-controller/client.d.ts +5 -6
  33. package/dist/components/input-controller/input-controller.d.ts +7 -5
  34. package/dist/components/inputcontroller.d.ts +1 -1
  35. package/dist/components/motor/client.d.ts +3 -3
  36. package/dist/components/motor/motor.d.ts +11 -10
  37. package/dist/components/movement-sensor/client.d.ts +11 -12
  38. package/dist/components/movement-sensor/client.spec.d.ts +1 -0
  39. package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
  40. package/dist/components/movementsensor.d.ts +1 -1
  41. package/dist/components/power-sensor/client.d.ts +4 -4
  42. package/dist/components/power-sensor/client.spec.d.ts +1 -0
  43. package/dist/components/power-sensor/power-sensor.d.ts +5 -5
  44. package/dist/components/sensor/client.d.ts +4 -4
  45. package/dist/components/sensor/sensor.d.ts +3 -2
  46. package/dist/components/servo/client.d.ts +5 -5
  47. package/dist/components/servo/servo.d.ts +5 -4
  48. package/dist/extra/stream/client.d.ts +0 -1
  49. package/dist/extra/stream/client.spec.d.ts +1 -0
  50. package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
  51. package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
  52. package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
  53. package/dist/gen/app/build/v1/build_pb.d.ts +654 -493
  54. package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
  55. package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
  56. package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
  57. package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
  58. package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
  59. package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
  60. package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
  61. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
  62. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
  63. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
  64. package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
  65. package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
  66. package/dist/gen/app/v1/app_connect.d.ts +788 -0
  67. package/dist/gen/app/v1/app_pb.d.ts +5558 -4578
  68. package/dist/gen/app/v1/billing_connect.d.ts +72 -0
  69. package/dist/gen/app/v1/billing_pb.d.ts +479 -396
  70. package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
  71. package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
  72. package/dist/gen/app/v1/robot_connect.d.ts +63 -0
  73. package/dist/gen/app/v1/robot_pb.d.ts +1601 -1289
  74. package/dist/gen/common/v1/common_pb.d.ts +886 -662
  75. package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
  76. package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
  77. package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
  78. package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
  79. package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
  80. package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
  81. package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
  82. package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
  83. package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
  84. package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
  85. package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
  86. package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
  87. package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
  88. package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
  89. package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
  90. package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
  91. package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
  92. package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
  93. package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
  94. package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
  95. package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
  96. package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
  97. package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
  98. package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
  99. package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
  100. package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
  101. package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
  102. package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
  103. package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
  104. package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
  105. package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
  106. package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
  107. package/dist/gen/google/api/annotations_pb.d.ts +26 -6
  108. package/dist/gen/google/api/client_pb.d.ts +895 -453
  109. package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
  110. package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
  111. package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
  112. package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
  113. package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
  114. package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
  115. package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
  116. package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
  117. package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
  118. package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
  119. package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
  120. package/dist/gen/google/api/field_info_pb.d.ts +169 -56
  121. package/dist/gen/google/api/http_pb.d.ts +480 -127
  122. package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
  123. package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
  124. package/dist/gen/google/api/resource_pb.d.ts +334 -88
  125. package/dist/gen/google/api/visibility_pb.d.ts +157 -52
  126. package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
  127. package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
  128. package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
  129. package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
  130. package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
  131. package/dist/gen/google/rpc/code_pb.d.ts +252 -25
  132. package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
  133. package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
  134. package/dist/gen/google/rpc/status_pb.d.ts +72 -33
  135. package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
  136. package/dist/gen/google/type/color_pb.d.ts +201 -37
  137. package/dist/gen/google/type/date_pb.d.ts +72 -25
  138. package/dist/gen/google/type/datetime_pb.d.ts +176 -83
  139. package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
  140. package/dist/gen/google/type/decimal_pb.d.ts +112 -22
  141. package/dist/gen/google/type/expr_pb.d.ts +97 -28
  142. package/dist/gen/google/type/fraction_pb.d.ts +55 -26
  143. package/dist/gen/google/type/interval_pb.d.ts +65 -31
  144. package/dist/gen/google/type/latlng_pb.d.ts +58 -26
  145. package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
  146. package/dist/gen/google/type/money_pb.d.ts +62 -25
  147. package/dist/gen/google/type/month_pb.d.ts +115 -21
  148. package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
  149. package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
  150. package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
  151. package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
  152. package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
  153. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
  154. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
  155. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
  156. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_connect.d.ts +26 -0
  157. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +67 -60
  158. package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
  159. package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
  160. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
  161. package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
  162. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +647 -529
  163. package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
  164. package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
  165. package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
  166. package/dist/gen/robot/v1/robot_pb.d.ts +1327 -1087
  167. package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
  168. package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
  169. package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
  170. package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
  171. package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
  172. package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
  173. package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
  174. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
  175. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
  176. package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
  177. package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
  178. package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
  179. package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
  180. package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
  181. package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
  182. package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
  183. package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
  184. package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
  185. package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
  186. package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
  187. package/dist/main.d.ts +81 -92
  188. package/dist/main.es.js +21092 -69184
  189. package/dist/main.umd.js +6 -13
  190. package/dist/robot/client.d.ts +990 -59
  191. package/dist/robot/dial.d.ts +2 -4
  192. package/dist/robot/grpc-connection-manager.d.ts +5 -7
  193. package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
  194. package/dist/robot/robot.d.ts +9 -10
  195. package/dist/robot/session-manager.d.ts +6 -8
  196. package/dist/robot/session-manager.spec.d.ts +1 -0
  197. package/dist/robot/session-transport.d.ts +8 -11
  198. package/dist/robot.d.ts +2 -2
  199. package/dist/rpc/base-channel.d.ts +2 -2
  200. package/dist/rpc/base-stream.d.ts +3 -6
  201. package/dist/rpc/client-channel.d.ts +5 -3
  202. package/dist/rpc/client-stream.d.ts +26 -12
  203. package/dist/rpc/dial.d.ts +49 -9
  204. package/dist/rpc/index.d.ts +3 -5
  205. package/dist/rpc/signaling-exchange.d.ts +33 -0
  206. package/dist/rpc/stream-client-stream.d.ts +16 -0
  207. package/dist/rpc/unary-client-stream.d.ts +13 -0
  208. package/dist/services/data-manager/client.d.ts +3 -3
  209. package/dist/services/data-manager/data-manager.d.ts +3 -2
  210. package/dist/services/generic/client.d.ts +3 -3
  211. package/dist/services/motion/client.d.ts +7 -8
  212. package/dist/services/motion/client.spec.d.ts +1 -0
  213. package/dist/services/motion/motion.d.ts +10 -9
  214. package/dist/services/motion/types.d.ts +12 -16
  215. package/dist/services/motion.d.ts +2 -2
  216. package/dist/services/navigation/client.d.ts +11 -12
  217. package/dist/services/navigation/client.spec.d.ts +1 -0
  218. package/dist/services/navigation/navigation.d.ts +11 -10
  219. package/dist/services/navigation/types.d.ts +8 -6
  220. package/dist/services/navigation.d.ts +2 -2
  221. package/dist/services/slam/client.d.ts +5 -6
  222. package/dist/services/slam/client.spec.d.ts +1 -0
  223. package/dist/services/slam/types.d.ts +4 -3
  224. package/dist/services/slam.d.ts +2 -2
  225. package/dist/services/vision/client.d.ts +13 -19
  226. package/dist/services/vision/types.d.ts +10 -7
  227. package/dist/services/vision/vision.d.ts +10 -9
  228. package/dist/services/vision.d.ts +2 -2
  229. package/dist/types.d.ts +21 -18
  230. package/dist/utils.d.ts +7 -37
  231. package/package.json +6 -9
  232. package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
  233. package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
  234. package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
  235. package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
  236. package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
  237. package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
  238. package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
  239. package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
  240. package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
  241. package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
  242. package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
  243. package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
  244. package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
  245. package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
  246. package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
  247. package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
  248. package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
  249. package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
  250. package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
  251. package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
  252. package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
  253. package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
  254. package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
  255. package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
  256. package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
  257. package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
  258. package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
  259. package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
  260. package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
  261. package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
  262. package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
  263. package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
  264. package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
  265. package/dist/gen/google/api/client_pb_service.d.ts +0 -3
  266. package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
  267. package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
  268. package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
  269. package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
  270. package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
  271. package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
  272. package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
  273. package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
  274. package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
  275. package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
  276. package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
  277. package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
  278. package/dist/gen/google/api/http_pb_service.d.ts +0 -3
  279. package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
  280. package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
  281. package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
  282. package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
  283. package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
  284. package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
  285. package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
  286. package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
  287. package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
  288. package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
  289. package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
  290. package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
  291. package/dist/gen/google/type/color_pb_service.d.ts +0 -3
  292. package/dist/gen/google/type/date_pb_service.d.ts +0 -3
  293. package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
  294. package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
  295. package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
  296. package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
  297. package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
  298. package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
  299. package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
  300. package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
  301. package/dist/gen/google/type/money_pb_service.d.ts +0 -3
  302. package/dist/gen/google/type/month_pb_service.d.ts +0 -3
  303. package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
  304. package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
  305. package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
  306. package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
  307. package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
  308. package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
  309. package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
  310. package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
  311. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
  312. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
  313. package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
  314. package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
  315. package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
  316. package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
  317. package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
  318. package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
  319. package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
  320. package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
  321. package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
  322. package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
  323. package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
  324. package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
  325. package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
  326. package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
  327. package/dist/responses.d.ts +0 -8
  328. package/dist/rpc/grpc-error.d.ts +0 -6
@@ -1,68 +1,173 @@
1
- // package: google.type
2
- // file: google/type/phone_number.proto
3
-
4
- import * as jspb from "google-protobuf";
5
-
6
- export class PhoneNumber extends jspb.Message {
7
- hasE164Number(): boolean;
8
- clearE164Number(): void;
9
- getE164Number(): string;
10
- setE164Number(value: string): void;
11
-
12
- hasShortCode(): boolean;
13
- clearShortCode(): void;
14
- getShortCode(): PhoneNumber.ShortCode | undefined;
15
- setShortCode(value?: PhoneNumber.ShortCode): void;
16
-
17
- getExtension$(): string;
18
- setExtension$(value: string): void;
19
-
20
- getKindCase(): PhoneNumber.KindCase;
21
- serializeBinary(): Uint8Array;
22
- toObject(includeInstance?: boolean): PhoneNumber.AsObject;
23
- static toObject(includeInstance: boolean, msg: PhoneNumber): PhoneNumber.AsObject;
24
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
25
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
26
- static serializeBinaryToWriter(message: PhoneNumber, writer: jspb.BinaryWriter): void;
27
- static deserializeBinary(bytes: Uint8Array): PhoneNumber;
28
- static deserializeBinaryFromReader(message: PhoneNumber, reader: jspb.BinaryReader): PhoneNumber;
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.0
16
+ // @generated from file google/type/phone_number.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * An object representing a phone number, suitable as an API wire format.
25
+ *
26
+ * This representation:
27
+ *
28
+ * - should not be used for locale-specific formatting of a phone number, such
29
+ * as "+1 (650) 253-0000 ext. 123"
30
+ *
31
+ * - is not designed for efficient storage
32
+ * - may not be suitable for dialing - specialized libraries (see references)
33
+ * should be used to parse the number for that purpose
34
+ *
35
+ * To do something meaningful with this number, such as format it for various
36
+ * use-cases, convert it to an `i18n.phonenumbers.PhoneNumber` object first.
37
+ *
38
+ * For instance, in Java this would be:
39
+ *
40
+ * com.google.type.PhoneNumber wireProto =
41
+ * com.google.type.PhoneNumber.newBuilder().build();
42
+ * com.google.i18n.phonenumbers.Phonenumber.PhoneNumber phoneNumber =
43
+ * PhoneNumberUtil.getInstance().parse(wireProto.getE164Number(), "ZZ");
44
+ * if (!wireProto.getExtension().isEmpty()) {
45
+ * phoneNumber.setExtension(wireProto.getExtension());
46
+ * }
47
+ *
48
+ * Reference(s):
49
+ * - https://github.com/google/libphonenumber
50
+ *
51
+ * @generated from message google.type.PhoneNumber
52
+ */
53
+ export declare class PhoneNumber extends Message<PhoneNumber> {
54
+ /**
55
+ * Required. Either a regular number, or a short code. New fields may be
56
+ * added to the oneof below in the future, so clients should ignore phone
57
+ * numbers for which none of the fields they coded against are set.
58
+ *
59
+ * @generated from oneof google.type.PhoneNumber.kind
60
+ */
61
+ kind: {
62
+ /**
63
+ * The phone number, represented as a leading plus sign ('+'), followed by a
64
+ * phone number that uses a relaxed ITU E.164 format consisting of the
65
+ * country calling code (1 to 3 digits) and the subscriber number, with no
66
+ * additional spaces or formatting, e.g.:
67
+ * - correct: "+15552220123"
68
+ * - incorrect: "+1 (555) 222-01234 x123".
69
+ *
70
+ * The ITU E.164 format limits the latter to 12 digits, but in practice not
71
+ * all countries respect that, so we relax that restriction here.
72
+ * National-only numbers are not allowed.
73
+ *
74
+ * References:
75
+ * - https://www.itu.int/rec/T-REC-E.164-201011-I
76
+ * - https://en.wikipedia.org/wiki/E.164.
77
+ * - https://en.wikipedia.org/wiki/List_of_country_calling_codes
78
+ *
79
+ * @generated from field: string e164_number = 1;
80
+ */
81
+ value: string;
82
+ case: "e164Number";
83
+ } | {
84
+ /**
85
+ * A short code.
86
+ *
87
+ * Reference(s):
88
+ * - https://en.wikipedia.org/wiki/Short_code
89
+ *
90
+ * @generated from field: google.type.PhoneNumber.ShortCode short_code = 2;
91
+ */
92
+ value: PhoneNumber_ShortCode;
93
+ case: "shortCode";
94
+ } | { case: undefined; value?: undefined };
95
+
96
+ /**
97
+ * The phone number's extension. The extension is not standardized in ITU
98
+ * recommendations, except for being defined as a series of numbers with a
99
+ * maximum length of 40 digits. Other than digits, some other dialing
100
+ * characters such as ',' (indicating a wait) or '#' may be stored here.
101
+ *
102
+ * Note that no regions currently use extensions with short codes, so this
103
+ * field is normally only set in conjunction with an E.164 number. It is held
104
+ * separately from the E.164 number to allow for short code extensions in the
105
+ * future.
106
+ *
107
+ * @generated from field: string extension = 3;
108
+ */
109
+ extension: string;
110
+
111
+ constructor(data?: PartialMessage<PhoneNumber>);
112
+
113
+ static readonly runtime: typeof proto3;
114
+ static readonly typeName = "google.type.PhoneNumber";
115
+ static readonly fields: FieldList;
116
+
117
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhoneNumber;
118
+
119
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhoneNumber;
120
+
121
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhoneNumber;
122
+
123
+ static equals(a: PhoneNumber | PlainMessage<PhoneNumber> | undefined, b: PhoneNumber | PlainMessage<PhoneNumber> | undefined): boolean;
29
124
  }
30
125
 
31
- export namespace PhoneNumber {
32
- export type AsObject = {
33
- e164Number: string,
34
- shortCode?: PhoneNumber.ShortCode.AsObject,
35
- extension: string,
36
- }
37
-
38
- export class ShortCode extends jspb.Message {
39
- getRegionCode(): string;
40
- setRegionCode(value: string): void;
41
-
42
- getNumber(): string;
43
- setNumber(value: string): void;
44
-
45
- serializeBinary(): Uint8Array;
46
- toObject(includeInstance?: boolean): ShortCode.AsObject;
47
- static toObject(includeInstance: boolean, msg: ShortCode): ShortCode.AsObject;
48
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
49
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
50
- static serializeBinaryToWriter(message: ShortCode, writer: jspb.BinaryWriter): void;
51
- static deserializeBinary(bytes: Uint8Array): ShortCode;
52
- static deserializeBinaryFromReader(message: ShortCode, reader: jspb.BinaryReader): ShortCode;
53
- }
54
-
55
- export namespace ShortCode {
56
- export type AsObject = {
57
- regionCode: string,
58
- number: string,
59
- }
60
- }
61
-
62
- export enum KindCase {
63
- KIND_NOT_SET = 0,
64
- E164_NUMBER = 1,
65
- SHORT_CODE = 2,
66
- }
126
+ /**
127
+ * An object representing a short code, which is a phone number that is
128
+ * typically much shorter than regular phone numbers and can be used to
129
+ * address messages in MMS and SMS systems, as well as for abbreviated dialing
130
+ * (e.g. "Text 611 to see how many minutes you have remaining on your plan.").
131
+ *
132
+ * Short codes are restricted to a region and are not internationally
133
+ * dialable, which means the same short code can exist in different regions,
134
+ * with different usage and pricing, even if those regions share the same
135
+ * country calling code (e.g. US and CA).
136
+ *
137
+ * @generated from message google.type.PhoneNumber.ShortCode
138
+ */
139
+ export declare class PhoneNumber_ShortCode extends Message<PhoneNumber_ShortCode> {
140
+ /**
141
+ * Required. The BCP-47 region code of the location where calls to this
142
+ * short code can be made, such as "US" and "BB".
143
+ *
144
+ * Reference(s):
145
+ * - http://www.unicode.org/reports/tr35/#unicode_region_subtag
146
+ *
147
+ * @generated from field: string region_code = 1;
148
+ */
149
+ regionCode: string;
150
+
151
+ /**
152
+ * Required. The short code digits, without a leading plus ('+') or country
153
+ * calling code, e.g. "611".
154
+ *
155
+ * @generated from field: string number = 2;
156
+ */
157
+ number: string;
158
+
159
+ constructor(data?: PartialMessage<PhoneNumber_ShortCode>);
160
+
161
+ static readonly runtime: typeof proto3;
162
+ static readonly typeName = "google.type.PhoneNumber.ShortCode";
163
+ static readonly fields: FieldList;
164
+
165
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PhoneNumber_ShortCode;
166
+
167
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PhoneNumber_ShortCode;
168
+
169
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PhoneNumber_ShortCode;
170
+
171
+ static equals(a: PhoneNumber_ShortCode | PlainMessage<PhoneNumber_ShortCode> | undefined, b: PhoneNumber_ShortCode | PlainMessage<PhoneNumber_ShortCode> | undefined): boolean;
67
172
  }
68
173
 
@@ -1,69 +1,194 @@
1
- // package: google.type
2
- // file: google/type/postal_address.proto
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
3
14
 
4
- import * as jspb from "google-protobuf";
15
+ // @generated by protoc-gen-es v1.10.0
16
+ // @generated from file google/type/postal_address.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
5
19
 
6
- export class PostalAddress extends jspb.Message {
7
- getRevision(): number;
8
- setRevision(value: number): void;
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
9
22
 
10
- getRegionCode(): string;
11
- setRegionCode(value: string): void;
23
+ /**
24
+ * Represents a postal address, e.g. for postal delivery or payments addresses.
25
+ * Given a postal address, a postal service can deliver items to a premise, P.O.
26
+ * Box or similar.
27
+ * It is not intended to model geographical locations (roads, towns,
28
+ * mountains).
29
+ *
30
+ * In typical usage an address would be created via user input or from importing
31
+ * existing data, depending on the type of process.
32
+ *
33
+ * Advice on address input / editing:
34
+ * - Use an i18n-ready address widget such as
35
+ * https://github.com/google/libaddressinput)
36
+ * - Users should not be presented with UI elements for input or editing of
37
+ * fields outside countries where that field is used.
38
+ *
39
+ * For more guidance on how to use this schema, please see:
40
+ * https://support.google.com/business/answer/6397478
41
+ *
42
+ * @generated from message google.type.PostalAddress
43
+ */
44
+ export declare class PostalAddress extends Message<PostalAddress> {
45
+ /**
46
+ * The schema revision of the `PostalAddress`. This must be set to 0, which is
47
+ * the latest revision.
48
+ *
49
+ * All new revisions **must** be backward compatible with old revisions.
50
+ *
51
+ * @generated from field: int32 revision = 1;
52
+ */
53
+ revision: number;
12
54
 
13
- getLanguageCode(): string;
14
- setLanguageCode(value: string): void;
55
+ /**
56
+ * Required. CLDR region code of the country/region of the address. This
57
+ * is never inferred and it is up to the user to ensure the value is
58
+ * correct. See http://cldr.unicode.org/ and
59
+ * http://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
60
+ * for details. Example: "CH" for Switzerland.
61
+ *
62
+ * @generated from field: string region_code = 2;
63
+ */
64
+ regionCode: string;
15
65
 
16
- getPostalCode(): string;
17
- setPostalCode(value: string): void;
66
+ /**
67
+ * Optional. BCP-47 language code of the contents of this address (if
68
+ * known). This is often the UI language of the input form or is expected
69
+ * to match one of the languages used in the address' country/region, or their
70
+ * transliterated equivalents.
71
+ * This can affect formatting in certain countries, but is not critical
72
+ * to the correctness of the data and will never affect any validation or
73
+ * other non-formatting related operations.
74
+ *
75
+ * If this value is not known, it should be omitted (rather than specifying a
76
+ * possibly incorrect default).
77
+ *
78
+ * Examples: "zh-Hant", "ja", "ja-Latn", "en".
79
+ *
80
+ * @generated from field: string language_code = 3;
81
+ */
82
+ languageCode: string;
18
83
 
19
- getSortingCode(): string;
20
- setSortingCode(value: string): void;
84
+ /**
85
+ * Optional. Postal code of the address. Not all countries use or require
86
+ * postal codes to be present, but where they are used, they may trigger
87
+ * additional validation with other parts of the address (e.g. state/zip
88
+ * validation in the U.S.A.).
89
+ *
90
+ * @generated from field: string postal_code = 4;
91
+ */
92
+ postalCode: string;
21
93
 
22
- getAdministrativeArea(): string;
23
- setAdministrativeArea(value: string): void;
94
+ /**
95
+ * Optional. Additional, country-specific, sorting code. This is not used
96
+ * in most regions. Where it is used, the value is either a string like
97
+ * "CEDEX", optionally followed by a number (e.g. "CEDEX 7"), or just a number
98
+ * alone, representing the "sector code" (Jamaica), "delivery area indicator"
99
+ * (Malawi) or "post office indicator" (e.g. Côte d'Ivoire).
100
+ *
101
+ * @generated from field: string sorting_code = 5;
102
+ */
103
+ sortingCode: string;
24
104
 
25
- getLocality(): string;
26
- setLocality(value: string): void;
105
+ /**
106
+ * Optional. Highest administrative subdivision which is used for postal
107
+ * addresses of a country or region.
108
+ * For example, this can be a state, a province, an oblast, or a prefecture.
109
+ * Specifically, for Spain this is the province and not the autonomous
110
+ * community (e.g. "Barcelona" and not "Catalonia").
111
+ * Many countries don't use an administrative area in postal addresses. E.g.
112
+ * in Switzerland this should be left unpopulated.
113
+ *
114
+ * @generated from field: string administrative_area = 6;
115
+ */
116
+ administrativeArea: string;
27
117
 
28
- getSublocality(): string;
29
- setSublocality(value: string): void;
118
+ /**
119
+ * Optional. Generally refers to the city/town portion of the address.
120
+ * Examples: US city, IT comune, UK post town.
121
+ * In regions of the world where localities are not well defined or do not fit
122
+ * into this structure well, leave locality empty and use address_lines.
123
+ *
124
+ * @generated from field: string locality = 7;
125
+ */
126
+ locality: string;
30
127
 
31
- clearAddressLinesList(): void;
32
- getAddressLinesList(): Array<string>;
33
- setAddressLinesList(value: Array<string>): void;
34
- addAddressLines(value: string, index?: number): string;
128
+ /**
129
+ * Optional. Sublocality of the address.
130
+ * For example, this can be neighborhoods, boroughs, districts.
131
+ *
132
+ * @generated from field: string sublocality = 8;
133
+ */
134
+ sublocality: string;
35
135
 
36
- clearRecipientsList(): void;
37
- getRecipientsList(): Array<string>;
38
- setRecipientsList(value: Array<string>): void;
39
- addRecipients(value: string, index?: number): string;
136
+ /**
137
+ * Unstructured address lines describing the lower levels of an address.
138
+ *
139
+ * Because values in address_lines do not have type information and may
140
+ * sometimes contain multiple values in a single field (e.g.
141
+ * "Austin, TX"), it is important that the line order is clear. The order of
142
+ * address lines should be "envelope order" for the country/region of the
143
+ * address. In places where this can vary (e.g. Japan), address_language is
144
+ * used to make it explicit (e.g. "ja" for large-to-small ordering and
145
+ * "ja-Latn" or "en" for small-to-large). This way, the most specific line of
146
+ * an address can be selected based on the language.
147
+ *
148
+ * The minimum permitted structural representation of an address consists
149
+ * of a region_code with all remaining information placed in the
150
+ * address_lines. It would be possible to format such an address very
151
+ * approximately without geocoding, but no semantic reasoning could be
152
+ * made about any of the address components until it was at least
153
+ * partially resolved.
154
+ *
155
+ * Creating an address only containing a region_code and address_lines, and
156
+ * then geocoding is the recommended way to handle completely unstructured
157
+ * addresses (as opposed to guessing which parts of the address should be
158
+ * localities or administrative areas).
159
+ *
160
+ * @generated from field: repeated string address_lines = 9;
161
+ */
162
+ addressLines: string[];
40
163
 
41
- getOrganization(): string;
42
- setOrganization(value: string): void;
164
+ /**
165
+ * Optional. The recipient at the address.
166
+ * This field may, under certain circumstances, contain multiline information.
167
+ * For example, it might contain "care of" information.
168
+ *
169
+ * @generated from field: repeated string recipients = 10;
170
+ */
171
+ recipients: string[];
43
172
 
44
- serializeBinary(): Uint8Array;
45
- toObject(includeInstance?: boolean): PostalAddress.AsObject;
46
- static toObject(includeInstance: boolean, msg: PostalAddress): PostalAddress.AsObject;
47
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
48
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
49
- static serializeBinaryToWriter(message: PostalAddress, writer: jspb.BinaryWriter): void;
50
- static deserializeBinary(bytes: Uint8Array): PostalAddress;
51
- static deserializeBinaryFromReader(message: PostalAddress, reader: jspb.BinaryReader): PostalAddress;
52
- }
173
+ /**
174
+ * Optional. The name of the organization at the address.
175
+ *
176
+ * @generated from field: string organization = 11;
177
+ */
178
+ organization: string;
179
+
180
+ constructor(data?: PartialMessage<PostalAddress>);
181
+
182
+ static readonly runtime: typeof proto3;
183
+ static readonly typeName = "google.type.PostalAddress";
184
+ static readonly fields: FieldList;
185
+
186
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PostalAddress;
187
+
188
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PostalAddress;
189
+
190
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostalAddress;
53
191
 
54
- export namespace PostalAddress {
55
- export type AsObject = {
56
- revision: number,
57
- regionCode: string,
58
- languageCode: string,
59
- postalCode: string,
60
- sortingCode: string,
61
- administrativeArea: string,
62
- locality: string,
63
- sublocality: string,
64
- addressLinesList: Array<string>,
65
- recipientsList: Array<string>,
66
- organization: string,
67
- }
192
+ static equals(a: PostalAddress | PlainMessage<PostalAddress> | undefined, b: PostalAddress | PlainMessage<PostalAddress> | undefined): boolean;
68
193
  }
69
194
 
@@ -1,37 +1,126 @@
1
- // package: google.type
2
- // file: google/type/quaternion.proto
1
+ // Copyright 2024 Google LLC
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
3
14
 
4
- import * as jspb from "google-protobuf";
15
+ // @generated by protoc-gen-es v1.10.0
16
+ // @generated from file google/type/quaternion.proto (package google.type, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
5
19
 
6
- export class Quaternion extends jspb.Message {
7
- getX(): number;
8
- setX(value: number): void;
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
9
22
 
10
- getY(): number;
11
- setY(value: number): void;
23
+ /**
24
+ * A quaternion is defined as the quotient of two directed lines in a
25
+ * three-dimensional space or equivalently as the quotient of two Euclidean
26
+ * vectors (https://en.wikipedia.org/wiki/Quaternion).
27
+ *
28
+ * Quaternions are often used in calculations involving three-dimensional
29
+ * rotations (https://en.wikipedia.org/wiki/Quaternions_and_spatial_rotation),
30
+ * as they provide greater mathematical robustness by avoiding the gimbal lock
31
+ * problems that can be encountered when using Euler angles
32
+ * (https://en.wikipedia.org/wiki/Gimbal_lock).
33
+ *
34
+ * Quaternions are generally represented in this form:
35
+ *
36
+ * w + xi + yj + zk
37
+ *
38
+ * where x, y, z, and w are real numbers, and i, j, and k are three imaginary
39
+ * numbers.
40
+ *
41
+ * Our naming choice `(x, y, z, w)` comes from the desire to avoid confusion for
42
+ * those interested in the geometric properties of the quaternion in the 3D
43
+ * Cartesian space. Other texts often use alternative names or subscripts, such
44
+ * as `(a, b, c, d)`, `(1, i, j, k)`, or `(0, 1, 2, 3)`, which are perhaps
45
+ * better suited for mathematical interpretations.
46
+ *
47
+ * To avoid any confusion, as well as to maintain compatibility with a large
48
+ * number of software libraries, the quaternions represented using the protocol
49
+ * buffer below *must* follow the Hamilton convention, which defines `ij = k`
50
+ * (i.e. a right-handed algebra), and therefore:
51
+ *
52
+ * i^2 = j^2 = k^2 = ijk = −1
53
+ * ij = −ji = k
54
+ * jk = −kj = i
55
+ * ki = −ik = j
56
+ *
57
+ * Please DO NOT use this to represent quaternions that follow the JPL
58
+ * convention, or any of the other quaternion flavors out there.
59
+ *
60
+ * Definitions:
61
+ *
62
+ * - Quaternion norm (or magnitude): `sqrt(x^2 + y^2 + z^2 + w^2)`.
63
+ * - Unit (or normalized) quaternion: a quaternion whose norm is 1.
64
+ * - Pure quaternion: a quaternion whose scalar component (`w`) is 0.
65
+ * - Rotation quaternion: a unit quaternion used to represent rotation.
66
+ * - Orientation quaternion: a unit quaternion used to represent orientation.
67
+ *
68
+ * A quaternion can be normalized by dividing it by its norm. The resulting
69
+ * quaternion maintains the same direction, but has a norm of 1, i.e. it moves
70
+ * on the unit sphere. This is generally necessary for rotation and orientation
71
+ * quaternions, to avoid rounding errors:
72
+ * https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions
73
+ *
74
+ * Note that `(x, y, z, w)` and `(-x, -y, -z, -w)` represent the same rotation,
75
+ * but normalization would be even more useful, e.g. for comparison purposes, if
76
+ * it would produce a unique representation. It is thus recommended that `w` be
77
+ * kept positive, which can be achieved by changing all the signs when `w` is
78
+ * negative.
79
+ *
80
+ *
81
+ * @generated from message google.type.Quaternion
82
+ */
83
+ export declare class Quaternion extends Message<Quaternion> {
84
+ /**
85
+ * The x component.
86
+ *
87
+ * @generated from field: double x = 1;
88
+ */
89
+ x: number;
12
90
 
13
- getZ(): number;
14
- setZ(value: number): void;
91
+ /**
92
+ * The y component.
93
+ *
94
+ * @generated from field: double y = 2;
95
+ */
96
+ y: number;
15
97
 
16
- getW(): number;
17
- setW(value: number): void;
98
+ /**
99
+ * The z component.
100
+ *
101
+ * @generated from field: double z = 3;
102
+ */
103
+ z: number;
18
104
 
19
- serializeBinary(): Uint8Array;
20
- toObject(includeInstance?: boolean): Quaternion.AsObject;
21
- static toObject(includeInstance: boolean, msg: Quaternion): Quaternion.AsObject;
22
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
23
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
24
- static serializeBinaryToWriter(message: Quaternion, writer: jspb.BinaryWriter): void;
25
- static deserializeBinary(bytes: Uint8Array): Quaternion;
26
- static deserializeBinaryFromReader(message: Quaternion, reader: jspb.BinaryReader): Quaternion;
27
- }
105
+ /**
106
+ * The scalar component.
107
+ *
108
+ * @generated from field: double w = 4;
109
+ */
110
+ w: number;
111
+
112
+ constructor(data?: PartialMessage<Quaternion>);
113
+
114
+ static readonly runtime: typeof proto3;
115
+ static readonly typeName = "google.type.Quaternion";
116
+ static readonly fields: FieldList;
117
+
118
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Quaternion;
119
+
120
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Quaternion;
121
+
122
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Quaternion;
28
123
 
29
- export namespace Quaternion {
30
- export type AsObject = {
31
- x: number,
32
- y: number,
33
- z: number,
34
- w: number,
35
- }
124
+ static equals(a: Quaternion | PlainMessage<Quaternion> | undefined, b: Quaternion | PlainMessage<Quaternion> | undefined): boolean;
36
125
  }
37
126