rapidata 2.23.2__py3-none-any.whl → 3.0.1__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 +31 -14
- rapidata/api_client/__init__.py +84 -312
- rapidata/api_client/api/__init__.py +12 -3
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +3044 -0
- rapidata/api_client/api/benchmark_api.py +4307 -0
- rapidata/api_client/api/campaign_api.py +232 -207
- rapidata/api_client/api/client_api.py +166 -145
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +2216 -0
- rapidata/api_client/api/datapoint_api.py +8 -797
- rapidata/api_client/api/dataset_api.py +276 -2858
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/job_api.py +4200 -0
- rapidata/api_client/api/job_definition_api.py +319 -0
- rapidata/api_client/api/job_revision_api.py +335 -0
- rapidata/api_client/api/leaderboard_api.py +2855 -0
- rapidata/api_client/api/newsletter_api.py +30 -317
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- 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 +11 -10
- 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 +510 -3230
- rapidata/api_client/api/workflow_api.py +32 -825
- 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 -291
- rapidata/api_client/models/ab_test_selection_a_inner.py +27 -13
- rapidata/api_client/models/add_campaign_model.py +8 -3
- rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +49 -28
- 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_truth.py +32 -12
- 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 +4 -6
- 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 +4 -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 +2 -2
- 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_job_state.py +38 -0
- rapidata/api_client/models/audience_status.py +39 -0
- 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 +91 -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 +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- 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 +5 -5
- 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_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +75 -17
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- 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 +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- 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/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +122 -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_metadata_inner.py +25 -11
- rapidata/api_client/models/create_datapoint_model.py +124 -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 +6 -18
- rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
- rapidata/api_client/models/create_dataset_endpoint_output.py +87 -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_job_definition_endpoint_input.py +119 -0
- rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_endpoint_input.py +100 -0
- rapidata/api_client/models/create_job_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
- rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
- rapidata/api_client/models/create_leaderboard_model.py +147 -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_definition_model.py +119 -0
- rapidata/api_client/models/create_order_definition_result.py +87 -0
- rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
- rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
- rapidata/api_client/models/create_order_model.py +30 -103
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- 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 +2 -2
- 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 +5 -5
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- 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 +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- 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/existing_asset_input.py +109 -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_metadata_value.py +37 -51
- 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 +118 -0
- rapidata/api_client/models/get_audience_user_state_metrics_result.py +87 -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 +98 -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_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- 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 +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- 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_job_by_id_endpoint_output.py +130 -0
- rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
- rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -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 +5 -5
- 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 +6 -12
- 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 +5 -5
- 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 +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +33 -33
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- 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 +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- 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_audience_filter.py +184 -0
- rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
- rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
- rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter.py +296 -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_campaign_session_count_filter.py +101 -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_device_filter.py +106 -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_duration_metadata.py +110 -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 +105 -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 +105 -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 +296 -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_device_user_filter_model.py +104 -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 +108 -0
- rapidata/api_client/models/i_validation_truth_model.py +294 -0
- rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
- rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
- rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -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/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/job_definition_revision_state.py +38 -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 +11 -13
- 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 +12 -1
- rapidata/api_client/models/logic_operator.py +2 -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/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 +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/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/option_of_aggregator_type.py +49 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- 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_job_definitions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_rapids_for_audience_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_config_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/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +92 -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 +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- 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 +118 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_job_definitions_result.py +97 -0
- rapidata/api_client/models/query_job_revisions_result.py +95 -0
- rapidata/api_client/models/query_jobs_result.py +103 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
- 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/rapid_issue.py +2 -2
- 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_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +3 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- 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_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- 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 +12 -1
- 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 +3 -2
- 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 +92 -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_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- 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 +113 -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 +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
- rapidata/api_client/models/update_job_endpoint_input.py +92 -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 +5 -5
- 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 +28 -12
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- 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 +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- 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_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_problem_details.py +117 -0
- 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/vote_matrix_result.py +91 -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 +2 -2
- rapidata/api_client_README.md +469 -309
- rapidata/rapidata_client/__init__.py +23 -22
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/audience/__init__.py +2 -0
- rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
- rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
- rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
- rapidata/rapidata_client/benchmark/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +34 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +257 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +146 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +592 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +216 -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 +8 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +194 -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/_single_flight_cache.py +82 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/__init__.py +1 -1
- 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/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/dataset/__init__.py +1 -0
- rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +27 -0
- rapidata/rapidata_client/filter/__init__.py +3 -0
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +58 -2
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +55 -0
- rapidata/rapidata_client/filter/campaign_filter.py +21 -10
- rapidata/rapidata_client/filter/country_filter.py +46 -12
- rapidata/rapidata_client/filter/custom_filter.py +25 -12
- rapidata/rapidata_client/filter/device_filter.py +38 -0
- rapidata/rapidata_client/filter/gender_filter.py +25 -10
- rapidata/rapidata_client/filter/language_filter.py +51 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/device_type.py +20 -0
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +14 -4
- rapidata/rapidata_client/filter/not_filter.py +35 -11
- rapidata/rapidata_client/filter/or_filter.py +36 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +30 -25
- rapidata/rapidata_client/filter/response_count_filter.py +51 -20
- rapidata/rapidata_client/filter/user_score_filter.py +62 -24
- rapidata/rapidata_client/job/__init__.py +3 -0
- rapidata/rapidata_client/job/job_definition.py +110 -0
- rapidata/rapidata_client/job/job_manager.py +758 -0
- rapidata/rapidata_client/job/rapidata_job.py +326 -0
- rapidata/rapidata_client/order/__init__.py +2 -0
- rapidata/rapidata_client/order/_rapidata_order_builder.py +286 -193
- rapidata/rapidata_client/order/rapidata_order.py +329 -153
- rapidata/rapidata_client/order/rapidata_order_manager.py +722 -420
- rapidata/rapidata_client/rapidata_client.py +130 -26
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +14 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
- rapidata/rapidata_client/referee/_naive_referee.py +24 -3
- rapidata/rapidata_client/results/__init__.py +3 -0
- rapidata/rapidata_client/{order → results}/rapidata_results.py +98 -67
- rapidata/rapidata_client/selection/__init__.py +2 -1
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +36 -12
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +10 -7
- rapidata/rapidata_client/selection/rapidata_selections.py +31 -21
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +20 -9
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +4 -1
- rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +28 -16
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/utils/__init__.py +3 -0
- rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
- rapidata/rapidata_client/validation/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -104
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +371 -214
- rapidata/rapidata_client/validation/validation_set_manager.py +529 -227
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +18 -18
- rapidata/service/openapi_service.py +128 -28
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.1.dist-info/METADATA +32 -0
- rapidata-3.0.1.dist-info/RECORD +1089 -0
- {rapidata-2.23.2.dist-info → rapidata-3.0.1.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -66
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -47
- rapidata/rapidata_client/logging/output_manager.py +0 -16
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -443
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -51
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.23.2.dist-info/METADATA +0 -34
- rapidata-2.23.2.dist-info/RECORD +0 -523
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.23.2.dist-info → rapidata-3.0.1.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.
|
|
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
|
|
23
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,9 +44,9 @@ class CampaignApi:
|
|
|
41
44
|
|
|
42
45
|
|
|
43
46
|
@validate_call
|
|
44
|
-
def
|
|
47
|
+
def campaign_boost_put(
|
|
45
48
|
self,
|
|
46
|
-
|
|
49
|
+
change_boost_model: ChangeBoostModel,
|
|
47
50
|
_request_timeout: Union[
|
|
48
51
|
None,
|
|
49
52
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -57,11 +60,11 @@ class CampaignApi:
|
|
|
57
60
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
58
61
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
59
62
|
) -> None:
|
|
60
|
-
"""
|
|
63
|
+
"""Updates the boost with manual boosts.
|
|
61
64
|
|
|
62
65
|
|
|
63
|
-
:param
|
|
64
|
-
:type
|
|
66
|
+
:param change_boost_model: (required)
|
|
67
|
+
:type change_boost_model: ChangeBoostModel
|
|
65
68
|
:param _request_timeout: timeout setting for this request. If one
|
|
66
69
|
number provided, it will be total request
|
|
67
70
|
timeout. It can also be a pair (tuple) of
|
|
@@ -84,8 +87,8 @@ class CampaignApi:
|
|
|
84
87
|
:return: Returns the result object.
|
|
85
88
|
""" # noqa: E501
|
|
86
89
|
|
|
87
|
-
_param = self.
|
|
88
|
-
|
|
90
|
+
_param = self._campaign_boost_put_serialize(
|
|
91
|
+
change_boost_model=change_boost_model,
|
|
89
92
|
_request_auth=_request_auth,
|
|
90
93
|
_content_type=_content_type,
|
|
91
94
|
_headers=_headers,
|
|
@@ -107,9 +110,9 @@ class CampaignApi:
|
|
|
107
110
|
|
|
108
111
|
|
|
109
112
|
@validate_call
|
|
110
|
-
def
|
|
113
|
+
def campaign_boost_put_with_http_info(
|
|
111
114
|
self,
|
|
112
|
-
|
|
115
|
+
change_boost_model: ChangeBoostModel,
|
|
113
116
|
_request_timeout: Union[
|
|
114
117
|
None,
|
|
115
118
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -123,11 +126,11 @@ class CampaignApi:
|
|
|
123
126
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
124
127
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
125
128
|
) -> ApiResponse[None]:
|
|
126
|
-
"""
|
|
129
|
+
"""Updates the boost with manual boosts.
|
|
127
130
|
|
|
128
131
|
|
|
129
|
-
:param
|
|
130
|
-
:type
|
|
132
|
+
:param change_boost_model: (required)
|
|
133
|
+
:type change_boost_model: ChangeBoostModel
|
|
131
134
|
:param _request_timeout: timeout setting for this request. If one
|
|
132
135
|
number provided, it will be total request
|
|
133
136
|
timeout. It can also be a pair (tuple) of
|
|
@@ -150,8 +153,8 @@ class CampaignApi:
|
|
|
150
153
|
:return: Returns the result object.
|
|
151
154
|
""" # noqa: E501
|
|
152
155
|
|
|
153
|
-
_param = self.
|
|
154
|
-
|
|
156
|
+
_param = self._campaign_boost_put_serialize(
|
|
157
|
+
change_boost_model=change_boost_model,
|
|
155
158
|
_request_auth=_request_auth,
|
|
156
159
|
_content_type=_content_type,
|
|
157
160
|
_headers=_headers,
|
|
@@ -173,9 +176,9 @@ class CampaignApi:
|
|
|
173
176
|
|
|
174
177
|
|
|
175
178
|
@validate_call
|
|
176
|
-
def
|
|
179
|
+
def campaign_boost_put_without_preload_content(
|
|
177
180
|
self,
|
|
178
|
-
|
|
181
|
+
change_boost_model: ChangeBoostModel,
|
|
179
182
|
_request_timeout: Union[
|
|
180
183
|
None,
|
|
181
184
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -189,11 +192,11 @@ class CampaignApi:
|
|
|
189
192
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
190
193
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
191
194
|
) -> RESTResponseType:
|
|
192
|
-
"""
|
|
195
|
+
"""Updates the boost with manual boosts.
|
|
193
196
|
|
|
194
197
|
|
|
195
|
-
:param
|
|
196
|
-
:type
|
|
198
|
+
:param change_boost_model: (required)
|
|
199
|
+
:type change_boost_model: ChangeBoostModel
|
|
197
200
|
:param _request_timeout: timeout setting for this request. If one
|
|
198
201
|
number provided, it will be total request
|
|
199
202
|
timeout. It can also be a pair (tuple) of
|
|
@@ -216,8 +219,8 @@ class CampaignApi:
|
|
|
216
219
|
:return: Returns the result object.
|
|
217
220
|
""" # noqa: E501
|
|
218
221
|
|
|
219
|
-
_param = self.
|
|
220
|
-
|
|
222
|
+
_param = self._campaign_boost_put_serialize(
|
|
223
|
+
change_boost_model=change_boost_model,
|
|
221
224
|
_request_auth=_request_auth,
|
|
222
225
|
_content_type=_content_type,
|
|
223
226
|
_headers=_headers,
|
|
@@ -234,9 +237,9 @@ class CampaignApi:
|
|
|
234
237
|
return response_data.response
|
|
235
238
|
|
|
236
239
|
|
|
237
|
-
def
|
|
240
|
+
def _campaign_boost_put_serialize(
|
|
238
241
|
self,
|
|
239
|
-
|
|
242
|
+
change_boost_model,
|
|
240
243
|
_request_auth,
|
|
241
244
|
_content_type,
|
|
242
245
|
_headers,
|
|
@@ -258,25 +261,41 @@ class CampaignApi:
|
|
|
258
261
|
_body_params: Optional[bytes] = None
|
|
259
262
|
|
|
260
263
|
# process the path parameters
|
|
261
|
-
if campaign_id is not None:
|
|
262
|
-
_path_params['campaignId'] = campaign_id
|
|
263
264
|
# process the query parameters
|
|
264
265
|
# process the header parameters
|
|
265
266
|
# process the form parameters
|
|
266
267
|
# process the body parameter
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
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
|
|
270
288
|
|
|
271
289
|
# authentication setting
|
|
272
290
|
_auth_settings: List[str] = [
|
|
273
|
-
'
|
|
274
|
-
'
|
|
291
|
+
'OAuth2',
|
|
292
|
+
'OpenIdConnect',
|
|
293
|
+
'Bearer'
|
|
275
294
|
]
|
|
276
295
|
|
|
277
296
|
return self.api_client.param_serialize(
|
|
278
|
-
method='
|
|
279
|
-
resource_path='/campaign/
|
|
297
|
+
method='PUT',
|
|
298
|
+
resource_path='/campaign/boost',
|
|
280
299
|
path_params=_path_params,
|
|
281
300
|
query_params=_query_params,
|
|
282
301
|
header_params=_header_params,
|
|
@@ -293,9 +312,8 @@ class CampaignApi:
|
|
|
293
312
|
|
|
294
313
|
|
|
295
314
|
@validate_call
|
|
296
|
-
def
|
|
315
|
+
def campaign_boost_status_get(
|
|
297
316
|
self,
|
|
298
|
-
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
299
317
|
_request_timeout: Union[
|
|
300
318
|
None,
|
|
301
319
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -308,12 +326,10 @@ class CampaignApi:
|
|
|
308
326
|
_content_type: Optional[StrictStr] = None,
|
|
309
327
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
310
328
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
311
|
-
) ->
|
|
312
|
-
"""
|
|
329
|
+
) -> GetBoostResult:
|
|
330
|
+
"""Gets the status of the boost.
|
|
313
331
|
|
|
314
332
|
|
|
315
|
-
:param campaign_id: id of the campaign that should be paused (required)
|
|
316
|
-
:type campaign_id: str
|
|
317
333
|
:param _request_timeout: timeout setting for this request. If one
|
|
318
334
|
number provided, it will be total request
|
|
319
335
|
timeout. It can also be a pair (tuple) of
|
|
@@ -336,8 +352,7 @@ class CampaignApi:
|
|
|
336
352
|
:return: Returns the result object.
|
|
337
353
|
""" # noqa: E501
|
|
338
354
|
|
|
339
|
-
_param = self.
|
|
340
|
-
campaign_id=campaign_id,
|
|
355
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
341
356
|
_request_auth=_request_auth,
|
|
342
357
|
_content_type=_content_type,
|
|
343
358
|
_headers=_headers,
|
|
@@ -345,7 +360,7 @@ class CampaignApi:
|
|
|
345
360
|
)
|
|
346
361
|
|
|
347
362
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
348
|
-
'
|
|
363
|
+
'200': "GetBoostResult",
|
|
349
364
|
}
|
|
350
365
|
response_data = self.api_client.call_api(
|
|
351
366
|
*_param,
|
|
@@ -359,9 +374,8 @@ class CampaignApi:
|
|
|
359
374
|
|
|
360
375
|
|
|
361
376
|
@validate_call
|
|
362
|
-
def
|
|
377
|
+
def campaign_boost_status_get_with_http_info(
|
|
363
378
|
self,
|
|
364
|
-
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
365
379
|
_request_timeout: Union[
|
|
366
380
|
None,
|
|
367
381
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -374,12 +388,10 @@ class CampaignApi:
|
|
|
374
388
|
_content_type: Optional[StrictStr] = None,
|
|
375
389
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
376
390
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
377
|
-
) -> ApiResponse[
|
|
378
|
-
"""
|
|
391
|
+
) -> ApiResponse[GetBoostResult]:
|
|
392
|
+
"""Gets the status of the boost.
|
|
379
393
|
|
|
380
394
|
|
|
381
|
-
:param campaign_id: id of the campaign that should be paused (required)
|
|
382
|
-
:type campaign_id: str
|
|
383
395
|
:param _request_timeout: timeout setting for this request. If one
|
|
384
396
|
number provided, it will be total request
|
|
385
397
|
timeout. It can also be a pair (tuple) of
|
|
@@ -402,8 +414,7 @@ class CampaignApi:
|
|
|
402
414
|
:return: Returns the result object.
|
|
403
415
|
""" # noqa: E501
|
|
404
416
|
|
|
405
|
-
_param = self.
|
|
406
|
-
campaign_id=campaign_id,
|
|
417
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
407
418
|
_request_auth=_request_auth,
|
|
408
419
|
_content_type=_content_type,
|
|
409
420
|
_headers=_headers,
|
|
@@ -411,7 +422,7 @@ class CampaignApi:
|
|
|
411
422
|
)
|
|
412
423
|
|
|
413
424
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
414
|
-
'
|
|
425
|
+
'200': "GetBoostResult",
|
|
415
426
|
}
|
|
416
427
|
response_data = self.api_client.call_api(
|
|
417
428
|
*_param,
|
|
@@ -425,9 +436,8 @@ class CampaignApi:
|
|
|
425
436
|
|
|
426
437
|
|
|
427
438
|
@validate_call
|
|
428
|
-
def
|
|
439
|
+
def campaign_boost_status_get_without_preload_content(
|
|
429
440
|
self,
|
|
430
|
-
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
431
441
|
_request_timeout: Union[
|
|
432
442
|
None,
|
|
433
443
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -441,11 +451,9 @@ class CampaignApi:
|
|
|
441
451
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
442
452
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
443
453
|
) -> RESTResponseType:
|
|
444
|
-
"""
|
|
454
|
+
"""Gets the status of the boost.
|
|
445
455
|
|
|
446
456
|
|
|
447
|
-
:param campaign_id: id of the campaign that should be paused (required)
|
|
448
|
-
:type campaign_id: str
|
|
449
457
|
:param _request_timeout: timeout setting for this request. If one
|
|
450
458
|
number provided, it will be total request
|
|
451
459
|
timeout. It can also be a pair (tuple) of
|
|
@@ -468,8 +476,7 @@ class CampaignApi:
|
|
|
468
476
|
:return: Returns the result object.
|
|
469
477
|
""" # noqa: E501
|
|
470
478
|
|
|
471
|
-
_param = self.
|
|
472
|
-
campaign_id=campaign_id,
|
|
479
|
+
_param = self._campaign_boost_status_get_serialize(
|
|
473
480
|
_request_auth=_request_auth,
|
|
474
481
|
_content_type=_content_type,
|
|
475
482
|
_headers=_headers,
|
|
@@ -477,7 +484,7 @@ class CampaignApi:
|
|
|
477
484
|
)
|
|
478
485
|
|
|
479
486
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
480
|
-
'
|
|
487
|
+
'200': "GetBoostResult",
|
|
481
488
|
}
|
|
482
489
|
response_data = self.api_client.call_api(
|
|
483
490
|
*_param,
|
|
@@ -486,9 +493,8 @@ class CampaignApi:
|
|
|
486
493
|
return response_data.response
|
|
487
494
|
|
|
488
495
|
|
|
489
|
-
def
|
|
496
|
+
def _campaign_boost_status_get_serialize(
|
|
490
497
|
self,
|
|
491
|
-
campaign_id,
|
|
492
498
|
_request_auth,
|
|
493
499
|
_content_type,
|
|
494
500
|
_headers,
|
|
@@ -510,25 +516,33 @@ class CampaignApi:
|
|
|
510
516
|
_body_params: Optional[bytes] = None
|
|
511
517
|
|
|
512
518
|
# process the path parameters
|
|
513
|
-
if campaign_id is not None:
|
|
514
|
-
_path_params['campaignId'] = campaign_id
|
|
515
519
|
# process the query parameters
|
|
516
520
|
# process the header parameters
|
|
517
521
|
# process the form parameters
|
|
518
522
|
# process the body parameter
|
|
519
523
|
|
|
520
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
|
+
)
|
|
521
534
|
|
|
522
535
|
|
|
523
536
|
# authentication setting
|
|
524
537
|
_auth_settings: List[str] = [
|
|
525
|
-
'
|
|
526
|
-
'
|
|
538
|
+
'OAuth2',
|
|
539
|
+
'OpenIdConnect',
|
|
540
|
+
'Bearer'
|
|
527
541
|
]
|
|
528
542
|
|
|
529
543
|
return self.api_client.param_serialize(
|
|
530
|
-
method='
|
|
531
|
-
resource_path='/campaign/
|
|
544
|
+
method='GET',
|
|
545
|
+
resource_path='/campaign/boost/status',
|
|
532
546
|
path_params=_path_params,
|
|
533
547
|
query_params=_query_params,
|
|
534
548
|
header_params=_header_params,
|
|
@@ -545,8 +559,10 @@ class CampaignApi:
|
|
|
545
559
|
|
|
546
560
|
|
|
547
561
|
@validate_call
|
|
548
|
-
def
|
|
562
|
+
def campaign_campaign_id_patch(
|
|
549
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")],
|
|
550
566
|
_request_timeout: Union[
|
|
551
567
|
None,
|
|
552
568
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -560,9 +576,13 @@ class CampaignApi:
|
|
|
560
576
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
561
577
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
562
578
|
) -> None:
|
|
563
|
-
"""
|
|
579
|
+
"""Updates a campaign.
|
|
564
580
|
|
|
565
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
|
|
566
586
|
:param _request_timeout: timeout setting for this request. If one
|
|
567
587
|
number provided, it will be total request
|
|
568
588
|
timeout. It can also be a pair (tuple) of
|
|
@@ -585,7 +605,9 @@ class CampaignApi:
|
|
|
585
605
|
:return: Returns the result object.
|
|
586
606
|
""" # noqa: E501
|
|
587
607
|
|
|
588
|
-
_param = self.
|
|
608
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
609
|
+
campaign_id=campaign_id,
|
|
610
|
+
update_campaign_model=update_campaign_model,
|
|
589
611
|
_request_auth=_request_auth,
|
|
590
612
|
_content_type=_content_type,
|
|
591
613
|
_headers=_headers,
|
|
@@ -593,7 +615,7 @@ class CampaignApi:
|
|
|
593
615
|
)
|
|
594
616
|
|
|
595
617
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
596
|
-
'
|
|
618
|
+
'204': None,
|
|
597
619
|
}
|
|
598
620
|
response_data = self.api_client.call_api(
|
|
599
621
|
*_param,
|
|
@@ -607,8 +629,10 @@ class CampaignApi:
|
|
|
607
629
|
|
|
608
630
|
|
|
609
631
|
@validate_call
|
|
610
|
-
def
|
|
632
|
+
def campaign_campaign_id_patch_with_http_info(
|
|
611
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")],
|
|
612
636
|
_request_timeout: Union[
|
|
613
637
|
None,
|
|
614
638
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -622,9 +646,13 @@ class CampaignApi:
|
|
|
622
646
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
623
647
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
624
648
|
) -> ApiResponse[None]:
|
|
625
|
-
"""
|
|
649
|
+
"""Updates a campaign.
|
|
626
650
|
|
|
627
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
|
|
628
656
|
:param _request_timeout: timeout setting for this request. If one
|
|
629
657
|
number provided, it will be total request
|
|
630
658
|
timeout. It can also be a pair (tuple) of
|
|
@@ -647,7 +675,9 @@ class CampaignApi:
|
|
|
647
675
|
:return: Returns the result object.
|
|
648
676
|
""" # noqa: E501
|
|
649
677
|
|
|
650
|
-
_param = self.
|
|
678
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
679
|
+
campaign_id=campaign_id,
|
|
680
|
+
update_campaign_model=update_campaign_model,
|
|
651
681
|
_request_auth=_request_auth,
|
|
652
682
|
_content_type=_content_type,
|
|
653
683
|
_headers=_headers,
|
|
@@ -655,7 +685,7 @@ class CampaignApi:
|
|
|
655
685
|
)
|
|
656
686
|
|
|
657
687
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
658
|
-
'
|
|
688
|
+
'204': None,
|
|
659
689
|
}
|
|
660
690
|
response_data = self.api_client.call_api(
|
|
661
691
|
*_param,
|
|
@@ -669,8 +699,10 @@ class CampaignApi:
|
|
|
669
699
|
|
|
670
700
|
|
|
671
701
|
@validate_call
|
|
672
|
-
def
|
|
702
|
+
def campaign_campaign_id_patch_without_preload_content(
|
|
673
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")],
|
|
674
706
|
_request_timeout: Union[
|
|
675
707
|
None,
|
|
676
708
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -684,9 +716,13 @@ class CampaignApi:
|
|
|
684
716
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
685
717
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
686
718
|
) -> RESTResponseType:
|
|
687
|
-
"""
|
|
719
|
+
"""Updates a campaign.
|
|
688
720
|
|
|
689
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
|
|
690
726
|
:param _request_timeout: timeout setting for this request. If one
|
|
691
727
|
number provided, it will be total request
|
|
692
728
|
timeout. It can also be a pair (tuple) of
|
|
@@ -709,7 +745,9 @@ class CampaignApi:
|
|
|
709
745
|
:return: Returns the result object.
|
|
710
746
|
""" # noqa: E501
|
|
711
747
|
|
|
712
|
-
_param = self.
|
|
748
|
+
_param = self._campaign_campaign_id_patch_serialize(
|
|
749
|
+
campaign_id=campaign_id,
|
|
750
|
+
update_campaign_model=update_campaign_model,
|
|
713
751
|
_request_auth=_request_auth,
|
|
714
752
|
_content_type=_content_type,
|
|
715
753
|
_headers=_headers,
|
|
@@ -717,7 +755,7 @@ class CampaignApi:
|
|
|
717
755
|
)
|
|
718
756
|
|
|
719
757
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
720
|
-
'
|
|
758
|
+
'204': None,
|
|
721
759
|
}
|
|
722
760
|
response_data = self.api_client.call_api(
|
|
723
761
|
*_param,
|
|
@@ -726,8 +764,10 @@ class CampaignApi:
|
|
|
726
764
|
return response_data.response
|
|
727
765
|
|
|
728
766
|
|
|
729
|
-
def
|
|
767
|
+
def _campaign_campaign_id_patch_serialize(
|
|
730
768
|
self,
|
|
769
|
+
campaign_id,
|
|
770
|
+
update_campaign_model,
|
|
731
771
|
_request_auth,
|
|
732
772
|
_content_type,
|
|
733
773
|
_headers,
|
|
@@ -749,23 +789,43 @@ class CampaignApi:
|
|
|
749
789
|
_body_params: Optional[bytes] = None
|
|
750
790
|
|
|
751
791
|
# process the path parameters
|
|
792
|
+
if campaign_id is not None:
|
|
793
|
+
_path_params['campaignId'] = campaign_id
|
|
752
794
|
# process the query parameters
|
|
753
795
|
# process the header parameters
|
|
754
796
|
# process the form parameters
|
|
755
797
|
# process the body parameter
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
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
|
|
759
818
|
|
|
760
819
|
# authentication setting
|
|
761
820
|
_auth_settings: List[str] = [
|
|
762
|
-
'
|
|
763
|
-
'
|
|
821
|
+
'OAuth2',
|
|
822
|
+
'OpenIdConnect',
|
|
823
|
+
'Bearer'
|
|
764
824
|
]
|
|
765
825
|
|
|
766
826
|
return self.api_client.param_serialize(
|
|
767
|
-
method='
|
|
768
|
-
resource_path='/campaign/
|
|
827
|
+
method='PATCH',
|
|
828
|
+
resource_path='/campaign/{campaignId}',
|
|
769
829
|
path_params=_path_params,
|
|
770
830
|
query_params=_query_params,
|
|
771
831
|
header_params=_header_params,
|
|
@@ -782,9 +842,9 @@ class CampaignApi:
|
|
|
782
842
|
|
|
783
843
|
|
|
784
844
|
@validate_call
|
|
785
|
-
def
|
|
845
|
+
def campaign_campaign_id_pause_post(
|
|
786
846
|
self,
|
|
787
|
-
campaign_id: Annotated[
|
|
847
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
788
848
|
_request_timeout: Union[
|
|
789
849
|
None,
|
|
790
850
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -798,10 +858,10 @@ class CampaignApi:
|
|
|
798
858
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
799
859
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
800
860
|
) -> None:
|
|
801
|
-
"""
|
|
861
|
+
"""Pauses a campaign.
|
|
802
862
|
|
|
803
863
|
|
|
804
|
-
:param campaign_id: id of the campaign that should be paused
|
|
864
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
805
865
|
:type campaign_id: str
|
|
806
866
|
:param _request_timeout: timeout setting for this request. If one
|
|
807
867
|
number provided, it will be total request
|
|
@@ -824,9 +884,8 @@ class CampaignApi:
|
|
|
824
884
|
:type _host_index: int, optional
|
|
825
885
|
:return: Returns the result object.
|
|
826
886
|
""" # noqa: E501
|
|
827
|
-
warnings.warn("POST /campaign/pause is deprecated.", DeprecationWarning)
|
|
828
887
|
|
|
829
|
-
_param = self.
|
|
888
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
830
889
|
campaign_id=campaign_id,
|
|
831
890
|
_request_auth=_request_auth,
|
|
832
891
|
_content_type=_content_type,
|
|
@@ -835,7 +894,7 @@ class CampaignApi:
|
|
|
835
894
|
)
|
|
836
895
|
|
|
837
896
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
838
|
-
'
|
|
897
|
+
'204': None,
|
|
839
898
|
}
|
|
840
899
|
response_data = self.api_client.call_api(
|
|
841
900
|
*_param,
|
|
@@ -849,9 +908,9 @@ class CampaignApi:
|
|
|
849
908
|
|
|
850
909
|
|
|
851
910
|
@validate_call
|
|
852
|
-
def
|
|
911
|
+
def campaign_campaign_id_pause_post_with_http_info(
|
|
853
912
|
self,
|
|
854
|
-
campaign_id: Annotated[
|
|
913
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
855
914
|
_request_timeout: Union[
|
|
856
915
|
None,
|
|
857
916
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -865,10 +924,10 @@ class CampaignApi:
|
|
|
865
924
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
866
925
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
867
926
|
) -> ApiResponse[None]:
|
|
868
|
-
"""
|
|
927
|
+
"""Pauses a campaign.
|
|
869
928
|
|
|
870
929
|
|
|
871
|
-
:param campaign_id: id of the campaign that should be paused
|
|
930
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
872
931
|
:type campaign_id: str
|
|
873
932
|
:param _request_timeout: timeout setting for this request. If one
|
|
874
933
|
number provided, it will be total request
|
|
@@ -891,9 +950,8 @@ class CampaignApi:
|
|
|
891
950
|
:type _host_index: int, optional
|
|
892
951
|
:return: Returns the result object.
|
|
893
952
|
""" # noqa: E501
|
|
894
|
-
warnings.warn("POST /campaign/pause is deprecated.", DeprecationWarning)
|
|
895
953
|
|
|
896
|
-
_param = self.
|
|
954
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
897
955
|
campaign_id=campaign_id,
|
|
898
956
|
_request_auth=_request_auth,
|
|
899
957
|
_content_type=_content_type,
|
|
@@ -902,7 +960,7 @@ class CampaignApi:
|
|
|
902
960
|
)
|
|
903
961
|
|
|
904
962
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
905
|
-
'
|
|
963
|
+
'204': None,
|
|
906
964
|
}
|
|
907
965
|
response_data = self.api_client.call_api(
|
|
908
966
|
*_param,
|
|
@@ -916,9 +974,9 @@ class CampaignApi:
|
|
|
916
974
|
|
|
917
975
|
|
|
918
976
|
@validate_call
|
|
919
|
-
def
|
|
977
|
+
def campaign_campaign_id_pause_post_without_preload_content(
|
|
920
978
|
self,
|
|
921
|
-
campaign_id: Annotated[
|
|
979
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
922
980
|
_request_timeout: Union[
|
|
923
981
|
None,
|
|
924
982
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -932,10 +990,10 @@ class CampaignApi:
|
|
|
932
990
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
933
991
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
934
992
|
) -> RESTResponseType:
|
|
935
|
-
"""
|
|
993
|
+
"""Pauses a campaign.
|
|
936
994
|
|
|
937
995
|
|
|
938
|
-
:param campaign_id: id of the campaign that should be paused
|
|
996
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
939
997
|
:type campaign_id: str
|
|
940
998
|
:param _request_timeout: timeout setting for this request. If one
|
|
941
999
|
number provided, it will be total request
|
|
@@ -958,9 +1016,8 @@ class CampaignApi:
|
|
|
958
1016
|
:type _host_index: int, optional
|
|
959
1017
|
:return: Returns the result object.
|
|
960
1018
|
""" # noqa: E501
|
|
961
|
-
warnings.warn("POST /campaign/pause is deprecated.", DeprecationWarning)
|
|
962
1019
|
|
|
963
|
-
_param = self.
|
|
1020
|
+
_param = self._campaign_campaign_id_pause_post_serialize(
|
|
964
1021
|
campaign_id=campaign_id,
|
|
965
1022
|
_request_auth=_request_auth,
|
|
966
1023
|
_content_type=_content_type,
|
|
@@ -969,7 +1026,7 @@ class CampaignApi:
|
|
|
969
1026
|
)
|
|
970
1027
|
|
|
971
1028
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
972
|
-
'
|
|
1029
|
+
'204': None,
|
|
973
1030
|
}
|
|
974
1031
|
response_data = self.api_client.call_api(
|
|
975
1032
|
*_param,
|
|
@@ -978,7 +1035,7 @@ class CampaignApi:
|
|
|
978
1035
|
return response_data.response
|
|
979
1036
|
|
|
980
1037
|
|
|
981
|
-
def
|
|
1038
|
+
def _campaign_campaign_id_pause_post_serialize(
|
|
982
1039
|
self,
|
|
983
1040
|
campaign_id,
|
|
984
1041
|
_request_auth,
|
|
@@ -1002,11 +1059,9 @@ class CampaignApi:
|
|
|
1002
1059
|
_body_params: Optional[bytes] = None
|
|
1003
1060
|
|
|
1004
1061
|
# process the path parameters
|
|
1005
|
-
# process the query parameters
|
|
1006
1062
|
if campaign_id is not None:
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1063
|
+
_path_params['campaignId'] = campaign_id
|
|
1064
|
+
# process the query parameters
|
|
1010
1065
|
# process the header parameters
|
|
1011
1066
|
# process the form parameters
|
|
1012
1067
|
# process the body parameter
|
|
@@ -1016,13 +1071,14 @@ class CampaignApi:
|
|
|
1016
1071
|
|
|
1017
1072
|
# authentication setting
|
|
1018
1073
|
_auth_settings: List[str] = [
|
|
1019
|
-
'
|
|
1020
|
-
'
|
|
1074
|
+
'OAuth2',
|
|
1075
|
+
'OpenIdConnect',
|
|
1076
|
+
'Bearer'
|
|
1021
1077
|
]
|
|
1022
1078
|
|
|
1023
1079
|
return self.api_client.param_serialize(
|
|
1024
1080
|
method='POST',
|
|
1025
|
-
resource_path='/campaign/pause',
|
|
1081
|
+
resource_path='/campaign/{campaignId}/pause',
|
|
1026
1082
|
path_params=_path_params,
|
|
1027
1083
|
query_params=_query_params,
|
|
1028
1084
|
header_params=_header_params,
|
|
@@ -1039,9 +1095,9 @@ class CampaignApi:
|
|
|
1039
1095
|
|
|
1040
1096
|
|
|
1041
1097
|
@validate_call
|
|
1042
|
-
def
|
|
1098
|
+
def campaign_campaign_id_resume_post(
|
|
1043
1099
|
self,
|
|
1044
|
-
|
|
1100
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
1045
1101
|
_request_timeout: Union[
|
|
1046
1102
|
None,
|
|
1047
1103
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1054,12 +1110,12 @@ class CampaignApi:
|
|
|
1054
1110
|
_content_type: Optional[StrictStr] = None,
|
|
1055
1111
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1056
1112
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1057
|
-
) ->
|
|
1058
|
-
"""
|
|
1113
|
+
) -> None:
|
|
1114
|
+
"""Resumes a campaign.
|
|
1059
1115
|
|
|
1060
1116
|
|
|
1061
|
-
:param
|
|
1062
|
-
:type
|
|
1117
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
1118
|
+
:type campaign_id: str
|
|
1063
1119
|
:param _request_timeout: timeout setting for this request. If one
|
|
1064
1120
|
number provided, it will be total request
|
|
1065
1121
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1081,10 +1137,9 @@ class CampaignApi:
|
|
|
1081
1137
|
:type _host_index: int, optional
|
|
1082
1138
|
:return: Returns the result object.
|
|
1083
1139
|
""" # noqa: E501
|
|
1084
|
-
warnings.warn("GET /campaign/query is deprecated.", DeprecationWarning)
|
|
1085
1140
|
|
|
1086
|
-
_param = self.
|
|
1087
|
-
|
|
1141
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
1142
|
+
campaign_id=campaign_id,
|
|
1088
1143
|
_request_auth=_request_auth,
|
|
1089
1144
|
_content_type=_content_type,
|
|
1090
1145
|
_headers=_headers,
|
|
@@ -1092,7 +1147,7 @@ class CampaignApi:
|
|
|
1092
1147
|
)
|
|
1093
1148
|
|
|
1094
1149
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1095
|
-
'
|
|
1150
|
+
'204': None,
|
|
1096
1151
|
}
|
|
1097
1152
|
response_data = self.api_client.call_api(
|
|
1098
1153
|
*_param,
|
|
@@ -1106,9 +1161,9 @@ class CampaignApi:
|
|
|
1106
1161
|
|
|
1107
1162
|
|
|
1108
1163
|
@validate_call
|
|
1109
|
-
def
|
|
1164
|
+
def campaign_campaign_id_resume_post_with_http_info(
|
|
1110
1165
|
self,
|
|
1111
|
-
|
|
1166
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
1112
1167
|
_request_timeout: Union[
|
|
1113
1168
|
None,
|
|
1114
1169
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1121,12 +1176,12 @@ class CampaignApi:
|
|
|
1121
1176
|
_content_type: Optional[StrictStr] = None,
|
|
1122
1177
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1123
1178
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1124
|
-
) -> ApiResponse[
|
|
1125
|
-
"""
|
|
1179
|
+
) -> ApiResponse[None]:
|
|
1180
|
+
"""Resumes a campaign.
|
|
1126
1181
|
|
|
1127
1182
|
|
|
1128
|
-
:param
|
|
1129
|
-
:type
|
|
1183
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
1184
|
+
:type campaign_id: str
|
|
1130
1185
|
:param _request_timeout: timeout setting for this request. If one
|
|
1131
1186
|
number provided, it will be total request
|
|
1132
1187
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1148,10 +1203,9 @@ class CampaignApi:
|
|
|
1148
1203
|
:type _host_index: int, optional
|
|
1149
1204
|
:return: Returns the result object.
|
|
1150
1205
|
""" # noqa: E501
|
|
1151
|
-
warnings.warn("GET /campaign/query is deprecated.", DeprecationWarning)
|
|
1152
1206
|
|
|
1153
|
-
_param = self.
|
|
1154
|
-
|
|
1207
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
1208
|
+
campaign_id=campaign_id,
|
|
1155
1209
|
_request_auth=_request_auth,
|
|
1156
1210
|
_content_type=_content_type,
|
|
1157
1211
|
_headers=_headers,
|
|
@@ -1159,7 +1213,7 @@ class CampaignApi:
|
|
|
1159
1213
|
)
|
|
1160
1214
|
|
|
1161
1215
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1162
|
-
'
|
|
1216
|
+
'204': None,
|
|
1163
1217
|
}
|
|
1164
1218
|
response_data = self.api_client.call_api(
|
|
1165
1219
|
*_param,
|
|
@@ -1173,9 +1227,9 @@ class CampaignApi:
|
|
|
1173
1227
|
|
|
1174
1228
|
|
|
1175
1229
|
@validate_call
|
|
1176
|
-
def
|
|
1230
|
+
def campaign_campaign_id_resume_post_without_preload_content(
|
|
1177
1231
|
self,
|
|
1178
|
-
|
|
1232
|
+
campaign_id: Annotated[StrictStr, Field(description="id of the campaign that should be paused")],
|
|
1179
1233
|
_request_timeout: Union[
|
|
1180
1234
|
None,
|
|
1181
1235
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1189,11 +1243,11 @@ class CampaignApi:
|
|
|
1189
1243
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1190
1244
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1191
1245
|
) -> RESTResponseType:
|
|
1192
|
-
"""
|
|
1246
|
+
"""Resumes a campaign.
|
|
1193
1247
|
|
|
1194
1248
|
|
|
1195
|
-
:param
|
|
1196
|
-
:type
|
|
1249
|
+
:param campaign_id: id of the campaign that should be paused (required)
|
|
1250
|
+
:type campaign_id: str
|
|
1197
1251
|
:param _request_timeout: timeout setting for this request. If one
|
|
1198
1252
|
number provided, it will be total request
|
|
1199
1253
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1215,10 +1269,9 @@ class CampaignApi:
|
|
|
1215
1269
|
:type _host_index: int, optional
|
|
1216
1270
|
:return: Returns the result object.
|
|
1217
1271
|
""" # noqa: E501
|
|
1218
|
-
warnings.warn("GET /campaign/query is deprecated.", DeprecationWarning)
|
|
1219
1272
|
|
|
1220
|
-
_param = self.
|
|
1221
|
-
|
|
1273
|
+
_param = self._campaign_campaign_id_resume_post_serialize(
|
|
1274
|
+
campaign_id=campaign_id,
|
|
1222
1275
|
_request_auth=_request_auth,
|
|
1223
1276
|
_content_type=_content_type,
|
|
1224
1277
|
_headers=_headers,
|
|
@@ -1226,7 +1279,7 @@ class CampaignApi:
|
|
|
1226
1279
|
)
|
|
1227
1280
|
|
|
1228
1281
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1229
|
-
'
|
|
1282
|
+
'204': None,
|
|
1230
1283
|
}
|
|
1231
1284
|
response_data = self.api_client.call_api(
|
|
1232
1285
|
*_param,
|
|
@@ -1235,9 +1288,9 @@ class CampaignApi:
|
|
|
1235
1288
|
return response_data.response
|
|
1236
1289
|
|
|
1237
1290
|
|
|
1238
|
-
def
|
|
1291
|
+
def _campaign_campaign_id_resume_post_serialize(
|
|
1239
1292
|
self,
|
|
1240
|
-
|
|
1293
|
+
campaign_id,
|
|
1241
1294
|
_request_auth,
|
|
1242
1295
|
_content_type,
|
|
1243
1296
|
_headers,
|
|
@@ -1259,36 +1312,26 @@ class CampaignApi:
|
|
|
1259
1312
|
_body_params: Optional[bytes] = None
|
|
1260
1313
|
|
|
1261
1314
|
# process the path parameters
|
|
1315
|
+
if campaign_id is not None:
|
|
1316
|
+
_path_params['campaignId'] = campaign_id
|
|
1262
1317
|
# process the query parameters
|
|
1263
|
-
if request is not None:
|
|
1264
|
-
|
|
1265
|
-
_query_params.append(('request', request))
|
|
1266
|
-
|
|
1267
1318
|
# process the header parameters
|
|
1268
1319
|
# process the form parameters
|
|
1269
1320
|
# process the body parameter
|
|
1270
1321
|
|
|
1271
1322
|
|
|
1272
|
-
# set the HTTP header `Accept`
|
|
1273
|
-
if 'Accept' not in _header_params:
|
|
1274
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1275
|
-
[
|
|
1276
|
-
'text/plain',
|
|
1277
|
-
'application/json',
|
|
1278
|
-
'text/json'
|
|
1279
|
-
]
|
|
1280
|
-
)
|
|
1281
1323
|
|
|
1282
1324
|
|
|
1283
1325
|
# authentication setting
|
|
1284
1326
|
_auth_settings: List[str] = [
|
|
1285
|
-
'
|
|
1286
|
-
'
|
|
1327
|
+
'OAuth2',
|
|
1328
|
+
'OpenIdConnect',
|
|
1329
|
+
'Bearer'
|
|
1287
1330
|
]
|
|
1288
1331
|
|
|
1289
1332
|
return self.api_client.param_serialize(
|
|
1290
|
-
method='
|
|
1291
|
-
resource_path='/campaign/
|
|
1333
|
+
method='POST',
|
|
1334
|
+
resource_path='/campaign/{campaignId}/resume',
|
|
1292
1335
|
path_params=_path_params,
|
|
1293
1336
|
query_params=_query_params,
|
|
1294
1337
|
header_params=_header_params,
|
|
@@ -1305,9 +1348,8 @@ class CampaignApi:
|
|
|
1305
1348
|
|
|
1306
1349
|
|
|
1307
1350
|
@validate_call
|
|
1308
|
-
def
|
|
1351
|
+
def campaign_monitor_get(
|
|
1309
1352
|
self,
|
|
1310
|
-
campaign_id: Annotated[Optional[StrictStr], Field(description="id of the campaign that should be paused")] = None,
|
|
1311
1353
|
_request_timeout: Union[
|
|
1312
1354
|
None,
|
|
1313
1355
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1321,11 +1363,9 @@ class CampaignApi:
|
|
|
1321
1363
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1322
1364
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1323
1365
|
) -> None:
|
|
1324
|
-
"""
|
|
1366
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
1325
1367
|
|
|
1326
1368
|
|
|
1327
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1328
|
-
:type campaign_id: str
|
|
1329
1369
|
:param _request_timeout: timeout setting for this request. If one
|
|
1330
1370
|
number provided, it will be total request
|
|
1331
1371
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1347,10 +1387,8 @@ class CampaignApi:
|
|
|
1347
1387
|
:type _host_index: int, optional
|
|
1348
1388
|
:return: Returns the result object.
|
|
1349
1389
|
""" # noqa: E501
|
|
1350
|
-
warnings.warn("POST /campaign/resume is deprecated.", DeprecationWarning)
|
|
1351
1390
|
|
|
1352
|
-
_param = self.
|
|
1353
|
-
campaign_id=campaign_id,
|
|
1391
|
+
_param = self._campaign_monitor_get_serialize(
|
|
1354
1392
|
_request_auth=_request_auth,
|
|
1355
1393
|
_content_type=_content_type,
|
|
1356
1394
|
_headers=_headers,
|
|
@@ -1372,9 +1410,8 @@ class CampaignApi:
|
|
|
1372
1410
|
|
|
1373
1411
|
|
|
1374
1412
|
@validate_call
|
|
1375
|
-
def
|
|
1413
|
+
def campaign_monitor_get_with_http_info(
|
|
1376
1414
|
self,
|
|
1377
|
-
campaign_id: Annotated[Optional[StrictStr], Field(description="id of the campaign that should be paused")] = None,
|
|
1378
1415
|
_request_timeout: Union[
|
|
1379
1416
|
None,
|
|
1380
1417
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1388,11 +1425,9 @@ class CampaignApi:
|
|
|
1388
1425
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1389
1426
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1390
1427
|
) -> ApiResponse[None]:
|
|
1391
|
-
"""
|
|
1428
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
1392
1429
|
|
|
1393
1430
|
|
|
1394
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1395
|
-
:type campaign_id: str
|
|
1396
1431
|
:param _request_timeout: timeout setting for this request. If one
|
|
1397
1432
|
number provided, it will be total request
|
|
1398
1433
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1414,10 +1449,8 @@ class CampaignApi:
|
|
|
1414
1449
|
:type _host_index: int, optional
|
|
1415
1450
|
:return: Returns the result object.
|
|
1416
1451
|
""" # noqa: E501
|
|
1417
|
-
warnings.warn("POST /campaign/resume is deprecated.", DeprecationWarning)
|
|
1418
1452
|
|
|
1419
|
-
_param = self.
|
|
1420
|
-
campaign_id=campaign_id,
|
|
1453
|
+
_param = self._campaign_monitor_get_serialize(
|
|
1421
1454
|
_request_auth=_request_auth,
|
|
1422
1455
|
_content_type=_content_type,
|
|
1423
1456
|
_headers=_headers,
|
|
@@ -1439,9 +1472,8 @@ class CampaignApi:
|
|
|
1439
1472
|
|
|
1440
1473
|
|
|
1441
1474
|
@validate_call
|
|
1442
|
-
def
|
|
1475
|
+
def campaign_monitor_get_without_preload_content(
|
|
1443
1476
|
self,
|
|
1444
|
-
campaign_id: Annotated[Optional[StrictStr], Field(description="id of the campaign that should be paused")] = None,
|
|
1445
1477
|
_request_timeout: Union[
|
|
1446
1478
|
None,
|
|
1447
1479
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1455,11 +1487,9 @@ class CampaignApi:
|
|
|
1455
1487
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1456
1488
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1457
1489
|
) -> RESTResponseType:
|
|
1458
|
-
"""
|
|
1490
|
+
"""The monitor endpoint is used to monitor the health of the service
|
|
1459
1491
|
|
|
1460
1492
|
|
|
1461
|
-
:param campaign_id: id of the campaign that should be paused
|
|
1462
|
-
:type campaign_id: str
|
|
1463
1493
|
:param _request_timeout: timeout setting for this request. If one
|
|
1464
1494
|
number provided, it will be total request
|
|
1465
1495
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1481,10 +1511,8 @@ class CampaignApi:
|
|
|
1481
1511
|
:type _host_index: int, optional
|
|
1482
1512
|
:return: Returns the result object.
|
|
1483
1513
|
""" # noqa: E501
|
|
1484
|
-
warnings.warn("POST /campaign/resume is deprecated.", DeprecationWarning)
|
|
1485
1514
|
|
|
1486
|
-
_param = self.
|
|
1487
|
-
campaign_id=campaign_id,
|
|
1515
|
+
_param = self._campaign_monitor_get_serialize(
|
|
1488
1516
|
_request_auth=_request_auth,
|
|
1489
1517
|
_content_type=_content_type,
|
|
1490
1518
|
_headers=_headers,
|
|
@@ -1501,9 +1529,8 @@ class CampaignApi:
|
|
|
1501
1529
|
return response_data.response
|
|
1502
1530
|
|
|
1503
1531
|
|
|
1504
|
-
def
|
|
1532
|
+
def _campaign_monitor_get_serialize(
|
|
1505
1533
|
self,
|
|
1506
|
-
campaign_id,
|
|
1507
1534
|
_request_auth,
|
|
1508
1535
|
_content_type,
|
|
1509
1536
|
_headers,
|
|
@@ -1526,10 +1553,6 @@ class CampaignApi:
|
|
|
1526
1553
|
|
|
1527
1554
|
# process the path parameters
|
|
1528
1555
|
# process the query parameters
|
|
1529
|
-
if campaign_id is not None:
|
|
1530
|
-
|
|
1531
|
-
_query_params.append(('campaignId', campaign_id))
|
|
1532
|
-
|
|
1533
1556
|
# process the header parameters
|
|
1534
1557
|
# process the form parameters
|
|
1535
1558
|
# process the body parameter
|
|
@@ -1539,13 +1562,14 @@ class CampaignApi:
|
|
|
1539
1562
|
|
|
1540
1563
|
# authentication setting
|
|
1541
1564
|
_auth_settings: List[str] = [
|
|
1542
|
-
'
|
|
1543
|
-
'
|
|
1565
|
+
'OAuth2',
|
|
1566
|
+
'OpenIdConnect',
|
|
1567
|
+
'Bearer'
|
|
1544
1568
|
]
|
|
1545
1569
|
|
|
1546
1570
|
return self.api_client.param_serialize(
|
|
1547
|
-
method='
|
|
1548
|
-
resource_path='/campaign/
|
|
1571
|
+
method='GET',
|
|
1572
|
+
resource_path='/campaign/monitor',
|
|
1549
1573
|
path_params=_path_params,
|
|
1550
1574
|
query_params=_query_params,
|
|
1551
1575
|
header_params=_header_params,
|
|
@@ -1577,7 +1601,7 @@ class CampaignApi:
|
|
|
1577
1601
|
_content_type: Optional[StrictStr] = None,
|
|
1578
1602
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1579
1603
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1580
|
-
) ->
|
|
1604
|
+
) -> PagedResultOfCampaignQueryResult:
|
|
1581
1605
|
"""Queries orders based on a filter, page, and sort criteria.
|
|
1582
1606
|
|
|
1583
1607
|
|
|
@@ -1614,7 +1638,7 @@ class CampaignApi:
|
|
|
1614
1638
|
)
|
|
1615
1639
|
|
|
1616
1640
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1617
|
-
'200': "
|
|
1641
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
1618
1642
|
}
|
|
1619
1643
|
response_data = self.api_client.call_api(
|
|
1620
1644
|
*_param,
|
|
@@ -1643,7 +1667,7 @@ class CampaignApi:
|
|
|
1643
1667
|
_content_type: Optional[StrictStr] = None,
|
|
1644
1668
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1645
1669
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1646
|
-
) -> ApiResponse[
|
|
1670
|
+
) -> ApiResponse[PagedResultOfCampaignQueryResult]:
|
|
1647
1671
|
"""Queries orders based on a filter, page, and sort criteria.
|
|
1648
1672
|
|
|
1649
1673
|
|
|
@@ -1680,7 +1704,7 @@ class CampaignApi:
|
|
|
1680
1704
|
)
|
|
1681
1705
|
|
|
1682
1706
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1683
|
-
'200': "
|
|
1707
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
1684
1708
|
}
|
|
1685
1709
|
response_data = self.api_client.call_api(
|
|
1686
1710
|
*_param,
|
|
@@ -1746,7 +1770,7 @@ class CampaignApi:
|
|
|
1746
1770
|
)
|
|
1747
1771
|
|
|
1748
1772
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1749
|
-
'200': "
|
|
1773
|
+
'200': "PagedResultOfCampaignQueryResult",
|
|
1750
1774
|
}
|
|
1751
1775
|
response_data = self.api_client.call_api(
|
|
1752
1776
|
*_param,
|
|
@@ -1802,8 +1826,9 @@ class CampaignApi:
|
|
|
1802
1826
|
|
|
1803
1827
|
# authentication setting
|
|
1804
1828
|
_auth_settings: List[str] = [
|
|
1805
|
-
'
|
|
1806
|
-
'
|
|
1829
|
+
'OAuth2',
|
|
1830
|
+
'OpenIdConnect',
|
|
1831
|
+
'Bearer'
|
|
1807
1832
|
]
|
|
1808
1833
|
|
|
1809
1834
|
return self.api_client.param_serialize(
|