@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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +93 -90
- package/dist/app/billing-client.d.ts +7 -8
- package/dist/app/billing-client.spec.d.ts +1 -0
- package/dist/app/data-client.d.ts +42 -50
- package/dist/app/data-client.spec.d.ts +1 -0
- package/dist/app/ml-training-client.d.ts +9 -14
- package/dist/app/ml-training-client.spec.d.ts +1 -0
- package/dist/app/provisioning-client.d.ts +7 -7
- package/dist/app/provisioning-client.spec.d.ts +1 -0
- package/dist/app/viam-client.d.ts +13 -15
- package/dist/app/viam-transport.d.ts +4 -12
- package/dist/components/arm/arm.d.ts +10 -8
- package/dist/components/arm/client.d.ts +6 -6
- package/dist/components/arm.d.ts +1 -1
- package/dist/components/base/base.d.ts +11 -10
- package/dist/components/base/client.d.ts +4 -5
- package/dist/components/base.d.ts +1 -1
- package/dist/components/board/board.d.ts +17 -21
- package/dist/components/board/client.d.ts +7 -8
- package/dist/components/board/client.spec.d.ts +1 -0
- package/dist/components/board.d.ts +1 -1
- package/dist/components/camera/camera.d.ts +2 -2
- package/dist/components/camera/client.d.ts +4 -5
- package/dist/components/encoder/client.d.ts +6 -7
- package/dist/components/encoder/encoder.d.ts +9 -10
- package/dist/components/encoder.d.ts +1 -2
- package/dist/components/gantry/client.d.ts +3 -3
- package/dist/components/gantry/gantry.d.ts +7 -6
- package/dist/components/generic/client.d.ts +3 -3
- package/dist/components/gripper/client.d.ts +3 -3
- package/dist/components/gripper/gripper.d.ts +5 -4
- package/dist/components/input-controller/client.d.ts +5 -6
- package/dist/components/input-controller/input-controller.d.ts +7 -5
- package/dist/components/inputcontroller.d.ts +1 -1
- package/dist/components/motor/client.d.ts +3 -3
- package/dist/components/motor/motor.d.ts +11 -10
- package/dist/components/movement-sensor/client.d.ts +11 -12
- package/dist/components/movement-sensor/client.spec.d.ts +1 -0
- package/dist/components/movement-sensor/movement-sensor.d.ts +16 -14
- package/dist/components/movementsensor.d.ts +1 -1
- package/dist/components/power-sensor/client.d.ts +4 -4
- package/dist/components/power-sensor/client.spec.d.ts +1 -0
- package/dist/components/power-sensor/power-sensor.d.ts +5 -5
- package/dist/components/sensor/client.d.ts +4 -4
- package/dist/components/sensor/sensor.d.ts +3 -2
- package/dist/components/servo/client.d.ts +5 -5
- package/dist/components/servo/servo.d.ts +5 -4
- package/dist/extra/stream/client.d.ts +0 -1
- package/dist/extra/stream/client.spec.d.ts +1 -0
- package/dist/gen/app/agent/v1/agent_connect.d.ts +28 -0
- package/dist/gen/app/agent/v1/agent_pb.d.ts +244 -153
- package/dist/gen/app/build/v1/build_connect.d.ts +129 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +668 -493
- package/dist/gen/app/cloudslam/v1/cloud_slam_connect.d.ts +71 -0
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb.d.ts +548 -420
- package/dist/gen/app/data/v1/data_connect.d.ts +252 -0
- package/dist/gen/app/data/v1/data_pb.d.ts +1672 -1331
- package/dist/gen/app/dataset/v1/dataset_connect.d.ts +74 -0
- package/dist/gen/app/dataset/v1/dataset_pb.d.ts +272 -213
- package/dist/gen/app/datasync/v1/data_sync_connect.d.ts +52 -0
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +457 -376
- package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +26 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
- package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +94 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +566 -429
- package/dist/gen/app/packages/v1/packages_connect.d.ts +64 -0
- package/dist/gen/app/packages/v1/packages_pb.d.ts +396 -336
- package/dist/gen/app/v1/app_connect.d.ts +788 -0
- package/dist/gen/app/v1/app_pb.d.ts +5593 -4578
- package/dist/gen/app/v1/billing_connect.d.ts +72 -0
- package/dist/gen/app/v1/billing_pb.d.ts +564 -394
- package/dist/gen/app/v1/end_user_connect.d.ts +73 -0
- package/dist/gen/app/v1/end_user_pb.d.ts +292 -244
- package/dist/gen/app/v1/robot_connect.d.ts +63 -0
- package/dist/gen/app/v1/robot_pb.d.ts +1608 -1289
- package/dist/gen/common/v1/common_pb.d.ts +886 -662
- package/dist/gen/component/arm/v1/arm_connect.d.ts +121 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +371 -294
- package/dist/gen/component/audioinput/v1/audioinput_connect.d.ts +78 -0
- package/dist/gen/component/audioinput/v1/audioinput_pb.d.ts +246 -189
- package/dist/gen/component/base/v1/base_connect.d.ts +122 -0
- package/dist/gen/component/base/v1/base_pb.d.ts +393 -307
- package/dist/gen/component/board/v1/board_connect.d.ts +161 -0
- package/dist/gen/component/board/v1/board_pb.d.ts +684 -535
- package/dist/gen/component/camera/v1/camera_connect.d.ts +99 -0
- package/dist/gen/component/camera/v1/camera_pb.d.ts +549 -399
- package/dist/gen/component/encoder/v1/encoder_connect.d.ts +71 -0
- package/dist/gen/component/encoder/v1/encoder_pb.d.ts +201 -144
- package/dist/gen/component/gantry/v1/gantry_connect.d.ts +108 -0
- package/dist/gen/component/gantry/v1/gantry_pb.d.ts +334 -279
- package/dist/gen/component/generic/v1/generic_connect.d.ts +41 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +86 -0
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +188 -160
- package/dist/gen/component/inputcontroller/v1/input_controller_connect.d.ts +87 -0
- package/dist/gen/component/inputcontroller/v1/input_controller_pb.d.ts +334 -264
- package/dist/gen/component/motor/v1/motor_connect.d.ts +162 -0
- package/dist/gen/component/motor/v1/motor_pb.d.ts +577 -432
- package/dist/gen/component/movementsensor/v1/movementsensor_connect.d.ts +121 -0
- package/dist/gen/component/movementsensor/v1/movementsensor_pb.d.ts +476 -379
- package/dist/gen/component/posetracker/v1/pose_tracker_connect.d.ts +53 -0
- package/dist/gen/component/posetracker/v1/pose_tracker_pb.d.ts +71 -53
- package/dist/gen/component/powersensor/v1/powersensor_connect.d.ts +75 -0
- package/dist/gen/component/powersensor/v1/powersensor_pb.d.ts +181 -136
- package/dist/gen/component/sensor/v1/sensor_connect.d.ts +52 -0
- package/dist/gen/component/servo/v1/servo_connect.d.ts +87 -0
- package/dist/gen/component/servo/v1/servo_pb.d.ts +228 -179
- package/dist/gen/component/testecho/v1/testecho_connect.d.ts +53 -0
- package/dist/gen/component/testecho/v1/testecho_pb.d.ts +186 -150
- package/dist/gen/google/api/annotations_pb.d.ts +26 -6
- package/dist/gen/google/api/client_pb.d.ts +895 -453
- package/dist/gen/google/api/expr/v1alpha1/checked_pb.d.ts +758 -438
- package/dist/gen/google/api/expr/v1alpha1/eval_pb.d.ts +236 -132
- package/dist/gen/google/api/expr/v1alpha1/explain_pb.d.ts +98 -54
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb.d.ts +943 -554
- package/dist/gen/google/api/expr/v1alpha1/value_pb.d.ts +274 -197
- package/dist/gen/google/api/expr/v1beta1/decl_pb.d.ts +200 -131
- package/dist/gen/google/api/expr/v1beta1/eval_pb.d.ts +262 -151
- package/dist/gen/google/api/expr/v1beta1/expr_pb.d.ts +614 -402
- package/dist/gen/google/api/expr/v1beta1/source_pb.d.ts +115 -56
- package/dist/gen/google/api/expr/v1beta1/value_pb.d.ts +275 -197
- package/dist/gen/google/api/field_behavior_pb.d.ts +139 -19
- package/dist/gen/google/api/field_info_pb.d.ts +169 -56
- package/dist/gen/google/api/http_pb.d.ts +480 -127
- package/dist/gen/google/api/httpbody_pb.d.ts +104 -35
- package/dist/gen/google/api/launch_stage_pb.d.ts +102 -16
- package/dist/gen/google/api/resource_pb.d.ts +334 -88
- package/dist/gen/google/api/visibility_pb.d.ts +157 -52
- package/dist/gen/google/bytestream/bytestream_connect.d.ts +124 -0
- package/dist/gen/google/bytestream/bytestream_pb.d.ts +241 -130
- package/dist/gen/google/geo/type/viewport_pb.d.ts +90 -31
- package/dist/gen/google/longrunning/operations_connect.d.ts +127 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +351 -202
- package/dist/gen/google/rpc/code_pb.d.ts +252 -25
- package/dist/gen/google/rpc/context/attribute_context_pb.d.ts +664 -352
- package/dist/gen/google/rpc/error_details_pb.d.ts +604 -311
- package/dist/gen/google/rpc/status_pb.d.ts +72 -33
- package/dist/gen/google/type/calendar_period_pb.d.ts +86 -16
- package/dist/gen/google/type/color_pb.d.ts +201 -37
- package/dist/gen/google/type/date_pb.d.ts +72 -25
- package/dist/gen/google/type/datetime_pb.d.ts +176 -83
- package/dist/gen/google/type/dayofweek_pb.d.ts +80 -16
- package/dist/gen/google/type/decimal_pb.d.ts +112 -22
- package/dist/gen/google/type/expr_pb.d.ts +97 -28
- package/dist/gen/google/type/fraction_pb.d.ts +55 -26
- package/dist/gen/google/type/interval_pb.d.ts +65 -31
- package/dist/gen/google/type/latlng_pb.d.ts +58 -26
- package/dist/gen/google/type/localized_text_pb.d.ts +57 -26
- package/dist/gen/google/type/money_pb.d.ts +62 -25
- package/dist/gen/google/type/month_pb.d.ts +115 -21
- package/dist/gen/google/type/phone_number_pb.d.ts +169 -64
- package/dist/gen/google/type/postal_address_pb.d.ts +178 -53
- package/dist/gen/google/type/quaternion_pb.d.ts +117 -28
- package/dist/gen/google/type/timeofday_pb.d.ts +67 -28
- package/dist/gen/proto/rpc/examples/echo/v1/echo_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb.d.ts +134 -108
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_connect.d.ts +44 -0
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb.d.ts +149 -119
- package/dist/gen/proto/rpc/v1/auth_connect.d.ts +69 -0
- package/dist/gen/proto/rpc/v1/auth_pb.d.ts +145 -101
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +349 -291
- package/dist/gen/proto/rpc/webrtc/v1/signaling_connect.d.ts +78 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +676 -529
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +63 -0
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +285 -231
- package/dist/gen/robot/v1/robot_connect.d.ts +239 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +1332 -1087
- package/dist/gen/service/datamanager/v1/data_manager_connect.d.ts +42 -0
- package/dist/gen/service/datamanager/v1/data_manager_pb.d.ts +52 -44
- package/dist/gen/service/generic/v1/generic_connect.d.ts +30 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_connect.d.ts +42 -0
- package/dist/gen/service/mlmodel/v1/mlmodel_pb.d.ts +620 -510
- package/dist/gen/service/motion/v1/motion_connect.d.ts +118 -0
- package/dist/gen/service/motion/v1/motion_pb.d.ts +1063 -795
- package/dist/gen/service/navigation/v1/navigation_connect.d.ts +115 -0
- package/dist/gen/service/navigation/v1/navigation_pb.d.ts +567 -435
- package/dist/gen/service/sensors/v1/sensors_connect.d.ts +58 -0
- package/dist/gen/service/sensors/v1/sensors_pb.d.ts +154 -120
- package/dist/gen/service/shell/v1/shell_connect.d.ts +78 -0
- package/dist/gen/service/shell/v1/shell_pb.d.ts +423 -309
- package/dist/gen/service/slam/v1/slam_connect.d.ts +81 -0
- package/dist/gen/service/slam/v1/slam_pb.d.ts +305 -204
- package/dist/gen/service/vision/v1/vision_connect.d.ts +108 -0
- package/dist/gen/service/vision/v1/vision_pb.d.ts +615 -471
- package/dist/gen/stream/v1/stream_connect.d.ts +56 -0
- package/dist/gen/stream/v1/stream_pb.d.ts +131 -97
- package/dist/gen/tagger/v1/tagger_pb.d.ts +17 -6
- package/dist/main.d.ts +81 -92
- package/dist/main.es.js +21120 -69216
- package/dist/main.umd.js +6 -13
- package/dist/robot/client.d.ts +990 -59
- package/dist/robot/dial.d.ts +2 -4
- package/dist/robot/grpc-connection-manager.d.ts +5 -7
- package/dist/robot/grpc-connection-manager.spec.d.ts +1 -0
- package/dist/robot/robot.d.ts +9 -10
- package/dist/robot/session-manager.d.ts +6 -8
- package/dist/robot/session-manager.spec.d.ts +1 -0
- package/dist/robot/session-transport.d.ts +8 -11
- package/dist/robot.d.ts +2 -2
- package/dist/rpc/base-channel.d.ts +2 -2
- package/dist/rpc/base-stream.d.ts +3 -6
- package/dist/rpc/client-channel.d.ts +5 -3
- package/dist/rpc/client-stream.d.ts +26 -12
- package/dist/rpc/dial.d.ts +49 -9
- package/dist/rpc/index.d.ts +3 -5
- package/dist/rpc/signaling-exchange.d.ts +33 -0
- package/dist/rpc/stream-client-stream.d.ts +16 -0
- package/dist/rpc/unary-client-stream.d.ts +13 -0
- package/dist/services/data-manager/client.d.ts +3 -3
- package/dist/services/data-manager/data-manager.d.ts +3 -2
- package/dist/services/generic/client.d.ts +3 -3
- package/dist/services/motion/client.d.ts +7 -8
- package/dist/services/motion/client.spec.d.ts +1 -0
- package/dist/services/motion/motion.d.ts +10 -9
- package/dist/services/motion/types.d.ts +12 -16
- package/dist/services/motion.d.ts +2 -2
- package/dist/services/navigation/client.d.ts +11 -12
- package/dist/services/navigation/client.spec.d.ts +1 -0
- package/dist/services/navigation/navigation.d.ts +11 -10
- package/dist/services/navigation/types.d.ts +8 -6
- package/dist/services/navigation.d.ts +2 -2
- package/dist/services/slam/client.d.ts +5 -6
- package/dist/services/slam/client.spec.d.ts +1 -0
- package/dist/services/slam/types.d.ts +4 -3
- package/dist/services/slam.d.ts +2 -2
- package/dist/services/vision/client.d.ts +13 -19
- package/dist/services/vision/types.d.ts +10 -7
- package/dist/services/vision/vision.d.ts +10 -9
- package/dist/services/vision.d.ts +2 -2
- package/dist/types.d.ts +21 -18
- package/dist/utils.d.ts +7 -37
- package/package.json +11 -8
- package/dist/gen/app/agent/v1/agent_pb_service.d.ts +0 -63
- package/dist/gen/app/build/v1/build_pb_service.d.ts +0 -226
- package/dist/gen/app/cloudslam/v1/cloud_slam_pb_service.d.ts +0 -158
- package/dist/gen/app/data/v1/data_pb_service.d.ts +0 -443
- package/dist/gen/app/dataset/v1/dataset_pb_service.d.ts +0 -139
- package/dist/gen/app/datasync/v1/data_sync_pb_service.d.ts +0 -85
- package/dist/gen/app/mltraining/v1/ml_training_pb_service.d.ts +0 -177
- package/dist/gen/app/packages/v1/packages_pb_service.d.ts +0 -112
- package/dist/gen/app/v1/app_pb_service.d.ts +0 -1415
- package/dist/gen/app/v1/billing_pb_service.d.ts +0 -131
- package/dist/gen/app/v1/end_user_pb_service.d.ts +0 -139
- package/dist/gen/app/v1/robot_pb_service.d.ts +0 -120
- package/dist/gen/common/v1/common_pb_service.d.ts +0 -3
- package/dist/gen/component/arm/v1/arm_pb_service.d.ts +0 -216
- package/dist/gen/component/audioinput/v1/audioinput_pb_service.d.ts +0 -133
- package/dist/gen/component/base/v1/base_pb_service.d.ts +0 -216
- package/dist/gen/component/board/v1/board_pb_service.d.ts +0 -284
- package/dist/gen/component/camera/v1/camera_pb_service.d.ts +0 -179
- package/dist/gen/component/encoder/v1/encoder_pb_service.d.ts +0 -140
- package/dist/gen/component/gantry/v1/gantry_pb_service.d.ts +0 -197
- package/dist/gen/component/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/component/generic/v1/generic_pb_service.d.ts +0 -83
- package/dist/gen/component/gripper/v1/gripper_pb_service.d.ts +0 -159
- package/dist/gen/component/inputcontroller/v1/input_controller_pb_service.d.ts +0 -151
- package/dist/gen/component/motor/v1/motor_pb_service.d.ts +0 -273
- package/dist/gen/component/movementsensor/v1/movementsensor_pb_service.d.ts +0 -254
- package/dist/gen/component/posetracker/v1/pose_tracker_pb_service.d.ts +0 -102
- package/dist/gen/component/powersensor/v1/powersensor_pb_service.d.ts +0 -140
- package/dist/gen/component/sensor/v1/sensor_pb.d.ts +0 -7
- package/dist/gen/component/sensor/v1/sensor_pb_service.d.ts +0 -102
- package/dist/gen/component/servo/v1/servo_pb_service.d.ts +0 -159
- package/dist/gen/component/testecho/v1/testecho_pb_service.d.ts +0 -104
- package/dist/gen/google/api/annotations_pb_service.d.ts +0 -3
- package/dist/gen/google/api/client_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/checked_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/explain_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/syntax_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1alpha1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/decl_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/eval_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/source_pb_service.d.ts +0 -3
- package/dist/gen/google/api/expr/v1beta1/value_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_behavior_pb_service.d.ts +0 -3
- package/dist/gen/google/api/field_info_pb_service.d.ts +0 -3
- package/dist/gen/google/api/http_pb_service.d.ts +0 -3
- package/dist/gen/google/api/httpbody_pb_service.d.ts +0 -3
- package/dist/gen/google/api/launch_stage_pb_service.d.ts +0 -3
- package/dist/gen/google/api/resource_pb_service.d.ts +0 -3
- package/dist/gen/google/api/visibility_pb_service.d.ts +0 -3
- package/dist/gen/google/bytestream/bytestream_pb_service.d.ts +0 -85
- package/dist/gen/google/geo/type/viewport_pb_service.d.ts +0 -3
- package/dist/gen/google/longrunning/operations_pb_service.d.ts +0 -140
- package/dist/gen/google/rpc/code_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/context/attribute_context_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/error_details_pb_service.d.ts +0 -3
- package/dist/gen/google/rpc/status_pb_service.d.ts +0 -3
- package/dist/gen/google/type/calendar_period_pb_service.d.ts +0 -3
- package/dist/gen/google/type/color_pb_service.d.ts +0 -3
- package/dist/gen/google/type/date_pb_service.d.ts +0 -3
- package/dist/gen/google/type/datetime_pb_service.d.ts +0 -3
- package/dist/gen/google/type/dayofweek_pb_service.d.ts +0 -3
- package/dist/gen/google/type/decimal_pb_service.d.ts +0 -3
- package/dist/gen/google/type/expr_pb_service.d.ts +0 -3
- package/dist/gen/google/type/fraction_pb_service.d.ts +0 -3
- package/dist/gen/google/type/interval_pb_service.d.ts +0 -3
- package/dist/gen/google/type/latlng_pb_service.d.ts +0 -3
- package/dist/gen/google/type/localized_text_pb_service.d.ts +0 -3
- package/dist/gen/google/type/money_pb_service.d.ts +0 -3
- package/dist/gen/google/type/month_pb_service.d.ts +0 -3
- package/dist/gen/google/type/phone_number_pb_service.d.ts +0 -3
- package/dist/gen/google/type/postal_address_pb_service.d.ts +0 -3
- package/dist/gen/google/type/quaternion_pb_service.d.ts +0 -3
- package/dist/gen/google/type/timeofday_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/examples/echo/v1/echo_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/echoresource/v1/echoresource_pb_service.d.ts +0 -85
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -66
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb_service.d.ts +0 -55
- package/dist/gen/proto/rpc/v1/auth_pb_service.d.ts +0 -92
- package/dist/gen/proto/rpc/webrtc/v1/grpc_pb_service.d.ts +0 -3
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb_service.d.ts +0 -104
- package/dist/gen/provisioning/v1/provisioning_pb_service.d.ts +0 -120
- package/dist/gen/robot/v1/robot_pb_service.d.ts +0 -435
- package/dist/gen/service/datamanager/v1/data_manager_pb_service.d.ts +0 -83
- package/dist/gen/service/generic/v1/generic_pb.d.ts +0 -7
- package/dist/gen/service/generic/v1/generic_pb_service.d.ts +0 -64
- package/dist/gen/service/mlmodel/v1/mlmodel_pb_service.d.ts +0 -82
- package/dist/gen/service/motion/v1/motion_pb_service.d.ts +0 -197
- package/dist/gen/service/navigation/v1/navigation_pb_service.d.ts +0 -235
- package/dist/gen/service/sensors/v1/sensors_pb_service.d.ts +0 -102
- package/dist/gen/service/shell/v1/shell_pb_service.d.ts +0 -97
- package/dist/gen/service/slam/v1/slam_pb_service.d.ts +0 -124
- package/dist/gen/service/vision/v1/vision_pb_service.d.ts +0 -197
- package/dist/gen/stream/v1/stream_pb_service.d.ts +0 -101
- package/dist/gen/tagger/v1/tagger_pb_service.d.ts +0 -3
- package/dist/responses.d.ts +0 -8
- package/dist/rpc/grpc-error.d.ts +0 -6
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.348";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { type
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import type { FragmentVisibilityMap } from '../gen/app/v1/app_pb';
|
|
1
|
+
import type { Struct } from '@bufbuild/protobuf';
|
|
2
|
+
import { type Transport } from '@connectrpc/connect';
|
|
3
|
+
import { PackageType } from '../gen/app/packages/v1/packages_pb';
|
|
4
|
+
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetRobotPartLogsResponse, GetRobotPartResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
|
|
5
|
+
import type { LogEntry } from '../gen/common/v1/common_pb';
|
|
7
6
|
/**
|
|
8
7
|
* Creates an Authorization object from auth details.
|
|
9
8
|
*
|
|
10
|
-
* @param
|
|
9
|
+
* @param organizationId The ID of the organization to create the role under
|
|
11
10
|
* @param entityId The ID of the entity the role belongs to (e.g., a user ID)
|
|
12
11
|
* @param role The role to add ("owner" or "operator")
|
|
13
12
|
* @param resourceType The type of resource to create the role for ("robot",
|
|
@@ -16,17 +15,17 @@ import type { FragmentVisibilityMap } from '../gen/app/v1/app_pb';
|
|
|
16
15
|
* api-key)
|
|
17
16
|
* @param resourceId The ID of the resource the role is being created for
|
|
18
17
|
*/
|
|
19
|
-
export declare const createAuth: (
|
|
18
|
+
export declare const createAuth: (organizationId: string, entityId: string, role: string, resourceType: string, identityType: string, resourceId: string) => Authorization;
|
|
20
19
|
/**
|
|
21
20
|
* Creates an Authorization object specifically for a new API key.
|
|
22
21
|
*
|
|
23
|
-
* @param
|
|
22
|
+
* @param organizationId The ID of the organization to create the role under
|
|
24
23
|
* @param role The role to add ("owner" or "operator")
|
|
25
24
|
* @param resourceType The type of resource to create the role for ("robot",
|
|
26
25
|
* "location", or "organization")
|
|
27
26
|
* @param resourceId The ID of the resource the role is being created for
|
|
28
27
|
*/
|
|
29
|
-
export declare const createAuthForNewAPIKey: (
|
|
28
|
+
export declare const createAuthForNewAPIKey: (organizationId: string, role: string, resourceType: string, resourceId: string) => Authorization;
|
|
30
29
|
/**
|
|
31
30
|
* Creates a new AuthorizedPermissions object
|
|
32
31
|
*
|
|
@@ -35,10 +34,10 @@ export declare const createAuthForNewAPIKey: (orgId: string, role: string, resou
|
|
|
35
34
|
* @param permissions A list of permissions to check
|
|
36
35
|
* @returns The AuthorizedPermissions object
|
|
37
36
|
*/
|
|
38
|
-
export declare const createPermission: (resourceType: string, resourceId: string, permissions: string[]) =>
|
|
37
|
+
export declare const createPermission: (resourceType: string, resourceId: string, permissions: string[]) => AuthorizedPermissions;
|
|
39
38
|
export declare class AppClient {
|
|
40
|
-
private
|
|
41
|
-
constructor(
|
|
39
|
+
private client;
|
|
40
|
+
constructor(transport: Transport);
|
|
42
41
|
/**
|
|
43
42
|
* Obain a user's ID from their email address.
|
|
44
43
|
*
|
|
@@ -52,34 +51,34 @@ export declare class AppClient {
|
|
|
52
51
|
* @param name The name of the new organization
|
|
53
52
|
* @returns The new organization
|
|
54
53
|
*/
|
|
55
|
-
createOrganization(name: string): Promise<
|
|
54
|
+
createOrganization(name: string): Promise<Organization | undefined>;
|
|
56
55
|
/**
|
|
57
56
|
* List all organizations.
|
|
58
57
|
*
|
|
59
58
|
* @returns The organization list
|
|
60
59
|
*/
|
|
61
|
-
listOrganizations(): Promise<
|
|
60
|
+
listOrganizations(): Promise<Organization[]>;
|
|
62
61
|
/**
|
|
63
62
|
* List all organizations with access to a particular location.
|
|
64
63
|
*
|
|
65
64
|
* @param locationId The ID of the location to query
|
|
66
65
|
* @returns The list of locations with access to the requested location
|
|
67
66
|
*/
|
|
68
|
-
getOrganizationsWithAccessToLocation(locationId: string): Promise<
|
|
67
|
+
getOrganizationsWithAccessToLocation(locationId: string): Promise<OrganizationIdentity[]>;
|
|
69
68
|
/**
|
|
70
69
|
* List all organizations associated with a user.
|
|
71
70
|
*
|
|
72
71
|
* @param userId The ID of the user to query
|
|
73
72
|
* @returns The list of locations the requested user has access to
|
|
74
73
|
*/
|
|
75
|
-
listOrganizationsByUser(userId: string): Promise<
|
|
74
|
+
listOrganizationsByUser(userId: string): Promise<OrgDetails[]>;
|
|
76
75
|
/**
|
|
77
76
|
* Get details about an organization.
|
|
78
77
|
*
|
|
79
|
-
* @param
|
|
78
|
+
* @param organizationId The ID of the organization
|
|
80
79
|
* @returns Details about the organization, if it exists
|
|
81
80
|
*/
|
|
82
|
-
getOrganization(
|
|
81
|
+
getOrganization(organizationId: string): Promise<Organization | undefined>;
|
|
83
82
|
/**
|
|
84
83
|
* Find out if an organization namespace is available.
|
|
85
84
|
*
|
|
@@ -90,88 +89,89 @@ export declare class AppClient {
|
|
|
90
89
|
/**
|
|
91
90
|
* Updates organization details.
|
|
92
91
|
*
|
|
93
|
-
* @param
|
|
92
|
+
* @param organizationId The id of the organization to update
|
|
94
93
|
* @param name Optional name to update the organization with
|
|
95
94
|
* @param publicNamespace Optional namespace to update the organization with
|
|
96
95
|
* @param region Optional region to update the organization with
|
|
97
96
|
* @param cid Optional CRM ID to update the organization with
|
|
98
97
|
* @returns The updated organization details
|
|
99
98
|
*/
|
|
100
|
-
updateOrganization(
|
|
99
|
+
updateOrganization(organizationId: string, name?: string, publicNamespace?: string, region?: string, cid?: string): Promise<Organization | undefined>;
|
|
101
100
|
/**
|
|
102
101
|
* Deletes an organization.
|
|
103
102
|
*
|
|
104
|
-
* @param
|
|
103
|
+
* @param organizationId The id of the organization to delete
|
|
105
104
|
*/
|
|
106
|
-
deleteOrganization(
|
|
105
|
+
deleteOrganization(organizationId: string): Promise<void>;
|
|
107
106
|
/**
|
|
108
107
|
* Lists organization memebers and outstanding invites.
|
|
109
108
|
*
|
|
110
|
-
* @param
|
|
109
|
+
* @param organizationId The id of the organization to query
|
|
111
110
|
* @returns An object containing organization members, pending invites, and
|
|
112
111
|
* org ID
|
|
113
112
|
*/
|
|
114
|
-
listOrganizationMembers(
|
|
113
|
+
listOrganizationMembers(organizationId: string): Promise<ListOrganizationMembersResponse>;
|
|
115
114
|
/**
|
|
116
115
|
* Creates a new invitation to join an organization.
|
|
117
116
|
*
|
|
118
|
-
* @param
|
|
117
|
+
* @param organizationId The id of the organization to create the invite for
|
|
119
118
|
* @param email The email address of the user to generate an invite for
|
|
120
119
|
* @param authorizations The authorizations to associate with the new invite
|
|
121
120
|
* @param sendEmailInvite Bool of whether to send an email invite (true) or
|
|
122
121
|
* automatically add a user. Defaults to true
|
|
123
122
|
* @returns The organization invite
|
|
124
123
|
*/
|
|
125
|
-
createOrganizationInvite(
|
|
124
|
+
createOrganizationInvite(organizationId: string, email: string, authorizations: Authorization[], sendEmailInvite?: boolean): Promise<OrganizationInvite | undefined>;
|
|
126
125
|
/**
|
|
127
126
|
* Updates authorizations for an existing org invite.
|
|
128
127
|
*
|
|
129
|
-
* @param
|
|
128
|
+
* @param organizationId The id of the organization
|
|
130
129
|
* @param email The email address associated with the invite
|
|
131
130
|
* @param addAuthsList List of authorizations to add to the invite
|
|
132
131
|
* @param removeAuthsList List of authorizations to remove from the invite
|
|
133
132
|
* @returns The organization invite
|
|
134
133
|
*/
|
|
135
|
-
updateOrganizationInviteAuthorizations(
|
|
134
|
+
updateOrganizationInviteAuthorizations(organizationId: string, email: string, addAuthsList: Authorization[], removeAuthsList: Authorization[]): Promise<OrganizationInvite | undefined>;
|
|
136
135
|
/**
|
|
137
136
|
* Removes a member from an organization.
|
|
138
137
|
*
|
|
139
|
-
* @param
|
|
138
|
+
* @param organizationId The ID of the organization
|
|
140
139
|
* @param userId The ID of the user
|
|
141
140
|
*/
|
|
142
|
-
deleteOrganizationMember(
|
|
141
|
+
deleteOrganizationMember(organizationId: string, userId: string): Promise<void>;
|
|
143
142
|
/**
|
|
144
143
|
* Deletes a pending organization invite.
|
|
145
144
|
*
|
|
146
|
-
* @param
|
|
145
|
+
* @param organizationId The ID of the organization
|
|
147
146
|
* @param email The email associated with the invite to delete
|
|
148
147
|
*/
|
|
149
|
-
deleteOrganizationInvite(
|
|
148
|
+
deleteOrganizationInvite(organizationId: string, email: string): Promise<void>;
|
|
150
149
|
/**
|
|
151
150
|
* Resends a pending organization invite.
|
|
152
151
|
*
|
|
153
|
-
* @param
|
|
152
|
+
* @param organizationId The ID of the organization
|
|
154
153
|
* @param email The email associated with the invite to resend
|
|
155
154
|
* @returns The invite
|
|
156
155
|
*/
|
|
157
|
-
resendOrganizationInvite(
|
|
156
|
+
resendOrganizationInvite(organizationId: string, email: string): Promise<OrganizationInvite | undefined>;
|
|
158
157
|
/**
|
|
159
158
|
* Creates a new location.
|
|
160
159
|
*
|
|
161
|
-
* @param
|
|
160
|
+
* @param organizationId The ID of the organization to create the location
|
|
161
|
+
* under
|
|
162
162
|
* @param name The name of the location to create
|
|
163
163
|
* @param parentLocationId Optional name of a parent location to create the
|
|
164
164
|
* new location under
|
|
165
165
|
* @returns The location object
|
|
166
166
|
*/
|
|
167
|
-
createLocation(
|
|
167
|
+
createLocation(organizationId: string, name: string, parentLocationId?: string): Promise<Location | undefined>;
|
|
168
168
|
/**
|
|
169
169
|
* Looks up a location.
|
|
170
170
|
*
|
|
171
171
|
* @param locId The ID of the location to query.
|
|
172
172
|
* @returns The location object
|
|
173
173
|
*/
|
|
174
|
-
getLocation(locId: string): Promise<
|
|
174
|
+
getLocation(locId: string): Promise<Location | undefined>;
|
|
175
175
|
/**
|
|
176
176
|
* Updates location details.
|
|
177
177
|
*
|
|
@@ -182,7 +182,7 @@ export declare class AppClient {
|
|
|
182
182
|
* @param region Optional string to update the location's region to
|
|
183
183
|
* @returns The location object
|
|
184
184
|
*/
|
|
185
|
-
updateLocation(locId: string, name?: string, parentLocId?: string, region?: string): Promise<
|
|
185
|
+
updateLocation(locId: string, name?: string, parentLocId?: string, region?: string): Promise<Location | undefined>;
|
|
186
186
|
/**
|
|
187
187
|
* Deletes a location
|
|
188
188
|
*
|
|
@@ -192,38 +192,38 @@ export declare class AppClient {
|
|
|
192
192
|
/**
|
|
193
193
|
* Lists all locations under an organization.
|
|
194
194
|
*
|
|
195
|
-
* @param
|
|
195
|
+
* @param organizationId The ID of the organization to query
|
|
196
196
|
* @returns A list of locations under the organization
|
|
197
197
|
*/
|
|
198
|
-
listLocations(
|
|
198
|
+
listLocations(organizationId: string): Promise<Location[]>;
|
|
199
199
|
/**
|
|
200
200
|
* Shares a location with another organization
|
|
201
201
|
*
|
|
202
|
-
* @param
|
|
202
|
+
* @param organizationId The ID of the organization to share with
|
|
203
203
|
* @param locId The ID of the location to share
|
|
204
204
|
*/
|
|
205
|
-
shareLocation(
|
|
205
|
+
shareLocation(organizationId: string, locId: string): Promise<void>;
|
|
206
206
|
/**
|
|
207
207
|
* Unshares a location with an organization
|
|
208
208
|
*
|
|
209
|
-
* @param
|
|
209
|
+
* @param organizationId The ID of the organization to unshare with
|
|
210
210
|
* @param locId The ID of the location to unshare
|
|
211
211
|
*/
|
|
212
|
-
unshareLocation(
|
|
212
|
+
unshareLocation(organizationId: string, locId: string): Promise<void>;
|
|
213
213
|
/**
|
|
214
214
|
* Get a location's `LocationAuth` (location secret(s)).
|
|
215
215
|
*
|
|
216
216
|
* @param locId The ID of the location to retrieve `LocationAuth` from.
|
|
217
217
|
* @returns The `LocationAuth` for the requested location.
|
|
218
218
|
*/
|
|
219
|
-
locationAuth(locId: string): Promise<
|
|
219
|
+
locationAuth(locId: string): Promise<LocationAuth | undefined>;
|
|
220
220
|
/**
|
|
221
221
|
* Create a location secret (`LocationAuth`).
|
|
222
222
|
*
|
|
223
223
|
* @param locId The ID of the location to create a `LocationAuth` for
|
|
224
224
|
* @returns The newly created `LocationAuth`
|
|
225
225
|
*/
|
|
226
|
-
createLocationSecret(locId: string): Promise<
|
|
226
|
+
createLocationSecret(locId: string): Promise<LocationAuth | undefined>;
|
|
227
227
|
/**
|
|
228
228
|
* Deletes a location secret (`LocationAuth`).
|
|
229
229
|
*
|
|
@@ -237,28 +237,28 @@ export declare class AppClient {
|
|
|
237
237
|
* @param id The ID of the robot
|
|
238
238
|
* @returns The `Robot` object
|
|
239
239
|
*/
|
|
240
|
-
getRobot(id: string): Promise<
|
|
240
|
+
getRobot(id: string): Promise<Robot | undefined>;
|
|
241
241
|
/**
|
|
242
242
|
* Returns a list of rover rental robots for an organization.
|
|
243
243
|
*
|
|
244
244
|
* @param orgId The ID of the organization to query
|
|
245
245
|
* @returns The list of `RoverRentalRobot` objects
|
|
246
246
|
*/
|
|
247
|
-
getRoverRentalRobots(orgId: string): Promise<
|
|
247
|
+
getRoverRentalRobots(orgId: string): Promise<RoverRentalRobot[]>;
|
|
248
248
|
/**
|
|
249
249
|
* Returns a list of parts for a given robot
|
|
250
250
|
*
|
|
251
251
|
* @param robotId The ID of the robot to query
|
|
252
252
|
* @returns The list of `RobotPart` objects associated with the robot
|
|
253
253
|
*/
|
|
254
|
-
getRobotParts(robotId: string): Promise<
|
|
254
|
+
getRobotParts(robotId: string): Promise<RobotPart[]>;
|
|
255
255
|
/**
|
|
256
256
|
* Queries a specific robot part by ID.
|
|
257
257
|
*
|
|
258
258
|
* @param id The ID of the requested robot part
|
|
259
259
|
* @returns The robot part and a its json config
|
|
260
260
|
*/
|
|
261
|
-
getRobotPart(id: string): Promise<
|
|
261
|
+
getRobotPart(id: string): Promise<GetRobotPartResponse>;
|
|
262
262
|
/**
|
|
263
263
|
* Get a page of log entries for a specific robot part. Logs are sorted by
|
|
264
264
|
* descending time (newest first).
|
|
@@ -272,7 +272,7 @@ export declare class AppClient {
|
|
|
272
272
|
* @returns The robot requested logs and the page token for the next page of
|
|
273
273
|
* logs
|
|
274
274
|
*/
|
|
275
|
-
getRobotPartLogs(id: string, filter?: string, levels?: string[], pageToken?: string): Promise<
|
|
275
|
+
getRobotPartLogs(id: string, filter?: string, levels?: string[], pageToken?: string): Promise<GetRobotPartLogsResponse>;
|
|
276
276
|
/**
|
|
277
277
|
* Get a stream of log entries for a specific robot part. Logs are sorted by
|
|
278
278
|
* descending time (newest first).
|
|
@@ -283,14 +283,14 @@ export declare class AppClient {
|
|
|
283
283
|
* @param errorsOnly Optional bool to indicate whether or not only error-level
|
|
284
284
|
* logs should be returned. Defaults to true
|
|
285
285
|
*/
|
|
286
|
-
tailRobotPartLogs(id: string, queue: LogEntry
|
|
286
|
+
tailRobotPartLogs(id: string, queue: LogEntry[], filter?: string, errorsOnly?: boolean): Promise<void>;
|
|
287
287
|
/**
|
|
288
288
|
* Get a list containing the history of a robot part.
|
|
289
289
|
*
|
|
290
290
|
* @param id The ID of the requested robot part
|
|
291
291
|
* @returns The list of the robot part's history
|
|
292
292
|
*/
|
|
293
|
-
getRobotPartHistory(id: string): Promise<
|
|
293
|
+
getRobotPartHistory(id: string): Promise<RobotPartHistoryEntry[]>;
|
|
294
294
|
/**
|
|
295
295
|
* Updates a robot part based on its ID.
|
|
296
296
|
*
|
|
@@ -299,7 +299,7 @@ export declare class AppClient {
|
|
|
299
299
|
* @param robotConfig The new config for the robot part
|
|
300
300
|
* @returns The updated robot part
|
|
301
301
|
*/
|
|
302
|
-
updateRobotPart(id: string, name: string, robotConfig:
|
|
302
|
+
updateRobotPart(id: string, name: string, robotConfig: Struct): Promise<RobotPart | undefined>;
|
|
303
303
|
/**
|
|
304
304
|
* Creates a new robot part.
|
|
305
305
|
*
|
|
@@ -320,7 +320,7 @@ export declare class AppClient {
|
|
|
320
320
|
* @param robotId The ID of the robot to get API keys for
|
|
321
321
|
* @returns A list of the robot's API keys
|
|
322
322
|
*/
|
|
323
|
-
getRobotAPIKeys(robotId: string): Promise<
|
|
323
|
+
getRobotAPIKeys(robotId: string): Promise<APIKeyWithAuthorizations[]>;
|
|
324
324
|
/**
|
|
325
325
|
* Marks a robot part as the main part.
|
|
326
326
|
*
|
|
@@ -339,7 +339,7 @@ export declare class AppClient {
|
|
|
339
339
|
* @param partId The ID of the part to create a secret for
|
|
340
340
|
* @returns The robot part object
|
|
341
341
|
*/
|
|
342
|
-
createRobotPartSecret(partId: string): Promise<
|
|
342
|
+
createRobotPartSecret(partId: string): Promise<RobotPart | undefined>;
|
|
343
343
|
/**
|
|
344
344
|
* Deletes a robot secret from a robot part.
|
|
345
345
|
*
|
|
@@ -353,7 +353,7 @@ export declare class AppClient {
|
|
|
353
353
|
* @param locId The ID of the location to list robots for
|
|
354
354
|
* @returns The list of robot objects
|
|
355
355
|
*/
|
|
356
|
-
listRobots(locId: string): Promise<
|
|
356
|
+
listRobots(locId: string): Promise<Robot[]>;
|
|
357
357
|
/**
|
|
358
358
|
* Creates a new robot.
|
|
359
359
|
*
|
|
@@ -370,7 +370,7 @@ export declare class AppClient {
|
|
|
370
370
|
* @param name The name to update the robot to
|
|
371
371
|
* @returns The newly-modified robot object
|
|
372
372
|
*/
|
|
373
|
-
updateRobot(robotId: string, locId: string, name: string): Promise<
|
|
373
|
+
updateRobot(robotId: string, locId: string, name: string): Promise<Robot | undefined>;
|
|
374
374
|
/**
|
|
375
375
|
* Deletes a robot.
|
|
376
376
|
*
|
|
@@ -380,7 +380,7 @@ export declare class AppClient {
|
|
|
380
380
|
/**
|
|
381
381
|
* Lists all fragments within an organization.
|
|
382
382
|
*
|
|
383
|
-
* @param
|
|
383
|
+
* @param organizationId The ID of the organization to list fragments for
|
|
384
384
|
* @param publicOnly Optional, deprecated boolean. Use fragmentVisibilities
|
|
385
385
|
* instead. If true then only public fragments will be listed. Defaults to
|
|
386
386
|
* true
|
|
@@ -391,23 +391,24 @@ export declare class AppClient {
|
|
|
391
391
|
* visibilities and takes precendence over the publicOnly field
|
|
392
392
|
* @returns The list of fragment objects
|
|
393
393
|
*/
|
|
394
|
-
listFragments(
|
|
394
|
+
listFragments(organizationId: string, publicOnly?: boolean, fragmentVisibility?: FragmentVisibility[]): Promise<Fragment[]>;
|
|
395
395
|
/**
|
|
396
396
|
* Looks up a fragment by ID.
|
|
397
397
|
*
|
|
398
398
|
* @param id The ID of the fragment to look up
|
|
399
399
|
* @returns The requested fragment
|
|
400
400
|
*/
|
|
401
|
-
getFragment(id: string): Promise<
|
|
401
|
+
getFragment(id: string): Promise<Fragment | undefined>;
|
|
402
402
|
/**
|
|
403
403
|
* Creates a new fragment.
|
|
404
404
|
*
|
|
405
|
-
* @param
|
|
405
|
+
* @param organizationId The ID of the organization to create the fragment
|
|
406
|
+
* under
|
|
406
407
|
* @param name The name of the new fragment
|
|
407
408
|
* @param config The new fragment's config
|
|
408
409
|
* @returns The newly created fragment
|
|
409
410
|
*/
|
|
410
|
-
createFragment(
|
|
411
|
+
createFragment(organizationId: string, name: string, config: Struct): Promise<Fragment | undefined>;
|
|
411
412
|
/**
|
|
412
413
|
* Updates an existing fragment.
|
|
413
414
|
*
|
|
@@ -424,7 +425,7 @@ export declare class AppClient {
|
|
|
424
425
|
* neither is set, the fragment visibility will remain unchanged.
|
|
425
426
|
* @returns The updated fragment
|
|
426
427
|
*/
|
|
427
|
-
updateFragment(id: string, name: string, config:
|
|
428
|
+
updateFragment(id: string, name: string, config: Struct, makePublic?: boolean, visibility?: FragmentVisibility): Promise<Fragment | undefined>;
|
|
428
429
|
/**
|
|
429
430
|
* Deletes a fragment.
|
|
430
431
|
*
|
|
@@ -434,63 +435,64 @@ export declare class AppClient {
|
|
|
434
435
|
/**
|
|
435
436
|
* Add a role under an organization.
|
|
436
437
|
*
|
|
437
|
-
* @param
|
|
438
|
+
* @param organizationId The ID of the organization to create the role under
|
|
438
439
|
* @param entityId The ID of the entity the role belongs to (e.g., a user ID)
|
|
439
440
|
* @param role The role to add ("owner" or "operator")
|
|
440
441
|
* @param resourceType The type of resource to create the role for ("robot",
|
|
441
442
|
* "location", or "organization")
|
|
442
443
|
* @param resourceId The ID of the resource the role is being created for
|
|
443
444
|
*/
|
|
444
|
-
addRole(
|
|
445
|
+
addRole(organizationId: string, entityId: string, role: string, resourceType: string, resourceId: string): Promise<void>;
|
|
445
446
|
/**
|
|
446
447
|
* Removes a role from an organization.
|
|
447
448
|
*
|
|
448
|
-
* @param
|
|
449
|
+
* @param organizationId The ID of the organization to remove the role from
|
|
449
450
|
* @param entityId The ID of the entity the role belongs to (e.g., a user ID)
|
|
450
451
|
* @param role The role to remove ("owner" or "operator")
|
|
451
452
|
* @param resourceType The type of resource to remove the role from ("robot",
|
|
452
453
|
* "location", or "organization")
|
|
453
454
|
* @param resourceId The ID of the resource the role is being removes from
|
|
454
455
|
*/
|
|
455
|
-
removeRole(
|
|
456
|
+
removeRole(organizationId: string, entityId: string, role: string, resourceType: string, resourceId: string): Promise<void>;
|
|
456
457
|
/**
|
|
457
458
|
* Changes an existing role.
|
|
458
459
|
*
|
|
459
460
|
* @param oldAuth The existing authorization
|
|
460
461
|
* @param newAuth The new authorization
|
|
461
462
|
*/
|
|
462
|
-
changeRole(
|
|
463
|
+
changeRole(oldAuthorization: Authorization, newAuthorization: Authorization): Promise<void>;
|
|
463
464
|
/**
|
|
464
465
|
* List all authorizations for an organization.
|
|
465
466
|
*
|
|
466
|
-
* @param
|
|
467
|
+
* @param organizationId The ID of the organization to list authorizations for
|
|
467
468
|
* @param resourceIds Optional list of IDs of resources to list authorizations
|
|
468
469
|
* for. If not provided, all resources will be included
|
|
469
470
|
* @returns The list of authorizations
|
|
470
471
|
*/
|
|
471
|
-
listAuthorizations(
|
|
472
|
+
listAuthorizations(organizationId: string, resourceIds?: string[]): Promise<Authorization[]>;
|
|
472
473
|
/**
|
|
473
474
|
* Checks whether requested permissions exist.
|
|
474
475
|
*
|
|
475
476
|
* @param permissions A list of permissions to check
|
|
476
477
|
* @returns A filtered list of the authorized permissions
|
|
477
478
|
*/
|
|
478
|
-
checkPermissions(permissions:
|
|
479
|
+
checkPermissions(permissions: AuthorizedPermissions[]): Promise<AuthorizedPermissions[]>;
|
|
479
480
|
/**
|
|
480
481
|
* Get an item from the registry.
|
|
481
482
|
*
|
|
482
483
|
* @param itemId The ID of the item to get
|
|
483
484
|
* @returns The requested item
|
|
484
485
|
*/
|
|
485
|
-
getRegistryItem(itemId: string): Promise<
|
|
486
|
+
getRegistryItem(itemId: string): Promise<RegistryItem | undefined>;
|
|
486
487
|
/**
|
|
487
488
|
* Create a new registry item.
|
|
488
489
|
*
|
|
489
|
-
* @param
|
|
490
|
+
* @param organizationId The ID of the organization to create the registry
|
|
491
|
+
* item under
|
|
490
492
|
* @param name The name of the registry item
|
|
491
493
|
* @param type The type of the item in the registry.
|
|
492
494
|
*/
|
|
493
|
-
createRegistryItem(
|
|
495
|
+
createRegistryItem(organizationId: string, name: string, type: PackageType): Promise<void>;
|
|
494
496
|
/**
|
|
495
497
|
* Update an existing registry item.
|
|
496
498
|
*
|
|
@@ -499,11 +501,12 @@ export declare class AppClient {
|
|
|
499
501
|
* @param description A description of the item
|
|
500
502
|
* @param visibility A visibility value to update to
|
|
501
503
|
*/
|
|
502
|
-
updateRegistryItem(itemId: string, type:
|
|
504
|
+
updateRegistryItem(itemId: string, type: PackageType, description: string, visibility: Visibility): Promise<void>;
|
|
503
505
|
/**
|
|
504
506
|
* List all registry items for an organization.
|
|
505
507
|
*
|
|
506
|
-
* @param
|
|
508
|
+
* @param organizationId The ID of the organization to query registry items
|
|
509
|
+
* for
|
|
507
510
|
* @param types A list of types to query. If empty, will not filter on type
|
|
508
511
|
* @param visibilities A list of visibilities to query for. If empty, will not
|
|
509
512
|
* filter on visibility
|
|
@@ -516,7 +519,7 @@ export declare class AppClient {
|
|
|
516
519
|
* return all results
|
|
517
520
|
* @returns The list of registry items
|
|
518
521
|
*/
|
|
519
|
-
listRegistryItems(
|
|
522
|
+
listRegistryItems(organizationId: string, types: PackageType[], visibilities: Visibility[], platforms: string[], statuses: RegistryItemStatus[], searchTerm?: string, pageToken?: string): Promise<RegistryItem[]>;
|
|
520
523
|
/**
|
|
521
524
|
* Deletes a registry item.
|
|
522
525
|
*
|
|
@@ -526,11 +529,11 @@ export declare class AppClient {
|
|
|
526
529
|
/**
|
|
527
530
|
* Creates a new module.
|
|
528
531
|
*
|
|
529
|
-
* @param
|
|
532
|
+
* @param organizationId The ID of the organization to create the module under
|
|
530
533
|
* @param name The name of the module
|
|
531
534
|
* @returns The module ID and a URL to its detail page
|
|
532
535
|
*/
|
|
533
|
-
createModule(
|
|
536
|
+
createModule(organizationId: string, name: string): Promise<CreateModuleResponse>;
|
|
534
537
|
/**
|
|
535
538
|
* Updates an existing module.
|
|
536
539
|
*
|
|
@@ -542,21 +545,21 @@ export declare class AppClient {
|
|
|
542
545
|
* @param entrypoint The executable to run to start the module program
|
|
543
546
|
* @returns The module URL
|
|
544
547
|
*/
|
|
545
|
-
updateModule(moduleId: string, visibility:
|
|
548
|
+
updateModule(moduleId: string, visibility: Visibility, url: string, description: string, models: Model[], entrypoint: string): Promise<string>;
|
|
546
549
|
/**
|
|
547
550
|
* Looks up a particular module.
|
|
548
551
|
*
|
|
549
552
|
* @param moduleId The ID of the module
|
|
550
553
|
* @returns The requested module
|
|
551
554
|
*/
|
|
552
|
-
getModule(moduleId: string): Promise<
|
|
555
|
+
getModule(moduleId: string): Promise<Module | undefined>;
|
|
553
556
|
/**
|
|
554
557
|
* Lists all modules for an organization.
|
|
555
558
|
*
|
|
556
|
-
* @param
|
|
559
|
+
* @param organizationId The ID of the organization to query
|
|
557
560
|
* @returns The organization's modules
|
|
558
561
|
*/
|
|
559
|
-
listModules(
|
|
562
|
+
listModules(organizationId: string): Promise<Module[]>;
|
|
560
563
|
/**
|
|
561
564
|
* Creates a new API key.
|
|
562
565
|
*
|
|
@@ -565,32 +568,32 @@ export declare class AppClient {
|
|
|
565
568
|
* present timestamp
|
|
566
569
|
* @returns The new key and ID
|
|
567
570
|
*/
|
|
568
|
-
createKey(authorizations:
|
|
571
|
+
createKey(authorizations: Authorization[], name?: string): Promise<CreateKeyResponse>;
|
|
569
572
|
/**
|
|
570
573
|
* Deletes an existing API key.
|
|
571
574
|
*
|
|
572
575
|
* @param id The ID of the key to delete
|
|
573
576
|
*/
|
|
574
|
-
deleteKey(id: string): Promise<
|
|
577
|
+
deleteKey(id: string): Promise<import("../gen/app/v1/app_pb").DeleteKeyResponse>;
|
|
575
578
|
/**
|
|
576
579
|
* List all API keys for an organization.
|
|
577
580
|
*
|
|
578
581
|
* @param orgId The ID of the organization to query
|
|
579
582
|
* @returns The list of API keys
|
|
580
583
|
*/
|
|
581
|
-
listKeys(orgId: string): Promise<
|
|
584
|
+
listKeys(orgId: string): Promise<APIKeyWithAuthorizations[]>;
|
|
582
585
|
/**
|
|
583
586
|
* Rotates an existing API key.
|
|
584
587
|
*
|
|
585
588
|
* @param id The ID of the key to rotate
|
|
586
589
|
* @returns The updated key and ID
|
|
587
590
|
*/
|
|
588
|
-
rotateKey(id: string): Promise<
|
|
591
|
+
rotateKey(id: string): Promise<RotateKeyResponse>;
|
|
589
592
|
/**
|
|
590
593
|
* Creates a new key with an existing key's authorizations
|
|
591
594
|
*
|
|
592
595
|
* @param id The ID of the key to duplicate
|
|
593
596
|
* @returns The new key and ID
|
|
594
597
|
*/
|
|
595
|
-
createKeyFromExistingKeyAuthorizations(id: string): Promise<
|
|
598
|
+
createKeyFromExistingKeyAuthorizations(id: string): Promise<CreateKeyFromExistingKeyAuthorizationsResponse>;
|
|
596
599
|
}
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { type
|
|
2
|
-
import
|
|
3
|
-
type GetCurrentMonthUsageResponse = Partial<
|
|
1
|
+
import { type Transport } from '@connectrpc/connect';
|
|
2
|
+
import type { GetCurrentMonthUsageResponse as PBGetCurrentMonthUsageResponse } from '../gen/app/v1/billing_pb';
|
|
3
|
+
export type GetCurrentMonthUsageResponse = Partial<PBGetCurrentMonthUsageResponse> & {
|
|
4
4
|
start?: Date;
|
|
5
5
|
end?: Date;
|
|
6
6
|
};
|
|
7
7
|
export declare class BillingClient {
|
|
8
|
-
private
|
|
9
|
-
constructor(
|
|
8
|
+
private client;
|
|
9
|
+
constructor(transport: Transport);
|
|
10
10
|
getCurrentMonthUsage(orgId: string): Promise<GetCurrentMonthUsageResponse>;
|
|
11
|
-
getOrgBillingInformation(orgId: string): Promise<
|
|
12
|
-
getInvoicesSummary(orgId: string): Promise<
|
|
11
|
+
getOrgBillingInformation(orgId: string): Promise<import("../gen/app/v1/billing_pb").GetOrgBillingInformationResponse>;
|
|
12
|
+
getInvoicesSummary(orgId: string): Promise<import("../gen/app/v1/billing_pb").GetInvoicesSummaryResponse>;
|
|
13
13
|
getInvoicePdf(id: string, orgId: string): Promise<Uint8Array>;
|
|
14
14
|
}
|
|
15
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|