wandelbots_api_client 26.3.0.dev29__py3-none-any.whl
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.
- wandelbots_api_client/__init__.py +48 -0
- wandelbots_api_client/api/__init__.py +63 -0
- wandelbots_api_client/api/application_api.py +1514 -0
- wandelbots_api_client/api/cell_api.py +1424 -0
- wandelbots_api_client/api/controller_api.py +2951 -0
- wandelbots_api_client/api/controller_ios_api.py +1205 -0
- wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
- wandelbots_api_client/api/device_configuration_api.py +1193 -0
- wandelbots_api_client/api/library_program_api.py +1326 -0
- wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
- wandelbots_api_client/api/library_recipe_api.py +1351 -0
- wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
- wandelbots_api_client/api/license_api.py +865 -0
- wandelbots_api_client/api/motion_api.py +3596 -0
- wandelbots_api_client/api/motion_group_api.py +956 -0
- wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
- wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
- wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
- wandelbots_api_client/api/program_api.py +1987 -0
- wandelbots_api_client/api/program_operator_api.py +1881 -0
- wandelbots_api_client/api/program_values_api.py +1444 -0
- wandelbots_api_client/api/store_collision_components_api.py +3074 -0
- wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
- wandelbots_api_client/api/store_object_api.py +1387 -0
- wandelbots_api_client/api/system_api.py +1075 -0
- wandelbots_api_client/api/version_api.py +237 -0
- wandelbots_api_client/api/virtual_robot_api.py +1583 -0
- wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
- wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
- wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
- wandelbots_api_client/api_client.py +688 -0
- wandelbots_api_client/api_response.py +20 -0
- wandelbots_api_client/authorization.py +243 -0
- wandelbots_api_client/configuration.py +579 -0
- wandelbots_api_client/exceptions.py +216 -0
- wandelbots_api_client/models/__init__.py +316 -0
- wandelbots_api_client/models/abb_controller.py +112 -0
- wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
- wandelbots_api_client/models/activate_license_request.py +86 -0
- wandelbots_api_client/models/add_request.py +95 -0
- wandelbots_api_client/models/all_joint_positions_request.py +96 -0
- wandelbots_api_client/models/all_joint_positions_response.py +109 -0
- wandelbots_api_client/models/api_version.py +86 -0
- wandelbots_api_client/models/app.py +148 -0
- wandelbots_api_client/models/array_input.py +114 -0
- wandelbots_api_client/models/array_output.py +116 -0
- wandelbots_api_client/models/behavior.py +35 -0
- wandelbots_api_client/models/blending_auto.py +99 -0
- wandelbots_api_client/models/blending_position.py +97 -0
- wandelbots_api_client/models/box.py +98 -0
- wandelbots_api_client/models/box2.py +112 -0
- wandelbots_api_client/models/box3.py +112 -0
- wandelbots_api_client/models/capsule.py +87 -0
- wandelbots_api_client/models/capsule2.py +97 -0
- wandelbots_api_client/models/capsule3.py +101 -0
- wandelbots_api_client/models/capture.py +86 -0
- wandelbots_api_client/models/cell.py +142 -0
- wandelbots_api_client/models/circle.py +99 -0
- wandelbots_api_client/models/code_with_arguments.py +108 -0
- wandelbots_api_client/models/collection_value.py +322 -0
- wandelbots_api_client/models/collider.py +105 -0
- wandelbots_api_client/models/collider_input.py +105 -0
- wandelbots_api_client/models/collider_output.py +105 -0
- wandelbots_api_client/models/collider_output_shape.py +242 -0
- wandelbots_api_client/models/collider_shape.py +280 -0
- wandelbots_api_client/models/collision.py +110 -0
- wandelbots_api_client/models/collision_contact.py +92 -0
- wandelbots_api_client/models/collision_motion_group.py +124 -0
- wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
- wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
- wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
- wandelbots_api_client/models/collision_scene.py +117 -0
- wandelbots_api_client/models/collision_scene_assembly.py +133 -0
- wandelbots_api_client/models/command.py +140 -0
- wandelbots_api_client/models/command_settings.py +104 -0
- wandelbots_api_client/models/comparator.py +39 -0
- wandelbots_api_client/models/compound.py +114 -0
- wandelbots_api_client/models/container_environment_inner.py +87 -0
- wandelbots_api_client/models/container_image.py +122 -0
- wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
- wandelbots_api_client/models/container_resources.py +89 -0
- wandelbots_api_client/models/container_storage.py +97 -0
- wandelbots_api_client/models/controller_capabilities.py +89 -0
- wandelbots_api_client/models/controller_instance.py +148 -0
- wandelbots_api_client/models/controller_instance_list.py +109 -0
- wandelbots_api_client/models/convex_hull.py +109 -0
- wandelbots_api_client/models/convex_hull2.py +97 -0
- wandelbots_api_client/models/convex_hull3.py +97 -0
- wandelbots_api_client/models/coordinate_system.py +108 -0
- wandelbots_api_client/models/coordinate_systems.py +109 -0
- wandelbots_api_client/models/create_program_run200_response.py +88 -0
- wandelbots_api_client/models/create_program_run_request.py +86 -0
- wandelbots_api_client/models/create_trigger200_response.py +86 -0
- wandelbots_api_client/models/create_trigger_request.py +101 -0
- wandelbots_api_client/models/cubic_spline.py +109 -0
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cycle_time.py +86 -0
- wandelbots_api_client/models/cylinder.py +87 -0
- wandelbots_api_client/models/cylinder2.py +95 -0
- wandelbots_api_client/models/cylinder3.py +101 -0
- wandelbots_api_client/models/devices_inner.py +321 -0
- wandelbots_api_client/models/dh_parameter.py +98 -0
- wandelbots_api_client/models/direction.py +34 -0
- wandelbots_api_client/models/direction_jogging_request.py +136 -0
- wandelbots_api_client/models/error.py +87 -0
- wandelbots_api_client/models/execute_trajectory_request.py +182 -0
- wandelbots_api_client/models/execute_trajectory_response.py +223 -0
- wandelbots_api_client/models/execution_result.py +113 -0
- wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
- wandelbots_api_client/models/fanuc_controller.py +99 -0
- wandelbots_api_client/models/feedback_collision.py +126 -0
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
- wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
- wandelbots_api_client/models/feedback_singularity.py +102 -0
- wandelbots_api_client/models/flag.py +86 -0
- wandelbots_api_client/models/force_vector.py +103 -0
- wandelbots_api_client/models/geometry.py +167 -0
- wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
- wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
- wandelbots_api_client/models/get_mode_response.py +87 -0
- wandelbots_api_client/models/get_trajectory_response.py +112 -0
- wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
- wandelbots_api_client/models/google_protobuf_any.py +102 -0
- wandelbots_api_client/models/http_exception_response.py +86 -0
- wandelbots_api_client/models/http_validation_error.py +109 -0
- wandelbots_api_client/models/http_validation_error2.py +109 -0
- wandelbots_api_client/models/image_credentials.py +88 -0
- wandelbots_api_client/models/info_service_capabilities.py +110 -0
- wandelbots_api_client/models/initialize_movement_request.py +111 -0
- wandelbots_api_client/models/initialize_movement_response.py +96 -0
- wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
- wandelbots_api_client/models/io.py +105 -0
- wandelbots_api_client/models/io_description.py +156 -0
- wandelbots_api_client/models/io_value.py +104 -0
- wandelbots_api_client/models/ios.py +109 -0
- wandelbots_api_client/models/jogging_response.py +117 -0
- wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
- wandelbots_api_client/models/joint_jogging_request.py +108 -0
- wandelbots_api_client/models/joint_limit.py +123 -0
- wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
- wandelbots_api_client/models/joint_position_request.py +104 -0
- wandelbots_api_client/models/joint_trajectory.py +117 -0
- wandelbots_api_client/models/joints.py +86 -0
- wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
- wandelbots_api_client/models/kuka_controller.py +112 -0
- wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
- wandelbots_api_client/models/license.py +124 -0
- wandelbots_api_client/models/license_status.py +88 -0
- wandelbots_api_client/models/license_status_enum.py +37 -0
- wandelbots_api_client/models/limit_settings.py +223 -0
- wandelbots_api_client/models/limits_override.py +132 -0
- wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
- wandelbots_api_client/models/list_io_values_response.py +109 -0
- wandelbots_api_client/models/list_payloads_response.py +109 -0
- wandelbots_api_client/models/list_program_metadata_response.py +109 -0
- wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
- wandelbots_api_client/models/list_response.py +109 -0
- wandelbots_api_client/models/list_tcps_response.py +112 -0
- wandelbots_api_client/models/location_inner.py +153 -0
- wandelbots_api_client/models/location_inner1.py +142 -0
- wandelbots_api_client/models/manufacturer.py +37 -0
- wandelbots_api_client/models/mode_change_response.py +97 -0
- wandelbots_api_client/models/motion_command.py +109 -0
- wandelbots_api_client/models/motion_command_blending.py +164 -0
- wandelbots_api_client/models/motion_command_path.py +221 -0
- wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
- wandelbots_api_client/models/motion_group_info.py +88 -0
- wandelbots_api_client/models/motion_group_infos.py +109 -0
- wandelbots_api_client/models/motion_group_instance.py +101 -0
- wandelbots_api_client/models/motion_group_instance_list.py +109 -0
- wandelbots_api_client/models/motion_group_joints.py +100 -0
- wandelbots_api_client/models/motion_group_physical.py +105 -0
- wandelbots_api_client/models/motion_group_specification.py +136 -0
- wandelbots_api_client/models/motion_group_state.py +180 -0
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
- wandelbots_api_client/models/motion_group_state_response.py +103 -0
- wandelbots_api_client/models/motion_id.py +88 -0
- wandelbots_api_client/models/motion_ids_list_response.py +89 -0
- wandelbots_api_client/models/motion_vector.py +103 -0
- wandelbots_api_client/models/mounting.py +98 -0
- wandelbots_api_client/models/move_request.py +162 -0
- wandelbots_api_client/models/move_response.py +91 -0
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
- wandelbots_api_client/models/movement.py +90 -0
- wandelbots_api_client/models/movement_error.py +90 -0
- wandelbots_api_client/models/movement_error_error.py +86 -0
- wandelbots_api_client/models/movement_movement.py +98 -0
- wandelbots_api_client/models/op_mode.py +93 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
- wandelbots_api_client/models/optimizer_setup.py +145 -0
- wandelbots_api_client/models/out_of_workspace.py +92 -0
- wandelbots_api_client/models/path.py +109 -0
- wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
- wandelbots_api_client/models/path_circle.py +108 -0
- wandelbots_api_client/models/path_cubic_spline.py +118 -0
- wandelbots_api_client/models/path_joint_ptp.py +96 -0
- wandelbots_api_client/models/path_line.py +103 -0
- wandelbots_api_client/models/pause_movement_request.py +95 -0
- wandelbots_api_client/models/pause_movement_response.py +96 -0
- wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
- wandelbots_api_client/models/pause_on_io.py +96 -0
- wandelbots_api_client/models/payload.py +103 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
- wandelbots_api_client/models/plan_failed_response.py +136 -0
- wandelbots_api_client/models/plan_request.py +127 -0
- wandelbots_api_client/models/plan_response.py +112 -0
- wandelbots_api_client/models/plan_successful_response.py +100 -0
- wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
- wandelbots_api_client/models/plan_trajectory_request.py +154 -0
- wandelbots_api_client/models/plan_trajectory_response.py +92 -0
- wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/models/plane2.py +93 -0
- wandelbots_api_client/models/plane3.py +93 -0
- wandelbots_api_client/models/planned_motion.py +125 -0
- wandelbots_api_client/models/planner_pose.py +100 -0
- wandelbots_api_client/models/planning_limits.py +168 -0
- wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
- wandelbots_api_client/models/playback_speed_request.py +94 -0
- wandelbots_api_client/models/playback_speed_response.py +96 -0
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
- wandelbots_api_client/models/point_cloud.py +86 -0
- wandelbots_api_client/models/pose.py +107 -0
- wandelbots_api_client/models/pose2.py +93 -0
- wandelbots_api_client/models/program_metadata.py +100 -0
- wandelbots_api_client/models/program_run.py +168 -0
- wandelbots_api_client/models/program_run_object.py +103 -0
- wandelbots_api_client/models/program_run_state.py +37 -0
- wandelbots_api_client/models/program_runner_reference.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
- wandelbots_api_client/models/quaternion.py +89 -0
- wandelbots_api_client/models/recipe_metadata.py +102 -0
- wandelbots_api_client/models/rectangle.py +87 -0
- wandelbots_api_client/models/rectangle2.py +95 -0
- wandelbots_api_client/models/rectangle3.py +101 -0
- wandelbots_api_client/models/rectangular_capsule.py +94 -0
- wandelbots_api_client/models/rectangular_capsule2.py +103 -0
- wandelbots_api_client/models/rectangular_capsule3.py +103 -0
- wandelbots_api_client/models/release_channel.py +34 -0
- wandelbots_api_client/models/request.py +142 -0
- wandelbots_api_client/models/request1.py +140 -0
- wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
- wandelbots_api_client/models/robot_controller.py +108 -0
- wandelbots_api_client/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/models/robot_controller_state.py +191 -0
- wandelbots_api_client/models/robot_link_geometry.py +98 -0
- wandelbots_api_client/models/robot_state.py +101 -0
- wandelbots_api_client/models/robot_system_mode.py +37 -0
- wandelbots_api_client/models/robot_tcp.py +104 -0
- wandelbots_api_client/models/robot_tcps.py +109 -0
- wandelbots_api_client/models/rotation_angle_types.py +58 -0
- wandelbots_api_client/models/rotation_angles.py +91 -0
- wandelbots_api_client/models/safety_configuration.py +182 -0
- wandelbots_api_client/models/safety_setup.py +172 -0
- wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
- wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
- wandelbots_api_client/models/safety_zone.py +98 -0
- wandelbots_api_client/models/safety_zone_limits.py +96 -0
- wandelbots_api_client/models/safety_zone_violation.py +86 -0
- wandelbots_api_client/models/service_status.py +96 -0
- wandelbots_api_client/models/service_status_phase.py +46 -0
- wandelbots_api_client/models/service_status_severity.py +35 -0
- wandelbots_api_client/models/service_status_status.py +90 -0
- wandelbots_api_client/models/set_io.py +93 -0
- wandelbots_api_client/models/set_playback_speed.py +91 -0
- wandelbots_api_client/models/single_joint_limit.py +112 -0
- wandelbots_api_client/models/singularity.py +110 -0
- wandelbots_api_client/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/models/sphere.py +86 -0
- wandelbots_api_client/models/sphere2.py +94 -0
- wandelbots_api_client/models/sphere3.py +96 -0
- wandelbots_api_client/models/standstill.py +92 -0
- wandelbots_api_client/models/standstill_reason.py +36 -0
- wandelbots_api_client/models/standstill_standstill.py +99 -0
- wandelbots_api_client/models/start_movement_request.py +135 -0
- wandelbots_api_client/models/start_on_io.py +96 -0
- wandelbots_api_client/models/status.py +119 -0
- wandelbots_api_client/models/stop_response.py +109 -0
- wandelbots_api_client/models/store_value.py +349 -0
- wandelbots_api_client/models/stream_move_backward.py +90 -0
- wandelbots_api_client/models/stream_move_forward.py +90 -0
- wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
- wandelbots_api_client/models/stream_move_request.py +207 -0
- wandelbots_api_client/models/stream_move_response.py +110 -0
- wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
- wandelbots_api_client/models/stream_stop.py +90 -0
- wandelbots_api_client/models/tcp_pose.py +105 -0
- wandelbots_api_client/models/tcp_pose_request.py +106 -0
- wandelbots_api_client/models/tool_geometry.py +111 -0
- wandelbots_api_client/models/trajectory_sample.py +139 -0
- wandelbots_api_client/models/trigger_object.py +110 -0
- wandelbots_api_client/models/trigger_type.py +33 -0
- wandelbots_api_client/models/universalrobots_controller.py +102 -0
- wandelbots_api_client/models/update_nova_version_request.py +87 -0
- wandelbots_api_client/models/update_program_metadata_request.py +88 -0
- wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
- wandelbots_api_client/models/update_trigger_request.py +100 -0
- wandelbots_api_client/models/validation_error.py +113 -0
- wandelbots_api_client/models/validation_error2.py +113 -0
- wandelbots_api_client/models/value.py +317 -0
- wandelbots_api_client/models/vector3d.py +88 -0
- wandelbots_api_client/models/version_number.py +113 -0
- wandelbots_api_client/models/virtual_controller.py +117 -0
- wandelbots_api_client/models/virtual_controller_types.py +153 -0
- wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
- wandelbots_api_client/models/yaskawa_controller.py +99 -0
- wandelbots_api_client/py.typed +0 -0
- wandelbots_api_client/rest.py +188 -0
- wandelbots_api_client/v2/__init__.py +49 -0
- wandelbots_api_client/v2/api/__init__.py +55 -0
- wandelbots_api_client/v2/api/application_api.py +1532 -0
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2/api/cell_api.py +2163 -0
- wandelbots_api_client/v2/api/controller_api.py +3238 -0
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2/api/jogging_api.py +113 -0
- wandelbots_api_client/v2/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2/api/license_api.py +877 -0
- wandelbots_api_client/v2/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2/api/program_api.py +988 -0
- wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2/api/system_api.py +2696 -0
- wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2/api/version_api.py +240 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2/api_client.py +692 -0
- wandelbots_api_client/v2/api_response.py +20 -0
- wandelbots_api_client/v2/configuration.py +579 -0
- wandelbots_api_client/v2/exceptions.py +216 -0
- wandelbots_api_client/v2/models/__init__.py +317 -0
- wandelbots_api_client/v2/models/abb_controller.py +104 -0
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
- wandelbots_api_client/v2/models/activate_license_request.py +83 -0
- wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
- wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
- wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
- wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
- wandelbots_api_client/v2/models/api_version.py +83 -0
- wandelbots_api_client/v2/models/app.py +156 -0
- wandelbots_api_client/v2/models/behavior.py +35 -0
- wandelbots_api_client/v2/models/blending_auto.py +97 -0
- wandelbots_api_client/v2/models/blending_position.py +143 -0
- wandelbots_api_client/v2/models/blending_space.py +34 -0
- wandelbots_api_client/v2/models/boolean_value.py +91 -0
- wandelbots_api_client/v2/models/box.py +109 -0
- wandelbots_api_client/v2/models/bus_io_description.py +111 -0
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
- wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_type.py +223 -0
- wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
- wandelbots_api_client/v2/models/capsule.py +94 -0
- wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
- wandelbots_api_client/v2/models/cell.py +127 -0
- wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
- wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
- wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
- wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
- wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
- wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
- wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
- wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
- wandelbots_api_client/v2/models/collider.py +102 -0
- wandelbots_api_client/v2/models/collider_shape.py +278 -0
- wandelbots_api_client/v2/models/collision.py +107 -0
- wandelbots_api_client/v2/models/collision_contact.py +89 -0
- wandelbots_api_client/v2/models/collision_error.py +100 -0
- wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
- wandelbots_api_client/v2/models/collision_setup.py +130 -0
- wandelbots_api_client/v2/models/comparator.py +38 -0
- wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
- wandelbots_api_client/v2/models/configuration_resource.py +104 -0
- wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
- wandelbots_api_client/v2/models/container_image.py +110 -0
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
- wandelbots_api_client/v2/models/container_resources.py +87 -0
- wandelbots_api_client/v2/models/container_storage.py +94 -0
- wandelbots_api_client/v2/models/controller_description.py +97 -0
- wandelbots_api_client/v2/models/convex_hull.py +94 -0
- wandelbots_api_client/v2/models/coordinate_system.py +115 -0
- wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
- wandelbots_api_client/v2/models/cycle_time.py +86 -0
- wandelbots_api_client/v2/models/cylinder.py +92 -0
- wandelbots_api_client/v2/models/dh_parameter.py +98 -0
- wandelbots_api_client/v2/models/direction.py +34 -0
- wandelbots_api_client/v2/models/error.py +84 -0
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
- wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
- wandelbots_api_client/v2/models/execute.py +95 -0
- wandelbots_api_client/v2/models/execute_details.py +164 -0
- wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
- wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
- wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
- wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
- wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
- wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
- wandelbots_api_client/v2/models/feedback_collision.py +112 -0
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
- wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
- wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
- wandelbots_api_client/v2/models/flag.py +83 -0
- wandelbots_api_client/v2/models/flange_payload.py +98 -0
- wandelbots_api_client/v2/models/float_value.py +91 -0
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
- wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
- wandelbots_api_client/v2/models/http_validation_error.py +93 -0
- wandelbots_api_client/v2/models/image_credentials.py +85 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
- wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
- wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
- wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
- wandelbots_api_client/v2/models/integer_value.py +91 -0
- wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
- wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
- wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
- wandelbots_api_client/v2/models/io_boundary.py +183 -0
- wandelbots_api_client/v2/models/io_description.py +116 -0
- wandelbots_api_client/v2/models/io_direction.py +34 -0
- wandelbots_api_client/v2/models/io_float_value.py +92 -0
- wandelbots_api_client/v2/models/io_integer_value.py +94 -0
- wandelbots_api_client/v2/models/io_origin.py +34 -0
- wandelbots_api_client/v2/models/io_value.py +183 -0
- wandelbots_api_client/v2/models/io_value_type.py +35 -0
- wandelbots_api_client/v2/models/jogging_details.py +97 -0
- wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
- wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/jogging_running.py +90 -0
- wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/joint_limits.py +101 -0
- wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
- wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
- wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
- wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/kinematic_model.py +118 -0
- wandelbots_api_client/v2/models/kuka_controller.py +106 -0
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
- wandelbots_api_client/v2/models/license.py +121 -0
- wandelbots_api_client/v2/models/license_status.py +85 -0
- wandelbots_api_client/v2/models/license_status_enum.py +37 -0
- wandelbots_api_client/v2/models/limit_range.py +84 -0
- wandelbots_api_client/v2/models/limit_set.py +118 -0
- wandelbots_api_client/v2/models/limits_override.py +136 -0
- wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
- wandelbots_api_client/v2/models/location1_inner.py +153 -0
- wandelbots_api_client/v2/models/manufacturer.py +37 -0
- wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
- wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
- wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
- wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
- wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
- wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
- wandelbots_api_client/v2/models/modbus_io.py +109 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
- wandelbots_api_client/v2/models/motion_command.py +106 -0
- wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
- wandelbots_api_client/v2/models/motion_command_path.py +221 -0
- wandelbots_api_client/v2/models/motion_group_description.py +235 -0
- wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
- wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
- wandelbots_api_client/v2/models/motion_group_info.py +90 -0
- wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
- wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
- wandelbots_api_client/v2/models/motion_group_state.py +182 -0
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
- wandelbots_api_client/v2/models/movement_error_response.py +91 -0
- wandelbots_api_client/v2/models/nan_value_error.py +100 -0
- wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
- wandelbots_api_client/v2/models/network_device.py +85 -0
- wandelbots_api_client/v2/models/network_interface.py +86 -0
- wandelbots_api_client/v2/models/network_state.py +125 -0
- wandelbots_api_client/v2/models/op_mode.py +84 -0
- wandelbots_api_client/v2/models/operating_state.py +34 -0
- wandelbots_api_client/v2/models/operation_limits.py +106 -0
- wandelbots_api_client/v2/models/operation_mode.py +42 -0
- wandelbots_api_client/v2/models/orientation_type.py +58 -0
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
- wandelbots_api_client/v2/models/path_circle.py +105 -0
- wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
- wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
- wandelbots_api_client/v2/models/path_line.py +100 -0
- wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
- wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
- wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
- wandelbots_api_client/v2/models/pause_on_io.py +99 -0
- wandelbots_api_client/v2/models/payload.py +98 -0
- wandelbots_api_client/v2/models/plan422_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_request.py +109 -0
- wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +252 -0
- wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
- wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +183 -0
- wandelbots_api_client/v2/models/plane.py +90 -0
- wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
- wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
- wandelbots_api_client/v2/models/pose.py +90 -0
- wandelbots_api_client/v2/models/profinet_description.py +112 -0
- wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
- wandelbots_api_client/v2/models/profinet_io.py +109 -0
- wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
- wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
- wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
- wandelbots_api_client/v2/models/program.py +105 -0
- wandelbots_api_client/v2/models/program_run.py +124 -0
- wandelbots_api_client/v2/models/program_run_state.py +37 -0
- wandelbots_api_client/v2/models/program_start_request.py +83 -0
- wandelbots_api_client/v2/models/rectangle.py +92 -0
- wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
- wandelbots_api_client/v2/models/release_channel.py +34 -0
- wandelbots_api_client/v2/models/robot_controller.py +105 -0
- wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
- wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
- wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
- wandelbots_api_client/v2/models/robot_tcp.py +110 -0
- wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
- wandelbots_api_client/v2/models/safety_state_type.py +48 -0
- wandelbots_api_client/v2/models/service_group.py +36 -0
- wandelbots_api_client/v2/models/service_status.py +96 -0
- wandelbots_api_client/v2/models/service_status_phase.py +46 -0
- wandelbots_api_client/v2/models/service_status_response.py +100 -0
- wandelbots_api_client/v2/models/service_status_severity.py +35 -0
- wandelbots_api_client/v2/models/service_status_status.py +87 -0
- wandelbots_api_client/v2/models/set_io.py +96 -0
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
- wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/v2/models/sphere.py +91 -0
- wandelbots_api_client/v2/models/start_movement_request.py +133 -0
- wandelbots_api_client/v2/models/start_movement_response.py +91 -0
- wandelbots_api_client/v2/models/start_on_io.py +99 -0
- wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
- wandelbots_api_client/v2/models/tcp_offset.py +88 -0
- wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
- wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
- wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
- wandelbots_api_client/v2/models/trajectory_data.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
- wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
- wandelbots_api_client/v2/models/trajectory_id.py +93 -0
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/trajectory_running.py +94 -0
- wandelbots_api_client/v2/models/trajectory_section.py +84 -0
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
- wandelbots_api_client/v2/models/unit_type.py +42 -0
- wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
- wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
- wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
- wandelbots_api_client/v2/models/validation_error.py +101 -0
- wandelbots_api_client/v2/models/validation_error2.py +85 -0
- wandelbots_api_client/v2/models/virtual_controller.py +113 -0
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
- wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
- wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
- wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
- wandelbots_api_client/v2/py.typed +0 -0
- wandelbots_api_client/v2/rest.py +188 -0
- wandelbots_api_client/v2_pydantic/__init__.py +49 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
- wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2_pydantic/api_client.py +692 -0
- wandelbots_api_client/v2_pydantic/api_response.py +20 -0
- wandelbots_api_client/v2_pydantic/configuration.py +579 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models/__init__.py +642 -0
- wandelbots_api_client/v2_pydantic/models/models.py +5090 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +188 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/METADATA +241 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/RECORD +693 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1444 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 1.4.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from furl import furl
|
|
15
|
+
import json
|
|
16
|
+
import humps
|
|
17
|
+
import re
|
|
18
|
+
import warnings
|
|
19
|
+
import websockets
|
|
20
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
21
|
+
from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from urllib.parse import quote
|
|
24
|
+
|
|
25
|
+
from pydantic import Field, StrictStr
|
|
26
|
+
from typing import Dict
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
from wandelbots_api_client.models.collection_value import CollectionValue
|
|
29
|
+
from wandelbots_api_client.models.response_get_value_programs_values_key_get import ResponseGetValueProgramsValuesKeyGet
|
|
30
|
+
from wandelbots_api_client.models.response_get_values_programs_values_get_value import ResponseGetValuesProgramsValuesGetValue
|
|
31
|
+
from wandelbots_api_client.models.value import Value
|
|
32
|
+
|
|
33
|
+
from wandelbots_api_client.api_client import ApiClient, RequestSerialized
|
|
34
|
+
from wandelbots_api_client.api_response import ApiResponse
|
|
35
|
+
from wandelbots_api_client.rest import RESTResponseType
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
class ProgramValuesApi:
|
|
39
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
40
|
+
Ref: https://openapi-generator.tech
|
|
41
|
+
|
|
42
|
+
Do not edit the class manually.
|
|
43
|
+
"""
|
|
44
|
+
|
|
45
|
+
def __init__(self, api_client=None) -> None:
|
|
46
|
+
if api_client is None:
|
|
47
|
+
api_client = ApiClient.get_default()
|
|
48
|
+
self.api_client = api_client
|
|
49
|
+
|
|
50
|
+
@validate_call
|
|
51
|
+
async def clear_programs_values(
|
|
52
|
+
self,
|
|
53
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
54
|
+
_request_timeout: Union[
|
|
55
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
56
|
+
] = None,
|
|
57
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
58
|
+
_content_type: Optional[StrictStr] = None,
|
|
59
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
+
) -> None:
|
|
62
|
+
"""(Deprecated) Delete All Values
|
|
63
|
+
|
|
64
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Delete all values from the database.
|
|
65
|
+
|
|
66
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
67
|
+
:type cell: str
|
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
69
|
+
number provided, it will be total request
|
|
70
|
+
timeout. It can also be a pair (tuple) of
|
|
71
|
+
(connection, read) timeouts.
|
|
72
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
73
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
74
|
+
request; this effectively ignores the
|
|
75
|
+
authentication in the spec for a single request.
|
|
76
|
+
:type _request_auth: dict, optional
|
|
77
|
+
:param _content_type: force content-type for the request.
|
|
78
|
+
:type _content_type: str, Optional
|
|
79
|
+
:param _headers: set to override the headers for a single
|
|
80
|
+
request; this effectively ignores the headers
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _headers: dict, optional
|
|
83
|
+
:param _host_index: set to override the host_index for a single
|
|
84
|
+
request; this effectively ignores the host_index
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _host_index: int, optional
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
""" # noqa: E501
|
|
89
|
+
warnings.warn("DELETE /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
90
|
+
|
|
91
|
+
_param = self._clear_programs_values_serialize(
|
|
92
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
96
|
+
"204": None,
|
|
97
|
+
"404": None,
|
|
98
|
+
}
|
|
99
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
100
|
+
await response_data.read()
|
|
101
|
+
return self.api_client.response_deserialize(
|
|
102
|
+
response_data=response_data,
|
|
103
|
+
response_types_map=_response_types_map,
|
|
104
|
+
).data
|
|
105
|
+
|
|
106
|
+
@validate_call
|
|
107
|
+
async def clear_programs_values_with_http_info(
|
|
108
|
+
self,
|
|
109
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
110
|
+
_request_timeout: Union[
|
|
111
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
112
|
+
] = None,
|
|
113
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
114
|
+
_content_type: Optional[StrictStr] = None,
|
|
115
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
116
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
117
|
+
) -> ApiResponse[None]:
|
|
118
|
+
"""(Deprecated) Delete All Values
|
|
119
|
+
|
|
120
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Delete all values from the database.
|
|
121
|
+
|
|
122
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
123
|
+
:type cell: str
|
|
124
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
125
|
+
number provided, it will be total request
|
|
126
|
+
timeout. It can also be a pair (tuple) of
|
|
127
|
+
(connection, read) timeouts.
|
|
128
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
129
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
130
|
+
request; this effectively ignores the
|
|
131
|
+
authentication in the spec for a single request.
|
|
132
|
+
:type _request_auth: dict, optional
|
|
133
|
+
:param _content_type: force content-type for the request.
|
|
134
|
+
:type _content_type: str, Optional
|
|
135
|
+
:param _headers: set to override the headers for a single
|
|
136
|
+
request; this effectively ignores the headers
|
|
137
|
+
in the spec for a single request.
|
|
138
|
+
:type _headers: dict, optional
|
|
139
|
+
:param _host_index: set to override the host_index for a single
|
|
140
|
+
request; this effectively ignores the host_index
|
|
141
|
+
in the spec for a single request.
|
|
142
|
+
:type _host_index: int, optional
|
|
143
|
+
:return: Returns the result object.
|
|
144
|
+
""" # noqa: E501
|
|
145
|
+
warnings.warn("DELETE /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
146
|
+
|
|
147
|
+
_param = self._clear_programs_values_serialize(
|
|
148
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
152
|
+
"204": None,
|
|
153
|
+
"404": None,
|
|
154
|
+
}
|
|
155
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
156
|
+
await response_data.read()
|
|
157
|
+
return self.api_client.response_deserialize(
|
|
158
|
+
response_data=response_data,
|
|
159
|
+
response_types_map=_response_types_map,
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
@validate_call
|
|
163
|
+
async def clear_programs_values_without_preload_content(
|
|
164
|
+
self,
|
|
165
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
166
|
+
_request_timeout: Union[
|
|
167
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
168
|
+
] = None,
|
|
169
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
170
|
+
_content_type: Optional[StrictStr] = None,
|
|
171
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
172
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
173
|
+
) -> RESTResponseType:
|
|
174
|
+
"""(Deprecated) Delete All Values
|
|
175
|
+
|
|
176
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Delete all values from the database.
|
|
177
|
+
|
|
178
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
179
|
+
:type cell: str
|
|
180
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
181
|
+
number provided, it will be total request
|
|
182
|
+
timeout. It can also be a pair (tuple) of
|
|
183
|
+
(connection, read) timeouts.
|
|
184
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
185
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
186
|
+
request; this effectively ignores the
|
|
187
|
+
authentication in the spec for a single request.
|
|
188
|
+
:type _request_auth: dict, optional
|
|
189
|
+
:param _content_type: force content-type for the request.
|
|
190
|
+
:type _content_type: str, Optional
|
|
191
|
+
:param _headers: set to override the headers for a single
|
|
192
|
+
request; this effectively ignores the headers
|
|
193
|
+
in the spec for a single request.
|
|
194
|
+
:type _headers: dict, optional
|
|
195
|
+
:param _host_index: set to override the host_index for a single
|
|
196
|
+
request; this effectively ignores the host_index
|
|
197
|
+
in the spec for a single request.
|
|
198
|
+
:type _host_index: int, optional
|
|
199
|
+
:return: Returns the result object.
|
|
200
|
+
""" # noqa: E501
|
|
201
|
+
warnings.warn("DELETE /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
202
|
+
|
|
203
|
+
_param = self._clear_programs_values_serialize(
|
|
204
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
205
|
+
)
|
|
206
|
+
|
|
207
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
208
|
+
"204": None,
|
|
209
|
+
"404": None,
|
|
210
|
+
}
|
|
211
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
212
|
+
return response_data.response
|
|
213
|
+
|
|
214
|
+
def _clear_programs_values_serialize(
|
|
215
|
+
self,
|
|
216
|
+
cell,
|
|
217
|
+
_request_auth,
|
|
218
|
+
_content_type,
|
|
219
|
+
_headers,
|
|
220
|
+
_host_index,
|
|
221
|
+
) -> RequestSerialized:
|
|
222
|
+
|
|
223
|
+
_host = None
|
|
224
|
+
|
|
225
|
+
_collection_formats: Dict[str, str] = {}
|
|
226
|
+
|
|
227
|
+
_path_params: Dict[str, str] = {}
|
|
228
|
+
_query_params: List[Tuple[str, str]] = []
|
|
229
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
230
|
+
_form_params: List[Tuple[str, str]] = []
|
|
231
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
232
|
+
_body_params: Optional[bytes] = None
|
|
233
|
+
|
|
234
|
+
# process the path parameters
|
|
235
|
+
if cell is not None:
|
|
236
|
+
_path_params["cell"] = cell
|
|
237
|
+
# process the query parameters
|
|
238
|
+
# process the header parameters
|
|
239
|
+
# process the form parameters
|
|
240
|
+
# process the body parameter
|
|
241
|
+
|
|
242
|
+
# authentication setting
|
|
243
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
244
|
+
|
|
245
|
+
return self.api_client.param_serialize(
|
|
246
|
+
method="DELETE",
|
|
247
|
+
resource_path="/cells/{cell}/programs/values",
|
|
248
|
+
path_params=_path_params,
|
|
249
|
+
query_params=_query_params,
|
|
250
|
+
header_params=_header_params,
|
|
251
|
+
body=_body_params,
|
|
252
|
+
post_params=_form_params,
|
|
253
|
+
files=_files,
|
|
254
|
+
auth_settings=_auth_settings,
|
|
255
|
+
collection_formats=_collection_formats,
|
|
256
|
+
_host=_host,
|
|
257
|
+
_request_auth=_request_auth,
|
|
258
|
+
)
|
|
259
|
+
|
|
260
|
+
@validate_call
|
|
261
|
+
async def create_programs_value(
|
|
262
|
+
self,
|
|
263
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
264
|
+
request_body: Dict[str, CollectionValue],
|
|
265
|
+
_request_timeout: Union[
|
|
266
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
267
|
+
] = None,
|
|
268
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
269
|
+
_content_type: Optional[StrictStr] = None,
|
|
270
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
271
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
272
|
+
) -> None:
|
|
273
|
+
"""(Deprecated) Add Value(s)
|
|
274
|
+
|
|
275
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Add or overwrite one or more values in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
276
|
+
|
|
277
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
278
|
+
:type cell: str
|
|
279
|
+
:param request_body: (required)
|
|
280
|
+
:type request_body: Dict[str, CollectionValue]
|
|
281
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
282
|
+
number provided, it will be total request
|
|
283
|
+
timeout. It can also be a pair (tuple) of
|
|
284
|
+
(connection, read) timeouts.
|
|
285
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
286
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
287
|
+
request; this effectively ignores the
|
|
288
|
+
authentication in the spec for a single request.
|
|
289
|
+
:type _request_auth: dict, optional
|
|
290
|
+
:param _content_type: force content-type for the request.
|
|
291
|
+
:type _content_type: str, Optional
|
|
292
|
+
:param _headers: set to override the headers for a single
|
|
293
|
+
request; this effectively ignores the headers
|
|
294
|
+
in the spec for a single request.
|
|
295
|
+
:type _headers: dict, optional
|
|
296
|
+
:param _host_index: set to override the host_index for a single
|
|
297
|
+
request; this effectively ignores the host_index
|
|
298
|
+
in the spec for a single request.
|
|
299
|
+
:type _host_index: int, optional
|
|
300
|
+
:return: Returns the result object.
|
|
301
|
+
""" # noqa: E501
|
|
302
|
+
warnings.warn("POST /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
303
|
+
|
|
304
|
+
_param = self._create_programs_value_serialize(
|
|
305
|
+
cell=cell,
|
|
306
|
+
request_body=request_body,
|
|
307
|
+
_request_auth=_request_auth,
|
|
308
|
+
_content_type=_content_type,
|
|
309
|
+
_headers=_headers,
|
|
310
|
+
_host_index=_host_index,
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
314
|
+
"204": None,
|
|
315
|
+
"404": None,
|
|
316
|
+
"422": "HTTPValidationError2",
|
|
317
|
+
}
|
|
318
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
319
|
+
await response_data.read()
|
|
320
|
+
return self.api_client.response_deserialize(
|
|
321
|
+
response_data=response_data,
|
|
322
|
+
response_types_map=_response_types_map,
|
|
323
|
+
).data
|
|
324
|
+
|
|
325
|
+
@validate_call
|
|
326
|
+
async def create_programs_value_with_http_info(
|
|
327
|
+
self,
|
|
328
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
329
|
+
request_body: Dict[str, CollectionValue],
|
|
330
|
+
_request_timeout: Union[
|
|
331
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
332
|
+
] = None,
|
|
333
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
334
|
+
_content_type: Optional[StrictStr] = None,
|
|
335
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
336
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
337
|
+
) -> ApiResponse[None]:
|
|
338
|
+
"""(Deprecated) Add Value(s)
|
|
339
|
+
|
|
340
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Add or overwrite one or more values in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
341
|
+
|
|
342
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
343
|
+
:type cell: str
|
|
344
|
+
:param request_body: (required)
|
|
345
|
+
:type request_body: Dict[str, CollectionValue]
|
|
346
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
347
|
+
number provided, it will be total request
|
|
348
|
+
timeout. It can also be a pair (tuple) of
|
|
349
|
+
(connection, read) timeouts.
|
|
350
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
351
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
352
|
+
request; this effectively ignores the
|
|
353
|
+
authentication in the spec for a single request.
|
|
354
|
+
:type _request_auth: dict, optional
|
|
355
|
+
:param _content_type: force content-type for the request.
|
|
356
|
+
:type _content_type: str, Optional
|
|
357
|
+
:param _headers: set to override the headers for a single
|
|
358
|
+
request; this effectively ignores the headers
|
|
359
|
+
in the spec for a single request.
|
|
360
|
+
:type _headers: dict, optional
|
|
361
|
+
:param _host_index: set to override the host_index for a single
|
|
362
|
+
request; this effectively ignores the host_index
|
|
363
|
+
in the spec for a single request.
|
|
364
|
+
:type _host_index: int, optional
|
|
365
|
+
:return: Returns the result object.
|
|
366
|
+
""" # noqa: E501
|
|
367
|
+
warnings.warn("POST /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
368
|
+
|
|
369
|
+
_param = self._create_programs_value_serialize(
|
|
370
|
+
cell=cell,
|
|
371
|
+
request_body=request_body,
|
|
372
|
+
_request_auth=_request_auth,
|
|
373
|
+
_content_type=_content_type,
|
|
374
|
+
_headers=_headers,
|
|
375
|
+
_host_index=_host_index,
|
|
376
|
+
)
|
|
377
|
+
|
|
378
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
379
|
+
"204": None,
|
|
380
|
+
"404": None,
|
|
381
|
+
"422": "HTTPValidationError2",
|
|
382
|
+
}
|
|
383
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
384
|
+
await response_data.read()
|
|
385
|
+
return self.api_client.response_deserialize(
|
|
386
|
+
response_data=response_data,
|
|
387
|
+
response_types_map=_response_types_map,
|
|
388
|
+
)
|
|
389
|
+
|
|
390
|
+
@validate_call
|
|
391
|
+
async def create_programs_value_without_preload_content(
|
|
392
|
+
self,
|
|
393
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
394
|
+
request_body: Dict[str, CollectionValue],
|
|
395
|
+
_request_timeout: Union[
|
|
396
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
397
|
+
] = None,
|
|
398
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
399
|
+
_content_type: Optional[StrictStr] = None,
|
|
400
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
401
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
402
|
+
) -> RESTResponseType:
|
|
403
|
+
"""(Deprecated) Add Value(s)
|
|
404
|
+
|
|
405
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Add or overwrite one or more values in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
406
|
+
|
|
407
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
408
|
+
:type cell: str
|
|
409
|
+
:param request_body: (required)
|
|
410
|
+
:type request_body: Dict[str, CollectionValue]
|
|
411
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
412
|
+
number provided, it will be total request
|
|
413
|
+
timeout. It can also be a pair (tuple) of
|
|
414
|
+
(connection, read) timeouts.
|
|
415
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
416
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
417
|
+
request; this effectively ignores the
|
|
418
|
+
authentication in the spec for a single request.
|
|
419
|
+
:type _request_auth: dict, optional
|
|
420
|
+
:param _content_type: force content-type for the request.
|
|
421
|
+
:type _content_type: str, Optional
|
|
422
|
+
:param _headers: set to override the headers for a single
|
|
423
|
+
request; this effectively ignores the headers
|
|
424
|
+
in the spec for a single request.
|
|
425
|
+
:type _headers: dict, optional
|
|
426
|
+
:param _host_index: set to override the host_index for a single
|
|
427
|
+
request; this effectively ignores the host_index
|
|
428
|
+
in the spec for a single request.
|
|
429
|
+
:type _host_index: int, optional
|
|
430
|
+
:return: Returns the result object.
|
|
431
|
+
""" # noqa: E501
|
|
432
|
+
warnings.warn("POST /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
433
|
+
|
|
434
|
+
_param = self._create_programs_value_serialize(
|
|
435
|
+
cell=cell,
|
|
436
|
+
request_body=request_body,
|
|
437
|
+
_request_auth=_request_auth,
|
|
438
|
+
_content_type=_content_type,
|
|
439
|
+
_headers=_headers,
|
|
440
|
+
_host_index=_host_index,
|
|
441
|
+
)
|
|
442
|
+
|
|
443
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
444
|
+
"204": None,
|
|
445
|
+
"404": None,
|
|
446
|
+
"422": "HTTPValidationError2",
|
|
447
|
+
}
|
|
448
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
449
|
+
return response_data.response
|
|
450
|
+
|
|
451
|
+
def _create_programs_value_serialize(
|
|
452
|
+
self,
|
|
453
|
+
cell,
|
|
454
|
+
request_body,
|
|
455
|
+
_request_auth,
|
|
456
|
+
_content_type,
|
|
457
|
+
_headers,
|
|
458
|
+
_host_index,
|
|
459
|
+
) -> RequestSerialized:
|
|
460
|
+
|
|
461
|
+
_host = None
|
|
462
|
+
|
|
463
|
+
_collection_formats: Dict[str, str] = {}
|
|
464
|
+
|
|
465
|
+
_path_params: Dict[str, str] = {}
|
|
466
|
+
_query_params: List[Tuple[str, str]] = []
|
|
467
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
468
|
+
_form_params: List[Tuple[str, str]] = []
|
|
469
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
470
|
+
_body_params: Optional[bytes] = None
|
|
471
|
+
|
|
472
|
+
# process the path parameters
|
|
473
|
+
if cell is not None:
|
|
474
|
+
_path_params["cell"] = cell
|
|
475
|
+
# process the query parameters
|
|
476
|
+
# process the header parameters
|
|
477
|
+
# process the form parameters
|
|
478
|
+
# process the body parameter
|
|
479
|
+
if request_body is not None:
|
|
480
|
+
_body_params = request_body
|
|
481
|
+
|
|
482
|
+
# set the HTTP header `Accept`
|
|
483
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
484
|
+
|
|
485
|
+
# set the HTTP header `Content-Type`
|
|
486
|
+
if _content_type:
|
|
487
|
+
_header_params["Content-Type"] = _content_type
|
|
488
|
+
else:
|
|
489
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
490
|
+
if _default_content_type is not None:
|
|
491
|
+
_header_params["Content-Type"] = _default_content_type
|
|
492
|
+
|
|
493
|
+
# authentication setting
|
|
494
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
495
|
+
|
|
496
|
+
return self.api_client.param_serialize(
|
|
497
|
+
method="POST",
|
|
498
|
+
resource_path="/cells/{cell}/programs/values",
|
|
499
|
+
path_params=_path_params,
|
|
500
|
+
query_params=_query_params,
|
|
501
|
+
header_params=_header_params,
|
|
502
|
+
body=_body_params,
|
|
503
|
+
post_params=_form_params,
|
|
504
|
+
files=_files,
|
|
505
|
+
auth_settings=_auth_settings,
|
|
506
|
+
collection_formats=_collection_formats,
|
|
507
|
+
_host=_host,
|
|
508
|
+
_request_auth=_request_auth,
|
|
509
|
+
)
|
|
510
|
+
|
|
511
|
+
@validate_call
|
|
512
|
+
async def delete_program_value(
|
|
513
|
+
self,
|
|
514
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
515
|
+
key: StrictStr,
|
|
516
|
+
_request_timeout: Union[
|
|
517
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
518
|
+
] = None,
|
|
519
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
520
|
+
_content_type: Optional[StrictStr] = None,
|
|
521
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
522
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
523
|
+
) -> None:
|
|
524
|
+
"""(Deprecated) Delete Value
|
|
525
|
+
|
|
526
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Delete a value from the database.
|
|
527
|
+
|
|
528
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
529
|
+
:type cell: str
|
|
530
|
+
:param key: (required)
|
|
531
|
+
:type key: str
|
|
532
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
533
|
+
number provided, it will be total request
|
|
534
|
+
timeout. It can also be a pair (tuple) of
|
|
535
|
+
(connection, read) timeouts.
|
|
536
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
537
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
538
|
+
request; this effectively ignores the
|
|
539
|
+
authentication in the spec for a single request.
|
|
540
|
+
:type _request_auth: dict, optional
|
|
541
|
+
:param _content_type: force content-type for the request.
|
|
542
|
+
:type _content_type: str, Optional
|
|
543
|
+
:param _headers: set to override the headers for a single
|
|
544
|
+
request; this effectively ignores the headers
|
|
545
|
+
in the spec for a single request.
|
|
546
|
+
:type _headers: dict, optional
|
|
547
|
+
:param _host_index: set to override the host_index for a single
|
|
548
|
+
request; this effectively ignores the host_index
|
|
549
|
+
in the spec for a single request.
|
|
550
|
+
:type _host_index: int, optional
|
|
551
|
+
:return: Returns the result object.
|
|
552
|
+
""" # noqa: E501
|
|
553
|
+
warnings.warn("DELETE /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
554
|
+
|
|
555
|
+
_param = self._delete_program_value_serialize(
|
|
556
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
557
|
+
)
|
|
558
|
+
|
|
559
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
560
|
+
"204": None,
|
|
561
|
+
"404": None,
|
|
562
|
+
"422": "HTTPValidationError2",
|
|
563
|
+
}
|
|
564
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
565
|
+
await response_data.read()
|
|
566
|
+
return self.api_client.response_deserialize(
|
|
567
|
+
response_data=response_data,
|
|
568
|
+
response_types_map=_response_types_map,
|
|
569
|
+
).data
|
|
570
|
+
|
|
571
|
+
@validate_call
|
|
572
|
+
async def delete_program_value_with_http_info(
|
|
573
|
+
self,
|
|
574
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
575
|
+
key: StrictStr,
|
|
576
|
+
_request_timeout: Union[
|
|
577
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
578
|
+
] = None,
|
|
579
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
580
|
+
_content_type: Optional[StrictStr] = None,
|
|
581
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
582
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
583
|
+
) -> ApiResponse[None]:
|
|
584
|
+
"""(Deprecated) Delete Value
|
|
585
|
+
|
|
586
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Delete a value from the database.
|
|
587
|
+
|
|
588
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
589
|
+
:type cell: str
|
|
590
|
+
:param key: (required)
|
|
591
|
+
:type key: str
|
|
592
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
593
|
+
number provided, it will be total request
|
|
594
|
+
timeout. It can also be a pair (tuple) of
|
|
595
|
+
(connection, read) timeouts.
|
|
596
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
597
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
598
|
+
request; this effectively ignores the
|
|
599
|
+
authentication in the spec for a single request.
|
|
600
|
+
:type _request_auth: dict, optional
|
|
601
|
+
:param _content_type: force content-type for the request.
|
|
602
|
+
:type _content_type: str, Optional
|
|
603
|
+
:param _headers: set to override the headers for a single
|
|
604
|
+
request; this effectively ignores the headers
|
|
605
|
+
in the spec for a single request.
|
|
606
|
+
:type _headers: dict, optional
|
|
607
|
+
:param _host_index: set to override the host_index for a single
|
|
608
|
+
request; this effectively ignores the host_index
|
|
609
|
+
in the spec for a single request.
|
|
610
|
+
:type _host_index: int, optional
|
|
611
|
+
:return: Returns the result object.
|
|
612
|
+
""" # noqa: E501
|
|
613
|
+
warnings.warn("DELETE /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
614
|
+
|
|
615
|
+
_param = self._delete_program_value_serialize(
|
|
616
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
617
|
+
)
|
|
618
|
+
|
|
619
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
620
|
+
"204": None,
|
|
621
|
+
"404": None,
|
|
622
|
+
"422": "HTTPValidationError2",
|
|
623
|
+
}
|
|
624
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
625
|
+
await response_data.read()
|
|
626
|
+
return self.api_client.response_deserialize(
|
|
627
|
+
response_data=response_data,
|
|
628
|
+
response_types_map=_response_types_map,
|
|
629
|
+
)
|
|
630
|
+
|
|
631
|
+
@validate_call
|
|
632
|
+
async def delete_program_value_without_preload_content(
|
|
633
|
+
self,
|
|
634
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
635
|
+
key: StrictStr,
|
|
636
|
+
_request_timeout: Union[
|
|
637
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
638
|
+
] = None,
|
|
639
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
640
|
+
_content_type: Optional[StrictStr] = None,
|
|
641
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
642
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
643
|
+
) -> RESTResponseType:
|
|
644
|
+
"""(Deprecated) Delete Value
|
|
645
|
+
|
|
646
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Delete a value from the database.
|
|
647
|
+
|
|
648
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
649
|
+
:type cell: str
|
|
650
|
+
:param key: (required)
|
|
651
|
+
:type key: str
|
|
652
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
653
|
+
number provided, it will be total request
|
|
654
|
+
timeout. It can also be a pair (tuple) of
|
|
655
|
+
(connection, read) timeouts.
|
|
656
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
657
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
658
|
+
request; this effectively ignores the
|
|
659
|
+
authentication in the spec for a single request.
|
|
660
|
+
:type _request_auth: dict, optional
|
|
661
|
+
:param _content_type: force content-type for the request.
|
|
662
|
+
:type _content_type: str, Optional
|
|
663
|
+
:param _headers: set to override the headers for a single
|
|
664
|
+
request; this effectively ignores the headers
|
|
665
|
+
in the spec for a single request.
|
|
666
|
+
:type _headers: dict, optional
|
|
667
|
+
:param _host_index: set to override the host_index for a single
|
|
668
|
+
request; this effectively ignores the host_index
|
|
669
|
+
in the spec for a single request.
|
|
670
|
+
:type _host_index: int, optional
|
|
671
|
+
:return: Returns the result object.
|
|
672
|
+
""" # noqa: E501
|
|
673
|
+
warnings.warn("DELETE /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
674
|
+
|
|
675
|
+
_param = self._delete_program_value_serialize(
|
|
676
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
677
|
+
)
|
|
678
|
+
|
|
679
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
680
|
+
"204": None,
|
|
681
|
+
"404": None,
|
|
682
|
+
"422": "HTTPValidationError2",
|
|
683
|
+
}
|
|
684
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
685
|
+
return response_data.response
|
|
686
|
+
|
|
687
|
+
def _delete_program_value_serialize(
|
|
688
|
+
self,
|
|
689
|
+
cell,
|
|
690
|
+
key,
|
|
691
|
+
_request_auth,
|
|
692
|
+
_content_type,
|
|
693
|
+
_headers,
|
|
694
|
+
_host_index,
|
|
695
|
+
) -> RequestSerialized:
|
|
696
|
+
|
|
697
|
+
_host = None
|
|
698
|
+
|
|
699
|
+
_collection_formats: Dict[str, str] = {}
|
|
700
|
+
|
|
701
|
+
_path_params: Dict[str, str] = {}
|
|
702
|
+
_query_params: List[Tuple[str, str]] = []
|
|
703
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
704
|
+
_form_params: List[Tuple[str, str]] = []
|
|
705
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
706
|
+
_body_params: Optional[bytes] = None
|
|
707
|
+
|
|
708
|
+
# process the path parameters
|
|
709
|
+
if cell is not None:
|
|
710
|
+
_path_params["cell"] = cell
|
|
711
|
+
if key is not None:
|
|
712
|
+
_path_params["key"] = key
|
|
713
|
+
# process the query parameters
|
|
714
|
+
# process the header parameters
|
|
715
|
+
# process the form parameters
|
|
716
|
+
# process the body parameter
|
|
717
|
+
|
|
718
|
+
# set the HTTP header `Accept`
|
|
719
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
720
|
+
|
|
721
|
+
# authentication setting
|
|
722
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
723
|
+
|
|
724
|
+
return self.api_client.param_serialize(
|
|
725
|
+
method="DELETE",
|
|
726
|
+
resource_path="/cells/{cell}/programs/values/{key}",
|
|
727
|
+
path_params=_path_params,
|
|
728
|
+
query_params=_query_params,
|
|
729
|
+
header_params=_header_params,
|
|
730
|
+
body=_body_params,
|
|
731
|
+
post_params=_form_params,
|
|
732
|
+
files=_files,
|
|
733
|
+
auth_settings=_auth_settings,
|
|
734
|
+
collection_formats=_collection_formats,
|
|
735
|
+
_host=_host,
|
|
736
|
+
_request_auth=_request_auth,
|
|
737
|
+
)
|
|
738
|
+
|
|
739
|
+
@validate_call
|
|
740
|
+
async def get_program_value(
|
|
741
|
+
self,
|
|
742
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
743
|
+
key: StrictStr,
|
|
744
|
+
_request_timeout: Union[
|
|
745
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
746
|
+
] = None,
|
|
747
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
748
|
+
_content_type: Optional[StrictStr] = None,
|
|
749
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
750
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
751
|
+
) -> ResponseGetValueProgramsValuesKeyGet:
|
|
752
|
+
"""(Deprecated) Get Value
|
|
753
|
+
|
|
754
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Return a value stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
755
|
+
|
|
756
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
757
|
+
:type cell: str
|
|
758
|
+
:param key: (required)
|
|
759
|
+
:type key: str
|
|
760
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
761
|
+
number provided, it will be total request
|
|
762
|
+
timeout. It can also be a pair (tuple) of
|
|
763
|
+
(connection, read) timeouts.
|
|
764
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
765
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
766
|
+
request; this effectively ignores the
|
|
767
|
+
authentication in the spec for a single request.
|
|
768
|
+
:type _request_auth: dict, optional
|
|
769
|
+
:param _content_type: force content-type for the request.
|
|
770
|
+
:type _content_type: str, Optional
|
|
771
|
+
:param _headers: set to override the headers for a single
|
|
772
|
+
request; this effectively ignores the headers
|
|
773
|
+
in the spec for a single request.
|
|
774
|
+
:type _headers: dict, optional
|
|
775
|
+
:param _host_index: set to override the host_index for a single
|
|
776
|
+
request; this effectively ignores the host_index
|
|
777
|
+
in the spec for a single request.
|
|
778
|
+
:type _host_index: int, optional
|
|
779
|
+
:return: Returns the result object.
|
|
780
|
+
""" # noqa: E501
|
|
781
|
+
warnings.warn("GET /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
782
|
+
|
|
783
|
+
_param = self._get_program_value_serialize(
|
|
784
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
785
|
+
)
|
|
786
|
+
|
|
787
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
788
|
+
"200": "ResponseGetValueProgramsValuesKeyGet",
|
|
789
|
+
"404": None,
|
|
790
|
+
"422": "HTTPValidationError2",
|
|
791
|
+
}
|
|
792
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
793
|
+
await response_data.read()
|
|
794
|
+
return self.api_client.response_deserialize(
|
|
795
|
+
response_data=response_data,
|
|
796
|
+
response_types_map=_response_types_map,
|
|
797
|
+
).data
|
|
798
|
+
|
|
799
|
+
@validate_call
|
|
800
|
+
async def get_program_value_with_http_info(
|
|
801
|
+
self,
|
|
802
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
803
|
+
key: StrictStr,
|
|
804
|
+
_request_timeout: Union[
|
|
805
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
806
|
+
] = None,
|
|
807
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
808
|
+
_content_type: Optional[StrictStr] = None,
|
|
809
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
810
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
811
|
+
) -> ApiResponse[ResponseGetValueProgramsValuesKeyGet]:
|
|
812
|
+
"""(Deprecated) Get Value
|
|
813
|
+
|
|
814
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Return a value stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
815
|
+
|
|
816
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
817
|
+
:type cell: str
|
|
818
|
+
:param key: (required)
|
|
819
|
+
:type key: str
|
|
820
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
821
|
+
number provided, it will be total request
|
|
822
|
+
timeout. It can also be a pair (tuple) of
|
|
823
|
+
(connection, read) timeouts.
|
|
824
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
825
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
826
|
+
request; this effectively ignores the
|
|
827
|
+
authentication in the spec for a single request.
|
|
828
|
+
:type _request_auth: dict, optional
|
|
829
|
+
:param _content_type: force content-type for the request.
|
|
830
|
+
:type _content_type: str, Optional
|
|
831
|
+
:param _headers: set to override the headers for a single
|
|
832
|
+
request; this effectively ignores the headers
|
|
833
|
+
in the spec for a single request.
|
|
834
|
+
:type _headers: dict, optional
|
|
835
|
+
:param _host_index: set to override the host_index for a single
|
|
836
|
+
request; this effectively ignores the host_index
|
|
837
|
+
in the spec for a single request.
|
|
838
|
+
:type _host_index: int, optional
|
|
839
|
+
:return: Returns the result object.
|
|
840
|
+
""" # noqa: E501
|
|
841
|
+
warnings.warn("GET /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
842
|
+
|
|
843
|
+
_param = self._get_program_value_serialize(
|
|
844
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
845
|
+
)
|
|
846
|
+
|
|
847
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
848
|
+
"200": "ResponseGetValueProgramsValuesKeyGet",
|
|
849
|
+
"404": None,
|
|
850
|
+
"422": "HTTPValidationError2",
|
|
851
|
+
}
|
|
852
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
853
|
+
await response_data.read()
|
|
854
|
+
return self.api_client.response_deserialize(
|
|
855
|
+
response_data=response_data,
|
|
856
|
+
response_types_map=_response_types_map,
|
|
857
|
+
)
|
|
858
|
+
|
|
859
|
+
@validate_call
|
|
860
|
+
async def get_program_value_without_preload_content(
|
|
861
|
+
self,
|
|
862
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
863
|
+
key: StrictStr,
|
|
864
|
+
_request_timeout: Union[
|
|
865
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
866
|
+
] = None,
|
|
867
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
868
|
+
_content_type: Optional[StrictStr] = None,
|
|
869
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
870
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
871
|
+
) -> RESTResponseType:
|
|
872
|
+
"""(Deprecated) Get Value
|
|
873
|
+
|
|
874
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Return a value stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
875
|
+
|
|
876
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
877
|
+
:type cell: str
|
|
878
|
+
:param key: (required)
|
|
879
|
+
:type key: str
|
|
880
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
881
|
+
number provided, it will be total request
|
|
882
|
+
timeout. It can also be a pair (tuple) of
|
|
883
|
+
(connection, read) timeouts.
|
|
884
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
885
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
886
|
+
request; this effectively ignores the
|
|
887
|
+
authentication in the spec for a single request.
|
|
888
|
+
:type _request_auth: dict, optional
|
|
889
|
+
:param _content_type: force content-type for the request.
|
|
890
|
+
:type _content_type: str, Optional
|
|
891
|
+
:param _headers: set to override the headers for a single
|
|
892
|
+
request; this effectively ignores the headers
|
|
893
|
+
in the spec for a single request.
|
|
894
|
+
:type _headers: dict, optional
|
|
895
|
+
:param _host_index: set to override the host_index for a single
|
|
896
|
+
request; this effectively ignores the host_index
|
|
897
|
+
in the spec for a single request.
|
|
898
|
+
:type _host_index: int, optional
|
|
899
|
+
:return: Returns the result object.
|
|
900
|
+
""" # noqa: E501
|
|
901
|
+
warnings.warn("GET /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
902
|
+
|
|
903
|
+
_param = self._get_program_value_serialize(
|
|
904
|
+
cell=cell, key=key, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
905
|
+
)
|
|
906
|
+
|
|
907
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
908
|
+
"200": "ResponseGetValueProgramsValuesKeyGet",
|
|
909
|
+
"404": None,
|
|
910
|
+
"422": "HTTPValidationError2",
|
|
911
|
+
}
|
|
912
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
913
|
+
return response_data.response
|
|
914
|
+
|
|
915
|
+
def _get_program_value_serialize(
|
|
916
|
+
self,
|
|
917
|
+
cell,
|
|
918
|
+
key,
|
|
919
|
+
_request_auth,
|
|
920
|
+
_content_type,
|
|
921
|
+
_headers,
|
|
922
|
+
_host_index,
|
|
923
|
+
) -> RequestSerialized:
|
|
924
|
+
|
|
925
|
+
_host = None
|
|
926
|
+
|
|
927
|
+
_collection_formats: Dict[str, str] = {}
|
|
928
|
+
|
|
929
|
+
_path_params: Dict[str, str] = {}
|
|
930
|
+
_query_params: List[Tuple[str, str]] = []
|
|
931
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
932
|
+
_form_params: List[Tuple[str, str]] = []
|
|
933
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
934
|
+
_body_params: Optional[bytes] = None
|
|
935
|
+
|
|
936
|
+
# process the path parameters
|
|
937
|
+
if cell is not None:
|
|
938
|
+
_path_params["cell"] = cell
|
|
939
|
+
if key is not None:
|
|
940
|
+
_path_params["key"] = key
|
|
941
|
+
# process the query parameters
|
|
942
|
+
# process the header parameters
|
|
943
|
+
# process the form parameters
|
|
944
|
+
# process the body parameter
|
|
945
|
+
|
|
946
|
+
# set the HTTP header `Accept`
|
|
947
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
948
|
+
|
|
949
|
+
# authentication setting
|
|
950
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
951
|
+
|
|
952
|
+
return self.api_client.param_serialize(
|
|
953
|
+
method="GET",
|
|
954
|
+
resource_path="/cells/{cell}/programs/values/{key}",
|
|
955
|
+
path_params=_path_params,
|
|
956
|
+
query_params=_query_params,
|
|
957
|
+
header_params=_header_params,
|
|
958
|
+
body=_body_params,
|
|
959
|
+
post_params=_form_params,
|
|
960
|
+
files=_files,
|
|
961
|
+
auth_settings=_auth_settings,
|
|
962
|
+
collection_formats=_collection_formats,
|
|
963
|
+
_host=_host,
|
|
964
|
+
_request_auth=_request_auth,
|
|
965
|
+
)
|
|
966
|
+
|
|
967
|
+
@validate_call
|
|
968
|
+
async def list_programs_values(
|
|
969
|
+
self,
|
|
970
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
971
|
+
_request_timeout: Union[
|
|
972
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
973
|
+
] = None,
|
|
974
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
975
|
+
_content_type: Optional[StrictStr] = None,
|
|
976
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
977
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
978
|
+
) -> Dict[str, ResponseGetValuesProgramsValuesGetValue]:
|
|
979
|
+
"""(Deprecated) Get Values
|
|
980
|
+
|
|
981
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Gets all values that are stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value storage. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
982
|
+
|
|
983
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
984
|
+
:type cell: str
|
|
985
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
986
|
+
number provided, it will be total request
|
|
987
|
+
timeout. It can also be a pair (tuple) of
|
|
988
|
+
(connection, read) timeouts.
|
|
989
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
990
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
991
|
+
request; this effectively ignores the
|
|
992
|
+
authentication in the spec for a single request.
|
|
993
|
+
:type _request_auth: dict, optional
|
|
994
|
+
:param _content_type: force content-type for the request.
|
|
995
|
+
:type _content_type: str, Optional
|
|
996
|
+
:param _headers: set to override the headers for a single
|
|
997
|
+
request; this effectively ignores the headers
|
|
998
|
+
in the spec for a single request.
|
|
999
|
+
:type _headers: dict, optional
|
|
1000
|
+
:param _host_index: set to override the host_index for a single
|
|
1001
|
+
request; this effectively ignores the host_index
|
|
1002
|
+
in the spec for a single request.
|
|
1003
|
+
:type _host_index: int, optional
|
|
1004
|
+
:return: Returns the result object.
|
|
1005
|
+
""" # noqa: E501
|
|
1006
|
+
warnings.warn("GET /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
1007
|
+
|
|
1008
|
+
_param = self._list_programs_values_serialize(
|
|
1009
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
1010
|
+
)
|
|
1011
|
+
|
|
1012
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1013
|
+
"200": "Dict[str, ResponseGetValuesProgramsValuesGetValue]",
|
|
1014
|
+
"404": None,
|
|
1015
|
+
}
|
|
1016
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1017
|
+
await response_data.read()
|
|
1018
|
+
return self.api_client.response_deserialize(
|
|
1019
|
+
response_data=response_data,
|
|
1020
|
+
response_types_map=_response_types_map,
|
|
1021
|
+
).data
|
|
1022
|
+
|
|
1023
|
+
@validate_call
|
|
1024
|
+
async def list_programs_values_with_http_info(
|
|
1025
|
+
self,
|
|
1026
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1027
|
+
_request_timeout: Union[
|
|
1028
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1029
|
+
] = None,
|
|
1030
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1031
|
+
_content_type: Optional[StrictStr] = None,
|
|
1032
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1033
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1034
|
+
) -> ApiResponse[Dict[str, ResponseGetValuesProgramsValuesGetValue]]:
|
|
1035
|
+
"""(Deprecated) Get Values
|
|
1036
|
+
|
|
1037
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Gets all values that are stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value storage. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
1038
|
+
|
|
1039
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1040
|
+
:type cell: str
|
|
1041
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1042
|
+
number provided, it will be total request
|
|
1043
|
+
timeout. It can also be a pair (tuple) of
|
|
1044
|
+
(connection, read) timeouts.
|
|
1045
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1046
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1047
|
+
request; this effectively ignores the
|
|
1048
|
+
authentication in the spec for a single request.
|
|
1049
|
+
:type _request_auth: dict, optional
|
|
1050
|
+
:param _content_type: force content-type for the request.
|
|
1051
|
+
:type _content_type: str, Optional
|
|
1052
|
+
:param _headers: set to override the headers for a single
|
|
1053
|
+
request; this effectively ignores the headers
|
|
1054
|
+
in the spec for a single request.
|
|
1055
|
+
:type _headers: dict, optional
|
|
1056
|
+
:param _host_index: set to override the host_index for a single
|
|
1057
|
+
request; this effectively ignores the host_index
|
|
1058
|
+
in the spec for a single request.
|
|
1059
|
+
:type _host_index: int, optional
|
|
1060
|
+
:return: Returns the result object.
|
|
1061
|
+
""" # noqa: E501
|
|
1062
|
+
warnings.warn("GET /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
1063
|
+
|
|
1064
|
+
_param = self._list_programs_values_serialize(
|
|
1065
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
1066
|
+
)
|
|
1067
|
+
|
|
1068
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1069
|
+
"200": "Dict[str, ResponseGetValuesProgramsValuesGetValue]",
|
|
1070
|
+
"404": None,
|
|
1071
|
+
}
|
|
1072
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1073
|
+
await response_data.read()
|
|
1074
|
+
return self.api_client.response_deserialize(
|
|
1075
|
+
response_data=response_data,
|
|
1076
|
+
response_types_map=_response_types_map,
|
|
1077
|
+
)
|
|
1078
|
+
|
|
1079
|
+
@validate_call
|
|
1080
|
+
async def list_programs_values_without_preload_content(
|
|
1081
|
+
self,
|
|
1082
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1083
|
+
_request_timeout: Union[
|
|
1084
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1085
|
+
] = None,
|
|
1086
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1087
|
+
_content_type: Optional[StrictStr] = None,
|
|
1088
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1089
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1090
|
+
) -> RESTResponseType:
|
|
1091
|
+
"""(Deprecated) Get Values
|
|
1092
|
+
|
|
1093
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Gets all values that are stored in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value storage. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
1094
|
+
|
|
1095
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1096
|
+
:type cell: str
|
|
1097
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1098
|
+
number provided, it will be total request
|
|
1099
|
+
timeout. It can also be a pair (tuple) of
|
|
1100
|
+
(connection, read) timeouts.
|
|
1101
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1102
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1103
|
+
request; this effectively ignores the
|
|
1104
|
+
authentication in the spec for a single request.
|
|
1105
|
+
:type _request_auth: dict, optional
|
|
1106
|
+
:param _content_type: force content-type for the request.
|
|
1107
|
+
:type _content_type: str, Optional
|
|
1108
|
+
:param _headers: set to override the headers for a single
|
|
1109
|
+
request; this effectively ignores the headers
|
|
1110
|
+
in the spec for a single request.
|
|
1111
|
+
:type _headers: dict, optional
|
|
1112
|
+
:param _host_index: set to override the host_index for a single
|
|
1113
|
+
request; this effectively ignores the host_index
|
|
1114
|
+
in the spec for a single request.
|
|
1115
|
+
:type _host_index: int, optional
|
|
1116
|
+
:return: Returns the result object.
|
|
1117
|
+
""" # noqa: E501
|
|
1118
|
+
warnings.warn("GET /cells/{cell}/programs/values is deprecated.", DeprecationWarning)
|
|
1119
|
+
|
|
1120
|
+
_param = self._list_programs_values_serialize(
|
|
1121
|
+
cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
|
|
1122
|
+
)
|
|
1123
|
+
|
|
1124
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1125
|
+
"200": "Dict[str, ResponseGetValuesProgramsValuesGetValue]",
|
|
1126
|
+
"404": None,
|
|
1127
|
+
}
|
|
1128
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1129
|
+
return response_data.response
|
|
1130
|
+
|
|
1131
|
+
def _list_programs_values_serialize(
|
|
1132
|
+
self,
|
|
1133
|
+
cell,
|
|
1134
|
+
_request_auth,
|
|
1135
|
+
_content_type,
|
|
1136
|
+
_headers,
|
|
1137
|
+
_host_index,
|
|
1138
|
+
) -> RequestSerialized:
|
|
1139
|
+
|
|
1140
|
+
_host = None
|
|
1141
|
+
|
|
1142
|
+
_collection_formats: Dict[str, str] = {}
|
|
1143
|
+
|
|
1144
|
+
_path_params: Dict[str, str] = {}
|
|
1145
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1146
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1147
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1148
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1149
|
+
_body_params: Optional[bytes] = None
|
|
1150
|
+
|
|
1151
|
+
# process the path parameters
|
|
1152
|
+
if cell is not None:
|
|
1153
|
+
_path_params["cell"] = cell
|
|
1154
|
+
# process the query parameters
|
|
1155
|
+
# process the header parameters
|
|
1156
|
+
# process the form parameters
|
|
1157
|
+
# process the body parameter
|
|
1158
|
+
|
|
1159
|
+
# set the HTTP header `Accept`
|
|
1160
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
1161
|
+
|
|
1162
|
+
# authentication setting
|
|
1163
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
1164
|
+
|
|
1165
|
+
return self.api_client.param_serialize(
|
|
1166
|
+
method="GET",
|
|
1167
|
+
resource_path="/cells/{cell}/programs/values",
|
|
1168
|
+
path_params=_path_params,
|
|
1169
|
+
query_params=_query_params,
|
|
1170
|
+
header_params=_header_params,
|
|
1171
|
+
body=_body_params,
|
|
1172
|
+
post_params=_form_params,
|
|
1173
|
+
files=_files,
|
|
1174
|
+
auth_settings=_auth_settings,
|
|
1175
|
+
collection_formats=_collection_formats,
|
|
1176
|
+
_host=_host,
|
|
1177
|
+
_request_auth=_request_auth,
|
|
1178
|
+
)
|
|
1179
|
+
|
|
1180
|
+
@validate_call
|
|
1181
|
+
async def update_program_value(
|
|
1182
|
+
self,
|
|
1183
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1184
|
+
key: StrictStr,
|
|
1185
|
+
value: Value,
|
|
1186
|
+
_request_timeout: Union[
|
|
1187
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1188
|
+
] = None,
|
|
1189
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1190
|
+
_content_type: Optional[StrictStr] = None,
|
|
1191
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1192
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1193
|
+
) -> None:
|
|
1194
|
+
"""(Deprecated) Create or Update Value
|
|
1195
|
+
|
|
1196
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Creates or updates a value in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
1197
|
+
|
|
1198
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1199
|
+
:type cell: str
|
|
1200
|
+
:param key: (required)
|
|
1201
|
+
:type key: str
|
|
1202
|
+
:param value: (required)
|
|
1203
|
+
:type value: Value
|
|
1204
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1205
|
+
number provided, it will be total request
|
|
1206
|
+
timeout. It can also be a pair (tuple) of
|
|
1207
|
+
(connection, read) timeouts.
|
|
1208
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1209
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1210
|
+
request; this effectively ignores the
|
|
1211
|
+
authentication in the spec for a single request.
|
|
1212
|
+
:type _request_auth: dict, optional
|
|
1213
|
+
:param _content_type: force content-type for the request.
|
|
1214
|
+
:type _content_type: str, Optional
|
|
1215
|
+
:param _headers: set to override the headers for a single
|
|
1216
|
+
request; this effectively ignores the headers
|
|
1217
|
+
in the spec for a single request.
|
|
1218
|
+
:type _headers: dict, optional
|
|
1219
|
+
:param _host_index: set to override the host_index for a single
|
|
1220
|
+
request; this effectively ignores the host_index
|
|
1221
|
+
in the spec for a single request.
|
|
1222
|
+
:type _host_index: int, optional
|
|
1223
|
+
:return: Returns the result object.
|
|
1224
|
+
""" # noqa: E501
|
|
1225
|
+
warnings.warn("PUT /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
1226
|
+
|
|
1227
|
+
_param = self._update_program_value_serialize(
|
|
1228
|
+
cell=cell,
|
|
1229
|
+
key=key,
|
|
1230
|
+
value=value,
|
|
1231
|
+
_request_auth=_request_auth,
|
|
1232
|
+
_content_type=_content_type,
|
|
1233
|
+
_headers=_headers,
|
|
1234
|
+
_host_index=_host_index,
|
|
1235
|
+
)
|
|
1236
|
+
|
|
1237
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1238
|
+
"204": None,
|
|
1239
|
+
"404": None,
|
|
1240
|
+
"422": "HTTPValidationError2",
|
|
1241
|
+
}
|
|
1242
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1243
|
+
await response_data.read()
|
|
1244
|
+
return self.api_client.response_deserialize(
|
|
1245
|
+
response_data=response_data,
|
|
1246
|
+
response_types_map=_response_types_map,
|
|
1247
|
+
).data
|
|
1248
|
+
|
|
1249
|
+
@validate_call
|
|
1250
|
+
async def update_program_value_with_http_info(
|
|
1251
|
+
self,
|
|
1252
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1253
|
+
key: StrictStr,
|
|
1254
|
+
value: Value,
|
|
1255
|
+
_request_timeout: Union[
|
|
1256
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1257
|
+
] = None,
|
|
1258
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1259
|
+
_content_type: Optional[StrictStr] = None,
|
|
1260
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1261
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1262
|
+
) -> ApiResponse[None]:
|
|
1263
|
+
"""(Deprecated) Create or Update Value
|
|
1264
|
+
|
|
1265
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Creates or updates a value in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
1266
|
+
|
|
1267
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1268
|
+
:type cell: str
|
|
1269
|
+
:param key: (required)
|
|
1270
|
+
:type key: str
|
|
1271
|
+
:param value: (required)
|
|
1272
|
+
:type value: Value
|
|
1273
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1274
|
+
number provided, it will be total request
|
|
1275
|
+
timeout. It can also be a pair (tuple) of
|
|
1276
|
+
(connection, read) timeouts.
|
|
1277
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1278
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1279
|
+
request; this effectively ignores the
|
|
1280
|
+
authentication in the spec for a single request.
|
|
1281
|
+
:type _request_auth: dict, optional
|
|
1282
|
+
:param _content_type: force content-type for the request.
|
|
1283
|
+
:type _content_type: str, Optional
|
|
1284
|
+
:param _headers: set to override the headers for a single
|
|
1285
|
+
request; this effectively ignores the headers
|
|
1286
|
+
in the spec for a single request.
|
|
1287
|
+
:type _headers: dict, optional
|
|
1288
|
+
:param _host_index: set to override the host_index for a single
|
|
1289
|
+
request; this effectively ignores the host_index
|
|
1290
|
+
in the spec for a single request.
|
|
1291
|
+
:type _host_index: int, optional
|
|
1292
|
+
:return: Returns the result object.
|
|
1293
|
+
""" # noqa: E501
|
|
1294
|
+
warnings.warn("PUT /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
1295
|
+
|
|
1296
|
+
_param = self._update_program_value_serialize(
|
|
1297
|
+
cell=cell,
|
|
1298
|
+
key=key,
|
|
1299
|
+
value=value,
|
|
1300
|
+
_request_auth=_request_auth,
|
|
1301
|
+
_content_type=_content_type,
|
|
1302
|
+
_headers=_headers,
|
|
1303
|
+
_host_index=_host_index,
|
|
1304
|
+
)
|
|
1305
|
+
|
|
1306
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1307
|
+
"204": None,
|
|
1308
|
+
"404": None,
|
|
1309
|
+
"422": "HTTPValidationError2",
|
|
1310
|
+
}
|
|
1311
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1312
|
+
await response_data.read()
|
|
1313
|
+
return self.api_client.response_deserialize(
|
|
1314
|
+
response_data=response_data,
|
|
1315
|
+
response_types_map=_response_types_map,
|
|
1316
|
+
)
|
|
1317
|
+
|
|
1318
|
+
@validate_call
|
|
1319
|
+
async def update_program_value_without_preload_content(
|
|
1320
|
+
self,
|
|
1321
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1322
|
+
key: StrictStr,
|
|
1323
|
+
value: Value,
|
|
1324
|
+
_request_timeout: Union[
|
|
1325
|
+
None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
|
|
1326
|
+
] = None,
|
|
1327
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1328
|
+
_content_type: Optional[StrictStr] = None,
|
|
1329
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1330
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1331
|
+
) -> RESTResponseType:
|
|
1332
|
+
"""(Deprecated) Create or Update Value
|
|
1333
|
+
|
|
1334
|
+
**Required permissions:** `can_operate_programs` - Execute and monitor programs ___ Deprecated endpoint. Creates or updates a value in the database. PREREQUISITE: The database has been added as a device. Add the database with [createDevice](#/operations/createDevice). The database itself is a key-value store. For reference of possible data types see: * [Documentation for elementary data types](/docs/docs/wandelscript/data-types/#elementary-types)
|
|
1335
|
+
|
|
1336
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1337
|
+
:type cell: str
|
|
1338
|
+
:param key: (required)
|
|
1339
|
+
:type key: str
|
|
1340
|
+
:param value: (required)
|
|
1341
|
+
:type value: Value
|
|
1342
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1343
|
+
number provided, it will be total request
|
|
1344
|
+
timeout. It can also be a pair (tuple) of
|
|
1345
|
+
(connection, read) timeouts.
|
|
1346
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1347
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1348
|
+
request; this effectively ignores the
|
|
1349
|
+
authentication in the spec for a single request.
|
|
1350
|
+
:type _request_auth: dict, optional
|
|
1351
|
+
:param _content_type: force content-type for the request.
|
|
1352
|
+
:type _content_type: str, Optional
|
|
1353
|
+
:param _headers: set to override the headers for a single
|
|
1354
|
+
request; this effectively ignores the headers
|
|
1355
|
+
in the spec for a single request.
|
|
1356
|
+
:type _headers: dict, optional
|
|
1357
|
+
:param _host_index: set to override the host_index for a single
|
|
1358
|
+
request; this effectively ignores the host_index
|
|
1359
|
+
in the spec for a single request.
|
|
1360
|
+
:type _host_index: int, optional
|
|
1361
|
+
:return: Returns the result object.
|
|
1362
|
+
""" # noqa: E501
|
|
1363
|
+
warnings.warn("PUT /cells/{cell}/programs/values/{key} is deprecated.", DeprecationWarning)
|
|
1364
|
+
|
|
1365
|
+
_param = self._update_program_value_serialize(
|
|
1366
|
+
cell=cell,
|
|
1367
|
+
key=key,
|
|
1368
|
+
value=value,
|
|
1369
|
+
_request_auth=_request_auth,
|
|
1370
|
+
_content_type=_content_type,
|
|
1371
|
+
_headers=_headers,
|
|
1372
|
+
_host_index=_host_index,
|
|
1373
|
+
)
|
|
1374
|
+
|
|
1375
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1376
|
+
"204": None,
|
|
1377
|
+
"404": None,
|
|
1378
|
+
"422": "HTTPValidationError2",
|
|
1379
|
+
}
|
|
1380
|
+
response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
|
|
1381
|
+
return response_data.response
|
|
1382
|
+
|
|
1383
|
+
def _update_program_value_serialize(
|
|
1384
|
+
self,
|
|
1385
|
+
cell,
|
|
1386
|
+
key,
|
|
1387
|
+
value,
|
|
1388
|
+
_request_auth,
|
|
1389
|
+
_content_type,
|
|
1390
|
+
_headers,
|
|
1391
|
+
_host_index,
|
|
1392
|
+
) -> RequestSerialized:
|
|
1393
|
+
|
|
1394
|
+
_host = None
|
|
1395
|
+
|
|
1396
|
+
_collection_formats: Dict[str, str] = {}
|
|
1397
|
+
|
|
1398
|
+
_path_params: Dict[str, str] = {}
|
|
1399
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1400
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1401
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1402
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1403
|
+
_body_params: Optional[bytes] = None
|
|
1404
|
+
|
|
1405
|
+
# process the path parameters
|
|
1406
|
+
if cell is not None:
|
|
1407
|
+
_path_params["cell"] = cell
|
|
1408
|
+
if key is not None:
|
|
1409
|
+
_path_params["key"] = key
|
|
1410
|
+
# process the query parameters
|
|
1411
|
+
# process the header parameters
|
|
1412
|
+
# process the form parameters
|
|
1413
|
+
# process the body parameter
|
|
1414
|
+
if value is not None:
|
|
1415
|
+
_body_params = value
|
|
1416
|
+
|
|
1417
|
+
# set the HTTP header `Accept`
|
|
1418
|
+
_header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
|
|
1419
|
+
|
|
1420
|
+
# set the HTTP header `Content-Type`
|
|
1421
|
+
if _content_type:
|
|
1422
|
+
_header_params["Content-Type"] = _content_type
|
|
1423
|
+
else:
|
|
1424
|
+
_default_content_type = self.api_client.select_header_content_type(["application/json"])
|
|
1425
|
+
if _default_content_type is not None:
|
|
1426
|
+
_header_params["Content-Type"] = _default_content_type
|
|
1427
|
+
|
|
1428
|
+
# authentication setting
|
|
1429
|
+
_auth_settings: List[str] = ["BearerAuth"]
|
|
1430
|
+
|
|
1431
|
+
return self.api_client.param_serialize(
|
|
1432
|
+
method="PUT",
|
|
1433
|
+
resource_path="/cells/{cell}/programs/values/{key}",
|
|
1434
|
+
path_params=_path_params,
|
|
1435
|
+
query_params=_query_params,
|
|
1436
|
+
header_params=_header_params,
|
|
1437
|
+
body=_body_params,
|
|
1438
|
+
post_params=_form_params,
|
|
1439
|
+
files=_files,
|
|
1440
|
+
auth_settings=_auth_settings,
|
|
1441
|
+
collection_formats=_collection_formats,
|
|
1442
|
+
_host=_host,
|
|
1443
|
+
_request_auth=_request_auth,
|
|
1444
|
+
)
|