wandelbots_api_client 26.3.0__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 (740) hide show
  1. wandelbots_api_client/__init__.py +48 -0
  2. wandelbots_api_client/api/__init__.py +63 -0
  3. wandelbots_api_client/api/application_api.py +1514 -0
  4. wandelbots_api_client/api/cell_api.py +1424 -0
  5. wandelbots_api_client/api/controller_api.py +2951 -0
  6. wandelbots_api_client/api/controller_ios_api.py +1205 -0
  7. wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
  8. wandelbots_api_client/api/device_configuration_api.py +1193 -0
  9. wandelbots_api_client/api/library_program_api.py +1326 -0
  10. wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
  11. wandelbots_api_client/api/library_recipe_api.py +1351 -0
  12. wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
  13. wandelbots_api_client/api/license_api.py +865 -0
  14. wandelbots_api_client/api/motion_api.py +3596 -0
  15. wandelbots_api_client/api/motion_group_api.py +956 -0
  16. wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
  17. wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
  18. wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
  19. wandelbots_api_client/api/program_api.py +1987 -0
  20. wandelbots_api_client/api/program_operator_api.py +1881 -0
  21. wandelbots_api_client/api/program_values_api.py +1444 -0
  22. wandelbots_api_client/api/store_collision_components_api.py +3074 -0
  23. wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
  24. wandelbots_api_client/api/store_object_api.py +1387 -0
  25. wandelbots_api_client/api/system_api.py +1075 -0
  26. wandelbots_api_client/api/version_api.py +237 -0
  27. wandelbots_api_client/api/virtual_robot_api.py +1583 -0
  28. wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
  29. wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
  30. wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
  31. wandelbots_api_client/api_client.py +688 -0
  32. wandelbots_api_client/api_response.py +20 -0
  33. wandelbots_api_client/authorization.py +243 -0
  34. wandelbots_api_client/configuration.py +579 -0
  35. wandelbots_api_client/exceptions.py +216 -0
  36. wandelbots_api_client/models/__init__.py +316 -0
  37. wandelbots_api_client/models/abb_controller.py +112 -0
  38. wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
  39. wandelbots_api_client/models/activate_license_request.py +86 -0
  40. wandelbots_api_client/models/add_request.py +95 -0
  41. wandelbots_api_client/models/all_joint_positions_request.py +96 -0
  42. wandelbots_api_client/models/all_joint_positions_response.py +109 -0
  43. wandelbots_api_client/models/api_version.py +86 -0
  44. wandelbots_api_client/models/app.py +148 -0
  45. wandelbots_api_client/models/array_input.py +114 -0
  46. wandelbots_api_client/models/array_output.py +116 -0
  47. wandelbots_api_client/models/behavior.py +35 -0
  48. wandelbots_api_client/models/blending_auto.py +99 -0
  49. wandelbots_api_client/models/blending_position.py +97 -0
  50. wandelbots_api_client/models/box.py +98 -0
  51. wandelbots_api_client/models/box2.py +112 -0
  52. wandelbots_api_client/models/box3.py +112 -0
  53. wandelbots_api_client/models/capsule.py +87 -0
  54. wandelbots_api_client/models/capsule2.py +97 -0
  55. wandelbots_api_client/models/capsule3.py +101 -0
  56. wandelbots_api_client/models/capture.py +86 -0
  57. wandelbots_api_client/models/cell.py +142 -0
  58. wandelbots_api_client/models/circle.py +99 -0
  59. wandelbots_api_client/models/code_with_arguments.py +108 -0
  60. wandelbots_api_client/models/collection_value.py +322 -0
  61. wandelbots_api_client/models/collider.py +105 -0
  62. wandelbots_api_client/models/collider_input.py +105 -0
  63. wandelbots_api_client/models/collider_output.py +105 -0
  64. wandelbots_api_client/models/collider_output_shape.py +242 -0
  65. wandelbots_api_client/models/collider_shape.py +280 -0
  66. wandelbots_api_client/models/collision.py +110 -0
  67. wandelbots_api_client/models/collision_contact.py +92 -0
  68. wandelbots_api_client/models/collision_motion_group.py +124 -0
  69. wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
  70. wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
  71. wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
  72. wandelbots_api_client/models/collision_scene.py +117 -0
  73. wandelbots_api_client/models/collision_scene_assembly.py +133 -0
  74. wandelbots_api_client/models/command.py +140 -0
  75. wandelbots_api_client/models/command_settings.py +104 -0
  76. wandelbots_api_client/models/comparator.py +39 -0
  77. wandelbots_api_client/models/compound.py +114 -0
  78. wandelbots_api_client/models/container_environment_inner.py +87 -0
  79. wandelbots_api_client/models/container_image.py +122 -0
  80. wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
  81. wandelbots_api_client/models/container_resources.py +89 -0
  82. wandelbots_api_client/models/container_storage.py +97 -0
  83. wandelbots_api_client/models/controller_capabilities.py +89 -0
  84. wandelbots_api_client/models/controller_instance.py +148 -0
  85. wandelbots_api_client/models/controller_instance_list.py +109 -0
  86. wandelbots_api_client/models/convex_hull.py +109 -0
  87. wandelbots_api_client/models/convex_hull2.py +97 -0
  88. wandelbots_api_client/models/convex_hull3.py +97 -0
  89. wandelbots_api_client/models/coordinate_system.py +108 -0
  90. wandelbots_api_client/models/coordinate_systems.py +109 -0
  91. wandelbots_api_client/models/create_program_run200_response.py +88 -0
  92. wandelbots_api_client/models/create_program_run_request.py +86 -0
  93. wandelbots_api_client/models/create_trigger200_response.py +86 -0
  94. wandelbots_api_client/models/create_trigger_request.py +101 -0
  95. wandelbots_api_client/models/cubic_spline.py +109 -0
  96. wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
  97. wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
  98. wandelbots_api_client/models/cycle_time.py +86 -0
  99. wandelbots_api_client/models/cylinder.py +87 -0
  100. wandelbots_api_client/models/cylinder2.py +95 -0
  101. wandelbots_api_client/models/cylinder3.py +101 -0
  102. wandelbots_api_client/models/devices_inner.py +321 -0
  103. wandelbots_api_client/models/dh_parameter.py +98 -0
  104. wandelbots_api_client/models/direction.py +34 -0
  105. wandelbots_api_client/models/direction_jogging_request.py +136 -0
  106. wandelbots_api_client/models/error.py +87 -0
  107. wandelbots_api_client/models/execute_trajectory_request.py +182 -0
  108. wandelbots_api_client/models/execute_trajectory_response.py +223 -0
  109. wandelbots_api_client/models/execution_result.py +113 -0
  110. wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
  111. wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
  112. wandelbots_api_client/models/fanuc_controller.py +99 -0
  113. wandelbots_api_client/models/feedback_collision.py +126 -0
  114. wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
  115. wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
  116. wandelbots_api_client/models/feedback_singularity.py +102 -0
  117. wandelbots_api_client/models/flag.py +86 -0
  118. wandelbots_api_client/models/force_vector.py +103 -0
  119. wandelbots_api_client/models/geometry.py +167 -0
  120. wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
  121. wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
  122. wandelbots_api_client/models/get_mode_response.py +87 -0
  123. wandelbots_api_client/models/get_trajectory_response.py +112 -0
  124. wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
  125. wandelbots_api_client/models/google_protobuf_any.py +102 -0
  126. wandelbots_api_client/models/http_exception_response.py +86 -0
  127. wandelbots_api_client/models/http_validation_error.py +109 -0
  128. wandelbots_api_client/models/http_validation_error2.py +109 -0
  129. wandelbots_api_client/models/image_credentials.py +88 -0
  130. wandelbots_api_client/models/info_service_capabilities.py +110 -0
  131. wandelbots_api_client/models/initialize_movement_request.py +111 -0
  132. wandelbots_api_client/models/initialize_movement_response.py +96 -0
  133. wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
  134. wandelbots_api_client/models/io.py +105 -0
  135. wandelbots_api_client/models/io_description.py +156 -0
  136. wandelbots_api_client/models/io_value.py +104 -0
  137. wandelbots_api_client/models/ios.py +109 -0
  138. wandelbots_api_client/models/jogging_response.py +117 -0
  139. wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
  140. wandelbots_api_client/models/joint_jogging_request.py +108 -0
  141. wandelbots_api_client/models/joint_limit.py +123 -0
  142. wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
  143. wandelbots_api_client/models/joint_position_request.py +104 -0
  144. wandelbots_api_client/models/joint_trajectory.py +117 -0
  145. wandelbots_api_client/models/joints.py +86 -0
  146. wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
  147. wandelbots_api_client/models/kuka_controller.py +112 -0
  148. wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
  149. wandelbots_api_client/models/license.py +124 -0
  150. wandelbots_api_client/models/license_status.py +88 -0
  151. wandelbots_api_client/models/license_status_enum.py +37 -0
  152. wandelbots_api_client/models/limit_settings.py +223 -0
  153. wandelbots_api_client/models/limits_override.py +132 -0
  154. wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
  155. wandelbots_api_client/models/list_io_values_response.py +109 -0
  156. wandelbots_api_client/models/list_payloads_response.py +109 -0
  157. wandelbots_api_client/models/list_program_metadata_response.py +109 -0
  158. wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
  159. wandelbots_api_client/models/list_response.py +109 -0
  160. wandelbots_api_client/models/list_tcps_response.py +112 -0
  161. wandelbots_api_client/models/location_inner.py +153 -0
  162. wandelbots_api_client/models/location_inner1.py +142 -0
  163. wandelbots_api_client/models/manufacturer.py +37 -0
  164. wandelbots_api_client/models/mode_change_response.py +97 -0
  165. wandelbots_api_client/models/motion_command.py +109 -0
  166. wandelbots_api_client/models/motion_command_blending.py +164 -0
  167. wandelbots_api_client/models/motion_command_path.py +221 -0
  168. wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
  169. wandelbots_api_client/models/motion_group_info.py +88 -0
  170. wandelbots_api_client/models/motion_group_infos.py +109 -0
  171. wandelbots_api_client/models/motion_group_instance.py +101 -0
  172. wandelbots_api_client/models/motion_group_instance_list.py +109 -0
  173. wandelbots_api_client/models/motion_group_joints.py +100 -0
  174. wandelbots_api_client/models/motion_group_physical.py +105 -0
  175. wandelbots_api_client/models/motion_group_specification.py +136 -0
  176. wandelbots_api_client/models/motion_group_state.py +180 -0
  177. wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
  178. wandelbots_api_client/models/motion_group_state_response.py +103 -0
  179. wandelbots_api_client/models/motion_id.py +88 -0
  180. wandelbots_api_client/models/motion_ids_list_response.py +89 -0
  181. wandelbots_api_client/models/motion_vector.py +103 -0
  182. wandelbots_api_client/models/mounting.py +98 -0
  183. wandelbots_api_client/models/move_request.py +162 -0
  184. wandelbots_api_client/models/move_response.py +91 -0
  185. wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
  186. wandelbots_api_client/models/movement.py +90 -0
  187. wandelbots_api_client/models/movement_error.py +90 -0
  188. wandelbots_api_client/models/movement_error_error.py +86 -0
  189. wandelbots_api_client/models/movement_movement.py +98 -0
  190. wandelbots_api_client/models/op_mode.py +93 -0
  191. wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
  192. wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
  193. wandelbots_api_client/models/optimizer_setup.py +145 -0
  194. wandelbots_api_client/models/out_of_workspace.py +92 -0
  195. wandelbots_api_client/models/path.py +109 -0
  196. wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
  197. wandelbots_api_client/models/path_circle.py +108 -0
  198. wandelbots_api_client/models/path_cubic_spline.py +118 -0
  199. wandelbots_api_client/models/path_joint_ptp.py +96 -0
  200. wandelbots_api_client/models/path_line.py +103 -0
  201. wandelbots_api_client/models/pause_movement_request.py +95 -0
  202. wandelbots_api_client/models/pause_movement_response.py +96 -0
  203. wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
  204. wandelbots_api_client/models/pause_on_io.py +96 -0
  205. wandelbots_api_client/models/payload.py +103 -0
  206. wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
  207. wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
  208. wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
  209. wandelbots_api_client/models/plan_failed_response.py +136 -0
  210. wandelbots_api_client/models/plan_request.py +127 -0
  211. wandelbots_api_client/models/plan_response.py +112 -0
  212. wandelbots_api_client/models/plan_successful_response.py +100 -0
  213. wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
  214. wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
  215. wandelbots_api_client/models/plan_trajectory_request.py +154 -0
  216. wandelbots_api_client/models/plan_trajectory_response.py +92 -0
  217. wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
  218. wandelbots_api_client/models/plane2.py +93 -0
  219. wandelbots_api_client/models/plane3.py +93 -0
  220. wandelbots_api_client/models/planned_motion.py +125 -0
  221. wandelbots_api_client/models/planner_pose.py +100 -0
  222. wandelbots_api_client/models/planning_limits.py +168 -0
  223. wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
  224. wandelbots_api_client/models/playback_speed_request.py +94 -0
  225. wandelbots_api_client/models/playback_speed_response.py +96 -0
  226. wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
  227. wandelbots_api_client/models/point_cloud.py +86 -0
  228. wandelbots_api_client/models/pose.py +107 -0
  229. wandelbots_api_client/models/pose2.py +93 -0
  230. wandelbots_api_client/models/program_metadata.py +100 -0
  231. wandelbots_api_client/models/program_run.py +168 -0
  232. wandelbots_api_client/models/program_run_object.py +103 -0
  233. wandelbots_api_client/models/program_run_state.py +37 -0
  234. wandelbots_api_client/models/program_runner_reference.py +88 -0
  235. wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
  236. wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
  237. wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
  238. wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
  239. wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
  240. wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
  241. wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
  242. wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
  243. wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
  244. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
  245. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
  246. wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
  247. wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
  248. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
  249. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
  250. wandelbots_api_client/models/quaternion.py +89 -0
  251. wandelbots_api_client/models/recipe_metadata.py +102 -0
  252. wandelbots_api_client/models/rectangle.py +87 -0
  253. wandelbots_api_client/models/rectangle2.py +95 -0
  254. wandelbots_api_client/models/rectangle3.py +101 -0
  255. wandelbots_api_client/models/rectangular_capsule.py +94 -0
  256. wandelbots_api_client/models/rectangular_capsule2.py +103 -0
  257. wandelbots_api_client/models/rectangular_capsule3.py +103 -0
  258. wandelbots_api_client/models/release_channel.py +34 -0
  259. wandelbots_api_client/models/request.py +142 -0
  260. wandelbots_api_client/models/request1.py +140 -0
  261. wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
  262. wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
  263. wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
  264. wandelbots_api_client/models/robot_controller.py +108 -0
  265. wandelbots_api_client/models/robot_controller_configuration.py +262 -0
  266. wandelbots_api_client/models/robot_controller_state.py +191 -0
  267. wandelbots_api_client/models/robot_link_geometry.py +98 -0
  268. wandelbots_api_client/models/robot_state.py +101 -0
  269. wandelbots_api_client/models/robot_system_mode.py +37 -0
  270. wandelbots_api_client/models/robot_tcp.py +104 -0
  271. wandelbots_api_client/models/robot_tcps.py +109 -0
  272. wandelbots_api_client/models/rotation_angle_types.py +58 -0
  273. wandelbots_api_client/models/rotation_angles.py +91 -0
  274. wandelbots_api_client/models/safety_configuration.py +182 -0
  275. wandelbots_api_client/models/safety_setup.py +172 -0
  276. wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
  277. wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
  278. wandelbots_api_client/models/safety_zone.py +98 -0
  279. wandelbots_api_client/models/safety_zone_limits.py +96 -0
  280. wandelbots_api_client/models/safety_zone_violation.py +86 -0
  281. wandelbots_api_client/models/service_status.py +96 -0
  282. wandelbots_api_client/models/service_status_phase.py +46 -0
  283. wandelbots_api_client/models/service_status_severity.py +35 -0
  284. wandelbots_api_client/models/service_status_status.py +90 -0
  285. wandelbots_api_client/models/set_io.py +93 -0
  286. wandelbots_api_client/models/set_playback_speed.py +91 -0
  287. wandelbots_api_client/models/single_joint_limit.py +112 -0
  288. wandelbots_api_client/models/singularity.py +110 -0
  289. wandelbots_api_client/models/singularity_type_enum.py +35 -0
  290. wandelbots_api_client/models/sphere.py +86 -0
  291. wandelbots_api_client/models/sphere2.py +94 -0
  292. wandelbots_api_client/models/sphere3.py +96 -0
  293. wandelbots_api_client/models/standstill.py +92 -0
  294. wandelbots_api_client/models/standstill_reason.py +36 -0
  295. wandelbots_api_client/models/standstill_standstill.py +99 -0
  296. wandelbots_api_client/models/start_movement_request.py +135 -0
  297. wandelbots_api_client/models/start_on_io.py +96 -0
  298. wandelbots_api_client/models/status.py +119 -0
  299. wandelbots_api_client/models/stop_response.py +109 -0
  300. wandelbots_api_client/models/store_value.py +349 -0
  301. wandelbots_api_client/models/stream_move_backward.py +90 -0
  302. wandelbots_api_client/models/stream_move_forward.py +90 -0
  303. wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
  304. wandelbots_api_client/models/stream_move_request.py +207 -0
  305. wandelbots_api_client/models/stream_move_response.py +110 -0
  306. wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
  307. wandelbots_api_client/models/stream_stop.py +90 -0
  308. wandelbots_api_client/models/tcp_pose.py +105 -0
  309. wandelbots_api_client/models/tcp_pose_request.py +106 -0
  310. wandelbots_api_client/models/tool_geometry.py +111 -0
  311. wandelbots_api_client/models/trajectory_sample.py +139 -0
  312. wandelbots_api_client/models/trigger_object.py +110 -0
  313. wandelbots_api_client/models/trigger_type.py +33 -0
  314. wandelbots_api_client/models/universalrobots_controller.py +102 -0
  315. wandelbots_api_client/models/update_nova_version_request.py +87 -0
  316. wandelbots_api_client/models/update_program_metadata_request.py +88 -0
  317. wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
  318. wandelbots_api_client/models/update_trigger_request.py +100 -0
  319. wandelbots_api_client/models/validation_error.py +113 -0
  320. wandelbots_api_client/models/validation_error2.py +113 -0
  321. wandelbots_api_client/models/value.py +317 -0
  322. wandelbots_api_client/models/vector3d.py +88 -0
  323. wandelbots_api_client/models/version_number.py +113 -0
  324. wandelbots_api_client/models/virtual_controller.py +117 -0
  325. wandelbots_api_client/models/virtual_controller_types.py +153 -0
  326. wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
  327. wandelbots_api_client/models/yaskawa_controller.py +99 -0
  328. wandelbots_api_client/py.typed +0 -0
  329. wandelbots_api_client/rest.py +188 -0
  330. wandelbots_api_client/v2/__init__.py +49 -0
  331. wandelbots_api_client/v2/api/__init__.py +55 -0
  332. wandelbots_api_client/v2/api/application_api.py +1532 -0
  333. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
  334. wandelbots_api_client/v2/api/cell_api.py +2163 -0
  335. wandelbots_api_client/v2/api/controller_api.py +3238 -0
  336. wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
  337. wandelbots_api_client/v2/api/jogging_api.py +113 -0
  338. wandelbots_api_client/v2/api/kinematics_api.py +815 -0
  339. wandelbots_api_client/v2/api/license_api.py +877 -0
  340. wandelbots_api_client/v2/api/motion_group_api.py +689 -0
  341. wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
  342. wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
  343. wandelbots_api_client/v2/api/program_api.py +988 -0
  344. wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
  345. wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
  346. wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
  347. wandelbots_api_client/v2/api/store_object_api.py +1414 -0
  348. wandelbots_api_client/v2/api/system_api.py +2696 -0
  349. wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
  350. wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
  351. wandelbots_api_client/v2/api/trajectory_planning_api.py +1067 -0
  352. wandelbots_api_client/v2/api/version_api.py +240 -0
  353. wandelbots_api_client/v2/api/virtual_controller_api.py +5303 -0
  354. wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
  355. wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
  356. wandelbots_api_client/v2/api_client.py +692 -0
  357. wandelbots_api_client/v2/api_response.py +20 -0
  358. wandelbots_api_client/v2/configuration.py +579 -0
  359. wandelbots_api_client/v2/exceptions.py +216 -0
  360. wandelbots_api_client/v2/models/__init__.py +376 -0
  361. wandelbots_api_client/v2/models/abb_controller.py +104 -0
  362. wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
  363. wandelbots_api_client/v2/models/activate_license_request.py +83 -0
  364. wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
  365. wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
  366. wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
  367. wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
  368. wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
  369. wandelbots_api_client/v2/models/api_version.py +83 -0
  370. wandelbots_api_client/v2/models/app.py +156 -0
  371. wandelbots_api_client/v2/models/behavior.py +35 -0
  372. wandelbots_api_client/v2/models/blending_auto.py +97 -0
  373. wandelbots_api_client/v2/models/blending_position.py +143 -0
  374. wandelbots_api_client/v2/models/blending_space.py +34 -0
  375. wandelbots_api_client/v2/models/boolean_value.py +91 -0
  376. wandelbots_api_client/v2/models/box.py +109 -0
  377. wandelbots_api_client/v2/models/bus_io_description.py +111 -0
  378. wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
  379. wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
  380. wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
  381. wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
  382. wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
  383. wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
  384. wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
  385. wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
  386. wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
  387. wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
  388. wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
  389. wandelbots_api_client/v2/models/bus_io_type.py +223 -0
  390. wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
  391. wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
  392. wandelbots_api_client/v2/models/capsule.py +94 -0
  393. wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
  394. wandelbots_api_client/v2/models/cell.py +127 -0
  395. wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
  396. wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
  397. wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
  398. wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
  399. wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
  400. wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
  401. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
  402. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
  403. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
  404. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
  405. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
  406. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
  407. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
  408. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
  409. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
  410. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
  411. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
  412. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
  413. wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
  414. wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
  415. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
  416. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
  417. wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
  418. wandelbots_api_client/v2/models/collider.py +102 -0
  419. wandelbots_api_client/v2/models/collider_shape.py +278 -0
  420. wandelbots_api_client/v2/models/collision.py +107 -0
  421. wandelbots_api_client/v2/models/collision_contact.py +89 -0
  422. wandelbots_api_client/v2/models/collision_error.py +100 -0
  423. wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
  424. wandelbots_api_client/v2/models/collision_motion_group.py +119 -0
  425. wandelbots_api_client/v2/models/collision_setup.py +130 -0
  426. wandelbots_api_client/v2/models/comparator.py +38 -0
  427. wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
  428. wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
  429. wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
  430. wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
  431. wandelbots_api_client/v2/models/configuration_resource.py +104 -0
  432. wandelbots_api_client/v2/models/constrained_pose.py +87 -0
  433. wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
  434. wandelbots_api_client/v2/models/container_image.py +110 -0
  435. wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
  436. wandelbots_api_client/v2/models/container_resources.py +87 -0
  437. wandelbots_api_client/v2/models/container_storage.py +94 -0
  438. wandelbots_api_client/v2/models/controller_description.py +97 -0
  439. wandelbots_api_client/v2/models/convex_hull.py +94 -0
  440. wandelbots_api_client/v2/models/coordinate_system.py +115 -0
  441. wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
  442. wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
  443. wandelbots_api_client/v2/models/cycle_time.py +86 -0
  444. wandelbots_api_client/v2/models/cylinder.py +92 -0
  445. wandelbots_api_client/v2/models/dh_parameter.py +98 -0
  446. wandelbots_api_client/v2/models/direction.py +34 -0
  447. wandelbots_api_client/v2/models/direction_constraint.py +107 -0
  448. wandelbots_api_client/v2/models/error.py +84 -0
  449. wandelbots_api_client/v2/models/error_direction_constraint_not_met.py +93 -0
  450. wandelbots_api_client/v2/models/error_direction_constraint_not_normalized.py +96 -0
  451. wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
  452. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
  453. wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
  454. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
  455. wandelbots_api_client/v2/models/error_motion_group_key_mismatch.py +85 -0
  456. wandelbots_api_client/v2/models/error_unsupported_operation.py +90 -0
  457. wandelbots_api_client/v2/models/execute.py +95 -0
  458. wandelbots_api_client/v2/models/execute_details.py +164 -0
  459. wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
  460. wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
  461. wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
  462. wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
  463. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
  464. wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
  465. wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
  466. wandelbots_api_client/v2/models/feedback_collision.py +112 -0
  467. wandelbots_api_client/v2/models/feedback_commands_missing.py +90 -0
  468. wandelbots_api_client/v2/models/feedback_cubic_spline_is_not_increasing.py +100 -0
  469. wandelbots_api_client/v2/models/feedback_cubic_spline_not_at_start_pose.py +105 -0
  470. wandelbots_api_client/v2/models/feedback_direction_constraint_no_solution_exists.py +93 -0
  471. wandelbots_api_client/v2/models/feedback_direction_constraint_not_met.py +93 -0
  472. wandelbots_api_client/v2/models/feedback_direction_constraint_not_normalized.py +96 -0
  473. wandelbots_api_client/v2/models/feedback_invalid_dof.py +101 -0
  474. wandelbots_api_client/v2/models/feedback_invalid_nan_value.py +91 -0
  475. wandelbots_api_client/v2/models/feedback_invalid_sampling_time.py +91 -0
  476. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
  477. wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
  478. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
  479. wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
  480. wandelbots_api_client/v2/models/feedback_start_joints_missing.py +98 -0
  481. wandelbots_api_client/v2/models/feedback_torque_exceeded.py +98 -0
  482. wandelbots_api_client/v2/models/flag.py +83 -0
  483. wandelbots_api_client/v2/models/flange_payload.py +98 -0
  484. wandelbots_api_client/v2/models/float_value.py +91 -0
  485. wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
  486. wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
  487. wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
  488. wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
  489. wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
  490. wandelbots_api_client/v2/models/http_validation_error.py +93 -0
  491. wandelbots_api_client/v2/models/image_credentials.py +85 -0
  492. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
  493. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
  494. wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
  495. wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
  496. wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
  497. wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
  498. wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
  499. wandelbots_api_client/v2/models/integer_value.py +91 -0
  500. wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
  501. wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
  502. wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
  503. wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
  504. wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
  505. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
  506. wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
  507. wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
  508. wandelbots_api_client/v2/models/io_boundary.py +183 -0
  509. wandelbots_api_client/v2/models/io_description.py +116 -0
  510. wandelbots_api_client/v2/models/io_direction.py +34 -0
  511. wandelbots_api_client/v2/models/io_float_value.py +92 -0
  512. wandelbots_api_client/v2/models/io_integer_value.py +94 -0
  513. wandelbots_api_client/v2/models/io_origin.py +34 -0
  514. wandelbots_api_client/v2/models/io_value.py +183 -0
  515. wandelbots_api_client/v2/models/io_value_type.py +35 -0
  516. wandelbots_api_client/v2/models/jogging_details.py +97 -0
  517. wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
  518. wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
  519. wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
  520. wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
  521. wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
  522. wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
  523. wandelbots_api_client/v2/models/jogging_running.py +90 -0
  524. wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
  525. wandelbots_api_client/v2/models/joint_limits.py +101 -0
  526. wandelbots_api_client/v2/models/joint_ptp_motion.py +99 -0
  527. wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
  528. wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
  529. wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
  530. wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
  531. wandelbots_api_client/v2/models/kinematic_model.py +118 -0
  532. wandelbots_api_client/v2/models/kuka_controller.py +106 -0
  533. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
  534. wandelbots_api_client/v2/models/license.py +121 -0
  535. wandelbots_api_client/v2/models/license_status.py +85 -0
  536. wandelbots_api_client/v2/models/license_status_enum.py +37 -0
  537. wandelbots_api_client/v2/models/limit_range.py +84 -0
  538. wandelbots_api_client/v2/models/limit_set.py +118 -0
  539. wandelbots_api_client/v2/models/limits_override.py +136 -0
  540. wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
  541. wandelbots_api_client/v2/models/location1_inner.py +153 -0
  542. wandelbots_api_client/v2/models/manufacturer.py +37 -0
  543. wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
  544. wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
  545. wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
  546. wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
  547. wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
  548. wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
  549. wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
  550. wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
  551. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
  552. wandelbots_api_client/v2/models/modbus_io.py +109 -0
  553. wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
  554. wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
  555. wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
  556. wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
  557. wandelbots_api_client/v2/models/motion_command.py +106 -0
  558. wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
  559. wandelbots_api_client/v2/models/motion_command_path.py +298 -0
  560. wandelbots_api_client/v2/models/motion_group_description.py +241 -0
  561. wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
  562. wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
  563. wandelbots_api_client/v2/models/motion_group_info.py +90 -0
  564. wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
  565. wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
  566. wandelbots_api_client/v2/models/motion_group_state.py +187 -0
  567. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
  568. wandelbots_api_client/v2/models/movement_error_response.py +91 -0
  569. wandelbots_api_client/v2/models/multi_collision_setup.py +115 -0
  570. wandelbots_api_client/v2/models/multi_error_invalid_joint_count.py +101 -0
  571. wandelbots_api_client/v2/models/multi_error_joint_limit_exceeded.py +101 -0
  572. wandelbots_api_client/v2/models/multi_error_joint_position_collision.py +99 -0
  573. wandelbots_api_client/v2/models/multi_joint_trajectory.py +93 -0
  574. wandelbots_api_client/v2/models/multi_search_collision_free422_response.py +97 -0
  575. wandelbots_api_client/v2/models/multi_search_collision_free_request.py +149 -0
  576. wandelbots_api_client/v2/models/multi_search_collision_free_response.py +89 -0
  577. wandelbots_api_client/v2/models/multi_search_collision_free_response_response.py +147 -0
  578. wandelbots_api_client/v2/models/multi_search_collision_free_validation_error.py +109 -0
  579. wandelbots_api_client/v2/models/multi_search_collision_free_validation_error_all_of_data.py +197 -0
  580. wandelbots_api_client/v2/models/nan_value_error.py +100 -0
  581. wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
  582. wandelbots_api_client/v2/models/network_device.py +85 -0
  583. wandelbots_api_client/v2/models/network_interface.py +86 -0
  584. wandelbots_api_client/v2/models/network_state.py +125 -0
  585. wandelbots_api_client/v2/models/op_mode.py +84 -0
  586. wandelbots_api_client/v2/models/operating_state.py +34 -0
  587. wandelbots_api_client/v2/models/operation_limits.py +106 -0
  588. wandelbots_api_client/v2/models/operation_mode.py +42 -0
  589. wandelbots_api_client/v2/models/orientation_type.py +58 -0
  590. wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
  591. wandelbots_api_client/v2/models/path_circle.py +105 -0
  592. wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
  593. wandelbots_api_client/v2/models/path_direction_constrained_cartesian_ptp.py +106 -0
  594. wandelbots_api_client/v2/models/path_direction_constrained_joint_ptp.py +102 -0
  595. wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
  596. wandelbots_api_client/v2/models/path_line.py +100 -0
  597. wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
  598. wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
  599. wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
  600. wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
  601. wandelbots_api_client/v2/models/pause_on_io.py +99 -0
  602. wandelbots_api_client/v2/models/payload.py +98 -0
  603. wandelbots_api_client/v2/models/plan422_response.py +93 -0
  604. wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
  605. wandelbots_api_client/v2/models/plan_collision_free_request.py +118 -0
  606. wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
  607. wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
  608. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
  609. wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +505 -0
  610. wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
  611. wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
  612. wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
  613. wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
  614. wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +275 -0
  615. wandelbots_api_client/v2/models/plane.py +90 -0
  616. wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
  617. wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
  618. wandelbots_api_client/v2/models/pose.py +90 -0
  619. wandelbots_api_client/v2/models/profinet_description.py +112 -0
  620. wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
  621. wandelbots_api_client/v2/models/profinet_io.py +109 -0
  622. wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
  623. wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
  624. wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
  625. wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
  626. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
  627. wandelbots_api_client/v2/models/program.py +105 -0
  628. wandelbots_api_client/v2/models/program_run.py +124 -0
  629. wandelbots_api_client/v2/models/program_run_state.py +37 -0
  630. wandelbots_api_client/v2/models/program_start_request.py +83 -0
  631. wandelbots_api_client/v2/models/project_joint_position_direction_constraint422_response.py +99 -0
  632. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_request.py +148 -0
  633. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_response.py +85 -0
  634. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error.py +111 -0
  635. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error_all_of_data.py +189 -0
  636. wandelbots_api_client/v2/models/rectangle.py +92 -0
  637. wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
  638. wandelbots_api_client/v2/models/release_channel.py +34 -0
  639. wandelbots_api_client/v2/models/robot_controller.py +105 -0
  640. wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
  641. wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
  642. wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
  643. wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
  644. wandelbots_api_client/v2/models/robot_tcp.py +110 -0
  645. wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
  646. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
  647. wandelbots_api_client/v2/models/safety_geometry.py +125 -0
  648. wandelbots_api_client/v2/models/safety_geometry_box.py +89 -0
  649. wandelbots_api_client/v2/models/safety_geometry_capsule.py +90 -0
  650. wandelbots_api_client/v2/models/safety_geometry_lozenge.py +97 -0
  651. wandelbots_api_client/v2/models/safety_geometry_plane.py +86 -0
  652. wandelbots_api_client/v2/models/safety_geometry_prism.py +88 -0
  653. wandelbots_api_client/v2/models/safety_geometry_sphere.py +87 -0
  654. wandelbots_api_client/v2/models/safety_state_type.py +48 -0
  655. wandelbots_api_client/v2/models/safety_zone.py +111 -0
  656. wandelbots_api_client/v2/models/safety_zone_pose.py +99 -0
  657. wandelbots_api_client/v2/models/safety_zones.py +97 -0
  658. wandelbots_api_client/v2/models/service_group.py +36 -0
  659. wandelbots_api_client/v2/models/service_status.py +96 -0
  660. wandelbots_api_client/v2/models/service_status_phase.py +46 -0
  661. wandelbots_api_client/v2/models/service_status_response.py +100 -0
  662. wandelbots_api_client/v2/models/service_status_severity.py +35 -0
  663. wandelbots_api_client/v2/models/service_status_status.py +87 -0
  664. wandelbots_api_client/v2/models/set_io.py +96 -0
  665. wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
  666. wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
  667. wandelbots_api_client/v2/models/sphere.py +91 -0
  668. wandelbots_api_client/v2/models/start_movement_request.py +133 -0
  669. wandelbots_api_client/v2/models/start_movement_response.py +91 -0
  670. wandelbots_api_client/v2/models/start_on_io.py +99 -0
  671. wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
  672. wandelbots_api_client/v2/models/tcp_offset.py +88 -0
  673. wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
  674. wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
  675. wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
  676. wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
  677. wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
  678. wandelbots_api_client/v2/models/trajectory_data.py +106 -0
  679. wandelbots_api_client/v2/models/trajectory_details.py +106 -0
  680. wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
  681. wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
  682. wandelbots_api_client/v2/models/trajectory_id.py +93 -0
  683. wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
  684. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
  685. wandelbots_api_client/v2/models/trajectory_running.py +94 -0
  686. wandelbots_api_client/v2/models/trajectory_section.py +84 -0
  687. wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
  688. wandelbots_api_client/v2/models/unit_type.py +42 -0
  689. wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
  690. wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
  691. wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
  692. wandelbots_api_client/v2/models/validation_error.py +101 -0
  693. wandelbots_api_client/v2/models/validation_error2.py +85 -0
  694. wandelbots_api_client/v2/models/virtual_controller.py +113 -0
  695. wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
  696. wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
  697. wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
  698. wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
  699. wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
  700. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
  701. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
  702. wandelbots_api_client/v2/py.typed +0 -0
  703. wandelbots_api_client/v2/rest.py +188 -0
  704. wandelbots_api_client/v2_pydantic/__init__.py +49 -0
  705. wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
  706. wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
  707. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
  708. wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
  709. wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
  710. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
  711. wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
  712. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +811 -0
  713. wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
  714. wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
  715. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
  716. wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
  717. wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
  718. wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
  719. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
  720. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
  721. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
  722. wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
  723. wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
  724. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
  725. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +1067 -0
  726. wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
  727. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +5303 -0
  728. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
  729. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
  730. wandelbots_api_client/v2_pydantic/api_client.py +692 -0
  731. wandelbots_api_client/v2_pydantic/api_response.py +20 -0
  732. wandelbots_api_client/v2_pydantic/configuration.py +579 -0
  733. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  734. wandelbots_api_client/v2_pydantic/models/__init__.py +748 -0
  735. wandelbots_api_client/v2_pydantic/models/models.py +5909 -0
  736. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  737. wandelbots_api_client/v2_pydantic/rest.py +188 -0
  738. wandelbots_api_client-26.3.0.dist-info/METADATA +241 -0
  739. wandelbots_api_client-26.3.0.dist-info/RECORD +740 -0
  740. wandelbots_api_client-26.3.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,1090 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wandelbots NOVA API
5
+
6
+ Interact with robots in an easy and intuitive way.
7
+
8
+ The version of the OpenAPI document: 1.4.0
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from furl import furl
15
+ import json
16
+ import humps
17
+ import re
18
+ import warnings
19
+ import websockets
20
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
21
+ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
22
+ from typing_extensions import Annotated
23
+ from urllib.parse import quote
24
+
25
+ from pydantic import Field, StrictBool, StrictBytes, StrictStr
26
+ from typing import Optional, Tuple, Union
27
+ from typing_extensions import Annotated
28
+ from wandelbots_api_client.models.list_program_metadata_response import ListProgramMetadataResponse
29
+ from wandelbots_api_client.models.program_metadata import ProgramMetadata
30
+ from wandelbots_api_client.models.update_program_metadata_request import UpdateProgramMetadataRequest
31
+
32
+ from wandelbots_api_client.api_client import ApiClient, RequestSerialized
33
+ from wandelbots_api_client.api_response import ApiResponse
34
+ from wandelbots_api_client.rest import RESTResponseType
35
+
36
+
37
+ class LibraryProgramMetadataApi:
38
+ """NOTE: This class is auto generated by OpenAPI Generator
39
+ Ref: https://openapi-generator.tech
40
+
41
+ Do not edit the class manually.
42
+ """
43
+
44
+ def __init__(self, api_client=None) -> None:
45
+ if api_client is None:
46
+ api_client = ApiClient.get_default()
47
+ self.api_client = api_client
48
+
49
+ @validate_call
50
+ async def get_program_metadata(
51
+ self,
52
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
53
+ program: Annotated[
54
+ StrictStr,
55
+ Field(
56
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
57
+ ),
58
+ ],
59
+ _request_timeout: Union[
60
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
61
+ ] = None,
62
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
63
+ _content_type: Optional[StrictStr] = None,
64
+ _headers: Optional[Dict[StrictStr, Any]] = None,
65
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
66
+ ) -> ProgramMetadata:
67
+ """Get Program Metadata
68
+
69
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns metadata of the corresponding program.
70
+
71
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
72
+ :type cell: str
73
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
74
+ :type program: str
75
+ :param _request_timeout: timeout setting for this request. If one
76
+ number provided, it will be total request
77
+ timeout. It can also be a pair (tuple) of
78
+ (connection, read) timeouts.
79
+ :type _request_timeout: int, tuple(int, int), optional
80
+ :param _request_auth: set to override the auth_settings for an a single
81
+ request; this effectively ignores the
82
+ authentication in the spec for a single request.
83
+ :type _request_auth: dict, optional
84
+ :param _content_type: force content-type for the request.
85
+ :type _content_type: str, Optional
86
+ :param _headers: set to override the headers for a single
87
+ request; this effectively ignores the headers
88
+ in the spec for a single request.
89
+ :type _headers: dict, optional
90
+ :param _host_index: set to override the host_index for a single
91
+ request; this effectively ignores the host_index
92
+ in the spec for a single request.
93
+ :type _host_index: int, optional
94
+ :return: Returns the result object.
95
+ """ # noqa: E501
96
+
97
+ _param = self._get_program_metadata_serialize(
98
+ cell=cell, program=program, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
99
+ )
100
+
101
+ _response_types_map: Dict[str, Optional[str]] = {
102
+ "200": "ProgramMetadata",
103
+ "404": "HTTPExceptionResponse",
104
+ "422": "HTTPValidationError2",
105
+ }
106
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
107
+ await response_data.read()
108
+ return self.api_client.response_deserialize(
109
+ response_data=response_data,
110
+ response_types_map=_response_types_map,
111
+ ).data
112
+
113
+ @validate_call
114
+ async def get_program_metadata_with_http_info(
115
+ self,
116
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
117
+ program: Annotated[
118
+ StrictStr,
119
+ Field(
120
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
121
+ ),
122
+ ],
123
+ _request_timeout: Union[
124
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
125
+ ] = None,
126
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
127
+ _content_type: Optional[StrictStr] = None,
128
+ _headers: Optional[Dict[StrictStr, Any]] = None,
129
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
130
+ ) -> ApiResponse[ProgramMetadata]:
131
+ """Get Program Metadata
132
+
133
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns metadata of the corresponding program.
134
+
135
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
136
+ :type cell: str
137
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
138
+ :type program: str
139
+ :param _request_timeout: timeout setting for this request. If one
140
+ number provided, it will be total request
141
+ timeout. It can also be a pair (tuple) of
142
+ (connection, read) timeouts.
143
+ :type _request_timeout: int, tuple(int, int), optional
144
+ :param _request_auth: set to override the auth_settings for an a single
145
+ request; this effectively ignores the
146
+ authentication in the spec for a single request.
147
+ :type _request_auth: dict, optional
148
+ :param _content_type: force content-type for the request.
149
+ :type _content_type: str, Optional
150
+ :param _headers: set to override the headers for a single
151
+ request; this effectively ignores the headers
152
+ in the spec for a single request.
153
+ :type _headers: dict, optional
154
+ :param _host_index: set to override the host_index for a single
155
+ request; this effectively ignores the host_index
156
+ in the spec for a single request.
157
+ :type _host_index: int, optional
158
+ :return: Returns the result object.
159
+ """ # noqa: E501
160
+
161
+ _param = self._get_program_metadata_serialize(
162
+ cell=cell, program=program, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
163
+ )
164
+
165
+ _response_types_map: Dict[str, Optional[str]] = {
166
+ "200": "ProgramMetadata",
167
+ "404": "HTTPExceptionResponse",
168
+ "422": "HTTPValidationError2",
169
+ }
170
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
171
+ await response_data.read()
172
+ return self.api_client.response_deserialize(
173
+ response_data=response_data,
174
+ response_types_map=_response_types_map,
175
+ )
176
+
177
+ @validate_call
178
+ async def get_program_metadata_without_preload_content(
179
+ self,
180
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
181
+ program: Annotated[
182
+ StrictStr,
183
+ Field(
184
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
185
+ ),
186
+ ],
187
+ _request_timeout: Union[
188
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
189
+ ] = None,
190
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
191
+ _content_type: Optional[StrictStr] = None,
192
+ _headers: Optional[Dict[StrictStr, Any]] = None,
193
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
194
+ ) -> RESTResponseType:
195
+ """Get Program Metadata
196
+
197
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns metadata of the corresponding program.
198
+
199
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
200
+ :type cell: str
201
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
202
+ :type program: str
203
+ :param _request_timeout: timeout setting for this request. If one
204
+ number provided, it will be total request
205
+ timeout. It can also be a pair (tuple) of
206
+ (connection, read) timeouts.
207
+ :type _request_timeout: int, tuple(int, int), optional
208
+ :param _request_auth: set to override the auth_settings for an a single
209
+ request; this effectively ignores the
210
+ authentication in the spec for a single request.
211
+ :type _request_auth: dict, optional
212
+ :param _content_type: force content-type for the request.
213
+ :type _content_type: str, Optional
214
+ :param _headers: set to override the headers for a single
215
+ request; this effectively ignores the headers
216
+ in the spec for a single request.
217
+ :type _headers: dict, optional
218
+ :param _host_index: set to override the host_index for a single
219
+ request; this effectively ignores the host_index
220
+ in the spec for a single request.
221
+ :type _host_index: int, optional
222
+ :return: Returns the result object.
223
+ """ # noqa: E501
224
+
225
+ _param = self._get_program_metadata_serialize(
226
+ cell=cell, program=program, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
227
+ )
228
+
229
+ _response_types_map: Dict[str, Optional[str]] = {
230
+ "200": "ProgramMetadata",
231
+ "404": "HTTPExceptionResponse",
232
+ "422": "HTTPValidationError2",
233
+ }
234
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
235
+ return response_data.response
236
+
237
+ def _get_program_metadata_serialize(
238
+ self,
239
+ cell,
240
+ program,
241
+ _request_auth,
242
+ _content_type,
243
+ _headers,
244
+ _host_index,
245
+ ) -> RequestSerialized:
246
+
247
+ _host = None
248
+
249
+ _collection_formats: Dict[str, str] = {}
250
+
251
+ _path_params: Dict[str, str] = {}
252
+ _query_params: List[Tuple[str, str]] = []
253
+ _header_params: Dict[str, Optional[str]] = _headers or {}
254
+ _form_params: List[Tuple[str, str]] = []
255
+ _files: Dict[str, Union[str, bytes]] = {}
256
+ _body_params: Optional[bytes] = None
257
+
258
+ # process the path parameters
259
+ if cell is not None:
260
+ _path_params["cell"] = cell
261
+ if program is not None:
262
+ _path_params["program"] = program
263
+ # process the query parameters
264
+ # process the header parameters
265
+ # process the form parameters
266
+ # process the body parameter
267
+
268
+ # set the HTTP header `Accept`
269
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
270
+
271
+ # authentication setting
272
+ _auth_settings: List[str] = ["BearerAuth"]
273
+
274
+ return self.api_client.param_serialize(
275
+ method="GET",
276
+ resource_path="/cells/{cell}/store/programs/{program}/metadata",
277
+ path_params=_path_params,
278
+ query_params=_query_params,
279
+ header_params=_header_params,
280
+ body=_body_params,
281
+ post_params=_form_params,
282
+ files=_files,
283
+ auth_settings=_auth_settings,
284
+ collection_formats=_collection_formats,
285
+ _host=_host,
286
+ _request_auth=_request_auth,
287
+ )
288
+
289
+ @validate_call
290
+ async def list_program_metadata(
291
+ self,
292
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
293
+ show_hidden: Annotated[
294
+ Optional[StrictBool],
295
+ Field(description="If true, hidden programs, where the `is_hidden` flag is active, are included in the list. "),
296
+ ] = None,
297
+ _request_timeout: Union[
298
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
299
+ ] = None,
300
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
301
+ _content_type: Optional[StrictStr] = None,
302
+ _headers: Optional[Dict[StrictStr, Any]] = None,
303
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
304
+ ) -> ListProgramMetadataResponse:
305
+ """List Program Metadata
306
+
307
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns a list of all the stored programs, represented by their metadata.
308
+
309
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
310
+ :type cell: str
311
+ :param show_hidden: If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
312
+ :type show_hidden: bool
313
+ :param _request_timeout: timeout setting for this request. If one
314
+ number provided, it will be total request
315
+ timeout. It can also be a pair (tuple) of
316
+ (connection, read) timeouts.
317
+ :type _request_timeout: int, tuple(int, int), optional
318
+ :param _request_auth: set to override the auth_settings for an a single
319
+ request; this effectively ignores the
320
+ authentication in the spec for a single request.
321
+ :type _request_auth: dict, optional
322
+ :param _content_type: force content-type for the request.
323
+ :type _content_type: str, Optional
324
+ :param _headers: set to override the headers for a single
325
+ request; this effectively ignores the headers
326
+ in the spec for a single request.
327
+ :type _headers: dict, optional
328
+ :param _host_index: set to override the host_index for a single
329
+ request; this effectively ignores the host_index
330
+ in the spec for a single request.
331
+ :type _host_index: int, optional
332
+ :return: Returns the result object.
333
+ """ # noqa: E501
334
+
335
+ _param = self._list_program_metadata_serialize(
336
+ cell=cell,
337
+ show_hidden=show_hidden,
338
+ _request_auth=_request_auth,
339
+ _content_type=_content_type,
340
+ _headers=_headers,
341
+ _host_index=_host_index,
342
+ )
343
+
344
+ _response_types_map: Dict[str, Optional[str]] = {
345
+ "200": "ListProgramMetadataResponse",
346
+ "422": "HTTPValidationError2",
347
+ }
348
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
349
+ await response_data.read()
350
+ return self.api_client.response_deserialize(
351
+ response_data=response_data,
352
+ response_types_map=_response_types_map,
353
+ ).data
354
+
355
+ @validate_call
356
+ async def list_program_metadata_with_http_info(
357
+ self,
358
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
359
+ show_hidden: Annotated[
360
+ Optional[StrictBool],
361
+ Field(description="If true, hidden programs, where the `is_hidden` flag is active, are included in the list. "),
362
+ ] = None,
363
+ _request_timeout: Union[
364
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
365
+ ] = None,
366
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
367
+ _content_type: Optional[StrictStr] = None,
368
+ _headers: Optional[Dict[StrictStr, Any]] = None,
369
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
370
+ ) -> ApiResponse[ListProgramMetadataResponse]:
371
+ """List Program Metadata
372
+
373
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns a list of all the stored programs, represented by their metadata.
374
+
375
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
376
+ :type cell: str
377
+ :param show_hidden: If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
378
+ :type show_hidden: bool
379
+ :param _request_timeout: timeout setting for this request. If one
380
+ number provided, it will be total request
381
+ timeout. It can also be a pair (tuple) of
382
+ (connection, read) timeouts.
383
+ :type _request_timeout: int, tuple(int, int), optional
384
+ :param _request_auth: set to override the auth_settings for an a single
385
+ request; this effectively ignores the
386
+ authentication in the spec for a single request.
387
+ :type _request_auth: dict, optional
388
+ :param _content_type: force content-type for the request.
389
+ :type _content_type: str, Optional
390
+ :param _headers: set to override the headers for a single
391
+ request; this effectively ignores the headers
392
+ in the spec for a single request.
393
+ :type _headers: dict, optional
394
+ :param _host_index: set to override the host_index for a single
395
+ request; this effectively ignores the host_index
396
+ in the spec for a single request.
397
+ :type _host_index: int, optional
398
+ :return: Returns the result object.
399
+ """ # noqa: E501
400
+
401
+ _param = self._list_program_metadata_serialize(
402
+ cell=cell,
403
+ show_hidden=show_hidden,
404
+ _request_auth=_request_auth,
405
+ _content_type=_content_type,
406
+ _headers=_headers,
407
+ _host_index=_host_index,
408
+ )
409
+
410
+ _response_types_map: Dict[str, Optional[str]] = {
411
+ "200": "ListProgramMetadataResponse",
412
+ "422": "HTTPValidationError2",
413
+ }
414
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
415
+ await response_data.read()
416
+ return self.api_client.response_deserialize(
417
+ response_data=response_data,
418
+ response_types_map=_response_types_map,
419
+ )
420
+
421
+ @validate_call
422
+ async def list_program_metadata_without_preload_content(
423
+ self,
424
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
425
+ show_hidden: Annotated[
426
+ Optional[StrictBool],
427
+ Field(description="If true, hidden programs, where the `is_hidden` flag is active, are included in the list. "),
428
+ ] = None,
429
+ _request_timeout: Union[
430
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
431
+ ] = None,
432
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
433
+ _content_type: Optional[StrictStr] = None,
434
+ _headers: Optional[Dict[StrictStr, Any]] = None,
435
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
436
+ ) -> RESTResponseType:
437
+ """List Program Metadata
438
+
439
+ **Required permissions:** `can_operate_programs` - Execute and monitor programs ___ <!-- theme: danger --> > **Experimental** Returns a list of all the stored programs, represented by their metadata.
440
+
441
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
442
+ :type cell: str
443
+ :param show_hidden: If true, hidden programs, where the `is_hidden` flag is active, are included in the list.
444
+ :type show_hidden: bool
445
+ :param _request_timeout: timeout setting for this request. If one
446
+ number provided, it will be total request
447
+ timeout. It can also be a pair (tuple) of
448
+ (connection, read) timeouts.
449
+ :type _request_timeout: int, tuple(int, int), optional
450
+ :param _request_auth: set to override the auth_settings for an a single
451
+ request; this effectively ignores the
452
+ authentication in the spec for a single request.
453
+ :type _request_auth: dict, optional
454
+ :param _content_type: force content-type for the request.
455
+ :type _content_type: str, Optional
456
+ :param _headers: set to override the headers for a single
457
+ request; this effectively ignores the headers
458
+ in the spec for a single request.
459
+ :type _headers: dict, optional
460
+ :param _host_index: set to override the host_index for a single
461
+ request; this effectively ignores the host_index
462
+ in the spec for a single request.
463
+ :type _host_index: int, optional
464
+ :return: Returns the result object.
465
+ """ # noqa: E501
466
+
467
+ _param = self._list_program_metadata_serialize(
468
+ cell=cell,
469
+ show_hidden=show_hidden,
470
+ _request_auth=_request_auth,
471
+ _content_type=_content_type,
472
+ _headers=_headers,
473
+ _host_index=_host_index,
474
+ )
475
+
476
+ _response_types_map: Dict[str, Optional[str]] = {
477
+ "200": "ListProgramMetadataResponse",
478
+ "422": "HTTPValidationError2",
479
+ }
480
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
481
+ return response_data.response
482
+
483
+ def _list_program_metadata_serialize(
484
+ self,
485
+ cell,
486
+ show_hidden,
487
+ _request_auth,
488
+ _content_type,
489
+ _headers,
490
+ _host_index,
491
+ ) -> RequestSerialized:
492
+
493
+ _host = None
494
+
495
+ _collection_formats: Dict[str, str] = {}
496
+
497
+ _path_params: Dict[str, str] = {}
498
+ _query_params: List[Tuple[str, str]] = []
499
+ _header_params: Dict[str, Optional[str]] = _headers or {}
500
+ _form_params: List[Tuple[str, str]] = []
501
+ _files: Dict[str, Union[str, bytes]] = {}
502
+ _body_params: Optional[bytes] = None
503
+
504
+ # process the path parameters
505
+ if cell is not None:
506
+ _path_params["cell"] = cell
507
+ # process the query parameters
508
+ if show_hidden is not None:
509
+ _query_params.append(("show_hidden", show_hidden))
510
+
511
+ # process the header parameters
512
+ # process the form parameters
513
+ # process the body parameter
514
+
515
+ # set the HTTP header `Accept`
516
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
517
+
518
+ # authentication setting
519
+ _auth_settings: List[str] = ["BearerAuth"]
520
+
521
+ return self.api_client.param_serialize(
522
+ method="GET",
523
+ resource_path="/cells/{cell}/store/programs",
524
+ path_params=_path_params,
525
+ query_params=_query_params,
526
+ header_params=_header_params,
527
+ body=_body_params,
528
+ post_params=_form_params,
529
+ files=_files,
530
+ auth_settings=_auth_settings,
531
+ collection_formats=_collection_formats,
532
+ _host=_host,
533
+ _request_auth=_request_auth,
534
+ )
535
+
536
+ @validate_call
537
+ async def update_program_metadata(
538
+ self,
539
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
540
+ program: Annotated[
541
+ StrictStr,
542
+ Field(
543
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
544
+ ),
545
+ ],
546
+ update_program_metadata_request: UpdateProgramMetadataRequest,
547
+ _request_timeout: Union[
548
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
549
+ ] = None,
550
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
551
+ _content_type: Optional[StrictStr] = None,
552
+ _headers: Optional[Dict[StrictStr, Any]] = None,
553
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
554
+ ) -> ProgramMetadata:
555
+ """Update Program Metadata
556
+
557
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates the metadata of the corresponding program. The update is partial, only the set fields get updated.
558
+
559
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
560
+ :type cell: str
561
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
562
+ :type program: str
563
+ :param update_program_metadata_request: (required)
564
+ :type update_program_metadata_request: UpdateProgramMetadataRequest
565
+ :param _request_timeout: timeout setting for this request. If one
566
+ number provided, it will be total request
567
+ timeout. It can also be a pair (tuple) of
568
+ (connection, read) timeouts.
569
+ :type _request_timeout: int, tuple(int, int), optional
570
+ :param _request_auth: set to override the auth_settings for an a single
571
+ request; this effectively ignores the
572
+ authentication in the spec for a single request.
573
+ :type _request_auth: dict, optional
574
+ :param _content_type: force content-type for the request.
575
+ :type _content_type: str, Optional
576
+ :param _headers: set to override the headers for a single
577
+ request; this effectively ignores the headers
578
+ in the spec for a single request.
579
+ :type _headers: dict, optional
580
+ :param _host_index: set to override the host_index for a single
581
+ request; this effectively ignores the host_index
582
+ in the spec for a single request.
583
+ :type _host_index: int, optional
584
+ :return: Returns the result object.
585
+ """ # noqa: E501
586
+
587
+ _param = self._update_program_metadata_serialize(
588
+ cell=cell,
589
+ program=program,
590
+ update_program_metadata_request=update_program_metadata_request,
591
+ _request_auth=_request_auth,
592
+ _content_type=_content_type,
593
+ _headers=_headers,
594
+ _host_index=_host_index,
595
+ )
596
+
597
+ _response_types_map: Dict[str, Optional[str]] = {
598
+ "200": "ProgramMetadata",
599
+ "404": "HTTPExceptionResponse",
600
+ "422": "HTTPValidationError2",
601
+ }
602
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
603
+ await response_data.read()
604
+ return self.api_client.response_deserialize(
605
+ response_data=response_data,
606
+ response_types_map=_response_types_map,
607
+ ).data
608
+
609
+ @validate_call
610
+ async def update_program_metadata_with_http_info(
611
+ self,
612
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
613
+ program: Annotated[
614
+ StrictStr,
615
+ Field(
616
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
617
+ ),
618
+ ],
619
+ update_program_metadata_request: UpdateProgramMetadataRequest,
620
+ _request_timeout: Union[
621
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
622
+ ] = None,
623
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
624
+ _content_type: Optional[StrictStr] = None,
625
+ _headers: Optional[Dict[StrictStr, Any]] = None,
626
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
627
+ ) -> ApiResponse[ProgramMetadata]:
628
+ """Update Program Metadata
629
+
630
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates the metadata of the corresponding program. The update is partial, only the set fields get updated.
631
+
632
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
633
+ :type cell: str
634
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
635
+ :type program: str
636
+ :param update_program_metadata_request: (required)
637
+ :type update_program_metadata_request: UpdateProgramMetadataRequest
638
+ :param _request_timeout: timeout setting for this request. If one
639
+ number provided, it will be total request
640
+ timeout. It can also be a pair (tuple) of
641
+ (connection, read) timeouts.
642
+ :type _request_timeout: int, tuple(int, int), optional
643
+ :param _request_auth: set to override the auth_settings for an a single
644
+ request; this effectively ignores the
645
+ authentication in the spec for a single request.
646
+ :type _request_auth: dict, optional
647
+ :param _content_type: force content-type for the request.
648
+ :type _content_type: str, Optional
649
+ :param _headers: set to override the headers for a single
650
+ request; this effectively ignores the headers
651
+ in the spec for a single request.
652
+ :type _headers: dict, optional
653
+ :param _host_index: set to override the host_index for a single
654
+ request; this effectively ignores the host_index
655
+ in the spec for a single request.
656
+ :type _host_index: int, optional
657
+ :return: Returns the result object.
658
+ """ # noqa: E501
659
+
660
+ _param = self._update_program_metadata_serialize(
661
+ cell=cell,
662
+ program=program,
663
+ update_program_metadata_request=update_program_metadata_request,
664
+ _request_auth=_request_auth,
665
+ _content_type=_content_type,
666
+ _headers=_headers,
667
+ _host_index=_host_index,
668
+ )
669
+
670
+ _response_types_map: Dict[str, Optional[str]] = {
671
+ "200": "ProgramMetadata",
672
+ "404": "HTTPExceptionResponse",
673
+ "422": "HTTPValidationError2",
674
+ }
675
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
676
+ await response_data.read()
677
+ return self.api_client.response_deserialize(
678
+ response_data=response_data,
679
+ response_types_map=_response_types_map,
680
+ )
681
+
682
+ @validate_call
683
+ async def update_program_metadata_without_preload_content(
684
+ self,
685
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
686
+ program: Annotated[
687
+ StrictStr,
688
+ Field(
689
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
690
+ ),
691
+ ],
692
+ update_program_metadata_request: UpdateProgramMetadataRequest,
693
+ _request_timeout: Union[
694
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
695
+ ] = None,
696
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
697
+ _content_type: Optional[StrictStr] = None,
698
+ _headers: Optional[Dict[StrictStr, Any]] = None,
699
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
700
+ ) -> RESTResponseType:
701
+ """Update Program Metadata
702
+
703
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Updates the metadata of the corresponding program. The update is partial, only the set fields get updated.
704
+
705
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
706
+ :type cell: str
707
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
708
+ :type program: str
709
+ :param update_program_metadata_request: (required)
710
+ :type update_program_metadata_request: UpdateProgramMetadataRequest
711
+ :param _request_timeout: timeout setting for this request. If one
712
+ number provided, it will be total request
713
+ timeout. It can also be a pair (tuple) of
714
+ (connection, read) timeouts.
715
+ :type _request_timeout: int, tuple(int, int), optional
716
+ :param _request_auth: set to override the auth_settings for an a single
717
+ request; this effectively ignores the
718
+ authentication in the spec for a single request.
719
+ :type _request_auth: dict, optional
720
+ :param _content_type: force content-type for the request.
721
+ :type _content_type: str, Optional
722
+ :param _headers: set to override the headers for a single
723
+ request; this effectively ignores the headers
724
+ in the spec for a single request.
725
+ :type _headers: dict, optional
726
+ :param _host_index: set to override the host_index for a single
727
+ request; this effectively ignores the host_index
728
+ in the spec for a single request.
729
+ :type _host_index: int, optional
730
+ :return: Returns the result object.
731
+ """ # noqa: E501
732
+
733
+ _param = self._update_program_metadata_serialize(
734
+ cell=cell,
735
+ program=program,
736
+ update_program_metadata_request=update_program_metadata_request,
737
+ _request_auth=_request_auth,
738
+ _content_type=_content_type,
739
+ _headers=_headers,
740
+ _host_index=_host_index,
741
+ )
742
+
743
+ _response_types_map: Dict[str, Optional[str]] = {
744
+ "200": "ProgramMetadata",
745
+ "404": "HTTPExceptionResponse",
746
+ "422": "HTTPValidationError2",
747
+ }
748
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
749
+ return response_data.response
750
+
751
+ def _update_program_metadata_serialize(
752
+ self,
753
+ cell,
754
+ program,
755
+ update_program_metadata_request,
756
+ _request_auth,
757
+ _content_type,
758
+ _headers,
759
+ _host_index,
760
+ ) -> RequestSerialized:
761
+
762
+ _host = None
763
+
764
+ _collection_formats: Dict[str, str] = {}
765
+
766
+ _path_params: Dict[str, str] = {}
767
+ _query_params: List[Tuple[str, str]] = []
768
+ _header_params: Dict[str, Optional[str]] = _headers or {}
769
+ _form_params: List[Tuple[str, str]] = []
770
+ _files: Dict[str, Union[str, bytes]] = {}
771
+ _body_params: Optional[bytes] = None
772
+
773
+ # process the path parameters
774
+ if cell is not None:
775
+ _path_params["cell"] = cell
776
+ if program is not None:
777
+ _path_params["program"] = program
778
+ # process the query parameters
779
+ # process the header parameters
780
+ # process the form parameters
781
+ # process the body parameter
782
+ if update_program_metadata_request is not None:
783
+ _body_params = update_program_metadata_request
784
+
785
+ # set the HTTP header `Accept`
786
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
787
+
788
+ # set the HTTP header `Content-Type`
789
+ if _content_type:
790
+ _header_params["Content-Type"] = _content_type
791
+ else:
792
+ _default_content_type = self.api_client.select_header_content_type(["application/json"])
793
+ if _default_content_type is not None:
794
+ _header_params["Content-Type"] = _default_content_type
795
+
796
+ # authentication setting
797
+ _auth_settings: List[str] = ["BearerAuth"]
798
+
799
+ return self.api_client.param_serialize(
800
+ method="PUT",
801
+ resource_path="/cells/{cell}/store/programs/{program}/metadata",
802
+ path_params=_path_params,
803
+ query_params=_query_params,
804
+ header_params=_header_params,
805
+ body=_body_params,
806
+ post_params=_form_params,
807
+ files=_files,
808
+ auth_settings=_auth_settings,
809
+ collection_formats=_collection_formats,
810
+ _host=_host,
811
+ _request_auth=_request_auth,
812
+ )
813
+
814
+ @validate_call
815
+ async def upload_program_metadata_image(
816
+ self,
817
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
818
+ program: Annotated[
819
+ StrictStr,
820
+ Field(
821
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
822
+ ),
823
+ ],
824
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
825
+ _request_timeout: Union[
826
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
827
+ ] = None,
828
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
829
+ _content_type: Optional[StrictStr] = None,
830
+ _headers: Optional[Dict[StrictStr, Any]] = None,
831
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
832
+ ) -> ProgramMetadata:
833
+ """Upload Program Metadata Image
834
+
835
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
836
+
837
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
838
+ :type cell: str
839
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
840
+ :type program: str
841
+ :param file: (required)
842
+ :type file: bytearray
843
+ :param _request_timeout: timeout setting for this request. If one
844
+ number provided, it will be total request
845
+ timeout. It can also be a pair (tuple) of
846
+ (connection, read) timeouts.
847
+ :type _request_timeout: int, tuple(int, int), optional
848
+ :param _request_auth: set to override the auth_settings for an a single
849
+ request; this effectively ignores the
850
+ authentication in the spec for a single request.
851
+ :type _request_auth: dict, optional
852
+ :param _content_type: force content-type for the request.
853
+ :type _content_type: str, Optional
854
+ :param _headers: set to override the headers for a single
855
+ request; this effectively ignores the headers
856
+ in the spec for a single request.
857
+ :type _headers: dict, optional
858
+ :param _host_index: set to override the host_index for a single
859
+ request; this effectively ignores the host_index
860
+ in the spec for a single request.
861
+ :type _host_index: int, optional
862
+ :return: Returns the result object.
863
+ """ # noqa: E501
864
+
865
+ _param = self._upload_program_metadata_image_serialize(
866
+ cell=cell,
867
+ program=program,
868
+ file=file,
869
+ _request_auth=_request_auth,
870
+ _content_type=_content_type,
871
+ _headers=_headers,
872
+ _host_index=_host_index,
873
+ )
874
+
875
+ _response_types_map: Dict[str, Optional[str]] = {
876
+ "200": "ProgramMetadata",
877
+ "404": "HTTPExceptionResponse",
878
+ "422": "HTTPValidationError2",
879
+ }
880
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
881
+ await response_data.read()
882
+ return self.api_client.response_deserialize(
883
+ response_data=response_data,
884
+ response_types_map=_response_types_map,
885
+ ).data
886
+
887
+ @validate_call
888
+ async def upload_program_metadata_image_with_http_info(
889
+ self,
890
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
891
+ program: Annotated[
892
+ StrictStr,
893
+ Field(
894
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
895
+ ),
896
+ ],
897
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
898
+ _request_timeout: Union[
899
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
900
+ ] = None,
901
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
902
+ _content_type: Optional[StrictStr] = None,
903
+ _headers: Optional[Dict[StrictStr, Any]] = None,
904
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
905
+ ) -> ApiResponse[ProgramMetadata]:
906
+ """Upload Program Metadata Image
907
+
908
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
909
+
910
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
911
+ :type cell: str
912
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
913
+ :type program: str
914
+ :param file: (required)
915
+ :type file: bytearray
916
+ :param _request_timeout: timeout setting for this request. If one
917
+ number provided, it will be total request
918
+ timeout. It can also be a pair (tuple) of
919
+ (connection, read) timeouts.
920
+ :type _request_timeout: int, tuple(int, int), optional
921
+ :param _request_auth: set to override the auth_settings for an a single
922
+ request; this effectively ignores the
923
+ authentication in the spec for a single request.
924
+ :type _request_auth: dict, optional
925
+ :param _content_type: force content-type for the request.
926
+ :type _content_type: str, Optional
927
+ :param _headers: set to override the headers for a single
928
+ request; this effectively ignores the headers
929
+ in the spec for a single request.
930
+ :type _headers: dict, optional
931
+ :param _host_index: set to override the host_index for a single
932
+ request; this effectively ignores the host_index
933
+ in the spec for a single request.
934
+ :type _host_index: int, optional
935
+ :return: Returns the result object.
936
+ """ # noqa: E501
937
+
938
+ _param = self._upload_program_metadata_image_serialize(
939
+ cell=cell,
940
+ program=program,
941
+ file=file,
942
+ _request_auth=_request_auth,
943
+ _content_type=_content_type,
944
+ _headers=_headers,
945
+ _host_index=_host_index,
946
+ )
947
+
948
+ _response_types_map: Dict[str, Optional[str]] = {
949
+ "200": "ProgramMetadata",
950
+ "404": "HTTPExceptionResponse",
951
+ "422": "HTTPValidationError2",
952
+ }
953
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
954
+ await response_data.read()
955
+ return self.api_client.response_deserialize(
956
+ response_data=response_data,
957
+ response_types_map=_response_types_map,
958
+ )
959
+
960
+ @validate_call
961
+ async def upload_program_metadata_image_without_preload_content(
962
+ self,
963
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
964
+ program: Annotated[
965
+ StrictStr,
966
+ Field(
967
+ description="Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). "
968
+ ),
969
+ ],
970
+ file: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
971
+ _request_timeout: Union[
972
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
973
+ ] = None,
974
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
975
+ _content_type: Optional[StrictStr] = None,
976
+ _headers: Optional[Dict[StrictStr, Any]] = None,
977
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
978
+ ) -> RESTResponseType:
979
+ """Upload Program Metadata Image
980
+
981
+ **Required permissions:** `can_manage_programs` - Create, update, or delete programs ___ <!-- theme: danger --> > **Experimental** Uploads an image for the corresponding program. The image is served as a static file. The path to the image is stored in the metadata.
982
+
983
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
984
+ :type cell: str
985
+ :param program: Recieved from [listProgramMetadata](#/operations/listProgramMetadata) or from the response of [createProgram](#/operations/createProgram). (required)
986
+ :type program: str
987
+ :param file: (required)
988
+ :type file: bytearray
989
+ :param _request_timeout: timeout setting for this request. If one
990
+ number provided, it will be total request
991
+ timeout. It can also be a pair (tuple) of
992
+ (connection, read) timeouts.
993
+ :type _request_timeout: int, tuple(int, int), optional
994
+ :param _request_auth: set to override the auth_settings for an a single
995
+ request; this effectively ignores the
996
+ authentication in the spec for a single request.
997
+ :type _request_auth: dict, optional
998
+ :param _content_type: force content-type for the request.
999
+ :type _content_type: str, Optional
1000
+ :param _headers: set to override the headers for a single
1001
+ request; this effectively ignores the headers
1002
+ in the spec for a single request.
1003
+ :type _headers: dict, optional
1004
+ :param _host_index: set to override the host_index for a single
1005
+ request; this effectively ignores the host_index
1006
+ in the spec for a single request.
1007
+ :type _host_index: int, optional
1008
+ :return: Returns the result object.
1009
+ """ # noqa: E501
1010
+
1011
+ _param = self._upload_program_metadata_image_serialize(
1012
+ cell=cell,
1013
+ program=program,
1014
+ file=file,
1015
+ _request_auth=_request_auth,
1016
+ _content_type=_content_type,
1017
+ _headers=_headers,
1018
+ _host_index=_host_index,
1019
+ )
1020
+
1021
+ _response_types_map: Dict[str, Optional[str]] = {
1022
+ "200": "ProgramMetadata",
1023
+ "404": "HTTPExceptionResponse",
1024
+ "422": "HTTPValidationError2",
1025
+ }
1026
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1027
+ return response_data.response
1028
+
1029
+ def _upload_program_metadata_image_serialize(
1030
+ self,
1031
+ cell,
1032
+ program,
1033
+ file,
1034
+ _request_auth,
1035
+ _content_type,
1036
+ _headers,
1037
+ _host_index,
1038
+ ) -> RequestSerialized:
1039
+
1040
+ _host = None
1041
+
1042
+ _collection_formats: Dict[str, str] = {}
1043
+
1044
+ _path_params: Dict[str, str] = {}
1045
+ _query_params: List[Tuple[str, str]] = []
1046
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1047
+ _form_params: List[Tuple[str, str]] = []
1048
+ _files: Dict[str, Union[str, bytes]] = {}
1049
+ _body_params: Optional[bytes] = None
1050
+
1051
+ # process the path parameters
1052
+ if cell is not None:
1053
+ _path_params["cell"] = cell
1054
+ if program is not None:
1055
+ _path_params["program"] = program
1056
+ # process the query parameters
1057
+ # process the header parameters
1058
+ # process the form parameters
1059
+ if file is not None:
1060
+ _files["file"] = file
1061
+ # process the body parameter
1062
+
1063
+ # set the HTTP header `Accept`
1064
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1065
+
1066
+ # set the HTTP header `Content-Type`
1067
+ if _content_type:
1068
+ _header_params["Content-Type"] = _content_type
1069
+ else:
1070
+ _default_content_type = self.api_client.select_header_content_type(["multipart/form-data"])
1071
+ if _default_content_type is not None:
1072
+ _header_params["Content-Type"] = _default_content_type
1073
+
1074
+ # authentication setting
1075
+ _auth_settings: List[str] = ["BearerAuth"]
1076
+
1077
+ return self.api_client.param_serialize(
1078
+ method="POST",
1079
+ resource_path="/cells/{cell}/store/programs/{program}/metadata/image",
1080
+ path_params=_path_params,
1081
+ query_params=_query_params,
1082
+ header_params=_header_params,
1083
+ body=_body_params,
1084
+ post_params=_form_params,
1085
+ files=_files,
1086
+ auth_settings=_auth_settings,
1087
+ collection_formats=_collection_formats,
1088
+ _host=_host,
1089
+ _request_auth=_request_auth,
1090
+ )