rapidata 2.24.0__py3-none-any.whl → 3.0.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +31 -14
- rapidata/api_client/__init__.py +84 -321
- rapidata/api_client/api/__init__.py +12 -3
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +3044 -0
- rapidata/api_client/api/benchmark_api.py +4307 -0
- rapidata/api_client/api/campaign_api.py +232 -207
- rapidata/api_client/api/client_api.py +166 -145
- rapidata/api_client/api/coco_api.py +0 -571
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +2216 -0
- rapidata/api_client/api/datapoint_api.py +8 -797
- rapidata/api_client/api/dataset_api.py +276 -2858
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -281
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +83 -1171
- rapidata/api_client/api/job_api.py +4200 -0
- rapidata/api_client/api/job_definition_api.py +319 -0
- rapidata/api_client/api/job_revision_api.py +335 -0
- rapidata/api_client/api/leaderboard_api.py +2855 -0
- rapidata/api_client/api/newsletter_api.py +30 -317
- rapidata/api_client/api/order_api.py +758 -5487
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +24 -1783
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +11 -10
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +512 -3232
- rapidata/api_client/api/workflow_api.py +32 -825
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -300
- rapidata/api_client/models/ab_test_selection_a_inner.py +27 -13
- rapidata/api_client/models/add_campaign_model.py +8 -3
- rapidata/api_client/models/add_rapid_to_audience_model.py +144 -0
- rapidata/api_client/models/add_user_response_result.py +10 -5
- rapidata/api_client/models/add_validation_rapid_model.py +49 -28
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_truth.py +32 -12
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +4 -6
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +4 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +11 -9
- rapidata/api_client/models/asset_metadata_model.py +2 -8
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_job_state.py +38 -0
- rapidata/api_client/models/audience_status.py +39 -0
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +91 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +15 -13
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +12 -1
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +1 -10
- rapidata/api_client/models/compare_workflow_config.py +34 -23
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +57 -15
- rapidata/api_client/models/compare_workflow_config_model.py +15 -5
- rapidata/api_client/models/compare_workflow_model.py +34 -6
- rapidata/api_client/models/compare_workflow_model1.py +20 -9
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +1 -1
- rapidata/api_client/models/comparison_operator.py +2 -2
- rapidata/api_client/models/conditional_validation_selection.py +8 -11
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/count_metadata.py +12 -1
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +122 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_model.py +124 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +6 -18
- rapidata/api_client/models/create_dataset_endpoint_input.py +87 -0
- rapidata/api_client/models/create_dataset_endpoint_output.py +87 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_job_definition_endpoint_input.py +119 -0
- rapidata/api_client/models/create_job_definition_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_endpoint_input.py +100 -0
- rapidata/api_client/models/create_job_endpoint_output.py +89 -0
- rapidata/api_client/models/create_job_revision_endpoint_input.py +127 -0
- rapidata/api_client/models/create_job_revision_endpoint_output.py +89 -0
- rapidata/api_client/models/create_leaderboard_model.py +147 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_definition_model.py +119 -0
- rapidata/api_client/models/create_order_definition_result.py +87 -0
- rapidata/api_client/models/create_order_definition_revision_model.py +117 -0
- rapidata/api_client/models/create_order_definition_revision_result.py +87 -0
- rapidata/api_client/models/create_order_model.py +30 -103
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +5 -5
- rapidata/api_client/models/datapoint.py +3 -3
- rapidata/api_client/models/datapoint_metadata_model.py +3 -3
- rapidata/api_client/models/datapoint_model.py +3 -3
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +2 -2
- rapidata/api_client/models/elo_config_model.py +6 -6
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/existing_asset_input.py +109 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +3 -5
- 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 +1 -3
- rapidata/api_client/models/file_asset_model_metadata_value.py +43 -73
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +118 -0
- rapidata/api_client/models/get_audience_user_state_metrics_result.py +87 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +98 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +5 -5
- rapidata/api_client/models/get_compare_workflow_results_model.py +7 -7
- rapidata/api_client/models/get_compare_workflow_results_result.py +5 -5
- rapidata/api_client/models/get_datapoint_by_id_result.py +10 -21
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +2 -2
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +5 -5
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_job_by_id_endpoint_output.py +130 -0
- rapidata/api_client/models/get_job_definition_by_id_endpoint_output.py +95 -0
- rapidata/api_client/models/get_job_revision_endpoint_output.py +133 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +5 -5
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +6 -12
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +5 -5
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_result.py +33 -33
- rapidata/api_client/models/get_validation_rapids_result_truth.py +25 -11
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +23 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +34 -23
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +4 -4
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_audience_filter.py +184 -0
- rapidata/api_client/models/i_audience_filter_and_audience_filter.py +106 -0
- rapidata/api_client/models/i_audience_filter_country_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_country_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_audience_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_language_filter.py +96 -0
- rapidata/api_client/models/i_audience_filter_not_audience_filter.py +102 -0
- rapidata/api_client/models/i_audience_filter_or_audience_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter.py +296 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_campaign_session_count_filter.py +101 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_device_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_duration_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +105 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +105 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +296 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_device_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +108 -0
- rapidata/api_client/models/i_validation_truth_model.py +294 -0
- rapidata/api_client/models/i_validation_truth_model_attach_category_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_bounding_box_truth_model.py +102 -0
- rapidata/api_client/models/i_validation_truth_model_classify_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_empty_validation_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_line_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_locate_box_truth_model.py +108 -0
- rapidata/api_client/models/i_validation_truth_model_multi_compare_truth_model.py +96 -0
- rapidata/api_client/models/i_validation_truth_model_named_entity_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_polygon_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_scrub_truth_model.py +104 -0
- rapidata/api_client/models/i_validation_truth_model_skip_truth_model.py +94 -0
- rapidata/api_client/models/i_validation_truth_model_transcription_truth_model.py +115 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/image_dimension_metadata.py +12 -1
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +2 -2
- rapidata/api_client/models/job_definition_revision_state.py +38 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +11 -13
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +12 -1
- rapidata/api_client/models/logic_operator.py +2 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/multi_asset.py +6 -6
- 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 +4 -4
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +3 -3
- rapidata/api_client/models/null_asset.py +3 -5
- rapidata/api_client/models/null_asset_model.py +1 -3
- rapidata/api_client/models/online_pair_maker_config_model.py +3 -3
- rapidata/api_client/models/option_of_aggregator_type.py +49 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +3 -3
- rapidata/api_client/models/order_model.py +15 -14
- rapidata/api_client/models/order_state.py +2 -2
- rapidata/api_client/models/original_filename_metadata.py +12 -1
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_definitions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_job_revisions_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_jobs_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_rapids_for_audience_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +92 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +6 -8
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +12 -1
- rapidata/api_client/models/prompt_metadata_input.py +2 -2
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +118 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_job_definitions_result.py +97 -0
- rapidata/api_client/models/query_job_revisions_result.py +95 -0
- rapidata/api_client/models/query_jobs_result.py +103 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_rapids_for_audience_result.py +150 -0
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/rapid_issue.py +2 -2
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +3 -2
- rapidata/api_client/models/read_bridge_token_keys_result.py +10 -24
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +9 -15
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +2 -8
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_range.py +2 -2
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/simple_workflow_config.py +15 -7
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +11 -3
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +4 -11
- rapidata/api_client/models/simple_workflow_model_blueprint.py +1 -1
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +12 -1
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +3 -2
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +92 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +3 -5
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +1 -3
- rapidata/api_client/models/text_metadata.py +18 -2
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +7 -2
- rapidata/api_client/models/transcription_metadata.py +9 -1
- rapidata/api_client/models/transcription_metadata_input.py +2 -2
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +113 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +11 -11
- rapidata/api_client/models/update_dataset_name_model.py +5 -5
- rapidata/api_client/models/update_dimensions_model.py +3 -3
- rapidata/api_client/models/update_job_definition_endpoint_input.py +92 -0
- rapidata/api_client/models/update_job_endpoint_input.py +92 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +5 -5
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +28 -12
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +26 -12
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +12 -2
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +3 -3
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_problem_details.py +117 -0
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/vote_matrix_result.py +91 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +2 -2
- rapidata/api_client_README.md +468 -317
- rapidata/rapidata_client/__init__.py +23 -22
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/audience/__init__.py +2 -0
- rapidata/rapidata_client/audience/audience_example_handler.py +168 -0
- rapidata/rapidata_client/audience/rapidata_audience.py +287 -0
- rapidata/rapidata_client/audience/rapidata_audience_manager.py +162 -0
- rapidata/rapidata_client/benchmark/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +34 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +257 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +146 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +592 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +216 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +8 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +194 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/_single_flight_cache.py +82 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/__init__.py +1 -2
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/{metadata → datapoints/metadata}/_select_words_metadata.py +4 -5
- rapidata/rapidata_client/dataset/__init__.py +1 -0
- rapidata/rapidata_client/dataset/_rapidata_dataset.py +55 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +44 -19
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +27 -0
- rapidata/rapidata_client/filter/__init__.py +3 -0
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +58 -2
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +55 -0
- rapidata/rapidata_client/filter/campaign_filter.py +21 -10
- rapidata/rapidata_client/filter/country_filter.py +46 -12
- rapidata/rapidata_client/filter/custom_filter.py +25 -12
- rapidata/rapidata_client/filter/device_filter.py +38 -0
- rapidata/rapidata_client/filter/gender_filter.py +25 -10
- rapidata/rapidata_client/filter/language_filter.py +51 -21
- rapidata/rapidata_client/filter/models/age_group.py +14 -12
- rapidata/rapidata_client/filter/models/device_type.py +20 -0
- rapidata/rapidata_client/filter/models/gender.py +12 -8
- rapidata/rapidata_client/filter/new_user_filter.py +14 -4
- rapidata/rapidata_client/filter/not_filter.py +35 -11
- rapidata/rapidata_client/filter/or_filter.py +36 -11
- rapidata/rapidata_client/filter/rapidata_filters.py +30 -25
- rapidata/rapidata_client/filter/response_count_filter.py +51 -20
- rapidata/rapidata_client/filter/user_score_filter.py +62 -24
- rapidata/rapidata_client/job/__init__.py +3 -0
- rapidata/rapidata_client/job/job_definition.py +110 -0
- rapidata/rapidata_client/job/job_manager.py +758 -0
- rapidata/rapidata_client/job/rapidata_job.py +326 -0
- rapidata/rapidata_client/order/__init__.py +2 -0
- rapidata/rapidata_client/order/_rapidata_order_builder.py +286 -193
- rapidata/rapidata_client/order/rapidata_order.py +329 -153
- rapidata/rapidata_client/order/rapidata_order_manager.py +712 -430
- rapidata/rapidata_client/rapidata_client.py +130 -26
- rapidata/rapidata_client/referee/__init__.py +1 -1
- rapidata/rapidata_client/referee/_base_referee.py +14 -3
- rapidata/rapidata_client/referee/_early_stopping_referee.py +32 -17
- rapidata/rapidata_client/referee/_naive_referee.py +24 -3
- rapidata/rapidata_client/results/__init__.py +3 -0
- rapidata/rapidata_client/{order → results}/rapidata_results.py +98 -67
- rapidata/rapidata_client/selection/__init__.py +2 -1
- rapidata/rapidata_client/selection/_base_selection.py +9 -2
- rapidata/rapidata_client/selection/ab_test_selection.py +28 -20
- rapidata/rapidata_client/selection/capped_selection.py +23 -16
- rapidata/rapidata_client/selection/conditional_validation_selection.py +43 -24
- rapidata/rapidata_client/selection/demographic_selection.py +21 -6
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +36 -12
- rapidata/rapidata_client/selection/{retrieval_modes.py → rapidata_retrieval_modes.py} +10 -7
- rapidata/rapidata_client/selection/rapidata_selections.py +31 -21
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +20 -9
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +4 -1
- rapidata/rapidata_client/settings/_rapidata_setting.py +22 -3
- rapidata/rapidata_client/settings/alert_on_fast_response.py +8 -5
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +3 -2
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +9 -4
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +3 -2
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +4 -2
- rapidata/rapidata_client/settings/play_video_until_the_end.py +7 -4
- rapidata/rapidata_client/settings/rapidata_settings.py +28 -16
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +7 -5
- rapidata/rapidata_client/utils/__init__.py +3 -0
- rapidata/rapidata_client/utils/threaded_uploader.py +153 -0
- rapidata/rapidata_client/validation/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +106 -12
- rapidata/rapidata_client/validation/rapids/__init__.py +2 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +48 -0
- rapidata/rapidata_client/validation/rapids/box.py +37 -12
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -104
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +371 -214
- rapidata/rapidata_client/validation/validation_set_manager.py +529 -227
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +25 -7
- rapidata/rapidata_client/workflow/_classify_workflow.py +58 -15
- rapidata/rapidata_client/workflow/_compare_workflow.py +44 -9
- rapidata/rapidata_client/workflow/_draw_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +28 -7
- rapidata/rapidata_client/workflow/_free_text_workflow.py +46 -9
- rapidata/rapidata_client/workflow/_locate_workflow.py +40 -10
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +51 -11
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +42 -11
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +18 -18
- rapidata/service/openapi_service.py +128 -28
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.1.dist-info/METADATA +32 -0
- rapidata-3.0.1.dist-info/RECORD +1089 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/api/rapidata_exception.py +0 -107
- rapidata/rapidata_client/assets/__init__.py +0 -10
- rapidata/rapidata_client/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/assets/_media_asset.py +0 -306
- rapidata/rapidata_client/assets/_multi_asset.py +0 -66
- rapidata/rapidata_client/assets/_sessions.py +0 -35
- rapidata/rapidata_client/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/assets/data_type_enum.py +0 -7
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -47
- rapidata/rapidata_client/logging/output_manager.py +0 -16
- rapidata/rapidata_client/metadata/_media_asset_metadata.py +0 -15
- rapidata/rapidata_client/metadata/_private_text_metadata.py +0 -17
- rapidata/rapidata_client/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/metadata/_public_text_metadata.py +0 -17
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -443
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -51
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.24.0.dist-info/METADATA +0 -34
- rapidata-2.24.0.dist-info/RECORD +0 -530
- /rapidata/rapidata_client/{metadata → datapoints/metadata}/_base_metadata.py +0 -0
- {rapidata-2.24.0.dist-info → rapidata-3.0.1.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -22,8 +22,6 @@ from typing_extensions import Annotated
|
|
|
22
22
|
from rapidata.api_client.models.create_bridge_token_result import CreateBridgeTokenResult
|
|
23
23
|
from rapidata.api_client.models.google_one_tap_login_model import GoogleOneTapLoginModel
|
|
24
24
|
from rapidata.api_client.models.read_bridge_token_keys_result import ReadBridgeTokenKeysResult
|
|
25
|
-
from rapidata.api_client.models.register_temporary_customer_model import RegisterTemporaryCustomerModel
|
|
26
|
-
from rapidata.api_client.models.register_temporary_customer_result import RegisterTemporaryCustomerResult
|
|
27
25
|
|
|
28
26
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
29
27
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -60,7 +58,7 @@ class IdentityApi:
|
|
|
60
58
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
61
59
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
62
60
|
) -> ReadBridgeTokenKeysResult:
|
|
63
|
-
"""Tries to read the bridge token keys for a given read key.
|
|
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.
|
|
64
62
|
|
|
65
63
|
|
|
66
64
|
:param read_key: The read key to read the bridge token keys for.
|
|
@@ -127,7 +125,7 @@ class IdentityApi:
|
|
|
127
125
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
128
126
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
129
127
|
) -> ApiResponse[ReadBridgeTokenKeysResult]:
|
|
130
|
-
"""Tries to read the bridge token keys for a given read key.
|
|
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.
|
|
131
129
|
|
|
132
130
|
|
|
133
131
|
:param read_key: The read key to read the bridge token keys for.
|
|
@@ -194,7 +192,7 @@ class IdentityApi:
|
|
|
194
192
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
195
193
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
196
194
|
) -> RESTResponseType:
|
|
197
|
-
"""Tries to read the bridge token keys for a given read key.
|
|
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.
|
|
198
196
|
|
|
199
197
|
|
|
200
198
|
:param read_key: The read key to read the bridge token keys for.
|
|
@@ -287,8 +285,9 @@ class IdentityApi:
|
|
|
287
285
|
|
|
288
286
|
# authentication setting
|
|
289
287
|
_auth_settings: List[str] = [
|
|
290
|
-
'
|
|
291
|
-
'
|
|
288
|
+
'OAuth2',
|
|
289
|
+
'OpenIdConnect',
|
|
290
|
+
'Bearer'
|
|
292
291
|
]
|
|
293
292
|
|
|
294
293
|
return self.api_client.param_serialize(
|
|
@@ -326,7 +325,7 @@ class IdentityApi:
|
|
|
326
325
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
327
326
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
328
327
|
) -> CreateBridgeTokenResult:
|
|
329
|
-
"""Creates a pair of read and write keys for a client.
|
|
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.
|
|
330
329
|
|
|
331
330
|
|
|
332
331
|
:param client_id: The client ID to create the keys for.
|
|
@@ -392,7 +391,7 @@ class IdentityApi:
|
|
|
392
391
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
393
392
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
394
393
|
) -> ApiResponse[CreateBridgeTokenResult]:
|
|
395
|
-
"""Creates a pair of read and write keys for a client.
|
|
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.
|
|
396
395
|
|
|
397
396
|
|
|
398
397
|
:param client_id: The client ID to create the keys for.
|
|
@@ -458,7 +457,7 @@ 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
|
-
"""Creates a pair of read and write keys for a client.
|
|
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
463
|
:param client_id: The client ID to create the keys for.
|
|
@@ -550,8 +549,9 @@ class IdentityApi:
|
|
|
550
549
|
|
|
551
550
|
# authentication setting
|
|
552
551
|
_auth_settings: List[str] = [
|
|
553
|
-
'
|
|
554
|
-
'
|
|
552
|
+
'OAuth2',
|
|
553
|
+
'OpenIdConnect',
|
|
554
|
+
'Bearer'
|
|
555
555
|
]
|
|
556
556
|
|
|
557
557
|
return self.api_client.param_serialize(
|
|
@@ -573,943 +573,9 @@ class IdentityApi:
|
|
|
573
573
|
|
|
574
574
|
|
|
575
575
|
@validate_call
|
|
576
|
-
def
|
|
577
|
-
self,
|
|
578
|
-
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
579
|
-
_request_timeout: Union[
|
|
580
|
-
None,
|
|
581
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
582
|
-
Tuple[
|
|
583
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
584
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
585
|
-
]
|
|
586
|
-
] = None,
|
|
587
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
588
|
-
_content_type: Optional[StrictStr] = None,
|
|
589
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
590
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
591
|
-
) -> CreateBridgeTokenResult:
|
|
592
|
-
"""(Deprecated) 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.
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
:param client_id: The client ID to create the keys for.
|
|
596
|
-
:type client_id: str
|
|
597
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
598
|
-
number provided, it will be total request
|
|
599
|
-
timeout. It can also be a pair (tuple) of
|
|
600
|
-
(connection, read) timeouts.
|
|
601
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
602
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
603
|
-
request; this effectively ignores the
|
|
604
|
-
authentication in the spec for a single request.
|
|
605
|
-
:type _request_auth: dict, optional
|
|
606
|
-
:param _content_type: force content-type for the request.
|
|
607
|
-
:type _content_type: str, Optional
|
|
608
|
-
:param _headers: set to override the headers for a single
|
|
609
|
-
request; this effectively ignores the headers
|
|
610
|
-
in the spec for a single request.
|
|
611
|
-
:type _headers: dict, optional
|
|
612
|
-
:param _host_index: set to override the host_index for a single
|
|
613
|
-
request; this effectively ignores the host_index
|
|
614
|
-
in the spec for a single request.
|
|
615
|
-
:type _host_index: int, optional
|
|
616
|
-
:return: Returns the result object.
|
|
617
|
-
""" # noqa: E501
|
|
618
|
-
warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
|
|
619
|
-
|
|
620
|
-
_param = self._identity_createbridgetoken_post_serialize(
|
|
621
|
-
client_id=client_id,
|
|
622
|
-
_request_auth=_request_auth,
|
|
623
|
-
_content_type=_content_type,
|
|
624
|
-
_headers=_headers,
|
|
625
|
-
_host_index=_host_index
|
|
626
|
-
)
|
|
627
|
-
|
|
628
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
629
|
-
'200': "CreateBridgeTokenResult",
|
|
630
|
-
}
|
|
631
|
-
response_data = self.api_client.call_api(
|
|
632
|
-
*_param,
|
|
633
|
-
_request_timeout=_request_timeout
|
|
634
|
-
)
|
|
635
|
-
response_data.read()
|
|
636
|
-
return self.api_client.response_deserialize(
|
|
637
|
-
response_data=response_data,
|
|
638
|
-
response_types_map=_response_types_map,
|
|
639
|
-
).data
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
@validate_call
|
|
643
|
-
def identity_createbridgetoken_post_with_http_info(
|
|
644
|
-
self,
|
|
645
|
-
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
646
|
-
_request_timeout: Union[
|
|
647
|
-
None,
|
|
648
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
649
|
-
Tuple[
|
|
650
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
651
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
652
|
-
]
|
|
653
|
-
] = None,
|
|
654
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
655
|
-
_content_type: Optional[StrictStr] = None,
|
|
656
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
657
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
658
|
-
) -> ApiResponse[CreateBridgeTokenResult]:
|
|
659
|
-
"""(Deprecated) 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.
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
:param client_id: The client ID to create the keys for.
|
|
663
|
-
:type client_id: str
|
|
664
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
665
|
-
number provided, it will be total request
|
|
666
|
-
timeout. It can also be a pair (tuple) of
|
|
667
|
-
(connection, read) timeouts.
|
|
668
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
669
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
670
|
-
request; this effectively ignores the
|
|
671
|
-
authentication in the spec for a single request.
|
|
672
|
-
:type _request_auth: dict, optional
|
|
673
|
-
:param _content_type: force content-type for the request.
|
|
674
|
-
:type _content_type: str, Optional
|
|
675
|
-
:param _headers: set to override the headers for a single
|
|
676
|
-
request; this effectively ignores the headers
|
|
677
|
-
in the spec for a single request.
|
|
678
|
-
:type _headers: dict, optional
|
|
679
|
-
:param _host_index: set to override the host_index for a single
|
|
680
|
-
request; this effectively ignores the host_index
|
|
681
|
-
in the spec for a single request.
|
|
682
|
-
:type _host_index: int, optional
|
|
683
|
-
:return: Returns the result object.
|
|
684
|
-
""" # noqa: E501
|
|
685
|
-
warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
|
|
686
|
-
|
|
687
|
-
_param = self._identity_createbridgetoken_post_serialize(
|
|
688
|
-
client_id=client_id,
|
|
689
|
-
_request_auth=_request_auth,
|
|
690
|
-
_content_type=_content_type,
|
|
691
|
-
_headers=_headers,
|
|
692
|
-
_host_index=_host_index
|
|
693
|
-
)
|
|
694
|
-
|
|
695
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
696
|
-
'200': "CreateBridgeTokenResult",
|
|
697
|
-
}
|
|
698
|
-
response_data = self.api_client.call_api(
|
|
699
|
-
*_param,
|
|
700
|
-
_request_timeout=_request_timeout
|
|
701
|
-
)
|
|
702
|
-
response_data.read()
|
|
703
|
-
return self.api_client.response_deserialize(
|
|
704
|
-
response_data=response_data,
|
|
705
|
-
response_types_map=_response_types_map,
|
|
706
|
-
)
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
@validate_call
|
|
710
|
-
def identity_createbridgetoken_post_without_preload_content(
|
|
711
|
-
self,
|
|
712
|
-
client_id: Annotated[Optional[StrictStr], Field(description="The client ID to create the keys for.")] = None,
|
|
713
|
-
_request_timeout: Union[
|
|
714
|
-
None,
|
|
715
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
716
|
-
Tuple[
|
|
717
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
718
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
719
|
-
]
|
|
720
|
-
] = None,
|
|
721
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
722
|
-
_content_type: Optional[StrictStr] = None,
|
|
723
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
724
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
725
|
-
) -> RESTResponseType:
|
|
726
|
-
"""(Deprecated) 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.
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
:param client_id: The client ID to create the keys for.
|
|
730
|
-
:type client_id: str
|
|
731
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
732
|
-
number provided, it will be total request
|
|
733
|
-
timeout. It can also be a pair (tuple) of
|
|
734
|
-
(connection, read) timeouts.
|
|
735
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
736
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
737
|
-
request; this effectively ignores the
|
|
738
|
-
authentication in the spec for a single request.
|
|
739
|
-
:type _request_auth: dict, optional
|
|
740
|
-
:param _content_type: force content-type for the request.
|
|
741
|
-
:type _content_type: str, Optional
|
|
742
|
-
:param _headers: set to override the headers for a single
|
|
743
|
-
request; this effectively ignores the headers
|
|
744
|
-
in the spec for a single request.
|
|
745
|
-
:type _headers: dict, optional
|
|
746
|
-
:param _host_index: set to override the host_index for a single
|
|
747
|
-
request; this effectively ignores the host_index
|
|
748
|
-
in the spec for a single request.
|
|
749
|
-
:type _host_index: int, optional
|
|
750
|
-
:return: Returns the result object.
|
|
751
|
-
""" # noqa: E501
|
|
752
|
-
warnings.warn("POST /identity/createbridgetoken is deprecated.", DeprecationWarning)
|
|
753
|
-
|
|
754
|
-
_param = self._identity_createbridgetoken_post_serialize(
|
|
755
|
-
client_id=client_id,
|
|
756
|
-
_request_auth=_request_auth,
|
|
757
|
-
_content_type=_content_type,
|
|
758
|
-
_headers=_headers,
|
|
759
|
-
_host_index=_host_index
|
|
760
|
-
)
|
|
761
|
-
|
|
762
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
763
|
-
'200': "CreateBridgeTokenResult",
|
|
764
|
-
}
|
|
765
|
-
response_data = self.api_client.call_api(
|
|
766
|
-
*_param,
|
|
767
|
-
_request_timeout=_request_timeout
|
|
768
|
-
)
|
|
769
|
-
return response_data.response
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
def _identity_createbridgetoken_post_serialize(
|
|
773
|
-
self,
|
|
774
|
-
client_id,
|
|
775
|
-
_request_auth,
|
|
776
|
-
_content_type,
|
|
777
|
-
_headers,
|
|
778
|
-
_host_index,
|
|
779
|
-
) -> RequestSerialized:
|
|
780
|
-
|
|
781
|
-
_host = None
|
|
782
|
-
|
|
783
|
-
_collection_formats: Dict[str, str] = {
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
_path_params: Dict[str, str] = {}
|
|
787
|
-
_query_params: List[Tuple[str, str]] = []
|
|
788
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
789
|
-
_form_params: List[Tuple[str, str]] = []
|
|
790
|
-
_files: Dict[
|
|
791
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
792
|
-
] = {}
|
|
793
|
-
_body_params: Optional[bytes] = None
|
|
794
|
-
|
|
795
|
-
# process the path parameters
|
|
796
|
-
# process the query parameters
|
|
797
|
-
if client_id is not None:
|
|
798
|
-
|
|
799
|
-
_query_params.append(('clientId', client_id))
|
|
800
|
-
|
|
801
|
-
# process the header parameters
|
|
802
|
-
# process the form parameters
|
|
803
|
-
# process the body parameter
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
# set the HTTP header `Accept`
|
|
807
|
-
if 'Accept' not in _header_params:
|
|
808
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
809
|
-
[
|
|
810
|
-
'text/plain',
|
|
811
|
-
'application/json',
|
|
812
|
-
'text/json'
|
|
813
|
-
]
|
|
814
|
-
)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
# authentication setting
|
|
818
|
-
_auth_settings: List[str] = [
|
|
819
|
-
'bearer',
|
|
820
|
-
'oauth2'
|
|
821
|
-
]
|
|
822
|
-
|
|
823
|
-
return self.api_client.param_serialize(
|
|
824
|
-
method='POST',
|
|
825
|
-
resource_path='/identity/createbridgetoken',
|
|
826
|
-
path_params=_path_params,
|
|
827
|
-
query_params=_query_params,
|
|
828
|
-
header_params=_header_params,
|
|
829
|
-
body=_body_params,
|
|
830
|
-
post_params=_form_params,
|
|
831
|
-
files=_files,
|
|
832
|
-
auth_settings=_auth_settings,
|
|
833
|
-
collection_formats=_collection_formats,
|
|
834
|
-
_host=_host,
|
|
835
|
-
_request_auth=_request_auth
|
|
836
|
-
)
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
@validate_call
|
|
842
|
-
def identity_google_one_tap_post(
|
|
843
|
-
self,
|
|
844
|
-
google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
|
|
845
|
-
_request_timeout: Union[
|
|
846
|
-
None,
|
|
847
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
848
|
-
Tuple[
|
|
849
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
850
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
851
|
-
]
|
|
852
|
-
] = None,
|
|
853
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
854
|
-
_content_type: Optional[StrictStr] = None,
|
|
855
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
856
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
857
|
-
) -> None:
|
|
858
|
-
"""Signs in a user using a token received from Google One Tap.
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
:param google_one_tap_login_model: The body of the request containing the id token.
|
|
862
|
-
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
863
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
864
|
-
number provided, it will be total request
|
|
865
|
-
timeout. It can also be a pair (tuple) of
|
|
866
|
-
(connection, read) timeouts.
|
|
867
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
868
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
869
|
-
request; this effectively ignores the
|
|
870
|
-
authentication in the spec for a single request.
|
|
871
|
-
:type _request_auth: dict, optional
|
|
872
|
-
:param _content_type: force content-type for the request.
|
|
873
|
-
:type _content_type: str, Optional
|
|
874
|
-
:param _headers: set to override the headers for a single
|
|
875
|
-
request; this effectively ignores the headers
|
|
876
|
-
in the spec for a single request.
|
|
877
|
-
:type _headers: dict, optional
|
|
878
|
-
:param _host_index: set to override the host_index for a single
|
|
879
|
-
request; this effectively ignores the host_index
|
|
880
|
-
in the spec for a single request.
|
|
881
|
-
:type _host_index: int, optional
|
|
882
|
-
:return: Returns the result object.
|
|
883
|
-
""" # noqa: E501
|
|
884
|
-
|
|
885
|
-
_param = self._identity_google_one_tap_post_serialize(
|
|
886
|
-
google_one_tap_login_model=google_one_tap_login_model,
|
|
887
|
-
_request_auth=_request_auth,
|
|
888
|
-
_content_type=_content_type,
|
|
889
|
-
_headers=_headers,
|
|
890
|
-
_host_index=_host_index
|
|
891
|
-
)
|
|
892
|
-
|
|
893
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
894
|
-
'204': None,
|
|
895
|
-
}
|
|
896
|
-
response_data = self.api_client.call_api(
|
|
897
|
-
*_param,
|
|
898
|
-
_request_timeout=_request_timeout
|
|
899
|
-
)
|
|
900
|
-
response_data.read()
|
|
901
|
-
return self.api_client.response_deserialize(
|
|
902
|
-
response_data=response_data,
|
|
903
|
-
response_types_map=_response_types_map,
|
|
904
|
-
).data
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
@validate_call
|
|
908
|
-
def identity_google_one_tap_post_with_http_info(
|
|
909
|
-
self,
|
|
910
|
-
google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
|
|
911
|
-
_request_timeout: Union[
|
|
912
|
-
None,
|
|
913
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
914
|
-
Tuple[
|
|
915
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
916
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
917
|
-
]
|
|
918
|
-
] = None,
|
|
919
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
920
|
-
_content_type: Optional[StrictStr] = None,
|
|
921
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
922
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
923
|
-
) -> ApiResponse[None]:
|
|
924
|
-
"""Signs in a user using a token received from Google One Tap.
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
:param google_one_tap_login_model: The body of the request containing the id token.
|
|
928
|
-
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
929
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
930
|
-
number provided, it will be total request
|
|
931
|
-
timeout. It can also be a pair (tuple) of
|
|
932
|
-
(connection, read) timeouts.
|
|
933
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
934
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
935
|
-
request; this effectively ignores the
|
|
936
|
-
authentication in the spec for a single request.
|
|
937
|
-
:type _request_auth: dict, optional
|
|
938
|
-
:param _content_type: force content-type for the request.
|
|
939
|
-
:type _content_type: str, Optional
|
|
940
|
-
:param _headers: set to override the headers for a single
|
|
941
|
-
request; this effectively ignores the headers
|
|
942
|
-
in the spec for a single request.
|
|
943
|
-
:type _headers: dict, optional
|
|
944
|
-
:param _host_index: set to override the host_index for a single
|
|
945
|
-
request; this effectively ignores the host_index
|
|
946
|
-
in the spec for a single request.
|
|
947
|
-
:type _host_index: int, optional
|
|
948
|
-
:return: Returns the result object.
|
|
949
|
-
""" # noqa: E501
|
|
950
|
-
|
|
951
|
-
_param = self._identity_google_one_tap_post_serialize(
|
|
952
|
-
google_one_tap_login_model=google_one_tap_login_model,
|
|
953
|
-
_request_auth=_request_auth,
|
|
954
|
-
_content_type=_content_type,
|
|
955
|
-
_headers=_headers,
|
|
956
|
-
_host_index=_host_index
|
|
957
|
-
)
|
|
958
|
-
|
|
959
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
960
|
-
'204': None,
|
|
961
|
-
}
|
|
962
|
-
response_data = self.api_client.call_api(
|
|
963
|
-
*_param,
|
|
964
|
-
_request_timeout=_request_timeout
|
|
965
|
-
)
|
|
966
|
-
response_data.read()
|
|
967
|
-
return self.api_client.response_deserialize(
|
|
968
|
-
response_data=response_data,
|
|
969
|
-
response_types_map=_response_types_map,
|
|
970
|
-
)
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
@validate_call
|
|
974
|
-
def identity_google_one_tap_post_without_preload_content(
|
|
975
|
-
self,
|
|
976
|
-
google_one_tap_login_model: Annotated[Optional[GoogleOneTapLoginModel], Field(description="The body of the request containing the id token.")] = None,
|
|
977
|
-
_request_timeout: Union[
|
|
978
|
-
None,
|
|
979
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
980
|
-
Tuple[
|
|
981
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
982
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
983
|
-
]
|
|
984
|
-
] = None,
|
|
985
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
986
|
-
_content_type: Optional[StrictStr] = None,
|
|
987
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
988
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
989
|
-
) -> RESTResponseType:
|
|
990
|
-
"""Signs in a user using a token received from Google One Tap.
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
:param google_one_tap_login_model: The body of the request containing the id token.
|
|
994
|
-
:type google_one_tap_login_model: GoogleOneTapLoginModel
|
|
995
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
996
|
-
number provided, it will be total request
|
|
997
|
-
timeout. It can also be a pair (tuple) of
|
|
998
|
-
(connection, read) timeouts.
|
|
999
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1000
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1001
|
-
request; this effectively ignores the
|
|
1002
|
-
authentication in the spec for a single request.
|
|
1003
|
-
:type _request_auth: dict, optional
|
|
1004
|
-
:param _content_type: force content-type for the request.
|
|
1005
|
-
:type _content_type: str, Optional
|
|
1006
|
-
:param _headers: set to override the headers for a single
|
|
1007
|
-
request; this effectively ignores the headers
|
|
1008
|
-
in the spec for a single request.
|
|
1009
|
-
:type _headers: dict, optional
|
|
1010
|
-
:param _host_index: set to override the host_index for a single
|
|
1011
|
-
request; this effectively ignores the host_index
|
|
1012
|
-
in the spec for a single request.
|
|
1013
|
-
:type _host_index: int, optional
|
|
1014
|
-
:return: Returns the result object.
|
|
1015
|
-
""" # noqa: E501
|
|
1016
|
-
|
|
1017
|
-
_param = self._identity_google_one_tap_post_serialize(
|
|
1018
|
-
google_one_tap_login_model=google_one_tap_login_model,
|
|
1019
|
-
_request_auth=_request_auth,
|
|
1020
|
-
_content_type=_content_type,
|
|
1021
|
-
_headers=_headers,
|
|
1022
|
-
_host_index=_host_index
|
|
1023
|
-
)
|
|
1024
|
-
|
|
1025
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1026
|
-
'204': None,
|
|
1027
|
-
}
|
|
1028
|
-
response_data = self.api_client.call_api(
|
|
1029
|
-
*_param,
|
|
1030
|
-
_request_timeout=_request_timeout
|
|
1031
|
-
)
|
|
1032
|
-
return response_data.response
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
def _identity_google_one_tap_post_serialize(
|
|
1036
|
-
self,
|
|
1037
|
-
google_one_tap_login_model,
|
|
1038
|
-
_request_auth,
|
|
1039
|
-
_content_type,
|
|
1040
|
-
_headers,
|
|
1041
|
-
_host_index,
|
|
1042
|
-
) -> RequestSerialized:
|
|
1043
|
-
|
|
1044
|
-
_host = None
|
|
1045
|
-
|
|
1046
|
-
_collection_formats: Dict[str, str] = {
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
_path_params: Dict[str, str] = {}
|
|
1050
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1051
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1052
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1053
|
-
_files: Dict[
|
|
1054
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1055
|
-
] = {}
|
|
1056
|
-
_body_params: Optional[bytes] = None
|
|
1057
|
-
|
|
1058
|
-
# process the path parameters
|
|
1059
|
-
# process the query parameters
|
|
1060
|
-
# process the header parameters
|
|
1061
|
-
# process the form parameters
|
|
1062
|
-
# process the body parameter
|
|
1063
|
-
if google_one_tap_login_model is not None:
|
|
1064
|
-
_body_params = google_one_tap_login_model
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
# set the HTTP header `Content-Type`
|
|
1069
|
-
if _content_type:
|
|
1070
|
-
_header_params['Content-Type'] = _content_type
|
|
1071
|
-
else:
|
|
1072
|
-
_default_content_type = (
|
|
1073
|
-
self.api_client.select_header_content_type(
|
|
1074
|
-
[
|
|
1075
|
-
'application/json',
|
|
1076
|
-
'text/json',
|
|
1077
|
-
'application/*+json'
|
|
1078
|
-
]
|
|
1079
|
-
)
|
|
1080
|
-
)
|
|
1081
|
-
if _default_content_type is not None:
|
|
1082
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1083
|
-
|
|
1084
|
-
# authentication setting
|
|
1085
|
-
_auth_settings: List[str] = [
|
|
1086
|
-
'bearer',
|
|
1087
|
-
'oauth2'
|
|
1088
|
-
]
|
|
1089
|
-
|
|
1090
|
-
return self.api_client.param_serialize(
|
|
1091
|
-
method='POST',
|
|
1092
|
-
resource_path='/identity/google-one-tap',
|
|
1093
|
-
path_params=_path_params,
|
|
1094
|
-
query_params=_query_params,
|
|
1095
|
-
header_params=_header_params,
|
|
1096
|
-
body=_body_params,
|
|
1097
|
-
post_params=_form_params,
|
|
1098
|
-
files=_files,
|
|
1099
|
-
auth_settings=_auth_settings,
|
|
1100
|
-
collection_formats=_collection_formats,
|
|
1101
|
-
_host=_host,
|
|
1102
|
-
_request_auth=_request_auth
|
|
1103
|
-
)
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
@validate_call
|
|
1109
|
-
def identity_readbridgetoken_get(
|
|
1110
|
-
self,
|
|
1111
|
-
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
1112
|
-
_request_timeout: Union[
|
|
1113
|
-
None,
|
|
1114
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1115
|
-
Tuple[
|
|
1116
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1117
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1118
|
-
]
|
|
1119
|
-
] = None,
|
|
1120
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1121
|
-
_content_type: Optional[StrictStr] = None,
|
|
1122
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1123
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1124
|
-
) -> ReadBridgeTokenKeysResult:
|
|
1125
|
-
"""(Deprecated) 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.
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
:param read_key: The read key to read the bridge token keys for.
|
|
1129
|
-
:type read_key: str
|
|
1130
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1131
|
-
number provided, it will be total request
|
|
1132
|
-
timeout. It can also be a pair (tuple) of
|
|
1133
|
-
(connection, read) timeouts.
|
|
1134
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1135
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1136
|
-
request; this effectively ignores the
|
|
1137
|
-
authentication in the spec for a single request.
|
|
1138
|
-
:type _request_auth: dict, optional
|
|
1139
|
-
:param _content_type: force content-type for the request.
|
|
1140
|
-
:type _content_type: str, Optional
|
|
1141
|
-
:param _headers: set to override the headers for a single
|
|
1142
|
-
request; this effectively ignores the headers
|
|
1143
|
-
in the spec for a single request.
|
|
1144
|
-
:type _headers: dict, optional
|
|
1145
|
-
:param _host_index: set to override the host_index for a single
|
|
1146
|
-
request; this effectively ignores the host_index
|
|
1147
|
-
in the spec for a single request.
|
|
1148
|
-
:type _host_index: int, optional
|
|
1149
|
-
:return: Returns the result object.
|
|
1150
|
-
""" # noqa: E501
|
|
1151
|
-
warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
|
|
1152
|
-
|
|
1153
|
-
_param = self._identity_readbridgetoken_get_serialize(
|
|
1154
|
-
read_key=read_key,
|
|
1155
|
-
_request_auth=_request_auth,
|
|
1156
|
-
_content_type=_content_type,
|
|
1157
|
-
_headers=_headers,
|
|
1158
|
-
_host_index=_host_index
|
|
1159
|
-
)
|
|
1160
|
-
|
|
1161
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1162
|
-
'200': "ReadBridgeTokenKeysResult",
|
|
1163
|
-
'202': "NotAvailableYetResult",
|
|
1164
|
-
}
|
|
1165
|
-
response_data = self.api_client.call_api(
|
|
1166
|
-
*_param,
|
|
1167
|
-
_request_timeout=_request_timeout
|
|
1168
|
-
)
|
|
1169
|
-
response_data.read()
|
|
1170
|
-
return self.api_client.response_deserialize(
|
|
1171
|
-
response_data=response_data,
|
|
1172
|
-
response_types_map=_response_types_map,
|
|
1173
|
-
).data
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
@validate_call
|
|
1177
|
-
def identity_readbridgetoken_get_with_http_info(
|
|
1178
|
-
self,
|
|
1179
|
-
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
1180
|
-
_request_timeout: Union[
|
|
1181
|
-
None,
|
|
1182
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1183
|
-
Tuple[
|
|
1184
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1185
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1186
|
-
]
|
|
1187
|
-
] = None,
|
|
1188
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1189
|
-
_content_type: Optional[StrictStr] = None,
|
|
1190
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1191
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1192
|
-
) -> ApiResponse[ReadBridgeTokenKeysResult]:
|
|
1193
|
-
"""(Deprecated) 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.
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
:param read_key: The read key to read the bridge token keys for.
|
|
1197
|
-
:type read_key: str
|
|
1198
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1199
|
-
number provided, it will be total request
|
|
1200
|
-
timeout. It can also be a pair (tuple) of
|
|
1201
|
-
(connection, read) timeouts.
|
|
1202
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1203
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1204
|
-
request; this effectively ignores the
|
|
1205
|
-
authentication in the spec for a single request.
|
|
1206
|
-
:type _request_auth: dict, optional
|
|
1207
|
-
:param _content_type: force content-type for the request.
|
|
1208
|
-
:type _content_type: str, Optional
|
|
1209
|
-
:param _headers: set to override the headers for a single
|
|
1210
|
-
request; this effectively ignores the headers
|
|
1211
|
-
in the spec for a single request.
|
|
1212
|
-
:type _headers: dict, optional
|
|
1213
|
-
:param _host_index: set to override the host_index for a single
|
|
1214
|
-
request; this effectively ignores the host_index
|
|
1215
|
-
in the spec for a single request.
|
|
1216
|
-
:type _host_index: int, optional
|
|
1217
|
-
:return: Returns the result object.
|
|
1218
|
-
""" # noqa: E501
|
|
1219
|
-
warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
|
|
1220
|
-
|
|
1221
|
-
_param = self._identity_readbridgetoken_get_serialize(
|
|
1222
|
-
read_key=read_key,
|
|
1223
|
-
_request_auth=_request_auth,
|
|
1224
|
-
_content_type=_content_type,
|
|
1225
|
-
_headers=_headers,
|
|
1226
|
-
_host_index=_host_index
|
|
1227
|
-
)
|
|
1228
|
-
|
|
1229
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1230
|
-
'200': "ReadBridgeTokenKeysResult",
|
|
1231
|
-
'202': "NotAvailableYetResult",
|
|
1232
|
-
}
|
|
1233
|
-
response_data = self.api_client.call_api(
|
|
1234
|
-
*_param,
|
|
1235
|
-
_request_timeout=_request_timeout
|
|
1236
|
-
)
|
|
1237
|
-
response_data.read()
|
|
1238
|
-
return self.api_client.response_deserialize(
|
|
1239
|
-
response_data=response_data,
|
|
1240
|
-
response_types_map=_response_types_map,
|
|
1241
|
-
)
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
@validate_call
|
|
1245
|
-
def identity_readbridgetoken_get_without_preload_content(
|
|
1246
|
-
self,
|
|
1247
|
-
read_key: Annotated[Optional[StrictStr], Field(description="The read key to read the bridge token keys for.")] = None,
|
|
1248
|
-
_request_timeout: Union[
|
|
1249
|
-
None,
|
|
1250
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1251
|
-
Tuple[
|
|
1252
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1253
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1254
|
-
]
|
|
1255
|
-
] = None,
|
|
1256
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1257
|
-
_content_type: Optional[StrictStr] = None,
|
|
1258
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1259
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1260
|
-
) -> RESTResponseType:
|
|
1261
|
-
"""(Deprecated) 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.
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
:param read_key: The read key to read the bridge token keys for.
|
|
1265
|
-
:type read_key: str
|
|
1266
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1267
|
-
number provided, it will be total request
|
|
1268
|
-
timeout. It can also be a pair (tuple) of
|
|
1269
|
-
(connection, read) timeouts.
|
|
1270
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1271
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1272
|
-
request; this effectively ignores the
|
|
1273
|
-
authentication in the spec for a single request.
|
|
1274
|
-
:type _request_auth: dict, optional
|
|
1275
|
-
:param _content_type: force content-type for the request.
|
|
1276
|
-
:type _content_type: str, Optional
|
|
1277
|
-
:param _headers: set to override the headers for a single
|
|
1278
|
-
request; this effectively ignores the headers
|
|
1279
|
-
in the spec for a single request.
|
|
1280
|
-
:type _headers: dict, optional
|
|
1281
|
-
:param _host_index: set to override the host_index for a single
|
|
1282
|
-
request; this effectively ignores the host_index
|
|
1283
|
-
in the spec for a single request.
|
|
1284
|
-
:type _host_index: int, optional
|
|
1285
|
-
:return: Returns the result object.
|
|
1286
|
-
""" # noqa: E501
|
|
1287
|
-
warnings.warn("GET /identity/readbridgetoken is deprecated.", DeprecationWarning)
|
|
1288
|
-
|
|
1289
|
-
_param = self._identity_readbridgetoken_get_serialize(
|
|
1290
|
-
read_key=read_key,
|
|
1291
|
-
_request_auth=_request_auth,
|
|
1292
|
-
_content_type=_content_type,
|
|
1293
|
-
_headers=_headers,
|
|
1294
|
-
_host_index=_host_index
|
|
1295
|
-
)
|
|
1296
|
-
|
|
1297
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1298
|
-
'200': "ReadBridgeTokenKeysResult",
|
|
1299
|
-
'202': "NotAvailableYetResult",
|
|
1300
|
-
}
|
|
1301
|
-
response_data = self.api_client.call_api(
|
|
1302
|
-
*_param,
|
|
1303
|
-
_request_timeout=_request_timeout
|
|
1304
|
-
)
|
|
1305
|
-
return response_data.response
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
def _identity_readbridgetoken_get_serialize(
|
|
1309
|
-
self,
|
|
1310
|
-
read_key,
|
|
1311
|
-
_request_auth,
|
|
1312
|
-
_content_type,
|
|
1313
|
-
_headers,
|
|
1314
|
-
_host_index,
|
|
1315
|
-
) -> RequestSerialized:
|
|
1316
|
-
|
|
1317
|
-
_host = None
|
|
1318
|
-
|
|
1319
|
-
_collection_formats: Dict[str, str] = {
|
|
1320
|
-
}
|
|
1321
|
-
|
|
1322
|
-
_path_params: Dict[str, str] = {}
|
|
1323
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1324
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1325
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1326
|
-
_files: Dict[
|
|
1327
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1328
|
-
] = {}
|
|
1329
|
-
_body_params: Optional[bytes] = None
|
|
1330
|
-
|
|
1331
|
-
# process the path parameters
|
|
1332
|
-
# process the query parameters
|
|
1333
|
-
if read_key is not None:
|
|
1334
|
-
|
|
1335
|
-
_query_params.append(('readKey', read_key))
|
|
1336
|
-
|
|
1337
|
-
# process the header parameters
|
|
1338
|
-
# process the form parameters
|
|
1339
|
-
# process the body parameter
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
# set the HTTP header `Accept`
|
|
1343
|
-
if 'Accept' not in _header_params:
|
|
1344
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1345
|
-
[
|
|
1346
|
-
'text/plain',
|
|
1347
|
-
'application/json',
|
|
1348
|
-
'text/json'
|
|
1349
|
-
]
|
|
1350
|
-
)
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
# authentication setting
|
|
1354
|
-
_auth_settings: List[str] = [
|
|
1355
|
-
'bearer',
|
|
1356
|
-
'oauth2'
|
|
1357
|
-
]
|
|
1358
|
-
|
|
1359
|
-
return self.api_client.param_serialize(
|
|
1360
|
-
method='GET',
|
|
1361
|
-
resource_path='/identity/readbridgetoken',
|
|
1362
|
-
path_params=_path_params,
|
|
1363
|
-
query_params=_query_params,
|
|
1364
|
-
header_params=_header_params,
|
|
1365
|
-
body=_body_params,
|
|
1366
|
-
post_params=_form_params,
|
|
1367
|
-
files=_files,
|
|
1368
|
-
auth_settings=_auth_settings,
|
|
1369
|
-
collection_formats=_collection_formats,
|
|
1370
|
-
_host=_host,
|
|
1371
|
-
_request_auth=_request_auth
|
|
1372
|
-
)
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
@validate_call
|
|
1378
|
-
def identity_referrer_post(
|
|
1379
|
-
self,
|
|
1380
|
-
referrer: Optional[StrictStr] = None,
|
|
1381
|
-
_request_timeout: Union[
|
|
1382
|
-
None,
|
|
1383
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1384
|
-
Tuple[
|
|
1385
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1386
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1387
|
-
]
|
|
1388
|
-
] = None,
|
|
1389
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1390
|
-
_content_type: Optional[StrictStr] = None,
|
|
1391
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1392
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1393
|
-
) -> None:
|
|
1394
|
-
"""Sets the referrer for the current customer.
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
:param referrer:
|
|
1398
|
-
:type referrer: str
|
|
1399
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1400
|
-
number provided, it will be total request
|
|
1401
|
-
timeout. It can also be a pair (tuple) of
|
|
1402
|
-
(connection, read) timeouts.
|
|
1403
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1404
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1405
|
-
request; this effectively ignores the
|
|
1406
|
-
authentication in the spec for a single request.
|
|
1407
|
-
:type _request_auth: dict, optional
|
|
1408
|
-
:param _content_type: force content-type for the request.
|
|
1409
|
-
:type _content_type: str, Optional
|
|
1410
|
-
:param _headers: set to override the headers for a single
|
|
1411
|
-
request; this effectively ignores the headers
|
|
1412
|
-
in the spec for a single request.
|
|
1413
|
-
:type _headers: dict, optional
|
|
1414
|
-
:param _host_index: set to override the host_index for a single
|
|
1415
|
-
request; this effectively ignores the host_index
|
|
1416
|
-
in the spec for a single request.
|
|
1417
|
-
:type _host_index: int, optional
|
|
1418
|
-
:return: Returns the result object.
|
|
1419
|
-
""" # noqa: E501
|
|
1420
|
-
|
|
1421
|
-
_param = self._identity_referrer_post_serialize(
|
|
1422
|
-
referrer=referrer,
|
|
1423
|
-
_request_auth=_request_auth,
|
|
1424
|
-
_content_type=_content_type,
|
|
1425
|
-
_headers=_headers,
|
|
1426
|
-
_host_index=_host_index
|
|
1427
|
-
)
|
|
1428
|
-
|
|
1429
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1430
|
-
'204': None,
|
|
1431
|
-
}
|
|
1432
|
-
response_data = self.api_client.call_api(
|
|
1433
|
-
*_param,
|
|
1434
|
-
_request_timeout=_request_timeout
|
|
1435
|
-
)
|
|
1436
|
-
response_data.read()
|
|
1437
|
-
return self.api_client.response_deserialize(
|
|
1438
|
-
response_data=response_data,
|
|
1439
|
-
response_types_map=_response_types_map,
|
|
1440
|
-
).data
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
@validate_call
|
|
1444
|
-
def identity_referrer_post_with_http_info(
|
|
1445
|
-
self,
|
|
1446
|
-
referrer: Optional[StrictStr] = None,
|
|
1447
|
-
_request_timeout: Union[
|
|
1448
|
-
None,
|
|
1449
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1450
|
-
Tuple[
|
|
1451
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1452
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1453
|
-
]
|
|
1454
|
-
] = None,
|
|
1455
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1456
|
-
_content_type: Optional[StrictStr] = None,
|
|
1457
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1458
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1459
|
-
) -> ApiResponse[None]:
|
|
1460
|
-
"""Sets the referrer for the current customer.
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
:param referrer:
|
|
1464
|
-
:type referrer: str
|
|
1465
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1466
|
-
number provided, it will be total request
|
|
1467
|
-
timeout. It can also be a pair (tuple) of
|
|
1468
|
-
(connection, read) timeouts.
|
|
1469
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1470
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1471
|
-
request; this effectively ignores the
|
|
1472
|
-
authentication in the spec for a single request.
|
|
1473
|
-
:type _request_auth: dict, optional
|
|
1474
|
-
:param _content_type: force content-type for the request.
|
|
1475
|
-
:type _content_type: str, Optional
|
|
1476
|
-
:param _headers: set to override the headers for a single
|
|
1477
|
-
request; this effectively ignores the headers
|
|
1478
|
-
in the spec for a single request.
|
|
1479
|
-
:type _headers: dict, optional
|
|
1480
|
-
:param _host_index: set to override the host_index for a single
|
|
1481
|
-
request; this effectively ignores the host_index
|
|
1482
|
-
in the spec for a single request.
|
|
1483
|
-
:type _host_index: int, optional
|
|
1484
|
-
:return: Returns the result object.
|
|
1485
|
-
""" # noqa: E501
|
|
1486
|
-
|
|
1487
|
-
_param = self._identity_referrer_post_serialize(
|
|
1488
|
-
referrer=referrer,
|
|
1489
|
-
_request_auth=_request_auth,
|
|
1490
|
-
_content_type=_content_type,
|
|
1491
|
-
_headers=_headers,
|
|
1492
|
-
_host_index=_host_index
|
|
1493
|
-
)
|
|
1494
|
-
|
|
1495
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1496
|
-
'204': None,
|
|
1497
|
-
}
|
|
1498
|
-
response_data = self.api_client.call_api(
|
|
1499
|
-
*_param,
|
|
1500
|
-
_request_timeout=_request_timeout
|
|
1501
|
-
)
|
|
1502
|
-
response_data.read()
|
|
1503
|
-
return self.api_client.response_deserialize(
|
|
1504
|
-
response_data=response_data,
|
|
1505
|
-
response_types_map=_response_types_map,
|
|
1506
|
-
)
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
@validate_call
|
|
1510
|
-
def identity_referrer_post_without_preload_content(
|
|
576
|
+
def identity_google_one_tap_post(
|
|
1511
577
|
self,
|
|
1512
|
-
|
|
578
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
1513
579
|
_request_timeout: Union[
|
|
1514
580
|
None,
|
|
1515
581
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1522,12 +588,12 @@ class IdentityApi:
|
|
|
1522
588
|
_content_type: Optional[StrictStr] = None,
|
|
1523
589
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1524
590
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1525
|
-
) ->
|
|
1526
|
-
"""
|
|
591
|
+
) -> None:
|
|
592
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
1527
593
|
|
|
1528
594
|
|
|
1529
|
-
:param
|
|
1530
|
-
: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
|
|
1531
597
|
:param _request_timeout: timeout setting for this request. If one
|
|
1532
598
|
number provided, it will be total request
|
|
1533
599
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1550,8 +616,8 @@ class IdentityApi:
|
|
|
1550
616
|
:return: Returns the result object.
|
|
1551
617
|
""" # noqa: E501
|
|
1552
618
|
|
|
1553
|
-
_param = self.
|
|
1554
|
-
|
|
619
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
620
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
1555
621
|
_request_auth=_request_auth,
|
|
1556
622
|
_content_type=_content_type,
|
|
1557
623
|
_headers=_headers,
|
|
@@ -1565,129 +631,6 @@ class IdentityApi:
|
|
|
1565
631
|
*_param,
|
|
1566
632
|
_request_timeout=_request_timeout
|
|
1567
633
|
)
|
|
1568
|
-
return response_data.response
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
def _identity_referrer_post_serialize(
|
|
1572
|
-
self,
|
|
1573
|
-
referrer,
|
|
1574
|
-
_request_auth,
|
|
1575
|
-
_content_type,
|
|
1576
|
-
_headers,
|
|
1577
|
-
_host_index,
|
|
1578
|
-
) -> RequestSerialized:
|
|
1579
|
-
|
|
1580
|
-
_host = None
|
|
1581
|
-
|
|
1582
|
-
_collection_formats: Dict[str, str] = {
|
|
1583
|
-
}
|
|
1584
|
-
|
|
1585
|
-
_path_params: Dict[str, str] = {}
|
|
1586
|
-
_query_params: List[Tuple[str, str]] = []
|
|
1587
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1588
|
-
_form_params: List[Tuple[str, str]] = []
|
|
1589
|
-
_files: Dict[
|
|
1590
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1591
|
-
] = {}
|
|
1592
|
-
_body_params: Optional[bytes] = None
|
|
1593
|
-
|
|
1594
|
-
# process the path parameters
|
|
1595
|
-
# process the query parameters
|
|
1596
|
-
if referrer is not None:
|
|
1597
|
-
|
|
1598
|
-
_query_params.append(('referrer', referrer))
|
|
1599
|
-
|
|
1600
|
-
# process the header parameters
|
|
1601
|
-
# process the form parameters
|
|
1602
|
-
# process the body parameter
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
# authentication setting
|
|
1608
|
-
_auth_settings: List[str] = [
|
|
1609
|
-
'bearer',
|
|
1610
|
-
'oauth2'
|
|
1611
|
-
]
|
|
1612
|
-
|
|
1613
|
-
return self.api_client.param_serialize(
|
|
1614
|
-
method='POST',
|
|
1615
|
-
resource_path='/identity/referrer',
|
|
1616
|
-
path_params=_path_params,
|
|
1617
|
-
query_params=_query_params,
|
|
1618
|
-
header_params=_header_params,
|
|
1619
|
-
body=_body_params,
|
|
1620
|
-
post_params=_form_params,
|
|
1621
|
-
files=_files,
|
|
1622
|
-
auth_settings=_auth_settings,
|
|
1623
|
-
collection_formats=_collection_formats,
|
|
1624
|
-
_host=_host,
|
|
1625
|
-
_request_auth=_request_auth
|
|
1626
|
-
)
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
@validate_call
|
|
1632
|
-
def identity_registertemporary_post(
|
|
1633
|
-
self,
|
|
1634
|
-
register_temporary_customer_model: Annotated[Optional[RegisterTemporaryCustomerModel], Field(description="The model to register the temporary customer with.")] = None,
|
|
1635
|
-
_request_timeout: Union[
|
|
1636
|
-
None,
|
|
1637
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1638
|
-
Tuple[
|
|
1639
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
1640
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
1641
|
-
]
|
|
1642
|
-
] = None,
|
|
1643
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1644
|
-
_content_type: Optional[StrictStr] = None,
|
|
1645
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1646
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1647
|
-
) -> RegisterTemporaryCustomerResult:
|
|
1648
|
-
"""(Deprecated) Registers and logs in a temporary customer.
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
:param register_temporary_customer_model: The model to register the temporary customer with.
|
|
1652
|
-
:type register_temporary_customer_model: RegisterTemporaryCustomerModel
|
|
1653
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
1654
|
-
number provided, it will be total request
|
|
1655
|
-
timeout. It can also be a pair (tuple) of
|
|
1656
|
-
(connection, read) timeouts.
|
|
1657
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
1658
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
1659
|
-
request; this effectively ignores the
|
|
1660
|
-
authentication in the spec for a single request.
|
|
1661
|
-
:type _request_auth: dict, optional
|
|
1662
|
-
:param _content_type: force content-type for the request.
|
|
1663
|
-
:type _content_type: str, Optional
|
|
1664
|
-
:param _headers: set to override the headers for a single
|
|
1665
|
-
request; this effectively ignores the headers
|
|
1666
|
-
in the spec for a single request.
|
|
1667
|
-
:type _headers: dict, optional
|
|
1668
|
-
:param _host_index: set to override the host_index for a single
|
|
1669
|
-
request; this effectively ignores the host_index
|
|
1670
|
-
in the spec for a single request.
|
|
1671
|
-
:type _host_index: int, optional
|
|
1672
|
-
:return: Returns the result object.
|
|
1673
|
-
""" # noqa: E501
|
|
1674
|
-
warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
|
|
1675
|
-
|
|
1676
|
-
_param = self._identity_registertemporary_post_serialize(
|
|
1677
|
-
register_temporary_customer_model=register_temporary_customer_model,
|
|
1678
|
-
_request_auth=_request_auth,
|
|
1679
|
-
_content_type=_content_type,
|
|
1680
|
-
_headers=_headers,
|
|
1681
|
-
_host_index=_host_index
|
|
1682
|
-
)
|
|
1683
|
-
|
|
1684
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
1685
|
-
'200': "RegisterTemporaryCustomerResult",
|
|
1686
|
-
}
|
|
1687
|
-
response_data = self.api_client.call_api(
|
|
1688
|
-
*_param,
|
|
1689
|
-
_request_timeout=_request_timeout
|
|
1690
|
-
)
|
|
1691
634
|
response_data.read()
|
|
1692
635
|
return self.api_client.response_deserialize(
|
|
1693
636
|
response_data=response_data,
|
|
@@ -1696,9 +639,9 @@ class IdentityApi:
|
|
|
1696
639
|
|
|
1697
640
|
|
|
1698
641
|
@validate_call
|
|
1699
|
-
def
|
|
642
|
+
def identity_google_one_tap_post_with_http_info(
|
|
1700
643
|
self,
|
|
1701
|
-
|
|
644
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
1702
645
|
_request_timeout: Union[
|
|
1703
646
|
None,
|
|
1704
647
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1711,12 +654,12 @@ class IdentityApi:
|
|
|
1711
654
|
_content_type: Optional[StrictStr] = None,
|
|
1712
655
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1713
656
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1714
|
-
) -> ApiResponse[
|
|
1715
|
-
"""
|
|
657
|
+
) -> ApiResponse[None]:
|
|
658
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
1716
659
|
|
|
1717
660
|
|
|
1718
|
-
:param
|
|
1719
|
-
: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
|
|
1720
663
|
:param _request_timeout: timeout setting for this request. If one
|
|
1721
664
|
number provided, it will be total request
|
|
1722
665
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1738,10 +681,9 @@ class IdentityApi:
|
|
|
1738
681
|
:type _host_index: int, optional
|
|
1739
682
|
:return: Returns the result object.
|
|
1740
683
|
""" # noqa: E501
|
|
1741
|
-
warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
|
|
1742
684
|
|
|
1743
|
-
_param = self.
|
|
1744
|
-
|
|
685
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
686
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
1745
687
|
_request_auth=_request_auth,
|
|
1746
688
|
_content_type=_content_type,
|
|
1747
689
|
_headers=_headers,
|
|
@@ -1749,7 +691,7 @@ class IdentityApi:
|
|
|
1749
691
|
)
|
|
1750
692
|
|
|
1751
693
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1752
|
-
'
|
|
694
|
+
'204': None,
|
|
1753
695
|
}
|
|
1754
696
|
response_data = self.api_client.call_api(
|
|
1755
697
|
*_param,
|
|
@@ -1763,9 +705,9 @@ class IdentityApi:
|
|
|
1763
705
|
|
|
1764
706
|
|
|
1765
707
|
@validate_call
|
|
1766
|
-
def
|
|
708
|
+
def identity_google_one_tap_post_without_preload_content(
|
|
1767
709
|
self,
|
|
1768
|
-
|
|
710
|
+
google_one_tap_login_model: Annotated[GoogleOneTapLoginModel, Field(description="The body of the request containing the id token.")],
|
|
1769
711
|
_request_timeout: Union[
|
|
1770
712
|
None,
|
|
1771
713
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1779,11 +721,11 @@ class IdentityApi:
|
|
|
1779
721
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1780
722
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1781
723
|
) -> RESTResponseType:
|
|
1782
|
-
"""
|
|
724
|
+
"""Signs in a user using a token received from Google One Tap.
|
|
1783
725
|
|
|
1784
726
|
|
|
1785
|
-
:param
|
|
1786
|
-
: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
|
|
1787
729
|
:param _request_timeout: timeout setting for this request. If one
|
|
1788
730
|
number provided, it will be total request
|
|
1789
731
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1805,10 +747,9 @@ class IdentityApi:
|
|
|
1805
747
|
:type _host_index: int, optional
|
|
1806
748
|
:return: Returns the result object.
|
|
1807
749
|
""" # noqa: E501
|
|
1808
|
-
warnings.warn("POST /identity/registertemporary is deprecated.", DeprecationWarning)
|
|
1809
750
|
|
|
1810
|
-
_param = self.
|
|
1811
|
-
|
|
751
|
+
_param = self._identity_google_one_tap_post_serialize(
|
|
752
|
+
google_one_tap_login_model=google_one_tap_login_model,
|
|
1812
753
|
_request_auth=_request_auth,
|
|
1813
754
|
_content_type=_content_type,
|
|
1814
755
|
_headers=_headers,
|
|
@@ -1816,7 +757,7 @@ class IdentityApi:
|
|
|
1816
757
|
)
|
|
1817
758
|
|
|
1818
759
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1819
|
-
'
|
|
760
|
+
'204': None,
|
|
1820
761
|
}
|
|
1821
762
|
response_data = self.api_client.call_api(
|
|
1822
763
|
*_param,
|
|
@@ -1825,9 +766,9 @@ class IdentityApi:
|
|
|
1825
766
|
return response_data.response
|
|
1826
767
|
|
|
1827
768
|
|
|
1828
|
-
def
|
|
769
|
+
def _identity_google_one_tap_post_serialize(
|
|
1829
770
|
self,
|
|
1830
|
-
|
|
771
|
+
google_one_tap_login_model,
|
|
1831
772
|
_request_auth,
|
|
1832
773
|
_content_type,
|
|
1833
774
|
_headers,
|
|
@@ -1853,19 +794,10 @@ class IdentityApi:
|
|
|
1853
794
|
# process the header parameters
|
|
1854
795
|
# process the form parameters
|
|
1855
796
|
# process the body parameter
|
|
1856
|
-
if
|
|
1857
|
-
_body_params =
|
|
797
|
+
if google_one_tap_login_model is not None:
|
|
798
|
+
_body_params = google_one_tap_login_model
|
|
1858
799
|
|
|
1859
800
|
|
|
1860
|
-
# set the HTTP header `Accept`
|
|
1861
|
-
if 'Accept' not in _header_params:
|
|
1862
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1863
|
-
[
|
|
1864
|
-
'text/plain',
|
|
1865
|
-
'application/json',
|
|
1866
|
-
'text/json'
|
|
1867
|
-
]
|
|
1868
|
-
)
|
|
1869
801
|
|
|
1870
802
|
# set the HTTP header `Content-Type`
|
|
1871
803
|
if _content_type:
|
|
@@ -1885,13 +817,14 @@ class IdentityApi:
|
|
|
1885
817
|
|
|
1886
818
|
# authentication setting
|
|
1887
819
|
_auth_settings: List[str] = [
|
|
1888
|
-
'
|
|
1889
|
-
'
|
|
820
|
+
'OAuth2',
|
|
821
|
+
'OpenIdConnect',
|
|
822
|
+
'Bearer'
|
|
1890
823
|
]
|
|
1891
824
|
|
|
1892
825
|
return self.api_client.param_serialize(
|
|
1893
826
|
method='POST',
|
|
1894
|
-
resource_path='/identity/
|
|
827
|
+
resource_path='/identity/google-one-tap',
|
|
1895
828
|
path_params=_path_params,
|
|
1896
829
|
query_params=_query_params,
|
|
1897
830
|
header_params=_header_params,
|
|
@@ -1908,9 +841,9 @@ class IdentityApi:
|
|
|
1908
841
|
|
|
1909
842
|
|
|
1910
843
|
@validate_call
|
|
1911
|
-
def
|
|
844
|
+
def identity_referrer_post(
|
|
1912
845
|
self,
|
|
1913
|
-
|
|
846
|
+
referrer: Optional[StrictStr] = None,
|
|
1914
847
|
_request_timeout: Union[
|
|
1915
848
|
None,
|
|
1916
849
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1923,12 +856,12 @@ class IdentityApi:
|
|
|
1923
856
|
_content_type: Optional[StrictStr] = None,
|
|
1924
857
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1925
858
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1926
|
-
) ->
|
|
1927
|
-
"""
|
|
859
|
+
) -> None:
|
|
860
|
+
"""Sets the referrer for the current customer.
|
|
1928
861
|
|
|
1929
862
|
|
|
1930
|
-
:param
|
|
1931
|
-
:type
|
|
863
|
+
:param referrer:
|
|
864
|
+
:type referrer: str
|
|
1932
865
|
:param _request_timeout: timeout setting for this request. If one
|
|
1933
866
|
number provided, it will be total request
|
|
1934
867
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1951,8 +884,8 @@ class IdentityApi:
|
|
|
1951
884
|
:return: Returns the result object.
|
|
1952
885
|
""" # noqa: E501
|
|
1953
886
|
|
|
1954
|
-
_param = self.
|
|
1955
|
-
|
|
887
|
+
_param = self._identity_referrer_post_serialize(
|
|
888
|
+
referrer=referrer,
|
|
1956
889
|
_request_auth=_request_auth,
|
|
1957
890
|
_content_type=_content_type,
|
|
1958
891
|
_headers=_headers,
|
|
@@ -1960,7 +893,7 @@ class IdentityApi:
|
|
|
1960
893
|
)
|
|
1961
894
|
|
|
1962
895
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1963
|
-
'
|
|
896
|
+
'204': None,
|
|
1964
897
|
}
|
|
1965
898
|
response_data = self.api_client.call_api(
|
|
1966
899
|
*_param,
|
|
@@ -1974,9 +907,9 @@ class IdentityApi:
|
|
|
1974
907
|
|
|
1975
908
|
|
|
1976
909
|
@validate_call
|
|
1977
|
-
def
|
|
910
|
+
def identity_referrer_post_with_http_info(
|
|
1978
911
|
self,
|
|
1979
|
-
|
|
912
|
+
referrer: Optional[StrictStr] = None,
|
|
1980
913
|
_request_timeout: Union[
|
|
1981
914
|
None,
|
|
1982
915
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1989,12 +922,12 @@ class IdentityApi:
|
|
|
1989
922
|
_content_type: Optional[StrictStr] = None,
|
|
1990
923
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1991
924
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1992
|
-
) -> ApiResponse[
|
|
1993
|
-
"""
|
|
925
|
+
) -> ApiResponse[None]:
|
|
926
|
+
"""Sets the referrer for the current customer.
|
|
1994
927
|
|
|
1995
928
|
|
|
1996
|
-
:param
|
|
1997
|
-
:type
|
|
929
|
+
:param referrer:
|
|
930
|
+
:type referrer: str
|
|
1998
931
|
:param _request_timeout: timeout setting for this request. If one
|
|
1999
932
|
number provided, it will be total request
|
|
2000
933
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2017,8 +950,8 @@ class IdentityApi:
|
|
|
2017
950
|
:return: Returns the result object.
|
|
2018
951
|
""" # noqa: E501
|
|
2019
952
|
|
|
2020
|
-
_param = self.
|
|
2021
|
-
|
|
953
|
+
_param = self._identity_referrer_post_serialize(
|
|
954
|
+
referrer=referrer,
|
|
2022
955
|
_request_auth=_request_auth,
|
|
2023
956
|
_content_type=_content_type,
|
|
2024
957
|
_headers=_headers,
|
|
@@ -2026,7 +959,7 @@ class IdentityApi:
|
|
|
2026
959
|
)
|
|
2027
960
|
|
|
2028
961
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2029
|
-
'
|
|
962
|
+
'204': None,
|
|
2030
963
|
}
|
|
2031
964
|
response_data = self.api_client.call_api(
|
|
2032
965
|
*_param,
|
|
@@ -2040,9 +973,9 @@ class IdentityApi:
|
|
|
2040
973
|
|
|
2041
974
|
|
|
2042
975
|
@validate_call
|
|
2043
|
-
def
|
|
976
|
+
def identity_referrer_post_without_preload_content(
|
|
2044
977
|
self,
|
|
2045
|
-
|
|
978
|
+
referrer: Optional[StrictStr] = None,
|
|
2046
979
|
_request_timeout: Union[
|
|
2047
980
|
None,
|
|
2048
981
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2056,11 +989,11 @@ class IdentityApi:
|
|
|
2056
989
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2057
990
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2058
991
|
) -> RESTResponseType:
|
|
2059
|
-
"""
|
|
992
|
+
"""Sets the referrer for the current customer.
|
|
2060
993
|
|
|
2061
994
|
|
|
2062
|
-
:param
|
|
2063
|
-
:type
|
|
995
|
+
:param referrer:
|
|
996
|
+
:type referrer: str
|
|
2064
997
|
:param _request_timeout: timeout setting for this request. If one
|
|
2065
998
|
number provided, it will be total request
|
|
2066
999
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2083,8 +1016,8 @@ class IdentityApi:
|
|
|
2083
1016
|
:return: Returns the result object.
|
|
2084
1017
|
""" # noqa: E501
|
|
2085
1018
|
|
|
2086
|
-
_param = self.
|
|
2087
|
-
|
|
1019
|
+
_param = self._identity_referrer_post_serialize(
|
|
1020
|
+
referrer=referrer,
|
|
2088
1021
|
_request_auth=_request_auth,
|
|
2089
1022
|
_content_type=_content_type,
|
|
2090
1023
|
_headers=_headers,
|
|
@@ -2092,7 +1025,7 @@ class IdentityApi:
|
|
|
2092
1025
|
)
|
|
2093
1026
|
|
|
2094
1027
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2095
|
-
'
|
|
1028
|
+
'204': None,
|
|
2096
1029
|
}
|
|
2097
1030
|
response_data = self.api_client.call_api(
|
|
2098
1031
|
*_param,
|
|
@@ -2101,9 +1034,9 @@ class IdentityApi:
|
|
|
2101
1034
|
return response_data.response
|
|
2102
1035
|
|
|
2103
1036
|
|
|
2104
|
-
def
|
|
1037
|
+
def _identity_referrer_post_serialize(
|
|
2105
1038
|
self,
|
|
2106
|
-
|
|
1039
|
+
referrer,
|
|
2107
1040
|
_request_auth,
|
|
2108
1041
|
_content_type,
|
|
2109
1042
|
_headers,
|
|
@@ -2126,48 +1059,27 @@ class IdentityApi:
|
|
|
2126
1059
|
|
|
2127
1060
|
# process the path parameters
|
|
2128
1061
|
# process the query parameters
|
|
1062
|
+
if referrer is not None:
|
|
1063
|
+
|
|
1064
|
+
_query_params.append(('referrer', referrer))
|
|
1065
|
+
|
|
2129
1066
|
# process the header parameters
|
|
2130
1067
|
# process the form parameters
|
|
2131
1068
|
# process the body parameter
|
|
2132
|
-
if register_temporary_customer_model is not None:
|
|
2133
|
-
_body_params = register_temporary_customer_model
|
|
2134
1069
|
|
|
2135
1070
|
|
|
2136
|
-
# set the HTTP header `Accept`
|
|
2137
|
-
if 'Accept' not in _header_params:
|
|
2138
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2139
|
-
[
|
|
2140
|
-
'text/plain',
|
|
2141
|
-
'application/json',
|
|
2142
|
-
'text/json'
|
|
2143
|
-
]
|
|
2144
|
-
)
|
|
2145
1071
|
|
|
2146
|
-
# set the HTTP header `Content-Type`
|
|
2147
|
-
if _content_type:
|
|
2148
|
-
_header_params['Content-Type'] = _content_type
|
|
2149
|
-
else:
|
|
2150
|
-
_default_content_type = (
|
|
2151
|
-
self.api_client.select_header_content_type(
|
|
2152
|
-
[
|
|
2153
|
-
'application/json',
|
|
2154
|
-
'text/json',
|
|
2155
|
-
'application/*+json'
|
|
2156
|
-
]
|
|
2157
|
-
)
|
|
2158
|
-
)
|
|
2159
|
-
if _default_content_type is not None:
|
|
2160
|
-
_header_params['Content-Type'] = _default_content_type
|
|
2161
1072
|
|
|
2162
1073
|
# authentication setting
|
|
2163
1074
|
_auth_settings: List[str] = [
|
|
2164
|
-
'
|
|
2165
|
-
'
|
|
1075
|
+
'OAuth2',
|
|
1076
|
+
'OpenIdConnect',
|
|
1077
|
+
'Bearer'
|
|
2166
1078
|
]
|
|
2167
1079
|
|
|
2168
1080
|
return self.api_client.param_serialize(
|
|
2169
1081
|
method='POST',
|
|
2170
|
-
resource_path='/identity/
|
|
1082
|
+
resource_path='/identity/referrer',
|
|
2171
1083
|
path_params=_path_params,
|
|
2172
1084
|
query_params=_query_params,
|
|
2173
1085
|
header_params=_header_params,
|