rapidata 2.37.0__py3-none-any.whl → 3.0.0a8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +23 -15
- rapidata/api_client/__init__.py +84 -427
- rapidata/api_client/api/__init__.py +5 -2
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +2505 -0
- rapidata/api_client/api/benchmark_api.py +618 -253
- rapidata/api_client/api/campaign_api.py +322 -32
- rapidata/api_client/api/client_api.py +38 -33
- rapidata/api_client/api/compare_workflow_api.py +11 -10
- rapidata/api_client/api/customer_rapid_api.py +119 -125
- rapidata/api_client/api/datapoint_api.py +8 -6
- rapidata/api_client/api/dataset_api.py +240 -1516
- rapidata/api_client/api/evaluation_workflow_api.py +29 -82
- rapidata/api_client/api/feedback_api.py +11 -11
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +26 -300
- rapidata/api_client/api/job_api.py +3902 -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 +139 -2355
- rapidata/api_client/api/newsletter_api.py +20 -19
- rapidata/api_client/api/order_api.py +375 -91
- rapidata/api_client/api/participant_api.py +80 -118
- rapidata/api_client/api/pipeline_api.py +24 -607
- rapidata/api_client/api/prompt_api.py +11 -11
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +5 -4
- 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 +35 -31
- rapidata/api_client/api/validation_set_api.py +337 -2043
- rapidata/api_client/api/workflow_api.py +32 -26
- 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 -400
- rapidata/api_client/models/ab_test_selection_a_inner.py +1 -1
- 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 +34 -36
- 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_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/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_filters_inner.py +24 -10
- rapidata/api_client/models/are_rapids_active_result.py +2 -2
- rapidata/api_client/models/asset_metadata.py +2 -8
- 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 +5 -3
- rapidata/api_client/models/boost_leaderboard_model.py +5 -5
- rapidata/api_client/models/boost_query_result.py +4 -4
- 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/boosting_profile.py +91 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_query_result.py +13 -5
- rapidata/api_client/models/campaign_status.py +2 -2
- rapidata/api_client/models/change_boost_model.py +5 -5
- 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 +25 -35
- rapidata/api_client/models/clients_query_result.py +5 -5
- rapidata/api_client/models/clone_order_model.py +4 -4
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_workflow_config.py +19 -18
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_model.py +3 -3
- rapidata/api_client/models/compare_workflow_model.py +25 -7
- 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 +6 -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/create_audience_request.py +122 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +5 -5
- rapidata/api_client/models/create_benchmark_participant_model.py +5 -5
- rapidata/api_client/models/create_benchmark_participant_result.py +4 -4
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +2 -2
- 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 +2 -2
- rapidata/api_client/models/create_customer_client_result.py +2 -2
- rapidata/api_client/models/create_datapoint_from_files_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +3 -3
- rapidata/api_client/models/create_datapoint_from_urls_model.py +3 -3
- 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 +2 -2
- 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 +33 -10
- 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 +23 -26
- rapidata/api_client/models/create_leaderboard_result.py +2 -2
- 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 +33 -62
- 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 +2 -2
- rapidata/api_client/models/create_rapid_result.py +2 -2
- rapidata/api_client/models/create_sample_model.py +13 -7
- 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_model.py +3 -3
- rapidata/api_client/models/datapoint_state.py +2 -2
- rapidata/api_client/models/definition_type.py +49 -0
- rapidata/api_client/models/dynamic_client_registration_request.py +21 -36
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- 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_model.py +4 -4
- 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 +2 -2
- 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_file.py +8 -22
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model_metadata_value.py +18 -88
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +2 -2
- rapidata/api_client/models/filter.py +2 -2
- rapidata/api_client/models/filter_operator.py +2 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +17 -2
- 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_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_result.py +8 -4
- 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 +3 -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 +7 -12
- 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 +5 -5
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +4 -6
- 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 +5 -5
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +3 -3
- rapidata/api_client/models/get_recommended_validation_set_result.py +2 -2
- 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 +7 -8
- rapidata/api_client/models/get_simple_workflow_results_model.py +20 -15
- rapidata/api_client/models/get_standing_by_id_result.py +3 -5
- rapidata/api_client/models/get_validation_rapids_result.py +29 -32
- 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 +2 -2
- rapidata/api_client/models/get_workflow_results_result.py +31 -14
- 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/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 +2 -36
- rapidata/api_client/models/json_web_key_set.py +2 -22
- rapidata/api_client/models/labeling_selection.py +9 -2
- 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/locate_coordinate.py +4 -13
- 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 +21 -1
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +40 -12
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +40 -12
- rapidata/api_client/models/multi_asset_input_assets_inner.py +16 -30
- rapidata/api_client/models/multi_asset_model.py +3 -3
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +4 -13
- rapidata/api_client/models/null_asset.py +3 -5
- 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/order_model.py +12 -5
- rapidata/api_client/models/order_state.py +2 -2
- 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 +3 -5
- rapidata/api_client/models/participant_status.py +2 -2
- 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/preliminary_download_model.py +5 -5
- rapidata/api_client/models/preview_order_model.py +5 -5
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +25 -41
- rapidata/api_client/models/prompt_by_benchmark_result.py +5 -5
- rapidata/api_client/models/prompt_metadata_input.py +5 -7
- rapidata/api_client/models/proxy_file_wrapper.py +17 -2
- rapidata/api_client/models/public_order_model.py +2 -2
- 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_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_model.py +30 -40
- 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 +2 -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 +7 -7
- rapidata/api_client/models/retrieval_mode.py +2 -2
- rapidata/api_client/models/root_filter.py +2 -2
- rapidata/api_client/models/run_status.py +2 -2
- rapidata/api_client/models/runs_by_leaderboard_result.py +3 -3
- rapidata/api_client/models/sample_by_identifier.py +7 -8
- rapidata/api_client/models/sample_by_participant.py +7 -8
- 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 +3 -3
- rapidata/api_client/models/simple_workflow_model.py +2 -2
- 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 +2 -2
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +16 -12
- rapidata/api_client/models/standing_status.py +2 -2
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +2 -2
- 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 +25 -3
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_order_model.py +5 -5
- rapidata/api_client/models/submit_participant_result.py +2 -2
- rapidata/api_client/models/submit_prompt_model.py +9 -14
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +40 -12
- rapidata/api_client/models/tags_by_benchmark_result.py +2 -2
- rapidata/api_client/models/text_asset.py +3 -5
- rapidata/api_client/models/text_asset_input.py +21 -1
- rapidata/api_client/models/text_metadata.py +6 -1
- 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_input.py +5 -7
- 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_audience_request.py +113 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +5 -5
- 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_leaderboard_model.py +18 -3
- rapidata/api_client/models/update_leaderboard_name_model.py +5 -5
- rapidata/api_client/models/update_leaderboard_response_config_model.py +5 -5
- 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 +5 -5
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +5 -5
- rapidata/api_client/models/update_should_alert_model.py +4 -4
- rapidata/api_client/models/update_validation_rapid_model.py +35 -14
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_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 +11 -16
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- 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 +33 -2
- rapidata/api_client/rest.py +2 -2
- rapidata/api_client_README.md +371 -326
- rapidata/rapidata_client/__init__.py +14 -11
- rapidata/rapidata_client/api/{rapidata_exception.py → rapidata_api_client.py} +119 -2
- 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/_detail_mapper.py +11 -9
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +98 -54
- rapidata/rapidata_client/benchmark/participant/_participant.py +57 -32
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +384 -246
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +137 -81
- rapidata/rapidata_client/config/__init__.py +3 -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 +15 -10
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +0 -3
- rapidata/rapidata_client/datapoints/_asset_uploader.py +184 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +72 -176
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -10
- rapidata/rapidata_client/datapoints/metadata/__init__.py +0 -2
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +5 -6
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +4 -5
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +5 -6
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +3 -4
- 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/failed_upload_exception.py +10 -65
- rapidata/rapidata_client/filter/_backend_filter_mapper.py +134 -0
- rapidata/rapidata_client/filter/_base_filter.py +13 -8
- rapidata/rapidata_client/filter/age_filter.py +26 -10
- rapidata/rapidata_client/filter/and_filter.py +36 -11
- 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/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/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 +17 -23
- rapidata/rapidata_client/filter/response_count_filter.py +40 -14
- 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 +236 -196
- rapidata/rapidata_client/order/rapidata_order.py +271 -176
- rapidata/rapidata_client/order/rapidata_order_manager.py +520 -364
- rapidata/rapidata_client/rapidata_client.py +96 -29
- 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 +86 -63
- 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 +20 -8
- rapidata/rapidata_client/selection/labeling_selection.py +21 -10
- rapidata/rapidata_client/selection/rapidata_selections.py +23 -14
- rapidata/rapidata_client/selection/shuffling_selection.py +21 -13
- rapidata/rapidata_client/selection/static_selection.py +19 -8
- rapidata/rapidata_client/selection/validation_selection.py +20 -4
- rapidata/rapidata_client/settings/__init__.py +2 -0
- 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 +3 -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 +22 -9
- 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 +68 -21
- 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 +28 -109
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +369 -211
- rapidata/rapidata_client/validation/validation_set_manager.py +417 -294
- rapidata/rapidata_client/workflow/__init__.py +2 -2
- rapidata/rapidata_client/workflow/_base_workflow.py +17 -26
- rapidata/rapidata_client/workflow/_classify_workflow.py +44 -17
- rapidata/rapidata_client/workflow/_compare_workflow.py +33 -14
- rapidata/rapidata_client/workflow/_draw_workflow.py +35 -13
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +20 -6
- rapidata/rapidata_client/workflow/_free_text_workflow.py +34 -15
- rapidata/rapidata_client/workflow/_locate_workflow.py +35 -13
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +90 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +38 -32
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +35 -13
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +1 -1
- rapidata/service/openapi_service.py +99 -23
- rapidata/types/__init__.py +149 -0
- rapidata-3.0.0a8.dist-info/METADATA +32 -0
- rapidata-3.0.0a8.dist-info/RECORD +1083 -0
- {rapidata-2.37.0.dist-info → rapidata-3.0.0a8.dist-info}/WHEEL +1 -1
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/datapoints/assets/_base_asset.py +0 -11
- rapidata/rapidata_client/datapoints/assets/_media_asset.py +0 -318
- rapidata/rapidata_client/datapoints/assets/_multi_asset.py +0 -61
- rapidata/rapidata_client/datapoints/assets/_sessions.py +0 -40
- rapidata/rapidata_client/datapoints/assets/_text_asset.py +0 -34
- rapidata/rapidata_client/datapoints/assets/data_type_enum.py +0 -8
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +0 -22
- rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +0 -18
- rapidata/rapidata_client/logging/__init__.py +0 -2
- rapidata/rapidata_client/logging/logger.py +0 -122
- rapidata/rapidata_client/logging/output_manager.py +0 -20
- rapidata/rapidata_client/order/_rapidata_dataset.py +0 -447
- rapidata/rapidata_client/workflow/_ranking_workflow.py +0 -71
- rapidata/service/local_file_service.py +0 -25
- rapidata-2.37.0.dist-info/METADATA +0 -35
- rapidata-2.37.0.dist-info/RECORD +0 -687
- {rapidata-2.37.0.dist-info → rapidata-3.0.0a8.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
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)
|
|
@@ -28,7 +28,8 @@ from rapidata.api_client.models.create_order_result import CreateOrderResult
|
|
|
28
28
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
29
29
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
30
30
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
31
|
-
from rapidata.api_client.models.
|
|
31
|
+
from rapidata.api_client.models.paged_result_of_aggregated_orders_model import PagedResultOfAggregatedOrdersModel
|
|
32
|
+
from rapidata.api_client.models.paged_result_of_order_model import PagedResultOfOrderModel
|
|
32
33
|
from rapidata.api_client.models.preview_order_model import PreviewOrderModel
|
|
33
34
|
from rapidata.api_client.models.query_model import QueryModel
|
|
34
35
|
from rapidata.api_client.models.submit_order_model import SubmitOrderModel
|
|
@@ -56,7 +57,7 @@ class OrderApi:
|
|
|
56
57
|
@validate_call
|
|
57
58
|
def order_complex_post(
|
|
58
59
|
self,
|
|
59
|
-
create_complex_order_model: Annotated[
|
|
60
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
60
61
|
_request_timeout: Union[
|
|
61
62
|
None,
|
|
62
63
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -73,7 +74,7 @@ class OrderApi:
|
|
|
73
74
|
"""Creates a new order with a custom pipeline.
|
|
74
75
|
|
|
75
76
|
|
|
76
|
-
:param create_complex_order_model: The body content of the request
|
|
77
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
77
78
|
:type create_complex_order_model: CreateComplexOrderModel
|
|
78
79
|
:param _request_timeout: timeout setting for this request. If one
|
|
79
80
|
number provided, it will be total request
|
|
@@ -122,7 +123,7 @@ class OrderApi:
|
|
|
122
123
|
@validate_call
|
|
123
124
|
def order_complex_post_with_http_info(
|
|
124
125
|
self,
|
|
125
|
-
create_complex_order_model: Annotated[
|
|
126
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
126
127
|
_request_timeout: Union[
|
|
127
128
|
None,
|
|
128
129
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -139,7 +140,7 @@ class OrderApi:
|
|
|
139
140
|
"""Creates a new order with a custom pipeline.
|
|
140
141
|
|
|
141
142
|
|
|
142
|
-
:param create_complex_order_model: The body content of the request
|
|
143
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
143
144
|
:type create_complex_order_model: CreateComplexOrderModel
|
|
144
145
|
:param _request_timeout: timeout setting for this request. If one
|
|
145
146
|
number provided, it will be total request
|
|
@@ -188,7 +189,7 @@ class OrderApi:
|
|
|
188
189
|
@validate_call
|
|
189
190
|
def order_complex_post_without_preload_content(
|
|
190
191
|
self,
|
|
191
|
-
create_complex_order_model: Annotated[
|
|
192
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
192
193
|
_request_timeout: Union[
|
|
193
194
|
None,
|
|
194
195
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -205,7 +206,7 @@ class OrderApi:
|
|
|
205
206
|
"""Creates a new order with a custom pipeline.
|
|
206
207
|
|
|
207
208
|
|
|
208
|
-
:param create_complex_order_model: The body content of the request
|
|
209
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
209
210
|
:type create_complex_order_model: CreateComplexOrderModel
|
|
210
211
|
:param _request_timeout: timeout setting for this request. If one
|
|
211
212
|
number provided, it will be total request
|
|
@@ -307,8 +308,9 @@ class OrderApi:
|
|
|
307
308
|
|
|
308
309
|
# authentication setting
|
|
309
310
|
_auth_settings: List[str] = [
|
|
310
|
-
'
|
|
311
|
-
'
|
|
311
|
+
'OAuth2',
|
|
312
|
+
'OpenIdConnect',
|
|
313
|
+
'Bearer'
|
|
312
314
|
]
|
|
313
315
|
|
|
314
316
|
return self.api_client.param_serialize(
|
|
@@ -348,7 +350,7 @@ class OrderApi:
|
|
|
348
350
|
) -> None:
|
|
349
351
|
"""Approves an order that has been submitted for manual approval.
|
|
350
352
|
|
|
351
|
-
An order is submitted for manual approval when the automatic approval process could not automatically
|
|
353
|
+
An order is submitted for manual approval when the automatic approval process could not automatically determine if the order is safe to process. Once an order is approved, the pipeline will start processing the order.
|
|
352
354
|
|
|
353
355
|
:param order_id: The id of the order to approve (required)
|
|
354
356
|
:type order_id: str
|
|
@@ -415,7 +417,7 @@ class OrderApi:
|
|
|
415
417
|
) -> ApiResponse[None]:
|
|
416
418
|
"""Approves an order that has been submitted for manual approval.
|
|
417
419
|
|
|
418
|
-
An order is submitted for manual approval when the automatic approval process could not automatically
|
|
420
|
+
An order is submitted for manual approval when the automatic approval process could not automatically determine if the order is safe to process. Once an order is approved, the pipeline will start processing the order.
|
|
419
421
|
|
|
420
422
|
:param order_id: The id of the order to approve (required)
|
|
421
423
|
:type order_id: str
|
|
@@ -482,7 +484,7 @@ class OrderApi:
|
|
|
482
484
|
) -> RESTResponseType:
|
|
483
485
|
"""Approves an order that has been submitted for manual approval.
|
|
484
486
|
|
|
485
|
-
An order is submitted for manual approval when the automatic approval process could not automatically
|
|
487
|
+
An order is submitted for manual approval when the automatic approval process could not automatically determine if the order is safe to process. Once an order is approved, the pipeline will start processing the order.
|
|
486
488
|
|
|
487
489
|
:param order_id: The id of the order to approve (required)
|
|
488
490
|
:type order_id: str
|
|
@@ -562,8 +564,9 @@ class OrderApi:
|
|
|
562
564
|
|
|
563
565
|
# authentication setting
|
|
564
566
|
_auth_settings: List[str] = [
|
|
565
|
-
'
|
|
566
|
-
'
|
|
567
|
+
'OAuth2',
|
|
568
|
+
'OpenIdConnect',
|
|
569
|
+
'Bearer'
|
|
567
570
|
]
|
|
568
571
|
|
|
569
572
|
return self.api_client.param_serialize(
|
|
@@ -588,7 +591,7 @@ class OrderApi:
|
|
|
588
591
|
def order_order_id_clone_post(
|
|
589
592
|
self,
|
|
590
593
|
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
591
|
-
clone_order_model: Annotated[
|
|
594
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
592
595
|
_request_timeout: Union[
|
|
593
596
|
None,
|
|
594
597
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -608,7 +611,7 @@ class OrderApi:
|
|
|
608
611
|
|
|
609
612
|
:param order_id: The id of the order to clone (required)
|
|
610
613
|
:type order_id: str
|
|
611
|
-
:param clone_order_model: The body content of the request
|
|
614
|
+
:param clone_order_model: The body content of the request (required)
|
|
612
615
|
:type clone_order_model: CloneOrderModel
|
|
613
616
|
:param _request_timeout: timeout setting for this request. If one
|
|
614
617
|
number provided, it will be total request
|
|
@@ -659,7 +662,7 @@ class OrderApi:
|
|
|
659
662
|
def order_order_id_clone_post_with_http_info(
|
|
660
663
|
self,
|
|
661
664
|
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
662
|
-
clone_order_model: Annotated[
|
|
665
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
663
666
|
_request_timeout: Union[
|
|
664
667
|
None,
|
|
665
668
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -679,7 +682,7 @@ class OrderApi:
|
|
|
679
682
|
|
|
680
683
|
:param order_id: The id of the order to clone (required)
|
|
681
684
|
:type order_id: str
|
|
682
|
-
:param clone_order_model: The body content of the request
|
|
685
|
+
:param clone_order_model: The body content of the request (required)
|
|
683
686
|
:type clone_order_model: CloneOrderModel
|
|
684
687
|
:param _request_timeout: timeout setting for this request. If one
|
|
685
688
|
number provided, it will be total request
|
|
@@ -730,7 +733,7 @@ class OrderApi:
|
|
|
730
733
|
def order_order_id_clone_post_without_preload_content(
|
|
731
734
|
self,
|
|
732
735
|
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
733
|
-
clone_order_model: Annotated[
|
|
736
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
734
737
|
_request_timeout: Union[
|
|
735
738
|
None,
|
|
736
739
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -750,7 +753,7 @@ class OrderApi:
|
|
|
750
753
|
|
|
751
754
|
:param order_id: The id of the order to clone (required)
|
|
752
755
|
:type order_id: str
|
|
753
|
-
:param clone_order_model: The body content of the request
|
|
756
|
+
:param clone_order_model: The body content of the request (required)
|
|
754
757
|
:type clone_order_model: CloneOrderModel
|
|
755
758
|
:param _request_timeout: timeout setting for this request. If one
|
|
756
759
|
number provided, it will be total request
|
|
@@ -856,8 +859,9 @@ class OrderApi:
|
|
|
856
859
|
|
|
857
860
|
# authentication setting
|
|
858
861
|
_auth_settings: List[str] = [
|
|
859
|
-
'
|
|
860
|
-
'
|
|
862
|
+
'OAuth2',
|
|
863
|
+
'OpenIdConnect',
|
|
864
|
+
'Bearer'
|
|
861
865
|
]
|
|
862
866
|
|
|
863
867
|
return self.api_client.param_serialize(
|
|
@@ -1108,8 +1112,9 @@ class OrderApi:
|
|
|
1108
1112
|
|
|
1109
1113
|
# authentication setting
|
|
1110
1114
|
_auth_settings: List[str] = [
|
|
1111
|
-
'
|
|
1112
|
-
'
|
|
1115
|
+
'OAuth2',
|
|
1116
|
+
'OpenIdConnect',
|
|
1117
|
+
'Bearer'
|
|
1113
1118
|
]
|
|
1114
1119
|
|
|
1115
1120
|
return self.api_client.param_serialize(
|
|
@@ -1377,8 +1382,9 @@ class OrderApi:
|
|
|
1377
1382
|
|
|
1378
1383
|
# authentication setting
|
|
1379
1384
|
_auth_settings: List[str] = [
|
|
1380
|
-
'
|
|
1381
|
-
'
|
|
1385
|
+
'OAuth2',
|
|
1386
|
+
'OpenIdConnect',
|
|
1387
|
+
'Bearer'
|
|
1382
1388
|
]
|
|
1383
1389
|
|
|
1384
1390
|
return self.api_client.param_serialize(
|
|
@@ -1418,7 +1424,7 @@ class OrderApi:
|
|
|
1418
1424
|
) -> bytearray:
|
|
1419
1425
|
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1420
1426
|
|
|
1421
|
-
Returns the aggregated result as a file with a given name.
|
|
1427
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
1422
1428
|
|
|
1423
1429
|
:param order_id: The id of the order (required)
|
|
1424
1430
|
:type order_id: str
|
|
@@ -1485,7 +1491,7 @@ class OrderApi:
|
|
|
1485
1491
|
) -> ApiResponse[bytearray]:
|
|
1486
1492
|
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1487
1493
|
|
|
1488
|
-
Returns the aggregated result as a file with a given name.
|
|
1494
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
1489
1495
|
|
|
1490
1496
|
:param order_id: The id of the order (required)
|
|
1491
1497
|
:type order_id: str
|
|
@@ -1552,7 +1558,7 @@ class OrderApi:
|
|
|
1552
1558
|
) -> RESTResponseType:
|
|
1553
1559
|
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1554
1560
|
|
|
1555
|
-
Returns the aggregated result as a file with a given name.
|
|
1561
|
+
Returns the aggregated result as a file with a given name. The annotated type of the response represents the content type of the file.
|
|
1556
1562
|
|
|
1557
1563
|
:param order_id: The id of the order (required)
|
|
1558
1564
|
:type order_id: str
|
|
@@ -1641,8 +1647,9 @@ class OrderApi:
|
|
|
1641
1647
|
|
|
1642
1648
|
# authentication setting
|
|
1643
1649
|
_auth_settings: List[str] = [
|
|
1644
|
-
'
|
|
1645
|
-
'
|
|
1650
|
+
'OAuth2',
|
|
1651
|
+
'OpenIdConnect',
|
|
1652
|
+
'Bearer'
|
|
1646
1653
|
]
|
|
1647
1654
|
|
|
1648
1655
|
return self.api_client.param_serialize(
|
|
@@ -1902,8 +1909,9 @@ class OrderApi:
|
|
|
1902
1909
|
|
|
1903
1910
|
# authentication setting
|
|
1904
1911
|
_auth_settings: List[str] = [
|
|
1905
|
-
'
|
|
1906
|
-
'
|
|
1912
|
+
'OAuth2',
|
|
1913
|
+
'OpenIdConnect',
|
|
1914
|
+
'Bearer'
|
|
1907
1915
|
]
|
|
1908
1916
|
|
|
1909
1917
|
return self.api_client.param_serialize(
|
|
@@ -1928,7 +1936,7 @@ class OrderApi:
|
|
|
1928
1936
|
def order_order_id_name_patch(
|
|
1929
1937
|
self,
|
|
1930
1938
|
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
1931
|
-
update_order_name_model: Annotated[
|
|
1939
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
1932
1940
|
_request_timeout: Union[
|
|
1933
1941
|
None,
|
|
1934
1942
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1947,7 +1955,7 @@ class OrderApi:
|
|
|
1947
1955
|
|
|
1948
1956
|
:param order_id: The id of the order to update (required)
|
|
1949
1957
|
:type order_id: str
|
|
1950
|
-
:param update_order_name_model: The body content of the request
|
|
1958
|
+
:param update_order_name_model: The body content of the request (required)
|
|
1951
1959
|
:type update_order_name_model: UpdateOrderNameModel
|
|
1952
1960
|
:param _request_timeout: timeout setting for this request. If one
|
|
1953
1961
|
number provided, it will be total request
|
|
@@ -1998,7 +2006,7 @@ class OrderApi:
|
|
|
1998
2006
|
def order_order_id_name_patch_with_http_info(
|
|
1999
2007
|
self,
|
|
2000
2008
|
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
2001
|
-
update_order_name_model: Annotated[
|
|
2009
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
2002
2010
|
_request_timeout: Union[
|
|
2003
2011
|
None,
|
|
2004
2012
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2017,7 +2025,7 @@ class OrderApi:
|
|
|
2017
2025
|
|
|
2018
2026
|
:param order_id: The id of the order to update (required)
|
|
2019
2027
|
:type order_id: str
|
|
2020
|
-
:param update_order_name_model: The body content of the request
|
|
2028
|
+
:param update_order_name_model: The body content of the request (required)
|
|
2021
2029
|
:type update_order_name_model: UpdateOrderNameModel
|
|
2022
2030
|
:param _request_timeout: timeout setting for this request. If one
|
|
2023
2031
|
number provided, it will be total request
|
|
@@ -2068,7 +2076,7 @@ class OrderApi:
|
|
|
2068
2076
|
def order_order_id_name_patch_without_preload_content(
|
|
2069
2077
|
self,
|
|
2070
2078
|
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
2071
|
-
update_order_name_model: Annotated[
|
|
2079
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
2072
2080
|
_request_timeout: Union[
|
|
2073
2081
|
None,
|
|
2074
2082
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2087,7 +2095,7 @@ class OrderApi:
|
|
|
2087
2095
|
|
|
2088
2096
|
:param order_id: The id of the order to update (required)
|
|
2089
2097
|
:type order_id: str
|
|
2090
|
-
:param update_order_name_model: The body content of the request
|
|
2098
|
+
:param update_order_name_model: The body content of the request (required)
|
|
2091
2099
|
:type update_order_name_model: UpdateOrderNameModel
|
|
2092
2100
|
:param _request_timeout: timeout setting for this request. If one
|
|
2093
2101
|
number provided, it will be total request
|
|
@@ -2184,8 +2192,9 @@ class OrderApi:
|
|
|
2184
2192
|
|
|
2185
2193
|
# authentication setting
|
|
2186
2194
|
_auth_settings: List[str] = [
|
|
2187
|
-
'
|
|
2188
|
-
'
|
|
2195
|
+
'OAuth2',
|
|
2196
|
+
'OpenIdConnect',
|
|
2197
|
+
'Bearer'
|
|
2189
2198
|
]
|
|
2190
2199
|
|
|
2191
2200
|
return self.api_client.param_serialize(
|
|
@@ -2436,8 +2445,9 @@ class OrderApi:
|
|
|
2436
2445
|
|
|
2437
2446
|
# authentication setting
|
|
2438
2447
|
_auth_settings: List[str] = [
|
|
2439
|
-
'
|
|
2440
|
-
'
|
|
2448
|
+
'OAuth2',
|
|
2449
|
+
'OpenIdConnect',
|
|
2450
|
+
'Bearer'
|
|
2441
2451
|
]
|
|
2442
2452
|
|
|
2443
2453
|
return self.api_client.param_serialize(
|
|
@@ -2718,8 +2728,9 @@ class OrderApi:
|
|
|
2718
2728
|
|
|
2719
2729
|
# authentication setting
|
|
2720
2730
|
_auth_settings: List[str] = [
|
|
2721
|
-
'
|
|
2722
|
-
'
|
|
2731
|
+
'OAuth2',
|
|
2732
|
+
'OpenIdConnect',
|
|
2733
|
+
'Bearer'
|
|
2723
2734
|
]
|
|
2724
2735
|
|
|
2725
2736
|
return self.api_client.param_serialize(
|
|
@@ -2979,8 +2990,9 @@ class OrderApi:
|
|
|
2979
2990
|
|
|
2980
2991
|
# authentication setting
|
|
2981
2992
|
_auth_settings: List[str] = [
|
|
2982
|
-
'
|
|
2983
|
-
'
|
|
2993
|
+
'OAuth2',
|
|
2994
|
+
'OpenIdConnect',
|
|
2995
|
+
'Bearer'
|
|
2984
2996
|
]
|
|
2985
2997
|
|
|
2986
2998
|
return self.api_client.param_serialize(
|
|
@@ -3231,8 +3243,9 @@ class OrderApi:
|
|
|
3231
3243
|
|
|
3232
3244
|
# authentication setting
|
|
3233
3245
|
_auth_settings: List[str] = [
|
|
3234
|
-
'
|
|
3235
|
-
'
|
|
3246
|
+
'OAuth2',
|
|
3247
|
+
'OpenIdConnect',
|
|
3248
|
+
'Bearer'
|
|
3236
3249
|
]
|
|
3237
3250
|
|
|
3238
3251
|
return self.api_client.param_serialize(
|
|
@@ -3483,8 +3496,9 @@ class OrderApi:
|
|
|
3483
3496
|
|
|
3484
3497
|
# authentication setting
|
|
3485
3498
|
_auth_settings: List[str] = [
|
|
3486
|
-
'
|
|
3487
|
-
'
|
|
3499
|
+
'OAuth2',
|
|
3500
|
+
'OpenIdConnect',
|
|
3501
|
+
'Bearer'
|
|
3488
3502
|
]
|
|
3489
3503
|
|
|
3490
3504
|
return self.api_client.param_serialize(
|
|
@@ -3752,8 +3766,9 @@ class OrderApi:
|
|
|
3752
3766
|
|
|
3753
3767
|
# authentication setting
|
|
3754
3768
|
_auth_settings: List[str] = [
|
|
3755
|
-
'
|
|
3756
|
-
'
|
|
3769
|
+
'OAuth2',
|
|
3770
|
+
'OpenIdConnect',
|
|
3771
|
+
'Bearer'
|
|
3757
3772
|
]
|
|
3758
3773
|
|
|
3759
3774
|
return self.api_client.param_serialize(
|
|
@@ -3794,7 +3809,7 @@ class OrderApi:
|
|
|
3794
3809
|
) -> None:
|
|
3795
3810
|
"""Submits an order for approval.
|
|
3796
3811
|
|
|
3797
|
-
Once an order is created its order id and dataset id is returned.
|
|
3812
|
+
Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
|
|
3798
3813
|
|
|
3799
3814
|
:param order_id: The id of the order to submit (required)
|
|
3800
3815
|
:type order_id: str
|
|
@@ -3865,7 +3880,7 @@ class OrderApi:
|
|
|
3865
3880
|
) -> ApiResponse[None]:
|
|
3866
3881
|
"""Submits an order for approval.
|
|
3867
3882
|
|
|
3868
|
-
Once an order is created its order id and dataset id is returned.
|
|
3883
|
+
Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
|
|
3869
3884
|
|
|
3870
3885
|
:param order_id: The id of the order to submit (required)
|
|
3871
3886
|
:type order_id: str
|
|
@@ -3936,7 +3951,7 @@ class OrderApi:
|
|
|
3936
3951
|
) -> RESTResponseType:
|
|
3937
3952
|
"""Submits an order for approval.
|
|
3938
3953
|
|
|
3939
|
-
Once an order is created its order id and dataset id is returned.
|
|
3954
|
+
Once an order is created its order id and dataset id is returned. The dataset id can be used to fill the dataset with data points. Once submitted, the order will be locked and no further changes can be made.
|
|
3940
3955
|
|
|
3941
3956
|
:param order_id: The id of the order to submit (required)
|
|
3942
3957
|
:type order_id: str
|
|
@@ -4037,8 +4052,9 @@ class OrderApi:
|
|
|
4037
4052
|
|
|
4038
4053
|
# authentication setting
|
|
4039
4054
|
_auth_settings: List[str] = [
|
|
4040
|
-
'
|
|
4041
|
-
'
|
|
4055
|
+
'OAuth2',
|
|
4056
|
+
'OpenIdConnect',
|
|
4057
|
+
'Bearer'
|
|
4042
4058
|
]
|
|
4043
4059
|
|
|
4044
4060
|
return self.api_client.param_serialize(
|
|
@@ -4078,7 +4094,7 @@ class OrderApi:
|
|
|
4078
4094
|
) -> UnlockOrderResult:
|
|
4079
4095
|
"""Unlocks a newly cloned order.
|
|
4080
4096
|
|
|
4081
|
-
When an order is cloned only the necessary information is copied.
|
|
4097
|
+
When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
|
|
4082
4098
|
|
|
4083
4099
|
:param order_id: The id of the order to unlock (required)
|
|
4084
4100
|
:type order_id: str
|
|
@@ -4145,7 +4161,7 @@ class OrderApi:
|
|
|
4145
4161
|
) -> ApiResponse[UnlockOrderResult]:
|
|
4146
4162
|
"""Unlocks a newly cloned order.
|
|
4147
4163
|
|
|
4148
|
-
When an order is cloned only the necessary information is copied.
|
|
4164
|
+
When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
|
|
4149
4165
|
|
|
4150
4166
|
:param order_id: The id of the order to unlock (required)
|
|
4151
4167
|
:type order_id: str
|
|
@@ -4212,7 +4228,7 @@ class OrderApi:
|
|
|
4212
4228
|
) -> RESTResponseType:
|
|
4213
4229
|
"""Unlocks a newly cloned order.
|
|
4214
4230
|
|
|
4215
|
-
When an order is cloned only the necessary information is copied.
|
|
4231
|
+
When an order is cloned only the necessary information is copied. In order to make changes to the order, it must be unlocked first. Unlocking the order will clone the entire dataset and its datapoints.
|
|
4216
4232
|
|
|
4217
4233
|
:param order_id: The id of the order to unlock (required)
|
|
4218
4234
|
:type order_id: str
|
|
@@ -4301,8 +4317,9 @@ class OrderApi:
|
|
|
4301
4317
|
|
|
4302
4318
|
# authentication setting
|
|
4303
4319
|
_auth_settings: List[str] = [
|
|
4304
|
-
'
|
|
4305
|
-
'
|
|
4320
|
+
'OAuth2',
|
|
4321
|
+
'OpenIdConnect',
|
|
4322
|
+
'Bearer'
|
|
4306
4323
|
]
|
|
4307
4324
|
|
|
4308
4325
|
return self.api_client.param_serialize(
|
|
@@ -4326,7 +4343,7 @@ class OrderApi:
|
|
|
4326
4343
|
@validate_call
|
|
4327
4344
|
def order_post(
|
|
4328
4345
|
self,
|
|
4329
|
-
create_order_model: Annotated[
|
|
4346
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
4330
4347
|
_request_timeout: Union[
|
|
4331
4348
|
None,
|
|
4332
4349
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4343,7 +4360,7 @@ class OrderApi:
|
|
|
4343
4360
|
"""Used to create a new order.
|
|
4344
4361
|
|
|
4345
4362
|
|
|
4346
|
-
:param create_order_model: The body request.
|
|
4363
|
+
:param create_order_model: The body request. (required)
|
|
4347
4364
|
:type create_order_model: CreateOrderModel
|
|
4348
4365
|
:param _request_timeout: timeout setting for this request. If one
|
|
4349
4366
|
number provided, it will be total request
|
|
@@ -4392,7 +4409,7 @@ class OrderApi:
|
|
|
4392
4409
|
@validate_call
|
|
4393
4410
|
def order_post_with_http_info(
|
|
4394
4411
|
self,
|
|
4395
|
-
create_order_model: Annotated[
|
|
4412
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
4396
4413
|
_request_timeout: Union[
|
|
4397
4414
|
None,
|
|
4398
4415
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4409,7 +4426,7 @@ class OrderApi:
|
|
|
4409
4426
|
"""Used to create a new order.
|
|
4410
4427
|
|
|
4411
4428
|
|
|
4412
|
-
:param create_order_model: The body request.
|
|
4429
|
+
:param create_order_model: The body request. (required)
|
|
4413
4430
|
:type create_order_model: CreateOrderModel
|
|
4414
4431
|
:param _request_timeout: timeout setting for this request. If one
|
|
4415
4432
|
number provided, it will be total request
|
|
@@ -4458,7 +4475,7 @@ class OrderApi:
|
|
|
4458
4475
|
@validate_call
|
|
4459
4476
|
def order_post_without_preload_content(
|
|
4460
4477
|
self,
|
|
4461
|
-
create_order_model: Annotated[
|
|
4478
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
4462
4479
|
_request_timeout: Union[
|
|
4463
4480
|
None,
|
|
4464
4481
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4475,7 +4492,7 @@ class OrderApi:
|
|
|
4475
4492
|
"""Used to create a new order.
|
|
4476
4493
|
|
|
4477
4494
|
|
|
4478
|
-
:param create_order_model: The body request.
|
|
4495
|
+
:param create_order_model: The body request. (required)
|
|
4479
4496
|
:type create_order_model: CreateOrderModel
|
|
4480
4497
|
:param _request_timeout: timeout setting for this request. If one
|
|
4481
4498
|
number provided, it will be total request
|
|
@@ -4567,7 +4584,6 @@ class OrderApi:
|
|
|
4567
4584
|
self.api_client.select_header_content_type(
|
|
4568
4585
|
[
|
|
4569
4586
|
'application/json',
|
|
4570
|
-
'text/json',
|
|
4571
4587
|
'application/*+json'
|
|
4572
4588
|
]
|
|
4573
4589
|
)
|
|
@@ -4577,8 +4593,9 @@ class OrderApi:
|
|
|
4577
4593
|
|
|
4578
4594
|
# authentication setting
|
|
4579
4595
|
_auth_settings: List[str] = [
|
|
4580
|
-
'
|
|
4581
|
-
'
|
|
4596
|
+
'OAuth2',
|
|
4597
|
+
'OpenIdConnect',
|
|
4598
|
+
'Bearer'
|
|
4582
4599
|
]
|
|
4583
4600
|
|
|
4584
4601
|
return self.api_client.param_serialize(
|
|
@@ -4602,7 +4619,7 @@ class OrderApi:
|
|
|
4602
4619
|
@validate_call
|
|
4603
4620
|
def order_unsupported_post(
|
|
4604
4621
|
self,
|
|
4605
|
-
create_unsupported_order_model: Annotated[
|
|
4622
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4606
4623
|
_request_timeout: Union[
|
|
4607
4624
|
None,
|
|
4608
4625
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4619,7 +4636,7 @@ class OrderApi:
|
|
|
4619
4636
|
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4620
4637
|
|
|
4621
4638
|
|
|
4622
|
-
:param create_unsupported_order_model: The body content of the request
|
|
4639
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4623
4640
|
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4624
4641
|
:param _request_timeout: timeout setting for this request. If one
|
|
4625
4642
|
number provided, it will be total request
|
|
@@ -4668,7 +4685,7 @@ class OrderApi:
|
|
|
4668
4685
|
@validate_call
|
|
4669
4686
|
def order_unsupported_post_with_http_info(
|
|
4670
4687
|
self,
|
|
4671
|
-
create_unsupported_order_model: Annotated[
|
|
4688
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4672
4689
|
_request_timeout: Union[
|
|
4673
4690
|
None,
|
|
4674
4691
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4685,7 +4702,7 @@ class OrderApi:
|
|
|
4685
4702
|
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4686
4703
|
|
|
4687
4704
|
|
|
4688
|
-
:param create_unsupported_order_model: The body content of the request
|
|
4705
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4689
4706
|
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4690
4707
|
:param _request_timeout: timeout setting for this request. If one
|
|
4691
4708
|
number provided, it will be total request
|
|
@@ -4734,7 +4751,7 @@ class OrderApi:
|
|
|
4734
4751
|
@validate_call
|
|
4735
4752
|
def order_unsupported_post_without_preload_content(
|
|
4736
4753
|
self,
|
|
4737
|
-
create_unsupported_order_model: Annotated[
|
|
4754
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4738
4755
|
_request_timeout: Union[
|
|
4739
4756
|
None,
|
|
4740
4757
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4751,7 +4768,7 @@ class OrderApi:
|
|
|
4751
4768
|
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4752
4769
|
|
|
4753
4770
|
|
|
4754
|
-
:param create_unsupported_order_model: The body content of the request
|
|
4771
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4755
4772
|
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4756
4773
|
:param _request_timeout: timeout setting for this request. If one
|
|
4757
4774
|
number provided, it will be total request
|
|
@@ -4844,8 +4861,9 @@ class OrderApi:
|
|
|
4844
4861
|
|
|
4845
4862
|
# authentication setting
|
|
4846
4863
|
_auth_settings: List[str] = [
|
|
4847
|
-
'
|
|
4848
|
-
'
|
|
4864
|
+
'OAuth2',
|
|
4865
|
+
'OpenIdConnect',
|
|
4866
|
+
'Bearer'
|
|
4849
4867
|
]
|
|
4850
4868
|
|
|
4851
4869
|
return self.api_client.param_serialize(
|
|
@@ -4866,6 +4884,270 @@ class OrderApi:
|
|
|
4866
4884
|
|
|
4867
4885
|
|
|
4868
4886
|
|
|
4887
|
+
@validate_call
|
|
4888
|
+
def orders_aggregated_overview_get(
|
|
4889
|
+
self,
|
|
4890
|
+
request: Optional[QueryModel] = None,
|
|
4891
|
+
_request_timeout: Union[
|
|
4892
|
+
None,
|
|
4893
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4894
|
+
Tuple[
|
|
4895
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4896
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4897
|
+
]
|
|
4898
|
+
] = None,
|
|
4899
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4900
|
+
_content_type: Optional[StrictStr] = None,
|
|
4901
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4902
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4903
|
+
) -> PagedResultOfAggregatedOrdersModel:
|
|
4904
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
4905
|
+
|
|
4906
|
+
|
|
4907
|
+
:param request:
|
|
4908
|
+
:type request: QueryModel
|
|
4909
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4910
|
+
number provided, it will be total request
|
|
4911
|
+
timeout. It can also be a pair (tuple) of
|
|
4912
|
+
(connection, read) timeouts.
|
|
4913
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4914
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4915
|
+
request; this effectively ignores the
|
|
4916
|
+
authentication in the spec for a single request.
|
|
4917
|
+
:type _request_auth: dict, optional
|
|
4918
|
+
:param _content_type: force content-type for the request.
|
|
4919
|
+
:type _content_type: str, Optional
|
|
4920
|
+
:param _headers: set to override the headers for a single
|
|
4921
|
+
request; this effectively ignores the headers
|
|
4922
|
+
in the spec for a single request.
|
|
4923
|
+
:type _headers: dict, optional
|
|
4924
|
+
:param _host_index: set to override the host_index for a single
|
|
4925
|
+
request; this effectively ignores the host_index
|
|
4926
|
+
in the spec for a single request.
|
|
4927
|
+
:type _host_index: int, optional
|
|
4928
|
+
:return: Returns the result object.
|
|
4929
|
+
""" # noqa: E501
|
|
4930
|
+
|
|
4931
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
4932
|
+
request=request,
|
|
4933
|
+
_request_auth=_request_auth,
|
|
4934
|
+
_content_type=_content_type,
|
|
4935
|
+
_headers=_headers,
|
|
4936
|
+
_host_index=_host_index
|
|
4937
|
+
)
|
|
4938
|
+
|
|
4939
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
4940
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
4941
|
+
}
|
|
4942
|
+
response_data = self.api_client.call_api(
|
|
4943
|
+
*_param,
|
|
4944
|
+
_request_timeout=_request_timeout
|
|
4945
|
+
)
|
|
4946
|
+
response_data.read()
|
|
4947
|
+
return self.api_client.response_deserialize(
|
|
4948
|
+
response_data=response_data,
|
|
4949
|
+
response_types_map=_response_types_map,
|
|
4950
|
+
).data
|
|
4951
|
+
|
|
4952
|
+
|
|
4953
|
+
@validate_call
|
|
4954
|
+
def orders_aggregated_overview_get_with_http_info(
|
|
4955
|
+
self,
|
|
4956
|
+
request: Optional[QueryModel] = None,
|
|
4957
|
+
_request_timeout: Union[
|
|
4958
|
+
None,
|
|
4959
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4960
|
+
Tuple[
|
|
4961
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
4962
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
4963
|
+
]
|
|
4964
|
+
] = None,
|
|
4965
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
4966
|
+
_content_type: Optional[StrictStr] = None,
|
|
4967
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4968
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4969
|
+
) -> ApiResponse[PagedResultOfAggregatedOrdersModel]:
|
|
4970
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
4971
|
+
|
|
4972
|
+
|
|
4973
|
+
:param request:
|
|
4974
|
+
:type request: QueryModel
|
|
4975
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
4976
|
+
number provided, it will be total request
|
|
4977
|
+
timeout. It can also be a pair (tuple) of
|
|
4978
|
+
(connection, read) timeouts.
|
|
4979
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
4980
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
4981
|
+
request; this effectively ignores the
|
|
4982
|
+
authentication in the spec for a single request.
|
|
4983
|
+
:type _request_auth: dict, optional
|
|
4984
|
+
:param _content_type: force content-type for the request.
|
|
4985
|
+
:type _content_type: str, Optional
|
|
4986
|
+
:param _headers: set to override the headers for a single
|
|
4987
|
+
request; this effectively ignores the headers
|
|
4988
|
+
in the spec for a single request.
|
|
4989
|
+
:type _headers: dict, optional
|
|
4990
|
+
:param _host_index: set to override the host_index for a single
|
|
4991
|
+
request; this effectively ignores the host_index
|
|
4992
|
+
in the spec for a single request.
|
|
4993
|
+
:type _host_index: int, optional
|
|
4994
|
+
:return: Returns the result object.
|
|
4995
|
+
""" # noqa: E501
|
|
4996
|
+
|
|
4997
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
4998
|
+
request=request,
|
|
4999
|
+
_request_auth=_request_auth,
|
|
5000
|
+
_content_type=_content_type,
|
|
5001
|
+
_headers=_headers,
|
|
5002
|
+
_host_index=_host_index
|
|
5003
|
+
)
|
|
5004
|
+
|
|
5005
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5006
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
5007
|
+
}
|
|
5008
|
+
response_data = self.api_client.call_api(
|
|
5009
|
+
*_param,
|
|
5010
|
+
_request_timeout=_request_timeout
|
|
5011
|
+
)
|
|
5012
|
+
response_data.read()
|
|
5013
|
+
return self.api_client.response_deserialize(
|
|
5014
|
+
response_data=response_data,
|
|
5015
|
+
response_types_map=_response_types_map,
|
|
5016
|
+
)
|
|
5017
|
+
|
|
5018
|
+
|
|
5019
|
+
@validate_call
|
|
5020
|
+
def orders_aggregated_overview_get_without_preload_content(
|
|
5021
|
+
self,
|
|
5022
|
+
request: Optional[QueryModel] = None,
|
|
5023
|
+
_request_timeout: Union[
|
|
5024
|
+
None,
|
|
5025
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5026
|
+
Tuple[
|
|
5027
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
5028
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
5029
|
+
]
|
|
5030
|
+
] = None,
|
|
5031
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
5032
|
+
_content_type: Optional[StrictStr] = None,
|
|
5033
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5034
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5035
|
+
) -> RESTResponseType:
|
|
5036
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
5037
|
+
|
|
5038
|
+
|
|
5039
|
+
:param request:
|
|
5040
|
+
:type request: QueryModel
|
|
5041
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
5042
|
+
number provided, it will be total request
|
|
5043
|
+
timeout. It can also be a pair (tuple) of
|
|
5044
|
+
(connection, read) timeouts.
|
|
5045
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
5046
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
5047
|
+
request; this effectively ignores the
|
|
5048
|
+
authentication in the spec for a single request.
|
|
5049
|
+
:type _request_auth: dict, optional
|
|
5050
|
+
:param _content_type: force content-type for the request.
|
|
5051
|
+
:type _content_type: str, Optional
|
|
5052
|
+
:param _headers: set to override the headers for a single
|
|
5053
|
+
request; this effectively ignores the headers
|
|
5054
|
+
in the spec for a single request.
|
|
5055
|
+
:type _headers: dict, optional
|
|
5056
|
+
:param _host_index: set to override the host_index for a single
|
|
5057
|
+
request; this effectively ignores the host_index
|
|
5058
|
+
in the spec for a single request.
|
|
5059
|
+
:type _host_index: int, optional
|
|
5060
|
+
:return: Returns the result object.
|
|
5061
|
+
""" # noqa: E501
|
|
5062
|
+
|
|
5063
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
5064
|
+
request=request,
|
|
5065
|
+
_request_auth=_request_auth,
|
|
5066
|
+
_content_type=_content_type,
|
|
5067
|
+
_headers=_headers,
|
|
5068
|
+
_host_index=_host_index
|
|
5069
|
+
)
|
|
5070
|
+
|
|
5071
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
5072
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
5073
|
+
}
|
|
5074
|
+
response_data = self.api_client.call_api(
|
|
5075
|
+
*_param,
|
|
5076
|
+
_request_timeout=_request_timeout
|
|
5077
|
+
)
|
|
5078
|
+
return response_data.response
|
|
5079
|
+
|
|
5080
|
+
|
|
5081
|
+
def _orders_aggregated_overview_get_serialize(
|
|
5082
|
+
self,
|
|
5083
|
+
request,
|
|
5084
|
+
_request_auth,
|
|
5085
|
+
_content_type,
|
|
5086
|
+
_headers,
|
|
5087
|
+
_host_index,
|
|
5088
|
+
) -> RequestSerialized:
|
|
5089
|
+
|
|
5090
|
+
_host = None
|
|
5091
|
+
|
|
5092
|
+
_collection_formats: Dict[str, str] = {
|
|
5093
|
+
}
|
|
5094
|
+
|
|
5095
|
+
_path_params: Dict[str, str] = {}
|
|
5096
|
+
_query_params: List[Tuple[str, str]] = []
|
|
5097
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
5098
|
+
_form_params: List[Tuple[str, str]] = []
|
|
5099
|
+
_files: Dict[
|
|
5100
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
5101
|
+
] = {}
|
|
5102
|
+
_body_params: Optional[bytes] = None
|
|
5103
|
+
|
|
5104
|
+
# process the path parameters
|
|
5105
|
+
# process the query parameters
|
|
5106
|
+
if request is not None:
|
|
5107
|
+
|
|
5108
|
+
_query_params.append(('request', request))
|
|
5109
|
+
|
|
5110
|
+
# process the header parameters
|
|
5111
|
+
# process the form parameters
|
|
5112
|
+
# process the body parameter
|
|
5113
|
+
|
|
5114
|
+
|
|
5115
|
+
# set the HTTP header `Accept`
|
|
5116
|
+
if 'Accept' not in _header_params:
|
|
5117
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5118
|
+
[
|
|
5119
|
+
'text/plain',
|
|
5120
|
+
'application/json',
|
|
5121
|
+
'text/json'
|
|
5122
|
+
]
|
|
5123
|
+
)
|
|
5124
|
+
|
|
5125
|
+
|
|
5126
|
+
# authentication setting
|
|
5127
|
+
_auth_settings: List[str] = [
|
|
5128
|
+
'OAuth2',
|
|
5129
|
+
'OpenIdConnect',
|
|
5130
|
+
'Bearer'
|
|
5131
|
+
]
|
|
5132
|
+
|
|
5133
|
+
return self.api_client.param_serialize(
|
|
5134
|
+
method='GET',
|
|
5135
|
+
resource_path='/orders/aggregated-overview',
|
|
5136
|
+
path_params=_path_params,
|
|
5137
|
+
query_params=_query_params,
|
|
5138
|
+
header_params=_header_params,
|
|
5139
|
+
body=_body_params,
|
|
5140
|
+
post_params=_form_params,
|
|
5141
|
+
files=_files,
|
|
5142
|
+
auth_settings=_auth_settings,
|
|
5143
|
+
collection_formats=_collection_formats,
|
|
5144
|
+
_host=_host,
|
|
5145
|
+
_request_auth=_request_auth
|
|
5146
|
+
)
|
|
5147
|
+
|
|
5148
|
+
|
|
5149
|
+
|
|
5150
|
+
|
|
4869
5151
|
@validate_call
|
|
4870
5152
|
def orders_get(
|
|
4871
5153
|
self,
|
|
@@ -4882,7 +5164,7 @@ class OrderApi:
|
|
|
4882
5164
|
_content_type: Optional[StrictStr] = None,
|
|
4883
5165
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4884
5166
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4885
|
-
) ->
|
|
5167
|
+
) -> PagedResultOfOrderModel:
|
|
4886
5168
|
"""Queries orders based on a filter, page, and sort criteria.
|
|
4887
5169
|
|
|
4888
5170
|
|
|
@@ -4919,7 +5201,7 @@ class OrderApi:
|
|
|
4919
5201
|
)
|
|
4920
5202
|
|
|
4921
5203
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4922
|
-
'200': "
|
|
5204
|
+
'200': "PagedResultOfOrderModel",
|
|
4923
5205
|
}
|
|
4924
5206
|
response_data = self.api_client.call_api(
|
|
4925
5207
|
*_param,
|
|
@@ -4948,7 +5230,7 @@ class OrderApi:
|
|
|
4948
5230
|
_content_type: Optional[StrictStr] = None,
|
|
4949
5231
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4950
5232
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4951
|
-
) -> ApiResponse[
|
|
5233
|
+
) -> ApiResponse[PagedResultOfOrderModel]:
|
|
4952
5234
|
"""Queries orders based on a filter, page, and sort criteria.
|
|
4953
5235
|
|
|
4954
5236
|
|
|
@@ -4985,7 +5267,7 @@ class OrderApi:
|
|
|
4985
5267
|
)
|
|
4986
5268
|
|
|
4987
5269
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4988
|
-
'200': "
|
|
5270
|
+
'200': "PagedResultOfOrderModel",
|
|
4989
5271
|
}
|
|
4990
5272
|
response_data = self.api_client.call_api(
|
|
4991
5273
|
*_param,
|
|
@@ -5051,7 +5333,7 @@ class OrderApi:
|
|
|
5051
5333
|
)
|
|
5052
5334
|
|
|
5053
5335
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5054
|
-
'200': "
|
|
5336
|
+
'200': "PagedResultOfOrderModel",
|
|
5055
5337
|
}
|
|
5056
5338
|
response_data = self.api_client.call_api(
|
|
5057
5339
|
*_param,
|
|
@@ -5107,8 +5389,9 @@ class OrderApi:
|
|
|
5107
5389
|
|
|
5108
5390
|
# authentication setting
|
|
5109
5391
|
_auth_settings: List[str] = [
|
|
5110
|
-
'
|
|
5111
|
-
'
|
|
5392
|
+
'OAuth2',
|
|
5393
|
+
'OpenIdConnect',
|
|
5394
|
+
'Bearer'
|
|
5112
5395
|
]
|
|
5113
5396
|
|
|
5114
5397
|
return self.api_client.param_serialize(
|
|
@@ -5353,8 +5636,9 @@ class OrderApi:
|
|
|
5353
5636
|
|
|
5354
5637
|
# authentication setting
|
|
5355
5638
|
_auth_settings: List[str] = [
|
|
5356
|
-
'
|
|
5357
|
-
'
|
|
5639
|
+
'OAuth2',
|
|
5640
|
+
'OpenIdConnect',
|
|
5641
|
+
'Bearer'
|
|
5358
5642
|
]
|
|
5359
5643
|
|
|
5360
5644
|
return self.api_client.param_serialize(
|