rapidata 1.8.3__py3-none-any.whl → 2.44.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +32 -16
- rapidata/api_client/__init__.py +83 -279
- rapidata/api_client/api/__init__.py +14 -4
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +1133 -0
- rapidata/api_client/api/benchmark_api.py +3966 -0
- rapidata/api_client/api/campaign_api.py +926 -125
- rapidata/api_client/api/client_api.py +589 -42
- rapidata/api_client/api/coco_api.py +45 -45
- rapidata/api_client/api/compare_workflow_api.py +47 -45
- rapidata/api_client/api/{validation_api.py → customer_rapid_api.py} +367 -378
- rapidata/api_client/api/datapoint_api.py +69 -336
- rapidata/api_client/api/dataset_api.py +263 -872
- rapidata/api_client/api/evaluation_workflow_api.py +319 -0
- rapidata/api_client/api/feedback_api.py +306 -0
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +365 -120
- rapidata/api_client/api/leaderboard_api.py +2550 -0
- rapidata/api_client/api/newsletter_api.py +35 -34
- rapidata/api_client/api/order_api.py +1111 -787
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +156 -139
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapid_api.py +1288 -189
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +47 -79
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +3052 -0
- rapidata/api_client/api/workflow_api.py +410 -96
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -260
- rapidata/api_client/models/ab_test_selection.py +122 -0
- rapidata/api_client/models/ab_test_selection_a_inner.py +240 -0
- rapidata/api_client/models/add_campaign_model.py +52 -11
- rapidata/api_client/models/add_campaign_model_user_filters_inner.py +224 -0
- rapidata/api_client/models/add_user_response_result.py +111 -0
- rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
- rapidata/api_client/models/add_validation_rapid_model.py +61 -23
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_payload.py +30 -16
- rapidata/api_client/models/add_validation_rapid_model_truth.py +65 -17
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +14 -9
- rapidata/api_client/models/age_group.py +5 -4
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +5 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +87 -0
- rapidata/api_client/models/asset_metadata.py +106 -0
- rapidata/api_client/models/asset_metadata_asset.py +170 -0
- rapidata/api_client/models/asset_metadata_model.py +96 -0
- rapidata/api_client/models/asset_metadata_model_asset.py +170 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_status.py +38 -0
- rapidata/api_client/models/base_error.py +1 -4
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +89 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +107 -0
- rapidata/api_client/models/campaign_query_result_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +4 -2
- rapidata/api_client/models/capped_selection.py +3 -3
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +14 -5
- rapidata/api_client/models/classification_metadata_model.py +2 -4
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +2 -2
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_match_status.py +39 -0
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +4 -4
- rapidata/api_client/models/compare_workflow_config.py +31 -22
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +296 -0
- rapidata/api_client/models/compare_workflow_config_model.py +32 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_model.py +59 -14
- rapidata/api_client/models/compare_workflow_model1.py +32 -19
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +126 -0
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/comparison_operator.py +41 -0
- rapidata/api_client/models/conditional_validation_selection.py +9 -5
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/coordinate.py +2 -2
- rapidata/api_client/models/count_metadata.py +13 -4
- rapidata/api_client/models/count_metadata_model.py +2 -4
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +99 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_from_files_model.py +102 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +182 -0
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_model.py +134 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +87 -0
- rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_leaderboard_model.py +140 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_model.py +41 -52
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +83 -11
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +87 -0
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +87 -0
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client/models/datapoint.py +12 -28
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +13 -6
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +38 -0
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/demographic.py +89 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/demographic_metadata_model.py +18 -9
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +91 -0
- rapidata/api_client/models/elo_config_model.py +91 -0
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/existing_asset_input.py +120 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +15 -12
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model.py +18 -13
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/file_asset_model_metadata_value.py +252 -0
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +111 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +96 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +87 -0
- rapidata/api_client/models/get_compare_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_compare_workflow_results_result.py +95 -0
- rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
- rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_datapoint_by_id_result.py +103 -0
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +93 -0
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +18 -8
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +106 -0
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +95 -0
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_query.py +123 -0
- rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result.py +150 -0
- rapidata/api_client/models/get_validation_rapids_result_asset.py +174 -0
- rapidata/api_client/models/get_validation_rapids_result_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/get_validation_rapids_result_truth.py +286 -0
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +37 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +129 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_campaign_filter.py +282 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +103 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +103 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +282 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/image_dimension_metadata.py +13 -4
- rapidata/api_client/models/image_dimension_metadata_model.py +2 -4
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +92 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +21 -4
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +14 -5
- rapidata/api_client/models/location_metadata_model.py +2 -4
- rapidata/api_client/models/logic_operator.py +3 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_visibilities.py +1 -0
- rapidata/api_client/models/multi_asset.py +17 -12
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +21 -16
- rapidata/api_client/models/multi_asset_model2.py +3 -3
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/new_user_filter_model.py +94 -0
- rapidata/api_client/models/new_user_filter_model1.py +94 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +87 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +102 -0
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/null_asset_model.py +18 -13
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +106 -0
- rapidata/api_client/models/order_model.py +16 -13
- rapidata/api_client/models/order_state.py +3 -2
- rapidata/api_client/models/original_filename_metadata.py +14 -5
- rapidata/api_client/models/original_filename_metadata_model.py +2 -4
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_artifact_id_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/preliminary_download_model.py +87 -0
- rapidata/api_client/models/preliminary_download_result.py +87 -0
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +13 -4
- rapidata/api_client/models/prompt_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_metadata_model.py +2 -4
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +111 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/query_validation_rapids_result.py +50 -5
- rapidata/api_client/models/query_validation_rapids_result_asset.py +40 -40
- rapidata/api_client/models/query_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/query_validation_rapids_result_truth.py +258 -0
- rapidata/api_client/models/rapid_answer.py +3 -1
- rapidata/api_client/models/rapid_answer_result.py +31 -17
- rapidata/api_client/models/rapid_issue.py +45 -0
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_response.py +103 -0
- rapidata/api_client/models/rapid_response_result.py +266 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_result_model_result.py +31 -17
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +41 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +3 -8
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +109 -0
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/retrieval_mode.py +38 -0
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_payload.py +96 -0
- rapidata/api_client/models/scrub_range.py +89 -0
- rapidata/api_client/models/scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/scrub_result.py +98 -0
- rapidata/api_client/models/scrub_truth.py +104 -0
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/shuffling_selection.py +106 -0
- rapidata/api_client/models/simple_workflow_config.py +6 -17
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +6 -22
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +31 -17
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +5 -12
- rapidata/api_client/models/simple_workflow_model_blueprint.py +31 -17
- rapidata/api_client/models/skip_truth.py +94 -0
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +109 -0
- rapidata/api_client/models/source_url_metadata_model.py +96 -0
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +39 -0
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +87 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +15 -10
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +18 -13
- rapidata/api_client/models/text_metadata.py +20 -6
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +9 -6
- rapidata/api_client/models/transcription_metadata.py +10 -4
- rapidata/api_client/models/transcription_metadata_input.py +4 -6
- rapidata/api_client/models/transcription_metadata_model.py +1 -3
- rapidata/api_client/models/transcription_truth.py +23 -4
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_prompt_metadata_model.py +2 -4
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +102 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +99 -0
- rapidata/api_client/models/update_dataset_name_model.py +87 -0
- rapidata/api_client/models/update_dimensions_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +87 -0
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +125 -0
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +280 -0
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +15 -5
- rapidata/api_client/models/upload_from_s3_result.py +87 -0
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +26 -4
- rapidata/api_client/models/url_asset_input.py +100 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_score_user_filter_model.py +9 -2
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_import_post_request_blueprint.py +31 -17
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +193 -154
- rapidata/api_client_README.md +488 -293
- rapidata/rapidata_client/__init__.py +27 -13
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +32 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +221 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +145 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +546 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +219 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +10 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +169 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/datapoints/metadata/__init__.py +7 -0
- rapidata/rapidata_client/{selection/base_selection.py → datapoints/metadata/_base_metadata.py} +2 -1
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +26 -0
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +12 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +17 -0
- rapidata/rapidata_client/demographic/__init__.py +0 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +54 -0
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +7 -1
- rapidata/rapidata_client/filter/_base_filter.py +62 -0
- rapidata/rapidata_client/filter/age_filter.py +28 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +28 -11
- rapidata/rapidata_client/filter/country_filter.py +42 -13
- rapidata/rapidata_client/filter/custom_filter.py +39 -0
- rapidata/rapidata_client/filter/gender_filter.py +29 -10
- rapidata/rapidata_client/filter/language_filter.py +49 -15
- rapidata/rapidata_client/filter/models/__init__.py +0 -0
- rapidata/rapidata_client/filter/models/age_group.py +28 -0
- rapidata/rapidata_client/filter/models/gender.py +23 -0
- rapidata/rapidata_client/filter/new_user_filter.py +20 -0
- rapidata/rapidata_client/filter/not_filter.py +42 -0
- rapidata/rapidata_client/filter/or_filter.py +42 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +60 -0
- rapidata/rapidata_client/filter/response_count_filter.py +62 -0
- rapidata/rapidata_client/filter/user_score_filter.py +60 -14
- rapidata/rapidata_client/order/_rapidata_order_builder.py +481 -0
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +393 -90
- rapidata/rapidata_client/order/rapidata_order_manager.py +922 -0
- rapidata/rapidata_client/order/rapidata_results.py +251 -0
- rapidata/rapidata_client/rapidata_client.py +125 -180
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +9 -5
- rapidata/rapidata_client/referee/_early_stopping_referee.py +62 -0
- rapidata/rapidata_client/referee/_naive_referee.py +48 -0
- rapidata/rapidata_client/selection/__init__.py +6 -1
- rapidata/rapidata_client/selection/_base_selection.py +16 -0
- rapidata/rapidata_client/selection/ab_test_selection.py +46 -0
- rapidata/rapidata_client/selection/capped_selection.py +34 -17
- rapidata/rapidata_client/selection/conditional_validation_selection.py +71 -21
- rapidata/rapidata_client/selection/demographic_selection.py +43 -8
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +45 -8
- rapidata/rapidata_client/selection/rapidata_retrieval_modes.py +21 -0
- rapidata/rapidata_client/selection/rapidata_selections.py +47 -0
- rapidata/rapidata_client/selection/shuffling_selection.py +44 -0
- rapidata/rapidata_client/selection/static_selection.py +33 -0
- rapidata/rapidata_client/selection/validation_selection.py +29 -6
- rapidata/rapidata_client/settings/__init__.py +12 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +24 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +25 -0
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +17 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +22 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +15 -0
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +18 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +19 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +51 -0
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +20 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +141 -0
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +42 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +469 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +814 -0
- rapidata/rapidata_client/workflow/__init__.py +11 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +43 -0
- rapidata/rapidata_client/workflow/_classify_workflow.py +92 -0
- rapidata/rapidata_client/workflow/_compare_workflow.py +76 -0
- rapidata/rapidata_client/workflow/_draw_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +47 -0
- rapidata/rapidata_client/workflow/_free_text_workflow.py +81 -0
- rapidata/rapidata_client/workflow/_locate_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +131 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +74 -0
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +65 -0
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +41 -32
- rapidata/service/openapi_service.py +153 -35
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.4.dist-info/METADATA +32 -0
- rapidata-2.44.4.dist-info/RECORD +1014 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info}/WHEEL +1 -1
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/assets/__init__.py +0 -8
- rapidata/rapidata_client/assets/base_asset.py +0 -11
- rapidata/rapidata_client/assets/media_asset.py +0 -88
- rapidata/rapidata_client/assets/multi_asset.py +0 -55
- rapidata/rapidata_client/assets/text_asset.py +0 -28
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -32
- rapidata/rapidata_client/dataset/rapid_builders/transcription_rapid_builders.py +0 -132
- rapidata/rapidata_client/dataset/rapidata_dataset.py +0 -126
- rapidata/rapidata_client/dataset/rapidata_validation_set.py +0 -300
- rapidata/rapidata_client/dataset/validation_rapid_parts.py +0 -55
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -324
- rapidata/rapidata_client/filter/base_filter.py +0 -9
- rapidata/rapidata_client/metadata/__init__.py +0 -5
- rapidata/rapidata_client/metadata/base_metadata.py +0 -12
- rapidata/rapidata_client/metadata/private_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/prompt_metadata.py +0 -17
- rapidata/rapidata_client/metadata/public_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/transcription_metadata.py +0 -19
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/referee/early_stopping_referee.py +0 -50
- rapidata/rapidata_client/referee/naive_referee.py +0 -33
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -245
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -250
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -180
- rapidata/rapidata_client/simple_builders/simple_transcription_builders.py +0 -194
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/classify_workflow.py +0 -49
- rapidata/rapidata_client/workflow/compare_workflow.py +0 -47
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- rapidata/rapidata_client/workflow/free_text_workflow.py +0 -50
- rapidata/rapidata_client/workflow/transcription_workflow.py +0 -40
- rapidata/service/local_file_service.py +0 -25
- rapidata/service/token_manager.py +0 -175
- rapidata-1.8.3.dist-info/METADATA +0 -28
- rapidata-1.8.3.dist-info/RECORD +0 -396
- /rapidata/rapidata_client/{dataset → api}/__init__.py +0 -0
- /rapidata/rapidata_client/{simple_builders → benchmark}/__init__.py +0 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -20,9 +20,8 @@ from pydantic import Field, StrictStr
|
|
|
20
20
|
from typing import Optional
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.create_bridge_token_result import CreateBridgeTokenResult
|
|
23
|
+
from rapidata.api_client.models.google_one_tap_login_model import GoogleOneTapLoginModel
|
|
23
24
|
from rapidata.api_client.models.read_bridge_token_keys_result import ReadBridgeTokenKeysResult
|
|
24
|
-
from rapidata.api_client.models.register_temporary_customer_model import RegisterTemporaryCustomerModel
|
|
25
|
-
from rapidata.api_client.models.register_temporary_customer_result import RegisterTemporaryCustomerResult
|
|
26
25
|
|
|
27
26
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
28
27
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -43,9 +42,9 @@ class IdentityApi:
|
|
|
43
42
|
|
|
44
43
|
|
|
45
44
|
@validate_call
|
|
46
|
-
def
|
|
45
|
+
def identity_bridge_token_get(
|
|
47
46
|
self,
|
|
48
|
-
|
|
47
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
49
48
|
_request_timeout: Union[
|
|
50
49
|
None,
|
|
51
50
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -58,12 +57,12 @@ class IdentityApi:
|
|
|
58
57
|
_content_type: Optional[StrictStr] = None,
|
|
59
58
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
60
59
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
61
|
-
) ->
|
|
62
|
-
"""
|
|
60
|
+
) -> ReadBridgeTokenKeysResult:
|
|
61
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
63
62
|
|
|
64
63
|
|
|
65
|
-
:param
|
|
66
|
-
:type
|
|
64
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
65
|
+
:type read_key: str
|
|
67
66
|
:param _request_timeout: timeout setting for this request. If one
|
|
68
67
|
number provided, it will be total request
|
|
69
68
|
timeout. It can also be a pair (tuple) of
|
|
@@ -86,8 +85,8 @@ class IdentityApi:
|
|
|
86
85
|
:return: Returns the result object.
|
|
87
86
|
""" # noqa: E501
|
|
88
87
|
|
|
89
|
-
_param = self.
|
|
90
|
-
|
|
88
|
+
_param = self._identity_bridge_token_get_serialize(
|
|
89
|
+
read_key=read_key,
|
|
91
90
|
_request_auth=_request_auth,
|
|
92
91
|
_content_type=_content_type,
|
|
93
92
|
_headers=_headers,
|
|
@@ -95,7 +94,8 @@ class IdentityApi:
|
|
|
95
94
|
)
|
|
96
95
|
|
|
97
96
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
98
|
-
'200': "
|
|
97
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
98
|
+
'202': "NotAvailableYetResult",
|
|
99
99
|
}
|
|
100
100
|
response_data = self.api_client.call_api(
|
|
101
101
|
*_param,
|
|
@@ -109,9 +109,9 @@ class IdentityApi:
|
|
|
109
109
|
|
|
110
110
|
|
|
111
111
|
@validate_call
|
|
112
|
-
def
|
|
112
|
+
def identity_bridge_token_get_with_http_info(
|
|
113
113
|
self,
|
|
114
|
-
|
|
114
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
115
115
|
_request_timeout: Union[
|
|
116
116
|
None,
|
|
117
117
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -124,12 +124,12 @@ class IdentityApi:
|
|
|
124
124
|
_content_type: Optional[StrictStr] = None,
|
|
125
125
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
126
126
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
127
|
-
) -> ApiResponse[
|
|
128
|
-
"""
|
|
127
|
+
) -> ApiResponse[ReadBridgeTokenKeysResult]:
|
|
128
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
:param
|
|
132
|
-
:type
|
|
131
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
132
|
+
:type read_key: str
|
|
133
133
|
:param _request_timeout: timeout setting for this request. If one
|
|
134
134
|
number provided, it will be total request
|
|
135
135
|
timeout. It can also be a pair (tuple) of
|
|
@@ -152,8 +152,8 @@ class IdentityApi:
|
|
|
152
152
|
:return: Returns the result object.
|
|
153
153
|
""" # noqa: E501
|
|
154
154
|
|
|
155
|
-
_param = self.
|
|
156
|
-
|
|
155
|
+
_param = self._identity_bridge_token_get_serialize(
|
|
156
|
+
read_key=read_key,
|
|
157
157
|
_request_auth=_request_auth,
|
|
158
158
|
_content_type=_content_type,
|
|
159
159
|
_headers=_headers,
|
|
@@ -161,7 +161,8 @@ class IdentityApi:
|
|
|
161
161
|
)
|
|
162
162
|
|
|
163
163
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
164
|
-
'200': "
|
|
164
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
165
|
+
'202': "NotAvailableYetResult",
|
|
165
166
|
}
|
|
166
167
|
response_data = self.api_client.call_api(
|
|
167
168
|
*_param,
|
|
@@ -175,9 +176,9 @@ class IdentityApi:
|
|
|
175
176
|
|
|
176
177
|
|
|
177
178
|
@validate_call
|
|
178
|
-
def
|
|
179
|
+
def identity_bridge_token_get_without_preload_content(
|
|
179
180
|
self,
|
|
180
|
-
|
|
181
|
+
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
181
182
|
_request_timeout: Union[
|
|
182
183
|
None,
|
|
183
184
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -191,11 +192,11 @@ class IdentityApi:
|
|
|
191
192
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
192
193
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
193
194
|
) -> RESTResponseType:
|
|
194
|
-
"""
|
|
195
|
+
"""Tries to read the bridge token keys for a given read key. The read key is used to retrieve the authentication result written by the write key.
|
|
195
196
|
|
|
196
197
|
|
|
197
|
-
:param
|
|
198
|
-
:type
|
|
198
|
+
:param read_key: The read key to read the bridge token keys for.
|
|
199
|
+
:type read_key: str
|
|
199
200
|
:param _request_timeout: timeout setting for this request. If one
|
|
200
201
|
number provided, it will be total request
|
|
201
202
|
timeout. It can also be a pair (tuple) of
|
|
@@ -218,8 +219,8 @@ class IdentityApi:
|
|
|
218
219
|
:return: Returns the result object.
|
|
219
220
|
""" # noqa: E501
|
|
220
221
|
|
|
221
|
-
_param = self.
|
|
222
|
-
|
|
222
|
+
_param = self._identity_bridge_token_get_serialize(
|
|
223
|
+
read_key=read_key,
|
|
223
224
|
_request_auth=_request_auth,
|
|
224
225
|
_content_type=_content_type,
|
|
225
226
|
_headers=_headers,
|
|
@@ -227,7 +228,8 @@ class IdentityApi:
|
|
|
227
228
|
)
|
|
228
229
|
|
|
229
230
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
230
|
-
'200': "
|
|
231
|
+
'200': "ReadBridgeTokenKeysResult",
|
|
232
|
+
'202': "NotAvailableYetResult",
|
|
231
233
|
}
|
|
232
234
|
response_data = self.api_client.call_api(
|
|
233
235
|
*_param,
|
|
@@ -236,9 +238,9 @@ class IdentityApi:
|
|
|
236
238
|
return response_data.response
|
|
237
239
|
|
|
238
240
|
|
|
239
|
-
def
|
|
241
|
+
def _identity_bridge_token_get_serialize(
|
|
240
242
|
self,
|
|
241
|
-
|
|
243
|
+
read_key,
|
|
242
244
|
_request_auth,
|
|
243
245
|
_content_type,
|
|
244
246
|
_headers,
|
|
@@ -261,9 +263,9 @@ class IdentityApi:
|
|
|
261
263
|
|
|
262
264
|
# process the path parameters
|
|
263
265
|
# process the query parameters
|
|
264
|
-
if
|
|
266
|
+
if read_key is not None:
|
|
265
267
|
|
|
266
|
-
_query_params.append(('
|
|
268
|
+
_query_params.append(('readKey', read_key))
|
|
267
269
|
|
|
268
270
|
# process the header parameters
|
|
269
271
|
# process the form parameters
|
|
@@ -283,13 +285,14 @@ class IdentityApi:
|
|
|
283
285
|
|
|
284
286
|
# authentication setting
|
|
285
287
|
_auth_settings: List[str] = [
|
|
286
|
-
'
|
|
287
|
-
'
|
|
288
|
+
'OAuth2',
|
|
289
|
+
'OpenIdConnect',
|
|
290
|
+
'Bearer'
|
|
288
291
|
]
|
|
289
292
|
|
|
290
293
|
return self.api_client.param_serialize(
|
|
291
|
-
method='
|
|
292
|
-
resource_path='/
|
|
294
|
+
method='GET',
|
|
295
|
+
resource_path='/identity/bridge-token',
|
|
293
296
|
path_params=_path_params,
|
|
294
297
|
query_params=_query_params,
|
|
295
298
|
header_params=_header_params,
|
|
@@ -306,9 +309,9 @@ class IdentityApi:
|
|
|
306
309
|
|
|
307
310
|
|
|
308
311
|
@validate_call
|
|
309
|
-
def
|
|
312
|
+
def identity_bridge_token_post(
|
|
310
313
|
self,
|
|
311
|
-
|
|
314
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
312
315
|
_request_timeout: Union[
|
|
313
316
|
None,
|
|
314
317
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -321,12 +324,12 @@ class IdentityApi:
|
|
|
321
324
|
_content_type: Optional[StrictStr] = None,
|
|
322
325
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
323
326
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
324
|
-
) ->
|
|
325
|
-
"""
|
|
327
|
+
) -> CreateBridgeTokenResult:
|
|
328
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
326
329
|
|
|
327
330
|
|
|
328
|
-
:param
|
|
329
|
-
:type
|
|
331
|
+
:param client_id: The client ID to create the keys for.
|
|
332
|
+
:type client_id: str
|
|
330
333
|
:param _request_timeout: timeout setting for this request. If one
|
|
331
334
|
number provided, it will be total request
|
|
332
335
|
timeout. It can also be a pair (tuple) of
|
|
@@ -349,8 +352,8 @@ class IdentityApi:
|
|
|
349
352
|
:return: Returns the result object.
|
|
350
353
|
""" # noqa: E501
|
|
351
354
|
|
|
352
|
-
_param = self.
|
|
353
|
-
|
|
355
|
+
_param = self._identity_bridge_token_post_serialize(
|
|
356
|
+
client_id=client_id,
|
|
354
357
|
_request_auth=_request_auth,
|
|
355
358
|
_content_type=_content_type,
|
|
356
359
|
_headers=_headers,
|
|
@@ -358,9 +361,7 @@ class IdentityApi:
|
|
|
358
361
|
)
|
|
359
362
|
|
|
360
363
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
361
|
-
'200': "
|
|
362
|
-
'202': None,
|
|
363
|
-
'404': "ProblemDetails",
|
|
364
|
+
'200': "CreateBridgeTokenResult",
|
|
364
365
|
}
|
|
365
366
|
response_data = self.api_client.call_api(
|
|
366
367
|
*_param,
|
|
@@ -374,9 +375,9 @@ class IdentityApi:
|
|
|
374
375
|
|
|
375
376
|
|
|
376
377
|
@validate_call
|
|
377
|
-
def
|
|
378
|
+
def identity_bridge_token_post_with_http_info(
|
|
378
379
|
self,
|
|
379
|
-
|
|
380
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
380
381
|
_request_timeout: Union[
|
|
381
382
|
None,
|
|
382
383
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -389,12 +390,12 @@ class IdentityApi:
|
|
|
389
390
|
_content_type: Optional[StrictStr] = None,
|
|
390
391
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
391
392
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
392
|
-
) -> ApiResponse[
|
|
393
|
-
"""
|
|
393
|
+
) -> ApiResponse[CreateBridgeTokenResult]:
|
|
394
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
394
395
|
|
|
395
396
|
|
|
396
|
-
:param
|
|
397
|
-
:type
|
|
397
|
+
:param client_id: The client ID to create the keys for.
|
|
398
|
+
:type client_id: str
|
|
398
399
|
:param _request_timeout: timeout setting for this request. If one
|
|
399
400
|
number provided, it will be total request
|
|
400
401
|
timeout. It can also be a pair (tuple) of
|
|
@@ -417,8 +418,8 @@ class IdentityApi:
|
|
|
417
418
|
:return: Returns the result object.
|
|
418
419
|
""" # noqa: E501
|
|
419
420
|
|
|
420
|
-
_param = self.
|
|
421
|
-
|
|
421
|
+
_param = self._identity_bridge_token_post_serialize(
|
|
422
|
+
client_id=client_id,
|
|
422
423
|
_request_auth=_request_auth,
|
|
423
424
|
_content_type=_content_type,
|
|
424
425
|
_headers=_headers,
|
|
@@ -426,9 +427,7 @@ class IdentityApi:
|
|
|
426
427
|
)
|
|
427
428
|
|
|
428
429
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
429
|
-
'200': "
|
|
430
|
-
'202': None,
|
|
431
|
-
'404': "ProblemDetails",
|
|
430
|
+
'200': "CreateBridgeTokenResult",
|
|
432
431
|
}
|
|
433
432
|
response_data = self.api_client.call_api(
|
|
434
433
|
*_param,
|
|
@@ -442,9 +441,9 @@ class IdentityApi:
|
|
|
442
441
|
|
|
443
442
|
|
|
444
443
|
@validate_call
|
|
445
|
-
def
|
|
444
|
+
def identity_bridge_token_post_without_preload_content(
|
|
446
445
|
self,
|
|
447
|
-
|
|
446
|
+
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
448
447
|
_request_timeout: Union[
|
|
449
448
|
None,
|
|
450
449
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -458,11 +457,11 @@ class IdentityApi:
|
|
|
458
457
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
459
458
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
460
459
|
) -> RESTResponseType:
|
|
461
|
-
"""
|
|
460
|
+
"""Creates a pair of read and write keys for a client. The write key is used to store the authentication result. The read key is used to retrieve the authentication result.
|
|
462
461
|
|
|
463
462
|
|
|
464
|
-
:param
|
|
465
|
-
:type
|
|
463
|
+
:param client_id: The client ID to create the keys for.
|
|
464
|
+
:type client_id: str
|
|
466
465
|
:param _request_timeout: timeout setting for this request. If one
|
|
467
466
|
number provided, it will be total request
|
|
468
467
|
timeout. It can also be a pair (tuple) of
|
|
@@ -485,8 +484,8 @@ class IdentityApi:
|
|
|
485
484
|
:return: Returns the result object.
|
|
486
485
|
""" # noqa: E501
|
|
487
486
|
|
|
488
|
-
_param = self.
|
|
489
|
-
|
|
487
|
+
_param = self._identity_bridge_token_post_serialize(
|
|
488
|
+
client_id=client_id,
|
|
490
489
|
_request_auth=_request_auth,
|
|
491
490
|
_content_type=_content_type,
|
|
492
491
|
_headers=_headers,
|
|
@@ -494,9 +493,7 @@ class IdentityApi:
|
|
|
494
493
|
)
|
|
495
494
|
|
|
496
495
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
497
|
-
'200': "
|
|
498
|
-
'202': None,
|
|
499
|
-
'404': "ProblemDetails",
|
|
496
|
+
'200': "CreateBridgeTokenResult",
|
|
500
497
|
}
|
|
501
498
|
response_data = self.api_client.call_api(
|
|
502
499
|
*_param,
|
|
@@ -505,9 +502,9 @@ class IdentityApi:
|
|
|
505
502
|
return response_data.response
|
|
506
503
|
|
|
507
504
|
|
|
508
|
-
def
|
|
505
|
+
def _identity_bridge_token_post_serialize(
|
|
509
506
|
self,
|
|
510
|
-
|
|
507
|
+
client_id,
|
|
511
508
|
_request_auth,
|
|
512
509
|
_content_type,
|
|
513
510
|
_headers,
|
|
@@ -530,9 +527,9 @@ class IdentityApi:
|
|
|
530
527
|
|
|
531
528
|
# process the path parameters
|
|
532
529
|
# process the query parameters
|
|
533
|
-
if
|
|
530
|
+
if client_id is not None:
|
|
534
531
|
|
|
535
|
-
_query_params.append(('
|
|
532
|
+
_query_params.append(('clientId', client_id))
|
|
536
533
|
|
|
537
534
|
# process the header parameters
|
|
538
535
|
# process the form parameters
|
|
@@ -552,13 +549,14 @@ class IdentityApi:
|
|
|
552
549
|
|
|
553
550
|
# authentication setting
|
|
554
551
|
_auth_settings: List[str] = [
|
|
555
|
-
'
|
|
556
|
-
'
|
|
552
|
+
'OAuth2',
|
|
553
|
+
'OpenIdConnect',
|
|
554
|
+
'Bearer'
|
|
557
555
|
]
|
|
558
556
|
|
|
559
557
|
return self.api_client.param_serialize(
|
|
560
|
-
method='
|
|
561
|
-
resource_path='/
|
|
558
|
+
method='POST',
|
|
559
|
+
resource_path='/identity/bridge-token',
|
|
562
560
|
path_params=_path_params,
|
|
563
561
|
query_params=_query_params,
|
|
564
562
|
header_params=_header_params,
|
|
@@ -575,9 +573,9 @@ class IdentityApi:
|
|
|
575
573
|
|
|
576
574
|
|
|
577
575
|
@validate_call
|
|
578
|
-
def
|
|
576
|
+
def identity_google_one_tap_post(
|
|
579
577
|
self,
|
|
580
|
-
|
|
578
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
581
579
|
_request_timeout: Union[
|
|
582
580
|
None,
|
|
583
581
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -590,12 +588,12 @@ class IdentityApi:
|
|
|
590
588
|
_content_type: Optional[StrictStr] = None,
|
|
591
589
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
592
590
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
593
|
-
) ->
|
|
594
|
-
"""
|
|
591
|
+
) -> None:
|
|
592
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
595
593
|
|
|
596
594
|
|
|
597
|
-
:param
|
|
598
|
-
:type
|
|
595
|
+
:param google_one_tap_login_model: The body of the request containing the id token. (required)
|
|
596
|
+
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
599
597
|
:param _request_timeout: timeout setting for this request. If one
|
|
600
598
|
number provided, it will be total request
|
|
601
599
|
timeout. It can also be a pair (tuple) of
|
|
@@ -618,8 +616,8 @@ class IdentityApi:
|
|
|
618
616
|
:return: Returns the result object.
|
|
619
617
|
""" # noqa: E501
|
|
620
618
|
|
|
621
|
-
_param = self.
|
|
622
|
-
|
|
619
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
620
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
623
621
|
_request_auth=_request_auth,
|
|
624
622
|
_content_type=_content_type,
|
|
625
623
|
_headers=_headers,
|
|
@@ -627,7 +625,7 @@ class IdentityApi:
|
|
|
627
625
|
)
|
|
628
626
|
|
|
629
627
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
630
|
-
'
|
|
628
|
+
'204': None,
|
|
631
629
|
}
|
|
632
630
|
response_data = self.api_client.call_api(
|
|
633
631
|
*_param,
|
|
@@ -641,9 +639,9 @@ class IdentityApi:
|
|
|
641
639
|
|
|
642
640
|
|
|
643
641
|
@validate_call
|
|
644
|
-
def
|
|
642
|
+
def identity_google_one_tap_post_with_http_info(
|
|
645
643
|
self,
|
|
646
|
-
|
|
644
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
647
645
|
_request_timeout: Union[
|
|
648
646
|
None,
|
|
649
647
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -656,12 +654,12 @@ class IdentityApi:
|
|
|
656
654
|
_content_type: Optional[StrictStr] = None,
|
|
657
655
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
658
656
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
659
|
-
) -> ApiResponse[
|
|
660
|
-
"""
|
|
657
|
+
) -> ApiResponse[None]:
|
|
658
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
661
659
|
|
|
662
660
|
|
|
663
|
-
:param
|
|
664
|
-
:type
|
|
661
|
+
:param google_one_tap_login_model: The body of the request containing the id token. (required)
|
|
662
|
+
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
665
663
|
:param _request_timeout: timeout setting for this request. If one
|
|
666
664
|
number provided, it will be total request
|
|
667
665
|
timeout. It can also be a pair (tuple) of
|
|
@@ -684,8 +682,8 @@ class IdentityApi:
|
|
|
684
682
|
:return: Returns the result object.
|
|
685
683
|
""" # noqa: E501
|
|
686
684
|
|
|
687
|
-
_param = self.
|
|
688
|
-
|
|
685
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
686
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
689
687
|
_request_auth=_request_auth,
|
|
690
688
|
_content_type=_content_type,
|
|
691
689
|
_headers=_headers,
|
|
@@ -693,7 +691,7 @@ class IdentityApi:
|
|
|
693
691
|
)
|
|
694
692
|
|
|
695
693
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
696
|
-
'
|
|
694
|
+
'204': None,
|
|
697
695
|
}
|
|
698
696
|
response_data = self.api_client.call_api(
|
|
699
697
|
*_param,
|
|
@@ -707,9 +705,9 @@ class IdentityApi:
|
|
|
707
705
|
|
|
708
706
|
|
|
709
707
|
@validate_call
|
|
710
|
-
def
|
|
708
|
+
def identity_google_one_tap_post_without_preload_content(
|
|
711
709
|
self,
|
|
712
|
-
|
|
710
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
713
711
|
_request_timeout: Union[
|
|
714
712
|
None,
|
|
715
713
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -723,11 +721,11 @@ class IdentityApi:
|
|
|
723
721
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
724
722
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
725
723
|
) -> RESTResponseType:
|
|
726
|
-
"""
|
|
724
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
727
725
|
|
|
728
726
|
|
|
729
|
-
:param
|
|
730
|
-
:type
|
|
727
|
+
:param google_one_tap_login_model: The body of the request containing the id token. (required)
|
|
728
|
+
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
731
729
|
:param _request_timeout: timeout setting for this request. If one
|
|
732
730
|
number provided, it will be total request
|
|
733
731
|
timeout. It can also be a pair (tuple) of
|
|
@@ -750,8 +748,8 @@ class IdentityApi:
|
|
|
750
748
|
:return: Returns the result object.
|
|
751
749
|
""" # noqa: E501
|
|
752
750
|
|
|
753
|
-
_param = self.
|
|
754
|
-
|
|
751
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
752
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
755
753
|
_request_auth=_request_auth,
|
|
756
754
|
_content_type=_content_type,
|
|
757
755
|
_headers=_headers,
|
|
@@ -759,7 +757,7 @@ class IdentityApi:
|
|
|
759
757
|
)
|
|
760
758
|
|
|
761
759
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
762
|
-
'
|
|
760
|
+
'204': None,
|
|
763
761
|
}
|
|
764
762
|
response_data = self.api_client.call_api(
|
|
765
763
|
*_param,
|
|
@@ -768,9 +766,9 @@ class IdentityApi:
|
|
|
768
766
|
return response_data.response
|
|
769
767
|
|
|
770
768
|
|
|
771
|
-
def
|
|
769
|
+
def _identity_google_one_tap_post_serialize(
|
|
772
770
|
self,
|
|
773
|
-
|
|
771
|
+
google_one_tap_login_model,
|
|
774
772
|
_request_auth,
|
|
775
773
|
_content_type,
|
|
776
774
|
_headers,
|
|
@@ -796,19 +794,10 @@ class IdentityApi:
|
|
|
796
794
|
# process the header parameters
|
|
797
795
|
# process the form parameters
|
|
798
796
|
# process the body parameter
|
|
799
|
-
if
|
|
800
|
-
_body_params =
|
|
797
|
+
if google_one_tap_login_model is not None:
|
|
798
|
+
_body_params = google_one_tap_login_model
|
|
801
799
|
|
|
802
800
|
|
|
803
|
-
# set the HTTP header `Accept`
|
|
804
|
-
if 'Accept' not in _header_params:
|
|
805
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
806
|
-
[
|
|
807
|
-
'text/plain',
|
|
808
|
-
'application/json',
|
|
809
|
-
'text/json'
|
|
810
|
-
]
|
|
811
|
-
)
|
|
812
801
|
|
|
813
802
|
# set the HTTP header `Content-Type`
|
|
814
803
|
if _content_type:
|
|
@@ -828,13 +817,269 @@ class IdentityApi:
|
|
|
828
817
|
|
|
829
818
|
# authentication setting
|
|
830
819
|
_auth_settings: List[str] = [
|
|
831
|
-
'
|
|
832
|
-
'
|
|
820
|
+
'OAuth2',
|
|
821
|
+
'OpenIdConnect',
|
|
822
|
+
'Bearer'
|
|
823
|
+
]
|
|
824
|
+
|
|
825
|
+
return self.api_client.param_serialize(
|
|
826
|
+
method='POST',
|
|
827
|
+
resource_path='/identity/google-one-tap',
|
|
828
|
+
path_params=_path_params,
|
|
829
|
+
query_params=_query_params,
|
|
830
|
+
header_params=_header_params,
|
|
831
|
+
body=_body_params,
|
|
832
|
+
post_params=_form_params,
|
|
833
|
+
files=_files,
|
|
834
|
+
auth_settings=_auth_settings,
|
|
835
|
+
collection_formats=_collection_formats,
|
|
836
|
+
_host=_host,
|
|
837
|
+
_request_auth=_request_auth
|
|
838
|
+
)
|
|
839
|
+
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
|
|
843
|
+
@validate_call
|
|
844
|
+
def identity_referrer_post(
|
|
845
|
+
self,
|
|
846
|
+
referrer: Optional[StrictStr] = None,
|
|
847
|
+
_request_timeout: Union[
|
|
848
|
+
None,
|
|
849
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
850
|
+
Tuple[
|
|
851
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
852
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
853
|
+
]
|
|
854
|
+
] = None,
|
|
855
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
856
|
+
_content_type: Optional[StrictStr] = None,
|
|
857
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
858
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
859
|
+
) -> None:
|
|
860
|
+
"""Sets the referrer for the current customer.
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
:param referrer:
|
|
864
|
+
:type referrer: str
|
|
865
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
866
|
+
number provided, it will be total request
|
|
867
|
+
timeout. It can also be a pair (tuple) of
|
|
868
|
+
(connection, read) timeouts.
|
|
869
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
870
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
871
|
+
request; this effectively ignores the
|
|
872
|
+
authentication in the spec for a single request.
|
|
873
|
+
:type _request_auth: dict, optional
|
|
874
|
+
:param _content_type: force content-type for the request.
|
|
875
|
+
:type _content_type: str, Optional
|
|
876
|
+
:param _headers: set to override the headers for a single
|
|
877
|
+
request; this effectively ignores the headers
|
|
878
|
+
in the spec for a single request.
|
|
879
|
+
:type _headers: dict, optional
|
|
880
|
+
:param _host_index: set to override the host_index for a single
|
|
881
|
+
request; this effectively ignores the host_index
|
|
882
|
+
in the spec for a single request.
|
|
883
|
+
:type _host_index: int, optional
|
|
884
|
+
:return: Returns the result object.
|
|
885
|
+
""" # noqa: E501
|
|
886
|
+
|
|
887
|
+
_param = self._identity_referrer_post_serialize(
|
|
888
|
+
referrer=referrer,
|
|
889
|
+
_request_auth=_request_auth,
|
|
890
|
+
_content_type=_content_type,
|
|
891
|
+
_headers=_headers,
|
|
892
|
+
_host_index=_host_index
|
|
893
|
+
)
|
|
894
|
+
|
|
895
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
896
|
+
'204': None,
|
|
897
|
+
}
|
|
898
|
+
response_data = self.api_client.call_api(
|
|
899
|
+
*_param,
|
|
900
|
+
_request_timeout=_request_timeout
|
|
901
|
+
)
|
|
902
|
+
response_data.read()
|
|
903
|
+
return self.api_client.response_deserialize(
|
|
904
|
+
response_data=response_data,
|
|
905
|
+
response_types_map=_response_types_map,
|
|
906
|
+
).data
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
@validate_call
|
|
910
|
+
def identity_referrer_post_with_http_info(
|
|
911
|
+
self,
|
|
912
|
+
referrer: Optional[StrictStr] = None,
|
|
913
|
+
_request_timeout: Union[
|
|
914
|
+
None,
|
|
915
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
916
|
+
Tuple[
|
|
917
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
918
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
919
|
+
]
|
|
920
|
+
] = None,
|
|
921
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
922
|
+
_content_type: Optional[StrictStr] = None,
|
|
923
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
924
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
925
|
+
) -> ApiResponse[None]:
|
|
926
|
+
"""Sets the referrer for the current customer.
|
|
927
|
+
|
|
928
|
+
|
|
929
|
+
:param referrer:
|
|
930
|
+
:type referrer: str
|
|
931
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
932
|
+
number provided, it will be total request
|
|
933
|
+
timeout. It can also be a pair (tuple) of
|
|
934
|
+
(connection, read) timeouts.
|
|
935
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
936
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
937
|
+
request; this effectively ignores the
|
|
938
|
+
authentication in the spec for a single request.
|
|
939
|
+
:type _request_auth: dict, optional
|
|
940
|
+
:param _content_type: force content-type for the request.
|
|
941
|
+
:type _content_type: str, Optional
|
|
942
|
+
:param _headers: set to override the headers for a single
|
|
943
|
+
request; this effectively ignores the headers
|
|
944
|
+
in the spec for a single request.
|
|
945
|
+
:type _headers: dict, optional
|
|
946
|
+
:param _host_index: set to override the host_index for a single
|
|
947
|
+
request; this effectively ignores the host_index
|
|
948
|
+
in the spec for a single request.
|
|
949
|
+
:type _host_index: int, optional
|
|
950
|
+
:return: Returns the result object.
|
|
951
|
+
""" # noqa: E501
|
|
952
|
+
|
|
953
|
+
_param = self._identity_referrer_post_serialize(
|
|
954
|
+
referrer=referrer,
|
|
955
|
+
_request_auth=_request_auth,
|
|
956
|
+
_content_type=_content_type,
|
|
957
|
+
_headers=_headers,
|
|
958
|
+
_host_index=_host_index
|
|
959
|
+
)
|
|
960
|
+
|
|
961
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
962
|
+
'204': None,
|
|
963
|
+
}
|
|
964
|
+
response_data = self.api_client.call_api(
|
|
965
|
+
*_param,
|
|
966
|
+
_request_timeout=_request_timeout
|
|
967
|
+
)
|
|
968
|
+
response_data.read()
|
|
969
|
+
return self.api_client.response_deserialize(
|
|
970
|
+
response_data=response_data,
|
|
971
|
+
response_types_map=_response_types_map,
|
|
972
|
+
)
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
@validate_call
|
|
976
|
+
def identity_referrer_post_without_preload_content(
|
|
977
|
+
self,
|
|
978
|
+
referrer: Optional[StrictStr] = None,
|
|
979
|
+
_request_timeout: Union[
|
|
980
|
+
None,
|
|
981
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
982
|
+
Tuple[
|
|
983
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
984
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
985
|
+
]
|
|
986
|
+
] = None,
|
|
987
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
988
|
+
_content_type: Optional[StrictStr] = None,
|
|
989
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
990
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
991
|
+
) -> RESTResponseType:
|
|
992
|
+
"""Sets the referrer for the current customer.
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
:param referrer:
|
|
996
|
+
:type referrer: str
|
|
997
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
998
|
+
number provided, it will be total request
|
|
999
|
+
timeout. It can also be a pair (tuple) of
|
|
1000
|
+
(connection, read) timeouts.
|
|
1001
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1002
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1003
|
+
request; this effectively ignores the
|
|
1004
|
+
authentication in the spec for a single request.
|
|
1005
|
+
:type _request_auth: dict, optional
|
|
1006
|
+
:param _content_type: force content-type for the request.
|
|
1007
|
+
:type _content_type: str, Optional
|
|
1008
|
+
:param _headers: set to override the headers for a single
|
|
1009
|
+
request; this effectively ignores the headers
|
|
1010
|
+
in the spec for a single request.
|
|
1011
|
+
:type _headers: dict, optional
|
|
1012
|
+
:param _host_index: set to override the host_index for a single
|
|
1013
|
+
request; this effectively ignores the host_index
|
|
1014
|
+
in the spec for a single request.
|
|
1015
|
+
:type _host_index: int, optional
|
|
1016
|
+
:return: Returns the result object.
|
|
1017
|
+
""" # noqa: E501
|
|
1018
|
+
|
|
1019
|
+
_param = self._identity_referrer_post_serialize(
|
|
1020
|
+
referrer=referrer,
|
|
1021
|
+
_request_auth=_request_auth,
|
|
1022
|
+
_content_type=_content_type,
|
|
1023
|
+
_headers=_headers,
|
|
1024
|
+
_host_index=_host_index
|
|
1025
|
+
)
|
|
1026
|
+
|
|
1027
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1028
|
+
'204': None,
|
|
1029
|
+
}
|
|
1030
|
+
response_data = self.api_client.call_api(
|
|
1031
|
+
*_param,
|
|
1032
|
+
_request_timeout=_request_timeout
|
|
1033
|
+
)
|
|
1034
|
+
return response_data.response
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
def _identity_referrer_post_serialize(
|
|
1038
|
+
self,
|
|
1039
|
+
referrer,
|
|
1040
|
+
_request_auth,
|
|
1041
|
+
_content_type,
|
|
1042
|
+
_headers,
|
|
1043
|
+
_host_index,
|
|
1044
|
+
) -> RequestSerialized:
|
|
1045
|
+
|
|
1046
|
+
_host = None
|
|
1047
|
+
|
|
1048
|
+
_collection_formats: Dict[str, str] = {
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
_path_params: Dict[str, str] = {}
|
|
1052
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1053
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1054
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1055
|
+
_files: Dict[
|
|
1056
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1057
|
+
] = {}
|
|
1058
|
+
_body_params: Optional[bytes] = None
|
|
1059
|
+
|
|
1060
|
+
# process the path parameters
|
|
1061
|
+
# process the query parameters
|
|
1062
|
+
if referrer is not None:
|
|
1063
|
+
|
|
1064
|
+
_query_params.append(('referrer', referrer))
|
|
1065
|
+
|
|
1066
|
+
# process the header parameters
|
|
1067
|
+
# process the form parameters
|
|
1068
|
+
# process the body parameter
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
# authentication setting
|
|
1074
|
+
_auth_settings: List[str] = [
|
|
1075
|
+
'OAuth2',
|
|
1076
|
+
'OpenIdConnect',
|
|
1077
|
+
'Bearer'
|
|
833
1078
|
]
|
|
834
1079
|
|
|
835
1080
|
return self.api_client.param_serialize(
|
|
836
1081
|
method='POST',
|
|
837
|
-
resource_path='/
|
|
1082
|
+
resource_path='/identity/referrer',
|
|
838
1083
|
path_params=_path_params,
|
|
839
1084
|
query_params=_query_params,
|
|
840
1085
|
header_params=_header_params,
|