windmill-api 1.529.0__py3-none-any.whl → 1.531.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of windmill-api might be problematic. Click here for more details.

Files changed (436) hide show
  1. windmill_api/api/job/run_flow_preview_and_wait_result.py +107 -0
  2. windmill_api/api/job/run_script_preview_and_wait_result.py +107 -0
  3. windmill_api/models/ai_agent.py +103 -0
  4. windmill_api/models/ai_agent_input_transforms.py +104 -0
  5. windmill_api/models/ai_agent_input_transforms_additional_property_type_0.py +69 -0
  6. windmill_api/models/ai_agent_input_transforms_additional_property_type_0_type.py +8 -0
  7. windmill_api/models/ai_agent_input_transforms_additional_property_type_1.py +69 -0
  8. windmill_api/models/ai_agent_input_transforms_additional_property_type_1_type.py +8 -0
  9. windmill_api/models/ai_agent_tools_item.py +280 -0
  10. windmill_api/models/ai_agent_tools_item_mock.py +66 -0
  11. windmill_api/models/ai_agent_tools_item_retry.py +89 -0
  12. windmill_api/models/ai_agent_tools_item_retry_constant.py +66 -0
  13. windmill_api/models/ai_agent_tools_item_retry_exponential.py +82 -0
  14. windmill_api/models/ai_agent_tools_item_skip_if.py +58 -0
  15. windmill_api/models/ai_agent_tools_item_sleep_type_0.py +67 -0
  16. windmill_api/models/ai_agent_tools_item_sleep_type_0_type.py +8 -0
  17. windmill_api/models/ai_agent_tools_item_sleep_type_1.py +67 -0
  18. windmill_api/models/ai_agent_tools_item_sleep_type_1_type.py +8 -0
  19. windmill_api/models/ai_agent_tools_item_stop_after_all_iters_if.py +76 -0
  20. windmill_api/models/ai_agent_tools_item_stop_after_if.py +76 -0
  21. windmill_api/models/ai_agent_tools_item_suspend.py +195 -0
  22. windmill_api/models/ai_agent_tools_item_suspend_resume_form.py +71 -0
  23. windmill_api/models/ai_agent_tools_item_suspend_resume_form_schema.py +44 -0
  24. windmill_api/models/ai_agent_tools_item_suspend_user_groups_required_type_0.py +69 -0
  25. windmill_api/models/ai_agent_tools_item_suspend_user_groups_required_type_0_type.py +8 -0
  26. windmill_api/models/ai_agent_tools_item_suspend_user_groups_required_type_1.py +69 -0
  27. windmill_api/models/ai_agent_tools_item_suspend_user_groups_required_type_1_type.py +8 -0
  28. windmill_api/models/ai_agent_type.py +8 -0
  29. windmill_api/models/completed_job_flow_status_failure_module.py +83 -0
  30. windmill_api/models/completed_job_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  31. windmill_api/models/completed_job_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  32. windmill_api/models/completed_job_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  33. windmill_api/models/completed_job_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  34. windmill_api/models/completed_job_flow_status_modules_item.py +82 -0
  35. windmill_api/models/completed_job_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  36. windmill_api/models/completed_job_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  37. windmill_api/models/completed_job_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  38. windmill_api/models/completed_job_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  39. windmill_api/models/completed_job_flow_status_preprocessor_module.py +86 -0
  40. windmill_api/models/completed_job_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  41. windmill_api/models/completed_job_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  42. windmill_api/models/completed_job_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  43. windmill_api/models/completed_job_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  44. windmill_api/models/completed_job_job_kind.py +1 -0
  45. windmill_api/models/delete_completed_job_response_200_flow_status_failure_module.py +90 -0
  46. windmill_api/models/delete_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  47. windmill_api/models/delete_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  48. windmill_api/models/delete_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  49. windmill_api/models/delete_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  50. windmill_api/models/delete_completed_job_response_200_flow_status_modules_item.py +89 -0
  51. windmill_api/models/delete_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  52. windmill_api/models/delete_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  53. windmill_api/models/delete_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  54. windmill_api/models/delete_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  55. windmill_api/models/delete_completed_job_response_200_flow_status_preprocessor_module.py +90 -0
  56. windmill_api/models/delete_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  57. windmill_api/models/delete_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  58. windmill_api/models/delete_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  59. windmill_api/models/delete_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  60. windmill_api/models/delete_completed_job_response_200_job_kind.py +1 -0
  61. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module.py +89 -0
  62. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  63. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  64. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  65. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  66. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item.py +88 -0
  67. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  68. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  69. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  70. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  71. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_preprocessor_module.py +89 -0
  72. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  73. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  74. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  75. windmill_api/models/extended_jobs_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  76. windmill_api/models/extended_jobs_jobs_item_type_0_job_kind.py +1 -0
  77. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module.py +89 -0
  78. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  79. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  80. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  81. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  82. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item.py +88 -0
  83. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  84. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  85. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  86. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  87. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_preprocessor_module.py +89 -0
  88. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  89. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  90. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  91. windmill_api/models/extended_jobs_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  92. windmill_api/models/extended_jobs_jobs_item_type_1_job_kind.py +1 -0
  93. windmill_api/models/flow_module_value_2_type_8_input_transforms_additional_property_type_0.py +69 -0
  94. windmill_api/models/flow_module_value_2_type_8_input_transforms_additional_property_type_0_type.py +8 -0
  95. windmill_api/models/flow_module_value_2_type_8_input_transforms_additional_property_type_1.py +69 -0
  96. windmill_api/models/flow_module_value_2_type_8_input_transforms_additional_property_type_1_type.py +8 -0
  97. windmill_api/models/flow_module_value_2_type_8_tools_item_mock.py +66 -0
  98. windmill_api/models/flow_module_value_2_type_8_tools_item_retry_constant.py +66 -0
  99. windmill_api/models/flow_module_value_2_type_8_tools_item_retry_exponential.py +82 -0
  100. windmill_api/models/flow_module_value_2_type_8_tools_item_skip_if.py +58 -0
  101. windmill_api/models/flow_module_value_2_type_8_tools_item_sleep_type_0.py +69 -0
  102. windmill_api/models/flow_module_value_2_type_8_tools_item_sleep_type_0_type.py +8 -0
  103. windmill_api/models/flow_module_value_2_type_8_tools_item_sleep_type_1.py +69 -0
  104. windmill_api/models/flow_module_value_2_type_8_tools_item_sleep_type_1_type.py +8 -0
  105. windmill_api/models/flow_module_value_2_type_8_tools_item_stop_after_all_iters_if.py +76 -0
  106. windmill_api/models/flow_module_value_2_type_8_tools_item_stop_after_if.py +76 -0
  107. windmill_api/models/flow_module_value_2_type_8_tools_item_suspend_resume_form_schema.py +44 -0
  108. windmill_api/models/flow_module_value_2_type_8_tools_item_suspend_user_groups_required_type_0.py +69 -0
  109. windmill_api/models/flow_module_value_2_type_8_tools_item_suspend_user_groups_required_type_0_type.py +8 -0
  110. windmill_api/models/flow_module_value_2_type_8_tools_item_suspend_user_groups_required_type_1.py +69 -0
  111. windmill_api/models/flow_module_value_2_type_8_tools_item_suspend_user_groups_required_type_1_type.py +8 -0
  112. windmill_api/models/flow_module_value_2_type_8_type.py +8 -0
  113. windmill_api/models/flow_status_failure_module.py +75 -0
  114. windmill_api/models/flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  115. windmill_api/models/flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  116. windmill_api/models/flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  117. windmill_api/models/flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  118. windmill_api/models/flow_status_module.py +63 -0
  119. windmill_api/models/flow_status_module_agent_actions_item_type_0.py +82 -0
  120. windmill_api/models/flow_status_module_agent_actions_item_type_0_type.py +8 -0
  121. windmill_api/models/flow_status_module_agent_actions_item_type_1.py +60 -0
  122. windmill_api/models/flow_status_module_agent_actions_item_type_1_type.py +8 -0
  123. windmill_api/models/flow_status_modules_item.py +69 -0
  124. windmill_api/models/flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  125. windmill_api/models/flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  126. windmill_api/models/flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  127. windmill_api/models/flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  128. windmill_api/models/flow_status_preprocessor_module.py +80 -0
  129. windmill_api/models/flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  130. windmill_api/models/flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  131. windmill_api/models/flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  132. windmill_api/models/flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  133. windmill_api/models/get_completed_job_response_200_flow_status_failure_module.py +89 -0
  134. windmill_api/models/get_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  135. windmill_api/models/get_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  136. windmill_api/models/get_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  137. windmill_api/models/get_completed_job_response_200_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  138. windmill_api/models/get_completed_job_response_200_flow_status_modules_item.py +88 -0
  139. windmill_api/models/get_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  140. windmill_api/models/get_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  141. windmill_api/models/get_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  142. windmill_api/models/get_completed_job_response_200_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  143. windmill_api/models/get_completed_job_response_200_flow_status_preprocessor_module.py +89 -0
  144. windmill_api/models/get_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  145. windmill_api/models/get_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  146. windmill_api/models/get_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  147. windmill_api/models/get_completed_job_response_200_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  148. windmill_api/models/get_completed_job_response_200_job_kind.py +1 -0
  149. windmill_api/models/get_job_response_200_type_0_flow_status_failure_module.py +89 -0
  150. windmill_api/models/get_job_response_200_type_0_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  151. windmill_api/models/get_job_response_200_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  152. windmill_api/models/get_job_response_200_type_0_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  153. windmill_api/models/get_job_response_200_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  154. windmill_api/models/get_job_response_200_type_0_flow_status_modules_item.py +88 -0
  155. windmill_api/models/get_job_response_200_type_0_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  156. windmill_api/models/get_job_response_200_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  157. windmill_api/models/get_job_response_200_type_0_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  158. windmill_api/models/get_job_response_200_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  159. windmill_api/models/get_job_response_200_type_0_flow_status_preprocessor_module.py +89 -0
  160. windmill_api/models/get_job_response_200_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  161. windmill_api/models/get_job_response_200_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  162. windmill_api/models/get_job_response_200_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  163. windmill_api/models/get_job_response_200_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  164. windmill_api/models/get_job_response_200_type_0_job_kind.py +1 -0
  165. windmill_api/models/get_job_response_200_type_1_flow_status_failure_module.py +89 -0
  166. windmill_api/models/get_job_response_200_type_1_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  167. windmill_api/models/get_job_response_200_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  168. windmill_api/models/get_job_response_200_type_1_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  169. windmill_api/models/get_job_response_200_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  170. windmill_api/models/get_job_response_200_type_1_flow_status_modules_item.py +88 -0
  171. windmill_api/models/get_job_response_200_type_1_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  172. windmill_api/models/get_job_response_200_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  173. windmill_api/models/get_job_response_200_type_1_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  174. windmill_api/models/get_job_response_200_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  175. windmill_api/models/get_job_response_200_type_1_flow_status_preprocessor_module.py +89 -0
  176. windmill_api/models/get_job_response_200_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  177. windmill_api/models/get_job_response_200_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  178. windmill_api/models/get_job_response_200_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  179. windmill_api/models/get_job_response_200_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  180. windmill_api/models/get_job_response_200_type_1_job_kind.py +1 -0
  181. windmill_api/models/get_job_updates_response_200_flow_status_failure_module.py +89 -0
  182. windmill_api/models/get_job_updates_response_200_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  183. windmill_api/models/get_job_updates_response_200_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  184. windmill_api/models/get_job_updates_response_200_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  185. windmill_api/models/get_job_updates_response_200_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  186. windmill_api/models/get_job_updates_response_200_flow_status_modules_item.py +88 -0
  187. windmill_api/models/get_job_updates_response_200_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  188. windmill_api/models/get_job_updates_response_200_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  189. windmill_api/models/get_job_updates_response_200_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  190. windmill_api/models/get_job_updates_response_200_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  191. windmill_api/models/get_job_updates_response_200_flow_status_preprocessor_module.py +89 -0
  192. windmill_api/models/get_job_updates_response_200_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  193. windmill_api/models/get_job_updates_response_200_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  194. windmill_api/models/get_job_updates_response_200_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  195. windmill_api/models/get_job_updates_response_200_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  196. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module.py +93 -0
  197. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  198. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  199. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  200. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  201. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item.py +90 -0
  202. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item_agent_actions_item_type_0.py +86 -0
  203. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  204. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item_agent_actions_item_type_1.py +64 -0
  205. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  206. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_preprocessor_module.py +92 -0
  207. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +88 -0
  208. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  209. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +66 -0
  210. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  211. windmill_api/models/get_suspended_job_flow_response_200_job_type_0_job_kind.py +1 -0
  212. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module.py +93 -0
  213. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  214. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  215. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  216. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  217. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item.py +90 -0
  218. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item_agent_actions_item_type_0.py +86 -0
  219. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  220. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item_agent_actions_item_type_1.py +64 -0
  221. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  222. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_preprocessor_module.py +92 -0
  223. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +88 -0
  224. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  225. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +66 -0
  226. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  227. windmill_api/models/get_suspended_job_flow_response_200_job_type_1_job_kind.py +1 -0
  228. windmill_api/models/job_type_0_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  229. windmill_api/models/job_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  230. windmill_api/models/job_type_0_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  231. windmill_api/models/job_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  232. windmill_api/models/job_type_0_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  233. windmill_api/models/job_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  234. windmill_api/models/job_type_0_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  235. windmill_api/models/job_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  236. windmill_api/models/job_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  237. windmill_api/models/job_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  238. windmill_api/models/job_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  239. windmill_api/models/job_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  240. windmill_api/models/job_type_0_job_kind.py +1 -0
  241. windmill_api/models/job_type_1_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  242. windmill_api/models/job_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  243. windmill_api/models/job_type_1_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  244. windmill_api/models/job_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  245. windmill_api/models/job_type_1_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  246. windmill_api/models/job_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  247. windmill_api/models/job_type_1_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  248. windmill_api/models/job_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  249. windmill_api/models/job_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  250. windmill_api/models/job_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  251. windmill_api/models/job_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  252. windmill_api/models/job_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  253. windmill_api/models/job_type_1_job_kind.py +1 -0
  254. windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module.py +91 -0
  255. windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  256. windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  257. windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  258. windmill_api/models/list_completed_jobs_response_200_item_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  259. windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item.py +89 -0
  260. windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item_agent_actions_item_type_0.py +86 -0
  261. windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  262. windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item_agent_actions_item_type_1.py +64 -0
  263. windmill_api/models/list_completed_jobs_response_200_item_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  264. windmill_api/models/list_completed_jobs_response_200_item_flow_status_preprocessor_module.py +92 -0
  265. windmill_api/models/list_completed_jobs_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  266. windmill_api/models/list_completed_jobs_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  267. windmill_api/models/list_completed_jobs_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  268. windmill_api/models/list_completed_jobs_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  269. windmill_api/models/list_completed_jobs_response_200_item_job_kind.py +1 -0
  270. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module.py +93 -0
  271. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  272. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  273. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  274. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  275. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item.py +92 -0
  276. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_0.py +86 -0
  277. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  278. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_1.py +64 -0
  279. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  280. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_preprocessor_module.py +92 -0
  281. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +92 -0
  282. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  283. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +70 -0
  284. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  285. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_0_job_kind.py +1 -0
  286. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module.py +93 -0
  287. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  288. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  289. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  290. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  291. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item.py +92 -0
  292. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_0.py +86 -0
  293. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  294. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_1.py +64 -0
  295. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  296. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_preprocessor_module.py +92 -0
  297. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +92 -0
  298. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  299. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +70 -0
  300. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  301. windmill_api/models/list_extended_jobs_response_200_jobs_item_type_1_job_kind.py +1 -0
  302. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module.py +90 -0
  303. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  304. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  305. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  306. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  307. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item.py +88 -0
  308. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  309. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  310. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  311. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  312. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_preprocessor_module.py +90 -0
  313. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  314. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  315. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  316. windmill_api/models/list_jobs_response_200_item_type_0_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  317. windmill_api/models/list_jobs_response_200_item_type_0_job_kind.py +1 -0
  318. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module.py +90 -0
  319. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module_agent_actions_item_type_0.py +86 -0
  320. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  321. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module_agent_actions_item_type_1.py +64 -0
  322. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  323. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item.py +88 -0
  324. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  325. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  326. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  327. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  328. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_preprocessor_module.py +90 -0
  329. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0.py +86 -0
  330. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  331. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1.py +64 -0
  332. windmill_api/models/list_jobs_response_200_item_type_1_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  333. windmill_api/models/list_jobs_response_200_item_type_1_job_kind.py +1 -0
  334. windmill_api/models/list_queue_response_200_item_flow_status_failure_module.py +89 -0
  335. windmill_api/models/list_queue_response_200_item_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  336. windmill_api/models/list_queue_response_200_item_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  337. windmill_api/models/list_queue_response_200_item_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  338. windmill_api/models/list_queue_response_200_item_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  339. windmill_api/models/list_queue_response_200_item_flow_status_modules_item.py +88 -0
  340. windmill_api/models/list_queue_response_200_item_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  341. windmill_api/models/list_queue_response_200_item_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  342. windmill_api/models/list_queue_response_200_item_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  343. windmill_api/models/list_queue_response_200_item_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  344. windmill_api/models/list_queue_response_200_item_flow_status_preprocessor_module.py +89 -0
  345. windmill_api/models/list_queue_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  346. windmill_api/models/list_queue_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  347. windmill_api/models/list_queue_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  348. windmill_api/models/list_queue_response_200_item_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  349. windmill_api/models/list_queue_response_200_item_job_kind.py +1 -0
  350. windmill_api/models/preview.py +3 -3
  351. windmill_api/models/queued_job_flow_status_failure_module.py +83 -0
  352. windmill_api/models/queued_job_flow_status_failure_module_agent_actions_item_type_0.py +84 -0
  353. windmill_api/models/queued_job_flow_status_failure_module_agent_actions_item_type_0_type.py +8 -0
  354. windmill_api/models/queued_job_flow_status_failure_module_agent_actions_item_type_1.py +62 -0
  355. windmill_api/models/queued_job_flow_status_failure_module_agent_actions_item_type_1_type.py +8 -0
  356. windmill_api/models/queued_job_flow_status_modules_item.py +82 -0
  357. windmill_api/models/queued_job_flow_status_modules_item_agent_actions_item_type_0.py +84 -0
  358. windmill_api/models/queued_job_flow_status_modules_item_agent_actions_item_type_0_type.py +8 -0
  359. windmill_api/models/queued_job_flow_status_modules_item_agent_actions_item_type_1.py +62 -0
  360. windmill_api/models/queued_job_flow_status_modules_item_agent_actions_item_type_1_type.py +8 -0
  361. windmill_api/models/queued_job_flow_status_preprocessor_module.py +84 -0
  362. windmill_api/models/queued_job_flow_status_preprocessor_module_agent_actions_item_type_0.py +84 -0
  363. windmill_api/models/queued_job_flow_status_preprocessor_module_agent_actions_item_type_0_type.py +8 -0
  364. windmill_api/models/queued_job_flow_status_preprocessor_module_agent_actions_item_type_1.py +62 -0
  365. windmill_api/models/queued_job_flow_status_preprocessor_module_agent_actions_item_type_1_type.py +8 -0
  366. windmill_api/models/queued_job_job_kind.py +1 -0
  367. windmill_api/models/run_flow_preview_and_wait_result_json_body.py +114 -0
  368. windmill_api/models/run_flow_preview_and_wait_result_json_body_args.py +44 -0
  369. windmill_api/models/run_flow_preview_and_wait_result_json_body_restarted_from.py +74 -0
  370. windmill_api/models/run_flow_preview_and_wait_result_json_body_value.py +190 -0
  371. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module.py +334 -0
  372. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_mock.py +66 -0
  373. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry.py +97 -0
  374. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry_constant.py +66 -0
  375. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_retry_exponential.py +82 -0
  376. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_skip_if.py +58 -0
  377. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_0.py +69 -0
  378. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_0_type.py +8 -0
  379. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_1.py +69 -0
  380. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_sleep_type_1_type.py +8 -0
  381. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_stop_after_all_iters_if.py +78 -0
  382. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_stop_after_if.py +76 -0
  383. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend.py +215 -0
  384. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_resume_form.py +75 -0
  385. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_resume_form_schema.py +46 -0
  386. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_0.py +71 -0
  387. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_0_type.py +8 -0
  388. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_1.py +71 -0
  389. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_failure_module_suspend_user_groups_required_type_1_type.py +8 -0
  390. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item.py +331 -0
  391. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_mock.py +66 -0
  392. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry.py +97 -0
  393. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry_constant.py +66 -0
  394. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_retry_exponential.py +82 -0
  395. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_skip_if.py +58 -0
  396. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_0.py +69 -0
  397. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_0_type.py +8 -0
  398. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_1.py +69 -0
  399. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_sleep_type_1_type.py +8 -0
  400. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_stop_after_all_iters_if.py +76 -0
  401. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_stop_after_if.py +76 -0
  402. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend.py +213 -0
  403. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_resume_form.py +75 -0
  404. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_resume_form_schema.py +46 -0
  405. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_0.py +71 -0
  406. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_0_type.py +8 -0
  407. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_1.py +71 -0
  408. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_modules_item_suspend_user_groups_required_type_1_type.py +8 -0
  409. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module.py +340 -0
  410. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_mock.py +66 -0
  411. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry.py +99 -0
  412. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_constant.py +66 -0
  413. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_retry_exponential.py +82 -0
  414. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_skip_if.py +58 -0
  415. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0.py +69 -0
  416. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_0_type.py +8 -0
  417. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1.py +69 -0
  418. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_sleep_type_1_type.py +8 -0
  419. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_all_iters_if.py +78 -0
  420. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_stop_after_if.py +76 -0
  421. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend.py +215 -0
  422. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form.py +79 -0
  423. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema.py +46 -0
  424. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0.py +73 -0
  425. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0_type.py +8 -0
  426. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1.py +73 -0
  427. windmill_api/models/run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1_type.py +8 -0
  428. windmill_api/models/run_script_preview_and_wait_result_json_body.py +149 -0
  429. windmill_api/models/run_script_preview_and_wait_result_json_body_args.py +44 -0
  430. windmill_api/models/run_script_preview_and_wait_result_json_body_kind.py +10 -0
  431. windmill_api/models/run_script_preview_and_wait_result_json_body_language.py +29 -0
  432. windmill_api/models/run_script_preview_json_body.py +3 -3
  433. {windmill_api-1.529.0.dist-info → windmill_api-1.531.0.dist-info}/METADATA +1 -1
  434. {windmill_api-1.529.0.dist-info → windmill_api-1.531.0.dist-info}/RECORD +436 -79
  435. {windmill_api-1.529.0.dist-info → windmill_api-1.531.0.dist-info}/LICENSE +0 -0
  436. {windmill_api-1.529.0.dist-info → windmill_api-1.531.0.dist-info}/WHEEL +0 -0
@@ -0,0 +1,215 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..types import UNSET, Unset
7
+
8
+ if TYPE_CHECKING:
9
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form import (
10
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm,
11
+ )
12
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0 import (
13
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0,
14
+ )
15
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1 import (
16
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1,
17
+ )
18
+
19
+
20
+ T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend")
21
+
22
+
23
+ @_attrs_define
24
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspend:
25
+ """
26
+ Attributes:
27
+ required_events (Union[Unset, int]):
28
+ timeout (Union[Unset, int]):
29
+ resume_form (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm]):
30
+ user_auth_required (Union[Unset, bool]):
31
+ user_groups_required
32
+ (Union['RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0',
33
+ 'RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1', Unset]):
34
+ self_approval_disabled (Union[Unset, bool]):
35
+ hide_cancel (Union[Unset, bool]):
36
+ continue_on_disapprove_timeout (Union[Unset, bool]):
37
+ """
38
+
39
+ required_events: Union[Unset, int] = UNSET
40
+ timeout: Union[Unset, int] = UNSET
41
+ resume_form: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm"] = UNSET
42
+ user_auth_required: Union[Unset, bool] = UNSET
43
+ user_groups_required: Union[
44
+ "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0",
45
+ "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1",
46
+ Unset,
47
+ ] = UNSET
48
+ self_approval_disabled: Union[Unset, bool] = UNSET
49
+ hide_cancel: Union[Unset, bool] = UNSET
50
+ continue_on_disapprove_timeout: Union[Unset, bool] = UNSET
51
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
52
+
53
+ def to_dict(self) -> Dict[str, Any]:
54
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0 import (
55
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0,
56
+ )
57
+
58
+ required_events = self.required_events
59
+ timeout = self.timeout
60
+ resume_form: Union[Unset, Dict[str, Any]] = UNSET
61
+ if not isinstance(self.resume_form, Unset):
62
+ resume_form = self.resume_form.to_dict()
63
+
64
+ user_auth_required = self.user_auth_required
65
+ user_groups_required: Union[Dict[str, Any], Unset]
66
+ if isinstance(self.user_groups_required, Unset):
67
+ user_groups_required = UNSET
68
+
69
+ elif isinstance(
70
+ self.user_groups_required,
71
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0,
72
+ ):
73
+ user_groups_required = UNSET
74
+ if not isinstance(self.user_groups_required, Unset):
75
+ user_groups_required = self.user_groups_required.to_dict()
76
+
77
+ else:
78
+ user_groups_required = UNSET
79
+ if not isinstance(self.user_groups_required, Unset):
80
+ user_groups_required = self.user_groups_required.to_dict()
81
+
82
+ self_approval_disabled = self.self_approval_disabled
83
+ hide_cancel = self.hide_cancel
84
+ continue_on_disapprove_timeout = self.continue_on_disapprove_timeout
85
+
86
+ field_dict: Dict[str, Any] = {}
87
+ field_dict.update(self.additional_properties)
88
+ field_dict.update({})
89
+ if required_events is not UNSET:
90
+ field_dict["required_events"] = required_events
91
+ if timeout is not UNSET:
92
+ field_dict["timeout"] = timeout
93
+ if resume_form is not UNSET:
94
+ field_dict["resume_form"] = resume_form
95
+ if user_auth_required is not UNSET:
96
+ field_dict["user_auth_required"] = user_auth_required
97
+ if user_groups_required is not UNSET:
98
+ field_dict["user_groups_required"] = user_groups_required
99
+ if self_approval_disabled is not UNSET:
100
+ field_dict["self_approval_disabled"] = self_approval_disabled
101
+ if hide_cancel is not UNSET:
102
+ field_dict["hide_cancel"] = hide_cancel
103
+ if continue_on_disapprove_timeout is not UNSET:
104
+ field_dict["continue_on_disapprove_timeout"] = continue_on_disapprove_timeout
105
+
106
+ return field_dict
107
+
108
+ @classmethod
109
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
110
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form import (
111
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm,
112
+ )
113
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0 import (
114
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0,
115
+ )
116
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1 import (
117
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1,
118
+ )
119
+
120
+ d = src_dict.copy()
121
+ required_events = d.pop("required_events", UNSET)
122
+
123
+ timeout = d.pop("timeout", UNSET)
124
+
125
+ _resume_form = d.pop("resume_form", UNSET)
126
+ resume_form: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm]
127
+ if isinstance(_resume_form, Unset):
128
+ resume_form = UNSET
129
+ else:
130
+ resume_form = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm.from_dict(
131
+ _resume_form
132
+ )
133
+
134
+ user_auth_required = d.pop("user_auth_required", UNSET)
135
+
136
+ def _parse_user_groups_required(
137
+ data: object,
138
+ ) -> Union[
139
+ "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0",
140
+ "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1",
141
+ Unset,
142
+ ]:
143
+ if isinstance(data, Unset):
144
+ return data
145
+ try:
146
+ if not isinstance(data, dict):
147
+ raise TypeError()
148
+ _user_groups_required_type_0 = data
149
+ user_groups_required_type_0: Union[
150
+ Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0
151
+ ]
152
+ if isinstance(_user_groups_required_type_0, Unset):
153
+ user_groups_required_type_0 = UNSET
154
+ else:
155
+ user_groups_required_type_0 = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0.from_dict(
156
+ _user_groups_required_type_0
157
+ )
158
+
159
+ return user_groups_required_type_0
160
+ except: # noqa: E722
161
+ pass
162
+ if not isinstance(data, dict):
163
+ raise TypeError()
164
+ _user_groups_required_type_1 = data
165
+ user_groups_required_type_1: Union[
166
+ Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1
167
+ ]
168
+ if isinstance(_user_groups_required_type_1, Unset):
169
+ user_groups_required_type_1 = UNSET
170
+ else:
171
+ user_groups_required_type_1 = (
172
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1.from_dict(
173
+ _user_groups_required_type_1
174
+ )
175
+ )
176
+
177
+ return user_groups_required_type_1
178
+
179
+ user_groups_required = _parse_user_groups_required(d.pop("user_groups_required", UNSET))
180
+
181
+ self_approval_disabled = d.pop("self_approval_disabled", UNSET)
182
+
183
+ hide_cancel = d.pop("hide_cancel", UNSET)
184
+
185
+ continue_on_disapprove_timeout = d.pop("continue_on_disapprove_timeout", UNSET)
186
+
187
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend = cls(
188
+ required_events=required_events,
189
+ timeout=timeout,
190
+ resume_form=resume_form,
191
+ user_auth_required=user_auth_required,
192
+ user_groups_required=user_groups_required,
193
+ self_approval_disabled=self_approval_disabled,
194
+ hide_cancel=hide_cancel,
195
+ continue_on_disapprove_timeout=continue_on_disapprove_timeout,
196
+ )
197
+
198
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend.additional_properties = d
199
+ return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend
200
+
201
+ @property
202
+ def additional_keys(self) -> List[str]:
203
+ return list(self.additional_properties.keys())
204
+
205
+ def __getitem__(self, key: str) -> Any:
206
+ return self.additional_properties[key]
207
+
208
+ def __setitem__(self, key: str, value: Any) -> None:
209
+ self.additional_properties[key] = value
210
+
211
+ def __delitem__(self, key: str) -> None:
212
+ del self.additional_properties[key]
213
+
214
+ def __contains__(self, key: str) -> bool:
215
+ return key in self.additional_properties
@@ -0,0 +1,79 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..types import UNSET, Unset
7
+
8
+ if TYPE_CHECKING:
9
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema import (
10
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema,
11
+ )
12
+
13
+
14
+ T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm")
15
+
16
+
17
+ @_attrs_define
18
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeForm:
19
+ """
20
+ Attributes:
21
+ schema (Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema]):
22
+ """
23
+
24
+ schema: Union[Unset, "RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema"] = UNSET
25
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
26
+
27
+ def to_dict(self) -> Dict[str, Any]:
28
+ schema: Union[Unset, Dict[str, Any]] = UNSET
29
+ if not isinstance(self.schema, Unset):
30
+ schema = self.schema.to_dict()
31
+
32
+ field_dict: Dict[str, Any] = {}
33
+ field_dict.update(self.additional_properties)
34
+ field_dict.update({})
35
+ if schema is not UNSET:
36
+ field_dict["schema"] = schema
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
42
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema import (
43
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema,
44
+ )
45
+
46
+ d = src_dict.copy()
47
+ _schema = d.pop("schema", UNSET)
48
+ schema: Union[Unset, RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema]
49
+ if isinstance(_schema, Unset):
50
+ schema = UNSET
51
+ else:
52
+ schema = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema.from_dict(
53
+ _schema
54
+ )
55
+
56
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form = cls(
57
+ schema=schema,
58
+ )
59
+
60
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form.additional_properties = (
61
+ d
62
+ )
63
+ return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form
64
+
65
+ @property
66
+ def additional_keys(self) -> List[str]:
67
+ return list(self.additional_properties.keys())
68
+
69
+ def __getitem__(self, key: str) -> Any:
70
+ return self.additional_properties[key]
71
+
72
+ def __setitem__(self, key: str, value: Any) -> None:
73
+ self.additional_properties[key] = value
74
+
75
+ def __delitem__(self, key: str) -> None:
76
+ del self.additional_properties[key]
77
+
78
+ def __contains__(self, key: str) -> bool:
79
+ return key in self.additional_properties
@@ -0,0 +1,46 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema")
7
+
8
+
9
+ @_attrs_define
10
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendResumeFormSchema:
11
+ """ """
12
+
13
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
14
+
15
+ def to_dict(self) -> Dict[str, Any]:
16
+ field_dict: Dict[str, Any] = {}
17
+ field_dict.update(self.additional_properties)
18
+ field_dict.update({})
19
+
20
+ return field_dict
21
+
22
+ @classmethod
23
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
24
+ d = src_dict.copy()
25
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema = cls()
26
+
27
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema.additional_properties = (
28
+ d
29
+ )
30
+ return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_resume_form_schema
31
+
32
+ @property
33
+ def additional_keys(self) -> List[str]:
34
+ return list(self.additional_properties.keys())
35
+
36
+ def __getitem__(self, key: str) -> Any:
37
+ return self.additional_properties[key]
38
+
39
+ def __setitem__(self, key: str, value: Any) -> None:
40
+ self.additional_properties[key] = value
41
+
42
+ def __delitem__(self, key: str) -> None:
43
+ del self.additional_properties[key]
44
+
45
+ def __contains__(self, key: str) -> bool:
46
+ return key in self.additional_properties
@@ -0,0 +1,73 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0_type import (
7
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0Type,
8
+ )
9
+
10
+ T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0")
11
+
12
+
13
+ @_attrs_define
14
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0:
15
+ """
16
+ Attributes:
17
+ value (Any):
18
+ type (RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0Type):
19
+ """
20
+
21
+ value: Any
22
+ type: RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0Type
23
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
24
+
25
+ def to_dict(self) -> Dict[str, Any]:
26
+ value = self.value
27
+ type = self.type.value
28
+
29
+ field_dict: Dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "value": value,
34
+ "type": type,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
42
+ d = src_dict.copy()
43
+ value = d.pop("value")
44
+
45
+ type = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0Type(
46
+ d.pop("type")
47
+ )
48
+
49
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0 = cls(
50
+ value=value,
51
+ type=type,
52
+ )
53
+
54
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0.additional_properties = (
55
+ d
56
+ )
57
+ return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_0
58
+
59
+ @property
60
+ def additional_keys(self) -> List[str]:
61
+ return list(self.additional_properties.keys())
62
+
63
+ def __getitem__(self, key: str) -> Any:
64
+ return self.additional_properties[key]
65
+
66
+ def __setitem__(self, key: str, value: Any) -> None:
67
+ self.additional_properties[key] = value
68
+
69
+ def __delitem__(self, key: str) -> None:
70
+ del self.additional_properties[key]
71
+
72
+ def __contains__(self, key: str) -> bool:
73
+ return key in self.additional_properties
@@ -0,0 +1,8 @@
1
+ from enum import Enum
2
+
3
+
4
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType0Type(str, Enum):
5
+ STATIC = "static"
6
+
7
+ def __str__(self) -> str:
8
+ return str(self.value)
@@ -0,0 +1,73 @@
1
+ from typing import Any, Dict, List, Type, TypeVar
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..models.run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1_type import (
7
+ RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1Type,
8
+ )
9
+
10
+ T = TypeVar("T", bound="RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1")
11
+
12
+
13
+ @_attrs_define
14
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1:
15
+ """
16
+ Attributes:
17
+ expr (str):
18
+ type (RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1Type):
19
+ """
20
+
21
+ expr: str
22
+ type: RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1Type
23
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
24
+
25
+ def to_dict(self) -> Dict[str, Any]:
26
+ expr = self.expr
27
+ type = self.type.value
28
+
29
+ field_dict: Dict[str, Any] = {}
30
+ field_dict.update(self.additional_properties)
31
+ field_dict.update(
32
+ {
33
+ "expr": expr,
34
+ "type": type,
35
+ }
36
+ )
37
+
38
+ return field_dict
39
+
40
+ @classmethod
41
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
42
+ d = src_dict.copy()
43
+ expr = d.pop("expr")
44
+
45
+ type = RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1Type(
46
+ d.pop("type")
47
+ )
48
+
49
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1 = cls(
50
+ expr=expr,
51
+ type=type,
52
+ )
53
+
54
+ run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1.additional_properties = (
55
+ d
56
+ )
57
+ return run_flow_preview_and_wait_result_json_body_value_preprocessor_module_suspend_user_groups_required_type_1
58
+
59
+ @property
60
+ def additional_keys(self) -> List[str]:
61
+ return list(self.additional_properties.keys())
62
+
63
+ def __getitem__(self, key: str) -> Any:
64
+ return self.additional_properties[key]
65
+
66
+ def __setitem__(self, key: str, value: Any) -> None:
67
+ self.additional_properties[key] = value
68
+
69
+ def __delitem__(self, key: str) -> None:
70
+ del self.additional_properties[key]
71
+
72
+ def __contains__(self, key: str) -> bool:
73
+ return key in self.additional_properties
@@ -0,0 +1,8 @@
1
+ from enum import Enum
2
+
3
+
4
+ class RunFlowPreviewAndWaitResultJsonBodyValuePreprocessorModuleSuspendUserGroupsRequiredType1Type(str, Enum):
5
+ JAVASCRIPT = "javascript"
6
+
7
+ def __str__(self) -> str:
8
+ return str(self.value)
@@ -0,0 +1,149 @@
1
+ from typing import TYPE_CHECKING, Any, Dict, List, Type, TypeVar, Union
2
+
3
+ from attrs import define as _attrs_define
4
+ from attrs import field as _attrs_field
5
+
6
+ from ..models.run_script_preview_and_wait_result_json_body_kind import RunScriptPreviewAndWaitResultJsonBodyKind
7
+ from ..models.run_script_preview_and_wait_result_json_body_language import RunScriptPreviewAndWaitResultJsonBodyLanguage
8
+ from ..types import UNSET, Unset
9
+
10
+ if TYPE_CHECKING:
11
+ from ..models.run_script_preview_and_wait_result_json_body_args import RunScriptPreviewAndWaitResultJsonBodyArgs
12
+
13
+
14
+ T = TypeVar("T", bound="RunScriptPreviewAndWaitResultJsonBody")
15
+
16
+
17
+ @_attrs_define
18
+ class RunScriptPreviewAndWaitResultJsonBody:
19
+ """
20
+ Attributes:
21
+ args (RunScriptPreviewAndWaitResultJsonBodyArgs): The arguments to pass to the script or flow
22
+ content (Union[Unset, str]): The code to run
23
+ path (Union[Unset, str]): The path to the script
24
+ script_hash (Union[Unset, str]): The hash of the script
25
+ language (Union[Unset, RunScriptPreviewAndWaitResultJsonBodyLanguage]):
26
+ tag (Union[Unset, str]):
27
+ kind (Union[Unset, RunScriptPreviewAndWaitResultJsonBodyKind]):
28
+ dedicated_worker (Union[Unset, bool]):
29
+ lock (Union[Unset, str]):
30
+ """
31
+
32
+ args: "RunScriptPreviewAndWaitResultJsonBodyArgs"
33
+ content: Union[Unset, str] = UNSET
34
+ path: Union[Unset, str] = UNSET
35
+ script_hash: Union[Unset, str] = UNSET
36
+ language: Union[Unset, RunScriptPreviewAndWaitResultJsonBodyLanguage] = UNSET
37
+ tag: Union[Unset, str] = UNSET
38
+ kind: Union[Unset, RunScriptPreviewAndWaitResultJsonBodyKind] = UNSET
39
+ dedicated_worker: Union[Unset, bool] = UNSET
40
+ lock: Union[Unset, str] = UNSET
41
+ additional_properties: Dict[str, Any] = _attrs_field(init=False, factory=dict)
42
+
43
+ def to_dict(self) -> Dict[str, Any]:
44
+ args = self.args.to_dict()
45
+
46
+ content = self.content
47
+ path = self.path
48
+ script_hash = self.script_hash
49
+ language: Union[Unset, str] = UNSET
50
+ if not isinstance(self.language, Unset):
51
+ language = self.language.value
52
+
53
+ tag = self.tag
54
+ kind: Union[Unset, str] = UNSET
55
+ if not isinstance(self.kind, Unset):
56
+ kind = self.kind.value
57
+
58
+ dedicated_worker = self.dedicated_worker
59
+ lock = self.lock
60
+
61
+ field_dict: Dict[str, Any] = {}
62
+ field_dict.update(self.additional_properties)
63
+ field_dict.update(
64
+ {
65
+ "args": args,
66
+ }
67
+ )
68
+ if content is not UNSET:
69
+ field_dict["content"] = content
70
+ if path is not UNSET:
71
+ field_dict["path"] = path
72
+ if script_hash is not UNSET:
73
+ field_dict["script_hash"] = script_hash
74
+ if language is not UNSET:
75
+ field_dict["language"] = language
76
+ if tag is not UNSET:
77
+ field_dict["tag"] = tag
78
+ if kind is not UNSET:
79
+ field_dict["kind"] = kind
80
+ if dedicated_worker is not UNSET:
81
+ field_dict["dedicated_worker"] = dedicated_worker
82
+ if lock is not UNSET:
83
+ field_dict["lock"] = lock
84
+
85
+ return field_dict
86
+
87
+ @classmethod
88
+ def from_dict(cls: Type[T], src_dict: Dict[str, Any]) -> T:
89
+ from ..models.run_script_preview_and_wait_result_json_body_args import RunScriptPreviewAndWaitResultJsonBodyArgs
90
+
91
+ d = src_dict.copy()
92
+ args = RunScriptPreviewAndWaitResultJsonBodyArgs.from_dict(d.pop("args"))
93
+
94
+ content = d.pop("content", UNSET)
95
+
96
+ path = d.pop("path", UNSET)
97
+
98
+ script_hash = d.pop("script_hash", UNSET)
99
+
100
+ _language = d.pop("language", UNSET)
101
+ language: Union[Unset, RunScriptPreviewAndWaitResultJsonBodyLanguage]
102
+ if isinstance(_language, Unset):
103
+ language = UNSET
104
+ else:
105
+ language = RunScriptPreviewAndWaitResultJsonBodyLanguage(_language)
106
+
107
+ tag = d.pop("tag", UNSET)
108
+
109
+ _kind = d.pop("kind", UNSET)
110
+ kind: Union[Unset, RunScriptPreviewAndWaitResultJsonBodyKind]
111
+ if isinstance(_kind, Unset):
112
+ kind = UNSET
113
+ else:
114
+ kind = RunScriptPreviewAndWaitResultJsonBodyKind(_kind)
115
+
116
+ dedicated_worker = d.pop("dedicated_worker", UNSET)
117
+
118
+ lock = d.pop("lock", UNSET)
119
+
120
+ run_script_preview_and_wait_result_json_body = cls(
121
+ args=args,
122
+ content=content,
123
+ path=path,
124
+ script_hash=script_hash,
125
+ language=language,
126
+ tag=tag,
127
+ kind=kind,
128
+ dedicated_worker=dedicated_worker,
129
+ lock=lock,
130
+ )
131
+
132
+ run_script_preview_and_wait_result_json_body.additional_properties = d
133
+ return run_script_preview_and_wait_result_json_body
134
+
135
+ @property
136
+ def additional_keys(self) -> List[str]:
137
+ return list(self.additional_properties.keys())
138
+
139
+ def __getitem__(self, key: str) -> Any:
140
+ return self.additional_properties[key]
141
+
142
+ def __setitem__(self, key: str, value: Any) -> None:
143
+ self.additional_properties[key] = value
144
+
145
+ def __delitem__(self, key: str) -> None:
146
+ del self.additional_properties[key]
147
+
148
+ def __contains__(self, key: str) -> bool:
149
+ return key in self.additional_properties