rapidata 2.35.1__py3-none-any.whl → 3.0.0a8__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 rapidata might be problematic. Click here for more details.

Files changed (790) hide show
  1. rapidata/__init__.py +25 -16
  2. rapidata/api_client/__init__.py +84 -408
  3. rapidata/api_client/api/__init__.py +6 -2
  4. rapidata/api_client/api/asset_api.py +853 -0
  5. rapidata/api_client/api/audience_api.py +2505 -0
  6. rapidata/api_client/api/benchmark_api.py +904 -245
  7. rapidata/api_client/api/campaign_api.py +582 -24
  8. rapidata/api_client/api/client_api.py +38 -33
  9. rapidata/api_client/api/compare_workflow_api.py +11 -10
  10. rapidata/api_client/api/customer_rapid_api.py +364 -123
  11. rapidata/api_client/api/datapoint_api.py +8 -6
  12. rapidata/api_client/api/dataset_api.py +240 -1516
  13. rapidata/api_client/api/evaluation_workflow_api.py +29 -82
  14. rapidata/api_client/api/feedback_api.py +11 -11
  15. rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
  16. rapidata/api_client/api/identity_api.py +26 -300
  17. rapidata/api_client/api/job_api.py +3902 -0
  18. rapidata/api_client/api/job_definition_api.py +319 -0
  19. rapidata/api_client/api/job_revision_api.py +335 -0
  20. rapidata/api_client/api/leaderboard_api.py +140 -2067
  21. rapidata/api_client/api/newsletter_api.py +20 -19
  22. rapidata/api_client/api/order_api.py +375 -91
  23. rapidata/api_client/api/participant_api.py +80 -118
  24. rapidata/api_client/api/pipeline_api.py +24 -1480
  25. rapidata/api_client/api/prompt_api.py +11 -11
  26. rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
  27. rapidata/api_client/api/sample_api.py +300 -0
  28. rapidata/api_client/api/simple_workflow_api.py +11 -10
  29. rapidata/api_client/api/survey_api.py +304 -0
  30. rapidata/api_client/api/user_rapid_api.py +35 -31
  31. rapidata/api_client/api/validation_set_api.py +377 -1835
  32. rapidata/api_client/api/workflow_api.py +32 -26
  33. rapidata/api_client/api_client.py +2 -2
  34. rapidata/api_client/configuration.py +16 -29
  35. rapidata/api_client/exceptions.py +2 -2
  36. rapidata/api_client/models/__init__.py +65 -382
  37. rapidata/api_client/models/ab_test_selection_a_inner.py +1 -1
  38. rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
  39. rapidata/api_client/models/add_user_response_result.py +10 -5
  40. rapidata/api_client/models/add_validation_rapid_model.py +49 -26
  41. rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
  42. rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
  43. rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
  44. rapidata/api_client/models/add_validation_rapid_model_truth.py +7 -1
  45. rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
  46. rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
  47. rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
  48. rapidata/api_client/models/age_user_filter_model.py +2 -2
  49. rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
  50. rapidata/api_client/models/aggregated_orders_model.py +98 -0
  51. rapidata/api_client/models/aggregator_type.py +4 -2
  52. rapidata/api_client/models/and_filter.py +121 -0
  53. rapidata/api_client/models/and_filter_filters_inner.py +282 -0
  54. rapidata/api_client/models/are_rapids_active_result.py +2 -2
  55. rapidata/api_client/models/asset_metadata.py +11 -9
  56. rapidata/api_client/models/asset_type.py +40 -0
  57. rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
  58. rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
  59. rapidata/api_client/models/audience_job_state.py +38 -0
  60. rapidata/api_client/models/audience_status.py +39 -0
  61. rapidata/api_client/models/benchmark_query_result.py +5 -3
  62. rapidata/api_client/models/boost_leaderboard_model.py +5 -5
  63. rapidata/api_client/models/boost_mode.py +37 -0
  64. rapidata/api_client/models/boost_query_result.py +7 -10
  65. rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
  66. rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
  67. rapidata/api_client/models/boosting_profile.py +91 -0
  68. rapidata/api_client/models/box_shape.py +4 -33
  69. rapidata/api_client/models/campaign_filter.py +98 -0
  70. rapidata/api_client/models/campaign_query_result.py +15 -13
  71. rapidata/api_client/models/campaign_status.py +2 -2
  72. rapidata/api_client/models/change_boost_model.py +89 -0
  73. rapidata/api_client/models/classification_metadata.py +12 -1
  74. rapidata/api_client/models/classify_payload.py +14 -15
  75. rapidata/api_client/models/classify_payload_category.py +89 -0
  76. rapidata/api_client/models/client_model.py +25 -35
  77. rapidata/api_client/models/clients_query_result.py +5 -5
  78. rapidata/api_client/models/clone_order_model.py +4 -4
  79. rapidata/api_client/models/clone_order_result.py +9 -4
  80. rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
  81. rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
  82. rapidata/api_client/models/compare_workflow_config.py +34 -23
  83. rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
  84. rapidata/api_client/models/compare_workflow_config_model.py +15 -5
  85. rapidata/api_client/models/compare_workflow_model.py +34 -6
  86. rapidata/api_client/models/compare_workflow_model1.py +20 -9
  87. rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
  88. rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
  89. rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
  90. rapidata/api_client/models/comparison_operator.py +2 -2
  91. rapidata/api_client/models/conditional_validation_selection.py +6 -11
  92. rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
  93. rapidata/api_client/models/confidence_interval.py +89 -0
  94. rapidata/api_client/models/count_metadata.py +12 -1
  95. rapidata/api_client/models/country_filter.py +98 -0
  96. rapidata/api_client/models/create_audience_request.py +122 -0
  97. rapidata/api_client/models/create_audience_result.py +87 -0
  98. rapidata/api_client/models/create_benchmark_model.py +5 -5
  99. rapidata/api_client/models/create_benchmark_participant_model.py +5 -5
  100. rapidata/api_client/models/create_benchmark_participant_result.py +4 -4
  101. rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
  102. rapidata/api_client/models/create_benchmark_result.py +2 -2
  103. rapidata/api_client/models/create_bridge_token_result.py +2 -2
  104. rapidata/api_client/models/create_client_model.py +6 -13
  105. rapidata/api_client/models/create_complex_order_model.py +9 -9
  106. rapidata/api_client/models/create_complex_order_result.py +2 -2
  107. rapidata/api_client/models/create_customer_client_result.py +2 -2
  108. rapidata/api_client/models/create_datapoint_from_files_model.py +3 -3
  109. rapidata/api_client/models/create_datapoint_from_text_sources_model.py +3 -3
  110. rapidata/api_client/models/create_datapoint_from_urls_model.py +3 -3
  111. rapidata/api_client/models/create_datapoint_model.py +124 -0
  112. rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
  113. rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
  114. rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
  115. rapidata/api_client/models/create_datapoint_result.py +2 -2
  116. rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
  117. rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
  118. rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
  119. rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
  120. rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
  121. rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
  122. rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
  123. rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
  124. rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
  125. rapidata/api_client/models/create_job_endpoint_input.py +100 -0
  126. rapidata/api_client/models/create_job_endpoint_output.py +89 -0
  127. rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
  128. rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
  129. rapidata/api_client/models/create_leaderboard_model.py +42 -15
  130. rapidata/api_client/models/create_leaderboard_result.py +2 -2
  131. rapidata/api_client/models/create_order_definition_model.py +119 -0
  132. rapidata/api_client/models/create_order_definition_result.py +87 -0
  133. rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
  134. rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
  135. rapidata/api_client/models/create_order_model.py +30 -101
  136. rapidata/api_client/models/create_order_model_referee.py +12 -12
  137. rapidata/api_client/models/create_order_model_workflow.py +35 -21
  138. rapidata/api_client/models/create_order_result.py +2 -2
  139. rapidata/api_client/models/create_rapid_result.py +2 -2
  140. rapidata/api_client/models/create_sample_model.py +13 -7
  141. rapidata/api_client/models/create_sample_model_asset.py +154 -0
  142. rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
  143. rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
  144. rapidata/api_client/models/create_unsupported_order_model.py +6 -6
  145. rapidata/api_client/models/create_validation_set_model.py +5 -5
  146. rapidata/api_client/models/datapoint_model.py +3 -3
  147. rapidata/api_client/models/datapoint_state.py +2 -2
  148. rapidata/api_client/models/definition_type.py +49 -0
  149. rapidata/api_client/models/demographic_filter.py +100 -0
  150. rapidata/api_client/models/dynamic_client_registration_request.py +21 -36
  151. rapidata/api_client/models/early_stopping_referee_model.py +3 -3
  152. rapidata/api_client/models/effort_capped_selection.py +2 -11
  153. rapidata/api_client/models/elo_config.py +2 -2
  154. rapidata/api_client/models/elo_config_model.py +6 -6
  155. rapidata/api_client/models/entity_tag_header_value.py +93 -0
  156. rapidata/api_client/models/evaluation_workflow_config.py +13 -3
  157. rapidata/api_client/models/evaluation_workflow_model.py +16 -6
  158. rapidata/api_client/models/existing_asset_input.py +109 -0
  159. rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
  160. rapidata/api_client/models/feature_flag.py +2 -2
  161. rapidata/api_client/models/feature_flag_model.py +6 -6
  162. rapidata/api_client/models/feedback_model.py +7 -7
  163. rapidata/api_client/models/file_asset.py +3 -5
  164. rapidata/api_client/models/file_asset_input_file.py +8 -22
  165. rapidata/api_client/models/file_asset_metadata_value.py +252 -0
  166. rapidata/api_client/models/file_asset_model_metadata_value.py +18 -88
  167. rapidata/api_client/models/file_stream_result.py +122 -0
  168. rapidata/api_client/models/file_type.py +2 -2
  169. rapidata/api_client/models/file_type_metadata.py +11 -6
  170. rapidata/api_client/models/file_type_metadata_model.py +2 -8
  171. rapidata/api_client/models/filter.py +7 -25
  172. rapidata/api_client/models/filter_operator.py +2 -2
  173. rapidata/api_client/models/fork_benchmark_result.py +87 -0
  174. rapidata/api_client/models/form_file_wrapper.py +17 -2
  175. rapidata/api_client/models/free_text_payload.py +10 -3
  176. rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
  177. rapidata/api_client/models/gender_user_filter_model.py +2 -2
  178. rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
  179. rapidata/api_client/models/get_asset_metadata_result.py +100 -0
  180. rapidata/api_client/models/get_audience_by_id_result.py +118 -0
  181. rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
  182. rapidata/api_client/models/get_benchmark_by_id_result.py +8 -4
  183. rapidata/api_client/models/get_boost_result.py +97 -0
  184. rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
  185. rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
  186. rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
  187. rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
  188. rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
  189. rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
  190. rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
  191. rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
  192. rapidata/api_client/models/get_dataset_progress_result.py +2 -2
  193. rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
  194. rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
  195. rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
  196. rapidata/api_client/models/get_file_metadata_result.py +100 -0
  197. rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
  198. rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
  199. rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
  200. rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
  201. rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
  202. rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
  203. rapidata/api_client/models/get_leaderboard_by_id_result.py +31 -4
  204. rapidata/api_client/models/get_order_by_id_result.py +12 -5
  205. rapidata/api_client/models/get_participant_by_id_result.py +4 -6
  206. rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
  207. rapidata/api_client/models/get_public_orders_result.py +2 -2
  208. rapidata/api_client/models/get_public_responses_result.py +95 -0
  209. rapidata/api_client/models/get_public_responses_result_response.py +112 -0
  210. rapidata/api_client/models/get_rapid_responses_result.py +6 -12
  211. rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
  212. rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
  213. rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
  214. rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
  215. rapidata/api_client/models/get_responses_result.py +5 -5
  216. rapidata/api_client/models/get_responses_result_response.py +103 -0
  217. rapidata/api_client/models/get_sample_by_id_result.py +125 -0
  218. rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
  219. rapidata/api_client/models/get_standing_by_id_result.py +6 -14
  220. rapidata/api_client/models/get_validation_rapids_result.py +32 -41
  221. rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
  222. rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
  223. rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
  224. rapidata/api_client/models/get_workflow_progress_result.py +5 -11
  225. rapidata/api_client/models/get_workflow_results_result.py +34 -23
  226. rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
  227. rapidata/api_client/models/google_one_tap_login_model.py +4 -4
  228. rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
  229. rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
  230. rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
  231. rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
  232. rapidata/api_client/models/i_artifact_model.py +182 -0
  233. rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
  234. rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
  235. rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
  236. rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
  237. rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
  238. rapidata/api_client/models/i_asset.py +170 -0
  239. rapidata/api_client/models/i_asset_file_asset.py +111 -0
  240. rapidata/api_client/models/i_asset_input.py +156 -0
  241. rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
  242. rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
  243. rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
  244. rapidata/api_client/models/i_asset_model.py +170 -0
  245. rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
  246. rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
  247. rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
  248. rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
  249. rapidata/api_client/models/i_asset_multi_asset.py +121 -0
  250. rapidata/api_client/models/i_asset_null_asset.py +109 -0
  251. rapidata/api_client/models/i_asset_text_asset.py +111 -0
  252. rapidata/api_client/models/i_audience_filter.py +184 -0
  253. rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
  254. rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
  255. rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
  256. rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
  257. rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
  258. rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
  259. rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
  260. rapidata/api_client/models/i_campaign_filter.py +296 -0
  261. rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
  262. rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
  263. rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
  264. rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
  265. rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
  266. rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
  267. rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
  268. rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
  269. rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
  270. rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
  271. rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
  272. rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
  273. rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
  274. rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
  275. rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
  276. rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
  277. rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
  278. rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
  279. rapidata/api_client/models/i_dataset_model.py +126 -0
  280. rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
  281. rapidata/api_client/models/i_metadata.py +252 -0
  282. rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
  283. rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
  284. rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
  285. rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
  286. rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
  287. rapidata/api_client/models/i_metadata_input.py +126 -0
  288. rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
  289. rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
  290. rapidata/api_client/models/i_metadata_model.py +252 -0
  291. rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
  292. rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
  293. rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
  294. rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
  295. rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
  296. rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
  297. rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
  298. rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
  299. rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
  300. rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
  301. rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
  302. rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
  303. rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
  304. rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
  305. rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
  306. rapidata/api_client/models/i_order_workflow_model.py +168 -0
  307. rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
  308. rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
  309. rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
  310. rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
  311. rapidata/api_client/models/i_pair_maker_config.py +126 -0
  312. rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
  313. rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
  314. rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
  315. rapidata/api_client/models/i_pair_maker_information.py +126 -0
  316. rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
  317. rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
  318. rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
  319. rapidata/api_client/models/i_pipeline_model.py +126 -0
  320. rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
  321. rapidata/api_client/models/i_pipeline_step_model.py +168 -0
  322. rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
  323. rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
  324. rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
  325. rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
  326. rapidata/api_client/models/i_rapid_blueprint.py +252 -0
  327. rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
  328. rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
  329. rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
  330. rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
  331. rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
  332. rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
  333. rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
  334. rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
  335. rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
  336. rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
  337. rapidata/api_client/models/i_rapid_payload.py +252 -0
  338. rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
  339. rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
  340. rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
  341. rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
  342. rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
  343. rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
  344. rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
  345. rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
  346. rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
  347. rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
  348. rapidata/api_client/models/i_rapid_result.py +266 -0
  349. rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
  350. rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
  351. rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
  352. rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
  353. rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
  354. rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
  355. rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
  356. rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
  357. rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
  358. rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
  359. rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
  360. rapidata/api_client/models/i_referee_config.py +154 -0
  361. rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
  362. rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
  363. rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
  364. rapidata/api_client/models/i_referee_info.py +154 -0
  365. rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
  366. rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
  367. rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
  368. rapidata/api_client/models/i_referee_model.py +140 -0
  369. rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
  370. rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
  371. rapidata/api_client/models/i_selection.py +240 -0
  372. rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
  373. rapidata/api_client/models/i_selection_capped_selection.py +108 -0
  374. rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
  375. rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
  376. rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
  377. rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
  378. rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
  379. rapidata/api_client/models/i_selection_static_selection.py +96 -0
  380. rapidata/api_client/models/i_selection_validation_selection.py +98 -0
  381. rapidata/api_client/models/i_user_filter_model.py +296 -0
  382. rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
  383. rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
  384. rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
  385. rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
  386. rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
  387. rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
  388. rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
  389. rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
  390. rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
  391. rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
  392. rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
  393. rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
  394. rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
  395. rapidata/api_client/models/i_validation_metadata_input.py +140 -0
  396. rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
  397. rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
  398. rapidata/api_client/models/i_validation_truth.py +280 -0
  399. rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
  400. rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
  401. rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
  402. rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
  403. rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
  404. rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
  405. rapidata/api_client/models/i_validation_truth_model.py +294 -0
  406. rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
  407. rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
  408. rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
  409. rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
  410. rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
  411. rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
  412. rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
  413. rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
  414. rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
  415. rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
  416. rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
  417. rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
  418. rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
  419. rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
  420. rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
  421. rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
  422. rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
  423. rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
  424. rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
  425. rapidata/api_client/models/i_workflow_config.py +168 -0
  426. rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
  427. rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
  428. rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
  429. rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
  430. rapidata/api_client/models/i_workflow_model.py +168 -0
  431. rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
  432. rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
  433. rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
  434. rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
  435. rapidata/api_client/models/image_dimension_metadata.py +12 -1
  436. rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
  437. rapidata/api_client/models/inspect_report_result.py +2 -2
  438. rapidata/api_client/models/job_definition_revision_state.py +38 -0
  439. rapidata/api_client/models/json_web_key.py +2 -36
  440. rapidata/api_client/models/json_web_key_set.py +2 -22
  441. rapidata/api_client/models/labeling_selection.py +11 -13
  442. rapidata/api_client/models/language_filter.py +98 -0
  443. rapidata/api_client/models/leaderboard_query_result.py +29 -2
  444. rapidata/api_client/models/leaderboards_query_result.py +135 -0
  445. rapidata/api_client/models/line_result.py +3 -3
  446. rapidata/api_client/models/line_result_line.py +97 -0
  447. rapidata/api_client/models/line_result_line_point.py +89 -0
  448. rapidata/api_client/models/locate_coordinate.py +4 -13
  449. rapidata/api_client/models/location_metadata.py +12 -1
  450. rapidata/api_client/models/logic_operator.py +2 -2
  451. rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
  452. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
  453. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
  454. rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
  455. rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
  456. rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
  457. rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
  458. rapidata/api_client/models/multi_asset.py +6 -6
  459. rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
  460. rapidata/api_client/models/multi_asset_input.py +21 -1
  461. rapidata/api_client/models/multi_asset_input1_assets_inner.py +40 -12
  462. rapidata/api_client/models/multi_asset_input3_assets_inner.py +40 -12
  463. rapidata/api_client/models/multi_asset_input_assets_inner.py +16 -30
  464. rapidata/api_client/models/multi_asset_model.py +3 -3
  465. rapidata/api_client/models/naive_referee_model.py +2 -2
  466. rapidata/api_client/models/named_classification.py +4 -13
  467. rapidata/api_client/models/new_user_filter.py +96 -0
  468. rapidata/api_client/models/newsletter_model.py +6 -6
  469. rapidata/api_client/models/not_available_yet_result.py +4 -13
  470. rapidata/api_client/models/not_filter.py +117 -0
  471. rapidata/api_client/models/null_asset.py +3 -5
  472. rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
  473. rapidata/api_client/models/option_of_aggregator_type.py +49 -0
  474. rapidata/api_client/models/or_filter.py +121 -0
  475. rapidata/api_client/models/order_model.py +15 -14
  476. rapidata/api_client/models/order_state.py +2 -2
  477. rapidata/api_client/models/original_filename_metadata.py +12 -1
  478. rapidata/api_client/models/page_info.py +2 -7
  479. rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
  480. rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
  481. rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
  482. rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
  483. rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
  484. rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
  485. rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
  486. rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
  487. rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
  488. rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
  489. rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
  490. rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
  491. rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
  492. rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
  493. rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
  494. rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
  495. rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
  496. rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
  497. rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
  498. rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
  499. rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
  500. rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
  501. rapidata/api_client/models/paged_result_of_order_model.py +103 -0
  502. rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
  503. rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
  504. rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
  505. rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
  506. rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
  507. rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
  508. rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
  509. rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
  510. rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
  511. rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
  512. rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
  513. rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
  514. rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
  515. rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
  516. rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
  517. rapidata/api_client/models/paged_result_order_model.py +105 -0
  518. rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
  519. rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
  520. rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
  521. rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
  522. rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
  523. rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
  524. rapidata/api_client/models/paged_result_rapid_model.py +105 -0
  525. rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
  526. rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
  527. rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
  528. rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
  529. rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
  530. rapidata/api_client/models/participant_by_benchmark.py +6 -14
  531. rapidata/api_client/models/participant_status.py +2 -2
  532. rapidata/api_client/models/polygon_result.py +3 -3
  533. rapidata/api_client/models/polygon_result_coordinate.py +89 -0
  534. rapidata/api_client/models/polygon_result_shape.py +95 -0
  535. rapidata/api_client/models/preliminary_download_model.py +5 -5
  536. rapidata/api_client/models/preview_order_model.py +5 -5
  537. rapidata/api_client/models/problem_details.py +2 -20
  538. rapidata/api_client/models/prompt_asset_metadata_input.py +4 -6
  539. rapidata/api_client/models/prompt_asset_metadata_input_asset.py +25 -41
  540. rapidata/api_client/models/prompt_by_benchmark_result.py +5 -5
  541. rapidata/api_client/models/prompt_metadata.py +12 -1
  542. rapidata/api_client/models/prompt_metadata_input.py +5 -7
  543. rapidata/api_client/models/prompt_type.py +38 -0
  544. rapidata/api_client/models/proxy_file_wrapper.py +17 -2
  545. rapidata/api_client/models/public_order_model.py +2 -2
  546. rapidata/api_client/models/public_rapid_response.py +112 -0
  547. rapidata/api_client/models/query_audiences_result.py +118 -0
  548. rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
  549. rapidata/api_client/models/query_job_definitions_result.py +97 -0
  550. rapidata/api_client/models/query_job_revisions_result.py +95 -0
  551. rapidata/api_client/models/query_jobs_result.py +103 -0
  552. rapidata/api_client/models/query_model.py +10 -5
  553. rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
  554. rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
  555. rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
  556. rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
  557. rapidata/api_client/models/rapid_issue.py +2 -2
  558. rapidata/api_client/models/rapid_modality.py +46 -0
  559. rapidata/api_client/models/rapid_model.py +33 -49
  560. rapidata/api_client/models/rapid_result_model.py +7 -7
  561. rapidata/api_client/models/rapid_skipped_model.py +5 -5
  562. rapidata/api_client/models/rapid_state.py +2 -2
  563. rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
  564. rapidata/api_client/models/reference_asset_input.py +100 -0
  565. rapidata/api_client/models/report_model.py +9 -15
  566. rapidata/api_client/models/response_count_filter.py +103 -0
  567. rapidata/api_client/models/response_count_user_filter_model.py +2 -8
  568. rapidata/api_client/models/retrieval_mode.py +2 -2
  569. rapidata/api_client/models/root_filter.py +5 -14
  570. rapidata/api_client/models/run_status.py +2 -2
  571. rapidata/api_client/models/runs_by_leaderboard_result.py +6 -12
  572. rapidata/api_client/models/sample_by_identifier.py +125 -0
  573. rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
  574. rapidata/api_client/models/sample_by_participant.py +7 -8
  575. rapidata/api_client/models/scrub_range.py +2 -2
  576. rapidata/api_client/models/send_survey_model.py +87 -0
  577. rapidata/api_client/models/simple_workflow_config.py +15 -5
  578. rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
  579. rapidata/api_client/models/simple_workflow_config_model.py +11 -3
  580. rapidata/api_client/models/simple_workflow_model.py +14 -4
  581. rapidata/api_client/models/simple_workflow_model1.py +4 -11
  582. rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
  583. rapidata/api_client/models/sort_criterion.py +5 -11
  584. rapidata/api_client/models/sort_direction.py +2 -2
  585. rapidata/api_client/models/source_url_metadata.py +12 -1
  586. rapidata/api_client/models/standing_by_benchmark.py +113 -0
  587. rapidata/api_client/models/standing_by_leaderboard.py +19 -21
  588. rapidata/api_client/models/standing_status.py +2 -2
  589. rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
  590. rapidata/api_client/models/standings_by_leaderboard_result.py +2 -2
  591. rapidata/api_client/models/start_preliminary_download_result.py +87 -0
  592. rapidata/api_client/models/sticky_state.py +3 -2
  593. rapidata/api_client/models/stream_file_wrapper.py +25 -3
  594. rapidata/api_client/models/streams_metadata.py +12 -1
  595. rapidata/api_client/models/string_segment.py +105 -0
  596. rapidata/api_client/models/submit_order_model.py +5 -5
  597. rapidata/api_client/models/submit_participant_result.py +2 -2
  598. rapidata/api_client/models/submit_prompt_model.py +9 -14
  599. rapidata/api_client/models/submit_prompt_model_prompt_asset.py +40 -12
  600. rapidata/api_client/models/tags_by_benchmark_result.py +2 -2
  601. rapidata/api_client/models/text_asset.py +3 -5
  602. rapidata/api_client/models/text_asset_input.py +21 -1
  603. rapidata/api_client/models/text_metadata.py +18 -2
  604. rapidata/api_client/models/text_metadata_input.py +111 -0
  605. rapidata/api_client/models/text_metadata_model.py +7 -2
  606. rapidata/api_client/models/transcription_metadata.py +9 -1
  607. rapidata/api_client/models/transcription_metadata_input.py +5 -7
  608. rapidata/api_client/models/transcription_word.py +2 -2
  609. rapidata/api_client/models/translated_string.py +2 -2
  610. rapidata/api_client/models/unlock_order_result.py +2 -2
  611. rapidata/api_client/models/update_audience_request.py +113 -0
  612. rapidata/api_client/models/update_benchmark_model.py +99 -0
  613. rapidata/api_client/models/update_benchmark_name_model.py +5 -5
  614. rapidata/api_client/models/update_campaign_model.py +11 -11
  615. rapidata/api_client/models/update_dataset_name_model.py +5 -5
  616. rapidata/api_client/models/update_dimensions_model.py +3 -3
  617. rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
  618. rapidata/api_client/models/update_leaderboard_model.py +106 -0
  619. rapidata/api_client/models/update_leaderboard_name_model.py +5 -5
  620. rapidata/api_client/models/update_leaderboard_response_config_model.py +5 -5
  621. rapidata/api_client/models/update_order_name_model.py +5 -5
  622. rapidata/api_client/models/update_participant_model.py +92 -0
  623. rapidata/api_client/models/update_participant_name_model.py +5 -5
  624. rapidata/api_client/models/update_priority_model.py +87 -0
  625. rapidata/api_client/models/update_prompt_tags_model.py +5 -5
  626. rapidata/api_client/models/update_should_alert_model.py +4 -4
  627. rapidata/api_client/models/update_validation_rapid_model.py +35 -14
  628. rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
  629. rapidata/api_client/models/update_validation_set_model.py +120 -0
  630. rapidata/api_client/models/upload_asset_result.py +102 -0
  631. rapidata/api_client/models/upload_file_from_url_result.py +87 -0
  632. rapidata/api_client/models/upload_file_result.py +87 -0
  633. rapidata/api_client/models/user_action_restriction.py +37 -0
  634. rapidata/api_client/models/user_action_restriction_filter.py +101 -0
  635. rapidata/api_client/models/user_score_filter.py +102 -0
  636. rapidata/api_client/models/user_state.py +38 -0
  637. rapidata/api_client/models/user_state_filter.py +101 -0
  638. rapidata/api_client/models/validation_chance.py +20 -3
  639. rapidata/api_client/models/validation_problem_details.py +117 -0
  640. rapidata/api_client/models/validation_set_model.py +39 -5
  641. rapidata/api_client/models/validation_set_overview_model.py +2 -2
  642. rapidata/api_client/models/video_duration_metadata.py +12 -1
  643. rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
  644. rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
  645. rapidata/api_client/models/workflow_state.py +2 -2
  646. rapidata/api_client/models/zip_entry_file_wrapper.py +33 -2
  647. rapidata/api_client/rest.py +2 -2
  648. rapidata/api_client_README.md +384 -318
  649. rapidata/rapidata_client/__init__.py +17 -22
  650. rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
  651. rapidata/rapidata_client/audience/__init__.py +2 -0
  652. rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
  653. rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
  654. rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
  655. rapidata/rapidata_client/benchmark/_detail_mapper.py +11 -9
  656. rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +98 -54
  657. rapidata/rapidata_client/benchmark/participant/_participant.py +90 -46
  658. rapidata/rapidata_client/benchmark/rapidata_benchmark.py +388 -225
  659. rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +172 -65
  660. rapidata/rapidata_client/config/__init__.py +4 -0
  661. rapidata/rapidata_client/config/logger.py +135 -0
  662. rapidata/rapidata_client/config/logging_config.py +55 -0
  663. rapidata/rapidata_client/config/managed_print.py +6 -0
  664. rapidata/rapidata_client/config/order_config.py +14 -0
  665. rapidata/rapidata_client/config/rapidata_config.py +36 -0
  666. rapidata/rapidata_client/config/tracer.py +184 -0
  667. rapidata/rapidata_client/config/upload_config.py +64 -0
  668. rapidata/rapidata_client/datapoints/__init__.py +8 -3
  669. rapidata/rapidata_client/datapoints/_asset_uploader.py +184 -0
  670. rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
  671. rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
  672. rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
  673. rapidata/rapidata_client/datapoints/assets/__init__.py +0 -10
  674. rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
  675. rapidata/rapidata_client/datapoints/metadata/__init__.py +0 -2
  676. rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +5 -6
  677. rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +4 -5
  678. rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +5 -6
  679. rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +3 -4
  680. rapidata/rapidata_client/dataset/__init__.py +1 -0
  681. rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
  682. rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
  683. rapidata/rapidata_client/exceptions/failed_upload_exception.py +15 -41
  684. rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
  685. rapidata/rapidata_client/filter/_base_filter.py +13 -8
  686. rapidata/rapidata_client/filter/age_filter.py +26 -10
  687. rapidata/rapidata_client/filter/and_filter.py +36 -11
  688. rapidata/rapidata_client/filter/campaign_filter.py +21 -10
  689. rapidata/rapidata_client/filter/country_filter.py +46 -12
  690. rapidata/rapidata_client/filter/custom_filter.py +25 -12
  691. rapidata/rapidata_client/filter/gender_filter.py +25 -10
  692. rapidata/rapidata_client/filter/language_filter.py +51 -21
  693. rapidata/rapidata_client/filter/models/age_group.py +14 -12
  694. rapidata/rapidata_client/filter/models/gender.py +12 -8
  695. rapidata/rapidata_client/filter/new_user_filter.py +14 -4
  696. rapidata/rapidata_client/filter/not_filter.py +35 -11
  697. rapidata/rapidata_client/filter/or_filter.py +36 -11
  698. rapidata/rapidata_client/filter/rapidata_filters.py +17 -23
  699. rapidata/rapidata_client/filter/response_count_filter.py +51 -20
  700. rapidata/rapidata_client/filter/user_score_filter.py +62 -24
  701. rapidata/rapidata_client/job/__init__.py +3 -0
  702. rapidata/rapidata_client/job/job_definition.py +110 -0
  703. rapidata/rapidata_client/job/job_manager.py +758 -0
  704. rapidata/rapidata_client/job/rapidata_job.py +326 -0
  705. rapidata/rapidata_client/order/__init__.py +2 -0
  706. rapidata/rapidata_client/order/_rapidata_order_builder.py +273 -122
  707. rapidata/rapidata_client/order/rapidata_order.py +316 -160
  708. rapidata/rapidata_client/order/rapidata_order_manager.py +680 -421
  709. rapidata/rapidata_client/rapidata_client.py +115 -37
  710. rapidata/rapidata_client/referee/__init__.py +1 -1
  711. rapidata/rapidata_client/referee/_base_referee.py +14 -3
  712. rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
  713. rapidata/rapidata_client/referee/_naive_referee.py +24 -3
  714. rapidata/rapidata_client/results/__init__.py +3 -0
  715. rapidata/rapidata_client/{order → results}/rapidata_results.py +86 -63
  716. rapidata/rapidata_client/selection/__init__.py +1 -1
  717. rapidata/rapidata_client/selection/_base_selection.py +9 -2
  718. rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
  719. rapidata/rapidata_client/selection/capped_selection.py +23 -16
  720. rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
  721. rapidata/rapidata_client/selection/demographic_selection.py +21 -6
  722. rapidata/rapidata_client/selection/effort_selection.py +31 -8
  723. rapidata/rapidata_client/selection/labeling_selection.py +34 -11
  724. rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +7 -4
  725. rapidata/rapidata_client/selection/rapidata_selections.py +23 -14
  726. rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
  727. rapidata/rapidata_client/selection/static_selection.py +19 -8
  728. rapidata/rapidata_client/selection/validation_selection.py +20 -4
  729. rapidata/rapidata_client/settings/__init__.py +2 -0
  730. rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
  731. rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
  732. rapidata/rapidata_client/settings/allow_neither_both.py +3 -0
  733. rapidata/rapidata_client/settings/custom_setting.py +3 -2
  734. rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
  735. rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
  736. rapidata/rapidata_client/settings/mute_video.py +15 -0
  737. rapidata/rapidata_client/settings/no_shuffle.py +4 -2
  738. rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
  739. rapidata/rapidata_client/settings/rapidata_settings.py +22 -9
  740. rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
  741. rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
  742. rapidata/rapidata_client/utils/__init__.py +3 -0
  743. rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
  744. rapidata/rapidata_client/validation/__init__.py +2 -0
  745. rapidata/rapidata_client/validation/rapidata_validation_set.py +96 -18
  746. rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
  747. rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
  748. rapidata/rapidata_client/validation/rapids/box.py +37 -12
  749. rapidata/rapidata_client/validation/rapids/rapids.py +29 -83
  750. rapidata/rapidata_client/validation/rapids/rapids_manager.py +369 -211
  751. rapidata/rapidata_client/validation/validation_set_manager.py +505 -276
  752. rapidata/rapidata_client/workflow/__init__.py +2 -2
  753. rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
  754. rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
  755. rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
  756. rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
  757. rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
  758. rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
  759. rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
  760. rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
  761. rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
  762. rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
  763. rapidata/service/__init__.py +0 -1
  764. rapidata/service/credential_manager.py +14 -14
  765. rapidata/service/openapi_service.py +119 -34
  766. rapidata/types/__init__.py +149 -0
  767. rapidata-3.0.0a8.dist-info/METADATA +32 -0
  768. rapidata-3.0.0a8.dist-info/RECORD +1083 -0
  769. {rapidata-2.35.1.dist-info → rapidata-3.0.0a8.dist-info}/WHEEL +1 -1
  770. rapidata/rapidata_client/api/rapidata_exception.py +0 -107
  771. rapidata/rapidata_client/country_codes/__init__.py +0 -1
  772. rapidata/rapidata_client/country_codes/country_codes.py +0 -19
  773. rapidata/rapidata_client/datapoints/assets/_base_asset.py +0 -11
  774. rapidata/rapidata_client/datapoints/assets/_media_asset.py +0 -306
  775. rapidata/rapidata_client/datapoints/assets/_multi_asset.py +0 -61
  776. rapidata/rapidata_client/datapoints/assets/_sessions.py +0 -35
  777. rapidata/rapidata_client/datapoints/assets/_text_asset.py +0 -34
  778. rapidata/rapidata_client/datapoints/assets/data_type_enum.py +0 -8
  779. rapidata/rapidata_client/datapoints/datapoint.py +0 -108
  780. rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +0 -22
  781. rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +0 -18
  782. rapidata/rapidata_client/logging/__init__.py +0 -2
  783. rapidata/rapidata_client/logging/logger.py +0 -122
  784. rapidata/rapidata_client/logging/output_manager.py +0 -20
  785. rapidata/rapidata_client/order/_rapidata_dataset.py +0 -396
  786. rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -47
  787. rapidata/service/local_file_service.py +0 -25
  788. rapidata-2.35.1.dist-info/METADATA +0 -35
  789. rapidata-2.35.1.dist-info/RECORD +0 -657
  790. {rapidata-2.35.1.dist-info → rapidata-3.0.0a8.dist-info/licenses}/LICENSE +0 -0
@@ -1,9 +1,9 @@
1
1
  # coding: utf-8
2
2
 
3
3
  """
4
- Rapidata.Dataset
4
+ Rapidata Asset API
5
5
 
6
- No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ The API for the Rapidata Asset service
7
7
 
8
8
  The version of the OpenAPI document: v1
9
9
  Generated by OpenAPI Generator (https://openapi-generator.tech)
@@ -17,15 +17,11 @@ from typing import Any, Dict, List, Optional, Tuple, Union
17
17
  from typing_extensions import Annotated
18
18
 
19
19
  from pydantic import Field, StrictBytes, StrictStr
20
- from typing import Optional, Tuple, Union
20
+ from typing import Tuple, Union
21
21
  from typing_extensions import Annotated
22
- from rapidata.api_client.models.add_campaign_artifact_result import AddCampaignArtifactResult
23
- from rapidata.api_client.models.add_campaign_model import AddCampaignModel
24
22
  from rapidata.api_client.models.get_pipeline_by_id_result import GetPipelineByIdResult
25
- from rapidata.api_client.models.pipeline_id_workflow_config_put_request import PipelineIdWorkflowConfigPutRequest
26
23
  from rapidata.api_client.models.preliminary_download_model import PreliminaryDownloadModel
27
- from rapidata.api_client.models.preliminary_download_result import PreliminaryDownloadResult
28
- from rapidata.api_client.models.update_campaign_model import UpdateCampaignModel
24
+ from rapidata.api_client.models.start_preliminary_download_result import StartPreliminaryDownloadResult
29
25
 
30
26
  from rapidata.api_client.api_client import ApiClient, RequestSerialized
31
27
  from rapidata.api_client.api_response import ApiResponse
@@ -45,1461 +41,6 @@ class PipelineApi:
45
41
  self.api_client = api_client
46
42
 
47
43
 
48
- @validate_call
49
- def pipeline_id_workflow_config_artifact_id_put(
50
- self,
51
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
52
- artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
53
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
54
- _request_timeout: Union[
55
- None,
56
- Annotated[StrictFloat, Field(gt=0)],
57
- Tuple[
58
- Annotated[StrictFloat, Field(gt=0)],
59
- Annotated[StrictFloat, Field(gt=0)]
60
- ]
61
- ] = None,
62
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
63
- _content_type: Optional[StrictStr] = None,
64
- _headers: Optional[Dict[StrictStr, Any]] = None,
65
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
66
- ) -> None:
67
- """Updates the workflow configuration for a pipeline.
68
-
69
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
70
-
71
- :param id: The id of the pipeline to update. (required)
72
- :type id: str
73
- :param artifact_id: The id of the workflow config artifact to update. (required)
74
- :type artifact_id: str
75
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
76
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
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._pipeline_id_workflow_config_artifact_id_put_serialize(
100
- id=id,
101
- artifact_id=artifact_id,
102
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
103
- _request_auth=_request_auth,
104
- _content_type=_content_type,
105
- _headers=_headers,
106
- _host_index=_host_index
107
- )
108
-
109
- _response_types_map: Dict[str, Optional[str]] = {
110
- '204': None,
111
- }
112
- response_data = self.api_client.call_api(
113
- *_param,
114
- _request_timeout=_request_timeout
115
- )
116
- response_data.read()
117
- return self.api_client.response_deserialize(
118
- response_data=response_data,
119
- response_types_map=_response_types_map,
120
- ).data
121
-
122
-
123
- @validate_call
124
- def pipeline_id_workflow_config_artifact_id_put_with_http_info(
125
- self,
126
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
127
- artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
128
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
129
- _request_timeout: Union[
130
- None,
131
- Annotated[StrictFloat, Field(gt=0)],
132
- Tuple[
133
- Annotated[StrictFloat, Field(gt=0)],
134
- Annotated[StrictFloat, Field(gt=0)]
135
- ]
136
- ] = None,
137
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
138
- _content_type: Optional[StrictStr] = None,
139
- _headers: Optional[Dict[StrictStr, Any]] = None,
140
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
141
- ) -> ApiResponse[None]:
142
- """Updates the workflow configuration for a pipeline.
143
-
144
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
145
-
146
- :param id: The id of the pipeline to update. (required)
147
- :type id: str
148
- :param artifact_id: The id of the workflow config artifact to update. (required)
149
- :type artifact_id: str
150
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
151
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
152
- :param _request_timeout: timeout setting for this request. If one
153
- number provided, it will be total request
154
- timeout. It can also be a pair (tuple) of
155
- (connection, read) timeouts.
156
- :type _request_timeout: int, tuple(int, int), optional
157
- :param _request_auth: set to override the auth_settings for an a single
158
- request; this effectively ignores the
159
- authentication in the spec for a single request.
160
- :type _request_auth: dict, optional
161
- :param _content_type: force content-type for the request.
162
- :type _content_type: str, Optional
163
- :param _headers: set to override the headers for a single
164
- request; this effectively ignores the headers
165
- in the spec for a single request.
166
- :type _headers: dict, optional
167
- :param _host_index: set to override the host_index for a single
168
- request; this effectively ignores the host_index
169
- in the spec for a single request.
170
- :type _host_index: int, optional
171
- :return: Returns the result object.
172
- """ # noqa: E501
173
-
174
- _param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
175
- id=id,
176
- artifact_id=artifact_id,
177
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
178
- _request_auth=_request_auth,
179
- _content_type=_content_type,
180
- _headers=_headers,
181
- _host_index=_host_index
182
- )
183
-
184
- _response_types_map: Dict[str, Optional[str]] = {
185
- '204': None,
186
- }
187
- response_data = self.api_client.call_api(
188
- *_param,
189
- _request_timeout=_request_timeout
190
- )
191
- response_data.read()
192
- return self.api_client.response_deserialize(
193
- response_data=response_data,
194
- response_types_map=_response_types_map,
195
- )
196
-
197
-
198
- @validate_call
199
- def pipeline_id_workflow_config_artifact_id_put_without_preload_content(
200
- self,
201
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
202
- artifact_id: Annotated[StrictStr, Field(description="The id of the workflow config artifact to update.")],
203
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = 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
- """Updates the workflow configuration for a pipeline.
218
-
219
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
220
-
221
- :param id: The id of the pipeline to update. (required)
222
- :type id: str
223
- :param artifact_id: The id of the workflow config artifact to update. (required)
224
- :type artifact_id: str
225
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
226
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
227
- :param _request_timeout: timeout setting for this request. If one
228
- number provided, it will be total request
229
- timeout. It can also be a pair (tuple) of
230
- (connection, read) timeouts.
231
- :type _request_timeout: int, tuple(int, int), optional
232
- :param _request_auth: set to override the auth_settings for an a single
233
- request; this effectively ignores the
234
- authentication in the spec for a single request.
235
- :type _request_auth: dict, optional
236
- :param _content_type: force content-type for the request.
237
- :type _content_type: str, Optional
238
- :param _headers: set to override the headers for a single
239
- request; this effectively ignores the headers
240
- in the spec for a single request.
241
- :type _headers: dict, optional
242
- :param _host_index: set to override the host_index for a single
243
- request; this effectively ignores the host_index
244
- in the spec for a single request.
245
- :type _host_index: int, optional
246
- :return: Returns the result object.
247
- """ # noqa: E501
248
-
249
- _param = self._pipeline_id_workflow_config_artifact_id_put_serialize(
250
- id=id,
251
- artifact_id=artifact_id,
252
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
253
- _request_auth=_request_auth,
254
- _content_type=_content_type,
255
- _headers=_headers,
256
- _host_index=_host_index
257
- )
258
-
259
- _response_types_map: Dict[str, Optional[str]] = {
260
- '204': None,
261
- }
262
- response_data = self.api_client.call_api(
263
- *_param,
264
- _request_timeout=_request_timeout
265
- )
266
- return response_data.response
267
-
268
-
269
- def _pipeline_id_workflow_config_artifact_id_put_serialize(
270
- self,
271
- id,
272
- artifact_id,
273
- pipeline_id_workflow_config_put_request,
274
- _request_auth,
275
- _content_type,
276
- _headers,
277
- _host_index,
278
- ) -> RequestSerialized:
279
-
280
- _host = None
281
-
282
- _collection_formats: Dict[str, str] = {
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[
290
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
291
- ] = {}
292
- _body_params: Optional[bytes] = None
293
-
294
- # process the path parameters
295
- if id is not None:
296
- _path_params['id'] = id
297
- if artifact_id is not None:
298
- _path_params['artifactId'] = artifact_id
299
- # process the query parameters
300
- # process the header parameters
301
- # process the form parameters
302
- # process the body parameter
303
- if pipeline_id_workflow_config_put_request is not None:
304
- _body_params = pipeline_id_workflow_config_put_request
305
-
306
-
307
-
308
- # set the HTTP header `Content-Type`
309
- if _content_type:
310
- _header_params['Content-Type'] = _content_type
311
- else:
312
- _default_content_type = (
313
- self.api_client.select_header_content_type(
314
- [
315
- 'application/json',
316
- 'text/json',
317
- 'application/*+json'
318
- ]
319
- )
320
- )
321
- if _default_content_type is not None:
322
- _header_params['Content-Type'] = _default_content_type
323
-
324
- # authentication setting
325
- _auth_settings: List[str] = [
326
- 'bearer',
327
- 'oauth2'
328
- ]
329
-
330
- return self.api_client.param_serialize(
331
- method='PUT',
332
- resource_path='/pipeline/{id}/workflow-config/{artifactId}',
333
- path_params=_path_params,
334
- query_params=_query_params,
335
- header_params=_header_params,
336
- body=_body_params,
337
- post_params=_form_params,
338
- files=_files,
339
- auth_settings=_auth_settings,
340
- collection_formats=_collection_formats,
341
- _host=_host,
342
- _request_auth=_request_auth
343
- )
344
-
345
-
346
-
347
-
348
- @validate_call
349
- def pipeline_id_workflow_config_put(
350
- self,
351
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
352
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
353
- _request_timeout: Union[
354
- None,
355
- Annotated[StrictFloat, Field(gt=0)],
356
- Tuple[
357
- Annotated[StrictFloat, Field(gt=0)],
358
- Annotated[StrictFloat, Field(gt=0)]
359
- ]
360
- ] = None,
361
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
362
- _content_type: Optional[StrictStr] = None,
363
- _headers: Optional[Dict[StrictStr, Any]] = None,
364
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
365
- ) -> None:
366
- """Updates the workflow configuration for a pipeline.
367
-
368
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
369
-
370
- :param id: The id of the pipeline to update. (required)
371
- :type id: str
372
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
373
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
374
- :param _request_timeout: timeout setting for this request. If one
375
- number provided, it will be total request
376
- timeout. It can also be a pair (tuple) of
377
- (connection, read) timeouts.
378
- :type _request_timeout: int, tuple(int, int), optional
379
- :param _request_auth: set to override the auth_settings for an a single
380
- request; this effectively ignores the
381
- authentication in the spec for a single request.
382
- :type _request_auth: dict, optional
383
- :param _content_type: force content-type for the request.
384
- :type _content_type: str, Optional
385
- :param _headers: set to override the headers for a single
386
- request; this effectively ignores the headers
387
- in the spec for a single request.
388
- :type _headers: dict, optional
389
- :param _host_index: set to override the host_index for a single
390
- request; this effectively ignores the host_index
391
- in the spec for a single request.
392
- :type _host_index: int, optional
393
- :return: Returns the result object.
394
- """ # noqa: E501
395
-
396
- _param = self._pipeline_id_workflow_config_put_serialize(
397
- id=id,
398
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
399
- _request_auth=_request_auth,
400
- _content_type=_content_type,
401
- _headers=_headers,
402
- _host_index=_host_index
403
- )
404
-
405
- _response_types_map: Dict[str, Optional[str]] = {
406
- '204': None,
407
- }
408
- response_data = self.api_client.call_api(
409
- *_param,
410
- _request_timeout=_request_timeout
411
- )
412
- response_data.read()
413
- return self.api_client.response_deserialize(
414
- response_data=response_data,
415
- response_types_map=_response_types_map,
416
- ).data
417
-
418
-
419
- @validate_call
420
- def pipeline_id_workflow_config_put_with_http_info(
421
- self,
422
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
423
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
424
- _request_timeout: Union[
425
- None,
426
- Annotated[StrictFloat, Field(gt=0)],
427
- Tuple[
428
- Annotated[StrictFloat, Field(gt=0)],
429
- Annotated[StrictFloat, Field(gt=0)]
430
- ]
431
- ] = None,
432
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
433
- _content_type: Optional[StrictStr] = None,
434
- _headers: Optional[Dict[StrictStr, Any]] = None,
435
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
436
- ) -> ApiResponse[None]:
437
- """Updates the workflow configuration for a pipeline.
438
-
439
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
440
-
441
- :param id: The id of the pipeline to update. (required)
442
- :type id: str
443
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
444
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
445
- :param _request_timeout: timeout setting for this request. If one
446
- number provided, it will be total request
447
- timeout. It can also be a pair (tuple) of
448
- (connection, read) timeouts.
449
- :type _request_timeout: int, tuple(int, int), optional
450
- :param _request_auth: set to override the auth_settings for an a single
451
- request; this effectively ignores the
452
- authentication in the spec for a single request.
453
- :type _request_auth: dict, optional
454
- :param _content_type: force content-type for the request.
455
- :type _content_type: str, Optional
456
- :param _headers: set to override the headers for a single
457
- request; this effectively ignores the headers
458
- in the spec for a single request.
459
- :type _headers: dict, optional
460
- :param _host_index: set to override the host_index for a single
461
- request; this effectively ignores the host_index
462
- in the spec for a single request.
463
- :type _host_index: int, optional
464
- :return: Returns the result object.
465
- """ # noqa: E501
466
-
467
- _param = self._pipeline_id_workflow_config_put_serialize(
468
- id=id,
469
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
470
- _request_auth=_request_auth,
471
- _content_type=_content_type,
472
- _headers=_headers,
473
- _host_index=_host_index
474
- )
475
-
476
- _response_types_map: Dict[str, Optional[str]] = {
477
- '204': None,
478
- }
479
- response_data = self.api_client.call_api(
480
- *_param,
481
- _request_timeout=_request_timeout
482
- )
483
- response_data.read()
484
- return self.api_client.response_deserialize(
485
- response_data=response_data,
486
- response_types_map=_response_types_map,
487
- )
488
-
489
-
490
- @validate_call
491
- def pipeline_id_workflow_config_put_without_preload_content(
492
- self,
493
- id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
494
- pipeline_id_workflow_config_put_request: Annotated[Optional[PipelineIdWorkflowConfigPutRequest], Field(description="The new workflow configuration.")] = None,
495
- _request_timeout: Union[
496
- None,
497
- Annotated[StrictFloat, Field(gt=0)],
498
- Tuple[
499
- Annotated[StrictFloat, Field(gt=0)],
500
- Annotated[StrictFloat, Field(gt=0)]
501
- ]
502
- ] = None,
503
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
504
- _content_type: Optional[StrictStr] = None,
505
- _headers: Optional[Dict[StrictStr, Any]] = None,
506
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
507
- ) -> RESTResponseType:
508
- """Updates the workflow configuration for a pipeline.
509
-
510
- This method needs to be called before the pipeline is started. Otherwise, the changes will not take effect unless the pipeline is restarted.
511
-
512
- :param id: The id of the pipeline to update. (required)
513
- :type id: str
514
- :param pipeline_id_workflow_config_put_request: The new workflow configuration.
515
- :type pipeline_id_workflow_config_put_request: PipelineIdWorkflowConfigPutRequest
516
- :param _request_timeout: timeout setting for this request. If one
517
- number provided, it will be total request
518
- timeout. It can also be a pair (tuple) of
519
- (connection, read) timeouts.
520
- :type _request_timeout: int, tuple(int, int), optional
521
- :param _request_auth: set to override the auth_settings for an a single
522
- request; this effectively ignores the
523
- authentication in the spec for a single request.
524
- :type _request_auth: dict, optional
525
- :param _content_type: force content-type for the request.
526
- :type _content_type: str, Optional
527
- :param _headers: set to override the headers for a single
528
- request; this effectively ignores the headers
529
- in the spec for a single request.
530
- :type _headers: dict, optional
531
- :param _host_index: set to override the host_index for a single
532
- request; this effectively ignores the host_index
533
- in the spec for a single request.
534
- :type _host_index: int, optional
535
- :return: Returns the result object.
536
- """ # noqa: E501
537
-
538
- _param = self._pipeline_id_workflow_config_put_serialize(
539
- id=id,
540
- pipeline_id_workflow_config_put_request=pipeline_id_workflow_config_put_request,
541
- _request_auth=_request_auth,
542
- _content_type=_content_type,
543
- _headers=_headers,
544
- _host_index=_host_index
545
- )
546
-
547
- _response_types_map: Dict[str, Optional[str]] = {
548
- '204': None,
549
- }
550
- response_data = self.api_client.call_api(
551
- *_param,
552
- _request_timeout=_request_timeout
553
- )
554
- return response_data.response
555
-
556
-
557
- def _pipeline_id_workflow_config_put_serialize(
558
- self,
559
- id,
560
- pipeline_id_workflow_config_put_request,
561
- _request_auth,
562
- _content_type,
563
- _headers,
564
- _host_index,
565
- ) -> RequestSerialized:
566
-
567
- _host = None
568
-
569
- _collection_formats: Dict[str, str] = {
570
- }
571
-
572
- _path_params: Dict[str, str] = {}
573
- _query_params: List[Tuple[str, str]] = []
574
- _header_params: Dict[str, Optional[str]] = _headers or {}
575
- _form_params: List[Tuple[str, str]] = []
576
- _files: Dict[
577
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
578
- ] = {}
579
- _body_params: Optional[bytes] = None
580
-
581
- # process the path parameters
582
- if id is not None:
583
- _path_params['id'] = id
584
- # process the query parameters
585
- # process the header parameters
586
- # process the form parameters
587
- # process the body parameter
588
- if pipeline_id_workflow_config_put_request is not None:
589
- _body_params = pipeline_id_workflow_config_put_request
590
-
591
-
592
-
593
- # set the HTTP header `Content-Type`
594
- if _content_type:
595
- _header_params['Content-Type'] = _content_type
596
- else:
597
- _default_content_type = (
598
- self.api_client.select_header_content_type(
599
- [
600
- 'application/json',
601
- 'text/json',
602
- 'application/*+json'
603
- ]
604
- )
605
- )
606
- if _default_content_type is not None:
607
- _header_params['Content-Type'] = _default_content_type
608
-
609
- # authentication setting
610
- _auth_settings: List[str] = [
611
- 'bearer',
612
- 'oauth2'
613
- ]
614
-
615
- return self.api_client.param_serialize(
616
- method='PUT',
617
- resource_path='/pipeline/{id}/workflow-config',
618
- path_params=_path_params,
619
- query_params=_query_params,
620
- header_params=_header_params,
621
- body=_body_params,
622
- post_params=_form_params,
623
- files=_files,
624
- auth_settings=_auth_settings,
625
- collection_formats=_collection_formats,
626
- _host=_host,
627
- _request_auth=_request_auth
628
- )
629
-
630
-
631
-
632
-
633
- @validate_call
634
- def pipeline_pipeline_id_campaign_artifact_id_put(
635
- self,
636
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
637
- artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
638
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
639
- _request_timeout: Union[
640
- None,
641
- Annotated[StrictFloat, Field(gt=0)],
642
- Tuple[
643
- Annotated[StrictFloat, Field(gt=0)],
644
- Annotated[StrictFloat, Field(gt=0)]
645
- ]
646
- ] = None,
647
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
648
- _content_type: Optional[StrictStr] = None,
649
- _headers: Optional[Dict[StrictStr, Any]] = None,
650
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
651
- ) -> None:
652
- """Updates a specific campaign for a pipeline.
653
-
654
-
655
- :param pipeline_id: The id of the pipeline to update. (required)
656
- :type pipeline_id: str
657
- :param artifact_id: The id of the campaign artifact to update. (required)
658
- :type artifact_id: str
659
- :param update_campaign_model: The new campaign settings.
660
- :type update_campaign_model: UpdateCampaignModel
661
- :param _request_timeout: timeout setting for this request. If one
662
- number provided, it will be total request
663
- timeout. It can also be a pair (tuple) of
664
- (connection, read) timeouts.
665
- :type _request_timeout: int, tuple(int, int), optional
666
- :param _request_auth: set to override the auth_settings for an a single
667
- request; this effectively ignores the
668
- authentication in the spec for a single request.
669
- :type _request_auth: dict, optional
670
- :param _content_type: force content-type for the request.
671
- :type _content_type: str, Optional
672
- :param _headers: set to override the headers for a single
673
- request; this effectively ignores the headers
674
- in the spec for a single request.
675
- :type _headers: dict, optional
676
- :param _host_index: set to override the host_index for a single
677
- request; this effectively ignores the host_index
678
- in the spec for a single request.
679
- :type _host_index: int, optional
680
- :return: Returns the result object.
681
- """ # noqa: E501
682
-
683
- _param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
684
- pipeline_id=pipeline_id,
685
- artifact_id=artifact_id,
686
- update_campaign_model=update_campaign_model,
687
- _request_auth=_request_auth,
688
- _content_type=_content_type,
689
- _headers=_headers,
690
- _host_index=_host_index
691
- )
692
-
693
- _response_types_map: Dict[str, Optional[str]] = {
694
- '204': None,
695
- }
696
- response_data = self.api_client.call_api(
697
- *_param,
698
- _request_timeout=_request_timeout
699
- )
700
- response_data.read()
701
- return self.api_client.response_deserialize(
702
- response_data=response_data,
703
- response_types_map=_response_types_map,
704
- ).data
705
-
706
-
707
- @validate_call
708
- def pipeline_pipeline_id_campaign_artifact_id_put_with_http_info(
709
- self,
710
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
711
- artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
712
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
713
- _request_timeout: Union[
714
- None,
715
- Annotated[StrictFloat, Field(gt=0)],
716
- Tuple[
717
- Annotated[StrictFloat, Field(gt=0)],
718
- Annotated[StrictFloat, Field(gt=0)]
719
- ]
720
- ] = None,
721
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
722
- _content_type: Optional[StrictStr] = None,
723
- _headers: Optional[Dict[StrictStr, Any]] = None,
724
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
725
- ) -> ApiResponse[None]:
726
- """Updates a specific campaign for a pipeline.
727
-
728
-
729
- :param pipeline_id: The id of the pipeline to update. (required)
730
- :type pipeline_id: str
731
- :param artifact_id: The id of the campaign artifact to update. (required)
732
- :type artifact_id: str
733
- :param update_campaign_model: The new campaign settings.
734
- :type update_campaign_model: UpdateCampaignModel
735
- :param _request_timeout: timeout setting for this request. If one
736
- number provided, it will be total request
737
- timeout. It can also be a pair (tuple) of
738
- (connection, read) timeouts.
739
- :type _request_timeout: int, tuple(int, int), optional
740
- :param _request_auth: set to override the auth_settings for an a single
741
- request; this effectively ignores the
742
- authentication in the spec for a single request.
743
- :type _request_auth: dict, optional
744
- :param _content_type: force content-type for the request.
745
- :type _content_type: str, Optional
746
- :param _headers: set to override the headers for a single
747
- request; this effectively ignores the headers
748
- in the spec for a single request.
749
- :type _headers: dict, optional
750
- :param _host_index: set to override the host_index for a single
751
- request; this effectively ignores the host_index
752
- in the spec for a single request.
753
- :type _host_index: int, optional
754
- :return: Returns the result object.
755
- """ # noqa: E501
756
-
757
- _param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
758
- pipeline_id=pipeline_id,
759
- artifact_id=artifact_id,
760
- update_campaign_model=update_campaign_model,
761
- _request_auth=_request_auth,
762
- _content_type=_content_type,
763
- _headers=_headers,
764
- _host_index=_host_index
765
- )
766
-
767
- _response_types_map: Dict[str, Optional[str]] = {
768
- '204': None,
769
- }
770
- response_data = self.api_client.call_api(
771
- *_param,
772
- _request_timeout=_request_timeout
773
- )
774
- response_data.read()
775
- return self.api_client.response_deserialize(
776
- response_data=response_data,
777
- response_types_map=_response_types_map,
778
- )
779
-
780
-
781
- @validate_call
782
- def pipeline_pipeline_id_campaign_artifact_id_put_without_preload_content(
783
- self,
784
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
785
- artifact_id: Annotated[StrictStr, Field(description="The id of the campaign artifact to update.")],
786
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
787
- _request_timeout: Union[
788
- None,
789
- Annotated[StrictFloat, Field(gt=0)],
790
- Tuple[
791
- Annotated[StrictFloat, Field(gt=0)],
792
- Annotated[StrictFloat, Field(gt=0)]
793
- ]
794
- ] = None,
795
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
796
- _content_type: Optional[StrictStr] = None,
797
- _headers: Optional[Dict[StrictStr, Any]] = None,
798
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
799
- ) -> RESTResponseType:
800
- """Updates a specific campaign for a pipeline.
801
-
802
-
803
- :param pipeline_id: The id of the pipeline to update. (required)
804
- :type pipeline_id: str
805
- :param artifact_id: The id of the campaign artifact to update. (required)
806
- :type artifact_id: str
807
- :param update_campaign_model: The new campaign settings.
808
- :type update_campaign_model: UpdateCampaignModel
809
- :param _request_timeout: timeout setting for this request. If one
810
- number provided, it will be total request
811
- timeout. It can also be a pair (tuple) of
812
- (connection, read) timeouts.
813
- :type _request_timeout: int, tuple(int, int), optional
814
- :param _request_auth: set to override the auth_settings for an a single
815
- request; this effectively ignores the
816
- authentication in the spec for a single request.
817
- :type _request_auth: dict, optional
818
- :param _content_type: force content-type for the request.
819
- :type _content_type: str, Optional
820
- :param _headers: set to override the headers for a single
821
- request; this effectively ignores the headers
822
- in the spec for a single request.
823
- :type _headers: dict, optional
824
- :param _host_index: set to override the host_index for a single
825
- request; this effectively ignores the host_index
826
- in the spec for a single request.
827
- :type _host_index: int, optional
828
- :return: Returns the result object.
829
- """ # noqa: E501
830
-
831
- _param = self._pipeline_pipeline_id_campaign_artifact_id_put_serialize(
832
- pipeline_id=pipeline_id,
833
- artifact_id=artifact_id,
834
- update_campaign_model=update_campaign_model,
835
- _request_auth=_request_auth,
836
- _content_type=_content_type,
837
- _headers=_headers,
838
- _host_index=_host_index
839
- )
840
-
841
- _response_types_map: Dict[str, Optional[str]] = {
842
- '204': None,
843
- }
844
- response_data = self.api_client.call_api(
845
- *_param,
846
- _request_timeout=_request_timeout
847
- )
848
- return response_data.response
849
-
850
-
851
- def _pipeline_pipeline_id_campaign_artifact_id_put_serialize(
852
- self,
853
- pipeline_id,
854
- artifact_id,
855
- update_campaign_model,
856
- _request_auth,
857
- _content_type,
858
- _headers,
859
- _host_index,
860
- ) -> RequestSerialized:
861
-
862
- _host = None
863
-
864
- _collection_formats: Dict[str, str] = {
865
- }
866
-
867
- _path_params: Dict[str, str] = {}
868
- _query_params: List[Tuple[str, str]] = []
869
- _header_params: Dict[str, Optional[str]] = _headers or {}
870
- _form_params: List[Tuple[str, str]] = []
871
- _files: Dict[
872
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
873
- ] = {}
874
- _body_params: Optional[bytes] = None
875
-
876
- # process the path parameters
877
- if pipeline_id is not None:
878
- _path_params['pipelineId'] = pipeline_id
879
- if artifact_id is not None:
880
- _path_params['artifactId'] = artifact_id
881
- # process the query parameters
882
- # process the header parameters
883
- # process the form parameters
884
- # process the body parameter
885
- if update_campaign_model is not None:
886
- _body_params = update_campaign_model
887
-
888
-
889
-
890
- # set the HTTP header `Content-Type`
891
- if _content_type:
892
- _header_params['Content-Type'] = _content_type
893
- else:
894
- _default_content_type = (
895
- self.api_client.select_header_content_type(
896
- [
897
- 'application/json',
898
- 'text/json',
899
- 'application/*+json'
900
- ]
901
- )
902
- )
903
- if _default_content_type is not None:
904
- _header_params['Content-Type'] = _default_content_type
905
-
906
- # authentication setting
907
- _auth_settings: List[str] = [
908
- 'bearer',
909
- 'oauth2'
910
- ]
911
-
912
- return self.api_client.param_serialize(
913
- method='PUT',
914
- resource_path='/pipeline/{pipelineId}/campaign/{artifactId}',
915
- path_params=_path_params,
916
- query_params=_query_params,
917
- header_params=_header_params,
918
- body=_body_params,
919
- post_params=_form_params,
920
- files=_files,
921
- auth_settings=_auth_settings,
922
- collection_formats=_collection_formats,
923
- _host=_host,
924
- _request_auth=_request_auth
925
- )
926
-
927
-
928
-
929
-
930
- @validate_call
931
- def pipeline_pipeline_id_campaign_post(
932
- self,
933
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
934
- add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
935
- _request_timeout: Union[
936
- None,
937
- Annotated[StrictFloat, Field(gt=0)],
938
- Tuple[
939
- Annotated[StrictFloat, Field(gt=0)],
940
- Annotated[StrictFloat, Field(gt=0)]
941
- ]
942
- ] = None,
943
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
944
- _content_type: Optional[StrictStr] = None,
945
- _headers: Optional[Dict[StrictStr, Any]] = None,
946
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
947
- ) -> AddCampaignArtifactResult:
948
- """Adds a campaign to a pipeline.
949
-
950
-
951
- :param pipeline_id: The id of the pipeline to update (required)
952
- :type pipeline_id: str
953
- :param add_campaign_model: The body request
954
- :type add_campaign_model: AddCampaignModel
955
- :param _request_timeout: timeout setting for this request. If one
956
- number provided, it will be total request
957
- timeout. It can also be a pair (tuple) of
958
- (connection, read) timeouts.
959
- :type _request_timeout: int, tuple(int, int), optional
960
- :param _request_auth: set to override the auth_settings for an a single
961
- request; this effectively ignores the
962
- authentication in the spec for a single request.
963
- :type _request_auth: dict, optional
964
- :param _content_type: force content-type for the request.
965
- :type _content_type: str, Optional
966
- :param _headers: set to override the headers for a single
967
- request; this effectively ignores the headers
968
- in the spec for a single request.
969
- :type _headers: dict, optional
970
- :param _host_index: set to override the host_index for a single
971
- request; this effectively ignores the host_index
972
- in the spec for a single request.
973
- :type _host_index: int, optional
974
- :return: Returns the result object.
975
- """ # noqa: E501
976
-
977
- _param = self._pipeline_pipeline_id_campaign_post_serialize(
978
- pipeline_id=pipeline_id,
979
- add_campaign_model=add_campaign_model,
980
- _request_auth=_request_auth,
981
- _content_type=_content_type,
982
- _headers=_headers,
983
- _host_index=_host_index
984
- )
985
-
986
- _response_types_map: Dict[str, Optional[str]] = {
987
- '200': "AddCampaignArtifactResult",
988
- }
989
- response_data = self.api_client.call_api(
990
- *_param,
991
- _request_timeout=_request_timeout
992
- )
993
- response_data.read()
994
- return self.api_client.response_deserialize(
995
- response_data=response_data,
996
- response_types_map=_response_types_map,
997
- ).data
998
-
999
-
1000
- @validate_call
1001
- def pipeline_pipeline_id_campaign_post_with_http_info(
1002
- self,
1003
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
1004
- add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
1005
- _request_timeout: Union[
1006
- None,
1007
- Annotated[StrictFloat, Field(gt=0)],
1008
- Tuple[
1009
- Annotated[StrictFloat, Field(gt=0)],
1010
- Annotated[StrictFloat, Field(gt=0)]
1011
- ]
1012
- ] = None,
1013
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1014
- _content_type: Optional[StrictStr] = None,
1015
- _headers: Optional[Dict[StrictStr, Any]] = None,
1016
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1017
- ) -> ApiResponse[AddCampaignArtifactResult]:
1018
- """Adds a campaign to a pipeline.
1019
-
1020
-
1021
- :param pipeline_id: The id of the pipeline to update (required)
1022
- :type pipeline_id: str
1023
- :param add_campaign_model: The body request
1024
- :type add_campaign_model: AddCampaignModel
1025
- :param _request_timeout: timeout setting for this request. If one
1026
- number provided, it will be total request
1027
- timeout. It can also be a pair (tuple) of
1028
- (connection, read) timeouts.
1029
- :type _request_timeout: int, tuple(int, int), optional
1030
- :param _request_auth: set to override the auth_settings for an a single
1031
- request; this effectively ignores the
1032
- authentication in the spec for a single request.
1033
- :type _request_auth: dict, optional
1034
- :param _content_type: force content-type for the request.
1035
- :type _content_type: str, Optional
1036
- :param _headers: set to override the headers for a single
1037
- request; this effectively ignores the headers
1038
- in the spec for a single request.
1039
- :type _headers: dict, optional
1040
- :param _host_index: set to override the host_index for a single
1041
- request; this effectively ignores the host_index
1042
- in the spec for a single request.
1043
- :type _host_index: int, optional
1044
- :return: Returns the result object.
1045
- """ # noqa: E501
1046
-
1047
- _param = self._pipeline_pipeline_id_campaign_post_serialize(
1048
- pipeline_id=pipeline_id,
1049
- add_campaign_model=add_campaign_model,
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': "AddCampaignArtifactResult",
1058
- }
1059
- response_data = self.api_client.call_api(
1060
- *_param,
1061
- _request_timeout=_request_timeout
1062
- )
1063
- response_data.read()
1064
- return self.api_client.response_deserialize(
1065
- response_data=response_data,
1066
- response_types_map=_response_types_map,
1067
- )
1068
-
1069
-
1070
- @validate_call
1071
- def pipeline_pipeline_id_campaign_post_without_preload_content(
1072
- self,
1073
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update")],
1074
- add_campaign_model: Annotated[Optional[AddCampaignModel], Field(description="The body request")] = None,
1075
- _request_timeout: Union[
1076
- None,
1077
- Annotated[StrictFloat, Field(gt=0)],
1078
- Tuple[
1079
- Annotated[StrictFloat, Field(gt=0)],
1080
- Annotated[StrictFloat, Field(gt=0)]
1081
- ]
1082
- ] = None,
1083
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1084
- _content_type: Optional[StrictStr] = None,
1085
- _headers: Optional[Dict[StrictStr, Any]] = None,
1086
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1087
- ) -> RESTResponseType:
1088
- """Adds a campaign to a pipeline.
1089
-
1090
-
1091
- :param pipeline_id: The id of the pipeline to update (required)
1092
- :type pipeline_id: str
1093
- :param add_campaign_model: The body request
1094
- :type add_campaign_model: AddCampaignModel
1095
- :param _request_timeout: timeout setting for this request. If one
1096
- number provided, it will be total request
1097
- timeout. It can also be a pair (tuple) of
1098
- (connection, read) timeouts.
1099
- :type _request_timeout: int, tuple(int, int), optional
1100
- :param _request_auth: set to override the auth_settings for an a single
1101
- request; this effectively ignores the
1102
- authentication in the spec for a single request.
1103
- :type _request_auth: dict, optional
1104
- :param _content_type: force content-type for the request.
1105
- :type _content_type: str, Optional
1106
- :param _headers: set to override the headers for a single
1107
- request; this effectively ignores the headers
1108
- in the spec for a single request.
1109
- :type _headers: dict, optional
1110
- :param _host_index: set to override the host_index for a single
1111
- request; this effectively ignores the host_index
1112
- in the spec for a single request.
1113
- :type _host_index: int, optional
1114
- :return: Returns the result object.
1115
- """ # noqa: E501
1116
-
1117
- _param = self._pipeline_pipeline_id_campaign_post_serialize(
1118
- pipeline_id=pipeline_id,
1119
- add_campaign_model=add_campaign_model,
1120
- _request_auth=_request_auth,
1121
- _content_type=_content_type,
1122
- _headers=_headers,
1123
- _host_index=_host_index
1124
- )
1125
-
1126
- _response_types_map: Dict[str, Optional[str]] = {
1127
- '200': "AddCampaignArtifactResult",
1128
- }
1129
- response_data = self.api_client.call_api(
1130
- *_param,
1131
- _request_timeout=_request_timeout
1132
- )
1133
- return response_data.response
1134
-
1135
-
1136
- def _pipeline_pipeline_id_campaign_post_serialize(
1137
- self,
1138
- pipeline_id,
1139
- add_campaign_model,
1140
- _request_auth,
1141
- _content_type,
1142
- _headers,
1143
- _host_index,
1144
- ) -> RequestSerialized:
1145
-
1146
- _host = None
1147
-
1148
- _collection_formats: Dict[str, str] = {
1149
- }
1150
-
1151
- _path_params: Dict[str, str] = {}
1152
- _query_params: List[Tuple[str, str]] = []
1153
- _header_params: Dict[str, Optional[str]] = _headers or {}
1154
- _form_params: List[Tuple[str, str]] = []
1155
- _files: Dict[
1156
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1157
- ] = {}
1158
- _body_params: Optional[bytes] = None
1159
-
1160
- # process the path parameters
1161
- if pipeline_id is not None:
1162
- _path_params['pipelineId'] = pipeline_id
1163
- # process the query parameters
1164
- # process the header parameters
1165
- # process the form parameters
1166
- # process the body parameter
1167
- if add_campaign_model is not None:
1168
- _body_params = add_campaign_model
1169
-
1170
-
1171
- # set the HTTP header `Accept`
1172
- if 'Accept' not in _header_params:
1173
- _header_params['Accept'] = self.api_client.select_header_accept(
1174
- [
1175
- 'text/plain',
1176
- 'application/json',
1177
- 'text/json'
1178
- ]
1179
- )
1180
-
1181
- # set the HTTP header `Content-Type`
1182
- if _content_type:
1183
- _header_params['Content-Type'] = _content_type
1184
- else:
1185
- _default_content_type = (
1186
- self.api_client.select_header_content_type(
1187
- [
1188
- 'application/json',
1189
- 'text/json',
1190
- 'application/*+json'
1191
- ]
1192
- )
1193
- )
1194
- if _default_content_type is not None:
1195
- _header_params['Content-Type'] = _default_content_type
1196
-
1197
- # authentication setting
1198
- _auth_settings: List[str] = [
1199
- 'bearer',
1200
- 'oauth2'
1201
- ]
1202
-
1203
- return self.api_client.param_serialize(
1204
- method='POST',
1205
- resource_path='/pipeline/{pipelineId}/campaign',
1206
- path_params=_path_params,
1207
- query_params=_query_params,
1208
- header_params=_header_params,
1209
- body=_body_params,
1210
- post_params=_form_params,
1211
- files=_files,
1212
- auth_settings=_auth_settings,
1213
- collection_formats=_collection_formats,
1214
- _host=_host,
1215
- _request_auth=_request_auth
1216
- )
1217
-
1218
-
1219
-
1220
-
1221
- @validate_call
1222
- def pipeline_pipeline_id_campaign_put(
1223
- self,
1224
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
1225
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
1226
- _request_timeout: Union[
1227
- None,
1228
- Annotated[StrictFloat, Field(gt=0)],
1229
- Tuple[
1230
- Annotated[StrictFloat, Field(gt=0)],
1231
- Annotated[StrictFloat, Field(gt=0)]
1232
- ]
1233
- ] = None,
1234
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1235
- _content_type: Optional[StrictStr] = None,
1236
- _headers: Optional[Dict[StrictStr, Any]] = None,
1237
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1238
- ) -> None:
1239
- """Updates a specific campaign for a pipeline.
1240
-
1241
-
1242
- :param pipeline_id: The id of the pipeline to update. (required)
1243
- :type pipeline_id: str
1244
- :param update_campaign_model: The new campaign settings.
1245
- :type update_campaign_model: UpdateCampaignModel
1246
- :param _request_timeout: timeout setting for this request. If one
1247
- number provided, it will be total request
1248
- timeout. It can also be a pair (tuple) of
1249
- (connection, read) timeouts.
1250
- :type _request_timeout: int, tuple(int, int), optional
1251
- :param _request_auth: set to override the auth_settings for an a single
1252
- request; this effectively ignores the
1253
- authentication in the spec for a single request.
1254
- :type _request_auth: dict, optional
1255
- :param _content_type: force content-type for the request.
1256
- :type _content_type: str, Optional
1257
- :param _headers: set to override the headers for a single
1258
- request; this effectively ignores the headers
1259
- in the spec for a single request.
1260
- :type _headers: dict, optional
1261
- :param _host_index: set to override the host_index for a single
1262
- request; this effectively ignores the host_index
1263
- in the spec for a single request.
1264
- :type _host_index: int, optional
1265
- :return: Returns the result object.
1266
- """ # noqa: E501
1267
-
1268
- _param = self._pipeline_pipeline_id_campaign_put_serialize(
1269
- pipeline_id=pipeline_id,
1270
- update_campaign_model=update_campaign_model,
1271
- _request_auth=_request_auth,
1272
- _content_type=_content_type,
1273
- _headers=_headers,
1274
- _host_index=_host_index
1275
- )
1276
-
1277
- _response_types_map: Dict[str, Optional[str]] = {
1278
- '204': None,
1279
- }
1280
- response_data = self.api_client.call_api(
1281
- *_param,
1282
- _request_timeout=_request_timeout
1283
- )
1284
- response_data.read()
1285
- return self.api_client.response_deserialize(
1286
- response_data=response_data,
1287
- response_types_map=_response_types_map,
1288
- ).data
1289
-
1290
-
1291
- @validate_call
1292
- def pipeline_pipeline_id_campaign_put_with_http_info(
1293
- self,
1294
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
1295
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
1296
- _request_timeout: Union[
1297
- None,
1298
- Annotated[StrictFloat, Field(gt=0)],
1299
- Tuple[
1300
- Annotated[StrictFloat, Field(gt=0)],
1301
- Annotated[StrictFloat, Field(gt=0)]
1302
- ]
1303
- ] = None,
1304
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1305
- _content_type: Optional[StrictStr] = None,
1306
- _headers: Optional[Dict[StrictStr, Any]] = None,
1307
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1308
- ) -> ApiResponse[None]:
1309
- """Updates a specific campaign for a pipeline.
1310
-
1311
-
1312
- :param pipeline_id: The id of the pipeline to update. (required)
1313
- :type pipeline_id: str
1314
- :param update_campaign_model: The new campaign settings.
1315
- :type update_campaign_model: UpdateCampaignModel
1316
- :param _request_timeout: timeout setting for this request. If one
1317
- number provided, it will be total request
1318
- timeout. It can also be a pair (tuple) of
1319
- (connection, read) timeouts.
1320
- :type _request_timeout: int, tuple(int, int), optional
1321
- :param _request_auth: set to override the auth_settings for an a single
1322
- request; this effectively ignores the
1323
- authentication in the spec for a single request.
1324
- :type _request_auth: dict, optional
1325
- :param _content_type: force content-type for the request.
1326
- :type _content_type: str, Optional
1327
- :param _headers: set to override the headers for a single
1328
- request; this effectively ignores the headers
1329
- in the spec for a single request.
1330
- :type _headers: dict, optional
1331
- :param _host_index: set to override the host_index for a single
1332
- request; this effectively ignores the host_index
1333
- in the spec for a single request.
1334
- :type _host_index: int, optional
1335
- :return: Returns the result object.
1336
- """ # noqa: E501
1337
-
1338
- _param = self._pipeline_pipeline_id_campaign_put_serialize(
1339
- pipeline_id=pipeline_id,
1340
- update_campaign_model=update_campaign_model,
1341
- _request_auth=_request_auth,
1342
- _content_type=_content_type,
1343
- _headers=_headers,
1344
- _host_index=_host_index
1345
- )
1346
-
1347
- _response_types_map: Dict[str, Optional[str]] = {
1348
- '204': None,
1349
- }
1350
- response_data = self.api_client.call_api(
1351
- *_param,
1352
- _request_timeout=_request_timeout
1353
- )
1354
- response_data.read()
1355
- return self.api_client.response_deserialize(
1356
- response_data=response_data,
1357
- response_types_map=_response_types_map,
1358
- )
1359
-
1360
-
1361
- @validate_call
1362
- def pipeline_pipeline_id_campaign_put_without_preload_content(
1363
- self,
1364
- pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to update.")],
1365
- update_campaign_model: Annotated[Optional[UpdateCampaignModel], Field(description="The new campaign settings.")] = None,
1366
- _request_timeout: Union[
1367
- None,
1368
- Annotated[StrictFloat, Field(gt=0)],
1369
- Tuple[
1370
- Annotated[StrictFloat, Field(gt=0)],
1371
- Annotated[StrictFloat, Field(gt=0)]
1372
- ]
1373
- ] = None,
1374
- _request_auth: Optional[Dict[StrictStr, Any]] = None,
1375
- _content_type: Optional[StrictStr] = None,
1376
- _headers: Optional[Dict[StrictStr, Any]] = None,
1377
- _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1378
- ) -> RESTResponseType:
1379
- """Updates a specific campaign for a pipeline.
1380
-
1381
-
1382
- :param pipeline_id: The id of the pipeline to update. (required)
1383
- :type pipeline_id: str
1384
- :param update_campaign_model: The new campaign settings.
1385
- :type update_campaign_model: UpdateCampaignModel
1386
- :param _request_timeout: timeout setting for this request. If one
1387
- number provided, it will be total request
1388
- timeout. It can also be a pair (tuple) of
1389
- (connection, read) timeouts.
1390
- :type _request_timeout: int, tuple(int, int), optional
1391
- :param _request_auth: set to override the auth_settings for an a single
1392
- request; this effectively ignores the
1393
- authentication in the spec for a single request.
1394
- :type _request_auth: dict, optional
1395
- :param _content_type: force content-type for the request.
1396
- :type _content_type: str, Optional
1397
- :param _headers: set to override the headers for a single
1398
- request; this effectively ignores the headers
1399
- in the spec for a single request.
1400
- :type _headers: dict, optional
1401
- :param _host_index: set to override the host_index for a single
1402
- request; this effectively ignores the host_index
1403
- in the spec for a single request.
1404
- :type _host_index: int, optional
1405
- :return: Returns the result object.
1406
- """ # noqa: E501
1407
-
1408
- _param = self._pipeline_pipeline_id_campaign_put_serialize(
1409
- pipeline_id=pipeline_id,
1410
- update_campaign_model=update_campaign_model,
1411
- _request_auth=_request_auth,
1412
- _content_type=_content_type,
1413
- _headers=_headers,
1414
- _host_index=_host_index
1415
- )
1416
-
1417
- _response_types_map: Dict[str, Optional[str]] = {
1418
- '204': None,
1419
- }
1420
- response_data = self.api_client.call_api(
1421
- *_param,
1422
- _request_timeout=_request_timeout
1423
- )
1424
- return response_data.response
1425
-
1426
-
1427
- def _pipeline_pipeline_id_campaign_put_serialize(
1428
- self,
1429
- pipeline_id,
1430
- update_campaign_model,
1431
- _request_auth,
1432
- _content_type,
1433
- _headers,
1434
- _host_index,
1435
- ) -> RequestSerialized:
1436
-
1437
- _host = None
1438
-
1439
- _collection_formats: Dict[str, str] = {
1440
- }
1441
-
1442
- _path_params: Dict[str, str] = {}
1443
- _query_params: List[Tuple[str, str]] = []
1444
- _header_params: Dict[str, Optional[str]] = _headers or {}
1445
- _form_params: List[Tuple[str, str]] = []
1446
- _files: Dict[
1447
- str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1448
- ] = {}
1449
- _body_params: Optional[bytes] = None
1450
-
1451
- # process the path parameters
1452
- if pipeline_id is not None:
1453
- _path_params['pipelineId'] = pipeline_id
1454
- # process the query parameters
1455
- # process the header parameters
1456
- # process the form parameters
1457
- # process the body parameter
1458
- if update_campaign_model is not None:
1459
- _body_params = update_campaign_model
1460
-
1461
-
1462
-
1463
- # set the HTTP header `Content-Type`
1464
- if _content_type:
1465
- _header_params['Content-Type'] = _content_type
1466
- else:
1467
- _default_content_type = (
1468
- self.api_client.select_header_content_type(
1469
- [
1470
- 'application/json',
1471
- 'text/json',
1472
- 'application/*+json'
1473
- ]
1474
- )
1475
- )
1476
- if _default_content_type is not None:
1477
- _header_params['Content-Type'] = _default_content_type
1478
-
1479
- # authentication setting
1480
- _auth_settings: List[str] = [
1481
- 'bearer',
1482
- 'oauth2'
1483
- ]
1484
-
1485
- return self.api_client.param_serialize(
1486
- method='PUT',
1487
- resource_path='/pipeline/{pipelineId}/campaign',
1488
- path_params=_path_params,
1489
- query_params=_query_params,
1490
- header_params=_header_params,
1491
- body=_body_params,
1492
- post_params=_form_params,
1493
- files=_files,
1494
- auth_settings=_auth_settings,
1495
- collection_formats=_collection_formats,
1496
- _host=_host,
1497
- _request_auth=_request_auth
1498
- )
1499
-
1500
-
1501
-
1502
-
1503
44
  @validate_call
1504
45
  def pipeline_pipeline_id_get(
1505
46
  self,
@@ -1739,8 +280,9 @@ class PipelineApi:
1739
280
 
1740
281
  # authentication setting
1741
282
  _auth_settings: List[str] = [
1742
- 'bearer',
1743
- 'oauth2'
283
+ 'OAuth2',
284
+ 'OpenIdConnect',
285
+ 'Bearer'
1744
286
  ]
1745
287
 
1746
288
  return self.api_client.param_serialize(
@@ -1765,7 +307,7 @@ class PipelineApi:
1765
307
  def pipeline_pipeline_id_preliminary_download_post(
1766
308
  self,
1767
309
  pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
1768
- preliminary_download_model: Annotated[Optional[PreliminaryDownloadModel], Field(description="The body request.")] = None,
310
+ preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
1769
311
  _request_timeout: Union[
1770
312
  None,
1771
313
  Annotated[StrictFloat, Field(gt=0)],
@@ -1778,13 +320,13 @@ class PipelineApi:
1778
320
  _content_type: Optional[StrictStr] = None,
1779
321
  _headers: Optional[Dict[StrictStr, Any]] = None,
1780
322
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1781
- ) -> PreliminaryDownloadResult:
323
+ ) -> StartPreliminaryDownloadResult:
1782
324
  """Initiates a preliminary download of the pipeline.
1783
325
 
1784
326
 
1785
327
  :param pipeline_id: The id of the pipeline to initiate the download for. (required)
1786
328
  :type pipeline_id: str
1787
- :param preliminary_download_model: The body request.
329
+ :param preliminary_download_model: The body request. (required)
1788
330
  :type preliminary_download_model: PreliminaryDownloadModel
1789
331
  :param _request_timeout: timeout setting for this request. If one
1790
332
  number provided, it will be total request
@@ -1818,7 +360,7 @@ class PipelineApi:
1818
360
  )
1819
361
 
1820
362
  _response_types_map: Dict[str, Optional[str]] = {
1821
- '200': "PreliminaryDownloadResult",
363
+ '200': "StartPreliminaryDownloadResult",
1822
364
  }
1823
365
  response_data = self.api_client.call_api(
1824
366
  *_param,
@@ -1835,7 +377,7 @@ class PipelineApi:
1835
377
  def pipeline_pipeline_id_preliminary_download_post_with_http_info(
1836
378
  self,
1837
379
  pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
1838
- preliminary_download_model: Annotated[Optional[PreliminaryDownloadModel], Field(description="The body request.")] = None,
380
+ preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
1839
381
  _request_timeout: Union[
1840
382
  None,
1841
383
  Annotated[StrictFloat, Field(gt=0)],
@@ -1848,13 +390,13 @@ class PipelineApi:
1848
390
  _content_type: Optional[StrictStr] = None,
1849
391
  _headers: Optional[Dict[StrictStr, Any]] = None,
1850
392
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1851
- ) -> ApiResponse[PreliminaryDownloadResult]:
393
+ ) -> ApiResponse[StartPreliminaryDownloadResult]:
1852
394
  """Initiates a preliminary download of the pipeline.
1853
395
 
1854
396
 
1855
397
  :param pipeline_id: The id of the pipeline to initiate the download for. (required)
1856
398
  :type pipeline_id: str
1857
- :param preliminary_download_model: The body request.
399
+ :param preliminary_download_model: The body request. (required)
1858
400
  :type preliminary_download_model: PreliminaryDownloadModel
1859
401
  :param _request_timeout: timeout setting for this request. If one
1860
402
  number provided, it will be total request
@@ -1888,7 +430,7 @@ class PipelineApi:
1888
430
  )
1889
431
 
1890
432
  _response_types_map: Dict[str, Optional[str]] = {
1891
- '200': "PreliminaryDownloadResult",
433
+ '200': "StartPreliminaryDownloadResult",
1892
434
  }
1893
435
  response_data = self.api_client.call_api(
1894
436
  *_param,
@@ -1905,7 +447,7 @@ class PipelineApi:
1905
447
  def pipeline_pipeline_id_preliminary_download_post_without_preload_content(
1906
448
  self,
1907
449
  pipeline_id: Annotated[StrictStr, Field(description="The id of the pipeline to initiate the download for.")],
1908
- preliminary_download_model: Annotated[Optional[PreliminaryDownloadModel], Field(description="The body request.")] = None,
450
+ preliminary_download_model: Annotated[PreliminaryDownloadModel, Field(description="The body request.")],
1909
451
  _request_timeout: Union[
1910
452
  None,
1911
453
  Annotated[StrictFloat, Field(gt=0)],
@@ -1924,7 +466,7 @@ class PipelineApi:
1924
466
 
1925
467
  :param pipeline_id: The id of the pipeline to initiate the download for. (required)
1926
468
  :type pipeline_id: str
1927
- :param preliminary_download_model: The body request.
469
+ :param preliminary_download_model: The body request. (required)
1928
470
  :type preliminary_download_model: PreliminaryDownloadModel
1929
471
  :param _request_timeout: timeout setting for this request. If one
1930
472
  number provided, it will be total request
@@ -1958,7 +500,7 @@ class PipelineApi:
1958
500
  )
1959
501
 
1960
502
  _response_types_map: Dict[str, Optional[str]] = {
1961
- '200': "PreliminaryDownloadResult",
503
+ '200': "StartPreliminaryDownloadResult",
1962
504
  }
1963
505
  response_data = self.api_client.call_api(
1964
506
  *_param,
@@ -2030,8 +572,9 @@ class PipelineApi:
2030
572
 
2031
573
  # authentication setting
2032
574
  _auth_settings: List[str] = [
2033
- 'bearer',
2034
- 'oauth2'
575
+ 'OAuth2',
576
+ 'OpenIdConnect',
577
+ 'Bearer'
2035
578
  ]
2036
579
 
2037
580
  return self.api_client.param_serialize(
@@ -2297,8 +840,9 @@ class PipelineApi:
2297
840
 
2298
841
  # authentication setting
2299
842
  _auth_settings: List[str] = [
2300
- 'bearer',
2301
- 'oauth2'
843
+ 'OAuth2',
844
+ 'OpenIdConnect',
845
+ 'Bearer'
2302
846
  ]
2303
847
 
2304
848
  return self.api_client.param_serialize(