wandelbots-api-client 25.8.0.dev23__py3-none-any.whl → 25.10.0rc2__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 +2 -3
- wandelbots_api_client/api/__init__.py +2 -0
- wandelbots_api_client/api/application_api.py +1 -2
- wandelbots_api_client/api/cell_api.py +1 -2
- wandelbots_api_client/api/controller_api.py +10 -5
- wandelbots_api_client/api/controller_ios_api.py +3 -6
- wandelbots_api_client/api/coordinate_systems_api.py +1 -2
- wandelbots_api_client/api/device_configuration_api.py +1 -2
- wandelbots_api_client/api/library_program_api.py +1 -2
- wandelbots_api_client/api/library_program_metadata_api.py +1 -2
- wandelbots_api_client/api/library_recipe_api.py +1 -2
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
- wandelbots_api_client/api/license_api.py +1 -2
- wandelbots_api_client/api/motion_api.py +17 -6
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +3 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +11 -6
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
- wandelbots_api_client/api/program_api.py +1 -2
- wandelbots_api_client/api/program_operator_api.py +1 -2
- wandelbots_api_client/api/program_values_api.py +1 -2
- wandelbots_api_client/api/store_collision_components_api.py +10 -8
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
- wandelbots_api_client/api/store_object_api.py +1 -2
- wandelbots_api_client/api/system_api.py +1 -2
- wandelbots_api_client/api/version_api.py +284 -0
- wandelbots_api_client/api/virtual_robot_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_behavior_api.py +6 -4
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +16 -17
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/authorization.py +244 -0
- wandelbots_api_client/configuration.py +18 -7
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -4
- wandelbots_api_client/models/abb_controller.py +5 -5
- wandelbots_api_client/models/abb_controller_egm_server.py +3 -3
- wandelbots_api_client/models/activate_license_request.py +2 -2
- wandelbots_api_client/models/add_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_response.py +2 -2
- wandelbots_api_client/models/api_version.py +91 -0
- wandelbots_api_client/models/app.py +8 -8
- wandelbots_api_client/models/array_input.py +2 -2
- wandelbots_api_client/models/array_output.py +2 -2
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +3 -3
- wandelbots_api_client/models/blending_position.py +3 -3
- wandelbots_api_client/models/box.py +5 -5
- wandelbots_api_client/models/box2.py +6 -6
- wandelbots_api_client/models/box3.py +6 -6
- wandelbots_api_client/models/capsule.py +3 -3
- wandelbots_api_client/models/capsule2.py +4 -4
- wandelbots_api_client/models/capsule3.py +4 -4
- wandelbots_api_client/models/capture.py +2 -2
- wandelbots_api_client/models/cell.py +4 -4
- wandelbots_api_client/models/circle.py +3 -3
- wandelbots_api_client/models/code_with_arguments.py +7 -6
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +4 -4
- wandelbots_api_client/models/collider_input.py +4 -4
- wandelbots_api_client/models/collider_output.py +4 -4
- wandelbots_api_client/models/collider_output_shape.py +1 -1
- wandelbots_api_client/models/collider_shape.py +1 -41
- wandelbots_api_client/models/collision.py +7 -7
- wandelbots_api_client/models/collision_contact.py +3 -3
- wandelbots_api_client/models/collision_motion_group.py +7 -6
- wandelbots_api_client/models/collision_motion_group_assembly.py +9 -8
- wandelbots_api_client/models/collision_robot_configuration_input.py +12 -10
- wandelbots_api_client/models/collision_robot_configuration_output.py +12 -10
- wandelbots_api_client/models/collision_scene.py +11 -9
- wandelbots_api_client/models/collision_scene_assembly.py +14 -12
- wandelbots_api_client/models/command.py +7 -7
- wandelbots_api_client/models/command_settings.py +4 -4
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +2 -2
- wandelbots_api_client/models/container_environment_inner.py +3 -3
- wandelbots_api_client/models/container_image.py +4 -4
- wandelbots_api_client/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/models/container_resources.py +2 -2
- wandelbots_api_client/models/container_storage.py +3 -3
- wandelbots_api_client/models/controller_capabilities.py +3 -3
- wandelbots_api_client/models/controller_instance.py +9 -9
- wandelbots_api_client/models/controller_instance_list.py +2 -2
- wandelbots_api_client/models/convex_hull.py +2 -2
- wandelbots_api_client/models/convex_hull2.py +3 -3
- wandelbots_api_client/models/convex_hull3.py +3 -3
- wandelbots_api_client/models/coordinate_system.py +6 -6
- wandelbots_api_client/models/coordinate_systems.py +2 -2
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +2 -2
- wandelbots_api_client/models/create_program_run_request.py +2 -2
- wandelbots_api_client/models/create_trigger200_response.py +2 -2
- wandelbots_api_client/models/create_trigger_request.py +7 -7
- wandelbots_api_client/models/cubic_spline.py +2 -2
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cycle_time.py +2 -2
- wandelbots_api_client/models/cylinder.py +3 -3
- wandelbots_api_client/models/cylinder2.py +4 -4
- wandelbots_api_client/models/cylinder3.py +4 -4
- wandelbots_api_client/models/dh_parameter.py +6 -6
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +10 -10
- wandelbots_api_client/models/error.py +3 -3
- wandelbots_api_client/models/execute_trajectory_request.py +1 -1
- wandelbots_api_client/models/execute_trajectory_response.py +1 -1
- wandelbots_api_client/models/execution_result.py +4 -4
- wandelbots_api_client/models/external_joint_stream_datapoint.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +5 -5
- wandelbots_api_client/models/fanuc_controller.py +3 -3
- wandelbots_api_client/models/feedback_collision.py +5 -5
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +4 -4
- wandelbots_api_client/models/feedback_out_of_workspace.py +3 -3
- wandelbots_api_client/models/feedback_singularity.py +4 -4
- wandelbots_api_client/models/flag.py +2 -2
- wandelbots_api_client/models/force_vector.py +4 -4
- wandelbots_api_client/models/geometry.py +12 -12
- wandelbots_api_client/models/get_all_program_runs200_response.py +2 -2
- wandelbots_api_client/models/get_all_triggers200_response.py +2 -2
- wandelbots_api_client/models/get_mode_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_sample_response.py +2 -2
- wandelbots_api_client/models/google_protobuf_any.py +2 -2
- wandelbots_api_client/models/http_exception_response.py +2 -2
- wandelbots_api_client/models/http_validation_error.py +2 -2
- wandelbots_api_client/models/http_validation_error2.py +2 -2
- wandelbots_api_client/models/image_credentials.py +4 -4
- wandelbots_api_client/models/info_service_capabilities.py +8 -8
- wandelbots_api_client/models/initialize_movement_request.py +6 -6
- wandelbots_api_client/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/models/initialize_movement_response_init_response.py +3 -3
- wandelbots_api_client/models/io.py +6 -6
- wandelbots_api_client/models/io_description.py +10 -10
- wandelbots_api_client/models/io_value.py +5 -5
- wandelbots_api_client/models/ios.py +2 -2
- wandelbots_api_client/models/jogging_response.py +4 -4
- wandelbots_api_client/models/jogging_service_capabilities.py +3 -3
- wandelbots_api_client/models/joint_jogging_request.py +6 -6
- wandelbots_api_client/models/joint_limit.py +5 -5
- wandelbots_api_client/models/joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/joint_position_request.py +4 -4
- wandelbots_api_client/models/joint_trajectory.py +4 -4
- wandelbots_api_client/models/joints.py +2 -2
- wandelbots_api_client/models/kinematic_service_capabilities.py +4 -4
- wandelbots_api_client/models/kuka_controller.py +10 -8
- wandelbots_api_client/models/kuka_controller_rsi_server.py +3 -3
- wandelbots_api_client/models/license.py +11 -11
- wandelbots_api_client/models/license_status.py +3 -3
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +13 -13
- wandelbots_api_client/models/limits_override.py +7 -7
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +2 -2
- wandelbots_api_client/models/list_io_values_response.py +2 -2
- wandelbots_api_client/models/list_payloads_response.py +2 -2
- wandelbots_api_client/models/list_program_metadata_response.py +2 -2
- wandelbots_api_client/models/list_recipe_metadata_response.py +2 -2
- wandelbots_api_client/models/list_response.py +2 -2
- wandelbots_api_client/models/list_tcps_response.py +2 -2
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +5 -5
- wandelbots_api_client/models/motion_command.py +4 -4
- wandelbots_api_client/models/motion_command_blending.py +1 -1
- wandelbots_api_client/models/motion_command_path.py +1 -1
- wandelbots_api_client/models/motion_group_behavior_getter.py +2 -2
- wandelbots_api_client/models/motion_group_info.py +4 -4
- wandelbots_api_client/models/motion_group_infos.py +2 -2
- wandelbots_api_client/models/motion_group_instance.py +6 -6
- wandelbots_api_client/models/motion_group_instance_list.py +2 -2
- wandelbots_api_client/models/motion_group_joints.py +5 -5
- wandelbots_api_client/models/motion_group_physical.py +6 -6
- wandelbots_api_client/models/motion_group_specification.py +3 -3
- wandelbots_api_client/models/motion_group_state.py +13 -13
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/models/motion_group_state_response.py +3 -3
- wandelbots_api_client/models/motion_id.py +2 -2
- wandelbots_api_client/models/motion_ids_list_response.py +2 -2
- wandelbots_api_client/models/motion_vector.py +4 -4
- wandelbots_api_client/models/mounting.py +3 -3
- wandelbots_api_client/models/move_request.py +9 -9
- wandelbots_api_client/models/move_response.py +3 -3
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +5 -5
- wandelbots_api_client/models/movement.py +2 -2
- wandelbots_api_client/models/movement_error.py +2 -2
- wandelbots_api_client/models/movement_error_error.py +2 -2
- wandelbots_api_client/models/movement_movement.py +4 -4
- wandelbots_api_client/models/op_mode.py +2 -2
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +4 -4
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +8 -8
- wandelbots_api_client/models/out_of_workspace.py +2 -2
- wandelbots_api_client/models/path.py +2 -2
- wandelbots_api_client/models/path_cartesian_ptp.py +3 -3
- wandelbots_api_client/models/path_circle.py +4 -4
- wandelbots_api_client/models/path_cubic_spline.py +3 -3
- wandelbots_api_client/models/path_joint_ptp.py +3 -3
- wandelbots_api_client/models/path_line.py +3 -3
- wandelbots_api_client/models/pause_movement_request.py +3 -3
- wandelbots_api_client/models/pause_movement_response.py +2 -2
- wandelbots_api_client/models/pause_movement_response_pause_response.py +3 -3
- wandelbots_api_client/models/pause_on_io.py +3 -3
- wandelbots_api_client/models/payload.py +5 -5
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +10 -9
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +10 -10
- wandelbots_api_client/models/plan_failed_response.py +8 -8
- wandelbots_api_client/models/plan_request.py +6 -6
- wandelbots_api_client/models/plan_response.py +4 -4
- wandelbots_api_client/models/plan_successful_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_failed_response.py +4 -4
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +10 -9
- wandelbots_api_client/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +2 -2
- wandelbots_api_client/models/plane3.py +2 -2
- wandelbots_api_client/models/planned_motion.py +6 -6
- wandelbots_api_client/models/planner_pose.py +3 -3
- wandelbots_api_client/models/planning_limits.py +13 -13
- wandelbots_api_client/models/planning_limits_limit_range.py +3 -3
- wandelbots_api_client/models/playback_speed_request.py +3 -3
- wandelbots_api_client/models/playback_speed_response.py +2 -2
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +2 -2
- wandelbots_api_client/models/point_cloud.py +2 -2
- wandelbots_api_client/models/pose.py +4 -4
- wandelbots_api_client/models/pose2.py +3 -3
- wandelbots_api_client/models/program_metadata.py +7 -7
- wandelbots_api_client/models/program_run.py +15 -14
- wandelbots_api_client/models/program_run_object.py +7 -7
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +2 -2
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +8 -8
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +3 -3
- wandelbots_api_client/models/quaternion.py +5 -5
- wandelbots_api_client/models/recipe_metadata.py +8 -8
- wandelbots_api_client/models/rectangle.py +3 -3
- wandelbots_api_client/models/rectangle2.py +4 -4
- wandelbots_api_client/models/rectangle3.py +4 -4
- wandelbots_api_client/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/models/rectangular_capsule2.py +5 -5
- wandelbots_api_client/models/rectangular_capsule3.py +5 -5
- wandelbots_api_client/models/release_channel.py +1 -1
- wandelbots_api_client/models/request.py +1 -1
- wandelbots_api_client/models/request1.py +1 -1
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
- wandelbots_api_client/models/robot_controller.py +3 -3
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +8 -8
- wandelbots_api_client/models/robot_link_geometry.py +3 -3
- wandelbots_api_client/models/robot_state.py +3 -3
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +5 -5
- wandelbots_api_client/models/robot_tcps.py +2 -2
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +3 -3
- wandelbots_api_client/models/safety_configuration.py +6 -6
- wandelbots_api_client/models/safety_setup.py +5 -5
- wandelbots_api_client/models/safety_setup_safety_settings.py +3 -3
- wandelbots_api_client/models/safety_setup_safety_zone.py +5 -5
- wandelbots_api_client/models/safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone_limits.py +3 -3
- wandelbots_api_client/models/safety_zone_violation.py +2 -2
- wandelbots_api_client/models/service_status.py +3 -3
- wandelbots_api_client/models/service_status_phase.py +1 -1
- wandelbots_api_client/models/service_status_severity.py +1 -1
- wandelbots_api_client/models/service_status_status.py +4 -4
- wandelbots_api_client/models/set_io.py +3 -3
- wandelbots_api_client/models/set_playback_speed.py +3 -3
- wandelbots_api_client/models/single_joint_limit.py +3 -3
- wandelbots_api_client/models/singularity.py +3 -3
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +2 -2
- wandelbots_api_client/models/sphere2.py +3 -3
- wandelbots_api_client/models/sphere3.py +3 -3
- wandelbots_api_client/models/standstill.py +2 -2
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +4 -4
- wandelbots_api_client/models/start_movement_request.py +6 -6
- wandelbots_api_client/models/start_on_io.py +3 -3
- wandelbots_api_client/models/status.py +4 -4
- wandelbots_api_client/models/stop_response.py +4 -4
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +2 -2
- wandelbots_api_client/models/stream_move_forward.py +2 -2
- wandelbots_api_client/models/stream_move_playback_speed.py +2 -2
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +4 -4
- wandelbots_api_client/models/stream_move_to_trajectory.py +2 -2
- wandelbots_api_client/models/stream_stop.py +2 -2
- wandelbots_api_client/models/tcp_pose.py +5 -5
- wandelbots_api_client/models/tcp_pose_request.py +5 -5
- wandelbots_api_client/models/tool_geometry.py +3 -3
- wandelbots_api_client/models/trajectory_sample.py +12 -12
- wandelbots_api_client/models/trigger_object.py +11 -11
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +3 -3
- wandelbots_api_client/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/models/update_program_metadata_request.py +4 -4
- wandelbots_api_client/models/update_recipe_metadata_request.py +4 -4
- wandelbots_api_client/models/update_trigger_request.py +6 -6
- wandelbots_api_client/models/validation_error.py +4 -4
- wandelbots_api_client/models/validation_error2.py +4 -4
- wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
- wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
- wandelbots_api_client/models/value.py +1 -1
- wandelbots_api_client/models/vector3d.py +4 -4
- wandelbots_api_client/models/version_number.py +9 -9
- wandelbots_api_client/models/virtual_controller.py +6 -6
- wandelbots_api_client/models/virtual_controller_types.py +13 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +3 -3
- wandelbots_api_client/models/yaskawa_controller.py +3 -3
- wandelbots_api_client/rest.py +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +11 -12
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +930 -82
- wandelbots_api_client/v2/api/cell_api.py +8 -9
- wandelbots_api_client/v2/api/controller_api.py +35 -32
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +14 -13
- wandelbots_api_client/v2/api/jogging_api.py +8 -6
- wandelbots_api_client/v2/api/kinematics_api.py +14 -16
- wandelbots_api_client/v2/api/license_api.py +8 -9
- wandelbots_api_client/v2/api/motion_group_api.py +10 -9
- wandelbots_api_client/v2/api/motion_group_models_api.py +16 -53
- wandelbots_api_client/v2/api/program_api.py +14 -15
- wandelbots_api_client/v2/api/store_collision_components_api.py +823 -50
- wandelbots_api_client/v2/api/store_collision_setups_api.py +264 -7
- wandelbots_api_client/v2/api/store_object_api.py +11 -12
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +14 -15
- wandelbots_api_client/v2/api/trajectory_execution_api.py +8 -6
- wandelbots_api_client/v2/api/trajectory_planning_api.py +17 -19
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +56 -42
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +20 -12
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +5 -6
- wandelbots_api_client/v2/api_client.py +15 -8
- wandelbots_api_client/v2/configuration.py +19 -8
- wandelbots_api_client/v2/exceptions.py +2 -2
- wandelbots_api_client/v2/models/__init__.py +52 -31
- wandelbots_api_client/v2/models/abb_controller.py +8 -11
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +4 -4
- wandelbots_api_client/v2/models/activate_license_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +58 -58
- wandelbots_api_client/v2/models/add_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_response.py +4 -4
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +11 -11
- wandelbots_api_client/v2/models/behavior.py +3 -3
- wandelbots_api_client/v2/models/blending_auto.py +6 -5
- wandelbots_api_client/v2/models/blending_position.py +4 -4
- wandelbots_api_client/v2/models/boolean_value.py +6 -9
- wandelbots_api_client/v2/models/box.py +7 -7
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +16 -16
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +10 -13
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +4 -4
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +5 -8
- wandelbots_api_client/v2/models/bus_io_type.py +65 -18
- wandelbots_api_client/v2/models/bus_ios_state.py +4 -4
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +5 -5
- wandelbots_api_client/v2/models/cartesian_limits.py +6 -6
- wandelbots_api_client/v2/models/cell.py +7 -7
- wandelbots_api_client/v2/models/collider.py +5 -5
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +8 -8
- wandelbots_api_client/v2/models/collision_contact.py +4 -4
- wandelbots_api_client/v2/models/collision_error.py +3 -3
- wandelbots_api_client/v2/models/collision_free_algorithm.py +15 -15
- wandelbots_api_client/v2/models/collision_setup.py +14 -12
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +3 -3
- wandelbots_api_client/v2/models/configuration_resource.py +5 -5
- wandelbots_api_client/v2/models/container_environment_inner.py +4 -4
- wandelbots_api_client/v2/models/container_image.py +5 -5
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +3 -3
- wandelbots_api_client/v2/models/container_resources.py +4 -4
- wandelbots_api_client/v2/models/container_storage.py +4 -4
- wandelbots_api_client/v2/models/controller_description.py +6 -6
- wandelbots_api_client/v2/models/convex_hull.py +4 -4
- wandelbots_api_client/v2/models/coordinate_system.py +8 -8
- wandelbots_api_client/v2/models/coordinate_system_data.py +7 -7
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +4 -4
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +5 -5
- wandelbots_api_client/v2/models/dh_parameter.py +7 -7
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +4 -4
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +5 -5
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +6 -5
- wandelbots_api_client/v2/models/error_joint_position_collision.py +6 -6
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +4 -4
- wandelbots_api_client/v2/models/execute.py +4 -4
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +30 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +7 -7
- wandelbots_api_client/v2/models/execute_trajectory_request.py +30 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +7 -7
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +4 -4
- wandelbots_api_client/v2/models/external_joint_stream_request.py +3 -3
- wandelbots_api_client/v2/models/fanuc_controller.py +6 -9
- wandelbots_api_client/v2/models/feedback_collision.py +6 -6
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +7 -6
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +4 -4
- wandelbots_api_client/v2/models/feedback_singularity.py +5 -5
- wandelbots_api_client/v2/models/flag.py +3 -3
- wandelbots_api_client/v2/models/float_value.py +6 -9
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/forward_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/get_trajectory_response.py +5 -5
- wandelbots_api_client/v2/models/http_validation_error.py +3 -3
- wandelbots_api_client/v2/models/image_credentials.py +5 -5
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +9 -9
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +9 -9
- wandelbots_api_client/v2/models/initialize_jogging_request.py +10 -17
- wandelbots_api_client/v2/models/initialize_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/initialize_movement_request.py +8 -13
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +5 -5
- wandelbots_api_client/v2/models/integer_value.py +7 -10
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +9 -9
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +8 -8
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +12 -11
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +7 -10
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +10 -25
- wandelbots_api_client/v2/models/io_description.py +13 -13
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +7 -10
- wandelbots_api_client/v2/models/io_integer_value.py +7 -10
- wandelbots_api_client/v2/models/io_origin.py +37 -0
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +4 -4
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +4 -4
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +6 -5
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/jogging_running.py +3 -3
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/joint_limits.py +6 -6
- wandelbots_api_client/v2/models/joint_trajectory.py +5 -5
- wandelbots_api_client/v2/models/joint_velocity_request.py +6 -9
- wandelbots_api_client/v2/models/joint_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/kuka_controller.py +12 -13
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +4 -4
- wandelbots_api_client/v2/models/license.py +12 -12
- wandelbots_api_client/v2/models/license_status.py +4 -4
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +4 -4
- wandelbots_api_client/v2/models/limit_set.py +7 -7
- wandelbots_api_client/v2/models/limits_override.py +8 -8
- wandelbots_api_client/v2/models/list_trajectories_response.py +3 -3
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +4 -4
- wandelbots_api_client/v2/models/modbus_io.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
- wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +23 -28
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +5 -5
- wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
- wandelbots_api_client/v2/models/motion_command_path.py +2 -2
- wandelbots_api_client/v2/models/motion_group_description.py +36 -31
- wandelbots_api_client/v2/models/motion_group_info.py +7 -6
- wandelbots_api_client/v2/models/motion_group_joints.py +6 -6
- wandelbots_api_client/v2/models/motion_group_setup.py +15 -13
- wandelbots_api_client/v2/models/motion_group_state.py +18 -17
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +3 -3
- wandelbots_api_client/v2/models/movement_error_response.py +4 -4
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +9 -9
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +6 -6
- wandelbots_api_client/v2/models/op_mode.py +3 -3
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +6 -6
- wandelbots_api_client/v2/models/operation_mode.py +2 -2
- wandelbots_api_client/v2/models/orientation_type.py +2 -2
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_circle.py +5 -5
- wandelbots_api_client/v2/models/path_cubic_spline.py +4 -4
- wandelbots_api_client/v2/models/path_joint_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_line.py +4 -4
- wandelbots_api_client/v2/models/pause_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/pause_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/pause_movement_request.py +5 -8
- wandelbots_api_client/v2/models/pause_movement_response.py +4 -4
- wandelbots_api_client/v2/models/pause_on_io.py +9 -6
- wandelbots_api_client/v2/models/payload.py +6 -6
- wandelbots_api_client/v2/models/plan422_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_request.py +6 -6
- wandelbots_api_client/v2/models/plan_collision_free_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +7 -7
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +3 -3
- wandelbots_api_client/v2/models/playback_speed_request.py +8 -10
- wandelbots_api_client/v2/models/playback_speed_response.py +4 -4
- wandelbots_api_client/v2/models/pose.py +4 -4
- wandelbots_api_client/v2/models/profinet_description.py +7 -7
- wandelbots_api_client/v2/models/profinet_input_output_config.py +5 -5
- wandelbots_api_client/v2/models/profinet_io.py +10 -10
- wandelbots_api_client/v2/models/profinet_io_data.py +9 -9
- wandelbots_api_client/v2/models/profinet_io_direction.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +6 -6
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +8 -8
- wandelbots_api_client/v2/models/program_run.py +16 -14
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +3 -3
- wandelbots_api_client/v2/models/rectangle.py +5 -5
- wandelbots_api_client/v2/models/rectangular_capsule.py +6 -6
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +4 -4
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +13 -12
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +7 -7
- wandelbots_api_client/v2/models/robot_tcp_data.py +6 -6
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +8 -8
- wandelbots_api_client/v2/models/safety_state_type.py +2 -2
- wandelbots_api_client/v2/models/service_group.py +2 -2
- wandelbots_api_client/v2/models/service_status.py +5 -5
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +4 -4
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +5 -5
- wandelbots_api_client/v2/models/set_io.py +100 -0
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
- wandelbots_api_client/v2/models/sphere.py +4 -4
- wandelbots_api_client/v2/models/start_movement_request.py +15 -16
- wandelbots_api_client/v2/models/start_movement_response.py +4 -4
- wandelbots_api_client/v2/models/start_on_io.py +9 -6
- wandelbots_api_client/v2/models/stream_io_values_response.py +7 -6
- wandelbots_api_client/v2/models/tcp_offset.py +4 -4
- wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +6 -6
- wandelbots_api_client/v2/models/tcp_velocity_request.py +7 -10
- wandelbots_api_client/v2/models/tcp_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +9 -9
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +8 -8
- wandelbots_api_client/v2/models/trajectory_data.py +7 -7
- wandelbots_api_client/v2/models/trajectory_details.py +6 -6
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +3 -3
- wandelbots_api_client/v2/models/trajectory_id.py +6 -9
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/trajectory_running.py +6 -5
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +3 -3
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +6 -9
- wandelbots_api_client/v2/models/update_nova_version_request.py +3 -3
- wandelbots_api_client/v2/models/validation_error.py +6 -6
- wandelbots_api_client/v2/models/validation_error2.py +5 -5
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +8 -11
- wandelbots_api_client/v2/models/virtual_controller_types.py +14 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +4 -4
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +4 -4
- wandelbots_api_client/v2/models/yaskawa_controller.py +6 -9
- wandelbots_api_client/v2/rest.py +4 -3
- wandelbots_api_client/v2_pydantic/__init__.py +50 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
- wandelbots_api_client/v2_pydantic/api_client.py +809 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +606 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4561 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +213 -0
- wandelbots_api_client-25.10.0rc2.dist-info/METADATA +62 -0
- wandelbots_api_client-25.10.0rc2.dist-info/RECORD +640 -0
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info}/WHEEL +2 -1
- wandelbots_api_client-25.10.0rc2.dist-info/top_level.txt +1 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client/v2/models/limit_config.py +0 -101
- wandelbots_api_client-25.8.0.dev23.dist-info/METADATA +0 -63
- wandelbots_api_client-25.8.0.dev23.dist-info/RECORD +0 -594
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,244 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
|
|
3
|
+
import asyncio
|
|
4
|
+
import aiohttp
|
|
5
|
+
import pydantic
|
|
6
|
+
|
|
7
|
+
class Auth0Config(pydantic.BaseModel):
|
|
8
|
+
"""Configuration for Auth0 authentication"""
|
|
9
|
+
|
|
10
|
+
domain: Optional[str] = None
|
|
11
|
+
client_id: Optional[str] = None
|
|
12
|
+
audience: Optional[str] = None
|
|
13
|
+
|
|
14
|
+
@classmethod
|
|
15
|
+
def default(cls) -> "Auth0Config":
|
|
16
|
+
"""Create Auth0Config from environment variables"""
|
|
17
|
+
return cls(
|
|
18
|
+
domain="auth.portal.wandelbots.io",
|
|
19
|
+
client_id="J7WJUi38xVQdJAEBNRT9Xw1b0fXDb4J2",
|
|
20
|
+
audience="nova-api",
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
def is_complete(self) -> bool:
|
|
24
|
+
"""Check if all required fields are set and not None"""
|
|
25
|
+
return bool(self.domain and self.client_id and self.audience)
|
|
26
|
+
|
|
27
|
+
def get_validated_config(self) -> tuple[str, str, str]:
|
|
28
|
+
"""Get validated config values, ensuring they are not None"""
|
|
29
|
+
if not self.is_complete():
|
|
30
|
+
raise ValueError("Auth0 configuration is incomplete")
|
|
31
|
+
return self.domain, self.client_id, self.audience
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Auth0DeviceCodeInfo(pydantic.BaseModel):
|
|
35
|
+
"""
|
|
36
|
+
Model to store device code information.
|
|
37
|
+
|
|
38
|
+
Attributes:
|
|
39
|
+
device_code (str): The device code.
|
|
40
|
+
user_code (str): The user code.
|
|
41
|
+
verification_uri (str): The verification URI.
|
|
42
|
+
expires_in (int): The expiration time in seconds.
|
|
43
|
+
interval (int): The interval time in seconds (default is 5).
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
device_code: str
|
|
47
|
+
user_code: str
|
|
48
|
+
verification_uri: str
|
|
49
|
+
expires_in: int
|
|
50
|
+
interval: int = pydantic.Field(default=5)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
class Auth0TokenInfo(pydantic.BaseModel):
|
|
54
|
+
"""
|
|
55
|
+
Model to store token information.
|
|
56
|
+
|
|
57
|
+
Attributes:
|
|
58
|
+
access_token (str): The access token.
|
|
59
|
+
refresh_token (str, optional): The refresh token.
|
|
60
|
+
"""
|
|
61
|
+
|
|
62
|
+
access_token: str
|
|
63
|
+
refresh_token: Optional[str] = None
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
class Auth0DeviceAuthorization:
|
|
67
|
+
"""
|
|
68
|
+
Class to handle Auth0 device authorization.
|
|
69
|
+
|
|
70
|
+
Methods:
|
|
71
|
+
__init__(auth0_config: Auth0Config | None = None):
|
|
72
|
+
Initializes the Auth0DeviceAuthorization instance with the given parameters.
|
|
73
|
+
request_device_code():
|
|
74
|
+
Requests a device code from Auth0.
|
|
75
|
+
display_user_instructions():
|
|
76
|
+
Displays instructions for the user to authenticate.
|
|
77
|
+
poll_token_endpoint():
|
|
78
|
+
Polls the token endpoint to obtain an access token.
|
|
79
|
+
refresh_access_token(refresh_token: str):
|
|
80
|
+
Refreshes the access token using the refresh token.
|
|
81
|
+
"""
|
|
82
|
+
|
|
83
|
+
def __init__(self, auth0_config: Optional[Auth0Config] = None):
|
|
84
|
+
"""
|
|
85
|
+
Initialize with Auth0Config from env vars or passed config.
|
|
86
|
+
|
|
87
|
+
Args:
|
|
88
|
+
auth0_config: Optional Auth0Config object. If not provided,
|
|
89
|
+
will be created using default configuration.
|
|
90
|
+
"""
|
|
91
|
+
try:
|
|
92
|
+
self.params = auth0_config or Auth0Config.default()
|
|
93
|
+
if not self.params.is_complete():
|
|
94
|
+
raise ValueError("Auth0 configuration is incomplete")
|
|
95
|
+
|
|
96
|
+
domain, client_id, audience = self.params.get_validated_config()
|
|
97
|
+
self.auth0_domain = domain
|
|
98
|
+
self.auth0_client_id = client_id
|
|
99
|
+
self.auth0_audience = audience
|
|
100
|
+
|
|
101
|
+
except ValueError as e:
|
|
102
|
+
raise ValueError(f"Error: Auth0 configuration is invalid: {e}")
|
|
103
|
+
|
|
104
|
+
self.headers = {"content-type": "application/x-www-form-urlencoded"}
|
|
105
|
+
self.device_code_info: Optional[Auth0DeviceCodeInfo] = None
|
|
106
|
+
self.refresh_token: Optional[str] = None
|
|
107
|
+
self.interval = 5
|
|
108
|
+
self.attempts = 10
|
|
109
|
+
|
|
110
|
+
async def request_device_code(self) -> Auth0DeviceCodeInfo:
|
|
111
|
+
"""
|
|
112
|
+
Requests a device code from Auth0.
|
|
113
|
+
|
|
114
|
+
Returns:
|
|
115
|
+
Auth0DeviceCodeInfo: The device code information.
|
|
116
|
+
|
|
117
|
+
Raises:
|
|
118
|
+
Exception: If there is an error requesting the device code.
|
|
119
|
+
"""
|
|
120
|
+
device_code_url = f"https://{self.auth0_domain}/oauth/device/code"
|
|
121
|
+
data = {
|
|
122
|
+
"client_id": self.auth0_client_id,
|
|
123
|
+
"scope": "openid profile email",
|
|
124
|
+
"audience": self.auth0_audience,
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
async with aiohttp.ClientSession() as session:
|
|
128
|
+
async with session.post(device_code_url, headers=self.headers, data=data) as response:
|
|
129
|
+
if response.status == 200:
|
|
130
|
+
response_data = await response.json()
|
|
131
|
+
self.device_code_info = Auth0DeviceCodeInfo(**response_data)
|
|
132
|
+
self.interval = self.device_code_info.interval
|
|
133
|
+
return self.device_code_info
|
|
134
|
+
else:
|
|
135
|
+
error_data = await response.json()
|
|
136
|
+
raise Exception("Error requesting device code:", error_data)
|
|
137
|
+
|
|
138
|
+
def get_device_code_info(self) -> Optional[Auth0DeviceCodeInfo]:
|
|
139
|
+
"""
|
|
140
|
+
Returns the device code information.
|
|
141
|
+
|
|
142
|
+
Returns:
|
|
143
|
+
Optional[Auth0DeviceCodeInfo]: The device code information.
|
|
144
|
+
"""
|
|
145
|
+
return self.device_code_info
|
|
146
|
+
|
|
147
|
+
def display_user_instructions(self) -> None:
|
|
148
|
+
"""
|
|
149
|
+
Displays instructions for the user to authenticate.
|
|
150
|
+
|
|
151
|
+
Raises:
|
|
152
|
+
Exception: If device code information is not available.
|
|
153
|
+
"""
|
|
154
|
+
if self.device_code_info:
|
|
155
|
+
verification_uri = f"{self.device_code_info.verification_uri}?user_code={self.device_code_info.user_code}"
|
|
156
|
+
user_code = self.device_code_info.user_code
|
|
157
|
+
print(
|
|
158
|
+
f"Please visit {verification_uri} and validate the code {user_code} to authenticate."
|
|
159
|
+
)
|
|
160
|
+
else:
|
|
161
|
+
raise Exception("Device code information is not available.")
|
|
162
|
+
|
|
163
|
+
async def poll_token_endpoint(self):
|
|
164
|
+
"""
|
|
165
|
+
Polls the token endpoint to obtain an access token.
|
|
166
|
+
|
|
167
|
+
Returns:
|
|
168
|
+
str: The access token.
|
|
169
|
+
|
|
170
|
+
Raises:
|
|
171
|
+
Exception: If there is an error polling the token endpoint.
|
|
172
|
+
"""
|
|
173
|
+
if not self.device_code_info:
|
|
174
|
+
raise Exception("Device code information is not available.")
|
|
175
|
+
|
|
176
|
+
token_url = f"https://{self.auth0_domain}/oauth/token"
|
|
177
|
+
token_data = {
|
|
178
|
+
"grant_type": "urn:ietf:params:oauth:grant-type:device_code",
|
|
179
|
+
"device_code": self.device_code_info.device_code,
|
|
180
|
+
"client_id": self.auth0_client_id,
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
async with aiohttp.ClientSession() as session:
|
|
184
|
+
while self.attempts > 0:
|
|
185
|
+
self.attempts = self.attempts - 1
|
|
186
|
+
async with session.post(token_url, headers=self.headers, data=token_data) as token_response:
|
|
187
|
+
if token_response.status == 200:
|
|
188
|
+
# If the response status is 200, it means the access token is successfully obtained.
|
|
189
|
+
response_data = await token_response.json()
|
|
190
|
+
token_info = Auth0TokenInfo(**response_data)
|
|
191
|
+
self.refresh_token = token_info.refresh_token
|
|
192
|
+
return token_info.access_token
|
|
193
|
+
elif token_response.status == 400:
|
|
194
|
+
# If the response status is 400, check the error type.
|
|
195
|
+
error_data = await token_response.json()
|
|
196
|
+
error = error_data.get("error")
|
|
197
|
+
if error == "authorization_pending":
|
|
198
|
+
# If the error is 'authorization_pending', it means the user has not yet authorized.
|
|
199
|
+
await asyncio.sleep(self.interval)
|
|
200
|
+
elif error == "slow_down":
|
|
201
|
+
# If the error is 'slow_down', it means the server requests to slow down polling.
|
|
202
|
+
self.interval += 5
|
|
203
|
+
await asyncio.sleep(self.interval)
|
|
204
|
+
elif token_response.status == 403:
|
|
205
|
+
# If the response status is 403, it means the request is forbidden, wait and retry.
|
|
206
|
+
await asyncio.sleep(self.interval)
|
|
207
|
+
else:
|
|
208
|
+
# For other status codes, raise an exception with the error details.
|
|
209
|
+
error_data = await token_response.json()
|
|
210
|
+
raise Exception("Error:", token_response.status, error_data)
|
|
211
|
+
raise Exception("Error: It was not able to authenticate. Please try again.")
|
|
212
|
+
|
|
213
|
+
async def refresh_access_token(self, refresh_token: str):
|
|
214
|
+
"""
|
|
215
|
+
Refreshes the access token using the refresh token.
|
|
216
|
+
|
|
217
|
+
Args:
|
|
218
|
+
refresh_token (str): The refresh token.
|
|
219
|
+
|
|
220
|
+
Returns:
|
|
221
|
+
str: The new access token.
|
|
222
|
+
|
|
223
|
+
Raises:
|
|
224
|
+
Exception: If there is an error refreshing the access token.
|
|
225
|
+
"""
|
|
226
|
+
if not refresh_token:
|
|
227
|
+
raise Exception("Refresh token is not available.")
|
|
228
|
+
|
|
229
|
+
token_url = f"https://{self.auth0_domain}/oauth/token"
|
|
230
|
+
token_data = {
|
|
231
|
+
"grant_type": "refresh_token",
|
|
232
|
+
"client_id": self.auth0_client_id,
|
|
233
|
+
"refresh_token": refresh_token,
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
async with aiohttp.ClientSession() as session:
|
|
237
|
+
async with session.post(token_url, headers=self.headers, data=token_data) as response:
|
|
238
|
+
if response.status == 200:
|
|
239
|
+
response_data = await response.json()
|
|
240
|
+
token_info = Auth0TokenInfo(**response_data)
|
|
241
|
+
return token_info.access_token
|
|
242
|
+
else:
|
|
243
|
+
error_data = await response.json()
|
|
244
|
+
raise Exception("Error refreshing access token:", error_data)
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -17,7 +17,7 @@ import http.client as httplib
|
|
|
17
17
|
import logging
|
|
18
18
|
from logging import FileHandler
|
|
19
19
|
import sys
|
|
20
|
-
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict
|
|
20
|
+
from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict, Union
|
|
21
21
|
from typing_extensions import NotRequired, Self
|
|
22
22
|
|
|
23
23
|
import urllib3
|
|
@@ -161,6 +161,10 @@ class Configuration:
|
|
|
161
161
|
:param ssl_ca_cert: str - the path to a file of concatenated CA certificates
|
|
162
162
|
in PEM format.
|
|
163
163
|
:param retries: Number of retries for API requests.
|
|
164
|
+
:param ca_cert_data: verify the peer using concatenated CA certificate data
|
|
165
|
+
in PEM (str) or DER (bytes) format.
|
|
166
|
+
:param cert_file: the path to a client certificate file, for mTLS.
|
|
167
|
+
:param key_file: the path to a client key file, for mTLS.
|
|
164
168
|
|
|
165
169
|
:Example:
|
|
166
170
|
|
|
@@ -191,13 +195,16 @@ conf = wandelbots_api_client.Configuration(
|
|
|
191
195
|
username: Optional[str]=None,
|
|
192
196
|
password: Optional[str]=None,
|
|
193
197
|
access_token: Optional[str]=None,
|
|
194
|
-
server_index: Optional[int]=None,
|
|
198
|
+
server_index: Optional[int]=None,
|
|
195
199
|
server_variables: Optional[ServerVariablesT]=None,
|
|
196
200
|
server_operation_index: Optional[Dict[int, int]]=None,
|
|
197
201
|
server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None,
|
|
198
202
|
ignore_operation_servers: bool=False,
|
|
199
203
|
ssl_ca_cert: Optional[str]=None,
|
|
200
204
|
retries: Optional[int] = None,
|
|
205
|
+
ca_cert_data: Optional[Union[str, bytes]] = None,
|
|
206
|
+
cert_file: Optional[str]=None,
|
|
207
|
+
key_file: Optional[str]=None,
|
|
201
208
|
*,
|
|
202
209
|
debug: Optional[bool] = None,
|
|
203
210
|
) -> None:
|
|
@@ -275,10 +282,14 @@ conf = wandelbots_api_client.Configuration(
|
|
|
275
282
|
self.ssl_ca_cert = ssl_ca_cert
|
|
276
283
|
"""Set this to customize the certificate file to verify the peer.
|
|
277
284
|
"""
|
|
278
|
-
self.
|
|
285
|
+
self.ca_cert_data = ca_cert_data
|
|
286
|
+
"""Set this to verify the peer using PEM (str) or DER (bytes)
|
|
287
|
+
certificate data.
|
|
288
|
+
"""
|
|
289
|
+
self.cert_file = cert_file
|
|
279
290
|
"""client certificate file
|
|
280
291
|
"""
|
|
281
|
-
self.key_file =
|
|
292
|
+
self.key_file = key_file
|
|
282
293
|
"""client key file
|
|
283
294
|
"""
|
|
284
295
|
self.assert_hostname = None
|
|
@@ -523,8 +534,8 @@ conf = wandelbots_api_client.Configuration(
|
|
|
523
534
|
return "Python SDK Debug Report:\n"\
|
|
524
535
|
"OS: {env}\n"\
|
|
525
536
|
"Python Version: {pyversion}\n"\
|
|
526
|
-
"Version of the API: 1.
|
|
527
|
-
"SDK Package Version: 25.
|
|
537
|
+
"Version of the API: 1.1.0\n"\
|
|
538
|
+
"SDK Package Version: 25.10.0.rc2".\
|
|
528
539
|
format(env=sys.platform, pyversion=sys.version)
|
|
529
540
|
|
|
530
541
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -6,13 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
Interact with robots in an easy and intuitive way.
|
|
8
8
|
|
|
9
|
-
The version of the OpenAPI document: 1.
|
|
9
|
+
The version of the OpenAPI document: 1.1.0
|
|
10
10
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
11
|
|
|
12
12
|
Do not edit the class manually.
|
|
13
13
|
""" # noqa: E501
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
# import models into model package
|
|
17
16
|
from .abb_controller import AbbController
|
|
18
17
|
from .abb_controller_egm_server import AbbControllerEgmServer
|
|
@@ -20,6 +19,7 @@ from .activate_license_request import ActivateLicenseRequest
|
|
|
20
19
|
from .add_request import AddRequest
|
|
21
20
|
from .all_joint_positions_request import AllJointPositionsRequest
|
|
22
21
|
from .all_joint_positions_response import AllJointPositionsResponse
|
|
22
|
+
from .api_version import ApiVersion
|
|
23
23
|
from .app import App
|
|
24
24
|
from .array_input import ArrayInput
|
|
25
25
|
from .array_output import ArrayOutput
|
|
@@ -72,7 +72,6 @@ from .create_program_run200_response import CreateProgramRun200Response
|
|
|
72
72
|
from .create_program_run_request import CreateProgramRunRequest
|
|
73
73
|
from .create_trigger200_response import CreateTrigger200Response
|
|
74
74
|
from .create_trigger_request import CreateTriggerRequest
|
|
75
|
-
from .create_trigger_request_config import CreateTriggerRequestConfig
|
|
76
75
|
from .cubic_spline import CubicSpline
|
|
77
76
|
from .cubic_spline_cubic_spline_parameter import CubicSplineCubicSplineParameter
|
|
78
77
|
from .cubic_spline_parameter import CubicSplineParameter
|
|
@@ -313,6 +312,7 @@ __all__ = [
|
|
|
313
312
|
"AddRequest",
|
|
314
313
|
"AllJointPositionsRequest",
|
|
315
314
|
"AllJointPositionsResponse",
|
|
315
|
+
"ApiVersion",
|
|
316
316
|
"App",
|
|
317
317
|
"ArrayInput",
|
|
318
318
|
"ArrayOutput",
|
|
@@ -365,7 +365,6 @@ __all__ = [
|
|
|
365
365
|
"CreateProgramRunRequest",
|
|
366
366
|
"CreateTrigger200Response",
|
|
367
367
|
"CreateTriggerRequest",
|
|
368
|
-
"CreateTriggerRequestConfig",
|
|
369
368
|
"CubicSpline",
|
|
370
369
|
"CubicSplineCubicSplineParameter",
|
|
371
370
|
"CubicSplineParameter",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,10 +27,10 @@ class AbbController(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
The configuration of a physical ABB robot controller has to contain IP address. Additionally an EGM server configuration has to be specified in order to control the robot. Deploying the server is a functionality of this API.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
kind:
|
|
31
|
-
controller_ip: StrictStr = Field(alias="controllerIp")
|
|
32
|
-
controller_port: StrictInt = Field(description="Default values: 80, 443. If custom value is set, field is required. ", alias="controllerPort")
|
|
33
|
-
egm_server: AbbControllerEgmServer = Field(alias="egmServer")
|
|
30
|
+
kind: str = "AbbController"
|
|
31
|
+
controller_ip: StrictStr = Field(alias="controllerIp")
|
|
32
|
+
controller_port: StrictInt = Field(description="Default values: 80, 443. If custom value is set, field is required. ", alias="controllerPort")
|
|
33
|
+
egm_server: AbbControllerEgmServer = Field(alias="egmServer")
|
|
34
34
|
__properties: ClassVar[List[str]] = ["kind", "controllerIp", "controllerPort", "egmServer"]
|
|
35
35
|
|
|
36
36
|
@field_validator('kind')
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,8 +26,8 @@ class AbbControllerEgmServer(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
The EGM server runs inside of the cell, thus its IP must be in the same network as the 'controllerIp'
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
ip: StrictStr
|
|
30
|
-
port: StrictInt
|
|
29
|
+
ip: StrictStr
|
|
30
|
+
port: StrictInt
|
|
31
31
|
__properties: ClassVar[List[str]] = ["ip", "port"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,7 +26,7 @@ class ActivateLicenseRequest(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
The authentication token to fetch the license from the license server.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
owner_refresh_token: StrictStr
|
|
29
|
+
owner_refresh_token: StrictStr
|
|
30
30
|
__properties: ClassVar[List[str]] = ["owner_refresh_token"]
|
|
31
31
|
|
|
32
32
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,8 +27,8 @@ class AddRequest(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
This message is used to add a coordinate system with a pose including a position offset in [mm] and a rotational offset in rotation vector notation.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
offset: Pose
|
|
31
|
-
name: Optional[StrictStr] = Field(default=None, description="Human readable name of this coordinate system, e.g. to simplify recognition.")
|
|
30
|
+
offset: Pose
|
|
31
|
+
name: Optional[StrictStr] = Field(default=None, description="Human readable name of this coordinate system, e.g. to simplify recognition.")
|
|
32
32
|
__properties: ClassVar[List[str]] = ["offset", "name"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,8 +27,8 @@ class AllJointPositionsRequest(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
Request to calculate the joint positions of a motion group in order to move its TCP to a specific pose (Inverse Kinematic Solutions).
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
motion_group: StrictStr = Field(description="Identifier of the motion-group.")
|
|
31
|
-
tcp_pose: TcpPose
|
|
30
|
+
motion_group: StrictStr = Field(description="Identifier of the motion-group.")
|
|
31
|
+
tcp_pose: TcpPose
|
|
32
32
|
__properties: ClassVar[List[str]] = ["motion_group", "tcp_pose"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,7 +27,7 @@ class AllJointPositionsResponse(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
A list of Joint Positions. If any of them is applied to the motion-group, its TCP will be at the specified pose.
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
joint_positions: Optional[List[Joints]] = Field(default=None, description="Joint position in [rad].")
|
|
30
|
+
joint_positions: Optional[List[Joints]] = Field(default=None, description="Joint position in [rad].")
|
|
31
31
|
__properties: ClassVar[List[str]] = ["joint_positions"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -0,0 +1,91 @@
|
|
|
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.1.0
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class ApiVersion(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
ApiVersion
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
version: StrictStr = Field(description="The version of the API.")
|
|
30
|
+
__properties: ClassVar[List[str]] = ["version"]
|
|
31
|
+
|
|
32
|
+
model_config = ConfigDict(
|
|
33
|
+
populate_by_name=True,
|
|
34
|
+
validate_assignment=True,
|
|
35
|
+
protected_namespaces=(),
|
|
36
|
+
)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def to_str(self) -> str:
|
|
40
|
+
"""Returns the string representation of the model using alias"""
|
|
41
|
+
return pprint.pformat(self.model_dump(by_alias=True, exclude_none=True))
|
|
42
|
+
|
|
43
|
+
def to_json(self) -> str:
|
|
44
|
+
"""
|
|
45
|
+
Returns the JSON representation of the model using alias
|
|
46
|
+
|
|
47
|
+
Do not use pydantic v2 .model_dump_json(by_alias=True, exclude_unset=True) here!
|
|
48
|
+
It is unable to resolve nested types generated by openapi-generator.
|
|
49
|
+
"""
|
|
50
|
+
return json.dumps(self.to_dict())
|
|
51
|
+
|
|
52
|
+
@classmethod
|
|
53
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
54
|
+
"""Create an instance of ApiVersion from a JSON string"""
|
|
55
|
+
return cls.from_dict(json.loads(json_str))
|
|
56
|
+
|
|
57
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
58
|
+
"""Return the dictionary representation of the model using alias.
|
|
59
|
+
|
|
60
|
+
This has the following differences from calling pydantic's
|
|
61
|
+
`self.model_dump(by_alias=True)`:
|
|
62
|
+
|
|
63
|
+
* `None` is only added to the output dict for nullable fields that
|
|
64
|
+
were set at model initialization. Other fields with value `None`
|
|
65
|
+
are ignored.
|
|
66
|
+
"""
|
|
67
|
+
excluded_fields: Set[str] = set([
|
|
68
|
+
])
|
|
69
|
+
|
|
70
|
+
_dict = self.model_dump(
|
|
71
|
+
by_alias=True,
|
|
72
|
+
exclude=excluded_fields,
|
|
73
|
+
exclude_none=True,
|
|
74
|
+
)
|
|
75
|
+
return _dict
|
|
76
|
+
|
|
77
|
+
@classmethod
|
|
78
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
79
|
+
"""Create an instance of ApiVersion from a dict"""
|
|
80
|
+
if obj is None:
|
|
81
|
+
return None
|
|
82
|
+
|
|
83
|
+
if not isinstance(obj, dict):
|
|
84
|
+
return cls.model_validate(obj)
|
|
85
|
+
|
|
86
|
+
_obj = cls.model_validate({
|
|
87
|
+
"version": obj.get("version")
|
|
88
|
+
})
|
|
89
|
+
return _obj
|
|
90
|
+
|
|
91
|
+
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -31,13 +31,13 @@ class App(BaseModel):
|
|
|
31
31
|
"""
|
|
32
32
|
An App is defined by a webserver, packed inside a container, serving a web-application.
|
|
33
33
|
""" # noqa: E501
|
|
34
|
-
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The name of the provided application. The name must be unique within the cell and is used as a identifier for addressing the application in all API calls , e.g. when updating the application. It also defines where the application is reachable (/$cell/$name). It must be a valid k8s label name as defined by [RFC 1035](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names). ")
|
|
35
|
-
app_icon: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The path of the icon for the App (/$cell/$name/$appIcon).", alias="appIcon")
|
|
36
|
-
container_image: ContainerImage = Field(alias="containerImage")
|
|
37
|
-
port: Optional[StrictInt] = Field(default=8080, description="The port the containerized webserver is listening on.")
|
|
38
|
-
environment: Optional[List[ContainerEnvironmentInner]] = Field(default=None, description="A list of environment variables with name and their value. These can be used to configure the containerized application, and turn features on or off. ")
|
|
39
|
-
storage: Optional[ContainerStorage] = None
|
|
40
|
-
resources: Optional[ContainerResources] = None
|
|
34
|
+
name: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The name of the provided application. The name must be unique within the cell and is used as a identifier for addressing the application in all API calls , e.g. when updating the application. It also defines where the application is reachable (/$cell/$name). It must be a valid k8s label name as defined by [RFC 1035](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#rfc-1035-label-names). ")
|
|
35
|
+
app_icon: Annotated[str, Field(min_length=1, strict=True)] = Field(description="The path of the icon for the App (/$cell/$name/$appIcon).", alias="appIcon")
|
|
36
|
+
container_image: ContainerImage = Field(alias="containerImage")
|
|
37
|
+
port: Optional[StrictInt] = Field(default=8080, description="The port the containerized webserver is listening on.")
|
|
38
|
+
environment: Optional[List[ContainerEnvironmentInner]] = Field(default=None, description="A list of environment variables with name and their value. These can be used to configure the containerized application, and turn features on or off. ")
|
|
39
|
+
storage: Optional[ContainerStorage] = None
|
|
40
|
+
resources: Optional[ContainerResources] = None
|
|
41
41
|
__properties: ClassVar[List[str]] = ["name", "appIcon", "containerImage", "port", "environment", "storage", "resources"]
|
|
42
42
|
|
|
43
43
|
@field_validator('name')
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,7 +26,7 @@ class ArrayInput(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
ArrayInput
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
array: List[CollectionValue]
|
|
29
|
+
array: List[CollectionValue]
|
|
30
30
|
__properties: ClassVar[List[str]] = ["array"]
|
|
31
31
|
|
|
32
32
|
model_config = ConfigDict(
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 1.
|
|
8
|
+
The version of the OpenAPI document: 1.1.0
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,7 +26,7 @@ class ArrayOutput(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
ArrayOutput
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
array: List[ResponseGetValuesProgramsValuesGetValue]
|
|
29
|
+
array: List[ResponseGetValuesProgramsValuesGetValue]
|
|
30
30
|
__properties: ClassVar[List[str]] = ["array"]
|
|
31
31
|
|
|
32
32
|
model_config = ConfigDict(
|