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