wandelbots-api-client 25.6.0.dev7__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.
Files changed (658) hide show
  1. wandelbots_api_client/__init__.py +2 -3
  2. wandelbots_api_client/api/__init__.py +2 -0
  3. wandelbots_api_client/api/application_api.py +1 -2
  4. wandelbots_api_client/api/cell_api.py +1 -2
  5. wandelbots_api_client/api/controller_api.py +13 -8
  6. wandelbots_api_client/api/controller_ios_api.py +3 -6
  7. wandelbots_api_client/api/coordinate_systems_api.py +1 -2
  8. wandelbots_api_client/api/device_configuration_api.py +1 -2
  9. wandelbots_api_client/api/library_program_api.py +1 -2
  10. wandelbots_api_client/api/library_program_metadata_api.py +1 -2
  11. wandelbots_api_client/api/library_recipe_api.py +1 -2
  12. wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
  13. wandelbots_api_client/api/license_api.py +1 -2
  14. wandelbots_api_client/api/motion_api.py +59 -8
  15. wandelbots_api_client/api/motion_group_api.py +1 -2
  16. wandelbots_api_client/api/motion_group_infos_api.py +3 -2
  17. wandelbots_api_client/api/motion_group_jogging_api.py +53 -8
  18. wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
  19. wandelbots_api_client/api/program_api.py +1 -2
  20. wandelbots_api_client/api/program_operator_api.py +1 -2
  21. wandelbots_api_client/api/program_values_api.py +1 -2
  22. wandelbots_api_client/api/store_collision_components_api.py +10 -8
  23. wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
  24. wandelbots_api_client/api/store_object_api.py +1 -2
  25. wandelbots_api_client/api/system_api.py +1 -2
  26. wandelbots_api_client/api/version_api.py +284 -0
  27. wandelbots_api_client/api/virtual_robot_api.py +1 -2
  28. wandelbots_api_client/api/virtual_robot_behavior_api.py +27 -5
  29. wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
  30. wandelbots_api_client/api/virtual_robot_setup_api.py +16 -17
  31. wandelbots_api_client/api_client.py +14 -7
  32. wandelbots_api_client/authorization.py +244 -0
  33. wandelbots_api_client/configuration.py +18 -7
  34. wandelbots_api_client/exceptions.py +1 -1
  35. wandelbots_api_client/models/__init__.py +3 -4
  36. wandelbots_api_client/models/abb_controller.py +5 -5
  37. wandelbots_api_client/models/abb_controller_egm_server.py +3 -3
  38. wandelbots_api_client/models/activate_license_request.py +2 -2
  39. wandelbots_api_client/models/add_request.py +3 -3
  40. wandelbots_api_client/models/all_joint_positions_request.py +3 -3
  41. wandelbots_api_client/models/all_joint_positions_response.py +2 -2
  42. wandelbots_api_client/{v2/models/error2.py → models/api_version.py} +10 -10
  43. wandelbots_api_client/models/app.py +8 -8
  44. wandelbots_api_client/models/array_input.py +2 -2
  45. wandelbots_api_client/models/array_output.py +2 -2
  46. wandelbots_api_client/models/behavior.py +1 -1
  47. wandelbots_api_client/models/blending_auto.py +3 -3
  48. wandelbots_api_client/models/blending_position.py +3 -3
  49. wandelbots_api_client/models/box.py +5 -5
  50. wandelbots_api_client/models/box2.py +6 -6
  51. wandelbots_api_client/models/box3.py +6 -6
  52. wandelbots_api_client/models/capsule.py +3 -3
  53. wandelbots_api_client/models/capsule2.py +4 -4
  54. wandelbots_api_client/models/capsule3.py +4 -4
  55. wandelbots_api_client/models/capture.py +2 -2
  56. wandelbots_api_client/models/cell.py +4 -4
  57. wandelbots_api_client/models/circle.py +3 -3
  58. wandelbots_api_client/models/code_with_arguments.py +7 -6
  59. wandelbots_api_client/models/collection_value.py +1 -1
  60. wandelbots_api_client/models/collider.py +4 -4
  61. wandelbots_api_client/models/collider_input.py +4 -4
  62. wandelbots_api_client/models/collider_output.py +4 -4
  63. wandelbots_api_client/models/collider_output_shape.py +1 -1
  64. wandelbots_api_client/models/collider_shape.py +1 -41
  65. wandelbots_api_client/models/collision.py +7 -7
  66. wandelbots_api_client/models/collision_contact.py +3 -3
  67. wandelbots_api_client/models/collision_motion_group.py +7 -6
  68. wandelbots_api_client/models/collision_motion_group_assembly.py +9 -8
  69. wandelbots_api_client/models/collision_robot_configuration_input.py +12 -10
  70. wandelbots_api_client/models/collision_robot_configuration_output.py +12 -10
  71. wandelbots_api_client/models/collision_scene.py +11 -9
  72. wandelbots_api_client/models/collision_scene_assembly.py +14 -12
  73. wandelbots_api_client/models/command.py +7 -7
  74. wandelbots_api_client/models/command_settings.py +4 -4
  75. wandelbots_api_client/models/comparator.py +1 -1
  76. wandelbots_api_client/models/compound.py +2 -2
  77. wandelbots_api_client/models/container_environment_inner.py +3 -3
  78. wandelbots_api_client/models/container_image.py +4 -4
  79. wandelbots_api_client/models/container_image_secrets_inner.py +2 -2
  80. wandelbots_api_client/models/container_resources.py +2 -2
  81. wandelbots_api_client/models/container_storage.py +3 -3
  82. wandelbots_api_client/models/controller_capabilities.py +3 -3
  83. wandelbots_api_client/models/controller_instance.py +9 -9
  84. wandelbots_api_client/models/controller_instance_list.py +2 -2
  85. wandelbots_api_client/models/convex_hull.py +2 -2
  86. wandelbots_api_client/models/convex_hull2.py +3 -3
  87. wandelbots_api_client/models/convex_hull3.py +3 -3
  88. wandelbots_api_client/models/coordinate_system.py +6 -6
  89. wandelbots_api_client/models/coordinate_systems.py +2 -2
  90. wandelbots_api_client/models/create_device_request_inner.py +1 -1
  91. wandelbots_api_client/models/create_program_run200_response.py +2 -2
  92. wandelbots_api_client/models/create_program_run_request.py +2 -2
  93. wandelbots_api_client/models/create_trigger200_response.py +2 -2
  94. wandelbots_api_client/models/create_trigger_request.py +7 -7
  95. wandelbots_api_client/models/cubic_spline.py +2 -2
  96. wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +3 -3
  97. wandelbots_api_client/models/cubic_spline_parameter.py +3 -3
  98. wandelbots_api_client/models/cycle_time.py +2 -2
  99. wandelbots_api_client/models/cylinder.py +3 -3
  100. wandelbots_api_client/models/cylinder2.py +4 -4
  101. wandelbots_api_client/models/cylinder3.py +4 -4
  102. wandelbots_api_client/models/dh_parameter.py +6 -6
  103. wandelbots_api_client/models/direction.py +1 -1
  104. wandelbots_api_client/models/direction_jogging_request.py +10 -10
  105. wandelbots_api_client/models/error.py +3 -3
  106. wandelbots_api_client/models/execute_trajectory_request.py +1 -1
  107. wandelbots_api_client/models/execute_trajectory_response.py +1 -1
  108. wandelbots_api_client/models/execution_result.py +4 -4
  109. wandelbots_api_client/models/external_joint_stream_datapoint.py +3 -3
  110. wandelbots_api_client/models/external_joint_stream_datapoint_value.py +5 -5
  111. wandelbots_api_client/models/fanuc_controller.py +3 -3
  112. wandelbots_api_client/models/feedback_collision.py +5 -5
  113. wandelbots_api_client/models/feedback_joint_limit_exceeded.py +4 -4
  114. wandelbots_api_client/models/feedback_out_of_workspace.py +3 -3
  115. wandelbots_api_client/models/feedback_singularity.py +4 -4
  116. wandelbots_api_client/models/flag.py +2 -2
  117. wandelbots_api_client/models/force_vector.py +4 -4
  118. wandelbots_api_client/models/geometry.py +12 -12
  119. wandelbots_api_client/models/get_all_program_runs200_response.py +2 -2
  120. wandelbots_api_client/models/get_all_triggers200_response.py +2 -2
  121. wandelbots_api_client/models/get_mode_response.py +2 -2
  122. wandelbots_api_client/models/get_trajectory_response.py +2 -2
  123. wandelbots_api_client/models/get_trajectory_sample_response.py +2 -2
  124. wandelbots_api_client/models/google_protobuf_any.py +2 -2
  125. wandelbots_api_client/models/http_exception_response.py +2 -2
  126. wandelbots_api_client/models/http_validation_error.py +2 -2
  127. wandelbots_api_client/models/http_validation_error2.py +2 -2
  128. wandelbots_api_client/models/image_credentials.py +4 -4
  129. wandelbots_api_client/models/info_service_capabilities.py +8 -8
  130. wandelbots_api_client/models/initialize_movement_request.py +6 -6
  131. wandelbots_api_client/models/initialize_movement_response.py +2 -2
  132. wandelbots_api_client/models/initialize_movement_response_init_response.py +3 -3
  133. wandelbots_api_client/models/io.py +6 -6
  134. wandelbots_api_client/models/io_description.py +10 -10
  135. wandelbots_api_client/models/io_value.py +5 -5
  136. wandelbots_api_client/models/ios.py +2 -2
  137. wandelbots_api_client/models/jogging_response.py +4 -4
  138. wandelbots_api_client/models/jogging_service_capabilities.py +3 -3
  139. wandelbots_api_client/models/joint_jogging_request.py +6 -6
  140. wandelbots_api_client/models/joint_limit.py +5 -5
  141. wandelbots_api_client/models/joint_limit_exceeded.py +3 -3
  142. wandelbots_api_client/models/joint_position_request.py +4 -4
  143. wandelbots_api_client/models/joint_trajectory.py +4 -4
  144. wandelbots_api_client/models/joints.py +2 -2
  145. wandelbots_api_client/models/kinematic_service_capabilities.py +4 -4
  146. wandelbots_api_client/models/kuka_controller.py +10 -8
  147. wandelbots_api_client/models/kuka_controller_rsi_server.py +3 -3
  148. wandelbots_api_client/models/license.py +11 -11
  149. wandelbots_api_client/models/license_status.py +3 -3
  150. wandelbots_api_client/models/license_status_enum.py +1 -1
  151. wandelbots_api_client/models/limit_settings.py +13 -13
  152. wandelbots_api_client/models/limits_override.py +7 -7
  153. wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
  154. wandelbots_api_client/models/list_io_descriptions_response.py +2 -2
  155. wandelbots_api_client/models/list_io_values_response.py +2 -2
  156. wandelbots_api_client/models/list_payloads_response.py +2 -2
  157. wandelbots_api_client/models/list_program_metadata_response.py +2 -2
  158. wandelbots_api_client/models/list_recipe_metadata_response.py +2 -2
  159. wandelbots_api_client/models/list_response.py +2 -2
  160. wandelbots_api_client/models/list_tcps_response.py +2 -2
  161. wandelbots_api_client/models/manufacturer.py +1 -1
  162. wandelbots_api_client/models/mode_change_response.py +5 -5
  163. wandelbots_api_client/models/motion_command.py +4 -4
  164. wandelbots_api_client/models/motion_command_blending.py +1 -1
  165. wandelbots_api_client/models/motion_command_path.py +1 -1
  166. wandelbots_api_client/models/motion_group_behavior_getter.py +2 -2
  167. wandelbots_api_client/models/motion_group_info.py +4 -4
  168. wandelbots_api_client/models/motion_group_infos.py +2 -2
  169. wandelbots_api_client/models/motion_group_instance.py +6 -6
  170. wandelbots_api_client/models/motion_group_instance_list.py +2 -2
  171. wandelbots_api_client/models/motion_group_joints.py +5 -5
  172. wandelbots_api_client/models/motion_group_physical.py +6 -6
  173. wandelbots_api_client/models/motion_group_specification.py +3 -3
  174. wandelbots_api_client/models/motion_group_state.py +13 -13
  175. wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +2 -2
  176. wandelbots_api_client/models/motion_group_state_response.py +3 -3
  177. wandelbots_api_client/models/motion_id.py +2 -2
  178. wandelbots_api_client/models/motion_ids_list_response.py +2 -2
  179. wandelbots_api_client/models/motion_vector.py +4 -4
  180. wandelbots_api_client/models/mounting.py +3 -3
  181. wandelbots_api_client/models/move_request.py +9 -9
  182. wandelbots_api_client/models/move_response.py +3 -3
  183. wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +5 -5
  184. wandelbots_api_client/models/movement.py +2 -2
  185. wandelbots_api_client/models/movement_error.py +2 -2
  186. wandelbots_api_client/models/movement_error_error.py +2 -2
  187. wandelbots_api_client/models/movement_movement.py +4 -4
  188. wandelbots_api_client/models/op_mode.py +2 -2
  189. wandelbots_api_client/models/opcua_node_value_trigger_config.py +4 -4
  190. wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
  191. wandelbots_api_client/models/optimizer_setup.py +8 -8
  192. wandelbots_api_client/models/out_of_workspace.py +2 -2
  193. wandelbots_api_client/models/path.py +2 -2
  194. wandelbots_api_client/models/path_cartesian_ptp.py +3 -3
  195. wandelbots_api_client/models/path_circle.py +4 -4
  196. wandelbots_api_client/models/path_cubic_spline.py +3 -3
  197. wandelbots_api_client/models/path_joint_ptp.py +3 -3
  198. wandelbots_api_client/models/path_line.py +3 -3
  199. wandelbots_api_client/models/pause_movement_request.py +3 -3
  200. wandelbots_api_client/models/pause_movement_response.py +2 -2
  201. wandelbots_api_client/models/pause_movement_response_pause_response.py +3 -3
  202. wandelbots_api_client/models/pause_on_io.py +3 -3
  203. wandelbots_api_client/models/payload.py +5 -5
  204. wandelbots_api_client/models/plan_collision_free_ptp_request.py +10 -9
  205. wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
  206. wandelbots_api_client/models/plan_failed_on_trajectory_response.py +10 -10
  207. wandelbots_api_client/models/plan_failed_response.py +8 -8
  208. wandelbots_api_client/models/plan_request.py +6 -6
  209. wandelbots_api_client/models/plan_response.py +4 -4
  210. wandelbots_api_client/models/plan_successful_response.py +3 -3
  211. wandelbots_api_client/models/plan_trajectory_failed_response.py +4 -4
  212. wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
  213. wandelbots_api_client/models/plan_trajectory_request.py +10 -9
  214. wandelbots_api_client/models/plan_trajectory_response.py +2 -2
  215. wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
  216. wandelbots_api_client/models/plane2.py +2 -2
  217. wandelbots_api_client/models/plane3.py +2 -2
  218. wandelbots_api_client/models/planned_motion.py +6 -6
  219. wandelbots_api_client/models/planner_pose.py +3 -3
  220. wandelbots_api_client/models/planning_limits.py +13 -13
  221. wandelbots_api_client/models/planning_limits_limit_range.py +3 -3
  222. wandelbots_api_client/models/playback_speed_request.py +3 -3
  223. wandelbots_api_client/models/playback_speed_response.py +2 -2
  224. wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +2 -2
  225. wandelbots_api_client/models/point_cloud.py +2 -2
  226. wandelbots_api_client/models/pose.py +4 -4
  227. wandelbots_api_client/models/pose2.py +3 -3
  228. wandelbots_api_client/models/program_metadata.py +7 -7
  229. wandelbots_api_client/models/program_run.py +15 -14
  230. wandelbots_api_client/models/program_run_object.py +7 -7
  231. wandelbots_api_client/models/program_run_state.py +1 -1
  232. wandelbots_api_client/models/program_runner_reference.py +3 -3
  233. wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +3 -3
  234. wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +2 -2
  235. wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +2 -2
  236. wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +2 -2
  237. wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +5 -5
  238. wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +5 -5
  239. wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +4 -4
  240. wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +7 -7
  241. wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +8 -8
  242. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +13 -11
  243. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +13 -11
  244. wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +3 -3
  245. wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +4 -4
  246. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +3 -3
  247. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +3 -3
  248. wandelbots_api_client/models/quaternion.py +5 -5
  249. wandelbots_api_client/models/recipe_metadata.py +8 -8
  250. wandelbots_api_client/models/rectangle.py +3 -3
  251. wandelbots_api_client/models/rectangle2.py +4 -4
  252. wandelbots_api_client/models/rectangle3.py +4 -4
  253. wandelbots_api_client/models/rectangular_capsule.py +4 -4
  254. wandelbots_api_client/models/rectangular_capsule2.py +5 -5
  255. wandelbots_api_client/models/rectangular_capsule3.py +5 -5
  256. wandelbots_api_client/models/release_channel.py +1 -1
  257. wandelbots_api_client/models/request.py +1 -1
  258. wandelbots_api_client/models/request1.py +1 -1
  259. wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
  260. wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
  261. wandelbots_api_client/models/robot_controller.py +3 -3
  262. wandelbots_api_client/models/robot_controller_configuration.py +1 -1
  263. wandelbots_api_client/models/robot_controller_state.py +8 -8
  264. wandelbots_api_client/models/robot_link_geometry.py +3 -3
  265. wandelbots_api_client/models/robot_state.py +3 -3
  266. wandelbots_api_client/models/robot_system_mode.py +1 -1
  267. wandelbots_api_client/models/robot_tcp.py +5 -5
  268. wandelbots_api_client/models/robot_tcps.py +2 -2
  269. wandelbots_api_client/models/rotation_angle_types.py +1 -1
  270. wandelbots_api_client/models/rotation_angles.py +3 -3
  271. wandelbots_api_client/models/safety_configuration.py +6 -6
  272. wandelbots_api_client/models/safety_setup.py +5 -5
  273. wandelbots_api_client/models/safety_setup_safety_settings.py +3 -3
  274. wandelbots_api_client/models/safety_setup_safety_zone.py +5 -5
  275. wandelbots_api_client/models/safety_zone.py +4 -4
  276. wandelbots_api_client/models/safety_zone_limits.py +3 -3
  277. wandelbots_api_client/models/safety_zone_violation.py +2 -2
  278. wandelbots_api_client/models/service_status.py +3 -3
  279. wandelbots_api_client/models/service_status_phase.py +1 -1
  280. wandelbots_api_client/models/service_status_severity.py +1 -1
  281. wandelbots_api_client/models/service_status_status.py +4 -4
  282. wandelbots_api_client/models/set_io.py +3 -3
  283. wandelbots_api_client/models/set_playback_speed.py +3 -3
  284. wandelbots_api_client/models/single_joint_limit.py +3 -3
  285. wandelbots_api_client/models/singularity.py +3 -3
  286. wandelbots_api_client/models/singularity_type_enum.py +1 -1
  287. wandelbots_api_client/models/sphere.py +2 -2
  288. wandelbots_api_client/models/sphere2.py +3 -3
  289. wandelbots_api_client/models/sphere3.py +3 -3
  290. wandelbots_api_client/models/standstill.py +2 -2
  291. wandelbots_api_client/models/standstill_reason.py +1 -1
  292. wandelbots_api_client/models/standstill_standstill.py +4 -4
  293. wandelbots_api_client/models/start_movement_request.py +6 -6
  294. wandelbots_api_client/models/start_on_io.py +3 -3
  295. wandelbots_api_client/models/status.py +4 -4
  296. wandelbots_api_client/models/stop_response.py +4 -4
  297. wandelbots_api_client/models/store_value.py +1 -1
  298. wandelbots_api_client/models/stream_move_backward.py +2 -2
  299. wandelbots_api_client/models/stream_move_forward.py +2 -2
  300. wandelbots_api_client/models/stream_move_playback_speed.py +2 -2
  301. wandelbots_api_client/models/stream_move_request.py +1 -1
  302. wandelbots_api_client/models/stream_move_response.py +4 -4
  303. wandelbots_api_client/models/stream_move_to_trajectory.py +2 -2
  304. wandelbots_api_client/models/stream_stop.py +2 -2
  305. wandelbots_api_client/models/tcp_pose.py +5 -5
  306. wandelbots_api_client/models/tcp_pose_request.py +5 -5
  307. wandelbots_api_client/models/tool_geometry.py +3 -3
  308. wandelbots_api_client/models/trajectory_sample.py +12 -12
  309. wandelbots_api_client/models/trigger_object.py +11 -11
  310. wandelbots_api_client/models/trigger_type.py +1 -1
  311. wandelbots_api_client/models/universalrobots_controller.py +3 -3
  312. wandelbots_api_client/models/update_nova_version_request.py +2 -2
  313. wandelbots_api_client/models/update_program_metadata_request.py +4 -4
  314. wandelbots_api_client/models/update_recipe_metadata_request.py +4 -4
  315. wandelbots_api_client/models/update_trigger_request.py +6 -6
  316. wandelbots_api_client/models/validation_error.py +4 -4
  317. wandelbots_api_client/models/validation_error2.py +4 -4
  318. wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
  319. wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
  320. wandelbots_api_client/models/value.py +1 -1
  321. wandelbots_api_client/models/vector3d.py +4 -4
  322. wandelbots_api_client/models/version_number.py +9 -9
  323. wandelbots_api_client/models/virtual_controller.py +7 -7
  324. wandelbots_api_client/models/virtual_controller_types.py +17 -2
  325. wandelbots_api_client/models/virtual_robot_configuration.py +3 -3
  326. wandelbots_api_client/models/yaskawa_controller.py +3 -3
  327. wandelbots_api_client/rest.py +3 -2
  328. wandelbots_api_client/v2/__init__.py +3 -4
  329. wandelbots_api_client/v2/api/__init__.py +16 -16
  330. wandelbots_api_client/v2/api/application_api.py +11 -12
  331. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4555 -0
  332. wandelbots_api_client/v2/api/cell_api.py +8 -9
  333. wandelbots_api_client/v2/api/controller_api.py +206 -202
  334. wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +45 -44
  335. wandelbots_api_client/v2/api/jogging_api.py +33 -11
  336. wandelbots_api_client/v2/api/kinematics_api.py +636 -0
  337. wandelbots_api_client/v2/api/license_api.py +8 -9
  338. wandelbots_api_client/v2/api/motion_group_api.py +61 -31
  339. wandelbots_api_client/v2/api/motion_group_models_api.py +557 -0
  340. wandelbots_api_client/v2/api/program_api.py +167 -1308
  341. wandelbots_api_client/v2/api/store_collision_components_api.py +823 -50
  342. wandelbots_api_client/v2/api/store_collision_setups_api.py +1404 -0
  343. wandelbots_api_client/v2/api/store_object_api.py +11 -12
  344. wandelbots_api_client/v2/api/system_api.py +282 -18
  345. wandelbots_api_client/v2/api/trajectory_caching_api.py +94 -20
  346. wandelbots_api_client/v2/api/trajectory_execution_api.py +33 -11
  347. wandelbots_api_client/v2/api/trajectory_planning_api.py +68 -323
  348. wandelbots_api_client/v2/api/{inverse_kinematics_api.py → version_api.py} +24 -81
  349. wandelbots_api_client/v2/api/virtual_controller_api.py +4565 -0
  350. wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +982 -0
  351. wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +1003 -0
  352. wandelbots_api_client/v2/api_client.py +15 -8
  353. wandelbots_api_client/v2/configuration.py +19 -8
  354. wandelbots_api_client/v2/exceptions.py +2 -2
  355. wandelbots_api_client/v2/models/__init__.py +210 -159
  356. wandelbots_api_client/v2/models/abb_controller.py +8 -11
  357. wandelbots_api_client/v2/models/abb_controller_egm_server.py +4 -4
  358. wandelbots_api_client/v2/models/activate_license_request.py +3 -3
  359. wandelbots_api_client/v2/models/add_trajectory_error.py +5 -5
  360. wandelbots_api_client/v2/models/add_trajectory_error_data.py +66 -66
  361. wandelbots_api_client/v2/models/add_trajectory_request.py +5 -5
  362. wandelbots_api_client/v2/models/add_trajectory_response.py +4 -4
  363. wandelbots_api_client/v2/models/{jogging_error_response_error.py → api_version.py} +9 -9
  364. wandelbots_api_client/v2/models/app.py +19 -11
  365. wandelbots_api_client/v2/models/behavior.py +3 -3
  366. wandelbots_api_client/v2/models/blending_auto.py +6 -5
  367. wandelbots_api_client/v2/models/blending_position.py +4 -4
  368. wandelbots_api_client/v2/models/boolean_value.py +7 -10
  369. wandelbots_api_client/v2/models/box.py +7 -7
  370. wandelbots_api_client/v2/models/{program_run_object.py → bus_io_description.py} +31 -20
  371. wandelbots_api_client/v2/models/{jogging_error_response.py → bus_io_modbus_client.py} +23 -14
  372. wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
  373. wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
  374. wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
  375. wandelbots_api_client/v2/models/{movement_error_error.py → bus_io_modbus_virtual.py} +17 -10
  376. wandelbots_api_client/v2/models/bus_io_profinet.py +114 -0
  377. wandelbots_api_client/v2/models/{motion_group_behavior_getter.py → bus_io_profinet_default_route.py} +12 -11
  378. wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +95 -0
  379. wandelbots_api_client/v2/models/{update_trigger_request.py → bus_io_profinet_network.py} +18 -18
  380. wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +98 -0
  381. wandelbots_api_client/v2/models/bus_io_type.py +212 -0
  382. wandelbots_api_client/v2/models/{create_trigger200_response.py → bus_ios_state.py} +12 -9
  383. wandelbots_api_client/v2/models/bus_ios_state_enum.py +39 -0
  384. wandelbots_api_client/v2/models/capsule.py +5 -5
  385. wandelbots_api_client/v2/models/{robot_state.py → cartesian_limits.py} +15 -15
  386. wandelbots_api_client/v2/models/cell.py +7 -7
  387. wandelbots_api_client/v2/models/collider.py +5 -5
  388. wandelbots_api_client/v2/models/collider_shape.py +2 -42
  389. wandelbots_api_client/v2/models/collision.py +11 -11
  390. wandelbots_api_client/v2/models/collision_contact.py +6 -6
  391. wandelbots_api_client/v2/models/{collision2.py → collision_error.py} +7 -7
  392. wandelbots_api_client/v2/models/collision_free_algorithm.py +155 -0
  393. wandelbots_api_client/v2/models/{collision_motion_group_assembly.py → collision_setup.py} +32 -18
  394. wandelbots_api_client/v2/models/comparator.py +2 -2
  395. wandelbots_api_client/v2/models/configuration_archive_status.py +174 -0
  396. wandelbots_api_client/v2/models/{joints.py → configuration_archive_status_creating.py} +20 -10
  397. wandelbots_api_client/v2/models/configuration_archive_status_error.py +100 -0
  398. wandelbots_api_client/v2/models/configuration_archive_status_success.py +98 -0
  399. wandelbots_api_client/v2/models/configuration_resource.py +5 -5
  400. wandelbots_api_client/v2/models/container_environment_inner.py +4 -4
  401. wandelbots_api_client/v2/models/container_image.py +5 -5
  402. wandelbots_api_client/v2/models/container_image_secrets_inner.py +3 -3
  403. wandelbots_api_client/v2/models/{create_program_operator_run200_response.py → container_resources.py} +12 -9
  404. wandelbots_api_client/v2/models/container_storage.py +4 -4
  405. wandelbots_api_client/v2/models/{create_trigger_request.py → controller_description.py} +16 -21
  406. wandelbots_api_client/v2/models/convex_hull.py +4 -4
  407. wandelbots_api_client/v2/models/coordinate_system.py +11 -11
  408. wandelbots_api_client/v2/models/coordinate_system_data.py +101 -0
  409. wandelbots_api_client/v2/models/cubic_spline_parameter.py +4 -4
  410. wandelbots_api_client/v2/models/cycle_time.py +5 -4
  411. wandelbots_api_client/v2/models/cylinder.py +5 -5
  412. wandelbots_api_client/v2/models/dh_parameter.py +7 -7
  413. wandelbots_api_client/v2/models/direction.py +2 -2
  414. wandelbots_api_client/v2/models/error.py +4 -4
  415. wandelbots_api_client/v2/models/{jogging_paused_collision.py → error_invalid_joint_count.py} +21 -14
  416. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
  417. wandelbots_api_client/v2/models/{coordinate_systems.py → error_joint_position_collision.py} +30 -19
  418. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +100 -0
  419. wandelbots_api_client/v2/models/execute.py +97 -0
  420. wandelbots_api_client/v2/models/{set_io_values_request_inner.py → execute_details.py} +47 -43
  421. wandelbots_api_client/v2/models/execute_jogging_request.py +52 -10
  422. wandelbots_api_client/v2/models/execute_jogging_response.py +87 -26
  423. wandelbots_api_client/v2/models/execute_trajectory_request.py +30 -2
  424. wandelbots_api_client/v2/models/execute_trajectory_response.py +61 -42
  425. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +6 -6
  426. wandelbots_api_client/v2/models/{robot_tcps.py → external_joint_stream_request.py} +17 -17
  427. wandelbots_api_client/v2/models/fanuc_controller.py +6 -9
  428. wandelbots_api_client/v2/models/feedback_collision.py +6 -6
  429. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +7 -6
  430. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +4 -4
  431. wandelbots_api_client/v2/models/feedback_singularity.py +5 -5
  432. wandelbots_api_client/v2/models/flag.py +3 -3
  433. wandelbots_api_client/v2/models/float_value.py +8 -11
  434. wandelbots_api_client/v2/models/{get_all_triggers200_response.py → forward_kinematics422_response.py} +17 -17
  435. wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
  436. wandelbots_api_client/v2/models/{controllers_list.py → forward_kinematics_response.py} +18 -18
  437. wandelbots_api_client/v2/models/{list_coordinate_systems_response.py → forward_kinematics_validation_error.py} +30 -18
  438. wandelbots_api_client/v2/models/get_trajectory_response.py +5 -5
  439. wandelbots_api_client/v2/models/http_validation_error.py +5 -5
  440. wandelbots_api_client/v2/models/image_credentials.py +5 -5
  441. wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +9 -9
  442. wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +9 -9
  443. wandelbots_api_client/v2/models/initialize_jogging_request.py +9 -16
  444. wandelbots_api_client/v2/models/initialize_jogging_response.py +17 -12
  445. wandelbots_api_client/v2/models/initialize_movement_request.py +7 -12
  446. wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
  447. wandelbots_api_client/v2/models/initialize_movement_response.py +22 -11
  448. wandelbots_api_client/v2/models/integer_value.py +8 -11
  449. wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +9 -9
  450. wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +8 -8
  451. wandelbots_api_client/v2/models/{motion_group_infos.py → inverse_kinematics422_response.py} +18 -18
  452. wandelbots_api_client/v2/models/inverse_kinematics_request.py +51 -31
  453. wandelbots_api_client/v2/models/inverse_kinematics_response.py +3 -3
  454. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +120 -0
  455. wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +155 -0
  456. wandelbots_api_client/v2/models/io_boolean_value.py +8 -11
  457. wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +10 -25
  458. wandelbots_api_client/v2/models/io_description.py +15 -15
  459. wandelbots_api_client/v2/models/io_direction.py +2 -2
  460. wandelbots_api_client/v2/models/io_float_value.py +9 -12
  461. wandelbots_api_client/v2/models/io_integer_value.py +9 -12
  462. wandelbots_api_client/v2/models/{trigger_type.py → io_origin.py} +7 -6
  463. wandelbots_api_client/v2/models/{set_output_values_request_inner.py → io_value.py} +10 -25
  464. wandelbots_api_client/v2/models/io_value_type.py +2 -2
  465. wandelbots_api_client/v2/models/{movement_movement.py → jogging_details.py} +21 -16
  466. wandelbots_api_client/v2/models/{jogging_state.py → jogging_details_state.py} +76 -43
  467. wandelbots_api_client/v2/models/{program_run_reference.py → jogging_paused_by_user.py} +17 -13
  468. wandelbots_api_client/v2/models/{jogging_paused_collision_paused_near_collision.py → jogging_paused_near_collision.py} +19 -10
  469. wandelbots_api_client/v2/models/{jogging_paused_joint_limit_paused_near_joint_limit.py → jogging_paused_near_joint_limit.py} +20 -10
  470. wandelbots_api_client/v2/models/jogging_paused_on_io.py +14 -7
  471. wandelbots_api_client/v2/models/jogging_running.py +14 -7
  472. wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +7 -7
  473. wandelbots_api_client/v2/models/joint_limits.py +101 -0
  474. wandelbots_api_client/v2/models/joint_trajectory.py +6 -23
  475. wandelbots_api_client/v2/models/joint_velocity_request.py +7 -14
  476. wandelbots_api_client/v2/models/joint_velocity_response.py +100 -0
  477. wandelbots_api_client/v2/models/kuka_controller.py +12 -13
  478. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +4 -4
  479. wandelbots_api_client/v2/models/license.py +12 -12
  480. wandelbots_api_client/v2/models/license_status.py +4 -4
  481. wandelbots_api_client/v2/models/license_status_enum.py +2 -2
  482. wandelbots_api_client/v2/models/{planning_limits_limit_range.py → limit_range.py} +8 -8
  483. wandelbots_api_client/v2/models/limit_set.py +129 -0
  484. wandelbots_api_client/v2/models/limits_override.py +8 -8
  485. wandelbots_api_client/v2/models/list_trajectories_response.py +3 -3
  486. wandelbots_api_client/v2/models/manufacturer.py +2 -2
  487. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +101 -0
  488. wandelbots_api_client/v2/models/modbus_io.py +105 -0
  489. wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
  490. wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
  491. wandelbots_api_client/v2/models/modbus_io_data.py +103 -0
  492. wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
  493. wandelbots_api_client/v2/models/motion_command.py +5 -5
  494. wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
  495. wandelbots_api_client/v2/models/motion_command_path.py +2 -2
  496. wandelbots_api_client/v2/models/{planning_parameters.py → motion_group_description.py} +40 -35
  497. wandelbots_api_client/v2/models/motion_group_info.py +7 -6
  498. wandelbots_api_client/v2/models/motion_group_joints.py +6 -6
  499. wandelbots_api_client/v2/models/{robot_setup.py → motion_group_setup.py} +33 -35
  500. wandelbots_api_client/v2/models/motion_group_state.py +32 -44
  501. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +3 -3
  502. wandelbots_api_client/v2/models/movement_error_response.py +100 -0
  503. wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +9 -9
  504. wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +6 -6
  505. wandelbots_api_client/v2/models/op_mode.py +3 -3
  506. wandelbots_api_client/v2/models/operating_state.py +2 -2
  507. wandelbots_api_client/v2/models/operation_limits.py +110 -0
  508. wandelbots_api_client/v2/models/operation_mode.py +2 -2
  509. wandelbots_api_client/v2/models/orientation_type.py +2 -2
  510. wandelbots_api_client/v2/models/path_cartesian_ptp.py +4 -4
  511. wandelbots_api_client/v2/models/path_circle.py +5 -5
  512. wandelbots_api_client/v2/models/path_cubic_spline.py +4 -4
  513. wandelbots_api_client/v2/models/path_joint_ptp.py +4 -4
  514. wandelbots_api_client/v2/models/path_line.py +4 -4
  515. wandelbots_api_client/v2/models/pause_jogging_request.py +98 -0
  516. wandelbots_api_client/v2/models/{initialize_jogging_response_init_response.py → pause_jogging_response.py} +19 -12
  517. wandelbots_api_client/v2/models/pause_movement_request.py +7 -12
  518. wandelbots_api_client/v2/models/pause_movement_response.py +17 -12
  519. wandelbots_api_client/v2/models/pause_on_io.py +11 -8
  520. wandelbots_api_client/v2/models/payload.py +6 -6
  521. wandelbots_api_client/v2/models/{http_validation_error2.py → plan422_response.py} +9 -9
  522. wandelbots_api_client/v2/models/{movement.py → plan_collision_free_failed_response.py} +13 -13
  523. wandelbots_api_client/v2/models/{jogging_response_jogging.py → plan_collision_free_request.py} +25 -21
  524. wandelbots_api_client/v2/models/{standstill.py → plan_collision_free_response.py} +13 -13
  525. wandelbots_api_client/{models/create_trigger_request_config.py → v2/models/plan_collision_free_response_response.py} +34 -20
  526. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +5 -5
  527. wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
  528. wandelbots_api_client/v2/models/plan_trajectory_request.py +11 -11
  529. wandelbots_api_client/v2/models/plan_trajectory_response.py +3 -3
  530. wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
  531. wandelbots_api_client/v2/models/{get_all_program_operator_runs200_response.py → plan_validation_error.py} +30 -18
  532. wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +174 -0
  533. wandelbots_api_client/v2/models/plane.py +3 -3
  534. wandelbots_api_client/v2/models/playback_speed_request.py +7 -9
  535. wandelbots_api_client/v2/models/playback_speed_response.py +17 -12
  536. wandelbots_api_client/v2/models/pose.py +4 -4
  537. wandelbots_api_client/v2/models/profinet_description.py +120 -0
  538. wandelbots_api_client/v2/models/{opcua_node_value_trigger_config.py → profinet_input_output_config.py} +14 -17
  539. wandelbots_api_client/v2/models/profinet_io.py +104 -0
  540. wandelbots_api_client/v2/models/{program_request.py → profinet_io_data.py} +20 -39
  541. wandelbots_api_client/v2/models/profinet_io_direction.py +38 -0
  542. wandelbots_api_client/v2/models/profinet_io_type_enum.py +45 -0
  543. wandelbots_api_client/v2/models/{list_io_descriptions_response.py → profinet_slot_description.py} +23 -18
  544. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +96 -0
  545. wandelbots_api_client/v2/models/program.py +109 -0
  546. wandelbots_api_client/v2/models/program_run.py +23 -35
  547. wandelbots_api_client/v2/models/program_run_state.py +8 -8
  548. wandelbots_api_client/v2/models/{jogging_paused_user_request.py → program_start_request.py} +10 -10
  549. wandelbots_api_client/v2/models/rectangle.py +5 -5
  550. wandelbots_api_client/v2/models/rectangular_capsule.py +6 -6
  551. wandelbots_api_client/v2/models/release_channel.py +2 -2
  552. wandelbots_api_client/v2/models/robot_controller.py +4 -4
  553. wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
  554. wandelbots_api_client/v2/models/robot_controller_state.py +17 -11
  555. wandelbots_api_client/v2/models/robot_system_mode.py +8 -8
  556. wandelbots_api_client/v2/models/robot_tcp.py +10 -10
  557. wandelbots_api_client/v2/models/{motion_vector.py → robot_tcp_data.py} +16 -13
  558. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +109 -0
  559. wandelbots_api_client/v2/models/safety_state_type.py +2 -2
  560. wandelbots_api_client/v2/models/service_group.py +2 -2
  561. wandelbots_api_client/v2/models/service_status.py +5 -5
  562. wandelbots_api_client/v2/models/service_status_phase.py +2 -2
  563. wandelbots_api_client/v2/models/service_status_response.py +4 -4
  564. wandelbots_api_client/v2/models/service_status_severity.py +2 -2
  565. wandelbots_api_client/v2/models/service_status_status.py +5 -5
  566. wandelbots_api_client/v2/models/{standstill_standstill.py → set_io.py} +17 -17
  567. wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
  568. wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
  569. wandelbots_api_client/v2/models/sphere.py +4 -4
  570. wandelbots_api_client/v2/models/start_movement_request.py +14 -15
  571. wandelbots_api_client/v2/models/start_movement_response.py +100 -0
  572. wandelbots_api_client/v2/models/start_on_io.py +11 -8
  573. wandelbots_api_client/v2/models/{list_io_values_response.py → stream_io_values_response.py} +17 -11
  574. wandelbots_api_client/v2/models/tcp_offset.py +4 -4
  575. wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +6 -6
  576. wandelbots_api_client/v2/models/tcp_velocity_request.py +6 -9
  577. wandelbots_api_client/v2/models/tcp_velocity_response.py +100 -0
  578. wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +9 -9
  579. wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +8 -8
  580. wandelbots_api_client/v2/models/trajectory_data.py +6 -6
  581. wandelbots_api_client/v2/models/trajectory_details.py +108 -0
  582. wandelbots_api_client/v2/models/trajectory_details_state.py +212 -0
  583. wandelbots_api_client/v2/models/trajectory_ended.py +98 -0
  584. wandelbots_api_client/v2/models/trajectory_id.py +4 -4
  585. wandelbots_api_client/v2/models/{get_mode_response.py → trajectory_paused_by_user.py} +17 -11
  586. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +98 -0
  587. wandelbots_api_client/v2/models/trajectory_running.py +101 -0
  588. wandelbots_api_client/v2/models/{create_program_operator_run_request.py → trajectory_wait_for_io.py} +17 -10
  589. wandelbots_api_client/v2/models/unit_type.py +3 -3
  590. wandelbots_api_client/v2/models/universalrobots_controller.py +6 -9
  591. wandelbots_api_client/v2/models/update_nova_version_request.py +3 -3
  592. wandelbots_api_client/v2/models/validation_error.py +9 -7
  593. wandelbots_api_client/v2/models/validation_error2.py +6 -6
  594. wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
  595. wandelbots_api_client/v2/models/virtual_controller.py +11 -14
  596. wandelbots_api_client/v2/models/virtual_controller_types.py +18 -3
  597. wandelbots_api_client/v2/models/virtual_robot_configuration.py +4 -4
  598. wandelbots_api_client/v2/models/wait_for_io_event_request.py +6 -6
  599. wandelbots_api_client/v2/models/yaskawa_controller.py +6 -9
  600. wandelbots_api_client/v2/rest.py +4 -3
  601. wandelbots_api_client/v2_pydantic/__init__.py +50 -0
  602. wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
  603. wandelbots_api_client/{v2/api/virtual_robot_api.py → v2_pydantic/api/application_api.py} +327 -426
  604. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
  605. wandelbots_api_client/{v2/api/virtual_robot_setup_api.py → v2_pydantic/api/cell_api.py} +291 -771
  606. wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
  607. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
  608. wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
  609. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
  610. wandelbots_api_client/{v2/api/store_collision_scenes_api.py → v2_pydantic/api/license_api.py} +158 -248
  611. wandelbots_api_client/{v2/api/virtual_robot_behavior_api.py → v2_pydantic/api/motion_group_api.py} +156 -131
  612. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
  613. wandelbots_api_client/{v2/api/store_program_api.py → v2_pydantic/api/program_api.py} +191 -181
  614. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
  615. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
  616. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
  617. wandelbots_api_client/{v2/api/program_operator_api.py → v2_pydantic/api/system_api.py} +625 -476
  618. wandelbots_api_client/{v2/api/virtual_robot_mode_api.py → v2_pydantic/api/trajectory_caching_api.py} +208 -162
  619. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
  620. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
  621. wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
  622. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
  623. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
  624. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
  625. wandelbots_api_client/v2_pydantic/api_client.py +809 -0
  626. wandelbots_api_client/v2_pydantic/api_response.py +21 -0
  627. wandelbots_api_client/v2_pydantic/configuration.py +606 -0
  628. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  629. wandelbots_api_client/v2_pydantic/models.py +4561 -0
  630. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  631. wandelbots_api_client/v2_pydantic/rest.py +213 -0
  632. wandelbots_api_client-25.10.0rc2.dist-info/METADATA +62 -0
  633. wandelbots_api_client-25.10.0rc2.dist-info/RECORD +640 -0
  634. {wandelbots_api_client-25.6.0.dev7.dist-info → wandelbots_api_client-25.10.0rc2.dist-info}/WHEEL +2 -1
  635. wandelbots_api_client-25.10.0rc2.dist-info/top_level.txt +1 -0
  636. wandelbots_api_client/v2/models/collision_motion_group.py +0 -121
  637. wandelbots_api_client/v2/models/collision_scene.py +0 -119
  638. wandelbots_api_client/v2/models/collision_scene_assembly.py +0 -129
  639. wandelbots_api_client/v2/models/controller.py +0 -132
  640. wandelbots_api_client/v2/models/external_joint_stream_datapoint_value.py +0 -97
  641. wandelbots_api_client/v2/models/initialize_movement_response_init_response.py +0 -93
  642. wandelbots_api_client/v2/models/jogging_paused_joint_limit.py +0 -95
  643. wandelbots_api_client/v2/models/jogging_response.py +0 -95
  644. wandelbots_api_client/v2/models/motion_group_instance.py +0 -101
  645. wandelbots_api_client/v2/models/motion_group_state_without_payload.py +0 -146
  646. wandelbots_api_client/v2/models/movement_error.py +0 -95
  647. wandelbots_api_client/v2/models/opcua_node_value_trigger_config_node_value.py +0 -160
  648. wandelbots_api_client/v2/models/pause_movement_response_pause_response.py +0 -93
  649. wandelbots_api_client/v2/models/planning_limits.py +0 -130
  650. wandelbots_api_client/v2/models/playback_speed_response_playback_speed_response.py +0 -91
  651. wandelbots_api_client/v2/models/program_run_result.py +0 -108
  652. wandelbots_api_client/v2/models/single_motion_group_collision_scene.py +0 -135
  653. wandelbots_api_client/v2/models/standstill_reason.py +0 -39
  654. wandelbots_api_client/v2/models/trigger_object.py +0 -111
  655. wandelbots_api_client/v2/models/version_number.py +0 -105
  656. wandelbots_api_client-25.6.0.dev7.dist-info/METADATA +0 -63
  657. wandelbots_api_client-25.6.0.dev7.dist-info/RECORD +0 -580
  658. {wandelbots_api_client-25.6.0.dev7.dist-info → wandelbots_api_client-25.10.0rc2.dist-info/licenses}/LICENSE +0 -0
@@ -3,15 +3,14 @@
3
3
  """
4
4
  Wandelbots NOVA API
5
5
 
6
- Interact with robots in an easy and intuitive way. > **Note:** API version 2 is experimental and will experience functional changes.
6
+ Interact with robots in an easy and intuitive way.
7
7
 
8
- The version of the OpenAPI document: 2.0.0 beta
8
+ The version of the OpenAPI document: 2.1.0 dev
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
10
10
 
11
11
  Do not edit the class manually.
12
12
  """ # noqa: E501
13
13
 
14
-
15
14
  from furl import furl
16
15
  import json
17
16
  import humps
@@ -23,12 +22,12 @@ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, U
23
22
  from typing_extensions import Annotated
24
23
  from urllib.parse import quote
25
24
 
26
- from pydantic import Field, StrictStr
25
+ from pydantic import Field, StrictStr, field_validator
27
26
  from typing import List
28
27
  from typing_extensions import Annotated
29
- from wandelbots_api_client.v2.models.program_request import ProgramRequest
28
+ from wandelbots_api_client.v2.models.program import Program
30
29
  from wandelbots_api_client.v2.models.program_run import ProgramRun
31
- from wandelbots_api_client.v2.models.program_run_reference import ProgramRunReference
30
+ from wandelbots_api_client.v2.models.program_start_request import ProgramStartRequest
32
31
 
33
32
  from wandelbots_api_client.v2.api_client import ApiClient, RequestSerialized
34
33
  from wandelbots_api_client.v2.api_response import ApiResponse
@@ -47,10 +46,10 @@ class ProgramApi:
47
46
  self.api_client = api_client
48
47
 
49
48
  @validate_call
50
- async def create_program_run(
49
+ async def get_program(
51
50
  self,
52
51
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
53
- program_request: ProgramRequest,
52
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
54
53
  _request_timeout: Union[
55
54
  None,
56
55
  Annotated[StrictFloat, Field(gt=0)],
@@ -63,15 +62,15 @@ class ProgramApi:
63
62
  _content_type: Optional[StrictStr] = None,
64
63
  _headers: Optional[Dict[StrictStr, Any]] = None,
65
64
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
66
- ) -> ProgramRunReference:
67
- """Create program run
65
+ ) -> Program:
66
+ """Get program
68
67
 
69
- This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
68
+ <!-- theme: danger --> > **Experimental** Get details of a program.
70
69
 
71
70
  :param cell: Unique identifier addressing a cell in all API calls. (required)
72
71
  :type cell: str
73
- :param program_request: (required)
74
- :type program_request: ProgramRequest
72
+ :param program: (required)
73
+ :type program: str
75
74
  :param _request_timeout: timeout setting for this request. If one
76
75
  number provided, it will be total request
77
76
  timeout. It can also be a pair (tuple) of
@@ -94,9 +93,9 @@ class ProgramApi:
94
93
  :return: Returns the result object.
95
94
  """ # noqa: E501
96
95
 
97
- _param = self._create_program_run_serialize(
96
+ _param = self._get_program_serialize(
98
97
  cell=cell,
99
- program_request=program_request,
98
+ program=program,
100
99
  _request_auth=_request_auth,
101
100
  _content_type=_content_type,
102
101
  _headers=_headers,
@@ -104,12 +103,7 @@ class ProgramApi:
104
103
  )
105
104
 
106
105
  _response_types_map: Dict[str, Optional[str]] = {
107
- '200': "ProgramRunReference",
108
- '400': None,
109
- '404': None,
110
- '406': None,
111
- '422': "HTTPValidationError2",
112
- '452': None,
106
+ '200': "Program",
113
107
  '500': None,
114
108
  }
115
109
  response_data = await self.api_client.call_api(
@@ -124,10 +118,10 @@ class ProgramApi:
124
118
 
125
119
 
126
120
  @validate_call
127
- async def create_program_run_with_http_info(
121
+ async def get_program_with_http_info(
128
122
  self,
129
123
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
130
- program_request: ProgramRequest,
124
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
131
125
  _request_timeout: Union[
132
126
  None,
133
127
  Annotated[StrictFloat, Field(gt=0)],
@@ -140,15 +134,15 @@ class ProgramApi:
140
134
  _content_type: Optional[StrictStr] = None,
141
135
  _headers: Optional[Dict[StrictStr, Any]] = None,
142
136
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
143
- ) -> ApiResponse[ProgramRunReference]:
144
- """Create program run
137
+ ) -> ApiResponse[Program]:
138
+ """Get program
145
139
 
146
- This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
140
+ <!-- theme: danger --> > **Experimental** Get details of a program.
147
141
 
148
142
  :param cell: Unique identifier addressing a cell in all API calls. (required)
149
143
  :type cell: str
150
- :param program_request: (required)
151
- :type program_request: ProgramRequest
144
+ :param program: (required)
145
+ :type program: str
152
146
  :param _request_timeout: timeout setting for this request. If one
153
147
  number provided, it will be total request
154
148
  timeout. It can also be a pair (tuple) of
@@ -171,9 +165,9 @@ class ProgramApi:
171
165
  :return: Returns the result object.
172
166
  """ # noqa: E501
173
167
 
174
- _param = self._create_program_run_serialize(
168
+ _param = self._get_program_serialize(
175
169
  cell=cell,
176
- program_request=program_request,
170
+ program=program,
177
171
  _request_auth=_request_auth,
178
172
  _content_type=_content_type,
179
173
  _headers=_headers,
@@ -181,12 +175,7 @@ class ProgramApi:
181
175
  )
182
176
 
183
177
  _response_types_map: Dict[str, Optional[str]] = {
184
- '200': "ProgramRunReference",
185
- '400': None,
186
- '404': None,
187
- '406': None,
188
- '422': "HTTPValidationError2",
189
- '452': None,
178
+ '200': "Program",
190
179
  '500': None,
191
180
  }
192
181
  response_data = await self.api_client.call_api(
@@ -201,10 +190,10 @@ class ProgramApi:
201
190
 
202
191
 
203
192
  @validate_call
204
- async def create_program_run_without_preload_content(
193
+ async def get_program_without_preload_content(
205
194
  self,
206
195
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
207
- program_request: ProgramRequest,
196
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
208
197
  _request_timeout: Union[
209
198
  None,
210
199
  Annotated[StrictFloat, Field(gt=0)],
@@ -218,14 +207,14 @@ class ProgramApi:
218
207
  _headers: Optional[Dict[StrictStr, Any]] = None,
219
208
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
220
209
  ) -> RESTResponseType:
221
- """Create program run
210
+ """Get program
222
211
 
223
- This endpoint accepts a program and if desired, initial arguments (in the form of a dict). The program will be executed asynchronously. It returns a program run reference which can be used to query the state of the program run. ## Receiving state updates Receive state updates of the program run via polling the `/programs/runs/{run_id}/` ### Via polling You can receive updates about the state of the program run by polling the `/programs/runs/{run_id}/` endpoint.
212
+ <!-- theme: danger --> > **Experimental** Get details of a program.
224
213
 
225
214
  :param cell: Unique identifier addressing a cell in all API calls. (required)
226
215
  :type cell: str
227
- :param program_request: (required)
228
- :type program_request: ProgramRequest
216
+ :param program: (required)
217
+ :type program: str
229
218
  :param _request_timeout: timeout setting for this request. If one
230
219
  number provided, it will be total request
231
220
  timeout. It can also be a pair (tuple) of
@@ -248,9 +237,9 @@ class ProgramApi:
248
237
  :return: Returns the result object.
249
238
  """ # noqa: E501
250
239
 
251
- _param = self._create_program_run_serialize(
240
+ _param = self._get_program_serialize(
252
241
  cell=cell,
253
- program_request=program_request,
242
+ program=program,
254
243
  _request_auth=_request_auth,
255
244
  _content_type=_content_type,
256
245
  _headers=_headers,
@@ -258,12 +247,7 @@ class ProgramApi:
258
247
  )
259
248
 
260
249
  _response_types_map: Dict[str, Optional[str]] = {
261
- '200': "ProgramRunReference",
262
- '400': None,
263
- '404': None,
264
- '406': None,
265
- '422': "HTTPValidationError2",
266
- '452': None,
250
+ '200': "Program",
267
251
  '500': None,
268
252
  }
269
253
  response_data = await self.api_client.call_api(
@@ -273,10 +257,10 @@ class ProgramApi:
273
257
  return response_data.response
274
258
 
275
259
 
276
- def _create_program_run_serialize(
260
+ def _get_program_serialize(
277
261
  self,
278
262
  cell,
279
- program_request,
263
+ program,
280
264
  _request_auth,
281
265
  _content_type,
282
266
  _headers,
@@ -298,12 +282,12 @@ class ProgramApi:
298
282
  # process the path parameters
299
283
  if cell is not None:
300
284
  _path_params['cell'] = cell
285
+ if program is not None:
286
+ _path_params['program'] = program
301
287
  # process the query parameters
302
288
  # process the header parameters
303
289
  # process the form parameters
304
290
  # process the body parameter
305
- if program_request is not None:
306
- _body_params = program_request
307
291
 
308
292
 
309
293
  # set the HTTP header `Accept`
@@ -313,19 +297,6 @@ class ProgramApi:
313
297
  ]
314
298
  )
315
299
 
316
- # set the HTTP header `Content-Type`
317
- if _content_type:
318
- _header_params['Content-Type'] = _content_type
319
- else:
320
- _default_content_type = (
321
- self.api_client.select_header_content_type(
322
- [
323
- 'application/json'
324
- ]
325
- )
326
- )
327
- if _default_content_type is not None:
328
- _header_params['Content-Type'] = _default_content_type
329
300
 
330
301
  # authentication setting
331
302
  _auth_settings: List[str] = [
@@ -334,8 +305,8 @@ class ProgramApi:
334
305
  ]
335
306
 
336
307
  return self.api_client.param_serialize(
337
- method='POST',
338
- resource_path='/cells/{cell}/programs/runs',
308
+ method='GET',
309
+ resource_path='/experimental/cells/{cell}/programs/{program}',
339
310
  path_params=_path_params,
340
311
  query_params=_query_params,
341
312
  header_params=_header_params,
@@ -351,10 +322,9 @@ class ProgramApi:
351
322
 
352
323
 
353
324
  @validate_call
354
- async def execute_program(
325
+ async def list_programs(
355
326
  self,
356
327
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
357
- program_request: ProgramRequest,
358
328
  _request_timeout: Union[
359
329
  None,
360
330
  Annotated[StrictFloat, Field(gt=0)],
@@ -367,15 +337,13 @@ class ProgramApi:
367
337
  _content_type: Optional[StrictStr] = None,
368
338
  _headers: Optional[Dict[StrictStr, Any]] = None,
369
339
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
370
- ) -> ProgramRun:
371
- """Execute program
340
+ ) -> List[Program]:
341
+ """List programs
372
342
 
373
- Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
343
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
374
344
 
375
345
  :param cell: Unique identifier addressing a cell in all API calls. (required)
376
346
  :type cell: str
377
- :param program_request: (required)
378
- :type program_request: ProgramRequest
379
347
  :param _request_timeout: timeout setting for this request. If one
380
348
  number provided, it will be total request
381
349
  timeout. It can also be a pair (tuple) of
@@ -398,9 +366,8 @@ class ProgramApi:
398
366
  :return: Returns the result object.
399
367
  """ # noqa: E501
400
368
 
401
- _param = self._execute_program_serialize(
369
+ _param = self._list_programs_serialize(
402
370
  cell=cell,
403
- program_request=program_request,
404
371
  _request_auth=_request_auth,
405
372
  _content_type=_content_type,
406
373
  _headers=_headers,
@@ -408,11 +375,7 @@ class ProgramApi:
408
375
  )
409
376
 
410
377
  _response_types_map: Dict[str, Optional[str]] = {
411
- '200': "ProgramRun",
412
- '400': None,
413
- '404': None,
414
- '422': "HTTPValidationError2",
415
- '452': None,
378
+ '200': "List[Program]",
416
379
  '500': None,
417
380
  }
418
381
  response_data = await self.api_client.call_api(
@@ -427,10 +390,9 @@ class ProgramApi:
427
390
 
428
391
 
429
392
  @validate_call
430
- async def execute_program_with_http_info(
393
+ async def list_programs_with_http_info(
431
394
  self,
432
395
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
433
- program_request: ProgramRequest,
434
396
  _request_timeout: Union[
435
397
  None,
436
398
  Annotated[StrictFloat, Field(gt=0)],
@@ -443,15 +405,13 @@ class ProgramApi:
443
405
  _content_type: Optional[StrictStr] = None,
444
406
  _headers: Optional[Dict[StrictStr, Any]] = None,
445
407
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
446
- ) -> ApiResponse[ProgramRun]:
447
- """Execute program
408
+ ) -> ApiResponse[List[Program]]:
409
+ """List programs
448
410
 
449
- Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
411
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
450
412
 
451
413
  :param cell: Unique identifier addressing a cell in all API calls. (required)
452
414
  :type cell: str
453
- :param program_request: (required)
454
- :type program_request: ProgramRequest
455
415
  :param _request_timeout: timeout setting for this request. If one
456
416
  number provided, it will be total request
457
417
  timeout. It can also be a pair (tuple) of
@@ -474,9 +434,8 @@ class ProgramApi:
474
434
  :return: Returns the result object.
475
435
  """ # noqa: E501
476
436
 
477
- _param = self._execute_program_serialize(
437
+ _param = self._list_programs_serialize(
478
438
  cell=cell,
479
- program_request=program_request,
480
439
  _request_auth=_request_auth,
481
440
  _content_type=_content_type,
482
441
  _headers=_headers,
@@ -484,11 +443,7 @@ class ProgramApi:
484
443
  )
485
444
 
486
445
  _response_types_map: Dict[str, Optional[str]] = {
487
- '200': "ProgramRun",
488
- '400': None,
489
- '404': None,
490
- '422': "HTTPValidationError2",
491
- '452': None,
446
+ '200': "List[Program]",
492
447
  '500': None,
493
448
  }
494
449
  response_data = await self.api_client.call_api(
@@ -503,10 +458,9 @@ class ProgramApi:
503
458
 
504
459
 
505
460
  @validate_call
506
- async def execute_program_without_preload_content(
461
+ async def list_programs_without_preload_content(
507
462
  self,
508
463
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
509
- program_request: ProgramRequest,
510
464
  _request_timeout: Union[
511
465
  None,
512
466
  Annotated[StrictFloat, Field(gt=0)],
@@ -520,14 +474,12 @@ class ProgramApi:
520
474
  _headers: Optional[Dict[StrictStr, Any]] = None,
521
475
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
522
476
  ) -> RESTResponseType:
523
- """Execute program
477
+ """List programs
524
478
 
525
- Execute a program synchronously. The execute operation will be started from the current joint configuration of any addressed robot(s). Addressed robots have to be in control mode for the execute operation to succeed. A request to this endpoint will block this endpoint until the program has been executed, or until an error occurs. The executed movement is returned in case of a successful execution. Otherwise an error (e.g. out of reach, singularity), is returned.
479
+ <!-- theme: danger --> > **Experimental** List details of all existing programs.
526
480
 
527
481
  :param cell: Unique identifier addressing a cell in all API calls. (required)
528
482
  :type cell: str
529
- :param program_request: (required)
530
- :type program_request: ProgramRequest
531
483
  :param _request_timeout: timeout setting for this request. If one
532
484
  number provided, it will be total request
533
485
  timeout. It can also be a pair (tuple) of
@@ -550,9 +502,8 @@ class ProgramApi:
550
502
  :return: Returns the result object.
551
503
  """ # noqa: E501
552
504
 
553
- _param = self._execute_program_serialize(
505
+ _param = self._list_programs_serialize(
554
506
  cell=cell,
555
- program_request=program_request,
556
507
  _request_auth=_request_auth,
557
508
  _content_type=_content_type,
558
509
  _headers=_headers,
@@ -560,11 +511,7 @@ class ProgramApi:
560
511
  )
561
512
 
562
513
  _response_types_map: Dict[str, Optional[str]] = {
563
- '200': "ProgramRun",
564
- '400': None,
565
- '404': None,
566
- '422': "HTTPValidationError2",
567
- '452': None,
514
+ '200': "List[Program]",
568
515
  '500': None,
569
516
  }
570
517
  response_data = await self.api_client.call_api(
@@ -574,10 +521,9 @@ class ProgramApi:
574
521
  return response_data.response
575
522
 
576
523
 
577
- def _execute_program_serialize(
524
+ def _list_programs_serialize(
578
525
  self,
579
526
  cell,
580
- program_request,
581
527
  _request_auth,
582
528
  _content_type,
583
529
  _headers,
@@ -603,8 +549,6 @@ class ProgramApi:
603
549
  # process the header parameters
604
550
  # process the form parameters
605
551
  # process the body parameter
606
- if program_request is not None:
607
- _body_params = program_request
608
552
 
609
553
 
610
554
  # set the HTTP header `Accept`
@@ -614,19 +558,6 @@ class ProgramApi:
614
558
  ]
615
559
  )
616
560
 
617
- # set the HTTP header `Content-Type`
618
- if _content_type:
619
- _header_params['Content-Type'] = _content_type
620
- else:
621
- _default_content_type = (
622
- self.api_client.select_header_content_type(
623
- [
624
- 'application/json'
625
- ]
626
- )
627
- )
628
- if _default_content_type is not None:
629
- _header_params['Content-Type'] = _default_content_type
630
561
 
631
562
  # authentication setting
632
563
  _auth_settings: List[str] = [
@@ -635,8 +566,8 @@ class ProgramApi:
635
566
  ]
636
567
 
637
568
  return self.api_client.param_serialize(
638
- method='POST',
639
- resource_path='/cells/{cell}/programs/execute',
569
+ method='GET',
570
+ resource_path='/experimental/cells/{cell}/programs',
640
571
  path_params=_path_params,
641
572
  query_params=_query_params,
642
573
  header_params=_header_params,
@@ -652,10 +583,11 @@ class ProgramApi:
652
583
 
653
584
 
654
585
  @validate_call
655
- async def get_program_run(
586
+ async def start_program(
656
587
  self,
657
588
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
658
- run: StrictStr,
589
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
590
+ program_start_request: ProgramStartRequest,
659
591
  _request_timeout: Union[
660
592
  None,
661
593
  Annotated[StrictFloat, Field(gt=0)],
@@ -669,14 +601,16 @@ class ProgramApi:
669
601
  _headers: Optional[Dict[StrictStr, Any]] = None,
670
602
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
671
603
  ) -> ProgramRun:
672
- """Get program run
604
+ """Start the program
673
605
 
674
- Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
606
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
675
607
 
676
608
  :param cell: Unique identifier addressing a cell in all API calls. (required)
677
609
  :type cell: str
678
- :param run: (required)
679
- :type run: str
610
+ :param program: (required)
611
+ :type program: str
612
+ :param program_start_request: (required)
613
+ :type program_start_request: ProgramStartRequest
680
614
  :param _request_timeout: timeout setting for this request. If one
681
615
  number provided, it will be total request
682
616
  timeout. It can also be a pair (tuple) of
@@ -699,9 +633,10 @@ class ProgramApi:
699
633
  :return: Returns the result object.
700
634
  """ # noqa: E501
701
635
 
702
- _param = self._get_program_run_serialize(
636
+ _param = self._start_program_serialize(
703
637
  cell=cell,
704
- run=run,
638
+ program=program,
639
+ program_start_request=program_start_request,
705
640
  _request_auth=_request_auth,
706
641
  _content_type=_content_type,
707
642
  _headers=_headers,
@@ -710,7 +645,11 @@ class ProgramApi:
710
645
 
711
646
  _response_types_map: Dict[str, Optional[str]] = {
712
647
  '200': "ProgramRun",
648
+ '400': None,
713
649
  '404': None,
650
+ '406': None,
651
+ '422': "HTTPValidationError",
652
+ '452': None,
714
653
  '500': None,
715
654
  }
716
655
  response_data = await self.api_client.call_api(
@@ -725,10 +664,11 @@ class ProgramApi:
725
664
 
726
665
 
727
666
  @validate_call
728
- async def get_program_run_with_http_info(
667
+ async def start_program_with_http_info(
729
668
  self,
730
669
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
731
- run: StrictStr,
670
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
671
+ program_start_request: ProgramStartRequest,
732
672
  _request_timeout: Union[
733
673
  None,
734
674
  Annotated[StrictFloat, Field(gt=0)],
@@ -742,14 +682,16 @@ class ProgramApi:
742
682
  _headers: Optional[Dict[StrictStr, Any]] = None,
743
683
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
744
684
  ) -> ApiResponse[ProgramRun]:
745
- """Get program run
685
+ """Start the program
746
686
 
747
- Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
687
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
748
688
 
749
689
  :param cell: Unique identifier addressing a cell in all API calls. (required)
750
690
  :type cell: str
751
- :param run: (required)
752
- :type run: str
691
+ :param program: (required)
692
+ :type program: str
693
+ :param program_start_request: (required)
694
+ :type program_start_request: ProgramStartRequest
753
695
  :param _request_timeout: timeout setting for this request. If one
754
696
  number provided, it will be total request
755
697
  timeout. It can also be a pair (tuple) of
@@ -772,9 +714,10 @@ class ProgramApi:
772
714
  :return: Returns the result object.
773
715
  """ # noqa: E501
774
716
 
775
- _param = self._get_program_run_serialize(
717
+ _param = self._start_program_serialize(
776
718
  cell=cell,
777
- run=run,
719
+ program=program,
720
+ program_start_request=program_start_request,
778
721
  _request_auth=_request_auth,
779
722
  _content_type=_content_type,
780
723
  _headers=_headers,
@@ -783,7 +726,11 @@ class ProgramApi:
783
726
 
784
727
  _response_types_map: Dict[str, Optional[str]] = {
785
728
  '200': "ProgramRun",
729
+ '400': None,
786
730
  '404': None,
731
+ '406': None,
732
+ '422': "HTTPValidationError",
733
+ '452': None,
787
734
  '500': None,
788
735
  }
789
736
  response_data = await self.api_client.call_api(
@@ -798,10 +745,11 @@ class ProgramApi:
798
745
 
799
746
 
800
747
  @validate_call
801
- async def get_program_run_without_preload_content(
748
+ async def start_program_without_preload_content(
802
749
  self,
803
750
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
804
- run: StrictStr,
751
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
752
+ program_start_request: ProgramStartRequest,
805
753
  _request_timeout: Union[
806
754
  None,
807
755
  Annotated[StrictFloat, Field(gt=0)],
@@ -815,14 +763,16 @@ class ProgramApi:
815
763
  _headers: Optional[Dict[StrictStr, Any]] = None,
816
764
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
817
765
  ) -> RESTResponseType:
818
- """Get program run
766
+ """Start the program
819
767
 
820
- Returns information about a program currently executed. When a program is finished: Program response, result, collected logs, .. When a program is running: Running status, current executed line, ...
768
+ <!-- theme: danger --> > **Experimental** This endpoint starts a new program execution. The program will be executed asynchronously.
821
769
 
822
770
  :param cell: Unique identifier addressing a cell in all API calls. (required)
823
771
  :type cell: str
824
- :param run: (required)
825
- :type run: str
772
+ :param program: (required)
773
+ :type program: str
774
+ :param program_start_request: (required)
775
+ :type program_start_request: ProgramStartRequest
826
776
  :param _request_timeout: timeout setting for this request. If one
827
777
  number provided, it will be total request
828
778
  timeout. It can also be a pair (tuple) of
@@ -845,9 +795,10 @@ class ProgramApi:
845
795
  :return: Returns the result object.
846
796
  """ # noqa: E501
847
797
 
848
- _param = self._get_program_run_serialize(
798
+ _param = self._start_program_serialize(
849
799
  cell=cell,
850
- run=run,
800
+ program=program,
801
+ program_start_request=program_start_request,
851
802
  _request_auth=_request_auth,
852
803
  _content_type=_content_type,
853
804
  _headers=_headers,
@@ -856,7 +807,11 @@ class ProgramApi:
856
807
 
857
808
  _response_types_map: Dict[str, Optional[str]] = {
858
809
  '200': "ProgramRun",
810
+ '400': None,
859
811
  '404': None,
812
+ '406': None,
813
+ '422': "HTTPValidationError",
814
+ '452': None,
860
815
  '500': None,
861
816
  }
862
817
  response_data = await self.api_client.call_api(
@@ -866,10 +821,11 @@ class ProgramApi:
866
821
  return response_data.response
867
822
 
868
823
 
869
- def _get_program_run_serialize(
824
+ def _start_program_serialize(
870
825
  self,
871
826
  cell,
872
- run,
827
+ program,
828
+ program_start_request,
873
829
  _request_auth,
874
830
  _content_type,
875
831
  _headers,
@@ -891,12 +847,14 @@ class ProgramApi:
891
847
  # process the path parameters
892
848
  if cell is not None:
893
849
  _path_params['cell'] = cell
894
- if run is not None:
895
- _path_params['run'] = run
850
+ if program is not None:
851
+ _path_params['program'] = program
896
852
  # process the query parameters
897
853
  # process the header parameters
898
854
  # process the form parameters
899
855
  # process the body parameter
856
+ if program_start_request is not None:
857
+ _body_params = program_start_request
900
858
 
901
859
 
902
860
  # set the HTTP header `Accept`
@@ -906,6 +864,19 @@ class ProgramApi:
906
864
  ]
907
865
  )
908
866
 
867
+ # set the HTTP header `Content-Type`
868
+ if _content_type:
869
+ _header_params['Content-Type'] = _content_type
870
+ else:
871
+ _default_content_type = (
872
+ self.api_client.select_header_content_type(
873
+ [
874
+ 'application/json'
875
+ ]
876
+ )
877
+ )
878
+ if _default_content_type is not None:
879
+ _header_params['Content-Type'] = _default_content_type
909
880
 
910
881
  # authentication setting
911
882
  _auth_settings: List[str] = [
@@ -914,8 +885,8 @@ class ProgramApi:
914
885
  ]
915
886
 
916
887
  return self.api_client.param_serialize(
917
- method='GET',
918
- resource_path='/cells/{cell}/programs/runs/{run}',
888
+ method='POST',
889
+ resource_path='/experimental/cells/{cell}/programs/{program}/start',
919
890
  path_params=_path_params,
920
891
  query_params=_query_params,
921
892
  header_params=_header_params,
@@ -931,9 +902,10 @@ class ProgramApi:
931
902
 
932
903
 
933
904
  @validate_call
934
- async def get_program_runs(
905
+ async def stop_program(
935
906
  self,
936
907
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
908
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
937
909
  _request_timeout: Union[
938
910
  None,
939
911
  Annotated[StrictFloat, Field(gt=0)],
@@ -946,13 +918,15 @@ class ProgramApi:
946
918
  _content_type: Optional[StrictStr] = None,
947
919
  _headers: Optional[Dict[StrictStr, Any]] = None,
948
920
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
949
- ) -> List[ProgramRunReference]:
950
- """List programs
921
+ ) -> None:
922
+ """Stop program run
951
923
 
952
- Get details about all existing runs
924
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
953
925
 
954
926
  :param cell: Unique identifier addressing a cell in all API calls. (required)
955
927
  :type cell: str
928
+ :param program: (required)
929
+ :type program: str
956
930
  :param _request_timeout: timeout setting for this request. If one
957
931
  number provided, it will be total request
958
932
  timeout. It can also be a pair (tuple) of
@@ -975,8 +949,9 @@ class ProgramApi:
975
949
  :return: Returns the result object.
976
950
  """ # noqa: E501
977
951
 
978
- _param = self._get_program_runs_serialize(
952
+ _param = self._stop_program_serialize(
979
953
  cell=cell,
954
+ program=program,
980
955
  _request_auth=_request_auth,
981
956
  _content_type=_content_type,
982
957
  _headers=_headers,
@@ -984,7 +959,8 @@ class ProgramApi:
984
959
  )
985
960
 
986
961
  _response_types_map: Dict[str, Optional[str]] = {
987
- '200': "List[ProgramRunReference]",
962
+ '204': None,
963
+ '404': None,
988
964
  '500': None,
989
965
  }
990
966
  response_data = await self.api_client.call_api(
@@ -999,9 +975,10 @@ class ProgramApi:
999
975
 
1000
976
 
1001
977
  @validate_call
1002
- async def get_program_runs_with_http_info(
978
+ async def stop_program_with_http_info(
1003
979
  self,
1004
980
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
981
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
1005
982
  _request_timeout: Union[
1006
983
  None,
1007
984
  Annotated[StrictFloat, Field(gt=0)],
@@ -1014,13 +991,15 @@ class ProgramApi:
1014
991
  _content_type: Optional[StrictStr] = None,
1015
992
  _headers: Optional[Dict[StrictStr, Any]] = None,
1016
993
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1017
- ) -> ApiResponse[List[ProgramRunReference]]:
1018
- """List programs
994
+ ) -> ApiResponse[None]:
995
+ """Stop program run
1019
996
 
1020
- Get details about all existing runs
997
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
1021
998
 
1022
999
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1023
1000
  :type cell: str
1001
+ :param program: (required)
1002
+ :type program: str
1024
1003
  :param _request_timeout: timeout setting for this request. If one
1025
1004
  number provided, it will be total request
1026
1005
  timeout. It can also be a pair (tuple) of
@@ -1043,8 +1022,9 @@ class ProgramApi:
1043
1022
  :return: Returns the result object.
1044
1023
  """ # noqa: E501
1045
1024
 
1046
- _param = self._get_program_runs_serialize(
1025
+ _param = self._stop_program_serialize(
1047
1026
  cell=cell,
1027
+ program=program,
1048
1028
  _request_auth=_request_auth,
1049
1029
  _content_type=_content_type,
1050
1030
  _headers=_headers,
@@ -1052,7 +1032,8 @@ class ProgramApi:
1052
1032
  )
1053
1033
 
1054
1034
  _response_types_map: Dict[str, Optional[str]] = {
1055
- '200': "List[ProgramRunReference]",
1035
+ '204': None,
1036
+ '404': None,
1056
1037
  '500': None,
1057
1038
  }
1058
1039
  response_data = await self.api_client.call_api(
@@ -1067,9 +1048,10 @@ class ProgramApi:
1067
1048
 
1068
1049
 
1069
1050
  @validate_call
1070
- async def get_program_runs_without_preload_content(
1051
+ async def stop_program_without_preload_content(
1071
1052
  self,
1072
1053
  cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1054
+ program: Annotated[str, Field(min_length=1, strict=True, max_length=255)],
1073
1055
  _request_timeout: Union[
1074
1056
  None,
1075
1057
  Annotated[StrictFloat, Field(gt=0)],
@@ -1083,12 +1065,14 @@ class ProgramApi:
1083
1065
  _headers: Optional[Dict[StrictStr, Any]] = None,
1084
1066
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1085
1067
  ) -> RESTResponseType:
1086
- """List programs
1068
+ """Stop program run
1087
1069
 
1088
- Get details about all existing runs
1070
+ <!-- theme: danger --> > **Experimental** Stop a specific program run.
1089
1071
 
1090
1072
  :param cell: Unique identifier addressing a cell in all API calls. (required)
1091
1073
  :type cell: str
1074
+ :param program: (required)
1075
+ :type program: str
1092
1076
  :param _request_timeout: timeout setting for this request. If one
1093
1077
  number provided, it will be total request
1094
1078
  timeout. It can also be a pair (tuple) of
@@ -1111,8 +1095,9 @@ class ProgramApi:
1111
1095
  :return: Returns the result object.
1112
1096
  """ # noqa: E501
1113
1097
 
1114
- _param = self._get_program_runs_serialize(
1098
+ _param = self._stop_program_serialize(
1115
1099
  cell=cell,
1100
+ program=program,
1116
1101
  _request_auth=_request_auth,
1117
1102
  _content_type=_content_type,
1118
1103
  _headers=_headers,
@@ -1120,7 +1105,8 @@ class ProgramApi:
1120
1105
  )
1121
1106
 
1122
1107
  _response_types_map: Dict[str, Optional[str]] = {
1123
- '200': "List[ProgramRunReference]",
1108
+ '204': None,
1109
+ '404': None,
1124
1110
  '500': None,
1125
1111
  }
1126
1112
  response_data = await self.api_client.call_api(
@@ -1130,9 +1116,10 @@ class ProgramApi:
1130
1116
  return response_data.response
1131
1117
 
1132
1118
 
1133
- def _get_program_runs_serialize(
1119
+ def _stop_program_serialize(
1134
1120
  self,
1135
1121
  cell,
1122
+ program,
1136
1123
  _request_auth,
1137
1124
  _content_type,
1138
1125
  _headers,
@@ -1154,1143 +1141,15 @@ class ProgramApi:
1154
1141
  # process the path parameters
1155
1142
  if cell is not None:
1156
1143
  _path_params['cell'] = cell
1144
+ if program is not None:
1145
+ _path_params['program'] = program
1157
1146
  # process the query parameters
1158
1147
  # process the header parameters
1159
1148
  # process the form parameters
1160
1149
  # process the body parameter
1161
1150
 
1162
1151
 
1163
- # set the HTTP header `Accept`
1164
- _header_params['Accept'] = self.api_client.select_header_accept(
1165
- [
1166
- 'application/json'
1167
- ]
1168
- )
1169
-
1170
-
1171
- # authentication setting
1172
- _auth_settings: List[str] = [
1173
- 'BasicAuth',
1174
- 'BearerAuth'
1175
- ]
1176
-
1177
- return self.api_client.param_serialize(
1178
- method='GET',
1179
- resource_path='/cells/{cell}/programs/runs',
1180
- path_params=_path_params,
1181
- query_params=_query_params,
1182
- header_params=_header_params,
1183
- body=_body_params,
1184
- post_params=_form_params,
1185
- files=_files,
1186
- auth_settings=_auth_settings,
1187
- collection_formats=_collection_formats,
1188
- _host=_host,
1189
- _request_auth=_request_auth
1190
- )
1191
-
1192
-
1193
-
1194
- @validate_call
1195
- async def simulate_program(
1196
- self,
1197
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1198
- program_request: ProgramRequest,
1199
- _request_timeout: Union[
1200
- None,
1201
- Annotated[StrictFloat, Field(gt=0)],
1202
- Tuple[
1203
- Annotated[StrictFloat, Field(gt=0)],
1204
- Annotated[StrictFloat, Field(gt=0)]
1205
- ]
1206
- ] = None,
1207
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1208
- _content_type: Optional[StrictStr] = None,
1209
- _headers: Optional[Dict[StrictStr, Any]] = None,
1210
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1211
- ) -> ProgramRun:
1212
- """Simulate program
1213
-
1214
- Simulate a program given as text/plain
1215
-
1216
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1217
- :type cell: str
1218
- :param program_request: (required)
1219
- :type program_request: ProgramRequest
1220
- :param _request_timeout: timeout setting for this request. If one
1221
- number provided, it will be total request
1222
- timeout. It can also be a pair (tuple) of
1223
- (connection, read) timeouts.
1224
- :type _request_timeout: int, tuple(int, int), optional
1225
- :param _request_auth: set to override the auth_settings for an a single
1226
- request; this effectively ignores the
1227
- authentication in the spec for a single request.
1228
- :type _request_auth: dict, optional
1229
- :param _content_type: force content-type for the request.
1230
- :type _content_type: str, Optional
1231
- :param _headers: set to override the headers for a single
1232
- request; this effectively ignores the headers
1233
- in the spec for a single request.
1234
- :type _headers: dict, optional
1235
- :param _host_index: set to override the host_index for a single
1236
- request; this effectively ignores the host_index
1237
- in the spec for a single request.
1238
- :type _host_index: int, optional
1239
- :return: Returns the result object.
1240
- """ # noqa: E501
1241
-
1242
- _param = self._simulate_program_serialize(
1243
- cell=cell,
1244
- program_request=program_request,
1245
- _request_auth=_request_auth,
1246
- _content_type=_content_type,
1247
- _headers=_headers,
1248
- _host_index=_host_index
1249
- )
1250
-
1251
- _response_types_map: Dict[str, Optional[str]] = {
1252
- '200': "ProgramRun",
1253
- '400': None,
1254
- '404': None,
1255
- '422': "HTTPValidationError2",
1256
- '452': None,
1257
- '500': None,
1258
- }
1259
- response_data = await self.api_client.call_api(
1260
- *_param,
1261
- _request_timeout=_request_timeout
1262
- )
1263
- await response_data.read()
1264
- return self.api_client.response_deserialize(
1265
- response_data=response_data,
1266
- response_types_map=_response_types_map,
1267
- ).data
1268
-
1269
-
1270
- @validate_call
1271
- async def simulate_program_with_http_info(
1272
- self,
1273
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1274
- program_request: ProgramRequest,
1275
- _request_timeout: Union[
1276
- None,
1277
- Annotated[StrictFloat, Field(gt=0)],
1278
- Tuple[
1279
- Annotated[StrictFloat, Field(gt=0)],
1280
- Annotated[StrictFloat, Field(gt=0)]
1281
- ]
1282
- ] = None,
1283
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1284
- _content_type: Optional[StrictStr] = None,
1285
- _headers: Optional[Dict[StrictStr, Any]] = None,
1286
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1287
- ) -> ApiResponse[ProgramRun]:
1288
- """Simulate program
1289
-
1290
- Simulate a program given as text/plain
1291
-
1292
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1293
- :type cell: str
1294
- :param program_request: (required)
1295
- :type program_request: ProgramRequest
1296
- :param _request_timeout: timeout setting for this request. If one
1297
- number provided, it will be total request
1298
- timeout. It can also be a pair (tuple) of
1299
- (connection, read) timeouts.
1300
- :type _request_timeout: int, tuple(int, int), optional
1301
- :param _request_auth: set to override the auth_settings for an a single
1302
- request; this effectively ignores the
1303
- authentication in the spec for a single request.
1304
- :type _request_auth: dict, optional
1305
- :param _content_type: force content-type for the request.
1306
- :type _content_type: str, Optional
1307
- :param _headers: set to override the headers for a single
1308
- request; this effectively ignores the headers
1309
- in the spec for a single request.
1310
- :type _headers: dict, optional
1311
- :param _host_index: set to override the host_index for a single
1312
- request; this effectively ignores the host_index
1313
- in the spec for a single request.
1314
- :type _host_index: int, optional
1315
- :return: Returns the result object.
1316
- """ # noqa: E501
1317
-
1318
- _param = self._simulate_program_serialize(
1319
- cell=cell,
1320
- program_request=program_request,
1321
- _request_auth=_request_auth,
1322
- _content_type=_content_type,
1323
- _headers=_headers,
1324
- _host_index=_host_index
1325
- )
1326
1152
 
1327
- _response_types_map: Dict[str, Optional[str]] = {
1328
- '200': "ProgramRun",
1329
- '400': None,
1330
- '404': None,
1331
- '422': "HTTPValidationError2",
1332
- '452': None,
1333
- '500': None,
1334
- }
1335
- response_data = await self.api_client.call_api(
1336
- *_param,
1337
- _request_timeout=_request_timeout
1338
- )
1339
- await response_data.read()
1340
- return self.api_client.response_deserialize(
1341
- response_data=response_data,
1342
- response_types_map=_response_types_map,
1343
- )
1344
-
1345
-
1346
- @validate_call
1347
- async def simulate_program_without_preload_content(
1348
- self,
1349
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1350
- program_request: ProgramRequest,
1351
- _request_timeout: Union[
1352
- None,
1353
- Annotated[StrictFloat, Field(gt=0)],
1354
- Tuple[
1355
- Annotated[StrictFloat, Field(gt=0)],
1356
- Annotated[StrictFloat, Field(gt=0)]
1357
- ]
1358
- ] = None,
1359
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1360
- _content_type: Optional[StrictStr] = None,
1361
- _headers: Optional[Dict[StrictStr, Any]] = None,
1362
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1363
- ) -> RESTResponseType:
1364
- """Simulate program
1365
-
1366
- Simulate a program given as text/plain
1367
-
1368
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1369
- :type cell: str
1370
- :param program_request: (required)
1371
- :type program_request: ProgramRequest
1372
- :param _request_timeout: timeout setting for this request. If one
1373
- number provided, it will be total request
1374
- timeout. It can also be a pair (tuple) of
1375
- (connection, read) timeouts.
1376
- :type _request_timeout: int, tuple(int, int), optional
1377
- :param _request_auth: set to override the auth_settings for an a single
1378
- request; this effectively ignores the
1379
- authentication in the spec for a single request.
1380
- :type _request_auth: dict, optional
1381
- :param _content_type: force content-type for the request.
1382
- :type _content_type: str, Optional
1383
- :param _headers: set to override the headers for a single
1384
- request; this effectively ignores the headers
1385
- in the spec for a single request.
1386
- :type _headers: dict, optional
1387
- :param _host_index: set to override the host_index for a single
1388
- request; this effectively ignores the host_index
1389
- in the spec for a single request.
1390
- :type _host_index: int, optional
1391
- :return: Returns the result object.
1392
- """ # noqa: E501
1393
-
1394
- _param = self._simulate_program_serialize(
1395
- cell=cell,
1396
- program_request=program_request,
1397
- _request_auth=_request_auth,
1398
- _content_type=_content_type,
1399
- _headers=_headers,
1400
- _host_index=_host_index
1401
- )
1402
-
1403
- _response_types_map: Dict[str, Optional[str]] = {
1404
- '200': "ProgramRun",
1405
- '400': None,
1406
- '404': None,
1407
- '422': "HTTPValidationError2",
1408
- '452': None,
1409
- '500': None,
1410
- }
1411
- response_data = await self.api_client.call_api(
1412
- *_param,
1413
- _request_timeout=_request_timeout
1414
- )
1415
- return response_data.response
1416
-
1417
-
1418
- def _simulate_program_serialize(
1419
- self,
1420
- cell,
1421
- program_request,
1422
- _request_auth,
1423
- _content_type,
1424
- _headers,
1425
- _host_index,
1426
- ) -> RequestSerialized:
1427
-
1428
- _host = None
1429
-
1430
- _collection_formats: Dict[str, str] = {
1431
- }
1432
-
1433
- _path_params: Dict[str, str] = {}
1434
- _query_params: List[Tuple[str, str]] = []
1435
- _header_params: Dict[str, Optional[str]] = _headers or {}
1436
- _form_params: List[Tuple[str, str]] = []
1437
- _files: Dict[str, Union[str, bytes]] = {}
1438
- _body_params: Optional[bytes] = None
1439
-
1440
- # process the path parameters
1441
- if cell is not None:
1442
- _path_params['cell'] = cell
1443
- # process the query parameters
1444
- # process the header parameters
1445
- # process the form parameters
1446
- # process the body parameter
1447
- if program_request is not None:
1448
- _body_params = program_request
1449
-
1450
-
1451
- # set the HTTP header `Accept`
1452
- _header_params['Accept'] = self.api_client.select_header_accept(
1453
- [
1454
- 'application/json'
1455
- ]
1456
- )
1457
-
1458
- # set the HTTP header `Content-Type`
1459
- if _content_type:
1460
- _header_params['Content-Type'] = _content_type
1461
- else:
1462
- _default_content_type = (
1463
- self.api_client.select_header_content_type(
1464
- [
1465
- 'application/json'
1466
- ]
1467
- )
1468
- )
1469
- if _default_content_type is not None:
1470
- _header_params['Content-Type'] = _default_content_type
1471
-
1472
- # authentication setting
1473
- _auth_settings: List[str] = [
1474
- 'BasicAuth',
1475
- 'BearerAuth'
1476
- ]
1477
-
1478
- return self.api_client.param_serialize(
1479
- method='POST',
1480
- resource_path='/cells/{cell}/programs/simulate',
1481
- path_params=_path_params,
1482
- query_params=_query_params,
1483
- header_params=_header_params,
1484
- body=_body_params,
1485
- post_params=_form_params,
1486
- files=_files,
1487
- auth_settings=_auth_settings,
1488
- collection_formats=_collection_formats,
1489
- _host=_host,
1490
- _request_auth=_request_auth
1491
- )
1492
-
1493
-
1494
-
1495
- @validate_call
1496
- async def stop_all_programs(
1497
- self,
1498
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1499
- _request_timeout: Union[
1500
- None,
1501
- Annotated[StrictFloat, Field(gt=0)],
1502
- Tuple[
1503
- Annotated[StrictFloat, Field(gt=0)],
1504
- Annotated[StrictFloat, Field(gt=0)]
1505
- ]
1506
- ] = None,
1507
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1508
- _content_type: Optional[StrictStr] = None,
1509
- _headers: Optional[Dict[StrictStr, Any]] = None,
1510
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1511
- ) -> None:
1512
- """Stop all programs
1513
-
1514
- Stop all runs
1515
-
1516
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1517
- :type cell: str
1518
- :param _request_timeout: timeout setting for this request. If one
1519
- number provided, it will be total request
1520
- timeout. It can also be a pair (tuple) of
1521
- (connection, read) timeouts.
1522
- :type _request_timeout: int, tuple(int, int), optional
1523
- :param _request_auth: set to override the auth_settings for an a single
1524
- request; this effectively ignores the
1525
- authentication in the spec for a single request.
1526
- :type _request_auth: dict, optional
1527
- :param _content_type: force content-type for the request.
1528
- :type _content_type: str, Optional
1529
- :param _headers: set to override the headers for a single
1530
- request; this effectively ignores the headers
1531
- in the spec for a single request.
1532
- :type _headers: dict, optional
1533
- :param _host_index: set to override the host_index for a single
1534
- request; this effectively ignores the host_index
1535
- in the spec for a single request.
1536
- :type _host_index: int, optional
1537
- :return: Returns the result object.
1538
- """ # noqa: E501
1539
-
1540
- _param = self._stop_all_programs_serialize(
1541
- cell=cell,
1542
- _request_auth=_request_auth,
1543
- _content_type=_content_type,
1544
- _headers=_headers,
1545
- _host_index=_host_index
1546
- )
1547
-
1548
- _response_types_map: Dict[str, Optional[str]] = {
1549
- '204': None,
1550
- '500': None,
1551
- }
1552
- response_data = await self.api_client.call_api(
1553
- *_param,
1554
- _request_timeout=_request_timeout
1555
- )
1556
- await response_data.read()
1557
- return self.api_client.response_deserialize(
1558
- response_data=response_data,
1559
- response_types_map=_response_types_map,
1560
- ).data
1561
-
1562
-
1563
- @validate_call
1564
- async def stop_all_programs_with_http_info(
1565
- self,
1566
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1567
- _request_timeout: Union[
1568
- None,
1569
- Annotated[StrictFloat, Field(gt=0)],
1570
- Tuple[
1571
- Annotated[StrictFloat, Field(gt=0)],
1572
- Annotated[StrictFloat, Field(gt=0)]
1573
- ]
1574
- ] = None,
1575
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1576
- _content_type: Optional[StrictStr] = None,
1577
- _headers: Optional[Dict[StrictStr, Any]] = None,
1578
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1579
- ) -> ApiResponse[None]:
1580
- """Stop all programs
1581
-
1582
- Stop all runs
1583
-
1584
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1585
- :type cell: str
1586
- :param _request_timeout: timeout setting for this request. If one
1587
- number provided, it will be total request
1588
- timeout. It can also be a pair (tuple) of
1589
- (connection, read) timeouts.
1590
- :type _request_timeout: int, tuple(int, int), optional
1591
- :param _request_auth: set to override the auth_settings for an a single
1592
- request; this effectively ignores the
1593
- authentication in the spec for a single request.
1594
- :type _request_auth: dict, optional
1595
- :param _content_type: force content-type for the request.
1596
- :type _content_type: str, Optional
1597
- :param _headers: set to override the headers for a single
1598
- request; this effectively ignores the headers
1599
- in the spec for a single request.
1600
- :type _headers: dict, optional
1601
- :param _host_index: set to override the host_index for a single
1602
- request; this effectively ignores the host_index
1603
- in the spec for a single request.
1604
- :type _host_index: int, optional
1605
- :return: Returns the result object.
1606
- """ # noqa: E501
1607
-
1608
- _param = self._stop_all_programs_serialize(
1609
- cell=cell,
1610
- _request_auth=_request_auth,
1611
- _content_type=_content_type,
1612
- _headers=_headers,
1613
- _host_index=_host_index
1614
- )
1615
-
1616
- _response_types_map: Dict[str, Optional[str]] = {
1617
- '204': None,
1618
- '500': None,
1619
- }
1620
- response_data = await self.api_client.call_api(
1621
- *_param,
1622
- _request_timeout=_request_timeout
1623
- )
1624
- await response_data.read()
1625
- return self.api_client.response_deserialize(
1626
- response_data=response_data,
1627
- response_types_map=_response_types_map,
1628
- )
1629
-
1630
-
1631
- @validate_call
1632
- async def stop_all_programs_without_preload_content(
1633
- self,
1634
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1635
- _request_timeout: Union[
1636
- None,
1637
- Annotated[StrictFloat, Field(gt=0)],
1638
- Tuple[
1639
- Annotated[StrictFloat, Field(gt=0)],
1640
- Annotated[StrictFloat, Field(gt=0)]
1641
- ]
1642
- ] = None,
1643
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1644
- _content_type: Optional[StrictStr] = None,
1645
- _headers: Optional[Dict[StrictStr, Any]] = None,
1646
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1647
- ) -> RESTResponseType:
1648
- """Stop all programs
1649
-
1650
- Stop all runs
1651
-
1652
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1653
- :type cell: str
1654
- :param _request_timeout: timeout setting for this request. If one
1655
- number provided, it will be total request
1656
- timeout. It can also be a pair (tuple) of
1657
- (connection, read) timeouts.
1658
- :type _request_timeout: int, tuple(int, int), optional
1659
- :param _request_auth: set to override the auth_settings for an a single
1660
- request; this effectively ignores the
1661
- authentication in the spec for a single request.
1662
- :type _request_auth: dict, optional
1663
- :param _content_type: force content-type for the request.
1664
- :type _content_type: str, Optional
1665
- :param _headers: set to override the headers for a single
1666
- request; this effectively ignores the headers
1667
- in the spec for a single request.
1668
- :type _headers: dict, optional
1669
- :param _host_index: set to override the host_index for a single
1670
- request; this effectively ignores the host_index
1671
- in the spec for a single request.
1672
- :type _host_index: int, optional
1673
- :return: Returns the result object.
1674
- """ # noqa: E501
1675
-
1676
- _param = self._stop_all_programs_serialize(
1677
- cell=cell,
1678
- _request_auth=_request_auth,
1679
- _content_type=_content_type,
1680
- _headers=_headers,
1681
- _host_index=_host_index
1682
- )
1683
-
1684
- _response_types_map: Dict[str, Optional[str]] = {
1685
- '204': None,
1686
- '500': None,
1687
- }
1688
- response_data = await self.api_client.call_api(
1689
- *_param,
1690
- _request_timeout=_request_timeout
1691
- )
1692
- return response_data.response
1693
-
1694
-
1695
- def _stop_all_programs_serialize(
1696
- self,
1697
- cell,
1698
- _request_auth,
1699
- _content_type,
1700
- _headers,
1701
- _host_index,
1702
- ) -> RequestSerialized:
1703
-
1704
- _host = None
1705
-
1706
- _collection_formats: Dict[str, str] = {
1707
- }
1708
-
1709
- _path_params: Dict[str, str] = {}
1710
- _query_params: List[Tuple[str, str]] = []
1711
- _header_params: Dict[str, Optional[str]] = _headers or {}
1712
- _form_params: List[Tuple[str, str]] = []
1713
- _files: Dict[str, Union[str, bytes]] = {}
1714
- _body_params: Optional[bytes] = None
1715
-
1716
- # process the path parameters
1717
- if cell is not None:
1718
- _path_params['cell'] = cell
1719
- # process the query parameters
1720
- # process the header parameters
1721
- # process the form parameters
1722
- # process the body parameter
1723
-
1724
-
1725
-
1726
-
1727
- # authentication setting
1728
- _auth_settings: List[str] = [
1729
- 'BasicAuth',
1730
- 'BearerAuth'
1731
- ]
1732
-
1733
- return self.api_client.param_serialize(
1734
- method='POST',
1735
- resource_path='/cells/{cell}/programs/runs/stop',
1736
- path_params=_path_params,
1737
- query_params=_query_params,
1738
- header_params=_header_params,
1739
- body=_body_params,
1740
- post_params=_form_params,
1741
- files=_files,
1742
- auth_settings=_auth_settings,
1743
- collection_formats=_collection_formats,
1744
- _host=_host,
1745
- _request_auth=_request_auth
1746
- )
1747
-
1748
-
1749
-
1750
- @validate_call
1751
- async def stop_program_run(
1752
- self,
1753
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1754
- run: StrictStr,
1755
- _request_timeout: Union[
1756
- None,
1757
- Annotated[StrictFloat, Field(gt=0)],
1758
- Tuple[
1759
- Annotated[StrictFloat, Field(gt=0)],
1760
- Annotated[StrictFloat, Field(gt=0)]
1761
- ]
1762
- ] = None,
1763
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1764
- _content_type: Optional[StrictStr] = None,
1765
- _headers: Optional[Dict[StrictStr, Any]] = None,
1766
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1767
- ) -> None:
1768
- """Stop program run
1769
-
1770
- Stop a specific program run.
1771
-
1772
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1773
- :type cell: str
1774
- :param run: (required)
1775
- :type run: str
1776
- :param _request_timeout: timeout setting for this request. If one
1777
- number provided, it will be total request
1778
- timeout. It can also be a pair (tuple) of
1779
- (connection, read) timeouts.
1780
- :type _request_timeout: int, tuple(int, int), optional
1781
- :param _request_auth: set to override the auth_settings for an a single
1782
- request; this effectively ignores the
1783
- authentication in the spec for a single request.
1784
- :type _request_auth: dict, optional
1785
- :param _content_type: force content-type for the request.
1786
- :type _content_type: str, Optional
1787
- :param _headers: set to override the headers for a single
1788
- request; this effectively ignores the headers
1789
- in the spec for a single request.
1790
- :type _headers: dict, optional
1791
- :param _host_index: set to override the host_index for a single
1792
- request; this effectively ignores the host_index
1793
- in the spec for a single request.
1794
- :type _host_index: int, optional
1795
- :return: Returns the result object.
1796
- """ # noqa: E501
1797
-
1798
- _param = self._stop_program_run_serialize(
1799
- cell=cell,
1800
- run=run,
1801
- _request_auth=_request_auth,
1802
- _content_type=_content_type,
1803
- _headers=_headers,
1804
- _host_index=_host_index
1805
- )
1806
-
1807
- _response_types_map: Dict[str, Optional[str]] = {
1808
- '204': None,
1809
- '404': None,
1810
- '500': None,
1811
- }
1812
- response_data = await self.api_client.call_api(
1813
- *_param,
1814
- _request_timeout=_request_timeout
1815
- )
1816
- await response_data.read()
1817
- return self.api_client.response_deserialize(
1818
- response_data=response_data,
1819
- response_types_map=_response_types_map,
1820
- ).data
1821
-
1822
-
1823
- @validate_call
1824
- async def stop_program_run_with_http_info(
1825
- self,
1826
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1827
- run: StrictStr,
1828
- _request_timeout: Union[
1829
- None,
1830
- Annotated[StrictFloat, Field(gt=0)],
1831
- Tuple[
1832
- Annotated[StrictFloat, Field(gt=0)],
1833
- Annotated[StrictFloat, Field(gt=0)]
1834
- ]
1835
- ] = None,
1836
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1837
- _content_type: Optional[StrictStr] = None,
1838
- _headers: Optional[Dict[StrictStr, Any]] = None,
1839
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1840
- ) -> ApiResponse[None]:
1841
- """Stop program run
1842
-
1843
- Stop a specific program run.
1844
-
1845
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1846
- :type cell: str
1847
- :param run: (required)
1848
- :type run: str
1849
- :param _request_timeout: timeout setting for this request. If one
1850
- number provided, it will be total request
1851
- timeout. It can also be a pair (tuple) of
1852
- (connection, read) timeouts.
1853
- :type _request_timeout: int, tuple(int, int), optional
1854
- :param _request_auth: set to override the auth_settings for an a single
1855
- request; this effectively ignores the
1856
- authentication in the spec for a single request.
1857
- :type _request_auth: dict, optional
1858
- :param _content_type: force content-type for the request.
1859
- :type _content_type: str, Optional
1860
- :param _headers: set to override the headers for a single
1861
- request; this effectively ignores the headers
1862
- in the spec for a single request.
1863
- :type _headers: dict, optional
1864
- :param _host_index: set to override the host_index for a single
1865
- request; this effectively ignores the host_index
1866
- in the spec for a single request.
1867
- :type _host_index: int, optional
1868
- :return: Returns the result object.
1869
- """ # noqa: E501
1870
-
1871
- _param = self._stop_program_run_serialize(
1872
- cell=cell,
1873
- run=run,
1874
- _request_auth=_request_auth,
1875
- _content_type=_content_type,
1876
- _headers=_headers,
1877
- _host_index=_host_index
1878
- )
1879
-
1880
- _response_types_map: Dict[str, Optional[str]] = {
1881
- '204': None,
1882
- '404': None,
1883
- '500': None,
1884
- }
1885
- response_data = await self.api_client.call_api(
1886
- *_param,
1887
- _request_timeout=_request_timeout
1888
- )
1889
- await response_data.read()
1890
- return self.api_client.response_deserialize(
1891
- response_data=response_data,
1892
- response_types_map=_response_types_map,
1893
- )
1894
-
1895
-
1896
- @validate_call
1897
- async def stop_program_run_without_preload_content(
1898
- self,
1899
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1900
- run: StrictStr,
1901
- _request_timeout: Union[
1902
- None,
1903
- Annotated[StrictFloat, Field(gt=0)],
1904
- Tuple[
1905
- Annotated[StrictFloat, Field(gt=0)],
1906
- Annotated[StrictFloat, Field(gt=0)]
1907
- ]
1908
- ] = None,
1909
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1910
- _content_type: Optional[StrictStr] = None,
1911
- _headers: Optional[Dict[StrictStr, Any]] = None,
1912
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1913
- ) -> RESTResponseType:
1914
- """Stop program run
1915
-
1916
- Stop a specific program run.
1917
-
1918
- :param cell: Unique identifier addressing a cell in all API calls. (required)
1919
- :type cell: str
1920
- :param run: (required)
1921
- :type run: str
1922
- :param _request_timeout: timeout setting for this request. If one
1923
- number provided, it will be total request
1924
- timeout. It can also be a pair (tuple) of
1925
- (connection, read) timeouts.
1926
- :type _request_timeout: int, tuple(int, int), optional
1927
- :param _request_auth: set to override the auth_settings for an a single
1928
- request; this effectively ignores the
1929
- authentication in the spec for a single request.
1930
- :type _request_auth: dict, optional
1931
- :param _content_type: force content-type for the request.
1932
- :type _content_type: str, Optional
1933
- :param _headers: set to override the headers for a single
1934
- request; this effectively ignores the headers
1935
- in the spec for a single request.
1936
- :type _headers: dict, optional
1937
- :param _host_index: set to override the host_index for a single
1938
- request; this effectively ignores the host_index
1939
- in the spec for a single request.
1940
- :type _host_index: int, optional
1941
- :return: Returns the result object.
1942
- """ # noqa: E501
1943
-
1944
- _param = self._stop_program_run_serialize(
1945
- cell=cell,
1946
- run=run,
1947
- _request_auth=_request_auth,
1948
- _content_type=_content_type,
1949
- _headers=_headers,
1950
- _host_index=_host_index
1951
- )
1952
-
1953
- _response_types_map: Dict[str, Optional[str]] = {
1954
- '204': None,
1955
- '404': None,
1956
- '500': None,
1957
- }
1958
- response_data = await self.api_client.call_api(
1959
- *_param,
1960
- _request_timeout=_request_timeout
1961
- )
1962
- return response_data.response
1963
-
1964
-
1965
- def _stop_program_run_serialize(
1966
- self,
1967
- cell,
1968
- run,
1969
- _request_auth,
1970
- _content_type,
1971
- _headers,
1972
- _host_index,
1973
- ) -> RequestSerialized:
1974
-
1975
- _host = None
1976
-
1977
- _collection_formats: Dict[str, str] = {
1978
- }
1979
-
1980
- _path_params: Dict[str, str] = {}
1981
- _query_params: List[Tuple[str, str]] = []
1982
- _header_params: Dict[str, Optional[str]] = _headers or {}
1983
- _form_params: List[Tuple[str, str]] = []
1984
- _files: Dict[str, Union[str, bytes]] = {}
1985
- _body_params: Optional[bytes] = None
1986
-
1987
- # process the path parameters
1988
- if cell is not None:
1989
- _path_params['cell'] = cell
1990
- if run is not None:
1991
- _path_params['run'] = run
1992
- # process the query parameters
1993
- # process the header parameters
1994
- # process the form parameters
1995
- # process the body parameter
1996
-
1997
-
1998
-
1999
-
2000
- # authentication setting
2001
- _auth_settings: List[str] = [
2002
- 'BasicAuth',
2003
- 'BearerAuth'
2004
- ]
2005
-
2006
- return self.api_client.param_serialize(
2007
- method='POST',
2008
- resource_path='/cells/{cell}/programs/runs/{run}/stop',
2009
- path_params=_path_params,
2010
- query_params=_query_params,
2011
- header_params=_header_params,
2012
- body=_body_params,
2013
- post_params=_form_params,
2014
- files=_files,
2015
- auth_settings=_auth_settings,
2016
- collection_formats=_collection_formats,
2017
- _host=_host,
2018
- _request_auth=_request_auth
2019
- )
2020
-
2021
-
2022
-
2023
- @validate_call
2024
- async def validate_program(
2025
- self,
2026
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2027
- program_request: ProgramRequest,
2028
- _request_timeout: Union[
2029
- None,
2030
- Annotated[StrictFloat, Field(gt=0)],
2031
- Tuple[
2032
- Annotated[StrictFloat, Field(gt=0)],
2033
- Annotated[StrictFloat, Field(gt=0)]
2034
- ]
2035
- ] = None,
2036
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2037
- _content_type: Optional[StrictStr] = None,
2038
- _headers: Optional[Dict[StrictStr, Any]] = None,
2039
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2040
- ) -> None:
2041
- """Validate program
2042
-
2043
- Validate a program
2044
-
2045
- :param cell: Unique identifier addressing a cell in all API calls. (required)
2046
- :type cell: str
2047
- :param program_request: (required)
2048
- :type program_request: ProgramRequest
2049
- :param _request_timeout: timeout setting for this request. If one
2050
- number provided, it will be total request
2051
- timeout. It can also be a pair (tuple) of
2052
- (connection, read) timeouts.
2053
- :type _request_timeout: int, tuple(int, int), optional
2054
- :param _request_auth: set to override the auth_settings for an a single
2055
- request; this effectively ignores the
2056
- authentication in the spec for a single request.
2057
- :type _request_auth: dict, optional
2058
- :param _content_type: force content-type for the request.
2059
- :type _content_type: str, Optional
2060
- :param _headers: set to override the headers for a single
2061
- request; this effectively ignores the headers
2062
- in the spec for a single request.
2063
- :type _headers: dict, optional
2064
- :param _host_index: set to override the host_index for a single
2065
- request; this effectively ignores the host_index
2066
- in the spec for a single request.
2067
- :type _host_index: int, optional
2068
- :return: Returns the result object.
2069
- """ # noqa: E501
2070
-
2071
- _param = self._validate_program_serialize(
2072
- cell=cell,
2073
- program_request=program_request,
2074
- _request_auth=_request_auth,
2075
- _content_type=_content_type,
2076
- _headers=_headers,
2077
- _host_index=_host_index
2078
- )
2079
-
2080
- _response_types_map: Dict[str, Optional[str]] = {
2081
- '204': None,
2082
- '400': None,
2083
- '422': "HTTPValidationError2",
2084
- '500': None,
2085
- }
2086
- response_data = await self.api_client.call_api(
2087
- *_param,
2088
- _request_timeout=_request_timeout
2089
- )
2090
- await response_data.read()
2091
- return self.api_client.response_deserialize(
2092
- response_data=response_data,
2093
- response_types_map=_response_types_map,
2094
- ).data
2095
-
2096
-
2097
- @validate_call
2098
- async def validate_program_with_http_info(
2099
- self,
2100
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2101
- program_request: ProgramRequest,
2102
- _request_timeout: Union[
2103
- None,
2104
- Annotated[StrictFloat, Field(gt=0)],
2105
- Tuple[
2106
- Annotated[StrictFloat, Field(gt=0)],
2107
- Annotated[StrictFloat, Field(gt=0)]
2108
- ]
2109
- ] = None,
2110
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2111
- _content_type: Optional[StrictStr] = None,
2112
- _headers: Optional[Dict[StrictStr, Any]] = None,
2113
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2114
- ) -> ApiResponse[None]:
2115
- """Validate program
2116
-
2117
- Validate a program
2118
-
2119
- :param cell: Unique identifier addressing a cell in all API calls. (required)
2120
- :type cell: str
2121
- :param program_request: (required)
2122
- :type program_request: ProgramRequest
2123
- :param _request_timeout: timeout setting for this request. If one
2124
- number provided, it will be total request
2125
- timeout. It can also be a pair (tuple) of
2126
- (connection, read) timeouts.
2127
- :type _request_timeout: int, tuple(int, int), optional
2128
- :param _request_auth: set to override the auth_settings for an a single
2129
- request; this effectively ignores the
2130
- authentication in the spec for a single request.
2131
- :type _request_auth: dict, optional
2132
- :param _content_type: force content-type for the request.
2133
- :type _content_type: str, Optional
2134
- :param _headers: set to override the headers for a single
2135
- request; this effectively ignores the headers
2136
- in the spec for a single request.
2137
- :type _headers: dict, optional
2138
- :param _host_index: set to override the host_index for a single
2139
- request; this effectively ignores the host_index
2140
- in the spec for a single request.
2141
- :type _host_index: int, optional
2142
- :return: Returns the result object.
2143
- """ # noqa: E501
2144
-
2145
- _param = self._validate_program_serialize(
2146
- cell=cell,
2147
- program_request=program_request,
2148
- _request_auth=_request_auth,
2149
- _content_type=_content_type,
2150
- _headers=_headers,
2151
- _host_index=_host_index
2152
- )
2153
-
2154
- _response_types_map: Dict[str, Optional[str]] = {
2155
- '204': None,
2156
- '400': None,
2157
- '422': "HTTPValidationError2",
2158
- '500': None,
2159
- }
2160
- response_data = await self.api_client.call_api(
2161
- *_param,
2162
- _request_timeout=_request_timeout
2163
- )
2164
- await response_data.read()
2165
- return self.api_client.response_deserialize(
2166
- response_data=response_data,
2167
- response_types_map=_response_types_map,
2168
- )
2169
-
2170
-
2171
- @validate_call
2172
- async def validate_program_without_preload_content(
2173
- self,
2174
- cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2175
- program_request: ProgramRequest,
2176
- _request_timeout: Union[
2177
- None,
2178
- Annotated[StrictFloat, Field(gt=0)],
2179
- Tuple[
2180
- Annotated[StrictFloat, Field(gt=0)],
2181
- Annotated[StrictFloat, Field(gt=0)]
2182
- ]
2183
- ] = None,
2184
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
2185
- _content_type: Optional[StrictStr] = None,
2186
- _headers: Optional[Dict[StrictStr, Any]] = None,
2187
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2188
- ) -> RESTResponseType:
2189
- """Validate program
2190
-
2191
- Validate a program
2192
-
2193
- :param cell: Unique identifier addressing a cell in all API calls. (required)
2194
- :type cell: str
2195
- :param program_request: (required)
2196
- :type program_request: ProgramRequest
2197
- :param _request_timeout: timeout setting for this request. If one
2198
- number provided, it will be total request
2199
- timeout. It can also be a pair (tuple) of
2200
- (connection, read) timeouts.
2201
- :type _request_timeout: int, tuple(int, int), optional
2202
- :param _request_auth: set to override the auth_settings for an a single
2203
- request; this effectively ignores the
2204
- authentication in the spec for a single request.
2205
- :type _request_auth: dict, optional
2206
- :param _content_type: force content-type for the request.
2207
- :type _content_type: str, Optional
2208
- :param _headers: set to override the headers for a single
2209
- request; this effectively ignores the headers
2210
- in the spec for a single request.
2211
- :type _headers: dict, optional
2212
- :param _host_index: set to override the host_index for a single
2213
- request; this effectively ignores the host_index
2214
- in the spec for a single request.
2215
- :type _host_index: int, optional
2216
- :return: Returns the result object.
2217
- """ # noqa: E501
2218
-
2219
- _param = self._validate_program_serialize(
2220
- cell=cell,
2221
- program_request=program_request,
2222
- _request_auth=_request_auth,
2223
- _content_type=_content_type,
2224
- _headers=_headers,
2225
- _host_index=_host_index
2226
- )
2227
-
2228
- _response_types_map: Dict[str, Optional[str]] = {
2229
- '204': None,
2230
- '400': None,
2231
- '422': "HTTPValidationError2",
2232
- '500': None,
2233
- }
2234
- response_data = await self.api_client.call_api(
2235
- *_param,
2236
- _request_timeout=_request_timeout
2237
- )
2238
- return response_data.response
2239
-
2240
-
2241
- def _validate_program_serialize(
2242
- self,
2243
- cell,
2244
- program_request,
2245
- _request_auth,
2246
- _content_type,
2247
- _headers,
2248
- _host_index,
2249
- ) -> RequestSerialized:
2250
-
2251
- _host = None
2252
-
2253
- _collection_formats: Dict[str, str] = {
2254
- }
2255
-
2256
- _path_params: Dict[str, str] = {}
2257
- _query_params: List[Tuple[str, str]] = []
2258
- _header_params: Dict[str, Optional[str]] = _headers or {}
2259
- _form_params: List[Tuple[str, str]] = []
2260
- _files: Dict[str, Union[str, bytes]] = {}
2261
- _body_params: Optional[bytes] = None
2262
-
2263
- # process the path parameters
2264
- if cell is not None:
2265
- _path_params['cell'] = cell
2266
- # process the query parameters
2267
- # process the header parameters
2268
- # process the form parameters
2269
- # process the body parameter
2270
- if program_request is not None:
2271
- _body_params = program_request
2272
-
2273
-
2274
- # set the HTTP header `Accept`
2275
- _header_params['Accept'] = self.api_client.select_header_accept(
2276
- [
2277
- 'application/json'
2278
- ]
2279
- )
2280
-
2281
- # set the HTTP header `Content-Type`
2282
- if _content_type:
2283
- _header_params['Content-Type'] = _content_type
2284
- else:
2285
- _default_content_type = (
2286
- self.api_client.select_header_content_type(
2287
- [
2288
- 'application/json'
2289
- ]
2290
- )
2291
- )
2292
- if _default_content_type is not None:
2293
- _header_params['Content-Type'] = _default_content_type
2294
1153
 
2295
1154
  # authentication setting
2296
1155
  _auth_settings: List[str] = [
@@ -2300,7 +1159,7 @@ class ProgramApi:
2300
1159
 
2301
1160
  return self.api_client.param_serialize(
2302
1161
  method='POST',
2303
- resource_path='/cells/{cell}/programs/validate',
1162
+ resource_path='/experimental/cells/{cell}/programs/{program}/stop',
2304
1163
  path_params=_path_params,
2305
1164
  query_params=_query_params,
2306
1165
  header_params=_header_params,