rapidata 1.8.3__py3-none-any.whl → 2.44.4__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.
- rapidata/__init__.py +32 -16
- rapidata/api_client/__init__.py +83 -279
- rapidata/api_client/api/__init__.py +14 -4
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +1133 -0
- rapidata/api_client/api/benchmark_api.py +3966 -0
- rapidata/api_client/api/campaign_api.py +926 -125
- rapidata/api_client/api/client_api.py +589 -42
- rapidata/api_client/api/coco_api.py +45 -45
- rapidata/api_client/api/compare_workflow_api.py +47 -45
- rapidata/api_client/api/{validation_api.py → customer_rapid_api.py} +367 -378
- rapidata/api_client/api/datapoint_api.py +69 -336
- rapidata/api_client/api/dataset_api.py +263 -872
- rapidata/api_client/api/evaluation_workflow_api.py +319 -0
- rapidata/api_client/api/feedback_api.py +306 -0
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +365 -120
- rapidata/api_client/api/leaderboard_api.py +2550 -0
- rapidata/api_client/api/newsletter_api.py +35 -34
- rapidata/api_client/api/order_api.py +1111 -787
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +156 -139
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapid_api.py +1288 -189
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +47 -79
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +3052 -0
- rapidata/api_client/api/workflow_api.py +410 -96
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -260
- rapidata/api_client/models/ab_test_selection.py +122 -0
- rapidata/api_client/models/ab_test_selection_a_inner.py +240 -0
- rapidata/api_client/models/add_campaign_model.py +52 -11
- rapidata/api_client/models/add_campaign_model_user_filters_inner.py +224 -0
- rapidata/api_client/models/add_user_response_result.py +111 -0
- rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
- rapidata/api_client/models/add_validation_rapid_model.py +61 -23
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_payload.py +30 -16
- rapidata/api_client/models/add_validation_rapid_model_truth.py +65 -17
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +14 -9
- rapidata/api_client/models/age_group.py +5 -4
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +5 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +87 -0
- rapidata/api_client/models/asset_metadata.py +106 -0
- rapidata/api_client/models/asset_metadata_asset.py +170 -0
- rapidata/api_client/models/asset_metadata_model.py +96 -0
- rapidata/api_client/models/asset_metadata_model_asset.py +170 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_status.py +38 -0
- rapidata/api_client/models/base_error.py +1 -4
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +89 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +107 -0
- rapidata/api_client/models/campaign_query_result_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +4 -2
- rapidata/api_client/models/capped_selection.py +3 -3
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +14 -5
- rapidata/api_client/models/classification_metadata_model.py +2 -4
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +2 -2
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_match_status.py +39 -0
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +4 -4
- rapidata/api_client/models/compare_workflow_config.py +31 -22
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +296 -0
- rapidata/api_client/models/compare_workflow_config_model.py +32 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_model.py +59 -14
- rapidata/api_client/models/compare_workflow_model1.py +32 -19
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +126 -0
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/comparison_operator.py +41 -0
- rapidata/api_client/models/conditional_validation_selection.py +9 -5
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/coordinate.py +2 -2
- rapidata/api_client/models/count_metadata.py +13 -4
- rapidata/api_client/models/count_metadata_model.py +2 -4
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +99 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_from_files_model.py +102 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +182 -0
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_model.py +134 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +87 -0
- rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_leaderboard_model.py +140 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_model.py +41 -52
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +83 -11
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +87 -0
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +87 -0
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client/models/datapoint.py +12 -28
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +13 -6
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +38 -0
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/demographic.py +89 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/demographic_metadata_model.py +18 -9
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +91 -0
- rapidata/api_client/models/elo_config_model.py +91 -0
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/existing_asset_input.py +120 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +15 -12
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model.py +18 -13
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/file_asset_model_metadata_value.py +252 -0
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +111 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +96 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +87 -0
- rapidata/api_client/models/get_compare_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_compare_workflow_results_result.py +95 -0
- rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
- rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_datapoint_by_id_result.py +103 -0
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +93 -0
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +18 -8
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +106 -0
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +95 -0
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_query.py +123 -0
- rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result.py +150 -0
- rapidata/api_client/models/get_validation_rapids_result_asset.py +174 -0
- rapidata/api_client/models/get_validation_rapids_result_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/get_validation_rapids_result_truth.py +286 -0
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +37 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +129 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_campaign_filter.py +282 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +103 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +103 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +282 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/image_dimension_metadata.py +13 -4
- rapidata/api_client/models/image_dimension_metadata_model.py +2 -4
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +92 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +21 -4
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +14 -5
- rapidata/api_client/models/location_metadata_model.py +2 -4
- rapidata/api_client/models/logic_operator.py +3 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_visibilities.py +1 -0
- rapidata/api_client/models/multi_asset.py +17 -12
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +21 -16
- rapidata/api_client/models/multi_asset_model2.py +3 -3
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/new_user_filter_model.py +94 -0
- rapidata/api_client/models/new_user_filter_model1.py +94 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +87 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +102 -0
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/null_asset_model.py +18 -13
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +106 -0
- rapidata/api_client/models/order_model.py +16 -13
- rapidata/api_client/models/order_state.py +3 -2
- rapidata/api_client/models/original_filename_metadata.py +14 -5
- rapidata/api_client/models/original_filename_metadata_model.py +2 -4
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_artifact_id_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/preliminary_download_model.py +87 -0
- rapidata/api_client/models/preliminary_download_result.py +87 -0
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +13 -4
- rapidata/api_client/models/prompt_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_metadata_model.py +2 -4
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +111 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/query_validation_rapids_result.py +50 -5
- rapidata/api_client/models/query_validation_rapids_result_asset.py +40 -40
- rapidata/api_client/models/query_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/query_validation_rapids_result_truth.py +258 -0
- rapidata/api_client/models/rapid_answer.py +3 -1
- rapidata/api_client/models/rapid_answer_result.py +31 -17
- rapidata/api_client/models/rapid_issue.py +45 -0
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_response.py +103 -0
- rapidata/api_client/models/rapid_response_result.py +266 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_result_model_result.py +31 -17
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +41 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +3 -8
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +109 -0
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/retrieval_mode.py +38 -0
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_payload.py +96 -0
- rapidata/api_client/models/scrub_range.py +89 -0
- rapidata/api_client/models/scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/scrub_result.py +98 -0
- rapidata/api_client/models/scrub_truth.py +104 -0
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/shuffling_selection.py +106 -0
- rapidata/api_client/models/simple_workflow_config.py +6 -17
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +6 -22
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +31 -17
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +5 -12
- rapidata/api_client/models/simple_workflow_model_blueprint.py +31 -17
- rapidata/api_client/models/skip_truth.py +94 -0
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +109 -0
- rapidata/api_client/models/source_url_metadata_model.py +96 -0
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +39 -0
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +87 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +15 -10
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +18 -13
- rapidata/api_client/models/text_metadata.py +20 -6
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +9 -6
- rapidata/api_client/models/transcription_metadata.py +10 -4
- rapidata/api_client/models/transcription_metadata_input.py +4 -6
- rapidata/api_client/models/transcription_metadata_model.py +1 -3
- rapidata/api_client/models/transcription_truth.py +23 -4
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_prompt_metadata_model.py +2 -4
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +102 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +99 -0
- rapidata/api_client/models/update_dataset_name_model.py +87 -0
- rapidata/api_client/models/update_dimensions_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +87 -0
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +125 -0
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +280 -0
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +15 -5
- rapidata/api_client/models/upload_from_s3_result.py +87 -0
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +26 -4
- rapidata/api_client/models/url_asset_input.py +100 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_score_user_filter_model.py +9 -2
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_import_post_request_blueprint.py +31 -17
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +193 -154
- rapidata/api_client_README.md +488 -293
- rapidata/rapidata_client/__init__.py +27 -13
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +32 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +221 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +145 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +546 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +219 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +10 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +169 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/datapoints/metadata/__init__.py +7 -0
- rapidata/rapidata_client/{selection/base_selection.py → datapoints/metadata/_base_metadata.py} +2 -1
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +26 -0
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +12 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +17 -0
- rapidata/rapidata_client/demographic/__init__.py +0 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +54 -0
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +7 -1
- rapidata/rapidata_client/filter/_base_filter.py +62 -0
- rapidata/rapidata_client/filter/age_filter.py +28 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +28 -11
- rapidata/rapidata_client/filter/country_filter.py +42 -13
- rapidata/rapidata_client/filter/custom_filter.py +39 -0
- rapidata/rapidata_client/filter/gender_filter.py +29 -10
- rapidata/rapidata_client/filter/language_filter.py +49 -15
- rapidata/rapidata_client/filter/models/__init__.py +0 -0
- rapidata/rapidata_client/filter/models/age_group.py +28 -0
- rapidata/rapidata_client/filter/models/gender.py +23 -0
- rapidata/rapidata_client/filter/new_user_filter.py +20 -0
- rapidata/rapidata_client/filter/not_filter.py +42 -0
- rapidata/rapidata_client/filter/or_filter.py +42 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +60 -0
- rapidata/rapidata_client/filter/response_count_filter.py +62 -0
- rapidata/rapidata_client/filter/user_score_filter.py +60 -14
- rapidata/rapidata_client/order/_rapidata_order_builder.py +481 -0
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +393 -90
- rapidata/rapidata_client/order/rapidata_order_manager.py +922 -0
- rapidata/rapidata_client/order/rapidata_results.py +251 -0
- rapidata/rapidata_client/rapidata_client.py +125 -180
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +9 -5
- rapidata/rapidata_client/referee/_early_stopping_referee.py +62 -0
- rapidata/rapidata_client/referee/_naive_referee.py +48 -0
- rapidata/rapidata_client/selection/__init__.py +6 -1
- rapidata/rapidata_client/selection/_base_selection.py +16 -0
- rapidata/rapidata_client/selection/ab_test_selection.py +46 -0
- rapidata/rapidata_client/selection/capped_selection.py +34 -17
- rapidata/rapidata_client/selection/conditional_validation_selection.py +71 -21
- rapidata/rapidata_client/selection/demographic_selection.py +43 -8
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +45 -8
- rapidata/rapidata_client/selection/rapidata_retrieval_modes.py +21 -0
- rapidata/rapidata_client/selection/rapidata_selections.py +47 -0
- rapidata/rapidata_client/selection/shuffling_selection.py +44 -0
- rapidata/rapidata_client/selection/static_selection.py +33 -0
- rapidata/rapidata_client/selection/validation_selection.py +29 -6
- rapidata/rapidata_client/settings/__init__.py +12 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +24 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +25 -0
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +17 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +22 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +15 -0
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +18 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +19 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +51 -0
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +20 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +141 -0
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +42 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +469 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +814 -0
- rapidata/rapidata_client/workflow/__init__.py +11 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +43 -0
- rapidata/rapidata_client/workflow/_classify_workflow.py +92 -0
- rapidata/rapidata_client/workflow/_compare_workflow.py +76 -0
- rapidata/rapidata_client/workflow/_draw_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +47 -0
- rapidata/rapidata_client/workflow/_free_text_workflow.py +81 -0
- rapidata/rapidata_client/workflow/_locate_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +131 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +74 -0
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +65 -0
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +41 -32
- rapidata/service/openapi_service.py +153 -35
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.4.dist-info/METADATA +32 -0
- rapidata-2.44.4.dist-info/RECORD +1014 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info}/WHEEL +1 -1
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/assets/__init__.py +0 -8
- rapidata/rapidata_client/assets/base_asset.py +0 -11
- rapidata/rapidata_client/assets/media_asset.py +0 -88
- rapidata/rapidata_client/assets/multi_asset.py +0 -55
- rapidata/rapidata_client/assets/text_asset.py +0 -28
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -32
- rapidata/rapidata_client/dataset/rapid_builders/transcription_rapid_builders.py +0 -132
- rapidata/rapidata_client/dataset/rapidata_dataset.py +0 -126
- rapidata/rapidata_client/dataset/rapidata_validation_set.py +0 -300
- rapidata/rapidata_client/dataset/validation_rapid_parts.py +0 -55
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -324
- rapidata/rapidata_client/filter/base_filter.py +0 -9
- rapidata/rapidata_client/metadata/__init__.py +0 -5
- rapidata/rapidata_client/metadata/base_metadata.py +0 -12
- rapidata/rapidata_client/metadata/private_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/prompt_metadata.py +0 -17
- rapidata/rapidata_client/metadata/public_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/transcription_metadata.py +0 -19
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/referee/early_stopping_referee.py +0 -50
- rapidata/rapidata_client/referee/naive_referee.py +0 -33
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -245
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -250
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -180
- rapidata/rapidata_client/simple_builders/simple_transcription_builders.py +0 -194
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/classify_workflow.py +0 -49
- rapidata/rapidata_client/workflow/compare_workflow.py +0 -47
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- rapidata/rapidata_client/workflow/free_text_workflow.py +0 -50
- rapidata/rapidata_client/workflow/transcription_workflow.py +0 -40
- rapidata/service/local_file_service.py +0 -25
- rapidata/service/token_manager.py +0 -175
- rapidata-1.8.3.dist-info/METADATA +0 -28
- rapidata-1.8.3.dist-info/RECORD +0 -396
- /rapidata/rapidata_client/{dataset → api}/__init__.py +0 -0
- /rapidata/rapidata_client/{simple_builders → benchmark}/__init__.py +0 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
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)
|
|
@@ -19,8 +19,11 @@ from typing_extensions import Annotated
|
|
|
19
19
|
from pydantic import Field, StrictStr
|
|
20
20
|
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
|
-
from rapidata.api_client.models.
|
|
23
|
-
from rapidata.api_client.models.
|
|
22
|
+
from rapidata.api_client.models.change_boost_model import ChangeBoostModel
|
|
23
|
+
from rapidata.api_client.models.get_boost_result import GetBoostResult
|
|
24
|
+
from rapidata.api_client.models.paged_result_of_campaign_query_result import PagedResultOfCampaignQueryResult
|
|
25
|
+
from rapidata.api_client.models.query_model import QueryModel
|
|
26
|
+
from rapidata.api_client.models.update_campaign_model import UpdateCampaignModel
|
|
24
27
|
|
|
25
28
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
26
29
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -41,8 +44,807 @@ class CampaignApi:
|
|
|
41
44
|
|
|
42
45
|
|
|
43
46
|
@validate_call
|
|
44
|
-
def
|
|
47
|
+
def campaign_boost_put(
|
|
48
|
+
self,
|
|
49
|
+
change_boost_model: ChangeBoostModel,
|
|
50
|
+
_request_timeout: Union[
|
|
51
|
+
None,
|
|
52
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
53
|
+
Tuple[
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
56
|
+
]
|
|
57
|
+
] = None,
|
|
58
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
59
|
+
_content_type: Optional[StrictStr] = None,
|
|
60
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
61
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
62
|
+
) -> None:
|
|
63
|
+
"""Updates the boost with manual boosts.
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
:param change_boost_model: (required)
|
|
67
|
+
:type change_boost_model: ChangeBoostModel
|
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
69
|
+
number provided, it will be total request
|
|
70
|
+
timeout. It can also be a pair (tuple) of
|
|
71
|
+
(connection, read) timeouts.
|
|
72
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
73
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
74
|
+
request; this effectively ignores the
|
|
75
|
+
authentication in the spec for a single request.
|
|
76
|
+
:type _request_auth: dict, optional
|
|
77
|
+
:param _content_type: force content-type for the request.
|
|
78
|
+
:type _content_type: str, Optional
|
|
79
|
+
:param _headers: set to override the headers for a single
|
|
80
|
+
request; this effectively ignores the headers
|
|
81
|
+
in the spec for a single request.
|
|
82
|
+
:type _headers: dict, optional
|
|
83
|
+
:param _host_index: set to override the host_index for a single
|
|
84
|
+
request; this effectively ignores the host_index
|
|
85
|
+
in the spec for a single request.
|
|
86
|
+
:type _host_index: int, optional
|
|
87
|
+
:return: Returns the result object.
|
|
88
|
+
""" # noqa: E501
|
|
89
|
+
|
|
90
|
+
_param = self._campaign_boost_put_serialize(
|
|
91
|
+
change_boost_model=change_boost_model,
|
|
92
|
+
_request_auth=_request_auth,
|
|
93
|
+
_content_type=_content_type,
|
|
94
|
+
_headers=_headers,
|
|
95
|
+
_host_index=_host_index
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
99
|
+
'204': None,
|
|
100
|
+
}
|
|
101
|
+
response_data = self.api_client.call_api(
|
|
102
|
+
*_param,
|
|
103
|
+
_request_timeout=_request_timeout
|
|
104
|
+
)
|
|
105
|
+
response_data.read()
|
|
106
|
+
return self.api_client.response_deserialize(
|
|
107
|
+
response_data=response_data,
|
|
108
|
+
response_types_map=_response_types_map,
|
|
109
|
+
).data
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
@validate_call
|
|
113
|
+
def campaign_boost_put_with_http_info(
|
|
114
|
+
self,
|
|
115
|
+
change_boost_model: ChangeBoostModel,
|
|
116
|
+
_request_timeout: Union[
|
|
117
|
+
None,
|
|
118
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
119
|
+
Tuple[
|
|
120
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
121
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
122
|
+
]
|
|
123
|
+
] = None,
|
|
124
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
125
|
+
_content_type: Optional[StrictStr] = None,
|
|
126
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
127
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
128
|
+
) -> ApiResponse[None]:
|
|
129
|
+
"""Updates the boost with manual boosts.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
:param change_boost_model: (required)
|
|
133
|
+
:type change_boost_model: ChangeBoostModel
|
|
134
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
135
|
+
number provided, it will be total request
|
|
136
|
+
timeout. It can also be a pair (tuple) of
|
|
137
|
+
(connection, read) timeouts.
|
|
138
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
139
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
140
|
+
request; this effectively ignores the
|
|
141
|
+
authentication in the spec for a single request.
|
|
142
|
+
:type _request_auth: dict, optional
|
|
143
|
+
:param _content_type: force content-type for the request.
|
|
144
|
+
:type _content_type: str, Optional
|
|
145
|
+
:param _headers: set to override the headers for a single
|
|
146
|
+
request; this effectively ignores the headers
|
|
147
|
+
in the spec for a single request.
|
|
148
|
+
:type _headers: dict, optional
|
|
149
|
+
:param _host_index: set to override the host_index for a single
|
|
150
|
+
request; this effectively ignores the host_index
|
|
151
|
+
in the spec for a single request.
|
|
152
|
+
:type _host_index: int, optional
|
|
153
|
+
:return: Returns the result object.
|
|
154
|
+
""" # noqa: E501
|
|
155
|
+
|
|
156
|
+
_param = self._campaign_boost_put_serialize(
|
|
157
|
+
change_boost_model=change_boost_model,
|
|
158
|
+
_request_auth=_request_auth,
|
|
159
|
+
_content_type=_content_type,
|
|
160
|
+
_headers=_headers,
|
|
161
|
+
_host_index=_host_index
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
165
|
+
'204': None,
|
|
166
|
+
}
|
|
167
|
+
response_data = self.api_client.call_api(
|
|
168
|
+
*_param,
|
|
169
|
+
_request_timeout=_request_timeout
|
|
170
|
+
)
|
|
171
|
+
response_data.read()
|
|
172
|
+
return self.api_client.response_deserialize(
|
|
173
|
+
response_data=response_data,
|
|
174
|
+
response_types_map=_response_types_map,
|
|
175
|
+
)
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
@validate_call
|
|
179
|
+
def campaign_boost_put_without_preload_content(
|
|
180
|
+
self,
|
|
181
|
+
change_boost_model: ChangeBoostModel,
|
|
182
|
+
_request_timeout: Union[
|
|
183
|
+
None,
|
|
184
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
185
|
+
Tuple[
|
|
186
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
187
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
188
|
+
]
|
|
189
|
+
] = None,
|
|
190
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
191
|
+
_content_type: Optional[StrictStr] = None,
|
|
192
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
193
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
194
|
+
) -> RESTResponseType:
|
|
195
|
+
"""Updates the boost with manual boosts.
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
:param change_boost_model: (required)
|
|
199
|
+
:type change_boost_model: ChangeBoostModel
|
|
200
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
201
|
+
number provided, it will be total request
|
|
202
|
+
timeout. It can also be a pair (tuple) of
|
|
203
|
+
(connection, read) timeouts.
|
|
204
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
205
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
206
|
+
request; this effectively ignores the
|
|
207
|
+
authentication in the spec for a single request.
|
|
208
|
+
:type _request_auth: dict, optional
|
|
209
|
+
:param _content_type: force content-type for the request.
|
|
210
|
+
:type _content_type: str, Optional
|
|
211
|
+
:param _headers: set to override the headers for a single
|
|
212
|
+
request; this effectively ignores the headers
|
|
213
|
+
in the spec for a single request.
|
|
214
|
+
:type _headers: dict, optional
|
|
215
|
+
:param _host_index: set to override the host_index for a single
|
|
216
|
+
request; this effectively ignores the host_index
|
|
217
|
+
in the spec for a single request.
|
|
218
|
+
:type _host_index: int, optional
|
|
219
|
+
:return: Returns the result object.
|
|
220
|
+
""" # noqa: E501
|
|
221
|
+
|
|
222
|
+
_param = self._campaign_boost_put_serialize(
|
|
223
|
+
change_boost_model=change_boost_model,
|
|
224
|
+
_request_auth=_request_auth,
|
|
225
|
+
_content_type=_content_type,
|
|
226
|
+
_headers=_headers,
|
|
227
|
+
_host_index=_host_index
|
|
228
|
+
)
|
|
229
|
+
|
|
230
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
231
|
+
'204': None,
|
|
232
|
+
}
|
|
233
|
+
response_data = self.api_client.call_api(
|
|
234
|
+
*_param,
|
|
235
|
+
_request_timeout=_request_timeout
|
|
236
|
+
)
|
|
237
|
+
return response_data.response
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
def _campaign_boost_put_serialize(
|
|
241
|
+
self,
|
|
242
|
+
change_boost_model,
|
|
243
|
+
_request_auth,
|
|
244
|
+
_content_type,
|
|
245
|
+
_headers,
|
|
246
|
+
_host_index,
|
|
247
|
+
) -> RequestSerialized:
|
|
248
|
+
|
|
249
|
+
_host = None
|
|
250
|
+
|
|
251
|
+
_collection_formats: Dict[str, str] = {
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
_path_params: Dict[str, str] = {}
|
|
255
|
+
_query_params: List[Tuple[str, str]] = []
|
|
256
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
257
|
+
_form_params: List[Tuple[str, str]] = []
|
|
258
|
+
_files: Dict[
|
|
259
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
260
|
+
] = {}
|
|
261
|
+
_body_params: Optional[bytes] = None
|
|
262
|
+
|
|
263
|
+
# process the path parameters
|
|
264
|
+
# process the query parameters
|
|
265
|
+
# process the header parameters
|
|
266
|
+
# process the form parameters
|
|
267
|
+
# process the body parameter
|
|
268
|
+
if change_boost_model is not None:
|
|
269
|
+
_body_params = change_boost_model
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
# set the HTTP header `Content-Type`
|
|
274
|
+
if _content_type:
|
|
275
|
+
_header_params['Content-Type'] = _content_type
|
|
276
|
+
else:
|
|
277
|
+
_default_content_type = (
|
|
278
|
+
self.api_client.select_header_content_type(
|
|
279
|
+
[
|
|
280
|
+
'application/json',
|
|
281
|
+
'text/json',
|
|
282
|
+
'application/*+json'
|
|
283
|
+
]
|
|
284
|
+
)
|
|
285
|
+
)
|
|
286
|
+
if _default_content_type is not None:
|
|
287
|
+
_header_params['Content-Type'] = _default_content_type
|
|
288
|
+
|
|
289
|
+
# authentication setting
|
|
290
|
+
_auth_settings: List[str] = [
|
|
291
|
+
'OAuth2',
|
|
292
|
+
'OpenIdConnect',
|
|
293
|
+
'Bearer'
|
|
294
|
+
]
|
|
295
|
+
|
|
296
|
+
return self.api_client.param_serialize(
|
|
297
|
+
method='PUT',
|
|
298
|
+
resource_path='/campaign/boost',
|
|
299
|
+
path_params=_path_params,
|
|
300
|
+
query_params=_query_params,
|
|
301
|
+
header_params=_header_params,
|
|
302
|
+
body=_body_params,
|
|
303
|
+
post_params=_form_params,
|
|
304
|
+
files=_files,
|
|
305
|
+
auth_settings=_auth_settings,
|
|
306
|
+
collection_formats=_collection_formats,
|
|
307
|
+
_host=_host,
|
|
308
|
+
_request_auth=_request_auth
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
@validate_call
|
|
315
|
+
def campaign_boost_status_get(
|
|
316
|
+
self,
|
|
317
|
+
_request_timeout: Union[
|
|
318
|
+
None,
|
|
319
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
320
|
+
Tuple[
|
|
321
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
322
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
323
|
+
]
|
|
324
|
+
] = None,
|
|
325
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
326
|
+
_content_type: Optional[StrictStr] = None,
|
|
327
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
328
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
329
|
+
) -> GetBoostResult:
|
|
330
|
+
"""Gets the status of the boost.
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
334
|
+
number provided, it will be total request
|
|
335
|
+
timeout. It can also be a pair (tuple) of
|
|
336
|
+
(connection, read) timeouts.
|
|
337
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
338
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
339
|
+
request; this effectively ignores the
|
|
340
|
+
authentication in the spec for a single request.
|
|
341
|
+
:type _request_auth: dict, optional
|
|
342
|
+
:param _content_type: force content-type for the request.
|
|
343
|
+
:type _content_type: str, Optional
|
|
344
|
+
:param _headers: set to override the headers for a single
|
|
345
|
+
request; this effectively ignores the headers
|
|
346
|
+
in the spec for a single request.
|
|
347
|
+
:type _headers: dict, optional
|
|
348
|
+
:param _host_index: set to override the host_index for a single
|
|
349
|
+
request; this effectively ignores the host_index
|
|
350
|
+
in the spec for a single request.
|
|
351
|
+
:type _host_index: int, optional
|
|
352
|
+
:return: Returns the result object.
|
|
353
|
+
""" # noqa: E501
|
|
354
|
+
|
|
355
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
356
|
+
_request_auth=_request_auth,
|
|
357
|
+
_content_type=_content_type,
|
|
358
|
+
_headers=_headers,
|
|
359
|
+
_host_index=_host_index
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
363
|
+
'200': "GetBoostResult",
|
|
364
|
+
}
|
|
365
|
+
response_data = self.api_client.call_api(
|
|
366
|
+
*_param,
|
|
367
|
+
_request_timeout=_request_timeout
|
|
368
|
+
)
|
|
369
|
+
response_data.read()
|
|
370
|
+
return self.api_client.response_deserialize(
|
|
371
|
+
response_data=response_data,
|
|
372
|
+
response_types_map=_response_types_map,
|
|
373
|
+
).data
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
@validate_call
|
|
377
|
+
def campaign_boost_status_get_with_http_info(
|
|
378
|
+
self,
|
|
379
|
+
_request_timeout: Union[
|
|
380
|
+
None,
|
|
381
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
382
|
+
Tuple[
|
|
383
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
384
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
385
|
+
]
|
|
386
|
+
] = None,
|
|
387
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
388
|
+
_content_type: Optional[StrictStr] = None,
|
|
389
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
390
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
391
|
+
) -> ApiResponse[GetBoostResult]:
|
|
392
|
+
"""Gets the status of the boost.
|
|
393
|
+
|
|
394
|
+
|
|
395
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
396
|
+
number provided, it will be total request
|
|
397
|
+
timeout. It can also be a pair (tuple) of
|
|
398
|
+
(connection, read) timeouts.
|
|
399
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
400
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
401
|
+
request; this effectively ignores the
|
|
402
|
+
authentication in the spec for a single request.
|
|
403
|
+
:type _request_auth: dict, optional
|
|
404
|
+
:param _content_type: force content-type for the request.
|
|
405
|
+
:type _content_type: str, Optional
|
|
406
|
+
:param _headers: set to override the headers for a single
|
|
407
|
+
request; this effectively ignores the headers
|
|
408
|
+
in the spec for a single request.
|
|
409
|
+
:type _headers: dict, optional
|
|
410
|
+
:param _host_index: set to override the host_index for a single
|
|
411
|
+
request; this effectively ignores the host_index
|
|
412
|
+
in the spec for a single request.
|
|
413
|
+
:type _host_index: int, optional
|
|
414
|
+
:return: Returns the result object.
|
|
415
|
+
""" # noqa: E501
|
|
416
|
+
|
|
417
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
418
|
+
_request_auth=_request_auth,
|
|
419
|
+
_content_type=_content_type,
|
|
420
|
+
_headers=_headers,
|
|
421
|
+
_host_index=_host_index
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
425
|
+
'200': "GetBoostResult",
|
|
426
|
+
}
|
|
427
|
+
response_data = self.api_client.call_api(
|
|
428
|
+
*_param,
|
|
429
|
+
_request_timeout=_request_timeout
|
|
430
|
+
)
|
|
431
|
+
response_data.read()
|
|
432
|
+
return self.api_client.response_deserialize(
|
|
433
|
+
response_data=response_data,
|
|
434
|
+
response_types_map=_response_types_map,
|
|
435
|
+
)
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
@validate_call
|
|
439
|
+
def campaign_boost_status_get_without_preload_content(
|
|
440
|
+
self,
|
|
441
|
+
_request_timeout: Union[
|
|
442
|
+
None,
|
|
443
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
444
|
+
Tuple[
|
|
445
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
446
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
447
|
+
]
|
|
448
|
+
] = None,
|
|
449
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
450
|
+
_content_type: Optional[StrictStr] = None,
|
|
451
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
452
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
453
|
+
) -> RESTResponseType:
|
|
454
|
+
"""Gets the status of the boost.
|
|
455
|
+
|
|
456
|
+
|
|
457
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
458
|
+
number provided, it will be total request
|
|
459
|
+
timeout. It can also be a pair (tuple) of
|
|
460
|
+
(connection, read) timeouts.
|
|
461
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
462
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
463
|
+
request; this effectively ignores the
|
|
464
|
+
authentication in the spec for a single request.
|
|
465
|
+
:type _request_auth: dict, optional
|
|
466
|
+
:param _content_type: force content-type for the request.
|
|
467
|
+
:type _content_type: str, Optional
|
|
468
|
+
:param _headers: set to override the headers for a single
|
|
469
|
+
request; this effectively ignores the headers
|
|
470
|
+
in the spec for a single request.
|
|
471
|
+
:type _headers: dict, optional
|
|
472
|
+
:param _host_index: set to override the host_index for a single
|
|
473
|
+
request; this effectively ignores the host_index
|
|
474
|
+
in the spec for a single request.
|
|
475
|
+
:type _host_index: int, optional
|
|
476
|
+
:return: Returns the result object.
|
|
477
|
+
""" # noqa: E501
|
|
478
|
+
|
|
479
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
480
|
+
_request_auth=_request_auth,
|
|
481
|
+
_content_type=_content_type,
|
|
482
|
+
_headers=_headers,
|
|
483
|
+
_host_index=_host_index
|
|
484
|
+
)
|
|
485
|
+
|
|
486
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
487
|
+
'200': "GetBoostResult",
|
|
488
|
+
}
|
|
489
|
+
response_data = self.api_client.call_api(
|
|
490
|
+
*_param,
|
|
491
|
+
_request_timeout=_request_timeout
|
|
492
|
+
)
|
|
493
|
+
return response_data.response
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
def _campaign_boost_status_get_serialize(
|
|
497
|
+
self,
|
|
498
|
+
_request_auth,
|
|
499
|
+
_content_type,
|
|
500
|
+
_headers,
|
|
501
|
+
_host_index,
|
|
502
|
+
) -> RequestSerialized:
|
|
503
|
+
|
|
504
|
+
_host = None
|
|
505
|
+
|
|
506
|
+
_collection_formats: Dict[str, str] = {
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
_path_params: Dict[str, str] = {}
|
|
510
|
+
_query_params: List[Tuple[str, str]] = []
|
|
511
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
512
|
+
_form_params: List[Tuple[str, str]] = []
|
|
513
|
+
_files: Dict[
|
|
514
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
515
|
+
] = {}
|
|
516
|
+
_body_params: Optional[bytes] = None
|
|
517
|
+
|
|
518
|
+
# process the path parameters
|
|
519
|
+
# process the query parameters
|
|
520
|
+
# process the header parameters
|
|
521
|
+
# process the form parameters
|
|
522
|
+
# process the body parameter
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
# set the HTTP header `Accept`
|
|
526
|
+
if 'Accept' not in _header_params:
|
|
527
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
528
|
+
[
|
|
529
|
+
'text/plain',
|
|
530
|
+
'application/json',
|
|
531
|
+
'text/json'
|
|
532
|
+
]
|
|
533
|
+
)
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
# authentication setting
|
|
537
|
+
_auth_settings: List[str] = [
|
|
538
|
+
'OAuth2',
|
|
539
|
+
'OpenIdConnect',
|
|
540
|
+
'Bearer'
|
|
541
|
+
]
|
|
542
|
+
|
|
543
|
+
return self.api_client.param_serialize(
|
|
544
|
+
method='GET',
|
|
545
|
+
resource_path='/campaign/boost/status',
|
|
546
|
+
path_params=_path_params,
|
|
547
|
+
query_params=_query_params,
|
|
548
|
+
header_params=_header_params,
|
|
549
|
+
body=_body_params,
|
|
550
|
+
post_params=_form_params,
|
|
551
|
+
files=_files,
|
|
552
|
+
auth_settings=_auth_settings,
|
|
553
|
+
collection_formats=_collection_formats,
|
|
554
|
+
_host=_host,
|
|
555
|
+
_request_auth=_request_auth
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
@validate_call
|
|
562
|
+
def campaign_campaign_id_patch(
|
|
563
|
+
self,
|
|
564
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign to update")],
|
|
565
|
+
update_campaign_model: Annotated[UpdateCampaignModel, Field(description="model containing the updates")],
|
|
566
|
+
_request_timeout: Union[
|
|
567
|
+
None,
|
|
568
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
569
|
+
Tuple[
|
|
570
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
571
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
572
|
+
]
|
|
573
|
+
] = None,
|
|
574
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
575
|
+
_content_type: Optional[StrictStr] = None,
|
|
576
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
577
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
578
|
+
) -> None:
|
|
579
|
+
"""Updates a campaign.
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
:param campaign_id: id of the campaign to update (required)
|
|
583
|
+
:type campaign_id: str
|
|
584
|
+
:param update_campaign_model: model containing the updates (required)
|
|
585
|
+
:type update_campaign_model: UpdateCampaignModel
|
|
586
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
587
|
+
number provided, it will be total request
|
|
588
|
+
timeout. It can also be a pair (tuple) of
|
|
589
|
+
(connection, read) timeouts.
|
|
590
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
591
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
592
|
+
request; this effectively ignores the
|
|
593
|
+
authentication in the spec for a single request.
|
|
594
|
+
:type _request_auth: dict, optional
|
|
595
|
+
:param _content_type: force content-type for the request.
|
|
596
|
+
:type _content_type: str, Optional
|
|
597
|
+
:param _headers: set to override the headers for a single
|
|
598
|
+
request; this effectively ignores the headers
|
|
599
|
+
in the spec for a single request.
|
|
600
|
+
:type _headers: dict, optional
|
|
601
|
+
:param _host_index: set to override the host_index for a single
|
|
602
|
+
request; this effectively ignores the host_index
|
|
603
|
+
in the spec for a single request.
|
|
604
|
+
:type _host_index: int, optional
|
|
605
|
+
:return: Returns the result object.
|
|
606
|
+
""" # noqa: E501
|
|
607
|
+
|
|
608
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
609
|
+
campaign_id=campaign_id,
|
|
610
|
+
update_campaign_model=update_campaign_model,
|
|
611
|
+
_request_auth=_request_auth,
|
|
612
|
+
_content_type=_content_type,
|
|
613
|
+
_headers=_headers,
|
|
614
|
+
_host_index=_host_index
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
618
|
+
'204': None,
|
|
619
|
+
}
|
|
620
|
+
response_data = self.api_client.call_api(
|
|
621
|
+
*_param,
|
|
622
|
+
_request_timeout=_request_timeout
|
|
623
|
+
)
|
|
624
|
+
response_data.read()
|
|
625
|
+
return self.api_client.response_deserialize(
|
|
626
|
+
response_data=response_data,
|
|
627
|
+
response_types_map=_response_types_map,
|
|
628
|
+
).data
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
@validate_call
|
|
632
|
+
def campaign_campaign_id_patch_with_http_info(
|
|
633
|
+
self,
|
|
634
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign to update")],
|
|
635
|
+
update_campaign_model: Annotated[UpdateCampaignModel, Field(description="model containing the updates")],
|
|
636
|
+
_request_timeout: Union[
|
|
637
|
+
None,
|
|
638
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
639
|
+
Tuple[
|
|
640
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
641
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
642
|
+
]
|
|
643
|
+
] = None,
|
|
644
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
645
|
+
_content_type: Optional[StrictStr] = None,
|
|
646
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
647
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
648
|
+
) -> ApiResponse[None]:
|
|
649
|
+
"""Updates a campaign.
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
:param campaign_id: id of the campaign to update (required)
|
|
653
|
+
:type campaign_id: str
|
|
654
|
+
:param update_campaign_model: model containing the updates (required)
|
|
655
|
+
:type update_campaign_model: UpdateCampaignModel
|
|
656
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
657
|
+
number provided, it will be total request
|
|
658
|
+
timeout. It can also be a pair (tuple) of
|
|
659
|
+
(connection, read) timeouts.
|
|
660
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
661
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
662
|
+
request; this effectively ignores the
|
|
663
|
+
authentication in the spec for a single request.
|
|
664
|
+
:type _request_auth: dict, optional
|
|
665
|
+
:param _content_type: force content-type for the request.
|
|
666
|
+
:type _content_type: str, Optional
|
|
667
|
+
:param _headers: set to override the headers for a single
|
|
668
|
+
request; this effectively ignores the headers
|
|
669
|
+
in the spec for a single request.
|
|
670
|
+
:type _headers: dict, optional
|
|
671
|
+
:param _host_index: set to override the host_index for a single
|
|
672
|
+
request; this effectively ignores the host_index
|
|
673
|
+
in the spec for a single request.
|
|
674
|
+
:type _host_index: int, optional
|
|
675
|
+
:return: Returns the result object.
|
|
676
|
+
""" # noqa: E501
|
|
677
|
+
|
|
678
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
679
|
+
campaign_id=campaign_id,
|
|
680
|
+
update_campaign_model=update_campaign_model,
|
|
681
|
+
_request_auth=_request_auth,
|
|
682
|
+
_content_type=_content_type,
|
|
683
|
+
_headers=_headers,
|
|
684
|
+
_host_index=_host_index
|
|
685
|
+
)
|
|
686
|
+
|
|
687
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
688
|
+
'204': None,
|
|
689
|
+
}
|
|
690
|
+
response_data = self.api_client.call_api(
|
|
691
|
+
*_param,
|
|
692
|
+
_request_timeout=_request_timeout
|
|
693
|
+
)
|
|
694
|
+
response_data.read()
|
|
695
|
+
return self.api_client.response_deserialize(
|
|
696
|
+
response_data=response_data,
|
|
697
|
+
response_types_map=_response_types_map,
|
|
698
|
+
)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
@validate_call
|
|
702
|
+
def campaign_campaign_id_patch_without_preload_content(
|
|
703
|
+
self,
|
|
704
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign to update")],
|
|
705
|
+
update_campaign_model: Annotated[UpdateCampaignModel, Field(description="model containing the updates")],
|
|
706
|
+
_request_timeout: Union[
|
|
707
|
+
None,
|
|
708
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
709
|
+
Tuple[
|
|
710
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
711
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
712
|
+
]
|
|
713
|
+
] = None,
|
|
714
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
715
|
+
_content_type: Optional[StrictStr] = None,
|
|
716
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
717
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
718
|
+
) -> RESTResponseType:
|
|
719
|
+
"""Updates a campaign.
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
:param campaign_id: id of the campaign to update (required)
|
|
723
|
+
:type campaign_id: str
|
|
724
|
+
:param update_campaign_model: model containing the updates (required)
|
|
725
|
+
:type update_campaign_model: UpdateCampaignModel
|
|
726
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
727
|
+
number provided, it will be total request
|
|
728
|
+
timeout. It can also be a pair (tuple) of
|
|
729
|
+
(connection, read) timeouts.
|
|
730
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
731
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
732
|
+
request; this effectively ignores the
|
|
733
|
+
authentication in the spec for a single request.
|
|
734
|
+
:type _request_auth: dict, optional
|
|
735
|
+
:param _content_type: force content-type for the request.
|
|
736
|
+
:type _content_type: str, Optional
|
|
737
|
+
:param _headers: set to override the headers for a single
|
|
738
|
+
request; this effectively ignores the headers
|
|
739
|
+
in the spec for a single request.
|
|
740
|
+
:type _headers: dict, optional
|
|
741
|
+
:param _host_index: set to override the host_index for a single
|
|
742
|
+
request; this effectively ignores the host_index
|
|
743
|
+
in the spec for a single request.
|
|
744
|
+
:type _host_index: int, optional
|
|
745
|
+
:return: Returns the result object.
|
|
746
|
+
""" # noqa: E501
|
|
747
|
+
|
|
748
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
749
|
+
campaign_id=campaign_id,
|
|
750
|
+
update_campaign_model=update_campaign_model,
|
|
751
|
+
_request_auth=_request_auth,
|
|
752
|
+
_content_type=_content_type,
|
|
753
|
+
_headers=_headers,
|
|
754
|
+
_host_index=_host_index
|
|
755
|
+
)
|
|
756
|
+
|
|
757
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
758
|
+
'204': None,
|
|
759
|
+
}
|
|
760
|
+
response_data = self.api_client.call_api(
|
|
761
|
+
*_param,
|
|
762
|
+
_request_timeout=_request_timeout
|
|
763
|
+
)
|
|
764
|
+
return response_data.response
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
def _campaign_campaign_id_patch_serialize(
|
|
768
|
+
self,
|
|
769
|
+
campaign_id,
|
|
770
|
+
update_campaign_model,
|
|
771
|
+
_request_auth,
|
|
772
|
+
_content_type,
|
|
773
|
+
_headers,
|
|
774
|
+
_host_index,
|
|
775
|
+
) -> RequestSerialized:
|
|
776
|
+
|
|
777
|
+
_host = None
|
|
778
|
+
|
|
779
|
+
_collection_formats: Dict[str, str] = {
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
_path_params: Dict[str, str] = {}
|
|
783
|
+
_query_params: List[Tuple[str, str]] = []
|
|
784
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
785
|
+
_form_params: List[Tuple[str, str]] = []
|
|
786
|
+
_files: Dict[
|
|
787
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
788
|
+
] = {}
|
|
789
|
+
_body_params: Optional[bytes] = None
|
|
790
|
+
|
|
791
|
+
# process the path parameters
|
|
792
|
+
if campaign_id is not None:
|
|
793
|
+
_path_params['campaignId'] = campaign_id
|
|
794
|
+
# process the query parameters
|
|
795
|
+
# process the header parameters
|
|
796
|
+
# process the form parameters
|
|
797
|
+
# process the body parameter
|
|
798
|
+
if update_campaign_model is not None:
|
|
799
|
+
_body_params = update_campaign_model
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
# set the HTTP header `Content-Type`
|
|
804
|
+
if _content_type:
|
|
805
|
+
_header_params['Content-Type'] = _content_type
|
|
806
|
+
else:
|
|
807
|
+
_default_content_type = (
|
|
808
|
+
self.api_client.select_header_content_type(
|
|
809
|
+
[
|
|
810
|
+
'application/json',
|
|
811
|
+
'text/json',
|
|
812
|
+
'application/*+json'
|
|
813
|
+
]
|
|
814
|
+
)
|
|
815
|
+
)
|
|
816
|
+
if _default_content_type is not None:
|
|
817
|
+
_header_params['Content-Type'] = _default_content_type
|
|
818
|
+
|
|
819
|
+
# authentication setting
|
|
820
|
+
_auth_settings: List[str] = [
|
|
821
|
+
'OAuth2',
|
|
822
|
+
'OpenIdConnect',
|
|
823
|
+
'Bearer'
|
|
824
|
+
]
|
|
825
|
+
|
|
826
|
+
return self.api_client.param_serialize(
|
|
827
|
+
method='PATCH',
|
|
828
|
+
resource_path='/campaign/{campaignId}',
|
|
829
|
+
path_params=_path_params,
|
|
830
|
+
query_params=_query_params,
|
|
831
|
+
header_params=_header_params,
|
|
832
|
+
body=_body_params,
|
|
833
|
+
post_params=_form_params,
|
|
834
|
+
files=_files,
|
|
835
|
+
auth_settings=_auth_settings,
|
|
836
|
+
collection_formats=_collection_formats,
|
|
837
|
+
_host=_host,
|
|
838
|
+
_request_auth=_request_auth
|
|
839
|
+
)
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
|
|
844
|
+
@validate_call
|
|
845
|
+
def campaign_campaign_id_pause_post(
|
|
45
846
|
self,
|
|
847
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
46
848
|
_request_timeout: Union[
|
|
47
849
|
None,
|
|
48
850
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -56,9 +858,11 @@ class CampaignApi:
|
|
|
56
858
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
57
859
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
58
860
|
) -> None:
|
|
59
|
-
"""
|
|
861
|
+
"""Pauses a campaign.
|
|
60
862
|
|
|
61
863
|
|
|
864
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
865
|
+
:type campaign_id: str
|
|
62
866
|
:param _request_timeout: timeout setting for this request. If one
|
|
63
867
|
number provided, it will be total request
|
|
64
868
|
timeout. It can also be a pair (tuple) of
|
|
@@ -81,7 +885,8 @@ class CampaignApi:
|
|
|
81
885
|
:return: Returns the result object.
|
|
82
886
|
""" # noqa: E501
|
|
83
887
|
|
|
84
|
-
_param = self.
|
|
888
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
889
|
+
campaign_id=campaign_id,
|
|
85
890
|
_request_auth=_request_auth,
|
|
86
891
|
_content_type=_content_type,
|
|
87
892
|
_headers=_headers,
|
|
@@ -89,7 +894,7 @@ class CampaignApi:
|
|
|
89
894
|
)
|
|
90
895
|
|
|
91
896
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
92
|
-
'
|
|
897
|
+
'204': None,
|
|
93
898
|
}
|
|
94
899
|
response_data = self.api_client.call_api(
|
|
95
900
|
*_param,
|
|
@@ -103,8 +908,9 @@ class CampaignApi:
|
|
|
103
908
|
|
|
104
909
|
|
|
105
910
|
@validate_call
|
|
106
|
-
def
|
|
911
|
+
def campaign_campaign_id_pause_post_with_http_info(
|
|
107
912
|
self,
|
|
913
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
108
914
|
_request_timeout: Union[
|
|
109
915
|
None,
|
|
110
916
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -118,9 +924,11 @@ class CampaignApi:
|
|
|
118
924
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
119
925
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
120
926
|
) -> ApiResponse[None]:
|
|
121
|
-
"""
|
|
927
|
+
"""Pauses a campaign.
|
|
122
928
|
|
|
123
929
|
|
|
930
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
931
|
+
:type campaign_id: str
|
|
124
932
|
:param _request_timeout: timeout setting for this request. If one
|
|
125
933
|
number provided, it will be total request
|
|
126
934
|
timeout. It can also be a pair (tuple) of
|
|
@@ -143,7 +951,8 @@ class CampaignApi:
|
|
|
143
951
|
:return: Returns the result object.
|
|
144
952
|
""" # noqa: E501
|
|
145
953
|
|
|
146
|
-
_param = self.
|
|
954
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
955
|
+
campaign_id=campaign_id,
|
|
147
956
|
_request_auth=_request_auth,
|
|
148
957
|
_content_type=_content_type,
|
|
149
958
|
_headers=_headers,
|
|
@@ -151,7 +960,7 @@ class CampaignApi:
|
|
|
151
960
|
)
|
|
152
961
|
|
|
153
962
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
154
|
-
'
|
|
963
|
+
'204': None,
|
|
155
964
|
}
|
|
156
965
|
response_data = self.api_client.call_api(
|
|
157
966
|
*_param,
|
|
@@ -165,8 +974,9 @@ class CampaignApi:
|
|
|
165
974
|
|
|
166
975
|
|
|
167
976
|
@validate_call
|
|
168
|
-
def
|
|
977
|
+
def campaign_campaign_id_pause_post_without_preload_content(
|
|
169
978
|
self,
|
|
979
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
170
980
|
_request_timeout: Union[
|
|
171
981
|
None,
|
|
172
982
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -180,9 +990,11 @@ class CampaignApi:
|
|
|
180
990
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
181
991
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
182
992
|
) -> RESTResponseType:
|
|
183
|
-
"""
|
|
993
|
+
"""Pauses a campaign.
|
|
184
994
|
|
|
185
995
|
|
|
996
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
997
|
+
:type campaign_id: str
|
|
186
998
|
:param _request_timeout: timeout setting for this request. If one
|
|
187
999
|
number provided, it will be total request
|
|
188
1000
|
timeout. It can also be a pair (tuple) of
|
|
@@ -205,7 +1017,8 @@ class CampaignApi:
|
|
|
205
1017
|
:return: Returns the result object.
|
|
206
1018
|
""" # noqa: E501
|
|
207
1019
|
|
|
208
|
-
_param = self.
|
|
1020
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
1021
|
+
campaign_id=campaign_id,
|
|
209
1022
|
_request_auth=_request_auth,
|
|
210
1023
|
_content_type=_content_type,
|
|
211
1024
|
_headers=_headers,
|
|
@@ -213,7 +1026,7 @@ class CampaignApi:
|
|
|
213
1026
|
)
|
|
214
1027
|
|
|
215
1028
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
216
|
-
'
|
|
1029
|
+
'204': None,
|
|
217
1030
|
}
|
|
218
1031
|
response_data = self.api_client.call_api(
|
|
219
1032
|
*_param,
|
|
@@ -222,8 +1035,9 @@ class CampaignApi:
|
|
|
222
1035
|
return response_data.response
|
|
223
1036
|
|
|
224
1037
|
|
|
225
|
-
def
|
|
1038
|
+
def _campaign_campaign_id_pause_post_serialize(
|
|
226
1039
|
self,
|
|
1040
|
+
campaign_id,
|
|
227
1041
|
_request_auth,
|
|
228
1042
|
_content_type,
|
|
229
1043
|
_headers,
|
|
@@ -245,6 +1059,8 @@ class CampaignApi:
|
|
|
245
1059
|
_body_params: Optional[bytes] = None
|
|
246
1060
|
|
|
247
1061
|
# process the path parameters
|
|
1062
|
+
if campaign_id is not None:
|
|
1063
|
+
_path_params['campaignId'] = campaign_id
|
|
248
1064
|
# process the query parameters
|
|
249
1065
|
# process the header parameters
|
|
250
1066
|
# process the form parameters
|
|
@@ -255,13 +1071,14 @@ class CampaignApi:
|
|
|
255
1071
|
|
|
256
1072
|
# authentication setting
|
|
257
1073
|
_auth_settings: List[str] = [
|
|
258
|
-
'
|
|
259
|
-
'
|
|
1074
|
+
'OAuth2',
|
|
1075
|
+
'OpenIdConnect',
|
|
1076
|
+
'Bearer'
|
|
260
1077
|
]
|
|
261
1078
|
|
|
262
1079
|
return self.api_client.param_serialize(
|
|
263
|
-
method='
|
|
264
|
-
resource_path='/
|
|
1080
|
+
method='POST',
|
|
1081
|
+
resource_path='/campaign/{campaignId}/pause',
|
|
265
1082
|
path_params=_path_params,
|
|
266
1083
|
query_params=_query_params,
|
|
267
1084
|
header_params=_header_params,
|
|
@@ -278,9 +1095,9 @@ class CampaignApi:
|
|
|
278
1095
|
|
|
279
1096
|
|
|
280
1097
|
@validate_call
|
|
281
|
-
def
|
|
1098
|
+
def campaign_campaign_id_resume_post(
|
|
282
1099
|
self,
|
|
283
|
-
campaign_id: Annotated[
|
|
1100
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
284
1101
|
_request_timeout: Union[
|
|
285
1102
|
None,
|
|
286
1103
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -294,10 +1111,10 @@ class CampaignApi:
|
|
|
294
1111
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
295
1112
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
296
1113
|
) -> None:
|
|
297
|
-
"""
|
|
1114
|
+
"""Resumes a campaign.
|
|
298
1115
|
|
|
299
1116
|
|
|
300
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1117
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
301
1118
|
:type campaign_id: str
|
|
302
1119
|
:param _request_timeout: timeout setting for this request. If one
|
|
303
1120
|
number provided, it will be total request
|
|
@@ -321,7 +1138,7 @@ class CampaignApi:
|
|
|
321
1138
|
:return: Returns the result object.
|
|
322
1139
|
""" # noqa: E501
|
|
323
1140
|
|
|
324
|
-
_param = self.
|
|
1141
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
325
1142
|
campaign_id=campaign_id,
|
|
326
1143
|
_request_auth=_request_auth,
|
|
327
1144
|
_content_type=_content_type,
|
|
@@ -330,7 +1147,7 @@ class CampaignApi:
|
|
|
330
1147
|
)
|
|
331
1148
|
|
|
332
1149
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
333
|
-
'
|
|
1150
|
+
'204': None,
|
|
334
1151
|
}
|
|
335
1152
|
response_data = self.api_client.call_api(
|
|
336
1153
|
*_param,
|
|
@@ -344,9 +1161,9 @@ class CampaignApi:
|
|
|
344
1161
|
|
|
345
1162
|
|
|
346
1163
|
@validate_call
|
|
347
|
-
def
|
|
1164
|
+
def campaign_campaign_id_resume_post_with_http_info(
|
|
348
1165
|
self,
|
|
349
|
-
campaign_id: Annotated[
|
|
1166
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
350
1167
|
_request_timeout: Union[
|
|
351
1168
|
None,
|
|
352
1169
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -360,10 +1177,10 @@ class CampaignApi:
|
|
|
360
1177
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
361
1178
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
362
1179
|
) -> ApiResponse[None]:
|
|
363
|
-
"""
|
|
1180
|
+
"""Resumes a campaign.
|
|
364
1181
|
|
|
365
1182
|
|
|
366
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1183
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
367
1184
|
:type campaign_id: str
|
|
368
1185
|
:param _request_timeout: timeout setting for this request. If one
|
|
369
1186
|
number provided, it will be total request
|
|
@@ -387,7 +1204,7 @@ class CampaignApi:
|
|
|
387
1204
|
:return: Returns the result object.
|
|
388
1205
|
""" # noqa: E501
|
|
389
1206
|
|
|
390
|
-
_param = self.
|
|
1207
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
391
1208
|
campaign_id=campaign_id,
|
|
392
1209
|
_request_auth=_request_auth,
|
|
393
1210
|
_content_type=_content_type,
|
|
@@ -396,7 +1213,7 @@ class CampaignApi:
|
|
|
396
1213
|
)
|
|
397
1214
|
|
|
398
1215
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
399
|
-
'
|
|
1216
|
+
'204': None,
|
|
400
1217
|
}
|
|
401
1218
|
response_data = self.api_client.call_api(
|
|
402
1219
|
*_param,
|
|
@@ -410,9 +1227,9 @@ class CampaignApi:
|
|
|
410
1227
|
|
|
411
1228
|
|
|
412
1229
|
@validate_call
|
|
413
|
-
def
|
|
1230
|
+
def campaign_campaign_id_resume_post_without_preload_content(
|
|
414
1231
|
self,
|
|
415
|
-
campaign_id: Annotated[
|
|
1232
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
416
1233
|
_request_timeout: Union[
|
|
417
1234
|
None,
|
|
418
1235
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -426,10 +1243,10 @@ class CampaignApi:
|
|
|
426
1243
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
427
1244
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
428
1245
|
) -> RESTResponseType:
|
|
429
|
-
"""
|
|
1246
|
+
"""Resumes a campaign.
|
|
430
1247
|
|
|
431
1248
|
|
|
432
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1249
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
433
1250
|
:type campaign_id: str
|
|
434
1251
|
:param _request_timeout: timeout setting for this request. If one
|
|
435
1252
|
number provided, it will be total request
|
|
@@ -453,7 +1270,7 @@ class CampaignApi:
|
|
|
453
1270
|
:return: Returns the result object.
|
|
454
1271
|
""" # noqa: E501
|
|
455
1272
|
|
|
456
|
-
_param = self.
|
|
1273
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
457
1274
|
campaign_id=campaign_id,
|
|
458
1275
|
_request_auth=_request_auth,
|
|
459
1276
|
_content_type=_content_type,
|
|
@@ -462,7 +1279,7 @@ class CampaignApi:
|
|
|
462
1279
|
)
|
|
463
1280
|
|
|
464
1281
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
465
|
-
'
|
|
1282
|
+
'204': None,
|
|
466
1283
|
}
|
|
467
1284
|
response_data = self.api_client.call_api(
|
|
468
1285
|
*_param,
|
|
@@ -471,7 +1288,7 @@ class CampaignApi:
|
|
|
471
1288
|
return response_data.response
|
|
472
1289
|
|
|
473
1290
|
|
|
474
|
-
def
|
|
1291
|
+
def _campaign_campaign_id_resume_post_serialize(
|
|
475
1292
|
self,
|
|
476
1293
|
campaign_id,
|
|
477
1294
|
_request_auth,
|
|
@@ -495,11 +1312,9 @@ class CampaignApi:
|
|
|
495
1312
|
_body_params: Optional[bytes] = None
|
|
496
1313
|
|
|
497
1314
|
# process the path parameters
|
|
498
|
-
# process the query parameters
|
|
499
1315
|
if campaign_id is not None:
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
1316
|
+
_path_params['campaignId'] = campaign_id
|
|
1317
|
+
# process the query parameters
|
|
503
1318
|
# process the header parameters
|
|
504
1319
|
# process the form parameters
|
|
505
1320
|
# process the body parameter
|
|
@@ -509,13 +1324,14 @@ class CampaignApi:
|
|
|
509
1324
|
|
|
510
1325
|
# authentication setting
|
|
511
1326
|
_auth_settings: List[str] = [
|
|
512
|
-
'
|
|
513
|
-
'
|
|
1327
|
+
'OAuth2',
|
|
1328
|
+
'OpenIdConnect',
|
|
1329
|
+
'Bearer'
|
|
514
1330
|
]
|
|
515
1331
|
|
|
516
1332
|
return self.api_client.param_serialize(
|
|
517
1333
|
method='POST',
|
|
518
|
-
resource_path='/
|
|
1334
|
+
resource_path='/campaign/{campaignId}/resume',
|
|
519
1335
|
path_params=_path_params,
|
|
520
1336
|
query_params=_query_params,
|
|
521
1337
|
header_params=_header_params,
|
|
@@ -532,9 +1348,8 @@ class CampaignApi:
|
|
|
532
1348
|
|
|
533
1349
|
|
|
534
1350
|
@validate_call
|
|
535
|
-
def
|
|
1351
|
+
def campaign_monitor_get(
|
|
536
1352
|
self,
|
|
537
|
-
request: Annotated[Optional[QueryCampaignsModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
538
1353
|
_request_timeout: Union[
|
|
539
1354
|
None,
|
|
540
1355
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -547,12 +1362,10 @@ class CampaignApi:
|
|
|
547
1362
|
_content_type: Optional[StrictStr] = None,
|
|
548
1363
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
549
1364
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
550
|
-
) ->
|
|
551
|
-
"""
|
|
1365
|
+
) -> None:
|
|
1366
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
552
1367
|
|
|
553
1368
|
|
|
554
|
-
:param request: The parameters for filtering, paging, and sorting
|
|
555
|
-
:type request: QueryCampaignsModel
|
|
556
1369
|
:param _request_timeout: timeout setting for this request. If one
|
|
557
1370
|
number provided, it will be total request
|
|
558
1371
|
timeout. It can also be a pair (tuple) of
|
|
@@ -575,8 +1388,7 @@ class CampaignApi:
|
|
|
575
1388
|
:return: Returns the result object.
|
|
576
1389
|
""" # noqa: E501
|
|
577
1390
|
|
|
578
|
-
_param = self.
|
|
579
|
-
request=request,
|
|
1391
|
+
_param = self._campaign_monitor_get_serialize(
|
|
580
1392
|
_request_auth=_request_auth,
|
|
581
1393
|
_content_type=_content_type,
|
|
582
1394
|
_headers=_headers,
|
|
@@ -584,7 +1396,7 @@ class CampaignApi:
|
|
|
584
1396
|
)
|
|
585
1397
|
|
|
586
1398
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
587
|
-
'200':
|
|
1399
|
+
'200': None,
|
|
588
1400
|
}
|
|
589
1401
|
response_data = self.api_client.call_api(
|
|
590
1402
|
*_param,
|
|
@@ -598,9 +1410,8 @@ class CampaignApi:
|
|
|
598
1410
|
|
|
599
1411
|
|
|
600
1412
|
@validate_call
|
|
601
|
-
def
|
|
1413
|
+
def campaign_monitor_get_with_http_info(
|
|
602
1414
|
self,
|
|
603
|
-
request: Annotated[Optional[QueryCampaignsModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
604
1415
|
_request_timeout: Union[
|
|
605
1416
|
None,
|
|
606
1417
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -613,12 +1424,10 @@ class CampaignApi:
|
|
|
613
1424
|
_content_type: Optional[StrictStr] = None,
|
|
614
1425
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
615
1426
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
616
|
-
) -> ApiResponse[
|
|
617
|
-
"""
|
|
1427
|
+
) -> ApiResponse[None]:
|
|
1428
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
618
1429
|
|
|
619
1430
|
|
|
620
|
-
:param request: The parameters for filtering, paging, and sorting
|
|
621
|
-
:type request: QueryCampaignsModel
|
|
622
1431
|
:param _request_timeout: timeout setting for this request. If one
|
|
623
1432
|
number provided, it will be total request
|
|
624
1433
|
timeout. It can also be a pair (tuple) of
|
|
@@ -641,8 +1450,7 @@ class CampaignApi:
|
|
|
641
1450
|
:return: Returns the result object.
|
|
642
1451
|
""" # noqa: E501
|
|
643
1452
|
|
|
644
|
-
_param = self.
|
|
645
|
-
request=request,
|
|
1453
|
+
_param = self._campaign_monitor_get_serialize(
|
|
646
1454
|
_request_auth=_request_auth,
|
|
647
1455
|
_content_type=_content_type,
|
|
648
1456
|
_headers=_headers,
|
|
@@ -650,7 +1458,7 @@ class CampaignApi:
|
|
|
650
1458
|
)
|
|
651
1459
|
|
|
652
1460
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
653
|
-
'200':
|
|
1461
|
+
'200': None,
|
|
654
1462
|
}
|
|
655
1463
|
response_data = self.api_client.call_api(
|
|
656
1464
|
*_param,
|
|
@@ -664,9 +1472,8 @@ class CampaignApi:
|
|
|
664
1472
|
|
|
665
1473
|
|
|
666
1474
|
@validate_call
|
|
667
|
-
def
|
|
1475
|
+
def campaign_monitor_get_without_preload_content(
|
|
668
1476
|
self,
|
|
669
|
-
request: Annotated[Optional[QueryCampaignsModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
670
1477
|
_request_timeout: Union[
|
|
671
1478
|
None,
|
|
672
1479
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -680,11 +1487,9 @@ class CampaignApi:
|
|
|
680
1487
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
681
1488
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
682
1489
|
) -> RESTResponseType:
|
|
683
|
-
"""
|
|
1490
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
684
1491
|
|
|
685
1492
|
|
|
686
|
-
:param request: The parameters for filtering, paging, and sorting
|
|
687
|
-
:type request: QueryCampaignsModel
|
|
688
1493
|
:param _request_timeout: timeout setting for this request. If one
|
|
689
1494
|
number provided, it will be total request
|
|
690
1495
|
timeout. It can also be a pair (tuple) of
|
|
@@ -707,8 +1512,7 @@ class CampaignApi:
|
|
|
707
1512
|
:return: Returns the result object.
|
|
708
1513
|
""" # noqa: E501
|
|
709
1514
|
|
|
710
|
-
_param = self.
|
|
711
|
-
request=request,
|
|
1515
|
+
_param = self._campaign_monitor_get_serialize(
|
|
712
1516
|
_request_auth=_request_auth,
|
|
713
1517
|
_content_type=_content_type,
|
|
714
1518
|
_headers=_headers,
|
|
@@ -716,7 +1520,7 @@ class CampaignApi:
|
|
|
716
1520
|
)
|
|
717
1521
|
|
|
718
1522
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
719
|
-
'200':
|
|
1523
|
+
'200': None,
|
|
720
1524
|
}
|
|
721
1525
|
response_data = self.api_client.call_api(
|
|
722
1526
|
*_param,
|
|
@@ -725,9 +1529,8 @@ class CampaignApi:
|
|
|
725
1529
|
return response_data.response
|
|
726
1530
|
|
|
727
1531
|
|
|
728
|
-
def
|
|
1532
|
+
def _campaign_monitor_get_serialize(
|
|
729
1533
|
self,
|
|
730
|
-
request,
|
|
731
1534
|
_request_auth,
|
|
732
1535
|
_content_type,
|
|
733
1536
|
_headers,
|
|
@@ -750,35 +1553,23 @@ class CampaignApi:
|
|
|
750
1553
|
|
|
751
1554
|
# process the path parameters
|
|
752
1555
|
# process the query parameters
|
|
753
|
-
if request is not None:
|
|
754
|
-
|
|
755
|
-
_query_params.append(('request', request))
|
|
756
|
-
|
|
757
1556
|
# process the header parameters
|
|
758
1557
|
# process the form parameters
|
|
759
1558
|
# process the body parameter
|
|
760
1559
|
|
|
761
1560
|
|
|
762
|
-
# set the HTTP header `Accept`
|
|
763
|
-
if 'Accept' not in _header_params:
|
|
764
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
765
|
-
[
|
|
766
|
-
'text/plain',
|
|
767
|
-
'application/json',
|
|
768
|
-
'text/json'
|
|
769
|
-
]
|
|
770
|
-
)
|
|
771
1561
|
|
|
772
1562
|
|
|
773
1563
|
# authentication setting
|
|
774
1564
|
_auth_settings: List[str] = [
|
|
775
|
-
'
|
|
776
|
-
'
|
|
1565
|
+
'OAuth2',
|
|
1566
|
+
'OpenIdConnect',
|
|
1567
|
+
'Bearer'
|
|
777
1568
|
]
|
|
778
1569
|
|
|
779
1570
|
return self.api_client.param_serialize(
|
|
780
1571
|
method='GET',
|
|
781
|
-
resource_path='/
|
|
1572
|
+
resource_path='/campaign/monitor',
|
|
782
1573
|
path_params=_path_params,
|
|
783
1574
|
query_params=_query_params,
|
|
784
1575
|
header_params=_header_params,
|
|
@@ -795,9 +1586,9 @@ class CampaignApi:
|
|
|
795
1586
|
|
|
796
1587
|
|
|
797
1588
|
@validate_call
|
|
798
|
-
def
|
|
1589
|
+
def campaigns_get(
|
|
799
1590
|
self,
|
|
800
|
-
|
|
1591
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
801
1592
|
_request_timeout: Union[
|
|
802
1593
|
None,
|
|
803
1594
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -810,12 +1601,12 @@ class CampaignApi:
|
|
|
810
1601
|
_content_type: Optional[StrictStr] = None,
|
|
811
1602
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
812
1603
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
813
|
-
) ->
|
|
814
|
-
"""
|
|
1604
|
+
) -> PagedResultOfCampaignQueryResult:
|
|
1605
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
815
1606
|
|
|
816
1607
|
|
|
817
|
-
:param
|
|
818
|
-
:type
|
|
1608
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
1609
|
+
:type request: QueryModel
|
|
819
1610
|
:param _request_timeout: timeout setting for this request. If one
|
|
820
1611
|
number provided, it will be total request
|
|
821
1612
|
timeout. It can also be a pair (tuple) of
|
|
@@ -838,8 +1629,8 @@ class CampaignApi:
|
|
|
838
1629
|
:return: Returns the result object.
|
|
839
1630
|
""" # noqa: E501
|
|
840
1631
|
|
|
841
|
-
_param = self.
|
|
842
|
-
|
|
1632
|
+
_param = self._campaigns_get_serialize(
|
|
1633
|
+
request=request,
|
|
843
1634
|
_request_auth=_request_auth,
|
|
844
1635
|
_content_type=_content_type,
|
|
845
1636
|
_headers=_headers,
|
|
@@ -847,7 +1638,7 @@ class CampaignApi:
|
|
|
847
1638
|
)
|
|
848
1639
|
|
|
849
1640
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
850
|
-
'200':
|
|
1641
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
851
1642
|
}
|
|
852
1643
|
response_data = self.api_client.call_api(
|
|
853
1644
|
*_param,
|
|
@@ -861,9 +1652,9 @@ class CampaignApi:
|
|
|
861
1652
|
|
|
862
1653
|
|
|
863
1654
|
@validate_call
|
|
864
|
-
def
|
|
1655
|
+
def campaigns_get_with_http_info(
|
|
865
1656
|
self,
|
|
866
|
-
|
|
1657
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
867
1658
|
_request_timeout: Union[
|
|
868
1659
|
None,
|
|
869
1660
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -876,12 +1667,12 @@ class CampaignApi:
|
|
|
876
1667
|
_content_type: Optional[StrictStr] = None,
|
|
877
1668
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
878
1669
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
879
|
-
) -> ApiResponse[
|
|
880
|
-
"""
|
|
1670
|
+
) -> ApiResponse[PagedResultOfCampaignQueryResult]:
|
|
1671
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
881
1672
|
|
|
882
1673
|
|
|
883
|
-
:param
|
|
884
|
-
:type
|
|
1674
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
1675
|
+
:type request: QueryModel
|
|
885
1676
|
:param _request_timeout: timeout setting for this request. If one
|
|
886
1677
|
number provided, it will be total request
|
|
887
1678
|
timeout. It can also be a pair (tuple) of
|
|
@@ -904,8 +1695,8 @@ class CampaignApi:
|
|
|
904
1695
|
:return: Returns the result object.
|
|
905
1696
|
""" # noqa: E501
|
|
906
1697
|
|
|
907
|
-
_param = self.
|
|
908
|
-
|
|
1698
|
+
_param = self._campaigns_get_serialize(
|
|
1699
|
+
request=request,
|
|
909
1700
|
_request_auth=_request_auth,
|
|
910
1701
|
_content_type=_content_type,
|
|
911
1702
|
_headers=_headers,
|
|
@@ -913,7 +1704,7 @@ class CampaignApi:
|
|
|
913
1704
|
)
|
|
914
1705
|
|
|
915
1706
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
916
|
-
'200':
|
|
1707
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
917
1708
|
}
|
|
918
1709
|
response_data = self.api_client.call_api(
|
|
919
1710
|
*_param,
|
|
@@ -927,9 +1718,9 @@ class CampaignApi:
|
|
|
927
1718
|
|
|
928
1719
|
|
|
929
1720
|
@validate_call
|
|
930
|
-
def
|
|
1721
|
+
def campaigns_get_without_preload_content(
|
|
931
1722
|
self,
|
|
932
|
-
|
|
1723
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
933
1724
|
_request_timeout: Union[
|
|
934
1725
|
None,
|
|
935
1726
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -943,11 +1734,11 @@ class CampaignApi:
|
|
|
943
1734
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
944
1735
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
945
1736
|
) -> RESTResponseType:
|
|
946
|
-
"""
|
|
1737
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
947
1738
|
|
|
948
1739
|
|
|
949
|
-
:param
|
|
950
|
-
:type
|
|
1740
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
1741
|
+
:type request: QueryModel
|
|
951
1742
|
:param _request_timeout: timeout setting for this request. If one
|
|
952
1743
|
number provided, it will be total request
|
|
953
1744
|
timeout. It can also be a pair (tuple) of
|
|
@@ -970,8 +1761,8 @@ class CampaignApi:
|
|
|
970
1761
|
:return: Returns the result object.
|
|
971
1762
|
""" # noqa: E501
|
|
972
1763
|
|
|
973
|
-
_param = self.
|
|
974
|
-
|
|
1764
|
+
_param = self._campaigns_get_serialize(
|
|
1765
|
+
request=request,
|
|
975
1766
|
_request_auth=_request_auth,
|
|
976
1767
|
_content_type=_content_type,
|
|
977
1768
|
_headers=_headers,
|
|
@@ -979,7 +1770,7 @@ class CampaignApi:
|
|
|
979
1770
|
)
|
|
980
1771
|
|
|
981
1772
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
982
|
-
'200':
|
|
1773
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
983
1774
|
}
|
|
984
1775
|
response_data = self.api_client.call_api(
|
|
985
1776
|
*_param,
|
|
@@ -988,9 +1779,9 @@ class CampaignApi:
|
|
|
988
1779
|
return response_data.response
|
|
989
1780
|
|
|
990
1781
|
|
|
991
|
-
def
|
|
1782
|
+
def _campaigns_get_serialize(
|
|
992
1783
|
self,
|
|
993
|
-
|
|
1784
|
+
request,
|
|
994
1785
|
_request_auth,
|
|
995
1786
|
_content_type,
|
|
996
1787
|
_headers,
|
|
@@ -1013,26 +1804,36 @@ class CampaignApi:
|
|
|
1013
1804
|
|
|
1014
1805
|
# process the path parameters
|
|
1015
1806
|
# process the query parameters
|
|
1016
|
-
if
|
|
1807
|
+
if request is not None:
|
|
1017
1808
|
|
|
1018
|
-
_query_params.append(('
|
|
1809
|
+
_query_params.append(('request', request))
|
|
1019
1810
|
|
|
1020
1811
|
# process the header parameters
|
|
1021
1812
|
# process the form parameters
|
|
1022
1813
|
# process the body parameter
|
|
1023
1814
|
|
|
1024
1815
|
|
|
1816
|
+
# set the HTTP header `Accept`
|
|
1817
|
+
if 'Accept' not in _header_params:
|
|
1818
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1819
|
+
[
|
|
1820
|
+
'text/plain',
|
|
1821
|
+
'application/json',
|
|
1822
|
+
'text/json'
|
|
1823
|
+
]
|
|
1824
|
+
)
|
|
1025
1825
|
|
|
1026
1826
|
|
|
1027
1827
|
# authentication setting
|
|
1028
1828
|
_auth_settings: List[str] = [
|
|
1029
|
-
'
|
|
1030
|
-
'
|
|
1829
|
+
'OAuth2',
|
|
1830
|
+
'OpenIdConnect',
|
|
1831
|
+
'Bearer'
|
|
1031
1832
|
]
|
|
1032
1833
|
|
|
1033
1834
|
return self.api_client.param_serialize(
|
|
1034
|
-
method='
|
|
1035
|
-
resource_path='/
|
|
1835
|
+
method='GET',
|
|
1836
|
+
resource_path='/campaigns',
|
|
1036
1837
|
path_params=_path_params,
|
|
1037
1838
|
query_params=_query_params,
|
|
1038
1839
|
header_params=_header_params,
|