rapidata 1.8.3__py3-none-any.whl → 2.44.4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of rapidata might be problematic. Click here for more details.
- rapidata/__init__.py +32 -16
- rapidata/api_client/__init__.py +83 -279
- rapidata/api_client/api/__init__.py +14 -4
- rapidata/api_client/api/asset_api.py +853 -0
- rapidata/api_client/api/audience_api.py +1133 -0
- rapidata/api_client/api/benchmark_api.py +3966 -0
- rapidata/api_client/api/campaign_api.py +926 -125
- rapidata/api_client/api/client_api.py +589 -42
- rapidata/api_client/api/coco_api.py +45 -45
- rapidata/api_client/api/compare_workflow_api.py +47 -45
- rapidata/api_client/api/{validation_api.py → customer_rapid_api.py} +367 -378
- rapidata/api_client/api/datapoint_api.py +69 -336
- rapidata/api_client/api/dataset_api.py +263 -872
- rapidata/api_client/api/evaluation_workflow_api.py +319 -0
- rapidata/api_client/api/feedback_api.py +306 -0
- rapidata/api_client/api/grouped_ranking_workflow_api.py +319 -0
- rapidata/api_client/api/identity_api.py +365 -120
- rapidata/api_client/api/leaderboard_api.py +2550 -0
- rapidata/api_client/api/newsletter_api.py +35 -34
- rapidata/api_client/api/order_api.py +1111 -787
- rapidata/api_client/api/participant_api.py +2181 -0
- rapidata/api_client/api/pipeline_api.py +156 -139
- rapidata/api_client/api/prompt_api.py +320 -0
- rapidata/api_client/api/rapid_api.py +1288 -189
- rapidata/api_client/api/rapidata_identity_api_api.py +5 -4
- rapidata/api_client/api/sample_api.py +300 -0
- rapidata/api_client/api/simple_workflow_api.py +47 -79
- rapidata/api_client/api/survey_api.py +304 -0
- rapidata/api_client/api/user_rapid_api.py +1389 -0
- rapidata/api_client/api/validation_set_api.py +3052 -0
- rapidata/api_client/api/workflow_api.py +410 -96
- rapidata/api_client/api_client.py +2 -2
- rapidata/api_client/configuration.py +16 -29
- rapidata/api_client/exceptions.py +2 -2
- rapidata/api_client/models/__init__.py +65 -260
- rapidata/api_client/models/ab_test_selection.py +122 -0
- rapidata/api_client/models/ab_test_selection_a_inner.py +240 -0
- rapidata/api_client/models/add_campaign_model.py +52 -11
- rapidata/api_client/models/add_campaign_model_user_filters_inner.py +224 -0
- rapidata/api_client/models/add_user_response_result.py +111 -0
- rapidata/api_client/models/add_user_response_result_validation_truth.py +258 -0
- rapidata/api_client/models/add_validation_rapid_model.py +61 -23
- rapidata/api_client/models/add_validation_rapid_model_asset.py +154 -0
- rapidata/api_client/models/add_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/add_validation_rapid_model_metadata_inner.py +140 -0
- rapidata/api_client/models/add_validation_rapid_model_payload.py +30 -16
- rapidata/api_client/models/add_validation_rapid_model_truth.py +65 -17
- rapidata/api_client/models/add_validation_rapid_new_model.py +137 -0
- rapidata/api_client/models/add_validation_rapid_new_model_asset.py +182 -0
- rapidata/api_client/models/add_validation_rapid_new_model_truth.py +286 -0
- rapidata/api_client/models/add_validation_text_rapid_model.py +14 -9
- rapidata/api_client/models/age_group.py +5 -4
- rapidata/api_client/models/age_user_filter_model.py +2 -2
- rapidata/api_client/models/age_user_filter_model_age_group.py +41 -0
- rapidata/api_client/models/aggregated_orders_model.py +98 -0
- rapidata/api_client/models/aggregator_type.py +5 -2
- rapidata/api_client/models/and_filter.py +121 -0
- rapidata/api_client/models/and_filter_filters_inner.py +282 -0
- rapidata/api_client/models/and_user_filter_model.py +106 -0
- rapidata/api_client/models/and_user_filter_model_filters_inner.py +282 -0
- rapidata/api_client/models/are_rapids_active_result.py +87 -0
- rapidata/api_client/models/asset_metadata.py +106 -0
- rapidata/api_client/models/asset_metadata_asset.py +170 -0
- rapidata/api_client/models/asset_metadata_model.py +96 -0
- rapidata/api_client/models/asset_metadata_model_asset.py +170 -0
- rapidata/api_client/models/asset_type.py +40 -0
- rapidata/api_client/models/attach_category_rapid_blueprint.py +13 -3
- rapidata/api_client/models/attach_category_rapid_blueprint_category.py +89 -0
- rapidata/api_client/models/audience_status.py +38 -0
- rapidata/api_client/models/base_error.py +1 -4
- rapidata/api_client/models/benchmark_query_result.py +98 -0
- rapidata/api_client/models/benchmark_query_result_paged_result.py +105 -0
- rapidata/api_client/models/boost_leaderboard_model.py +89 -0
- rapidata/api_client/models/boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result.py +97 -0
- rapidata/api_client/models/boost_query_result_boost_mode.py +37 -0
- rapidata/api_client/models/boost_query_result_boost_status.py +39 -0
- rapidata/api_client/models/boost_status.py +39 -0
- rapidata/api_client/models/boosting_profile.py +89 -0
- rapidata/api_client/models/box_shape.py +4 -33
- rapidata/api_client/models/campaign_filter.py +98 -0
- rapidata/api_client/models/campaign_query_result.py +107 -0
- rapidata/api_client/models/campaign_query_result_paged_result.py +105 -0
- rapidata/api_client/models/campaign_status.py +4 -2
- rapidata/api_client/models/capped_selection.py +3 -3
- rapidata/api_client/models/change_boost_model.py +89 -0
- rapidata/api_client/models/classification_metadata.py +14 -5
- rapidata/api_client/models/classification_metadata_model.py +2 -4
- rapidata/api_client/models/classify_payload.py +14 -15
- rapidata/api_client/models/classify_payload_category.py +89 -0
- rapidata/api_client/models/client_model.py +181 -0
- rapidata/api_client/models/clients_query_result.py +2 -2
- rapidata/api_client/models/clone_order_model.py +6 -8
- rapidata/api_client/models/clone_order_result.py +9 -4
- rapidata/api_client/models/compare_match_status.py +39 -0
- rapidata/api_client/models/compare_rapid_blueprint.py +5 -3
- rapidata/api_client/models/compare_rapid_blueprint1.py +96 -0
- rapidata/api_client/models/compare_result.py +4 -4
- rapidata/api_client/models/compare_workflow_config.py +31 -22
- rapidata/api_client/models/compare_workflow_config_context_asset.py +174 -0
- rapidata/api_client/models/compare_workflow_config_metadata_value.py +296 -0
- rapidata/api_client/models/compare_workflow_config_model.py +32 -29
- rapidata/api_client/models/compare_workflow_config_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_config_pair_maker_config.py +126 -0
- rapidata/api_client/models/compare_workflow_model.py +59 -14
- rapidata/api_client/models/compare_workflow_model1.py +32 -19
- rapidata/api_client/models/compare_workflow_model1_pair_maker_information.py +126 -0
- rapidata/api_client/models/compare_workflow_model_context_asset.py +160 -0
- rapidata/api_client/models/compare_workflow_model_metadata_inner.py +154 -0
- rapidata/api_client/models/compare_workflow_model_pair_maker_config.py +126 -0
- rapidata/api_client/models/comparison_operator.py +41 -0
- rapidata/api_client/models/conditional_validation_selection.py +9 -5
- rapidata/api_client/models/conditional_validation_selection_validation_chance.py +103 -0
- rapidata/api_client/models/confidence_interval.py +89 -0
- rapidata/api_client/models/coordinate.py +2 -2
- rapidata/api_client/models/count_metadata.py +13 -4
- rapidata/api_client/models/count_metadata_model.py +2 -4
- rapidata/api_client/models/country_filter.py +98 -0
- rapidata/api_client/models/create_audience_request.py +99 -0
- rapidata/api_client/models/create_audience_result.py +87 -0
- rapidata/api_client/models/create_benchmark_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_model.py +87 -0
- rapidata/api_client/models/create_benchmark_participant_result.py +89 -0
- rapidata/api_client/models/create_benchmark_prompt_result.py +87 -0
- rapidata/api_client/models/create_benchmark_result.py +87 -0
- rapidata/api_client/models/create_bridge_token_result.py +2 -2
- rapidata/api_client/models/create_client_model.py +6 -13
- rapidata/api_client/models/create_complex_order_model.py +9 -9
- rapidata/api_client/models/create_complex_order_result.py +6 -4
- rapidata/api_client/models/create_customer_client_result.py +89 -0
- rapidata/api_client/models/create_datapoint_from_files_model.py +102 -0
- rapidata/api_client/models/create_datapoint_from_files_model_metadata_inner.py +182 -0
- rapidata/api_client/models/create_datapoint_from_text_sources_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model.py +109 -0
- rapidata/api_client/models/create_datapoint_from_urls_model_metadata_inner.py +168 -0
- rapidata/api_client/models/create_datapoint_model.py +134 -0
- rapidata/api_client/models/create_datapoint_model_asset.py +154 -0
- rapidata/api_client/models/create_datapoint_model_context_asset.py +160 -0
- rapidata/api_client/models/create_datapoint_model_metadata_inner.py +154 -0
- rapidata/api_client/models/create_datapoint_result.py +87 -0
- rapidata/api_client/models/create_datapoints_from_s3_bucket_model.py +124 -0
- rapidata/api_client/models/create_demographic_rapid_model.py +45 -7
- rapidata/api_client/models/create_demographic_rapid_model_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/create_demographic_rapid_model_new.py +119 -0
- rapidata/api_client/models/create_empty_validation_set_result.py +2 -2
- rapidata/api_client/models/create_leaderboard_model.py +140 -0
- rapidata/api_client/models/create_leaderboard_participant_model.py +87 -0
- rapidata/api_client/models/create_leaderboard_participant_result.py +89 -0
- rapidata/api_client/models/create_leaderboard_result.py +99 -0
- rapidata/api_client/models/create_order_model.py +41 -52
- rapidata/api_client/models/create_order_model_referee.py +12 -12
- rapidata/api_client/models/create_order_model_user_filters_inner.py +83 -11
- rapidata/api_client/models/create_order_model_workflow.py +35 -21
- rapidata/api_client/models/create_order_result.py +6 -4
- rapidata/api_client/models/create_rapid_result.py +87 -0
- rapidata/api_client/models/create_sample_model.py +93 -0
- rapidata/api_client/models/create_sample_model_asset.py +154 -0
- rapidata/api_client/models/create_sample_model_obsolete.py +87 -0
- rapidata/api_client/models/create_simple_pipeline_model_pipeline_steps_inner.py +8 -22
- rapidata/api_client/models/create_unsupported_order_model.py +6 -6
- rapidata/api_client/models/create_validation_set_model.py +87 -0
- rapidata/api_client/models/custom_user_filter_model.py +98 -0
- rapidata/api_client/models/datapoint.py +12 -28
- rapidata/api_client/models/datapoint_asset.py +40 -40
- rapidata/api_client/models/datapoint_metadata_model.py +13 -6
- rapidata/api_client/models/datapoint_model_paged_result.py +105 -0
- rapidata/api_client/models/datapoint_state.py +38 -0
- rapidata/api_client/models/dataset_dataset_id_datapoints_post_request_metadata_inner.py +182 -0
- rapidata/api_client/models/demographic.py +89 -0
- rapidata/api_client/models/demographic_filter.py +100 -0
- rapidata/api_client/models/demographic_metadata_model.py +18 -9
- rapidata/api_client/models/dynamic_client_registration_request.py +160 -0
- rapidata/api_client/models/early_stopping_referee_model.py +3 -3
- rapidata/api_client/models/effort_capped_selection.py +106 -0
- rapidata/api_client/models/elo_config.py +91 -0
- rapidata/api_client/models/elo_config_model.py +91 -0
- rapidata/api_client/models/entity_tag_header_value.py +93 -0
- rapidata/api_client/models/evaluation_workflow_config.py +13 -3
- rapidata/api_client/models/evaluation_workflow_model.py +16 -6
- rapidata/api_client/models/evaluation_workflow_model1.py +115 -0
- rapidata/api_client/models/existing_asset_input.py +120 -0
- rapidata/api_client/models/existing_asset_input_metadata_value.py +126 -0
- rapidata/api_client/models/feature_flag.py +2 -2
- rapidata/api_client/models/feature_flag_model.py +6 -6
- rapidata/api_client/models/feedback_model.py +7 -7
- rapidata/api_client/models/file_asset.py +15 -12
- rapidata/api_client/models/file_asset_input.py +104 -0
- rapidata/api_client/models/file_asset_input1.py +104 -0
- rapidata/api_client/models/file_asset_input1_file.py +168 -0
- rapidata/api_client/models/file_asset_input2.py +104 -0
- rapidata/api_client/models/file_asset_input3.py +104 -0
- rapidata/api_client/models/file_asset_input_file.py +168 -0
- rapidata/api_client/models/file_asset_metadata_value.py +252 -0
- rapidata/api_client/models/file_asset_model.py +18 -13
- rapidata/api_client/models/file_asset_model_metadata_inner.py +8 -22
- rapidata/api_client/models/file_asset_model_metadata_value.py +252 -0
- rapidata/api_client/models/file_stream_result.py +122 -0
- rapidata/api_client/models/file_type.py +39 -0
- rapidata/api_client/models/file_type_metadata.py +110 -0
- rapidata/api_client/models/file_type_metadata_model.py +97 -0
- rapidata/api_client/models/filter.py +7 -25
- rapidata/api_client/models/filter_operator.py +3 -2
- rapidata/api_client/models/fork_benchmark_result.py +87 -0
- rapidata/api_client/models/form_file_wrapper.py +135 -0
- rapidata/api_client/models/free_text_payload.py +10 -3
- rapidata/api_client/models/free_text_rapid_blueprint.py +10 -3
- rapidata/api_client/models/gender_user_filter_model.py +2 -2
- rapidata/api_client/models/gender_user_filter_model_gender.py +38 -0
- rapidata/api_client/models/get_asset_metadata_result.py +100 -0
- rapidata/api_client/models/get_audience_by_id_result.py +111 -0
- rapidata/api_client/models/get_available_validation_sets_result.py +2 -2
- rapidata/api_client/models/get_benchmark_by_id_query.py +96 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result.py +94 -0
- rapidata/api_client/models/get_benchmark_by_id_query_result_paged_result.py +105 -0
- rapidata/api_client/models/get_benchmark_by_id_result.py +96 -0
- rapidata/api_client/models/get_boost_result.py +97 -0
- rapidata/api_client/models/get_boost_result_boost_mode.py +37 -0
- rapidata/api_client/models/get_boost_result_boost_status.py +39 -0
- rapidata/api_client/models/get_classify_workflow_result_overview_result.py +144 -0
- rapidata/api_client/models/get_compare_ab_summary_result.py +87 -0
- rapidata/api_client/models/get_compare_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_compare_workflow_results_result.py +95 -0
- rapidata/api_client/models/get_compare_workflow_results_result_asset.py +170 -0
- rapidata/api_client/models/get_compare_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_datapoint_by_id_result.py +103 -0
- rapidata/api_client/models/get_datapoint_by_id_result_asset.py +170 -0
- rapidata/api_client/models/get_dataset_by_id_result.py +2 -2
- rapidata/api_client/models/get_dataset_progress_result.py +93 -0
- rapidata/api_client/models/get_evaluation_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_failed_datapoints_result.py +95 -0
- rapidata/api_client/models/get_failed_datapoints_result_datapoint.py +100 -0
- rapidata/api_client/models/get_file_metadata_result.py +100 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_model.py +106 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result.py +97 -0
- rapidata/api_client/models/get_grouped_ranking_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_leaderboard_by_id_result.py +135 -0
- rapidata/api_client/models/get_order_by_id_result.py +12 -5
- rapidata/api_client/models/get_participant_by_id_result.py +91 -0
- rapidata/api_client/models/get_pipeline_by_id_result.py +18 -8
- rapidata/api_client/models/get_public_orders_result.py +2 -2
- rapidata/api_client/models/get_public_responses_result.py +95 -0
- rapidata/api_client/models/get_public_responses_result_response.py +112 -0
- rapidata/api_client/models/get_rapid_responses_result.py +106 -0
- rapidata/api_client/models/get_recommended_validation_set_result.py +95 -0
- rapidata/api_client/models/get_responses_for_rapid_result.py +106 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response.py +103 -0
- rapidata/api_client/models/get_responses_for_rapid_result_response_result.py +266 -0
- rapidata/api_client/models/get_responses_result.py +95 -0
- rapidata/api_client/models/get_responses_result_response.py +103 -0
- rapidata/api_client/models/get_sample_by_id_result.py +125 -0
- rapidata/api_client/models/get_simple_workflow_results_model.py +119 -0
- rapidata/api_client/models/get_simple_workflow_results_result.py +118 -0
- rapidata/api_client/models/get_simple_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_standing_by_id_result.py +96 -0
- rapidata/api_client/models/get_validation_rapids_query.py +123 -0
- rapidata/api_client/models/get_validation_rapids_query_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result.py +150 -0
- rapidata/api_client/models/get_validation_rapids_result_asset.py +174 -0
- rapidata/api_client/models/get_validation_rapids_result_paged_result.py +105 -0
- rapidata/api_client/models/get_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/get_validation_rapids_result_truth.py +286 -0
- rapidata/api_client/models/get_validation_set_by_id_result.py +10 -4
- rapidata/api_client/models/get_workflow_by_id_result.py +5 -5
- rapidata/api_client/models/get_workflow_by_id_result_workflow.py +37 -9
- rapidata/api_client/models/get_workflow_progress_result.py +5 -11
- rapidata/api_client/models/get_workflow_results_result.py +129 -0
- rapidata/api_client/models/get_workflow_results_result_paged_result.py +105 -0
- rapidata/api_client/models/get_workflow_results_result_response.py +103 -0
- rapidata/api_client/models/google_one_tap_login_model.py +87 -0
- rapidata/api_client/models/grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/grouped_ranking_workflow_config_context_assets_value.py +170 -0
- rapidata/api_client/models/grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/grouped_ranking_workflow_model1.py +121 -0
- rapidata/api_client/models/i_artifact_model.py +182 -0
- rapidata/api_client/models/i_artifact_model_campaign_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_dataset_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_file_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_artifact_model.py +98 -0
- rapidata/api_client/models/i_artifact_model_workflow_config_artifact_model.py +102 -0
- rapidata/api_client/models/i_asset.py +170 -0
- rapidata/api_client/models/i_asset_file_asset.py +111 -0
- rapidata/api_client/models/i_asset_input.py +156 -0
- rapidata/api_client/models/i_asset_input_existing_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_input_multi_asset_input.py +128 -0
- rapidata/api_client/models/i_asset_input_text_asset_input.py +118 -0
- rapidata/api_client/models/i_asset_model.py +170 -0
- rapidata/api_client/models/i_asset_model_file_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_model_multi_asset_model.py +123 -0
- rapidata/api_client/models/i_asset_model_null_asset_model.py +111 -0
- rapidata/api_client/models/i_asset_model_text_asset_model.py +113 -0
- rapidata/api_client/models/i_asset_multi_asset.py +121 -0
- rapidata/api_client/models/i_asset_null_asset.py +109 -0
- rapidata/api_client/models/i_asset_text_asset.py +111 -0
- rapidata/api_client/models/i_campaign_filter.py +282 -0
- rapidata/api_client/models/i_campaign_filter_and_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_campaign_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_country_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_demographic_filter.py +100 -0
- rapidata/api_client/models/i_campaign_filter_language_filter.py +98 -0
- rapidata/api_client/models/i_campaign_filter_new_user_filter.py +96 -0
- rapidata/api_client/models/i_campaign_filter_not_filter.py +113 -0
- rapidata/api_client/models/i_campaign_filter_or_filter.py +117 -0
- rapidata/api_client/models/i_campaign_filter_response_count_filter.py +103 -0
- rapidata/api_client/models/i_campaign_filter_user_action_restriction_filter.py +106 -0
- rapidata/api_client/models/i_campaign_filter_user_score_filter.py +102 -0
- rapidata/api_client/models/i_campaign_filter_user_state_filter.py +106 -0
- rapidata/api_client/models/i_dataset_metadata_input.py +154 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_dataset_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_metadata_input_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/i_dataset_model.py +126 -0
- rapidata/api_client/models/i_dataset_model_clone_dataset_model.py +98 -0
- rapidata/api_client/models/i_metadata.py +252 -0
- rapidata/api_client/models/i_metadata_classification_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_count_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_file_type_metadata.py +110 -0
- rapidata/api_client/models/i_metadata_image_dimension_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_input.py +126 -0
- rapidata/api_client/models/i_metadata_input_text_metadata_input.py +111 -0
- rapidata/api_client/models/i_metadata_location_metadata.py +111 -0
- rapidata/api_client/models/i_metadata_model.py +252 -0
- rapidata/api_client/models/i_metadata_model_classification_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_count_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_file_type_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_model_image_dimension_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_location_metadata_model.py +98 -0
- rapidata/api_client/models/i_metadata_model_original_filename_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_source_url_metadata_model.py +96 -0
- rapidata/api_client/models/i_metadata_model_streams_metadata_model.py +100 -0
- rapidata/api_client/models/i_metadata_model_text_metadata_model.py +101 -0
- rapidata/api_client/models/i_metadata_model_video_duration_metadata_model.py +97 -0
- rapidata/api_client/models/i_metadata_original_filename_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_source_url_metadata.py +109 -0
- rapidata/api_client/models/i_metadata_streams_metadata.py +113 -0
- rapidata/api_client/models/i_metadata_text_metadata.py +114 -0
- rapidata/api_client/models/i_metadata_video_duration_metadata.py +110 -0
- rapidata/api_client/models/i_order_workflow_model.py +168 -0
- rapidata/api_client/models/i_order_workflow_model_compare_workflow_model.py +146 -0
- rapidata/api_client/models/i_order_workflow_model_evaluation_workflow_model.py +108 -0
- rapidata/api_client/models/i_order_workflow_model_grouped_ranking_workflow_model.py +147 -0
- rapidata/api_client/models/i_order_workflow_model_simple_workflow_model.py +110 -0
- rapidata/api_client/models/i_pair_maker_config.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model.py +126 -0
- rapidata/api_client/models/i_pair_maker_config_model_online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/i_pair_maker_config_online_pair_maker_config.py +98 -0
- rapidata/api_client/models/i_pair_maker_information.py +126 -0
- rapidata/api_client/models/i_pair_maker_information_online_pair_maker_information.py +100 -0
- rapidata/api_client/models/i_pipeline_artifact_model.py +126 -0
- rapidata/api_client/models/i_pipeline_artifact_model_create_dataset_artifact_model.py +102 -0
- rapidata/api_client/models/i_pipeline_model.py +126 -0
- rapidata/api_client/models/i_pipeline_model_create_simple_pipeline_model.py +116 -0
- rapidata/api_client/models/i_pipeline_step_model.py +168 -0
- rapidata/api_client/models/i_pipeline_step_model_dataset_evaluation_step_model.py +102 -0
- rapidata/api_client/models/i_pipeline_step_model_send_completion_mail_step_model.py +98 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_aggregation_step_model.py +103 -0
- rapidata/api_client/models/i_pipeline_step_model_workflow_labeling_step_model.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint.py +252 -0
- rapidata/api_client/models/i_rapid_blueprint_attach_category_rapid_blueprint.py +108 -0
- rapidata/api_client/models/i_rapid_blueprint_bounding_box_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_compare_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_free_text_rapid_blueprint.py +103 -0
- rapidata/api_client/models/i_rapid_blueprint_line_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_locate_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_named_entity_rapid_blueprint.py +98 -0
- rapidata/api_client/models/i_rapid_blueprint_polygon_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_blueprint_transcription_rapid_blueprint.py +96 -0
- rapidata/api_client/models/i_rapid_payload.py +252 -0
- rapidata/api_client/models/i_rapid_payload_bounding_box_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_classify_payload.py +106 -0
- rapidata/api_client/models/i_rapid_payload_compare_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_free_text_payload.py +103 -0
- rapidata/api_client/models/i_rapid_payload_line_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_locate_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_named_entity_payload.py +98 -0
- rapidata/api_client/models/i_rapid_payload_polygon_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_scrub_payload.py +96 -0
- rapidata/api_client/models/i_rapid_payload_transcription_payload.py +106 -0
- rapidata/api_client/models/i_rapid_result.py +266 -0
- rapidata/api_client/models/i_rapid_result_attach_category_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_bounding_box_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_compare_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_free_text_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_line_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_locate_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_named_entity_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_polygon_result.py +106 -0
- rapidata/api_client/models/i_rapid_result_scrub_result.py +98 -0
- rapidata/api_client/models/i_rapid_result_skip_result.py +96 -0
- rapidata/api_client/models/i_rapid_result_transcription_result.py +106 -0
- rapidata/api_client/models/i_referee_config.py +154 -0
- rapidata/api_client/models/i_referee_config_naive_referee_config.py +96 -0
- rapidata/api_client/models/i_referee_config_never_ending_referee_config.py +94 -0
- rapidata/api_client/models/i_referee_config_probabilistic_attach_category_referee_config.py +98 -0
- rapidata/api_client/models/i_referee_info.py +154 -0
- rapidata/api_client/models/i_referee_info_naive_referee_info.py +96 -0
- rapidata/api_client/models/i_referee_info_never_ending_referee_info.py +94 -0
- rapidata/api_client/models/i_referee_info_probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/i_referee_model.py +140 -0
- rapidata/api_client/models/i_referee_model_early_stopping_referee_model.py +98 -0
- rapidata/api_client/models/i_referee_model_naive_referee_model.py +96 -0
- rapidata/api_client/models/i_selection.py +240 -0
- rapidata/api_client/models/i_selection_ab_test_selection.py +122 -0
- rapidata/api_client/models/i_selection_capped_selection.py +108 -0
- rapidata/api_client/models/i_selection_conditional_validation_selection.py +110 -0
- rapidata/api_client/models/i_selection_demographic_selection.py +98 -0
- rapidata/api_client/models/i_selection_effort_capped_selection.py +101 -0
- rapidata/api_client/models/i_selection_labeling_selection.py +103 -0
- rapidata/api_client/models/i_selection_shuffling_selection.py +106 -0
- rapidata/api_client/models/i_selection_static_selection.py +96 -0
- rapidata/api_client/models/i_selection_validation_selection.py +98 -0
- rapidata/api_client/models/i_user_filter_model.py +282 -0
- rapidata/api_client/models/i_user_filter_model_age_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_and_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_campaign_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_country_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_custom_user_filter_model.py +98 -0
- rapidata/api_client/models/i_user_filter_model_gender_user_filter_model.py +104 -0
- rapidata/api_client/models/i_user_filter_model_language_user_filter_model.py +96 -0
- rapidata/api_client/models/i_user_filter_model_new_user_filter_model.py +94 -0
- rapidata/api_client/models/i_user_filter_model_not_user_filter_model.py +102 -0
- rapidata/api_client/models/i_user_filter_model_or_user_filter_model.py +106 -0
- rapidata/api_client/models/i_user_filter_model_response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/i_user_filter_model_user_score_user_filter_model.py +105 -0
- rapidata/api_client/models/i_validation_metadata_input.py +140 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/i_validation_metadata_input_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/i_validation_truth.py +280 -0
- rapidata/api_client/models/i_validation_truth_attach_category_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_bounding_box_truth.py +102 -0
- rapidata/api_client/models/i_validation_truth_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_empty_validation_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_line_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_locate_box_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_multi_compare_truth.py +96 -0
- rapidata/api_client/models/i_validation_truth_named_entity_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_polygon_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_scrub_truth.py +104 -0
- rapidata/api_client/models/i_validation_truth_skip_truth.py +94 -0
- rapidata/api_client/models/i_validation_truth_transcription_truth.py +115 -0
- rapidata/api_client/models/i_workflow_config.py +168 -0
- rapidata/api_client/models/i_workflow_config_compare_workflow_config.py +142 -0
- rapidata/api_client/models/i_workflow_config_evaluation_workflow_config.py +114 -0
- rapidata/api_client/models/i_workflow_config_grouped_ranking_workflow_config.py +155 -0
- rapidata/api_client/models/i_workflow_config_simple_workflow_config.py +116 -0
- rapidata/api_client/models/i_workflow_model.py +168 -0
- rapidata/api_client/models/i_workflow_model_compare_workflow_model.py +145 -0
- rapidata/api_client/models/i_workflow_model_evaluation_workflow_model.py +115 -0
- rapidata/api_client/models/i_workflow_model_grouped_ranking_workflow_model.py +121 -0
- rapidata/api_client/models/i_workflow_model_simple_workflow_model.py +119 -0
- rapidata/api_client/models/identity_read_bridge_token_get202_response.py +140 -0
- rapidata/api_client/models/image_dimension_metadata.py +13 -4
- rapidata/api_client/models/image_dimension_metadata_model.py +2 -4
- rapidata/api_client/models/inquire_file_metadata_result.py +100 -0
- rapidata/api_client/models/inspect_report_result.py +92 -0
- rapidata/api_client/models/json_web_key.py +224 -0
- rapidata/api_client/models/json_web_key_set.py +95 -0
- rapidata/api_client/models/labeling_selection.py +21 -4
- rapidata/api_client/models/language_filter.py +98 -0
- rapidata/api_client/models/leaderboard_query_result.py +135 -0
- rapidata/api_client/models/leaderboard_query_result_paged_result.py +105 -0
- rapidata/api_client/models/leaderboards_query_result.py +135 -0
- rapidata/api_client/models/line_result.py +3 -3
- rapidata/api_client/models/line_result_line.py +97 -0
- rapidata/api_client/models/line_result_line_point.py +89 -0
- rapidata/api_client/models/local_file_wrapper.py +120 -0
- rapidata/api_client/models/locate_coordinate.py +4 -13
- rapidata/api_client/models/location_metadata.py +14 -5
- rapidata/api_client/models/location_metadata_model.py +2 -4
- rapidata/api_client/models/logic_operator.py +3 -2
- rapidata/api_client/models/metadata_i_order_metadata_input.py +154 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_i_order_metadata_input_metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/metadata_prompt_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_transcription_metadata_input.py +96 -0
- rapidata/api_client/models/metadata_visibilities.py +1 -0
- rapidata/api_client/models/multi_asset.py +17 -12
- rapidata/api_client/models/multi_asset_assets_inner.py +170 -0
- rapidata/api_client/models/multi_asset_input.py +130 -0
- rapidata/api_client/models/multi_asset_input1.py +110 -0
- rapidata/api_client/models/multi_asset_input1_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input2.py +110 -0
- rapidata/api_client/models/multi_asset_input3.py +110 -0
- rapidata/api_client/models/multi_asset_input3_assets_inner.py +198 -0
- rapidata/api_client/models/multi_asset_input_assets_inner.py +156 -0
- rapidata/api_client/models/multi_asset_model.py +21 -16
- rapidata/api_client/models/multi_asset_model2.py +3 -3
- rapidata/api_client/models/multi_compare_truth.py +96 -0
- rapidata/api_client/models/naive_referee_info.py +96 -0
- rapidata/api_client/models/naive_referee_model.py +2 -2
- rapidata/api_client/models/named_classification.py +4 -13
- rapidata/api_client/models/never_ending_referee_info.py +94 -0
- rapidata/api_client/models/new_user_filter.py +96 -0
- rapidata/api_client/models/new_user_filter_model.py +94 -0
- rapidata/api_client/models/new_user_filter_model1.py +94 -0
- rapidata/api_client/models/newsletter_model.py +6 -6
- rapidata/api_client/models/not_available_yet_result.py +87 -0
- rapidata/api_client/models/not_filter.py +117 -0
- rapidata/api_client/models/not_user_filter_model.py +102 -0
- rapidata/api_client/models/null_asset.py +14 -9
- rapidata/api_client/models/null_asset_model.py +18 -13
- rapidata/api_client/models/online_pair_maker_config.py +98 -0
- rapidata/api_client/models/online_pair_maker_config_model.py +98 -0
- rapidata/api_client/models/online_pair_maker_information.py +100 -0
- rapidata/api_client/models/or_filter.py +121 -0
- rapidata/api_client/models/or_user_filter_model.py +106 -0
- rapidata/api_client/models/order_model.py +16 -13
- rapidata/api_client/models/order_state.py +3 -2
- rapidata/api_client/models/original_filename_metadata.py +14 -5
- rapidata/api_client/models/original_filename_metadata_model.py +2 -4
- rapidata/api_client/models/page_info.py +2 -7
- rapidata/api_client/models/paged_result_aggregated_orders_model.py +105 -0
- rapidata/api_client/models/paged_result_benchmark_query_result.py +105 -0
- rapidata/api_client/models/paged_result_campaign_query_result.py +105 -0
- rapidata/api_client/models/paged_result_clients_query_result.py +105 -0
- rapidata/api_client/models/paged_result_datapoint_model.py +105 -0
- rapidata/api_client/models/paged_result_get_compare_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_grouped_ranking_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_get_validation_rapids_result.py +105 -0
- rapidata/api_client/models/paged_result_get_workflow_results_result.py +105 -0
- rapidata/api_client/models/paged_result_i_workflow_model.py +105 -0
- rapidata/api_client/models/paged_result_leaderboard_query_result.py +105 -0
- rapidata/api_client/models/paged_result_leaderboards_query_result.py +105 -0
- rapidata/api_client/models/paged_result_of_aggregated_orders_model.py +103 -0
- rapidata/api_client/models/paged_result_of_benchmark_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_campaign_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_clients_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_compare_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_grouped_ranking_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_validation_rapids_result.py +103 -0
- rapidata/api_client/models/paged_result_of_get_workflow_results_result.py +103 -0
- rapidata/api_client/models/paged_result_of_i_workflow_model.py +103 -0
- rapidata/api_client/models/paged_result_of_leaderboards_query_result.py +103 -0
- rapidata/api_client/models/paged_result_of_order_model.py +103 -0
- rapidata/api_client/models/paged_result_of_participant_by_benchmark.py +103 -0
- rapidata/api_client/models/paged_result_of_prompt_by_benchmark_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_audiences_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_datapoints_by_dataset_id_result.py +103 -0
- rapidata/api_client/models/paged_result_of_query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/paged_result_of_rapid_model.py +103 -0
- rapidata/api_client/models/paged_result_of_runs_by_leaderboard_result.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_identifier.py +103 -0
- rapidata/api_client/models/paged_result_of_sample_by_participant.py +103 -0
- rapidata/api_client/models/paged_result_of_standing_by_leaderboard.py +103 -0
- rapidata/api_client/models/paged_result_of_validation_set_model.py +103 -0
- rapidata/api_client/models/paged_result_order_model.py +105 -0
- rapidata/api_client/models/paged_result_participant_by_benchmark.py +105 -0
- rapidata/api_client/models/paged_result_potential_validation_rapid.py +105 -0
- rapidata/api_client/models/paged_result_prompt_by_benchmark_result.py +105 -0
- rapidata/api_client/models/paged_result_query_audiences_result.py +105 -0
- rapidata/api_client/models/paged_result_query_datapoints_by_dataset_id_result.py +105 -0
- rapidata/api_client/models/paged_result_query_validation_rapid_eligibility_result.py +105 -0
- rapidata/api_client/models/paged_result_rapid_model.py +105 -0
- rapidata/api_client/models/paged_result_runs_by_leaderboard_result.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_identifier.py +105 -0
- rapidata/api_client/models/paged_result_sample_by_participant.py +105 -0
- rapidata/api_client/models/paged_result_standing_by_leaderboard.py +105 -0
- rapidata/api_client/models/paged_result_validation_set_model.py +105 -0
- rapidata/api_client/models/participant_by_benchmark.py +94 -0
- rapidata/api_client/models/participant_by_benchmark_paged_result.py +105 -0
- rapidata/api_client/models/participant_by_leaderboard.py +113 -0
- rapidata/api_client/models/participant_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/participant_status.py +38 -0
- rapidata/api_client/models/pipeline_id_workflow_artifact_id_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_config_put_request.py +140 -0
- rapidata/api_client/models/pipeline_id_workflow_put_request.py +140 -0
- rapidata/api_client/models/polygon_result.py +3 -3
- rapidata/api_client/models/polygon_result_coordinate.py +89 -0
- rapidata/api_client/models/polygon_result_shape.py +95 -0
- rapidata/api_client/models/potential_validation_rapid.py +103 -0
- rapidata/api_client/models/potential_validation_rapid_paged_result.py +105 -0
- rapidata/api_client/models/potential_validation_rapid_truth.py +280 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config.py +100 -0
- rapidata/api_client/models/pre_arranged_pair_maker_config_model.py +96 -0
- rapidata/api_client/models/pre_arranged_pair_maker_information.py +102 -0
- rapidata/api_client/models/preliminary_download_model.py +87 -0
- rapidata/api_client/models/preliminary_download_result.py +87 -0
- rapidata/api_client/models/preview_order_model.py +87 -0
- rapidata/api_client/models/probabilistic_attach_category_referee_info.py +98 -0
- rapidata/api_client/models/problem_details.py +2 -20
- rapidata/api_client/models/prompt_asset_metadata_input.py +100 -0
- rapidata/api_client/models/prompt_asset_metadata_input_asset.py +154 -0
- rapidata/api_client/models/prompt_by_benchmark_result.py +112 -0
- rapidata/api_client/models/prompt_by_benchmark_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_by_leaderboard_result.py +90 -0
- rapidata/api_client/models/prompt_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/prompt_metadata.py +13 -4
- rapidata/api_client/models/prompt_metadata_input.py +4 -6
- rapidata/api_client/models/prompt_metadata_model.py +2 -4
- rapidata/api_client/models/prompt_type.py +38 -0
- rapidata/api_client/models/proxy_file_wrapper.py +129 -0
- rapidata/api_client/models/public_order_model.py +2 -2
- rapidata/api_client/models/public_rapid_response.py +112 -0
- rapidata/api_client/models/query_audiences_result.py +111 -0
- rapidata/api_client/models/query_datapoints_by_dataset_id_result.py +95 -0
- rapidata/api_client/models/query_model.py +10 -5
- rapidata/api_client/models/query_validation_model.py +97 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_model_query_validation_model.py +107 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result.py +103 -0
- rapidata/api_client/models/query_validation_rapid_eligibility_result_truth.py +280 -0
- rapidata/api_client/models/query_validation_rapids_result.py +50 -5
- rapidata/api_client/models/query_validation_rapids_result_asset.py +40 -40
- rapidata/api_client/models/query_validation_rapids_result_payload.py +252 -0
- rapidata/api_client/models/query_validation_rapids_result_truth.py +258 -0
- rapidata/api_client/models/rapid_answer.py +3 -1
- rapidata/api_client/models/rapid_answer_result.py +31 -17
- rapidata/api_client/models/rapid_issue.py +45 -0
- rapidata/api_client/models/rapid_modality.py +46 -0
- rapidata/api_client/models/rapid_model.py +157 -0
- rapidata/api_client/models/rapid_model_paged_result.py +105 -0
- rapidata/api_client/models/rapid_model_referee.py +154 -0
- rapidata/api_client/models/rapid_response.py +103 -0
- rapidata/api_client/models/rapid_response_result.py +266 -0
- rapidata/api_client/models/rapid_result_model.py +7 -7
- rapidata/api_client/models/rapid_result_model_result.py +31 -17
- rapidata/api_client/models/rapid_skipped_model.py +5 -5
- rapidata/api_client/models/rapid_state.py +41 -0
- rapidata/api_client/models/read_bridge_token_keys_result.py +3 -8
- rapidata/api_client/models/reference_asset_input.py +100 -0
- rapidata/api_client/models/report_model.py +109 -0
- rapidata/api_client/models/response_count_filter.py +103 -0
- rapidata/api_client/models/response_count_user_filter_model.py +101 -0
- rapidata/api_client/models/retrieval_mode.py +38 -0
- rapidata/api_client/models/root_filter.py +5 -14
- rapidata/api_client/models/run_status.py +39 -0
- rapidata/api_client/models/runs_by_leaderboard_result.py +104 -0
- rapidata/api_client/models/runs_by_leaderboard_result_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_identifier.py +125 -0
- rapidata/api_client/models/sample_by_identifier_paged_result.py +105 -0
- rapidata/api_client/models/sample_by_participant.py +121 -0
- rapidata/api_client/models/sample_by_participant_paged_result.py +105 -0
- rapidata/api_client/models/scrub_payload.py +96 -0
- rapidata/api_client/models/scrub_range.py +89 -0
- rapidata/api_client/models/scrub_rapid_blueprint.py +96 -0
- rapidata/api_client/models/scrub_result.py +98 -0
- rapidata/api_client/models/scrub_truth.py +104 -0
- rapidata/api_client/models/send_survey_model.py +87 -0
- rapidata/api_client/models/shuffling_selection.py +106 -0
- rapidata/api_client/models/simple_workflow_config.py +6 -17
- rapidata/api_client/models/simple_workflow_config_blueprint.py +37 -23
- rapidata/api_client/models/simple_workflow_config_model.py +6 -22
- rapidata/api_client/models/simple_workflow_config_model_blueprint.py +31 -17
- rapidata/api_client/models/simple_workflow_get_result_overview_get200_response.py +16 -16
- rapidata/api_client/models/simple_workflow_model.py +14 -4
- rapidata/api_client/models/simple_workflow_model1.py +5 -12
- rapidata/api_client/models/simple_workflow_model_blueprint.py +31 -17
- rapidata/api_client/models/skip_truth.py +94 -0
- rapidata/api_client/models/sort_criterion.py +5 -11
- rapidata/api_client/models/sort_direction.py +2 -2
- rapidata/api_client/models/source_url_metadata.py +109 -0
- rapidata/api_client/models/source_url_metadata_model.py +96 -0
- rapidata/api_client/models/standing_by_benchmark.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard.py +113 -0
- rapidata/api_client/models/standing_by_leaderboard_paged_result.py +105 -0
- rapidata/api_client/models/standing_status.py +38 -0
- rapidata/api_client/models/standings_by_benchmark_result.py +95 -0
- rapidata/api_client/models/standings_by_leaderboard_result.py +95 -0
- rapidata/api_client/models/start_preliminary_download_result.py +87 -0
- rapidata/api_client/models/sticky_state.py +39 -0
- rapidata/api_client/models/stream_file_wrapper.py +138 -0
- rapidata/api_client/models/streams_metadata.py +113 -0
- rapidata/api_client/models/streams_metadata_model.py +100 -0
- rapidata/api_client/models/string_segment.py +105 -0
- rapidata/api_client/models/submit_coco_model.py +1 -3
- rapidata/api_client/models/submit_order_model.py +87 -0
- rapidata/api_client/models/submit_participant_result.py +89 -0
- rapidata/api_client/models/submit_prompt_model.py +107 -0
- rapidata/api_client/models/submit_prompt_model_prompt_asset.py +202 -0
- rapidata/api_client/models/tags_by_benchmark_result.py +87 -0
- rapidata/api_client/models/text_asset.py +15 -10
- rapidata/api_client/models/text_asset_input.py +120 -0
- rapidata/api_client/models/text_asset_model.py +18 -13
- rapidata/api_client/models/text_metadata.py +20 -6
- rapidata/api_client/models/text_metadata_input.py +111 -0
- rapidata/api_client/models/text_metadata_model.py +9 -6
- rapidata/api_client/models/transcription_metadata.py +10 -4
- rapidata/api_client/models/transcription_metadata_input.py +4 -6
- rapidata/api_client/models/transcription_metadata_model.py +1 -3
- rapidata/api_client/models/transcription_truth.py +23 -4
- rapidata/api_client/models/transcription_word.py +2 -2
- rapidata/api_client/models/translated_prompt_metadata_model.py +2 -4
- rapidata/api_client/models/translated_string.py +2 -2
- rapidata/api_client/models/unlock_order_result.py +2 -2
- rapidata/api_client/models/update_access_model.py +1 -1
- rapidata/api_client/models/update_audience_request.py +102 -0
- rapidata/api_client/models/update_benchmark_model.py +99 -0
- rapidata/api_client/models/update_benchmark_name_model.py +87 -0
- rapidata/api_client/models/update_campaign_model.py +99 -0
- rapidata/api_client/models/update_dataset_name_model.py +87 -0
- rapidata/api_client/models/update_dimensions_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_model.py +106 -0
- rapidata/api_client/models/update_leaderboard_name_model.py +87 -0
- rapidata/api_client/models/update_leaderboard_response_config_model.py +89 -0
- rapidata/api_client/models/update_order_name_model.py +87 -0
- rapidata/api_client/models/update_participant_model.py +92 -0
- rapidata/api_client/models/update_participant_name_model.py +87 -0
- rapidata/api_client/models/update_priority_model.py +87 -0
- rapidata/api_client/models/update_prompt_tags_model.py +87 -0
- rapidata/api_client/models/update_should_alert_model.py +87 -0
- rapidata/api_client/models/update_validation_rapid_model.py +125 -0
- rapidata/api_client/models/update_validation_rapid_model_context_asset.py +160 -0
- rapidata/api_client/models/update_validation_rapid_model_truth.py +280 -0
- rapidata/api_client/models/update_validation_set_model.py +120 -0
- rapidata/api_client/models/upload_asset_result.py +102 -0
- rapidata/api_client/models/upload_file_from_url_result.py +87 -0
- rapidata/api_client/models/upload_file_result.py +87 -0
- rapidata/api_client/models/upload_files_from_s3_bucket_model.py +15 -5
- rapidata/api_client/models/upload_from_s3_result.py +87 -0
- rapidata/api_client/models/upload_text_sources_to_dataset_model.py +26 -4
- rapidata/api_client/models/url_asset_input.py +100 -0
- rapidata/api_client/models/user_action_restriction.py +37 -0
- rapidata/api_client/models/user_action_restriction_filter.py +101 -0
- rapidata/api_client/models/user_score_filter.py +102 -0
- rapidata/api_client/models/user_score_user_filter_model.py +9 -2
- rapidata/api_client/models/user_state.py +38 -0
- rapidata/api_client/models/user_state_filter.py +101 -0
- rapidata/api_client/models/validation_chance.py +20 -3
- rapidata/api_client/models/validation_import_post_request_blueprint.py +31 -17
- rapidata/api_client/models/validation_set_model.py +39 -5
- rapidata/api_client/models/validation_set_overview_model.py +2 -2
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_payload_parameter.py +252 -0
- rapidata/api_client/models/validation_set_validation_set_id_rapid_post_truth_parameter.py +280 -0
- rapidata/api_client/models/validation_set_zip_post_request_blueprint.py +252 -0
- rapidata/api_client/models/video_duration_metadata.py +109 -0
- rapidata/api_client/models/video_duration_metadata_model.py +96 -0
- rapidata/api_client/models/workflow_aggregation_step_model.py +3 -12
- rapidata/api_client/models/workflow_config_artifact_model_workflow_config.py +23 -9
- rapidata/api_client/models/workflow_state.py +2 -2
- rapidata/api_client/models/zip_entry_file_wrapper.py +151 -0
- rapidata/api_client/rest.py +193 -154
- rapidata/api_client_README.md +488 -293
- rapidata/rapidata_client/__init__.py +27 -13
- rapidata/rapidata_client/api/rapidata_api_client.py +253 -0
- rapidata/rapidata_client/benchmark/_detail_mapper.py +32 -0
- rapidata/rapidata_client/benchmark/leaderboard/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/leaderboard/rapidata_leaderboard.py +221 -0
- rapidata/rapidata_client/benchmark/participant/__init__.py +0 -0
- rapidata/rapidata_client/benchmark/participant/_participant.py +145 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark.py +546 -0
- rapidata/rapidata_client/benchmark/rapidata_benchmark_manager.py +219 -0
- rapidata/rapidata_client/config/__init__.py +4 -0
- rapidata/rapidata_client/config/logger.py +135 -0
- rapidata/rapidata_client/config/logging_config.py +55 -0
- rapidata/rapidata_client/config/managed_print.py +6 -0
- rapidata/rapidata_client/config/order_config.py +14 -0
- rapidata/rapidata_client/config/rapidata_config.py +36 -0
- rapidata/rapidata_client/config/tracer.py +184 -0
- rapidata/rapidata_client/config/upload_config.py +64 -0
- rapidata/rapidata_client/datapoints/__init__.py +10 -0
- rapidata/rapidata_client/datapoints/_asset_uploader.py +169 -0
- rapidata/rapidata_client/datapoints/_datapoint.py +92 -0
- rapidata/rapidata_client/datapoints/_datapoint_uploader.py +47 -0
- rapidata/rapidata_client/datapoints/_datapoints_validator.py +70 -0
- rapidata/rapidata_client/datapoints/assets/__init__.py +0 -0
- rapidata/rapidata_client/datapoints/assets/constants.py +7 -0
- rapidata/rapidata_client/datapoints/metadata/__init__.py +7 -0
- rapidata/rapidata_client/{selection/base_selection.py → datapoints/metadata/_base_metadata.py} +2 -1
- rapidata/rapidata_client/datapoints/metadata/_media_asset_metadata.py +26 -0
- rapidata/rapidata_client/datapoints/metadata/_private_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_identifier_metadata.py +14 -0
- rapidata/rapidata_client/datapoints/metadata/_prompt_metadata.py +12 -0
- rapidata/rapidata_client/datapoints/metadata/_public_text_metadata.py +16 -0
- rapidata/rapidata_client/datapoints/metadata/_select_words_metadata.py +17 -0
- rapidata/rapidata_client/demographic/__init__.py +0 -0
- rapidata/rapidata_client/demographic/demographic_manager.py +54 -0
- rapidata/rapidata_client/exceptions/__init__.py +1 -0
- rapidata/rapidata_client/exceptions/failed_upload_exception.py +20 -0
- rapidata/rapidata_client/filter/__init__.py +7 -1
- rapidata/rapidata_client/filter/_base_filter.py +62 -0
- rapidata/rapidata_client/filter/age_filter.py +28 -10
- rapidata/rapidata_client/filter/and_filter.py +42 -0
- rapidata/rapidata_client/filter/campaign_filter.py +28 -11
- rapidata/rapidata_client/filter/country_filter.py +42 -13
- rapidata/rapidata_client/filter/custom_filter.py +39 -0
- rapidata/rapidata_client/filter/gender_filter.py +29 -10
- rapidata/rapidata_client/filter/language_filter.py +49 -15
- rapidata/rapidata_client/filter/models/__init__.py +0 -0
- rapidata/rapidata_client/filter/models/age_group.py +28 -0
- rapidata/rapidata_client/filter/models/gender.py +23 -0
- rapidata/rapidata_client/filter/new_user_filter.py +20 -0
- rapidata/rapidata_client/filter/not_filter.py +42 -0
- rapidata/rapidata_client/filter/or_filter.py +42 -0
- rapidata/rapidata_client/filter/rapidata_filters.py +60 -0
- rapidata/rapidata_client/filter/response_count_filter.py +62 -0
- rapidata/rapidata_client/filter/user_score_filter.py +60 -14
- rapidata/rapidata_client/order/_rapidata_order_builder.py +481 -0
- rapidata/rapidata_client/order/dataset/_rapidata_dataset.py +153 -0
- rapidata/rapidata_client/order/rapidata_order.py +393 -90
- rapidata/rapidata_client/order/rapidata_order_manager.py +922 -0
- rapidata/rapidata_client/order/rapidata_results.py +251 -0
- rapidata/rapidata_client/rapidata_client.py +125 -180
- rapidata/rapidata_client/referee/__init__.py +3 -3
- rapidata/rapidata_client/referee/{base_referee.py → _base_referee.py} +9 -5
- rapidata/rapidata_client/referee/_early_stopping_referee.py +62 -0
- rapidata/rapidata_client/referee/_naive_referee.py +48 -0
- rapidata/rapidata_client/selection/__init__.py +6 -1
- rapidata/rapidata_client/selection/_base_selection.py +16 -0
- rapidata/rapidata_client/selection/ab_test_selection.py +46 -0
- rapidata/rapidata_client/selection/capped_selection.py +34 -17
- rapidata/rapidata_client/selection/conditional_validation_selection.py +71 -21
- rapidata/rapidata_client/selection/demographic_selection.py +43 -8
- rapidata/rapidata_client/selection/effort_selection.py +49 -0
- rapidata/rapidata_client/selection/labeling_selection.py +45 -8
- rapidata/rapidata_client/selection/rapidata_retrieval_modes.py +21 -0
- rapidata/rapidata_client/selection/rapidata_selections.py +47 -0
- rapidata/rapidata_client/selection/shuffling_selection.py +44 -0
- rapidata/rapidata_client/selection/static_selection.py +33 -0
- rapidata/rapidata_client/selection/validation_selection.py +29 -6
- rapidata/rapidata_client/settings/__init__.py +12 -2
- rapidata/rapidata_client/settings/_rapidata_setting.py +24 -0
- rapidata/rapidata_client/settings/alert_on_fast_response.py +25 -0
- rapidata/rapidata_client/settings/allow_neither_both.py +17 -0
- rapidata/rapidata_client/settings/custom_setting.py +17 -0
- rapidata/rapidata_client/settings/free_text_minimum_characters.py +22 -0
- rapidata/rapidata_client/settings/models/__init__.py +1 -0
- rapidata/rapidata_client/settings/models/translation_behaviour_options.py +15 -0
- rapidata/rapidata_client/settings/mute_video.py +15 -0
- rapidata/rapidata_client/settings/no_shuffle.py +18 -0
- rapidata/rapidata_client/settings/play_video_until_the_end.py +19 -0
- rapidata/rapidata_client/settings/rapidata_settings.py +51 -0
- rapidata/rapidata_client/settings/swap_context_instruction.py +20 -0
- rapidata/rapidata_client/settings/translation_behaviour.py +20 -0
- rapidata/rapidata_client/validation/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapidata_validation_set.py +141 -0
- rapidata/rapidata_client/validation/rapids/__init__.py +1 -0
- rapidata/rapidata_client/validation/rapids/_validation_rapid_uploader.py +62 -0
- rapidata/rapidata_client/validation/rapids/box.py +42 -0
- rapidata/rapidata_client/validation/rapids/rapids.py +29 -0
- rapidata/rapidata_client/validation/rapids/rapids_manager.py +469 -0
- rapidata/rapidata_client/validation/validation_set_manager.py +814 -0
- rapidata/rapidata_client/workflow/__init__.py +11 -6
- rapidata/rapidata_client/workflow/_base_workflow.py +43 -0
- rapidata/rapidata_client/workflow/_classify_workflow.py +92 -0
- rapidata/rapidata_client/workflow/_compare_workflow.py +76 -0
- rapidata/rapidata_client/workflow/_draw_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_evaluation_workflow.py +47 -0
- rapidata/rapidata_client/workflow/_free_text_workflow.py +81 -0
- rapidata/rapidata_client/workflow/_locate_workflow.py +52 -0
- rapidata/rapidata_client/workflow/_multi_ranking_workflow.py +87 -0
- rapidata/rapidata_client/workflow/_ranking_workflow.py +131 -0
- rapidata/rapidata_client/workflow/_select_words_workflow.py +74 -0
- rapidata/rapidata_client/workflow/_timestamp_workflow.py +65 -0
- rapidata/service/__init__.py +0 -1
- rapidata/service/credential_manager.py +41 -32
- rapidata/service/openapi_service.py +153 -35
- rapidata/types/__init__.py +166 -0
- rapidata-2.44.4.dist-info/METADATA +32 -0
- rapidata-2.44.4.dist-info/RECORD +1014 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info}/WHEEL +1 -1
- rapidata/constants.py +0 -1
- rapidata/rapidata_client/assets/__init__.py +0 -8
- rapidata/rapidata_client/assets/base_asset.py +0 -11
- rapidata/rapidata_client/assets/media_asset.py +0 -88
- rapidata/rapidata_client/assets/multi_asset.py +0 -55
- rapidata/rapidata_client/assets/text_asset.py +0 -28
- rapidata/rapidata_client/country_codes/__init__.py +0 -1
- rapidata/rapidata_client/country_codes/country_codes.py +0 -19
- rapidata/rapidata_client/dataset/rapid_builders/__init__.py +0 -4
- rapidata/rapidata_client/dataset/rapid_builders/base_rapid_builder.py +0 -33
- rapidata/rapidata_client/dataset/rapid_builders/classify_rapid_builders.py +0 -166
- rapidata/rapidata_client/dataset/rapid_builders/compare_rapid_builders.py +0 -145
- rapidata/rapidata_client/dataset/rapid_builders/rapids.py +0 -32
- rapidata/rapidata_client/dataset/rapid_builders/transcription_rapid_builders.py +0 -132
- rapidata/rapidata_client/dataset/rapidata_dataset.py +0 -126
- rapidata/rapidata_client/dataset/rapidata_validation_set.py +0 -300
- rapidata/rapidata_client/dataset/validation_rapid_parts.py +0 -55
- rapidata/rapidata_client/dataset/validation_set_builder.py +0 -324
- rapidata/rapidata_client/filter/base_filter.py +0 -9
- rapidata/rapidata_client/metadata/__init__.py +0 -5
- rapidata/rapidata_client/metadata/base_metadata.py +0 -12
- rapidata/rapidata_client/metadata/private_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/prompt_metadata.py +0 -17
- rapidata/rapidata_client/metadata/public_text_metadata.py +0 -16
- rapidata/rapidata_client/metadata/transcription_metadata.py +0 -19
- rapidata/rapidata_client/order/rapidata_order_builder.py +0 -463
- rapidata/rapidata_client/referee/early_stopping_referee.py +0 -50
- rapidata/rapidata_client/referee/naive_referee.py +0 -33
- rapidata/rapidata_client/settings/feature_flags.py +0 -125
- rapidata/rapidata_client/settings/settings.py +0 -124
- rapidata/rapidata_client/simple_builders/simple_classification_builders.py +0 -245
- rapidata/rapidata_client/simple_builders/simple_compare_builders.py +0 -250
- rapidata/rapidata_client/simple_builders/simple_free_text_builders.py +0 -180
- rapidata/rapidata_client/simple_builders/simple_transcription_builders.py +0 -194
- rapidata/rapidata_client/workflow/base_workflow.py +0 -42
- rapidata/rapidata_client/workflow/classify_workflow.py +0 -49
- rapidata/rapidata_client/workflow/compare_workflow.py +0 -47
- rapidata/rapidata_client/workflow/evaluation_workflow.py +0 -15
- rapidata/rapidata_client/workflow/free_text_workflow.py +0 -50
- rapidata/rapidata_client/workflow/transcription_workflow.py +0 -40
- rapidata/service/local_file_service.py +0 -25
- rapidata/service/token_manager.py +0 -175
- rapidata-1.8.3.dist-info/METADATA +0 -28
- rapidata-1.8.3.dist-info/RECORD +0 -396
- /rapidata/rapidata_client/{dataset → api}/__init__.py +0 -0
- /rapidata/rapidata_client/{simple_builders → benchmark}/__init__.py +0 -0
- {rapidata-1.8.3.dist-info → rapidata-2.44.4.dist-info/licenses}/LICENSE +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# coding: utf-8
|
|
2
2
|
|
|
3
3
|
"""
|
|
4
|
-
Rapidata
|
|
4
|
+
Rapidata Asset API
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
The API for the Rapidata Asset service
|
|
7
7
|
|
|
8
8
|
The version of the OpenAPI document: v1
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
@@ -16,8 +16,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
|
16
16
|
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
17
|
from typing_extensions import Annotated
|
|
18
18
|
|
|
19
|
-
from pydantic import Field, StrictStr
|
|
20
|
-
from typing import Optional
|
|
19
|
+
from pydantic import Field, StrictBool, StrictBytes, StrictStr
|
|
20
|
+
from typing import Optional, Tuple, Union
|
|
21
21
|
from typing_extensions import Annotated
|
|
22
22
|
from rapidata.api_client.models.clone_order_model import CloneOrderModel
|
|
23
23
|
from rapidata.api_client.models.clone_order_result import CloneOrderResult
|
|
@@ -26,15 +26,15 @@ from rapidata.api_client.models.create_complex_order_result import CreateComplex
|
|
|
26
26
|
from rapidata.api_client.models.create_order_model import CreateOrderModel
|
|
27
27
|
from rapidata.api_client.models.create_order_result import CreateOrderResult
|
|
28
28
|
from rapidata.api_client.models.create_unsupported_order_model import CreateUnsupportedOrderModel
|
|
29
|
-
from rapidata.api_client.models.feedback_model import FeedbackModel
|
|
30
29
|
from rapidata.api_client.models.get_order_by_id_result import GetOrderByIdResult
|
|
31
|
-
from rapidata.api_client.models.get_order_results_result import GetOrderResultsResult
|
|
32
30
|
from rapidata.api_client.models.get_public_orders_result import GetPublicOrdersResult
|
|
33
|
-
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
|
|
33
|
+
from rapidata.api_client.models.preview_order_model import PreviewOrderModel
|
|
34
34
|
from rapidata.api_client.models.query_model import QueryModel
|
|
35
|
+
from rapidata.api_client.models.submit_order_model import SubmitOrderModel
|
|
35
36
|
from rapidata.api_client.models.unlock_order_result import UnlockOrderResult
|
|
36
|
-
from rapidata.api_client.models.
|
|
37
|
-
from rapidata.api_client.models.update_order_model import UpdateOrderModel
|
|
37
|
+
from rapidata.api_client.models.update_order_name_model import UpdateOrderNameModel
|
|
38
38
|
|
|
39
39
|
from rapidata.api_client.api_client import ApiClient, RequestSerialized
|
|
40
40
|
from rapidata.api_client.api_response import ApiResponse
|
|
@@ -55,9 +55,286 @@ class OrderApi:
|
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
@validate_call
|
|
58
|
-
def
|
|
58
|
+
def order_complex_post(
|
|
59
59
|
self,
|
|
60
|
-
|
|
60
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
61
|
+
_request_timeout: Union[
|
|
62
|
+
None,
|
|
63
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
64
|
+
Tuple[
|
|
65
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
66
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
67
|
+
]
|
|
68
|
+
] = None,
|
|
69
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
70
|
+
_content_type: Optional[StrictStr] = None,
|
|
71
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
72
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
73
|
+
) -> CreateComplexOrderResult:
|
|
74
|
+
"""Creates a new order with a custom pipeline.
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
78
|
+
:type create_complex_order_model: CreateComplexOrderModel
|
|
79
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
80
|
+
number provided, it will be total request
|
|
81
|
+
timeout. It can also be a pair (tuple) of
|
|
82
|
+
(connection, read) timeouts.
|
|
83
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
84
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
85
|
+
request; this effectively ignores the
|
|
86
|
+
authentication in the spec for a single request.
|
|
87
|
+
:type _request_auth: dict, optional
|
|
88
|
+
:param _content_type: force content-type for the request.
|
|
89
|
+
:type _content_type: str, Optional
|
|
90
|
+
:param _headers: set to override the headers for a single
|
|
91
|
+
request; this effectively ignores the headers
|
|
92
|
+
in the spec for a single request.
|
|
93
|
+
:type _headers: dict, optional
|
|
94
|
+
:param _host_index: set to override the host_index for a single
|
|
95
|
+
request; this effectively ignores the host_index
|
|
96
|
+
in the spec for a single request.
|
|
97
|
+
:type _host_index: int, optional
|
|
98
|
+
:return: Returns the result object.
|
|
99
|
+
""" # noqa: E501
|
|
100
|
+
|
|
101
|
+
_param = self._order_complex_post_serialize(
|
|
102
|
+
create_complex_order_model=create_complex_order_model,
|
|
103
|
+
_request_auth=_request_auth,
|
|
104
|
+
_content_type=_content_type,
|
|
105
|
+
_headers=_headers,
|
|
106
|
+
_host_index=_host_index
|
|
107
|
+
)
|
|
108
|
+
|
|
109
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
110
|
+
'200': "CreateComplexOrderResult",
|
|
111
|
+
}
|
|
112
|
+
response_data = self.api_client.call_api(
|
|
113
|
+
*_param,
|
|
114
|
+
_request_timeout=_request_timeout
|
|
115
|
+
)
|
|
116
|
+
response_data.read()
|
|
117
|
+
return self.api_client.response_deserialize(
|
|
118
|
+
response_data=response_data,
|
|
119
|
+
response_types_map=_response_types_map,
|
|
120
|
+
).data
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
@validate_call
|
|
124
|
+
def order_complex_post_with_http_info(
|
|
125
|
+
self,
|
|
126
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
127
|
+
_request_timeout: Union[
|
|
128
|
+
None,
|
|
129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
130
|
+
Tuple[
|
|
131
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
133
|
+
]
|
|
134
|
+
] = None,
|
|
135
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
136
|
+
_content_type: Optional[StrictStr] = None,
|
|
137
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
138
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
139
|
+
) -> ApiResponse[CreateComplexOrderResult]:
|
|
140
|
+
"""Creates a new order with a custom pipeline.
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
144
|
+
:type create_complex_order_model: CreateComplexOrderModel
|
|
145
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
146
|
+
number provided, it will be total request
|
|
147
|
+
timeout. It can also be a pair (tuple) of
|
|
148
|
+
(connection, read) timeouts.
|
|
149
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
150
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
151
|
+
request; this effectively ignores the
|
|
152
|
+
authentication in the spec for a single request.
|
|
153
|
+
:type _request_auth: dict, optional
|
|
154
|
+
:param _content_type: force content-type for the request.
|
|
155
|
+
:type _content_type: str, Optional
|
|
156
|
+
:param _headers: set to override the headers for a single
|
|
157
|
+
request; this effectively ignores the headers
|
|
158
|
+
in the spec for a single request.
|
|
159
|
+
:type _headers: dict, optional
|
|
160
|
+
:param _host_index: set to override the host_index for a single
|
|
161
|
+
request; this effectively ignores the host_index
|
|
162
|
+
in the spec for a single request.
|
|
163
|
+
:type _host_index: int, optional
|
|
164
|
+
:return: Returns the result object.
|
|
165
|
+
""" # noqa: E501
|
|
166
|
+
|
|
167
|
+
_param = self._order_complex_post_serialize(
|
|
168
|
+
create_complex_order_model=create_complex_order_model,
|
|
169
|
+
_request_auth=_request_auth,
|
|
170
|
+
_content_type=_content_type,
|
|
171
|
+
_headers=_headers,
|
|
172
|
+
_host_index=_host_index
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
176
|
+
'200': "CreateComplexOrderResult",
|
|
177
|
+
}
|
|
178
|
+
response_data = self.api_client.call_api(
|
|
179
|
+
*_param,
|
|
180
|
+
_request_timeout=_request_timeout
|
|
181
|
+
)
|
|
182
|
+
response_data.read()
|
|
183
|
+
return self.api_client.response_deserialize(
|
|
184
|
+
response_data=response_data,
|
|
185
|
+
response_types_map=_response_types_map,
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
@validate_call
|
|
190
|
+
def order_complex_post_without_preload_content(
|
|
191
|
+
self,
|
|
192
|
+
create_complex_order_model: Annotated[CreateComplexOrderModel, Field(description="The body content of the request")],
|
|
193
|
+
_request_timeout: Union[
|
|
194
|
+
None,
|
|
195
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
196
|
+
Tuple[
|
|
197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
198
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
199
|
+
]
|
|
200
|
+
] = None,
|
|
201
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
202
|
+
_content_type: Optional[StrictStr] = None,
|
|
203
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
204
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
205
|
+
) -> RESTResponseType:
|
|
206
|
+
"""Creates a new order with a custom pipeline.
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
:param create_complex_order_model: The body content of the request (required)
|
|
210
|
+
:type create_complex_order_model: CreateComplexOrderModel
|
|
211
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
212
|
+
number provided, it will be total request
|
|
213
|
+
timeout. It can also be a pair (tuple) of
|
|
214
|
+
(connection, read) timeouts.
|
|
215
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
216
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
217
|
+
request; this effectively ignores the
|
|
218
|
+
authentication in the spec for a single request.
|
|
219
|
+
:type _request_auth: dict, optional
|
|
220
|
+
:param _content_type: force content-type for the request.
|
|
221
|
+
:type _content_type: str, Optional
|
|
222
|
+
:param _headers: set to override the headers for a single
|
|
223
|
+
request; this effectively ignores the headers
|
|
224
|
+
in the spec for a single request.
|
|
225
|
+
:type _headers: dict, optional
|
|
226
|
+
:param _host_index: set to override the host_index for a single
|
|
227
|
+
request; this effectively ignores the host_index
|
|
228
|
+
in the spec for a single request.
|
|
229
|
+
:type _host_index: int, optional
|
|
230
|
+
:return: Returns the result object.
|
|
231
|
+
""" # noqa: E501
|
|
232
|
+
|
|
233
|
+
_param = self._order_complex_post_serialize(
|
|
234
|
+
create_complex_order_model=create_complex_order_model,
|
|
235
|
+
_request_auth=_request_auth,
|
|
236
|
+
_content_type=_content_type,
|
|
237
|
+
_headers=_headers,
|
|
238
|
+
_host_index=_host_index
|
|
239
|
+
)
|
|
240
|
+
|
|
241
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
242
|
+
'200': "CreateComplexOrderResult",
|
|
243
|
+
}
|
|
244
|
+
response_data = self.api_client.call_api(
|
|
245
|
+
*_param,
|
|
246
|
+
_request_timeout=_request_timeout
|
|
247
|
+
)
|
|
248
|
+
return response_data.response
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
def _order_complex_post_serialize(
|
|
252
|
+
self,
|
|
253
|
+
create_complex_order_model,
|
|
254
|
+
_request_auth,
|
|
255
|
+
_content_type,
|
|
256
|
+
_headers,
|
|
257
|
+
_host_index,
|
|
258
|
+
) -> RequestSerialized:
|
|
259
|
+
|
|
260
|
+
_host = None
|
|
261
|
+
|
|
262
|
+
_collection_formats: Dict[str, str] = {
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
_path_params: Dict[str, str] = {}
|
|
266
|
+
_query_params: List[Tuple[str, str]] = []
|
|
267
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
268
|
+
_form_params: List[Tuple[str, str]] = []
|
|
269
|
+
_files: Dict[
|
|
270
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
271
|
+
] = {}
|
|
272
|
+
_body_params: Optional[bytes] = None
|
|
273
|
+
|
|
274
|
+
# process the path parameters
|
|
275
|
+
# process the query parameters
|
|
276
|
+
# process the header parameters
|
|
277
|
+
# process the form parameters
|
|
278
|
+
# process the body parameter
|
|
279
|
+
if create_complex_order_model is not None:
|
|
280
|
+
_body_params = create_complex_order_model
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
# set the HTTP header `Accept`
|
|
284
|
+
if 'Accept' not in _header_params:
|
|
285
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
286
|
+
[
|
|
287
|
+
'text/plain',
|
|
288
|
+
'application/json',
|
|
289
|
+
'text/json'
|
|
290
|
+
]
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
# set the HTTP header `Content-Type`
|
|
294
|
+
if _content_type:
|
|
295
|
+
_header_params['Content-Type'] = _content_type
|
|
296
|
+
else:
|
|
297
|
+
_default_content_type = (
|
|
298
|
+
self.api_client.select_header_content_type(
|
|
299
|
+
[
|
|
300
|
+
'application/json',
|
|
301
|
+
'text/json',
|
|
302
|
+
'application/*+json'
|
|
303
|
+
]
|
|
304
|
+
)
|
|
305
|
+
)
|
|
306
|
+
if _default_content_type is not None:
|
|
307
|
+
_header_params['Content-Type'] = _default_content_type
|
|
308
|
+
|
|
309
|
+
# authentication setting
|
|
310
|
+
_auth_settings: List[str] = [
|
|
311
|
+
'OAuth2',
|
|
312
|
+
'OpenIdConnect',
|
|
313
|
+
'Bearer'
|
|
314
|
+
]
|
|
315
|
+
|
|
316
|
+
return self.api_client.param_serialize(
|
|
317
|
+
method='POST',
|
|
318
|
+
resource_path='/order/complex',
|
|
319
|
+
path_params=_path_params,
|
|
320
|
+
query_params=_query_params,
|
|
321
|
+
header_params=_header_params,
|
|
322
|
+
body=_body_params,
|
|
323
|
+
post_params=_form_params,
|
|
324
|
+
files=_files,
|
|
325
|
+
auth_settings=_auth_settings,
|
|
326
|
+
collection_formats=_collection_formats,
|
|
327
|
+
_host=_host,
|
|
328
|
+
_request_auth=_request_auth
|
|
329
|
+
)
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
@validate_call
|
|
335
|
+
def order_order_id_approve_post(
|
|
336
|
+
self,
|
|
337
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to approve")],
|
|
61
338
|
_request_timeout: Union[
|
|
62
339
|
None,
|
|
63
340
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -75,7 +352,7 @@ class OrderApi:
|
|
|
75
352
|
|
|
76
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.
|
|
77
354
|
|
|
78
|
-
:param order_id: The id of the order to approve
|
|
355
|
+
:param order_id: The id of the order to approve (required)
|
|
79
356
|
:type order_id: str
|
|
80
357
|
:param _request_timeout: timeout setting for this request. If one
|
|
81
358
|
number provided, it will be total request
|
|
@@ -99,7 +376,7 @@ class OrderApi:
|
|
|
99
376
|
:return: Returns the result object.
|
|
100
377
|
""" # noqa: E501
|
|
101
378
|
|
|
102
|
-
_param = self.
|
|
379
|
+
_param = self._order_order_id_approve_post_serialize(
|
|
103
380
|
order_id=order_id,
|
|
104
381
|
_request_auth=_request_auth,
|
|
105
382
|
_content_type=_content_type,
|
|
@@ -108,7 +385,7 @@ class OrderApi:
|
|
|
108
385
|
)
|
|
109
386
|
|
|
110
387
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
111
|
-
'
|
|
388
|
+
'204': None,
|
|
112
389
|
}
|
|
113
390
|
response_data = self.api_client.call_api(
|
|
114
391
|
*_param,
|
|
@@ -122,9 +399,9 @@ class OrderApi:
|
|
|
122
399
|
|
|
123
400
|
|
|
124
401
|
@validate_call
|
|
125
|
-
def
|
|
402
|
+
def order_order_id_approve_post_with_http_info(
|
|
126
403
|
self,
|
|
127
|
-
order_id: Annotated[
|
|
404
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to approve")],
|
|
128
405
|
_request_timeout: Union[
|
|
129
406
|
None,
|
|
130
407
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -142,7 +419,7 @@ class OrderApi:
|
|
|
142
419
|
|
|
143
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.
|
|
144
421
|
|
|
145
|
-
:param order_id: The id of the order to approve
|
|
422
|
+
:param order_id: The id of the order to approve (required)
|
|
146
423
|
:type order_id: str
|
|
147
424
|
:param _request_timeout: timeout setting for this request. If one
|
|
148
425
|
number provided, it will be total request
|
|
@@ -166,7 +443,7 @@ class OrderApi:
|
|
|
166
443
|
:return: Returns the result object.
|
|
167
444
|
""" # noqa: E501
|
|
168
445
|
|
|
169
|
-
_param = self.
|
|
446
|
+
_param = self._order_order_id_approve_post_serialize(
|
|
170
447
|
order_id=order_id,
|
|
171
448
|
_request_auth=_request_auth,
|
|
172
449
|
_content_type=_content_type,
|
|
@@ -175,7 +452,7 @@ class OrderApi:
|
|
|
175
452
|
)
|
|
176
453
|
|
|
177
454
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
178
|
-
'
|
|
455
|
+
'204': None,
|
|
179
456
|
}
|
|
180
457
|
response_data = self.api_client.call_api(
|
|
181
458
|
*_param,
|
|
@@ -189,9 +466,9 @@ class OrderApi:
|
|
|
189
466
|
|
|
190
467
|
|
|
191
468
|
@validate_call
|
|
192
|
-
def
|
|
469
|
+
def order_order_id_approve_post_without_preload_content(
|
|
193
470
|
self,
|
|
194
|
-
order_id: Annotated[
|
|
471
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to approve")],
|
|
195
472
|
_request_timeout: Union[
|
|
196
473
|
None,
|
|
197
474
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -209,7 +486,7 @@ class OrderApi:
|
|
|
209
486
|
|
|
210
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.
|
|
211
488
|
|
|
212
|
-
:param order_id: The id of the order to approve
|
|
489
|
+
:param order_id: The id of the order to approve (required)
|
|
213
490
|
:type order_id: str
|
|
214
491
|
:param _request_timeout: timeout setting for this request. If one
|
|
215
492
|
number provided, it will be total request
|
|
@@ -233,7 +510,7 @@ class OrderApi:
|
|
|
233
510
|
:return: Returns the result object.
|
|
234
511
|
""" # noqa: E501
|
|
235
512
|
|
|
236
|
-
_param = self.
|
|
513
|
+
_param = self._order_order_id_approve_post_serialize(
|
|
237
514
|
order_id=order_id,
|
|
238
515
|
_request_auth=_request_auth,
|
|
239
516
|
_content_type=_content_type,
|
|
@@ -242,7 +519,7 @@ class OrderApi:
|
|
|
242
519
|
)
|
|
243
520
|
|
|
244
521
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
245
|
-
'
|
|
522
|
+
'204': None,
|
|
246
523
|
}
|
|
247
524
|
response_data = self.api_client.call_api(
|
|
248
525
|
*_param,
|
|
@@ -251,7 +528,7 @@ class OrderApi:
|
|
|
251
528
|
return response_data.response
|
|
252
529
|
|
|
253
530
|
|
|
254
|
-
def
|
|
531
|
+
def _order_order_id_approve_post_serialize(
|
|
255
532
|
self,
|
|
256
533
|
order_id,
|
|
257
534
|
_request_auth,
|
|
@@ -275,11 +552,9 @@ class OrderApi:
|
|
|
275
552
|
_body_params: Optional[bytes] = None
|
|
276
553
|
|
|
277
554
|
# process the path parameters
|
|
278
|
-
# process the query parameters
|
|
279
555
|
if order_id is not None:
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
556
|
+
_path_params['orderId'] = order_id
|
|
557
|
+
# process the query parameters
|
|
283
558
|
# process the header parameters
|
|
284
559
|
# process the form parameters
|
|
285
560
|
# process the body parameter
|
|
@@ -289,13 +564,14 @@ class OrderApi:
|
|
|
289
564
|
|
|
290
565
|
# authentication setting
|
|
291
566
|
_auth_settings: List[str] = [
|
|
292
|
-
'
|
|
293
|
-
'
|
|
567
|
+
'OAuth2',
|
|
568
|
+
'OpenIdConnect',
|
|
569
|
+
'Bearer'
|
|
294
570
|
]
|
|
295
571
|
|
|
296
572
|
return self.api_client.param_serialize(
|
|
297
573
|
method='POST',
|
|
298
|
-
resource_path='/
|
|
574
|
+
resource_path='/order/{orderId}/approve',
|
|
299
575
|
path_params=_path_params,
|
|
300
576
|
query_params=_query_params,
|
|
301
577
|
header_params=_header_params,
|
|
@@ -312,9 +588,10 @@ class OrderApi:
|
|
|
312
588
|
|
|
313
589
|
|
|
314
590
|
@validate_call
|
|
315
|
-
def
|
|
591
|
+
def order_order_id_clone_post(
|
|
316
592
|
self,
|
|
317
|
-
|
|
593
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
594
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
318
595
|
_request_timeout: Union[
|
|
319
596
|
None,
|
|
320
597
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -332,7 +609,9 @@ class OrderApi:
|
|
|
332
609
|
|
|
333
610
|
In order to clone an order, the existing order must be marked as public.
|
|
334
611
|
|
|
335
|
-
:param
|
|
612
|
+
:param order_id: The id of the order to clone (required)
|
|
613
|
+
:type order_id: str
|
|
614
|
+
:param clone_order_model: The body content of the request (required)
|
|
336
615
|
:type clone_order_model: CloneOrderModel
|
|
337
616
|
:param _request_timeout: timeout setting for this request. If one
|
|
338
617
|
number provided, it will be total request
|
|
@@ -356,7 +635,8 @@ class OrderApi:
|
|
|
356
635
|
:return: Returns the result object.
|
|
357
636
|
""" # noqa: E501
|
|
358
637
|
|
|
359
|
-
_param = self.
|
|
638
|
+
_param = self._order_order_id_clone_post_serialize(
|
|
639
|
+
order_id=order_id,
|
|
360
640
|
clone_order_model=clone_order_model,
|
|
361
641
|
_request_auth=_request_auth,
|
|
362
642
|
_content_type=_content_type,
|
|
@@ -379,9 +659,10 @@ class OrderApi:
|
|
|
379
659
|
|
|
380
660
|
|
|
381
661
|
@validate_call
|
|
382
|
-
def
|
|
662
|
+
def order_order_id_clone_post_with_http_info(
|
|
383
663
|
self,
|
|
384
|
-
|
|
664
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
665
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
385
666
|
_request_timeout: Union[
|
|
386
667
|
None,
|
|
387
668
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -399,7 +680,9 @@ class OrderApi:
|
|
|
399
680
|
|
|
400
681
|
In order to clone an order, the existing order must be marked as public.
|
|
401
682
|
|
|
402
|
-
:param
|
|
683
|
+
:param order_id: The id of the order to clone (required)
|
|
684
|
+
:type order_id: str
|
|
685
|
+
:param clone_order_model: The body content of the request (required)
|
|
403
686
|
:type clone_order_model: CloneOrderModel
|
|
404
687
|
:param _request_timeout: timeout setting for this request. If one
|
|
405
688
|
number provided, it will be total request
|
|
@@ -423,7 +706,8 @@ class OrderApi:
|
|
|
423
706
|
:return: Returns the result object.
|
|
424
707
|
""" # noqa: E501
|
|
425
708
|
|
|
426
|
-
_param = self.
|
|
709
|
+
_param = self._order_order_id_clone_post_serialize(
|
|
710
|
+
order_id=order_id,
|
|
427
711
|
clone_order_model=clone_order_model,
|
|
428
712
|
_request_auth=_request_auth,
|
|
429
713
|
_content_type=_content_type,
|
|
@@ -446,9 +730,10 @@ class OrderApi:
|
|
|
446
730
|
|
|
447
731
|
|
|
448
732
|
@validate_call
|
|
449
|
-
def
|
|
733
|
+
def order_order_id_clone_post_without_preload_content(
|
|
450
734
|
self,
|
|
451
|
-
|
|
735
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to clone")],
|
|
736
|
+
clone_order_model: Annotated[CloneOrderModel, Field(description="The body content of the request")],
|
|
452
737
|
_request_timeout: Union[
|
|
453
738
|
None,
|
|
454
739
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -466,7 +751,9 @@ class OrderApi:
|
|
|
466
751
|
|
|
467
752
|
In order to clone an order, the existing order must be marked as public.
|
|
468
753
|
|
|
469
|
-
:param
|
|
754
|
+
:param order_id: The id of the order to clone (required)
|
|
755
|
+
:type order_id: str
|
|
756
|
+
:param clone_order_model: The body content of the request (required)
|
|
470
757
|
:type clone_order_model: CloneOrderModel
|
|
471
758
|
:param _request_timeout: timeout setting for this request. If one
|
|
472
759
|
number provided, it will be total request
|
|
@@ -490,7 +777,8 @@ class OrderApi:
|
|
|
490
777
|
:return: Returns the result object.
|
|
491
778
|
""" # noqa: E501
|
|
492
779
|
|
|
493
|
-
_param = self.
|
|
780
|
+
_param = self._order_order_id_clone_post_serialize(
|
|
781
|
+
order_id=order_id,
|
|
494
782
|
clone_order_model=clone_order_model,
|
|
495
783
|
_request_auth=_request_auth,
|
|
496
784
|
_content_type=_content_type,
|
|
@@ -508,8 +796,9 @@ class OrderApi:
|
|
|
508
796
|
return response_data.response
|
|
509
797
|
|
|
510
798
|
|
|
511
|
-
def
|
|
799
|
+
def _order_order_id_clone_post_serialize(
|
|
512
800
|
self,
|
|
801
|
+
order_id,
|
|
513
802
|
clone_order_model,
|
|
514
803
|
_request_auth,
|
|
515
804
|
_content_type,
|
|
@@ -532,6 +821,8 @@ class OrderApi:
|
|
|
532
821
|
_body_params: Optional[bytes] = None
|
|
533
822
|
|
|
534
823
|
# process the path parameters
|
|
824
|
+
if order_id is not None:
|
|
825
|
+
_path_params['orderId'] = order_id
|
|
535
826
|
# process the query parameters
|
|
536
827
|
# process the header parameters
|
|
537
828
|
# process the form parameters
|
|
@@ -568,13 +859,14 @@ class OrderApi:
|
|
|
568
859
|
|
|
569
860
|
# authentication setting
|
|
570
861
|
_auth_settings: List[str] = [
|
|
571
|
-
'
|
|
572
|
-
'
|
|
862
|
+
'OAuth2',
|
|
863
|
+
'OpenIdConnect',
|
|
864
|
+
'Bearer'
|
|
573
865
|
]
|
|
574
866
|
|
|
575
867
|
return self.api_client.param_serialize(
|
|
576
868
|
method='POST',
|
|
577
|
-
resource_path='/
|
|
869
|
+
resource_path='/order/{orderId}/clone',
|
|
578
870
|
path_params=_path_params,
|
|
579
871
|
query_params=_query_params,
|
|
580
872
|
header_params=_header_params,
|
|
@@ -591,9 +883,9 @@ class OrderApi:
|
|
|
591
883
|
|
|
592
884
|
|
|
593
885
|
@validate_call
|
|
594
|
-
def
|
|
886
|
+
def order_order_id_delete(
|
|
595
887
|
self,
|
|
596
|
-
|
|
888
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to delete")],
|
|
597
889
|
_request_timeout: Union[
|
|
598
890
|
None,
|
|
599
891
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -606,12 +898,12 @@ class OrderApi:
|
|
|
606
898
|
_content_type: Optional[StrictStr] = None,
|
|
607
899
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
608
900
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
609
|
-
) ->
|
|
610
|
-
"""
|
|
901
|
+
) -> None:
|
|
902
|
+
"""Deletes an order.
|
|
611
903
|
|
|
612
904
|
|
|
613
|
-
:param
|
|
614
|
-
:type
|
|
905
|
+
:param order_id: The id of the order to delete (required)
|
|
906
|
+
:type order_id: str
|
|
615
907
|
:param _request_timeout: timeout setting for this request. If one
|
|
616
908
|
number provided, it will be total request
|
|
617
909
|
timeout. It can also be a pair (tuple) of
|
|
@@ -634,8 +926,8 @@ class OrderApi:
|
|
|
634
926
|
:return: Returns the result object.
|
|
635
927
|
""" # noqa: E501
|
|
636
928
|
|
|
637
|
-
_param = self.
|
|
638
|
-
|
|
929
|
+
_param = self._order_order_id_delete_serialize(
|
|
930
|
+
order_id=order_id,
|
|
639
931
|
_request_auth=_request_auth,
|
|
640
932
|
_content_type=_content_type,
|
|
641
933
|
_headers=_headers,
|
|
@@ -643,7 +935,7 @@ class OrderApi:
|
|
|
643
935
|
)
|
|
644
936
|
|
|
645
937
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
646
|
-
'
|
|
938
|
+
'204': None,
|
|
647
939
|
}
|
|
648
940
|
response_data = self.api_client.call_api(
|
|
649
941
|
*_param,
|
|
@@ -657,9 +949,9 @@ class OrderApi:
|
|
|
657
949
|
|
|
658
950
|
|
|
659
951
|
@validate_call
|
|
660
|
-
def
|
|
952
|
+
def order_order_id_delete_with_http_info(
|
|
661
953
|
self,
|
|
662
|
-
|
|
954
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to delete")],
|
|
663
955
|
_request_timeout: Union[
|
|
664
956
|
None,
|
|
665
957
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -672,12 +964,12 @@ class OrderApi:
|
|
|
672
964
|
_content_type: Optional[StrictStr] = None,
|
|
673
965
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
674
966
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
675
|
-
) -> ApiResponse[
|
|
676
|
-
"""
|
|
967
|
+
) -> ApiResponse[None]:
|
|
968
|
+
"""Deletes an order.
|
|
677
969
|
|
|
678
970
|
|
|
679
|
-
:param
|
|
680
|
-
:type
|
|
971
|
+
:param order_id: The id of the order to delete (required)
|
|
972
|
+
:type order_id: str
|
|
681
973
|
:param _request_timeout: timeout setting for this request. If one
|
|
682
974
|
number provided, it will be total request
|
|
683
975
|
timeout. It can also be a pair (tuple) of
|
|
@@ -700,8 +992,8 @@ class OrderApi:
|
|
|
700
992
|
:return: Returns the result object.
|
|
701
993
|
""" # noqa: E501
|
|
702
994
|
|
|
703
|
-
_param = self.
|
|
704
|
-
|
|
995
|
+
_param = self._order_order_id_delete_serialize(
|
|
996
|
+
order_id=order_id,
|
|
705
997
|
_request_auth=_request_auth,
|
|
706
998
|
_content_type=_content_type,
|
|
707
999
|
_headers=_headers,
|
|
@@ -709,7 +1001,7 @@ class OrderApi:
|
|
|
709
1001
|
)
|
|
710
1002
|
|
|
711
1003
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
712
|
-
'
|
|
1004
|
+
'204': None,
|
|
713
1005
|
}
|
|
714
1006
|
response_data = self.api_client.call_api(
|
|
715
1007
|
*_param,
|
|
@@ -723,9 +1015,9 @@ class OrderApi:
|
|
|
723
1015
|
|
|
724
1016
|
|
|
725
1017
|
@validate_call
|
|
726
|
-
def
|
|
1018
|
+
def order_order_id_delete_without_preload_content(
|
|
727
1019
|
self,
|
|
728
|
-
|
|
1020
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to delete")],
|
|
729
1021
|
_request_timeout: Union[
|
|
730
1022
|
None,
|
|
731
1023
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -739,11 +1031,11 @@ class OrderApi:
|
|
|
739
1031
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
740
1032
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
741
1033
|
) -> RESTResponseType:
|
|
742
|
-
"""
|
|
1034
|
+
"""Deletes an order.
|
|
743
1035
|
|
|
744
1036
|
|
|
745
|
-
:param
|
|
746
|
-
:type
|
|
1037
|
+
:param order_id: The id of the order to delete (required)
|
|
1038
|
+
:type order_id: str
|
|
747
1039
|
:param _request_timeout: timeout setting for this request. If one
|
|
748
1040
|
number provided, it will be total request
|
|
749
1041
|
timeout. It can also be a pair (tuple) of
|
|
@@ -766,8 +1058,8 @@ class OrderApi:
|
|
|
766
1058
|
:return: Returns the result object.
|
|
767
1059
|
""" # noqa: E501
|
|
768
1060
|
|
|
769
|
-
_param = self.
|
|
770
|
-
|
|
1061
|
+
_param = self._order_order_id_delete_serialize(
|
|
1062
|
+
order_id=order_id,
|
|
771
1063
|
_request_auth=_request_auth,
|
|
772
1064
|
_content_type=_content_type,
|
|
773
1065
|
_headers=_headers,
|
|
@@ -775,7 +1067,7 @@ class OrderApi:
|
|
|
775
1067
|
)
|
|
776
1068
|
|
|
777
1069
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
778
|
-
'
|
|
1070
|
+
'204': None,
|
|
779
1071
|
}
|
|
780
1072
|
response_data = self.api_client.call_api(
|
|
781
1073
|
*_param,
|
|
@@ -784,9 +1076,9 @@ class OrderApi:
|
|
|
784
1076
|
return response_data.response
|
|
785
1077
|
|
|
786
1078
|
|
|
787
|
-
def
|
|
1079
|
+
def _order_order_id_delete_serialize(
|
|
788
1080
|
self,
|
|
789
|
-
|
|
1081
|
+
order_id,
|
|
790
1082
|
_request_auth,
|
|
791
1083
|
_content_type,
|
|
792
1084
|
_headers,
|
|
@@ -808,49 +1100,26 @@ class OrderApi:
|
|
|
808
1100
|
_body_params: Optional[bytes] = None
|
|
809
1101
|
|
|
810
1102
|
# process the path parameters
|
|
1103
|
+
if order_id is not None:
|
|
1104
|
+
_path_params['orderId'] = order_id
|
|
811
1105
|
# process the query parameters
|
|
812
1106
|
# process the header parameters
|
|
813
1107
|
# process the form parameters
|
|
814
1108
|
# process the body parameter
|
|
815
|
-
if create_complex_order_model is not None:
|
|
816
|
-
_body_params = create_complex_order_model
|
|
817
1109
|
|
|
818
1110
|
|
|
819
|
-
# set the HTTP header `Accept`
|
|
820
|
-
if 'Accept' not in _header_params:
|
|
821
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
822
|
-
[
|
|
823
|
-
'text/plain',
|
|
824
|
-
'application/json',
|
|
825
|
-
'text/json'
|
|
826
|
-
]
|
|
827
|
-
)
|
|
828
1111
|
|
|
829
|
-
# set the HTTP header `Content-Type`
|
|
830
|
-
if _content_type:
|
|
831
|
-
_header_params['Content-Type'] = _content_type
|
|
832
|
-
else:
|
|
833
|
-
_default_content_type = (
|
|
834
|
-
self.api_client.select_header_content_type(
|
|
835
|
-
[
|
|
836
|
-
'application/json',
|
|
837
|
-
'text/json',
|
|
838
|
-
'application/*+json'
|
|
839
|
-
]
|
|
840
|
-
)
|
|
841
|
-
)
|
|
842
|
-
if _default_content_type is not None:
|
|
843
|
-
_header_params['Content-Type'] = _default_content_type
|
|
844
1112
|
|
|
845
1113
|
# authentication setting
|
|
846
1114
|
_auth_settings: List[str] = [
|
|
847
|
-
'
|
|
848
|
-
'
|
|
1115
|
+
'OAuth2',
|
|
1116
|
+
'OpenIdConnect',
|
|
1117
|
+
'Bearer'
|
|
849
1118
|
]
|
|
850
1119
|
|
|
851
1120
|
return self.api_client.param_serialize(
|
|
852
|
-
method='
|
|
853
|
-
resource_path='/
|
|
1121
|
+
method='DELETE',
|
|
1122
|
+
resource_path='/order/{orderId}',
|
|
854
1123
|
path_params=_path_params,
|
|
855
1124
|
query_params=_query_params,
|
|
856
1125
|
header_params=_header_params,
|
|
@@ -867,9 +1136,10 @@ class OrderApi:
|
|
|
867
1136
|
|
|
868
1137
|
|
|
869
1138
|
@validate_call
|
|
870
|
-
def
|
|
1139
|
+
def order_order_id_demo_patch(
|
|
871
1140
|
self,
|
|
872
|
-
|
|
1141
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
1142
|
+
is_demo: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as a demo")] = None,
|
|
873
1143
|
_request_timeout: Union[
|
|
874
1144
|
None,
|
|
875
1145
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -882,12 +1152,14 @@ class OrderApi:
|
|
|
882
1152
|
_content_type: Optional[StrictStr] = None,
|
|
883
1153
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
884
1154
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
885
|
-
) ->
|
|
886
|
-
"""
|
|
1155
|
+
) -> None:
|
|
1156
|
+
"""Updates whether an order is a demo or not.
|
|
887
1157
|
|
|
888
1158
|
|
|
889
|
-
:param
|
|
890
|
-
:type
|
|
1159
|
+
:param order_id: The id of the order to update (required)
|
|
1160
|
+
:type order_id: str
|
|
1161
|
+
:param is_demo: Whether to mark or unmark the order as a demo
|
|
1162
|
+
:type is_demo: bool
|
|
891
1163
|
:param _request_timeout: timeout setting for this request. If one
|
|
892
1164
|
number provided, it will be total request
|
|
893
1165
|
timeout. It can also be a pair (tuple) of
|
|
@@ -910,8 +1182,9 @@ class OrderApi:
|
|
|
910
1182
|
:return: Returns the result object.
|
|
911
1183
|
""" # noqa: E501
|
|
912
1184
|
|
|
913
|
-
_param = self.
|
|
914
|
-
|
|
1185
|
+
_param = self._order_order_id_demo_patch_serialize(
|
|
1186
|
+
order_id=order_id,
|
|
1187
|
+
is_demo=is_demo,
|
|
915
1188
|
_request_auth=_request_auth,
|
|
916
1189
|
_content_type=_content_type,
|
|
917
1190
|
_headers=_headers,
|
|
@@ -919,7 +1192,7 @@ class OrderApi:
|
|
|
919
1192
|
)
|
|
920
1193
|
|
|
921
1194
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
922
|
-
'200':
|
|
1195
|
+
'200': None,
|
|
923
1196
|
}
|
|
924
1197
|
response_data = self.api_client.call_api(
|
|
925
1198
|
*_param,
|
|
@@ -933,9 +1206,10 @@ class OrderApi:
|
|
|
933
1206
|
|
|
934
1207
|
|
|
935
1208
|
@validate_call
|
|
936
|
-
def
|
|
1209
|
+
def order_order_id_demo_patch_with_http_info(
|
|
937
1210
|
self,
|
|
938
|
-
|
|
1211
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
1212
|
+
is_demo: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as a demo")] = None,
|
|
939
1213
|
_request_timeout: Union[
|
|
940
1214
|
None,
|
|
941
1215
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -948,12 +1222,14 @@ class OrderApi:
|
|
|
948
1222
|
_content_type: Optional[StrictStr] = None,
|
|
949
1223
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
950
1224
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
951
|
-
) -> ApiResponse[
|
|
952
|
-
"""
|
|
1225
|
+
) -> ApiResponse[None]:
|
|
1226
|
+
"""Updates whether an order is a demo or not.
|
|
953
1227
|
|
|
954
1228
|
|
|
955
|
-
:param
|
|
956
|
-
:type
|
|
1229
|
+
:param order_id: The id of the order to update (required)
|
|
1230
|
+
:type order_id: str
|
|
1231
|
+
:param is_demo: Whether to mark or unmark the order as a demo
|
|
1232
|
+
:type is_demo: bool
|
|
957
1233
|
:param _request_timeout: timeout setting for this request. If one
|
|
958
1234
|
number provided, it will be total request
|
|
959
1235
|
timeout. It can also be a pair (tuple) of
|
|
@@ -976,8 +1252,9 @@ class OrderApi:
|
|
|
976
1252
|
:return: Returns the result object.
|
|
977
1253
|
""" # noqa: E501
|
|
978
1254
|
|
|
979
|
-
_param = self.
|
|
980
|
-
|
|
1255
|
+
_param = self._order_order_id_demo_patch_serialize(
|
|
1256
|
+
order_id=order_id,
|
|
1257
|
+
is_demo=is_demo,
|
|
981
1258
|
_request_auth=_request_auth,
|
|
982
1259
|
_content_type=_content_type,
|
|
983
1260
|
_headers=_headers,
|
|
@@ -985,7 +1262,7 @@ class OrderApi:
|
|
|
985
1262
|
)
|
|
986
1263
|
|
|
987
1264
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
988
|
-
'200':
|
|
1265
|
+
'200': None,
|
|
989
1266
|
}
|
|
990
1267
|
response_data = self.api_client.call_api(
|
|
991
1268
|
*_param,
|
|
@@ -999,9 +1276,10 @@ class OrderApi:
|
|
|
999
1276
|
|
|
1000
1277
|
|
|
1001
1278
|
@validate_call
|
|
1002
|
-
def
|
|
1279
|
+
def order_order_id_demo_patch_without_preload_content(
|
|
1003
1280
|
self,
|
|
1004
|
-
|
|
1281
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
1282
|
+
is_demo: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as a demo")] = None,
|
|
1005
1283
|
_request_timeout: Union[
|
|
1006
1284
|
None,
|
|
1007
1285
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1015,11 +1293,13 @@ class OrderApi:
|
|
|
1015
1293
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1016
1294
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1017
1295
|
) -> RESTResponseType:
|
|
1018
|
-
"""
|
|
1296
|
+
"""Updates whether an order is a demo or not.
|
|
1019
1297
|
|
|
1020
1298
|
|
|
1021
|
-
:param
|
|
1022
|
-
:type
|
|
1299
|
+
:param order_id: The id of the order to update (required)
|
|
1300
|
+
:type order_id: str
|
|
1301
|
+
:param is_demo: Whether to mark or unmark the order as a demo
|
|
1302
|
+
:type is_demo: bool
|
|
1023
1303
|
:param _request_timeout: timeout setting for this request. If one
|
|
1024
1304
|
number provided, it will be total request
|
|
1025
1305
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1042,8 +1322,9 @@ class OrderApi:
|
|
|
1042
1322
|
:return: Returns the result object.
|
|
1043
1323
|
""" # noqa: E501
|
|
1044
1324
|
|
|
1045
|
-
_param = self.
|
|
1046
|
-
|
|
1325
|
+
_param = self._order_order_id_demo_patch_serialize(
|
|
1326
|
+
order_id=order_id,
|
|
1327
|
+
is_demo=is_demo,
|
|
1047
1328
|
_request_auth=_request_auth,
|
|
1048
1329
|
_content_type=_content_type,
|
|
1049
1330
|
_headers=_headers,
|
|
@@ -1051,7 +1332,7 @@ class OrderApi:
|
|
|
1051
1332
|
)
|
|
1052
1333
|
|
|
1053
1334
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1054
|
-
'200':
|
|
1335
|
+
'200': None,
|
|
1055
1336
|
}
|
|
1056
1337
|
response_data = self.api_client.call_api(
|
|
1057
1338
|
*_param,
|
|
@@ -1060,9 +1341,10 @@ class OrderApi:
|
|
|
1060
1341
|
return response_data.response
|
|
1061
1342
|
|
|
1062
1343
|
|
|
1063
|
-
def
|
|
1344
|
+
def _order_order_id_demo_patch_serialize(
|
|
1064
1345
|
self,
|
|
1065
|
-
|
|
1346
|
+
order_id,
|
|
1347
|
+
is_demo,
|
|
1066
1348
|
_request_auth,
|
|
1067
1349
|
_content_type,
|
|
1068
1350
|
_headers,
|
|
@@ -1084,49 +1366,30 @@ class OrderApi:
|
|
|
1084
1366
|
_body_params: Optional[bytes] = None
|
|
1085
1367
|
|
|
1086
1368
|
# process the path parameters
|
|
1369
|
+
if order_id is not None:
|
|
1370
|
+
_path_params['orderId'] = order_id
|
|
1087
1371
|
# process the query parameters
|
|
1372
|
+
if is_demo is not None:
|
|
1373
|
+
|
|
1374
|
+
_query_params.append(('isDemo', is_demo))
|
|
1375
|
+
|
|
1088
1376
|
# process the header parameters
|
|
1089
1377
|
# process the form parameters
|
|
1090
1378
|
# process the body parameter
|
|
1091
|
-
if create_order_model is not None:
|
|
1092
|
-
_body_params = create_order_model
|
|
1093
1379
|
|
|
1094
1380
|
|
|
1095
|
-
# set the HTTP header `Accept`
|
|
1096
|
-
if 'Accept' not in _header_params:
|
|
1097
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1098
|
-
[
|
|
1099
|
-
'text/plain',
|
|
1100
|
-
'application/json',
|
|
1101
|
-
'text/json'
|
|
1102
|
-
]
|
|
1103
|
-
)
|
|
1104
1381
|
|
|
1105
|
-
# set the HTTP header `Content-Type`
|
|
1106
|
-
if _content_type:
|
|
1107
|
-
_header_params['Content-Type'] = _content_type
|
|
1108
|
-
else:
|
|
1109
|
-
_default_content_type = (
|
|
1110
|
-
self.api_client.select_header_content_type(
|
|
1111
|
-
[
|
|
1112
|
-
'application/json',
|
|
1113
|
-
'text/json',
|
|
1114
|
-
'application/*+json'
|
|
1115
|
-
]
|
|
1116
|
-
)
|
|
1117
|
-
)
|
|
1118
|
-
if _default_content_type is not None:
|
|
1119
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1120
1382
|
|
|
1121
1383
|
# authentication setting
|
|
1122
1384
|
_auth_settings: List[str] = [
|
|
1123
|
-
'
|
|
1124
|
-
'
|
|
1385
|
+
'OAuth2',
|
|
1386
|
+
'OpenIdConnect',
|
|
1387
|
+
'Bearer'
|
|
1125
1388
|
]
|
|
1126
1389
|
|
|
1127
1390
|
return self.api_client.param_serialize(
|
|
1128
|
-
method='
|
|
1129
|
-
resource_path='/
|
|
1391
|
+
method='PATCH',
|
|
1392
|
+
resource_path='/order/{orderId}/demo',
|
|
1130
1393
|
path_params=_path_params,
|
|
1131
1394
|
query_params=_query_params,
|
|
1132
1395
|
header_params=_header_params,
|
|
@@ -1143,9 +1406,9 @@ class OrderApi:
|
|
|
1143
1406
|
|
|
1144
1407
|
|
|
1145
1408
|
@validate_call
|
|
1146
|
-
def
|
|
1409
|
+
def order_order_id_download_results_get(
|
|
1147
1410
|
self,
|
|
1148
|
-
|
|
1411
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1149
1412
|
_request_timeout: Union[
|
|
1150
1413
|
None,
|
|
1151
1414
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1158,12 +1421,13 @@ class OrderApi:
|
|
|
1158
1421
|
_content_type: Optional[StrictStr] = None,
|
|
1159
1422
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1160
1423
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1161
|
-
) ->
|
|
1162
|
-
"""
|
|
1424
|
+
) -> bytearray:
|
|
1425
|
+
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1163
1426
|
|
|
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.
|
|
1164
1428
|
|
|
1165
|
-
:param
|
|
1166
|
-
:type
|
|
1429
|
+
:param order_id: The id of the order (required)
|
|
1430
|
+
:type order_id: str
|
|
1167
1431
|
:param _request_timeout: timeout setting for this request. If one
|
|
1168
1432
|
number provided, it will be total request
|
|
1169
1433
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1186,8 +1450,8 @@ class OrderApi:
|
|
|
1186
1450
|
:return: Returns the result object.
|
|
1187
1451
|
""" # noqa: E501
|
|
1188
1452
|
|
|
1189
|
-
_param = self.
|
|
1190
|
-
|
|
1453
|
+
_param = self._order_order_id_download_results_get_serialize(
|
|
1454
|
+
order_id=order_id,
|
|
1191
1455
|
_request_auth=_request_auth,
|
|
1192
1456
|
_content_type=_content_type,
|
|
1193
1457
|
_headers=_headers,
|
|
@@ -1195,7 +1459,7 @@ class OrderApi:
|
|
|
1195
1459
|
)
|
|
1196
1460
|
|
|
1197
1461
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1198
|
-
'200':
|
|
1462
|
+
'200': "bytearray",
|
|
1199
1463
|
}
|
|
1200
1464
|
response_data = self.api_client.call_api(
|
|
1201
1465
|
*_param,
|
|
@@ -1209,9 +1473,9 @@ class OrderApi:
|
|
|
1209
1473
|
|
|
1210
1474
|
|
|
1211
1475
|
@validate_call
|
|
1212
|
-
def
|
|
1476
|
+
def order_order_id_download_results_get_with_http_info(
|
|
1213
1477
|
self,
|
|
1214
|
-
|
|
1478
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1215
1479
|
_request_timeout: Union[
|
|
1216
1480
|
None,
|
|
1217
1481
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1224,12 +1488,13 @@ class OrderApi:
|
|
|
1224
1488
|
_content_type: Optional[StrictStr] = None,
|
|
1225
1489
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1226
1490
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1227
|
-
) -> ApiResponse[
|
|
1228
|
-
"""
|
|
1491
|
+
) -> ApiResponse[bytearray]:
|
|
1492
|
+
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1229
1493
|
|
|
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.
|
|
1230
1495
|
|
|
1231
|
-
:param
|
|
1232
|
-
:type
|
|
1496
|
+
:param order_id: The id of the order (required)
|
|
1497
|
+
:type order_id: str
|
|
1233
1498
|
:param _request_timeout: timeout setting for this request. If one
|
|
1234
1499
|
number provided, it will be total request
|
|
1235
1500
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1252,8 +1517,8 @@ class OrderApi:
|
|
|
1252
1517
|
:return: Returns the result object.
|
|
1253
1518
|
""" # noqa: E501
|
|
1254
1519
|
|
|
1255
|
-
_param = self.
|
|
1256
|
-
|
|
1520
|
+
_param = self._order_order_id_download_results_get_serialize(
|
|
1521
|
+
order_id=order_id,
|
|
1257
1522
|
_request_auth=_request_auth,
|
|
1258
1523
|
_content_type=_content_type,
|
|
1259
1524
|
_headers=_headers,
|
|
@@ -1261,7 +1526,7 @@ class OrderApi:
|
|
|
1261
1526
|
)
|
|
1262
1527
|
|
|
1263
1528
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1264
|
-
'200':
|
|
1529
|
+
'200': "bytearray",
|
|
1265
1530
|
}
|
|
1266
1531
|
response_data = self.api_client.call_api(
|
|
1267
1532
|
*_param,
|
|
@@ -1275,9 +1540,9 @@ class OrderApi:
|
|
|
1275
1540
|
|
|
1276
1541
|
|
|
1277
1542
|
@validate_call
|
|
1278
|
-
def
|
|
1543
|
+
def order_order_id_download_results_get_without_preload_content(
|
|
1279
1544
|
self,
|
|
1280
|
-
|
|
1545
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1281
1546
|
_request_timeout: Union[
|
|
1282
1547
|
None,
|
|
1283
1548
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1291,11 +1556,12 @@ class OrderApi:
|
|
|
1291
1556
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1292
1557
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1293
1558
|
) -> RESTResponseType:
|
|
1294
|
-
"""
|
|
1559
|
+
"""Aggregates the results of an order and returns it as a file attachment.
|
|
1295
1560
|
|
|
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.
|
|
1296
1562
|
|
|
1297
|
-
:param
|
|
1298
|
-
:type
|
|
1563
|
+
:param order_id: The id of the order (required)
|
|
1564
|
+
:type order_id: str
|
|
1299
1565
|
:param _request_timeout: timeout setting for this request. If one
|
|
1300
1566
|
number provided, it will be total request
|
|
1301
1567
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1318,8 +1584,8 @@ class OrderApi:
|
|
|
1318
1584
|
:return: Returns the result object.
|
|
1319
1585
|
""" # noqa: E501
|
|
1320
1586
|
|
|
1321
|
-
_param = self.
|
|
1322
|
-
|
|
1587
|
+
_param = self._order_order_id_download_results_get_serialize(
|
|
1588
|
+
order_id=order_id,
|
|
1323
1589
|
_request_auth=_request_auth,
|
|
1324
1590
|
_content_type=_content_type,
|
|
1325
1591
|
_headers=_headers,
|
|
@@ -1327,7 +1593,7 @@ class OrderApi:
|
|
|
1327
1593
|
)
|
|
1328
1594
|
|
|
1329
1595
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1330
|
-
'200':
|
|
1596
|
+
'200': "bytearray",
|
|
1331
1597
|
}
|
|
1332
1598
|
response_data = self.api_client.call_api(
|
|
1333
1599
|
*_param,
|
|
@@ -1336,9 +1602,9 @@ class OrderApi:
|
|
|
1336
1602
|
return response_data.response
|
|
1337
1603
|
|
|
1338
1604
|
|
|
1339
|
-
def
|
|
1605
|
+
def _order_order_id_download_results_get_serialize(
|
|
1340
1606
|
self,
|
|
1341
|
-
|
|
1607
|
+
order_id,
|
|
1342
1608
|
_request_auth,
|
|
1343
1609
|
_content_type,
|
|
1344
1610
|
_headers,
|
|
@@ -1360,40 +1626,35 @@ class OrderApi:
|
|
|
1360
1626
|
_body_params: Optional[bytes] = None
|
|
1361
1627
|
|
|
1362
1628
|
# process the path parameters
|
|
1629
|
+
if order_id is not None:
|
|
1630
|
+
_path_params['orderId'] = order_id
|
|
1363
1631
|
# process the query parameters
|
|
1364
1632
|
# process the header parameters
|
|
1365
1633
|
# process the form parameters
|
|
1366
1634
|
# process the body parameter
|
|
1367
|
-
if create_unsupported_order_model is not None:
|
|
1368
|
-
_body_params = create_unsupported_order_model
|
|
1369
|
-
|
|
1370
1635
|
|
|
1371
1636
|
|
|
1372
|
-
# set the HTTP header `
|
|
1373
|
-
if
|
|
1374
|
-
_header_params['
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
'text/json',
|
|
1381
|
-
'application/*+json'
|
|
1382
|
-
]
|
|
1383
|
-
)
|
|
1637
|
+
# set the HTTP header `Accept`
|
|
1638
|
+
if 'Accept' not in _header_params:
|
|
1639
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1640
|
+
[
|
|
1641
|
+
'text/plain',
|
|
1642
|
+
'application/json',
|
|
1643
|
+
'text/json'
|
|
1644
|
+
]
|
|
1384
1645
|
)
|
|
1385
|
-
|
|
1386
|
-
_header_params['Content-Type'] = _default_content_type
|
|
1646
|
+
|
|
1387
1647
|
|
|
1388
1648
|
# authentication setting
|
|
1389
1649
|
_auth_settings: List[str] = [
|
|
1390
|
-
'
|
|
1391
|
-
'
|
|
1650
|
+
'OAuth2',
|
|
1651
|
+
'OpenIdConnect',
|
|
1652
|
+
'Bearer'
|
|
1392
1653
|
]
|
|
1393
1654
|
|
|
1394
1655
|
return self.api_client.param_serialize(
|
|
1395
|
-
method='
|
|
1396
|
-
resource_path='/
|
|
1656
|
+
method='GET',
|
|
1657
|
+
resource_path='/order/{orderId}/download-results',
|
|
1397
1658
|
path_params=_path_params,
|
|
1398
1659
|
query_params=_query_params,
|
|
1399
1660
|
header_params=_header_params,
|
|
@@ -1410,9 +1671,9 @@ class OrderApi:
|
|
|
1410
1671
|
|
|
1411
1672
|
|
|
1412
1673
|
@validate_call
|
|
1413
|
-
def
|
|
1674
|
+
def order_order_id_get(
|
|
1414
1675
|
self,
|
|
1415
|
-
order_id: Annotated[
|
|
1676
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1416
1677
|
_request_timeout: Union[
|
|
1417
1678
|
None,
|
|
1418
1679
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1425,11 +1686,11 @@ class OrderApi:
|
|
|
1425
1686
|
_content_type: Optional[StrictStr] = None,
|
|
1426
1687
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1427
1688
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1428
|
-
) ->
|
|
1429
|
-
"""
|
|
1689
|
+
) -> GetOrderByIdResult:
|
|
1690
|
+
"""Retrieves an order by its id.
|
|
1430
1691
|
|
|
1431
1692
|
|
|
1432
|
-
:param order_id: The id of the order
|
|
1693
|
+
:param order_id: The id of the order (required)
|
|
1433
1694
|
:type order_id: str
|
|
1434
1695
|
:param _request_timeout: timeout setting for this request. If one
|
|
1435
1696
|
number provided, it will be total request
|
|
@@ -1453,7 +1714,7 @@ class OrderApi:
|
|
|
1453
1714
|
:return: Returns the result object.
|
|
1454
1715
|
""" # noqa: E501
|
|
1455
1716
|
|
|
1456
|
-
_param = self.
|
|
1717
|
+
_param = self._order_order_id_get_serialize(
|
|
1457
1718
|
order_id=order_id,
|
|
1458
1719
|
_request_auth=_request_auth,
|
|
1459
1720
|
_content_type=_content_type,
|
|
@@ -1462,7 +1723,7 @@ class OrderApi:
|
|
|
1462
1723
|
)
|
|
1463
1724
|
|
|
1464
1725
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1465
|
-
'200':
|
|
1726
|
+
'200': "GetOrderByIdResult",
|
|
1466
1727
|
}
|
|
1467
1728
|
response_data = self.api_client.call_api(
|
|
1468
1729
|
*_param,
|
|
@@ -1476,9 +1737,9 @@ class OrderApi:
|
|
|
1476
1737
|
|
|
1477
1738
|
|
|
1478
1739
|
@validate_call
|
|
1479
|
-
def
|
|
1740
|
+
def order_order_id_get_with_http_info(
|
|
1480
1741
|
self,
|
|
1481
|
-
order_id: Annotated[
|
|
1742
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1482
1743
|
_request_timeout: Union[
|
|
1483
1744
|
None,
|
|
1484
1745
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1491,11 +1752,11 @@ class OrderApi:
|
|
|
1491
1752
|
_content_type: Optional[StrictStr] = None,
|
|
1492
1753
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1493
1754
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1494
|
-
) -> ApiResponse[
|
|
1495
|
-
"""
|
|
1755
|
+
) -> ApiResponse[GetOrderByIdResult]:
|
|
1756
|
+
"""Retrieves an order by its id.
|
|
1496
1757
|
|
|
1497
1758
|
|
|
1498
|
-
:param order_id: The id of the order
|
|
1759
|
+
:param order_id: The id of the order (required)
|
|
1499
1760
|
:type order_id: str
|
|
1500
1761
|
:param _request_timeout: timeout setting for this request. If one
|
|
1501
1762
|
number provided, it will be total request
|
|
@@ -1519,7 +1780,7 @@ class OrderApi:
|
|
|
1519
1780
|
:return: Returns the result object.
|
|
1520
1781
|
""" # noqa: E501
|
|
1521
1782
|
|
|
1522
|
-
_param = self.
|
|
1783
|
+
_param = self._order_order_id_get_serialize(
|
|
1523
1784
|
order_id=order_id,
|
|
1524
1785
|
_request_auth=_request_auth,
|
|
1525
1786
|
_content_type=_content_type,
|
|
@@ -1528,7 +1789,7 @@ class OrderApi:
|
|
|
1528
1789
|
)
|
|
1529
1790
|
|
|
1530
1791
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1531
|
-
'200':
|
|
1792
|
+
'200': "GetOrderByIdResult",
|
|
1532
1793
|
}
|
|
1533
1794
|
response_data = self.api_client.call_api(
|
|
1534
1795
|
*_param,
|
|
@@ -1542,9 +1803,9 @@ class OrderApi:
|
|
|
1542
1803
|
|
|
1543
1804
|
|
|
1544
1805
|
@validate_call
|
|
1545
|
-
def
|
|
1806
|
+
def order_order_id_get_without_preload_content(
|
|
1546
1807
|
self,
|
|
1547
|
-
order_id: Annotated[
|
|
1808
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
1548
1809
|
_request_timeout: Union[
|
|
1549
1810
|
None,
|
|
1550
1811
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1558,10 +1819,10 @@ class OrderApi:
|
|
|
1558
1819
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1559
1820
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1560
1821
|
) -> RESTResponseType:
|
|
1561
|
-
"""
|
|
1822
|
+
"""Retrieves an order by its id.
|
|
1562
1823
|
|
|
1563
1824
|
|
|
1564
|
-
:param order_id: The id of the order
|
|
1825
|
+
:param order_id: The id of the order (required)
|
|
1565
1826
|
:type order_id: str
|
|
1566
1827
|
:param _request_timeout: timeout setting for this request. If one
|
|
1567
1828
|
number provided, it will be total request
|
|
@@ -1585,7 +1846,7 @@ class OrderApi:
|
|
|
1585
1846
|
:return: Returns the result object.
|
|
1586
1847
|
""" # noqa: E501
|
|
1587
1848
|
|
|
1588
|
-
_param = self.
|
|
1849
|
+
_param = self._order_order_id_get_serialize(
|
|
1589
1850
|
order_id=order_id,
|
|
1590
1851
|
_request_auth=_request_auth,
|
|
1591
1852
|
_content_type=_content_type,
|
|
@@ -1594,7 +1855,7 @@ class OrderApi:
|
|
|
1594
1855
|
)
|
|
1595
1856
|
|
|
1596
1857
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1597
|
-
'200':
|
|
1858
|
+
'200': "GetOrderByIdResult",
|
|
1598
1859
|
}
|
|
1599
1860
|
response_data = self.api_client.call_api(
|
|
1600
1861
|
*_param,
|
|
@@ -1603,7 +1864,7 @@ class OrderApi:
|
|
|
1603
1864
|
return response_data.response
|
|
1604
1865
|
|
|
1605
1866
|
|
|
1606
|
-
def
|
|
1867
|
+
def _order_order_id_get_serialize(
|
|
1607
1868
|
self,
|
|
1608
1869
|
order_id,
|
|
1609
1870
|
_request_auth,
|
|
@@ -1627,27 +1888,35 @@ class OrderApi:
|
|
|
1627
1888
|
_body_params: Optional[bytes] = None
|
|
1628
1889
|
|
|
1629
1890
|
# process the path parameters
|
|
1630
|
-
# process the query parameters
|
|
1631
1891
|
if order_id is not None:
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
|
|
1892
|
+
_path_params['orderId'] = order_id
|
|
1893
|
+
# process the query parameters
|
|
1635
1894
|
# process the header parameters
|
|
1636
1895
|
# process the form parameters
|
|
1637
1896
|
# process the body parameter
|
|
1638
1897
|
|
|
1639
1898
|
|
|
1899
|
+
# set the HTTP header `Accept`
|
|
1900
|
+
if 'Accept' not in _header_params:
|
|
1901
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1902
|
+
[
|
|
1903
|
+
'text/plain',
|
|
1904
|
+
'application/json',
|
|
1905
|
+
'text/json'
|
|
1906
|
+
]
|
|
1907
|
+
)
|
|
1640
1908
|
|
|
1641
1909
|
|
|
1642
1910
|
# authentication setting
|
|
1643
1911
|
_auth_settings: List[str] = [
|
|
1644
|
-
'
|
|
1645
|
-
'
|
|
1912
|
+
'OAuth2',
|
|
1913
|
+
'OpenIdConnect',
|
|
1914
|
+
'Bearer'
|
|
1646
1915
|
]
|
|
1647
1916
|
|
|
1648
1917
|
return self.api_client.param_serialize(
|
|
1649
|
-
method='
|
|
1650
|
-
resource_path='/
|
|
1918
|
+
method='GET',
|
|
1919
|
+
resource_path='/order/{orderId}',
|
|
1651
1920
|
path_params=_path_params,
|
|
1652
1921
|
query_params=_query_params,
|
|
1653
1922
|
header_params=_header_params,
|
|
@@ -1664,9 +1933,10 @@ class OrderApi:
|
|
|
1664
1933
|
|
|
1665
1934
|
|
|
1666
1935
|
@validate_call
|
|
1667
|
-
def
|
|
1936
|
+
def order_order_id_name_patch(
|
|
1668
1937
|
self,
|
|
1669
|
-
|
|
1938
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
1939
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
1670
1940
|
_request_timeout: Union[
|
|
1671
1941
|
None,
|
|
1672
1942
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1680,11 +1950,13 @@ class OrderApi:
|
|
|
1680
1950
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1681
1951
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1682
1952
|
) -> None:
|
|
1683
|
-
"""
|
|
1953
|
+
"""Updates the name of an order.
|
|
1684
1954
|
|
|
1685
1955
|
|
|
1686
|
-
:param
|
|
1687
|
-
:type
|
|
1956
|
+
:param order_id: The id of the order to update (required)
|
|
1957
|
+
:type order_id: str
|
|
1958
|
+
:param update_order_name_model: The body content of the request (required)
|
|
1959
|
+
:type update_order_name_model: UpdateOrderNameModel
|
|
1688
1960
|
:param _request_timeout: timeout setting for this request. If one
|
|
1689
1961
|
number provided, it will be total request
|
|
1690
1962
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1707,8 +1979,9 @@ class OrderApi:
|
|
|
1707
1979
|
:return: Returns the result object.
|
|
1708
1980
|
""" # noqa: E501
|
|
1709
1981
|
|
|
1710
|
-
_param = self.
|
|
1711
|
-
|
|
1982
|
+
_param = self._order_order_id_name_patch_serialize(
|
|
1983
|
+
order_id=order_id,
|
|
1984
|
+
update_order_name_model=update_order_name_model,
|
|
1712
1985
|
_request_auth=_request_auth,
|
|
1713
1986
|
_content_type=_content_type,
|
|
1714
1987
|
_headers=_headers,
|
|
@@ -1716,7 +1989,7 @@ class OrderApi:
|
|
|
1716
1989
|
)
|
|
1717
1990
|
|
|
1718
1991
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1719
|
-
'
|
|
1992
|
+
'204': None,
|
|
1720
1993
|
}
|
|
1721
1994
|
response_data = self.api_client.call_api(
|
|
1722
1995
|
*_param,
|
|
@@ -1730,9 +2003,10 @@ class OrderApi:
|
|
|
1730
2003
|
|
|
1731
2004
|
|
|
1732
2005
|
@validate_call
|
|
1733
|
-
def
|
|
2006
|
+
def order_order_id_name_patch_with_http_info(
|
|
1734
2007
|
self,
|
|
1735
|
-
|
|
2008
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
2009
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
1736
2010
|
_request_timeout: Union[
|
|
1737
2011
|
None,
|
|
1738
2012
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1746,11 +2020,13 @@ class OrderApi:
|
|
|
1746
2020
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1747
2021
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1748
2022
|
) -> ApiResponse[None]:
|
|
1749
|
-
"""
|
|
2023
|
+
"""Updates the name of an order.
|
|
1750
2024
|
|
|
1751
2025
|
|
|
1752
|
-
:param
|
|
1753
|
-
:type
|
|
2026
|
+
:param order_id: The id of the order to update (required)
|
|
2027
|
+
:type order_id: str
|
|
2028
|
+
:param update_order_name_model: The body content of the request (required)
|
|
2029
|
+
:type update_order_name_model: UpdateOrderNameModel
|
|
1754
2030
|
:param _request_timeout: timeout setting for this request. If one
|
|
1755
2031
|
number provided, it will be total request
|
|
1756
2032
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1773,8 +2049,9 @@ class OrderApi:
|
|
|
1773
2049
|
:return: Returns the result object.
|
|
1774
2050
|
""" # noqa: E501
|
|
1775
2051
|
|
|
1776
|
-
_param = self.
|
|
1777
|
-
|
|
2052
|
+
_param = self._order_order_id_name_patch_serialize(
|
|
2053
|
+
order_id=order_id,
|
|
2054
|
+
update_order_name_model=update_order_name_model,
|
|
1778
2055
|
_request_auth=_request_auth,
|
|
1779
2056
|
_content_type=_content_type,
|
|
1780
2057
|
_headers=_headers,
|
|
@@ -1782,7 +2059,7 @@ class OrderApi:
|
|
|
1782
2059
|
)
|
|
1783
2060
|
|
|
1784
2061
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1785
|
-
'
|
|
2062
|
+
'204': None,
|
|
1786
2063
|
}
|
|
1787
2064
|
response_data = self.api_client.call_api(
|
|
1788
2065
|
*_param,
|
|
@@ -1796,9 +2073,10 @@ class OrderApi:
|
|
|
1796
2073
|
|
|
1797
2074
|
|
|
1798
2075
|
@validate_call
|
|
1799
|
-
def
|
|
2076
|
+
def order_order_id_name_patch_without_preload_content(
|
|
1800
2077
|
self,
|
|
1801
|
-
|
|
2078
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
2079
|
+
update_order_name_model: Annotated[UpdateOrderNameModel, Field(description="The body content of the request")],
|
|
1802
2080
|
_request_timeout: Union[
|
|
1803
2081
|
None,
|
|
1804
2082
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1812,11 +2090,13 @@ class OrderApi:
|
|
|
1812
2090
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1813
2091
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1814
2092
|
) -> RESTResponseType:
|
|
1815
|
-
"""
|
|
2093
|
+
"""Updates the name of an order.
|
|
1816
2094
|
|
|
1817
2095
|
|
|
1818
|
-
:param
|
|
1819
|
-
:type
|
|
2096
|
+
:param order_id: The id of the order to update (required)
|
|
2097
|
+
:type order_id: str
|
|
2098
|
+
:param update_order_name_model: The body content of the request (required)
|
|
2099
|
+
:type update_order_name_model: UpdateOrderNameModel
|
|
1820
2100
|
:param _request_timeout: timeout setting for this request. If one
|
|
1821
2101
|
number provided, it will be total request
|
|
1822
2102
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1839,8 +2119,9 @@ class OrderApi:
|
|
|
1839
2119
|
:return: Returns the result object.
|
|
1840
2120
|
""" # noqa: E501
|
|
1841
2121
|
|
|
1842
|
-
_param = self.
|
|
1843
|
-
|
|
2122
|
+
_param = self._order_order_id_name_patch_serialize(
|
|
2123
|
+
order_id=order_id,
|
|
2124
|
+
update_order_name_model=update_order_name_model,
|
|
1844
2125
|
_request_auth=_request_auth,
|
|
1845
2126
|
_content_type=_content_type,
|
|
1846
2127
|
_headers=_headers,
|
|
@@ -1848,7 +2129,7 @@ class OrderApi:
|
|
|
1848
2129
|
)
|
|
1849
2130
|
|
|
1850
2131
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1851
|
-
'
|
|
2132
|
+
'204': None,
|
|
1852
2133
|
}
|
|
1853
2134
|
response_data = self.api_client.call_api(
|
|
1854
2135
|
*_param,
|
|
@@ -1857,9 +2138,10 @@ class OrderApi:
|
|
|
1857
2138
|
return response_data.response
|
|
1858
2139
|
|
|
1859
2140
|
|
|
1860
|
-
def
|
|
2141
|
+
def _order_order_id_name_patch_serialize(
|
|
1861
2142
|
self,
|
|
1862
|
-
|
|
2143
|
+
order_id,
|
|
2144
|
+
update_order_name_model,
|
|
1863
2145
|
_request_auth,
|
|
1864
2146
|
_content_type,
|
|
1865
2147
|
_headers,
|
|
@@ -1881,12 +2163,14 @@ class OrderApi:
|
|
|
1881
2163
|
_body_params: Optional[bytes] = None
|
|
1882
2164
|
|
|
1883
2165
|
# process the path parameters
|
|
2166
|
+
if order_id is not None:
|
|
2167
|
+
_path_params['orderId'] = order_id
|
|
1884
2168
|
# process the query parameters
|
|
1885
2169
|
# process the header parameters
|
|
1886
2170
|
# process the form parameters
|
|
1887
2171
|
# process the body parameter
|
|
1888
|
-
if
|
|
1889
|
-
_body_params =
|
|
2172
|
+
if update_order_name_model is not None:
|
|
2173
|
+
_body_params = update_order_name_model
|
|
1890
2174
|
|
|
1891
2175
|
|
|
1892
2176
|
|
|
@@ -1908,13 +2192,14 @@ class OrderApi:
|
|
|
1908
2192
|
|
|
1909
2193
|
# authentication setting
|
|
1910
2194
|
_auth_settings: List[str] = [
|
|
1911
|
-
'
|
|
1912
|
-
'
|
|
2195
|
+
'OAuth2',
|
|
2196
|
+
'OpenIdConnect',
|
|
2197
|
+
'Bearer'
|
|
1913
2198
|
]
|
|
1914
2199
|
|
|
1915
2200
|
return self.api_client.param_serialize(
|
|
1916
|
-
method='
|
|
1917
|
-
resource_path='/
|
|
2201
|
+
method='PATCH',
|
|
2202
|
+
resource_path='/order/{orderId}/name',
|
|
1918
2203
|
path_params=_path_params,
|
|
1919
2204
|
query_params=_query_params,
|
|
1920
2205
|
header_params=_header_params,
|
|
@@ -1931,9 +2216,9 @@ class OrderApi:
|
|
|
1931
2216
|
|
|
1932
2217
|
|
|
1933
2218
|
@validate_call
|
|
1934
|
-
def
|
|
2219
|
+
def order_order_id_pause_post(
|
|
1935
2220
|
self,
|
|
1936
|
-
|
|
2221
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to pause")],
|
|
1937
2222
|
_request_timeout: Union[
|
|
1938
2223
|
None,
|
|
1939
2224
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -1946,12 +2231,12 @@ class OrderApi:
|
|
|
1946
2231
|
_content_type: Optional[StrictStr] = None,
|
|
1947
2232
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1948
2233
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1949
|
-
) ->
|
|
1950
|
-
"""
|
|
2234
|
+
) -> None:
|
|
2235
|
+
"""Pauses an order that is processing. Meaning all campaigns in the order will be paused.
|
|
1951
2236
|
|
|
1952
2237
|
|
|
1953
|
-
:param
|
|
1954
|
-
:type
|
|
2238
|
+
:param order_id: The id of the order to pause (required)
|
|
2239
|
+
:type order_id: str
|
|
1955
2240
|
:param _request_timeout: timeout setting for this request. If one
|
|
1956
2241
|
number provided, it will be total request
|
|
1957
2242
|
timeout. It can also be a pair (tuple) of
|
|
@@ -1974,8 +2259,8 @@ class OrderApi:
|
|
|
1974
2259
|
:return: Returns the result object.
|
|
1975
2260
|
""" # noqa: E501
|
|
1976
2261
|
|
|
1977
|
-
_param = self.
|
|
1978
|
-
|
|
2262
|
+
_param = self._order_order_id_pause_post_serialize(
|
|
2263
|
+
order_id=order_id,
|
|
1979
2264
|
_request_auth=_request_auth,
|
|
1980
2265
|
_content_type=_content_type,
|
|
1981
2266
|
_headers=_headers,
|
|
@@ -1983,7 +2268,7 @@ class OrderApi:
|
|
|
1983
2268
|
)
|
|
1984
2269
|
|
|
1985
2270
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
1986
|
-
'
|
|
2271
|
+
'204': None,
|
|
1987
2272
|
}
|
|
1988
2273
|
response_data = self.api_client.call_api(
|
|
1989
2274
|
*_param,
|
|
@@ -1997,9 +2282,9 @@ class OrderApi:
|
|
|
1997
2282
|
|
|
1998
2283
|
|
|
1999
2284
|
@validate_call
|
|
2000
|
-
def
|
|
2285
|
+
def order_order_id_pause_post_with_http_info(
|
|
2001
2286
|
self,
|
|
2002
|
-
|
|
2287
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to pause")],
|
|
2003
2288
|
_request_timeout: Union[
|
|
2004
2289
|
None,
|
|
2005
2290
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2012,12 +2297,12 @@ class OrderApi:
|
|
|
2012
2297
|
_content_type: Optional[StrictStr] = None,
|
|
2013
2298
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2014
2299
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2015
|
-
) -> ApiResponse[
|
|
2016
|
-
"""
|
|
2300
|
+
) -> ApiResponse[None]:
|
|
2301
|
+
"""Pauses an order that is processing. Meaning all campaigns in the order will be paused.
|
|
2017
2302
|
|
|
2018
2303
|
|
|
2019
|
-
:param
|
|
2020
|
-
:type
|
|
2304
|
+
:param order_id: The id of the order to pause (required)
|
|
2305
|
+
:type order_id: str
|
|
2021
2306
|
:param _request_timeout: timeout setting for this request. If one
|
|
2022
2307
|
number provided, it will be total request
|
|
2023
2308
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2040,8 +2325,8 @@ class OrderApi:
|
|
|
2040
2325
|
:return: Returns the result object.
|
|
2041
2326
|
""" # noqa: E501
|
|
2042
2327
|
|
|
2043
|
-
_param = self.
|
|
2044
|
-
|
|
2328
|
+
_param = self._order_order_id_pause_post_serialize(
|
|
2329
|
+
order_id=order_id,
|
|
2045
2330
|
_request_auth=_request_auth,
|
|
2046
2331
|
_content_type=_content_type,
|
|
2047
2332
|
_headers=_headers,
|
|
@@ -2049,7 +2334,7 @@ class OrderApi:
|
|
|
2049
2334
|
)
|
|
2050
2335
|
|
|
2051
2336
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2052
|
-
'
|
|
2337
|
+
'204': None,
|
|
2053
2338
|
}
|
|
2054
2339
|
response_data = self.api_client.call_api(
|
|
2055
2340
|
*_param,
|
|
@@ -2063,9 +2348,9 @@ class OrderApi:
|
|
|
2063
2348
|
|
|
2064
2349
|
|
|
2065
2350
|
@validate_call
|
|
2066
|
-
def
|
|
2351
|
+
def order_order_id_pause_post_without_preload_content(
|
|
2067
2352
|
self,
|
|
2068
|
-
|
|
2353
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to pause")],
|
|
2069
2354
|
_request_timeout: Union[
|
|
2070
2355
|
None,
|
|
2071
2356
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2079,11 +2364,11 @@ class OrderApi:
|
|
|
2079
2364
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2080
2365
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2081
2366
|
) -> RESTResponseType:
|
|
2082
|
-
"""
|
|
2367
|
+
"""Pauses an order that is processing. Meaning all campaigns in the order will be paused.
|
|
2083
2368
|
|
|
2084
2369
|
|
|
2085
|
-
:param
|
|
2086
|
-
:type
|
|
2370
|
+
:param order_id: The id of the order to pause (required)
|
|
2371
|
+
:type order_id: str
|
|
2087
2372
|
:param _request_timeout: timeout setting for this request. If one
|
|
2088
2373
|
number provided, it will be total request
|
|
2089
2374
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2106,8 +2391,8 @@ class OrderApi:
|
|
|
2106
2391
|
:return: Returns the result object.
|
|
2107
2392
|
""" # noqa: E501
|
|
2108
2393
|
|
|
2109
|
-
_param = self.
|
|
2110
|
-
|
|
2394
|
+
_param = self._order_order_id_pause_post_serialize(
|
|
2395
|
+
order_id=order_id,
|
|
2111
2396
|
_request_auth=_request_auth,
|
|
2112
2397
|
_content_type=_content_type,
|
|
2113
2398
|
_headers=_headers,
|
|
@@ -2115,7 +2400,7 @@ class OrderApi:
|
|
|
2115
2400
|
)
|
|
2116
2401
|
|
|
2117
2402
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2118
|
-
'
|
|
2403
|
+
'204': None,
|
|
2119
2404
|
}
|
|
2120
2405
|
response_data = self.api_client.call_api(
|
|
2121
2406
|
*_param,
|
|
@@ -2124,9 +2409,9 @@ class OrderApi:
|
|
|
2124
2409
|
return response_data.response
|
|
2125
2410
|
|
|
2126
2411
|
|
|
2127
|
-
def
|
|
2412
|
+
def _order_order_id_pause_post_serialize(
|
|
2128
2413
|
self,
|
|
2129
|
-
|
|
2414
|
+
order_id,
|
|
2130
2415
|
_request_auth,
|
|
2131
2416
|
_content_type,
|
|
2132
2417
|
_headers,
|
|
@@ -2148,36 +2433,26 @@ class OrderApi:
|
|
|
2148
2433
|
_body_params: Optional[bytes] = None
|
|
2149
2434
|
|
|
2150
2435
|
# process the path parameters
|
|
2436
|
+
if order_id is not None:
|
|
2437
|
+
_path_params['orderId'] = order_id
|
|
2151
2438
|
# process the query parameters
|
|
2152
|
-
if id is not None:
|
|
2153
|
-
|
|
2154
|
-
_query_params.append(('id', id))
|
|
2155
|
-
|
|
2156
2439
|
# process the header parameters
|
|
2157
2440
|
# process the form parameters
|
|
2158
2441
|
# process the body parameter
|
|
2159
2442
|
|
|
2160
2443
|
|
|
2161
|
-
# set the HTTP header `Accept`
|
|
2162
|
-
if 'Accept' not in _header_params:
|
|
2163
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2164
|
-
[
|
|
2165
|
-
'text/plain',
|
|
2166
|
-
'application/json',
|
|
2167
|
-
'text/json'
|
|
2168
|
-
]
|
|
2169
|
-
)
|
|
2170
2444
|
|
|
2171
2445
|
|
|
2172
2446
|
# authentication setting
|
|
2173
2447
|
_auth_settings: List[str] = [
|
|
2174
|
-
'
|
|
2175
|
-
'
|
|
2448
|
+
'OAuth2',
|
|
2449
|
+
'OpenIdConnect',
|
|
2450
|
+
'Bearer'
|
|
2176
2451
|
]
|
|
2177
2452
|
|
|
2178
2453
|
return self.api_client.param_serialize(
|
|
2179
|
-
method='
|
|
2180
|
-
resource_path='/
|
|
2454
|
+
method='POST',
|
|
2455
|
+
resource_path='/order/{orderId}/pause',
|
|
2181
2456
|
path_params=_path_params,
|
|
2182
2457
|
query_params=_query_params,
|
|
2183
2458
|
header_params=_header_params,
|
|
@@ -2194,9 +2469,10 @@ class OrderApi:
|
|
|
2194
2469
|
|
|
2195
2470
|
|
|
2196
2471
|
@validate_call
|
|
2197
|
-
def
|
|
2472
|
+
def order_order_id_preview_post(
|
|
2198
2473
|
self,
|
|
2199
|
-
|
|
2474
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
2475
|
+
preview_order_model: Annotated[Optional[PreviewOrderModel], Field(description="The model containing additional information for the preview.")] = None,
|
|
2200
2476
|
_request_timeout: Union[
|
|
2201
2477
|
None,
|
|
2202
2478
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2209,12 +2485,14 @@ class OrderApi:
|
|
|
2209
2485
|
_content_type: Optional[StrictStr] = None,
|
|
2210
2486
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2211
2487
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2212
|
-
) ->
|
|
2213
|
-
"""
|
|
2488
|
+
) -> None:
|
|
2489
|
+
"""Puts the order into preview mode, where one can inspect what our labelers receive.
|
|
2214
2490
|
|
|
2215
2491
|
|
|
2216
|
-
:param
|
|
2217
|
-
:type
|
|
2492
|
+
:param order_id: The id of the order to submit (required)
|
|
2493
|
+
:type order_id: str
|
|
2494
|
+
:param preview_order_model: The model containing additional information for the preview.
|
|
2495
|
+
:type preview_order_model: PreviewOrderModel
|
|
2218
2496
|
:param _request_timeout: timeout setting for this request. If one
|
|
2219
2497
|
number provided, it will be total request
|
|
2220
2498
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2237,8 +2515,9 @@ class OrderApi:
|
|
|
2237
2515
|
:return: Returns the result object.
|
|
2238
2516
|
""" # noqa: E501
|
|
2239
2517
|
|
|
2240
|
-
_param = self.
|
|
2241
|
-
|
|
2518
|
+
_param = self._order_order_id_preview_post_serialize(
|
|
2519
|
+
order_id=order_id,
|
|
2520
|
+
preview_order_model=preview_order_model,
|
|
2242
2521
|
_request_auth=_request_auth,
|
|
2243
2522
|
_content_type=_content_type,
|
|
2244
2523
|
_headers=_headers,
|
|
@@ -2246,7 +2525,7 @@ class OrderApi:
|
|
|
2246
2525
|
)
|
|
2247
2526
|
|
|
2248
2527
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2249
|
-
'200':
|
|
2528
|
+
'200': None,
|
|
2250
2529
|
}
|
|
2251
2530
|
response_data = self.api_client.call_api(
|
|
2252
2531
|
*_param,
|
|
@@ -2260,9 +2539,10 @@ class OrderApi:
|
|
|
2260
2539
|
|
|
2261
2540
|
|
|
2262
2541
|
@validate_call
|
|
2263
|
-
def
|
|
2542
|
+
def order_order_id_preview_post_with_http_info(
|
|
2264
2543
|
self,
|
|
2265
|
-
|
|
2544
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
2545
|
+
preview_order_model: Annotated[Optional[PreviewOrderModel], Field(description="The model containing additional information for the preview.")] = None,
|
|
2266
2546
|
_request_timeout: Union[
|
|
2267
2547
|
None,
|
|
2268
2548
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2275,12 +2555,14 @@ class OrderApi:
|
|
|
2275
2555
|
_content_type: Optional[StrictStr] = None,
|
|
2276
2556
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2277
2557
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2278
|
-
) -> ApiResponse[
|
|
2279
|
-
"""
|
|
2558
|
+
) -> ApiResponse[None]:
|
|
2559
|
+
"""Puts the order into preview mode, where one can inspect what our labelers receive.
|
|
2280
2560
|
|
|
2281
2561
|
|
|
2282
|
-
:param
|
|
2283
|
-
:type
|
|
2562
|
+
:param order_id: The id of the order to submit (required)
|
|
2563
|
+
:type order_id: str
|
|
2564
|
+
:param preview_order_model: The model containing additional information for the preview.
|
|
2565
|
+
:type preview_order_model: PreviewOrderModel
|
|
2284
2566
|
:param _request_timeout: timeout setting for this request. If one
|
|
2285
2567
|
number provided, it will be total request
|
|
2286
2568
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2303,8 +2585,9 @@ class OrderApi:
|
|
|
2303
2585
|
:return: Returns the result object.
|
|
2304
2586
|
""" # noqa: E501
|
|
2305
2587
|
|
|
2306
|
-
_param = self.
|
|
2307
|
-
|
|
2588
|
+
_param = self._order_order_id_preview_post_serialize(
|
|
2589
|
+
order_id=order_id,
|
|
2590
|
+
preview_order_model=preview_order_model,
|
|
2308
2591
|
_request_auth=_request_auth,
|
|
2309
2592
|
_content_type=_content_type,
|
|
2310
2593
|
_headers=_headers,
|
|
@@ -2312,7 +2595,7 @@ class OrderApi:
|
|
|
2312
2595
|
)
|
|
2313
2596
|
|
|
2314
2597
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2315
|
-
'200':
|
|
2598
|
+
'200': None,
|
|
2316
2599
|
}
|
|
2317
2600
|
response_data = self.api_client.call_api(
|
|
2318
2601
|
*_param,
|
|
@@ -2326,9 +2609,10 @@ class OrderApi:
|
|
|
2326
2609
|
|
|
2327
2610
|
|
|
2328
2611
|
@validate_call
|
|
2329
|
-
def
|
|
2612
|
+
def order_order_id_preview_post_without_preload_content(
|
|
2330
2613
|
self,
|
|
2331
|
-
|
|
2614
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
2615
|
+
preview_order_model: Annotated[Optional[PreviewOrderModel], Field(description="The model containing additional information for the preview.")] = None,
|
|
2332
2616
|
_request_timeout: Union[
|
|
2333
2617
|
None,
|
|
2334
2618
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2342,11 +2626,13 @@ class OrderApi:
|
|
|
2342
2626
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2343
2627
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2344
2628
|
) -> RESTResponseType:
|
|
2345
|
-
"""
|
|
2629
|
+
"""Puts the order into preview mode, where one can inspect what our labelers receive.
|
|
2346
2630
|
|
|
2347
2631
|
|
|
2348
|
-
:param
|
|
2349
|
-
:type
|
|
2632
|
+
:param order_id: The id of the order to submit (required)
|
|
2633
|
+
:type order_id: str
|
|
2634
|
+
:param preview_order_model: The model containing additional information for the preview.
|
|
2635
|
+
:type preview_order_model: PreviewOrderModel
|
|
2350
2636
|
:param _request_timeout: timeout setting for this request. If one
|
|
2351
2637
|
number provided, it will be total request
|
|
2352
2638
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2369,8 +2655,9 @@ class OrderApi:
|
|
|
2369
2655
|
:return: Returns the result object.
|
|
2370
2656
|
""" # noqa: E501
|
|
2371
2657
|
|
|
2372
|
-
_param = self.
|
|
2373
|
-
|
|
2658
|
+
_param = self._order_order_id_preview_post_serialize(
|
|
2659
|
+
order_id=order_id,
|
|
2660
|
+
preview_order_model=preview_order_model,
|
|
2374
2661
|
_request_auth=_request_auth,
|
|
2375
2662
|
_content_type=_content_type,
|
|
2376
2663
|
_headers=_headers,
|
|
@@ -2378,7 +2665,7 @@ class OrderApi:
|
|
|
2378
2665
|
)
|
|
2379
2666
|
|
|
2380
2667
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2381
|
-
'200':
|
|
2668
|
+
'200': None,
|
|
2382
2669
|
}
|
|
2383
2670
|
response_data = self.api_client.call_api(
|
|
2384
2671
|
*_param,
|
|
@@ -2387,9 +2674,10 @@ class OrderApi:
|
|
|
2387
2674
|
return response_data.response
|
|
2388
2675
|
|
|
2389
2676
|
|
|
2390
|
-
def
|
|
2677
|
+
def _order_order_id_preview_post_serialize(
|
|
2391
2678
|
self,
|
|
2392
|
-
|
|
2679
|
+
order_id,
|
|
2680
|
+
preview_order_model,
|
|
2393
2681
|
_request_auth,
|
|
2394
2682
|
_content_type,
|
|
2395
2683
|
_headers,
|
|
@@ -2411,36 +2699,43 @@ class OrderApi:
|
|
|
2411
2699
|
_body_params: Optional[bytes] = None
|
|
2412
2700
|
|
|
2413
2701
|
# process the path parameters
|
|
2702
|
+
if order_id is not None:
|
|
2703
|
+
_path_params['orderId'] = order_id
|
|
2414
2704
|
# process the query parameters
|
|
2415
|
-
if id is not None:
|
|
2416
|
-
|
|
2417
|
-
_query_params.append(('id', id))
|
|
2418
|
-
|
|
2419
2705
|
# process the header parameters
|
|
2420
2706
|
# process the form parameters
|
|
2421
2707
|
# process the body parameter
|
|
2708
|
+
if preview_order_model is not None:
|
|
2709
|
+
_body_params = preview_order_model
|
|
2422
2710
|
|
|
2423
2711
|
|
|
2424
|
-
# set the HTTP header `Accept`
|
|
2425
|
-
if 'Accept' not in _header_params:
|
|
2426
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2427
|
-
[
|
|
2428
|
-
'text/plain',
|
|
2429
|
-
'application/json',
|
|
2430
|
-
'text/json'
|
|
2431
|
-
]
|
|
2432
|
-
)
|
|
2433
2712
|
|
|
2713
|
+
# set the HTTP header `Content-Type`
|
|
2714
|
+
if _content_type:
|
|
2715
|
+
_header_params['Content-Type'] = _content_type
|
|
2716
|
+
else:
|
|
2717
|
+
_default_content_type = (
|
|
2718
|
+
self.api_client.select_header_content_type(
|
|
2719
|
+
[
|
|
2720
|
+
'application/json',
|
|
2721
|
+
'text/json',
|
|
2722
|
+
'application/*+json'
|
|
2723
|
+
]
|
|
2724
|
+
)
|
|
2725
|
+
)
|
|
2726
|
+
if _default_content_type is not None:
|
|
2727
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2434
2728
|
|
|
2435
2729
|
# authentication setting
|
|
2436
2730
|
_auth_settings: List[str] = [
|
|
2437
|
-
'
|
|
2438
|
-
'
|
|
2731
|
+
'OAuth2',
|
|
2732
|
+
'OpenIdConnect',
|
|
2733
|
+
'Bearer'
|
|
2439
2734
|
]
|
|
2440
2735
|
|
|
2441
2736
|
return self.api_client.param_serialize(
|
|
2442
|
-
method='
|
|
2443
|
-
resource_path='/
|
|
2737
|
+
method='POST',
|
|
2738
|
+
resource_path='/order/{orderId}/preview',
|
|
2444
2739
|
path_params=_path_params,
|
|
2445
2740
|
query_params=_query_params,
|
|
2446
2741
|
header_params=_header_params,
|
|
@@ -2457,8 +2752,9 @@ class OrderApi:
|
|
|
2457
2752
|
|
|
2458
2753
|
|
|
2459
2754
|
@validate_call
|
|
2460
|
-
def
|
|
2755
|
+
def order_order_id_results_get(
|
|
2461
2756
|
self,
|
|
2757
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
2462
2758
|
_request_timeout: Union[
|
|
2463
2759
|
None,
|
|
2464
2760
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2471,10 +2767,12 @@ class OrderApi:
|
|
|
2471
2767
|
_content_type: Optional[StrictStr] = None,
|
|
2472
2768
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2473
2769
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2474
|
-
) ->
|
|
2475
|
-
"""
|
|
2770
|
+
) -> str:
|
|
2771
|
+
"""Aggregates the results of an order and returns the result as a json body.
|
|
2476
2772
|
|
|
2477
2773
|
|
|
2774
|
+
:param order_id: The id of the order (required)
|
|
2775
|
+
:type order_id: str
|
|
2478
2776
|
:param _request_timeout: timeout setting for this request. If one
|
|
2479
2777
|
number provided, it will be total request
|
|
2480
2778
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2497,7 +2795,8 @@ class OrderApi:
|
|
|
2497
2795
|
:return: Returns the result object.
|
|
2498
2796
|
""" # noqa: E501
|
|
2499
2797
|
|
|
2500
|
-
_param = self.
|
|
2798
|
+
_param = self._order_order_id_results_get_serialize(
|
|
2799
|
+
order_id=order_id,
|
|
2501
2800
|
_request_auth=_request_auth,
|
|
2502
2801
|
_content_type=_content_type,
|
|
2503
2802
|
_headers=_headers,
|
|
@@ -2505,7 +2804,7 @@ class OrderApi:
|
|
|
2505
2804
|
)
|
|
2506
2805
|
|
|
2507
2806
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2508
|
-
'200': "
|
|
2807
|
+
'200': "str",
|
|
2509
2808
|
}
|
|
2510
2809
|
response_data = self.api_client.call_api(
|
|
2511
2810
|
*_param,
|
|
@@ -2519,8 +2818,9 @@ class OrderApi:
|
|
|
2519
2818
|
|
|
2520
2819
|
|
|
2521
2820
|
@validate_call
|
|
2522
|
-
def
|
|
2821
|
+
def order_order_id_results_get_with_http_info(
|
|
2523
2822
|
self,
|
|
2823
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
2524
2824
|
_request_timeout: Union[
|
|
2525
2825
|
None,
|
|
2526
2826
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2533,10 +2833,12 @@ class OrderApi:
|
|
|
2533
2833
|
_content_type: Optional[StrictStr] = None,
|
|
2534
2834
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2535
2835
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2536
|
-
) -> ApiResponse[
|
|
2537
|
-
"""
|
|
2836
|
+
) -> ApiResponse[str]:
|
|
2837
|
+
"""Aggregates the results of an order and returns the result as a json body.
|
|
2538
2838
|
|
|
2539
2839
|
|
|
2840
|
+
:param order_id: The id of the order (required)
|
|
2841
|
+
:type order_id: str
|
|
2540
2842
|
:param _request_timeout: timeout setting for this request. If one
|
|
2541
2843
|
number provided, it will be total request
|
|
2542
2844
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2559,7 +2861,8 @@ class OrderApi:
|
|
|
2559
2861
|
:return: Returns the result object.
|
|
2560
2862
|
""" # noqa: E501
|
|
2561
2863
|
|
|
2562
|
-
_param = self.
|
|
2864
|
+
_param = self._order_order_id_results_get_serialize(
|
|
2865
|
+
order_id=order_id,
|
|
2563
2866
|
_request_auth=_request_auth,
|
|
2564
2867
|
_content_type=_content_type,
|
|
2565
2868
|
_headers=_headers,
|
|
@@ -2567,7 +2870,7 @@ class OrderApi:
|
|
|
2567
2870
|
)
|
|
2568
2871
|
|
|
2569
2872
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2570
|
-
'200': "
|
|
2873
|
+
'200': "str",
|
|
2571
2874
|
}
|
|
2572
2875
|
response_data = self.api_client.call_api(
|
|
2573
2876
|
*_param,
|
|
@@ -2581,8 +2884,9 @@ class OrderApi:
|
|
|
2581
2884
|
|
|
2582
2885
|
|
|
2583
2886
|
@validate_call
|
|
2584
|
-
def
|
|
2887
|
+
def order_order_id_results_get_without_preload_content(
|
|
2585
2888
|
self,
|
|
2889
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order")],
|
|
2586
2890
|
_request_timeout: Union[
|
|
2587
2891
|
None,
|
|
2588
2892
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2596,9 +2900,11 @@ class OrderApi:
|
|
|
2596
2900
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2597
2901
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2598
2902
|
) -> RESTResponseType:
|
|
2599
|
-
"""
|
|
2903
|
+
"""Aggregates the results of an order and returns the result as a json body.
|
|
2600
2904
|
|
|
2601
2905
|
|
|
2906
|
+
:param order_id: The id of the order (required)
|
|
2907
|
+
:type order_id: str
|
|
2602
2908
|
:param _request_timeout: timeout setting for this request. If one
|
|
2603
2909
|
number provided, it will be total request
|
|
2604
2910
|
timeout. It can also be a pair (tuple) of
|
|
@@ -2621,7 +2927,8 @@ class OrderApi:
|
|
|
2621
2927
|
:return: Returns the result object.
|
|
2622
2928
|
""" # noqa: E501
|
|
2623
2929
|
|
|
2624
|
-
_param = self.
|
|
2930
|
+
_param = self._order_order_id_results_get_serialize(
|
|
2931
|
+
order_id=order_id,
|
|
2625
2932
|
_request_auth=_request_auth,
|
|
2626
2933
|
_content_type=_content_type,
|
|
2627
2934
|
_headers=_headers,
|
|
@@ -2629,7 +2936,7 @@ class OrderApi:
|
|
|
2629
2936
|
)
|
|
2630
2937
|
|
|
2631
2938
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2632
|
-
'200': "
|
|
2939
|
+
'200': "str",
|
|
2633
2940
|
}
|
|
2634
2941
|
response_data = self.api_client.call_api(
|
|
2635
2942
|
*_param,
|
|
@@ -2638,8 +2945,9 @@ class OrderApi:
|
|
|
2638
2945
|
return response_data.response
|
|
2639
2946
|
|
|
2640
2947
|
|
|
2641
|
-
def
|
|
2948
|
+
def _order_order_id_results_get_serialize(
|
|
2642
2949
|
self,
|
|
2950
|
+
order_id,
|
|
2643
2951
|
_request_auth,
|
|
2644
2952
|
_content_type,
|
|
2645
2953
|
_headers,
|
|
@@ -2661,6 +2969,8 @@ class OrderApi:
|
|
|
2661
2969
|
_body_params: Optional[bytes] = None
|
|
2662
2970
|
|
|
2663
2971
|
# process the path parameters
|
|
2972
|
+
if order_id is not None:
|
|
2973
|
+
_path_params['orderId'] = order_id
|
|
2664
2974
|
# process the query parameters
|
|
2665
2975
|
# process the header parameters
|
|
2666
2976
|
# process the form parameters
|
|
@@ -2680,13 +2990,14 @@ class OrderApi:
|
|
|
2680
2990
|
|
|
2681
2991
|
# authentication setting
|
|
2682
2992
|
_auth_settings: List[str] = [
|
|
2683
|
-
'
|
|
2684
|
-
'
|
|
2993
|
+
'OAuth2',
|
|
2994
|
+
'OpenIdConnect',
|
|
2995
|
+
'Bearer'
|
|
2685
2996
|
]
|
|
2686
2997
|
|
|
2687
2998
|
return self.api_client.param_serialize(
|
|
2688
2999
|
method='GET',
|
|
2689
|
-
resource_path='/
|
|
3000
|
+
resource_path='/order/{orderId}/results',
|
|
2690
3001
|
path_params=_path_params,
|
|
2691
3002
|
query_params=_query_params,
|
|
2692
3003
|
header_params=_header_params,
|
|
@@ -2703,9 +3014,9 @@ class OrderApi:
|
|
|
2703
3014
|
|
|
2704
3015
|
|
|
2705
3016
|
@validate_call
|
|
2706
|
-
def
|
|
3017
|
+
def order_order_id_resume_post(
|
|
2707
3018
|
self,
|
|
2708
|
-
order_id:
|
|
3019
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to resume")],
|
|
2709
3020
|
_request_timeout: Union[
|
|
2710
3021
|
None,
|
|
2711
3022
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2719,10 +3030,10 @@ class OrderApi:
|
|
|
2719
3030
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2720
3031
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2721
3032
|
) -> None:
|
|
2722
|
-
"""
|
|
3033
|
+
"""Resumes a paused order. Meaning all campaigns in the order will be resumed.
|
|
2723
3034
|
|
|
2724
3035
|
|
|
2725
|
-
:param order_id:
|
|
3036
|
+
:param order_id: The id of the order to resume (required)
|
|
2726
3037
|
:type order_id: str
|
|
2727
3038
|
:param _request_timeout: timeout setting for this request. If one
|
|
2728
3039
|
number provided, it will be total request
|
|
@@ -2746,7 +3057,7 @@ class OrderApi:
|
|
|
2746
3057
|
:return: Returns the result object.
|
|
2747
3058
|
""" # noqa: E501
|
|
2748
3059
|
|
|
2749
|
-
_param = self.
|
|
3060
|
+
_param = self._order_order_id_resume_post_serialize(
|
|
2750
3061
|
order_id=order_id,
|
|
2751
3062
|
_request_auth=_request_auth,
|
|
2752
3063
|
_content_type=_content_type,
|
|
@@ -2755,7 +3066,7 @@ class OrderApi:
|
|
|
2755
3066
|
)
|
|
2756
3067
|
|
|
2757
3068
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2758
|
-
'
|
|
3069
|
+
'204': None,
|
|
2759
3070
|
}
|
|
2760
3071
|
response_data = self.api_client.call_api(
|
|
2761
3072
|
*_param,
|
|
@@ -2769,9 +3080,9 @@ class OrderApi:
|
|
|
2769
3080
|
|
|
2770
3081
|
|
|
2771
3082
|
@validate_call
|
|
2772
|
-
def
|
|
3083
|
+
def order_order_id_resume_post_with_http_info(
|
|
2773
3084
|
self,
|
|
2774
|
-
order_id:
|
|
3085
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to resume")],
|
|
2775
3086
|
_request_timeout: Union[
|
|
2776
3087
|
None,
|
|
2777
3088
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2785,10 +3096,10 @@ class OrderApi:
|
|
|
2785
3096
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2786
3097
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2787
3098
|
) -> ApiResponse[None]:
|
|
2788
|
-
"""
|
|
3099
|
+
"""Resumes a paused order. Meaning all campaigns in the order will be resumed.
|
|
2789
3100
|
|
|
2790
3101
|
|
|
2791
|
-
:param order_id:
|
|
3102
|
+
:param order_id: The id of the order to resume (required)
|
|
2792
3103
|
:type order_id: str
|
|
2793
3104
|
:param _request_timeout: timeout setting for this request. If one
|
|
2794
3105
|
number provided, it will be total request
|
|
@@ -2812,7 +3123,7 @@ class OrderApi:
|
|
|
2812
3123
|
:return: Returns the result object.
|
|
2813
3124
|
""" # noqa: E501
|
|
2814
3125
|
|
|
2815
|
-
_param = self.
|
|
3126
|
+
_param = self._order_order_id_resume_post_serialize(
|
|
2816
3127
|
order_id=order_id,
|
|
2817
3128
|
_request_auth=_request_auth,
|
|
2818
3129
|
_content_type=_content_type,
|
|
@@ -2821,7 +3132,7 @@ class OrderApi:
|
|
|
2821
3132
|
)
|
|
2822
3133
|
|
|
2823
3134
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2824
|
-
'
|
|
3135
|
+
'204': None,
|
|
2825
3136
|
}
|
|
2826
3137
|
response_data = self.api_client.call_api(
|
|
2827
3138
|
*_param,
|
|
@@ -2835,9 +3146,9 @@ class OrderApi:
|
|
|
2835
3146
|
|
|
2836
3147
|
|
|
2837
3148
|
@validate_call
|
|
2838
|
-
def
|
|
3149
|
+
def order_order_id_resume_post_without_preload_content(
|
|
2839
3150
|
self,
|
|
2840
|
-
order_id:
|
|
3151
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to resume")],
|
|
2841
3152
|
_request_timeout: Union[
|
|
2842
3153
|
None,
|
|
2843
3154
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2851,10 +3162,10 @@ class OrderApi:
|
|
|
2851
3162
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2852
3163
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2853
3164
|
) -> RESTResponseType:
|
|
2854
|
-
"""
|
|
3165
|
+
"""Resumes a paused order. Meaning all campaigns in the order will be resumed.
|
|
2855
3166
|
|
|
2856
3167
|
|
|
2857
|
-
:param order_id:
|
|
3168
|
+
:param order_id: The id of the order to resume (required)
|
|
2858
3169
|
:type order_id: str
|
|
2859
3170
|
:param _request_timeout: timeout setting for this request. If one
|
|
2860
3171
|
number provided, it will be total request
|
|
@@ -2878,7 +3189,7 @@ class OrderApi:
|
|
|
2878
3189
|
:return: Returns the result object.
|
|
2879
3190
|
""" # noqa: E501
|
|
2880
3191
|
|
|
2881
|
-
_param = self.
|
|
3192
|
+
_param = self._order_order_id_resume_post_serialize(
|
|
2882
3193
|
order_id=order_id,
|
|
2883
3194
|
_request_auth=_request_auth,
|
|
2884
3195
|
_content_type=_content_type,
|
|
@@ -2887,7 +3198,7 @@ class OrderApi:
|
|
|
2887
3198
|
)
|
|
2888
3199
|
|
|
2889
3200
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
2890
|
-
'
|
|
3201
|
+
'204': None,
|
|
2891
3202
|
}
|
|
2892
3203
|
response_data = self.api_client.call_api(
|
|
2893
3204
|
*_param,
|
|
@@ -2896,7 +3207,7 @@ class OrderApi:
|
|
|
2896
3207
|
return response_data.response
|
|
2897
3208
|
|
|
2898
3209
|
|
|
2899
|
-
def
|
|
3210
|
+
def _order_order_id_resume_post_serialize(
|
|
2900
3211
|
self,
|
|
2901
3212
|
order_id,
|
|
2902
3213
|
_request_auth,
|
|
@@ -2920,11 +3231,9 @@ class OrderApi:
|
|
|
2920
3231
|
_body_params: Optional[bytes] = None
|
|
2921
3232
|
|
|
2922
3233
|
# process the path parameters
|
|
2923
|
-
# process the query parameters
|
|
2924
3234
|
if order_id is not None:
|
|
2925
|
-
|
|
2926
|
-
|
|
2927
|
-
|
|
3235
|
+
_path_params['orderId'] = order_id
|
|
3236
|
+
# process the query parameters
|
|
2928
3237
|
# process the header parameters
|
|
2929
3238
|
# process the form parameters
|
|
2930
3239
|
# process the body parameter
|
|
@@ -2934,13 +3243,14 @@ class OrderApi:
|
|
|
2934
3243
|
|
|
2935
3244
|
# authentication setting
|
|
2936
3245
|
_auth_settings: List[str] = [
|
|
2937
|
-
'
|
|
2938
|
-
'
|
|
3246
|
+
'OAuth2',
|
|
3247
|
+
'OpenIdConnect',
|
|
3248
|
+
'Bearer'
|
|
2939
3249
|
]
|
|
2940
3250
|
|
|
2941
3251
|
return self.api_client.param_serialize(
|
|
2942
3252
|
method='POST',
|
|
2943
|
-
resource_path='/
|
|
3253
|
+
resource_path='/order/{orderId}/resume',
|
|
2944
3254
|
path_params=_path_params,
|
|
2945
3255
|
query_params=_query_params,
|
|
2946
3256
|
header_params=_header_params,
|
|
@@ -2957,9 +3267,9 @@ class OrderApi:
|
|
|
2957
3267
|
|
|
2958
3268
|
|
|
2959
3269
|
@validate_call
|
|
2960
|
-
def
|
|
3270
|
+
def order_order_id_retry_post(
|
|
2961
3271
|
self,
|
|
2962
|
-
|
|
3272
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to retry")],
|
|
2963
3273
|
_request_timeout: Union[
|
|
2964
3274
|
None,
|
|
2965
3275
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -2972,12 +3282,12 @@ class OrderApi:
|
|
|
2972
3282
|
_content_type: Optional[StrictStr] = None,
|
|
2973
3283
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2974
3284
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2975
|
-
) ->
|
|
2976
|
-
"""
|
|
3285
|
+
) -> None:
|
|
3286
|
+
"""Retries a failed order.
|
|
2977
3287
|
|
|
2978
3288
|
|
|
2979
|
-
:param
|
|
2980
|
-
:type
|
|
3289
|
+
:param order_id: The id of the order to retry (required)
|
|
3290
|
+
:type order_id: str
|
|
2981
3291
|
:param _request_timeout: timeout setting for this request. If one
|
|
2982
3292
|
number provided, it will be total request
|
|
2983
3293
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3000,8 +3310,8 @@ class OrderApi:
|
|
|
3000
3310
|
:return: Returns the result object.
|
|
3001
3311
|
""" # noqa: E501
|
|
3002
3312
|
|
|
3003
|
-
_param = self.
|
|
3004
|
-
|
|
3313
|
+
_param = self._order_order_id_retry_post_serialize(
|
|
3314
|
+
order_id=order_id,
|
|
3005
3315
|
_request_auth=_request_auth,
|
|
3006
3316
|
_content_type=_content_type,
|
|
3007
3317
|
_headers=_headers,
|
|
@@ -3009,7 +3319,7 @@ class OrderApi:
|
|
|
3009
3319
|
)
|
|
3010
3320
|
|
|
3011
3321
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3012
|
-
'
|
|
3322
|
+
'204': None,
|
|
3013
3323
|
}
|
|
3014
3324
|
response_data = self.api_client.call_api(
|
|
3015
3325
|
*_param,
|
|
@@ -3023,9 +3333,9 @@ class OrderApi:
|
|
|
3023
3333
|
|
|
3024
3334
|
|
|
3025
3335
|
@validate_call
|
|
3026
|
-
def
|
|
3336
|
+
def order_order_id_retry_post_with_http_info(
|
|
3027
3337
|
self,
|
|
3028
|
-
|
|
3338
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to retry")],
|
|
3029
3339
|
_request_timeout: Union[
|
|
3030
3340
|
None,
|
|
3031
3341
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3038,12 +3348,12 @@ class OrderApi:
|
|
|
3038
3348
|
_content_type: Optional[StrictStr] = None,
|
|
3039
3349
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3040
3350
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3041
|
-
) -> ApiResponse[
|
|
3042
|
-
"""
|
|
3351
|
+
) -> ApiResponse[None]:
|
|
3352
|
+
"""Retries a failed order.
|
|
3043
3353
|
|
|
3044
3354
|
|
|
3045
|
-
:param
|
|
3046
|
-
:type
|
|
3355
|
+
:param order_id: The id of the order to retry (required)
|
|
3356
|
+
:type order_id: str
|
|
3047
3357
|
:param _request_timeout: timeout setting for this request. If one
|
|
3048
3358
|
number provided, it will be total request
|
|
3049
3359
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3066,8 +3376,8 @@ class OrderApi:
|
|
|
3066
3376
|
:return: Returns the result object.
|
|
3067
3377
|
""" # noqa: E501
|
|
3068
3378
|
|
|
3069
|
-
_param = self.
|
|
3070
|
-
|
|
3379
|
+
_param = self._order_order_id_retry_post_serialize(
|
|
3380
|
+
order_id=order_id,
|
|
3071
3381
|
_request_auth=_request_auth,
|
|
3072
3382
|
_content_type=_content_type,
|
|
3073
3383
|
_headers=_headers,
|
|
@@ -3075,7 +3385,7 @@ class OrderApi:
|
|
|
3075
3385
|
)
|
|
3076
3386
|
|
|
3077
3387
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3078
|
-
'
|
|
3388
|
+
'204': None,
|
|
3079
3389
|
}
|
|
3080
3390
|
response_data = self.api_client.call_api(
|
|
3081
3391
|
*_param,
|
|
@@ -3089,9 +3399,9 @@ class OrderApi:
|
|
|
3089
3399
|
|
|
3090
3400
|
|
|
3091
3401
|
@validate_call
|
|
3092
|
-
def
|
|
3402
|
+
def order_order_id_retry_post_without_preload_content(
|
|
3093
3403
|
self,
|
|
3094
|
-
|
|
3404
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to retry")],
|
|
3095
3405
|
_request_timeout: Union[
|
|
3096
3406
|
None,
|
|
3097
3407
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3105,11 +3415,11 @@ class OrderApi:
|
|
|
3105
3415
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3106
3416
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3107
3417
|
) -> RESTResponseType:
|
|
3108
|
-
"""
|
|
3418
|
+
"""Retries a failed order.
|
|
3109
3419
|
|
|
3110
3420
|
|
|
3111
|
-
:param
|
|
3112
|
-
:type
|
|
3421
|
+
:param order_id: The id of the order to retry (required)
|
|
3422
|
+
:type order_id: str
|
|
3113
3423
|
:param _request_timeout: timeout setting for this request. If one
|
|
3114
3424
|
number provided, it will be total request
|
|
3115
3425
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3132,8 +3442,8 @@ class OrderApi:
|
|
|
3132
3442
|
:return: Returns the result object.
|
|
3133
3443
|
""" # noqa: E501
|
|
3134
3444
|
|
|
3135
|
-
_param = self.
|
|
3136
|
-
|
|
3445
|
+
_param = self._order_order_id_retry_post_serialize(
|
|
3446
|
+
order_id=order_id,
|
|
3137
3447
|
_request_auth=_request_auth,
|
|
3138
3448
|
_content_type=_content_type,
|
|
3139
3449
|
_headers=_headers,
|
|
@@ -3141,7 +3451,7 @@ class OrderApi:
|
|
|
3141
3451
|
)
|
|
3142
3452
|
|
|
3143
3453
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3144
|
-
'
|
|
3454
|
+
'204': None,
|
|
3145
3455
|
}
|
|
3146
3456
|
response_data = self.api_client.call_api(
|
|
3147
3457
|
*_param,
|
|
@@ -3150,9 +3460,9 @@ class OrderApi:
|
|
|
3150
3460
|
return response_data.response
|
|
3151
3461
|
|
|
3152
3462
|
|
|
3153
|
-
def
|
|
3463
|
+
def _order_order_id_retry_post_serialize(
|
|
3154
3464
|
self,
|
|
3155
|
-
|
|
3465
|
+
order_id,
|
|
3156
3466
|
_request_auth,
|
|
3157
3467
|
_content_type,
|
|
3158
3468
|
_headers,
|
|
@@ -3174,36 +3484,26 @@ class OrderApi:
|
|
|
3174
3484
|
_body_params: Optional[bytes] = None
|
|
3175
3485
|
|
|
3176
3486
|
# process the path parameters
|
|
3487
|
+
if order_id is not None:
|
|
3488
|
+
_path_params['orderId'] = order_id
|
|
3177
3489
|
# process the query parameters
|
|
3178
|
-
if request is not None:
|
|
3179
|
-
|
|
3180
|
-
_query_params.append(('request', request))
|
|
3181
|
-
|
|
3182
3490
|
# process the header parameters
|
|
3183
3491
|
# process the form parameters
|
|
3184
3492
|
# process the body parameter
|
|
3185
3493
|
|
|
3186
3494
|
|
|
3187
|
-
# set the HTTP header `Accept`
|
|
3188
|
-
if 'Accept' not in _header_params:
|
|
3189
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3190
|
-
[
|
|
3191
|
-
'text/plain',
|
|
3192
|
-
'application/json',
|
|
3193
|
-
'text/json'
|
|
3194
|
-
]
|
|
3195
|
-
)
|
|
3196
3495
|
|
|
3197
3496
|
|
|
3198
3497
|
# authentication setting
|
|
3199
3498
|
_auth_settings: List[str] = [
|
|
3200
|
-
'
|
|
3201
|
-
'
|
|
3499
|
+
'OAuth2',
|
|
3500
|
+
'OpenIdConnect',
|
|
3501
|
+
'Bearer'
|
|
3202
3502
|
]
|
|
3203
3503
|
|
|
3204
3504
|
return self.api_client.param_serialize(
|
|
3205
|
-
method='
|
|
3206
|
-
resource_path='/
|
|
3505
|
+
method='POST',
|
|
3506
|
+
resource_path='/order/{orderId}/retry',
|
|
3207
3507
|
path_params=_path_params,
|
|
3208
3508
|
query_params=_query_params,
|
|
3209
3509
|
header_params=_header_params,
|
|
@@ -3220,9 +3520,10 @@ class OrderApi:
|
|
|
3220
3520
|
|
|
3221
3521
|
|
|
3222
3522
|
@validate_call
|
|
3223
|
-
def
|
|
3523
|
+
def order_order_id_share_patch(
|
|
3224
3524
|
self,
|
|
3225
|
-
|
|
3525
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
3526
|
+
is_public: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as public")] = None,
|
|
3226
3527
|
_request_timeout: Union[
|
|
3227
3528
|
None,
|
|
3228
3529
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3235,12 +3536,14 @@ class OrderApi:
|
|
|
3235
3536
|
_content_type: Optional[StrictStr] = None,
|
|
3236
3537
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3237
3538
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3238
|
-
) ->
|
|
3239
|
-
"""
|
|
3539
|
+
) -> None:
|
|
3540
|
+
"""Updates whether an order is public or not.
|
|
3240
3541
|
|
|
3241
3542
|
|
|
3242
|
-
:param
|
|
3243
|
-
:type
|
|
3543
|
+
:param order_id: The id of the order to update (required)
|
|
3544
|
+
:type order_id: str
|
|
3545
|
+
:param is_public: Whether to mark or unmark the order as public
|
|
3546
|
+
:type is_public: bool
|
|
3244
3547
|
:param _request_timeout: timeout setting for this request. If one
|
|
3245
3548
|
number provided, it will be total request
|
|
3246
3549
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3263,8 +3566,9 @@ class OrderApi:
|
|
|
3263
3566
|
:return: Returns the result object.
|
|
3264
3567
|
""" # noqa: E501
|
|
3265
3568
|
|
|
3266
|
-
_param = self.
|
|
3267
|
-
|
|
3569
|
+
_param = self._order_order_id_share_patch_serialize(
|
|
3570
|
+
order_id=order_id,
|
|
3571
|
+
is_public=is_public,
|
|
3268
3572
|
_request_auth=_request_auth,
|
|
3269
3573
|
_content_type=_content_type,
|
|
3270
3574
|
_headers=_headers,
|
|
@@ -3272,7 +3576,7 @@ class OrderApi:
|
|
|
3272
3576
|
)
|
|
3273
3577
|
|
|
3274
3578
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3275
|
-
'200':
|
|
3579
|
+
'200': None,
|
|
3276
3580
|
}
|
|
3277
3581
|
response_data = self.api_client.call_api(
|
|
3278
3582
|
*_param,
|
|
@@ -3286,9 +3590,10 @@ class OrderApi:
|
|
|
3286
3590
|
|
|
3287
3591
|
|
|
3288
3592
|
@validate_call
|
|
3289
|
-
def
|
|
3593
|
+
def order_order_id_share_patch_with_http_info(
|
|
3290
3594
|
self,
|
|
3291
|
-
|
|
3595
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
3596
|
+
is_public: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as public")] = None,
|
|
3292
3597
|
_request_timeout: Union[
|
|
3293
3598
|
None,
|
|
3294
3599
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3301,12 +3606,14 @@ class OrderApi:
|
|
|
3301
3606
|
_content_type: Optional[StrictStr] = None,
|
|
3302
3607
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3303
3608
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3304
|
-
) -> ApiResponse[
|
|
3305
|
-
"""
|
|
3609
|
+
) -> ApiResponse[None]:
|
|
3610
|
+
"""Updates whether an order is public or not.
|
|
3306
3611
|
|
|
3307
3612
|
|
|
3308
|
-
:param
|
|
3309
|
-
:type
|
|
3613
|
+
:param order_id: The id of the order to update (required)
|
|
3614
|
+
:type order_id: str
|
|
3615
|
+
:param is_public: Whether to mark or unmark the order as public
|
|
3616
|
+
:type is_public: bool
|
|
3310
3617
|
:param _request_timeout: timeout setting for this request. If one
|
|
3311
3618
|
number provided, it will be total request
|
|
3312
3619
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3329,8 +3636,9 @@ class OrderApi:
|
|
|
3329
3636
|
:return: Returns the result object.
|
|
3330
3637
|
""" # noqa: E501
|
|
3331
3638
|
|
|
3332
|
-
_param = self.
|
|
3333
|
-
|
|
3639
|
+
_param = self._order_order_id_share_patch_serialize(
|
|
3640
|
+
order_id=order_id,
|
|
3641
|
+
is_public=is_public,
|
|
3334
3642
|
_request_auth=_request_auth,
|
|
3335
3643
|
_content_type=_content_type,
|
|
3336
3644
|
_headers=_headers,
|
|
@@ -3338,7 +3646,7 @@ class OrderApi:
|
|
|
3338
3646
|
)
|
|
3339
3647
|
|
|
3340
3648
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3341
|
-
'200':
|
|
3649
|
+
'200': None,
|
|
3342
3650
|
}
|
|
3343
3651
|
response_data = self.api_client.call_api(
|
|
3344
3652
|
*_param,
|
|
@@ -3352,9 +3660,10 @@ class OrderApi:
|
|
|
3352
3660
|
|
|
3353
3661
|
|
|
3354
3662
|
@validate_call
|
|
3355
|
-
def
|
|
3663
|
+
def order_order_id_share_patch_without_preload_content(
|
|
3356
3664
|
self,
|
|
3357
|
-
|
|
3665
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to update")],
|
|
3666
|
+
is_public: Annotated[Optional[StrictBool], Field(description="Whether to mark or unmark the order as public")] = None,
|
|
3358
3667
|
_request_timeout: Union[
|
|
3359
3668
|
None,
|
|
3360
3669
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3368,11 +3677,13 @@ class OrderApi:
|
|
|
3368
3677
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3369
3678
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3370
3679
|
) -> RESTResponseType:
|
|
3371
|
-
"""
|
|
3680
|
+
"""Updates whether an order is public or not.
|
|
3372
3681
|
|
|
3373
3682
|
|
|
3374
|
-
:param
|
|
3375
|
-
:type
|
|
3683
|
+
:param order_id: The id of the order to update (required)
|
|
3684
|
+
:type order_id: str
|
|
3685
|
+
:param is_public: Whether to mark or unmark the order as public
|
|
3686
|
+
:type is_public: bool
|
|
3376
3687
|
:param _request_timeout: timeout setting for this request. If one
|
|
3377
3688
|
number provided, it will be total request
|
|
3378
3689
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3395,8 +3706,9 @@ class OrderApi:
|
|
|
3395
3706
|
:return: Returns the result object.
|
|
3396
3707
|
""" # noqa: E501
|
|
3397
3708
|
|
|
3398
|
-
_param = self.
|
|
3399
|
-
|
|
3709
|
+
_param = self._order_order_id_share_patch_serialize(
|
|
3710
|
+
order_id=order_id,
|
|
3711
|
+
is_public=is_public,
|
|
3400
3712
|
_request_auth=_request_auth,
|
|
3401
3713
|
_content_type=_content_type,
|
|
3402
3714
|
_headers=_headers,
|
|
@@ -3404,7 +3716,7 @@ class OrderApi:
|
|
|
3404
3716
|
)
|
|
3405
3717
|
|
|
3406
3718
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3407
|
-
'200':
|
|
3719
|
+
'200': None,
|
|
3408
3720
|
}
|
|
3409
3721
|
response_data = self.api_client.call_api(
|
|
3410
3722
|
*_param,
|
|
@@ -3413,9 +3725,10 @@ class OrderApi:
|
|
|
3413
3725
|
return response_data.response
|
|
3414
3726
|
|
|
3415
3727
|
|
|
3416
|
-
def
|
|
3728
|
+
def _order_order_id_share_patch_serialize(
|
|
3417
3729
|
self,
|
|
3418
|
-
|
|
3730
|
+
order_id,
|
|
3731
|
+
is_public,
|
|
3419
3732
|
_request_auth,
|
|
3420
3733
|
_content_type,
|
|
3421
3734
|
_headers,
|
|
@@ -3437,36 +3750,30 @@ class OrderApi:
|
|
|
3437
3750
|
_body_params: Optional[bytes] = None
|
|
3438
3751
|
|
|
3439
3752
|
# process the path parameters
|
|
3753
|
+
if order_id is not None:
|
|
3754
|
+
_path_params['orderId'] = order_id
|
|
3440
3755
|
# process the query parameters
|
|
3441
|
-
if
|
|
3756
|
+
if is_public is not None:
|
|
3442
3757
|
|
|
3443
|
-
_query_params.append(('
|
|
3758
|
+
_query_params.append(('isPublic', is_public))
|
|
3444
3759
|
|
|
3445
3760
|
# process the header parameters
|
|
3446
3761
|
# process the form parameters
|
|
3447
3762
|
# process the body parameter
|
|
3448
3763
|
|
|
3449
3764
|
|
|
3450
|
-
# set the HTTP header `Accept`
|
|
3451
|
-
if 'Accept' not in _header_params:
|
|
3452
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
3453
|
-
[
|
|
3454
|
-
'text/plain',
|
|
3455
|
-
'application/json',
|
|
3456
|
-
'text/json'
|
|
3457
|
-
]
|
|
3458
|
-
)
|
|
3459
3765
|
|
|
3460
3766
|
|
|
3461
3767
|
# authentication setting
|
|
3462
3768
|
_auth_settings: List[str] = [
|
|
3463
|
-
'
|
|
3464
|
-
'
|
|
3769
|
+
'OAuth2',
|
|
3770
|
+
'OpenIdConnect',
|
|
3771
|
+
'Bearer'
|
|
3465
3772
|
]
|
|
3466
3773
|
|
|
3467
3774
|
return self.api_client.param_serialize(
|
|
3468
|
-
method='
|
|
3469
|
-
resource_path='/
|
|
3775
|
+
method='PATCH',
|
|
3776
|
+
resource_path='/order/{orderId}/share',
|
|
3470
3777
|
path_params=_path_params,
|
|
3471
3778
|
query_params=_query_params,
|
|
3472
3779
|
header_params=_header_params,
|
|
@@ -3483,9 +3790,10 @@ class OrderApi:
|
|
|
3483
3790
|
|
|
3484
3791
|
|
|
3485
3792
|
@validate_call
|
|
3486
|
-
def
|
|
3793
|
+
def order_order_id_submit_post(
|
|
3487
3794
|
self,
|
|
3488
|
-
order_id:
|
|
3795
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
3796
|
+
submit_order_model: Annotated[Optional[SubmitOrderModel], Field(description="The model containing additional information for the submission.")] = None,
|
|
3489
3797
|
_request_timeout: Union[
|
|
3490
3798
|
None,
|
|
3491
3799
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3499,11 +3807,14 @@ class OrderApi:
|
|
|
3499
3807
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3500
3808
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3501
3809
|
) -> None:
|
|
3502
|
-
"""
|
|
3810
|
+
"""Submits an order for approval.
|
|
3503
3811
|
|
|
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.
|
|
3504
3813
|
|
|
3505
|
-
:param order_id:
|
|
3814
|
+
:param order_id: The id of the order to submit (required)
|
|
3506
3815
|
:type order_id: str
|
|
3816
|
+
:param submit_order_model: The model containing additional information for the submission.
|
|
3817
|
+
:type submit_order_model: SubmitOrderModel
|
|
3507
3818
|
:param _request_timeout: timeout setting for this request. If one
|
|
3508
3819
|
number provided, it will be total request
|
|
3509
3820
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3526,8 +3837,9 @@ class OrderApi:
|
|
|
3526
3837
|
:return: Returns the result object.
|
|
3527
3838
|
""" # noqa: E501
|
|
3528
3839
|
|
|
3529
|
-
_param = self.
|
|
3840
|
+
_param = self._order_order_id_submit_post_serialize(
|
|
3530
3841
|
order_id=order_id,
|
|
3842
|
+
submit_order_model=submit_order_model,
|
|
3531
3843
|
_request_auth=_request_auth,
|
|
3532
3844
|
_content_type=_content_type,
|
|
3533
3845
|
_headers=_headers,
|
|
@@ -3549,9 +3861,10 @@ class OrderApi:
|
|
|
3549
3861
|
|
|
3550
3862
|
|
|
3551
3863
|
@validate_call
|
|
3552
|
-
def
|
|
3864
|
+
def order_order_id_submit_post_with_http_info(
|
|
3553
3865
|
self,
|
|
3554
|
-
order_id:
|
|
3866
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
3867
|
+
submit_order_model: Annotated[Optional[SubmitOrderModel], Field(description="The model containing additional information for the submission.")] = None,
|
|
3555
3868
|
_request_timeout: Union[
|
|
3556
3869
|
None,
|
|
3557
3870
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3565,11 +3878,14 @@ class OrderApi:
|
|
|
3565
3878
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3566
3879
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3567
3880
|
) -> ApiResponse[None]:
|
|
3568
|
-
"""
|
|
3881
|
+
"""Submits an order for approval.
|
|
3569
3882
|
|
|
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.
|
|
3570
3884
|
|
|
3571
|
-
:param order_id:
|
|
3885
|
+
:param order_id: The id of the order to submit (required)
|
|
3572
3886
|
:type order_id: str
|
|
3887
|
+
:param submit_order_model: The model containing additional information for the submission.
|
|
3888
|
+
:type submit_order_model: SubmitOrderModel
|
|
3573
3889
|
:param _request_timeout: timeout setting for this request. If one
|
|
3574
3890
|
number provided, it will be total request
|
|
3575
3891
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3592,8 +3908,9 @@ class OrderApi:
|
|
|
3592
3908
|
:return: Returns the result object.
|
|
3593
3909
|
""" # noqa: E501
|
|
3594
3910
|
|
|
3595
|
-
_param = self.
|
|
3911
|
+
_param = self._order_order_id_submit_post_serialize(
|
|
3596
3912
|
order_id=order_id,
|
|
3913
|
+
submit_order_model=submit_order_model,
|
|
3597
3914
|
_request_auth=_request_auth,
|
|
3598
3915
|
_content_type=_content_type,
|
|
3599
3916
|
_headers=_headers,
|
|
@@ -3615,9 +3932,10 @@ class OrderApi:
|
|
|
3615
3932
|
|
|
3616
3933
|
|
|
3617
3934
|
@validate_call
|
|
3618
|
-
def
|
|
3935
|
+
def order_order_id_submit_post_without_preload_content(
|
|
3619
3936
|
self,
|
|
3620
|
-
order_id:
|
|
3937
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to submit")],
|
|
3938
|
+
submit_order_model: Annotated[Optional[SubmitOrderModel], Field(description="The model containing additional information for the submission.")] = None,
|
|
3621
3939
|
_request_timeout: Union[
|
|
3622
3940
|
None,
|
|
3623
3941
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3631,11 +3949,14 @@ class OrderApi:
|
|
|
3631
3949
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3632
3950
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3633
3951
|
) -> RESTResponseType:
|
|
3634
|
-
"""
|
|
3952
|
+
"""Submits an order for approval.
|
|
3635
3953
|
|
|
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.
|
|
3636
3955
|
|
|
3637
|
-
:param order_id:
|
|
3956
|
+
:param order_id: The id of the order to submit (required)
|
|
3638
3957
|
:type order_id: str
|
|
3958
|
+
:param submit_order_model: The model containing additional information for the submission.
|
|
3959
|
+
:type submit_order_model: SubmitOrderModel
|
|
3639
3960
|
:param _request_timeout: timeout setting for this request. If one
|
|
3640
3961
|
number provided, it will be total request
|
|
3641
3962
|
timeout. It can also be a pair (tuple) of
|
|
@@ -3658,8 +3979,9 @@ class OrderApi:
|
|
|
3658
3979
|
:return: Returns the result object.
|
|
3659
3980
|
""" # noqa: E501
|
|
3660
3981
|
|
|
3661
|
-
_param = self.
|
|
3982
|
+
_param = self._order_order_id_submit_post_serialize(
|
|
3662
3983
|
order_id=order_id,
|
|
3984
|
+
submit_order_model=submit_order_model,
|
|
3663
3985
|
_request_auth=_request_auth,
|
|
3664
3986
|
_content_type=_content_type,
|
|
3665
3987
|
_headers=_headers,
|
|
@@ -3676,9 +3998,10 @@ class OrderApi:
|
|
|
3676
3998
|
return response_data.response
|
|
3677
3999
|
|
|
3678
4000
|
|
|
3679
|
-
def
|
|
4001
|
+
def _order_order_id_submit_post_serialize(
|
|
3680
4002
|
self,
|
|
3681
4003
|
order_id,
|
|
4004
|
+
submit_order_model,
|
|
3682
4005
|
_request_auth,
|
|
3683
4006
|
_content_type,
|
|
3684
4007
|
_headers,
|
|
@@ -3700,27 +4023,43 @@ class OrderApi:
|
|
|
3700
4023
|
_body_params: Optional[bytes] = None
|
|
3701
4024
|
|
|
3702
4025
|
# process the path parameters
|
|
3703
|
-
# process the query parameters
|
|
3704
4026
|
if order_id is not None:
|
|
3705
|
-
|
|
3706
|
-
|
|
3707
|
-
|
|
4027
|
+
_path_params['orderId'] = order_id
|
|
4028
|
+
# process the query parameters
|
|
3708
4029
|
# process the header parameters
|
|
3709
4030
|
# process the form parameters
|
|
3710
4031
|
# process the body parameter
|
|
4032
|
+
if submit_order_model is not None:
|
|
4033
|
+
_body_params = submit_order_model
|
|
3711
4034
|
|
|
3712
4035
|
|
|
3713
4036
|
|
|
4037
|
+
# set the HTTP header `Content-Type`
|
|
4038
|
+
if _content_type:
|
|
4039
|
+
_header_params['Content-Type'] = _content_type
|
|
4040
|
+
else:
|
|
4041
|
+
_default_content_type = (
|
|
4042
|
+
self.api_client.select_header_content_type(
|
|
4043
|
+
[
|
|
4044
|
+
'application/json',
|
|
4045
|
+
'text/json',
|
|
4046
|
+
'application/*+json'
|
|
4047
|
+
]
|
|
4048
|
+
)
|
|
4049
|
+
)
|
|
4050
|
+
if _default_content_type is not None:
|
|
4051
|
+
_header_params['Content-Type'] = _default_content_type
|
|
3714
4052
|
|
|
3715
4053
|
# authentication setting
|
|
3716
4054
|
_auth_settings: List[str] = [
|
|
3717
|
-
'
|
|
3718
|
-
'
|
|
4055
|
+
'OAuth2',
|
|
4056
|
+
'OpenIdConnect',
|
|
4057
|
+
'Bearer'
|
|
3719
4058
|
]
|
|
3720
4059
|
|
|
3721
4060
|
return self.api_client.param_serialize(
|
|
3722
4061
|
method='POST',
|
|
3723
|
-
resource_path='/
|
|
4062
|
+
resource_path='/order/{orderId}/submit',
|
|
3724
4063
|
path_params=_path_params,
|
|
3725
4064
|
query_params=_query_params,
|
|
3726
4065
|
header_params=_header_params,
|
|
@@ -3737,9 +4076,9 @@ class OrderApi:
|
|
|
3737
4076
|
|
|
3738
4077
|
|
|
3739
4078
|
@validate_call
|
|
3740
|
-
def
|
|
4079
|
+
def order_order_id_unlock_post(
|
|
3741
4080
|
self,
|
|
3742
|
-
order_id: Annotated[
|
|
4081
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to unlock")],
|
|
3743
4082
|
_request_timeout: Union[
|
|
3744
4083
|
None,
|
|
3745
4084
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3752,11 +4091,12 @@ class OrderApi:
|
|
|
3752
4091
|
_content_type: Optional[StrictStr] = None,
|
|
3753
4092
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3754
4093
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3755
|
-
) ->
|
|
3756
|
-
"""
|
|
4094
|
+
) -> UnlockOrderResult:
|
|
4095
|
+
"""Unlocks a newly cloned order.
|
|
3757
4096
|
|
|
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.
|
|
3758
4098
|
|
|
3759
|
-
:param order_id: The id of the order to
|
|
4099
|
+
:param order_id: The id of the order to unlock (required)
|
|
3760
4100
|
:type order_id: str
|
|
3761
4101
|
:param _request_timeout: timeout setting for this request. If one
|
|
3762
4102
|
number provided, it will be total request
|
|
@@ -3780,7 +4120,7 @@ class OrderApi:
|
|
|
3780
4120
|
:return: Returns the result object.
|
|
3781
4121
|
""" # noqa: E501
|
|
3782
4122
|
|
|
3783
|
-
_param = self.
|
|
4123
|
+
_param = self._order_order_id_unlock_post_serialize(
|
|
3784
4124
|
order_id=order_id,
|
|
3785
4125
|
_request_auth=_request_auth,
|
|
3786
4126
|
_content_type=_content_type,
|
|
@@ -3789,7 +4129,7 @@ class OrderApi:
|
|
|
3789
4129
|
)
|
|
3790
4130
|
|
|
3791
4131
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3792
|
-
'200':
|
|
4132
|
+
'200': "UnlockOrderResult",
|
|
3793
4133
|
}
|
|
3794
4134
|
response_data = self.api_client.call_api(
|
|
3795
4135
|
*_param,
|
|
@@ -3803,9 +4143,9 @@ class OrderApi:
|
|
|
3803
4143
|
|
|
3804
4144
|
|
|
3805
4145
|
@validate_call
|
|
3806
|
-
def
|
|
4146
|
+
def order_order_id_unlock_post_with_http_info(
|
|
3807
4147
|
self,
|
|
3808
|
-
order_id: Annotated[
|
|
4148
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to unlock")],
|
|
3809
4149
|
_request_timeout: Union[
|
|
3810
4150
|
None,
|
|
3811
4151
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3818,11 +4158,12 @@ class OrderApi:
|
|
|
3818
4158
|
_content_type: Optional[StrictStr] = None,
|
|
3819
4159
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3820
4160
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3821
|
-
) -> ApiResponse[
|
|
3822
|
-
"""
|
|
4161
|
+
) -> ApiResponse[UnlockOrderResult]:
|
|
4162
|
+
"""Unlocks a newly cloned order.
|
|
3823
4163
|
|
|
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.
|
|
3824
4165
|
|
|
3825
|
-
:param order_id: The id of the order to
|
|
4166
|
+
:param order_id: The id of the order to unlock (required)
|
|
3826
4167
|
:type order_id: str
|
|
3827
4168
|
:param _request_timeout: timeout setting for this request. If one
|
|
3828
4169
|
number provided, it will be total request
|
|
@@ -3846,7 +4187,7 @@ class OrderApi:
|
|
|
3846
4187
|
:return: Returns the result object.
|
|
3847
4188
|
""" # noqa: E501
|
|
3848
4189
|
|
|
3849
|
-
_param = self.
|
|
4190
|
+
_param = self._order_order_id_unlock_post_serialize(
|
|
3850
4191
|
order_id=order_id,
|
|
3851
4192
|
_request_auth=_request_auth,
|
|
3852
4193
|
_content_type=_content_type,
|
|
@@ -3855,7 +4196,7 @@ class OrderApi:
|
|
|
3855
4196
|
)
|
|
3856
4197
|
|
|
3857
4198
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3858
|
-
'200':
|
|
4199
|
+
'200': "UnlockOrderResult",
|
|
3859
4200
|
}
|
|
3860
4201
|
response_data = self.api_client.call_api(
|
|
3861
4202
|
*_param,
|
|
@@ -3869,9 +4210,9 @@ class OrderApi:
|
|
|
3869
4210
|
|
|
3870
4211
|
|
|
3871
4212
|
@validate_call
|
|
3872
|
-
def
|
|
4213
|
+
def order_order_id_unlock_post_without_preload_content(
|
|
3873
4214
|
self,
|
|
3874
|
-
order_id: Annotated[
|
|
4215
|
+
order_id: Annotated[StrictStr, Field(description="The id of the order to unlock")],
|
|
3875
4216
|
_request_timeout: Union[
|
|
3876
4217
|
None,
|
|
3877
4218
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -3885,10 +4226,11 @@ class OrderApi:
|
|
|
3885
4226
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
3886
4227
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
3887
4228
|
) -> RESTResponseType:
|
|
3888
|
-
"""
|
|
4229
|
+
"""Unlocks a newly cloned order.
|
|
3889
4230
|
|
|
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.
|
|
3890
4232
|
|
|
3891
|
-
:param order_id: The id of the order to
|
|
4233
|
+
:param order_id: The id of the order to unlock (required)
|
|
3892
4234
|
:type order_id: str
|
|
3893
4235
|
:param _request_timeout: timeout setting for this request. If one
|
|
3894
4236
|
number provided, it will be total request
|
|
@@ -3912,7 +4254,7 @@ class OrderApi:
|
|
|
3912
4254
|
:return: Returns the result object.
|
|
3913
4255
|
""" # noqa: E501
|
|
3914
4256
|
|
|
3915
|
-
_param = self.
|
|
4257
|
+
_param = self._order_order_id_unlock_post_serialize(
|
|
3916
4258
|
order_id=order_id,
|
|
3917
4259
|
_request_auth=_request_auth,
|
|
3918
4260
|
_content_type=_content_type,
|
|
@@ -3921,7 +4263,7 @@ class OrderApi:
|
|
|
3921
4263
|
)
|
|
3922
4264
|
|
|
3923
4265
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
3924
|
-
'200':
|
|
4266
|
+
'200': "UnlockOrderResult",
|
|
3925
4267
|
}
|
|
3926
4268
|
response_data = self.api_client.call_api(
|
|
3927
4269
|
*_param,
|
|
@@ -3930,7 +4272,7 @@ class OrderApi:
|
|
|
3930
4272
|
return response_data.response
|
|
3931
4273
|
|
|
3932
4274
|
|
|
3933
|
-
def
|
|
4275
|
+
def _order_order_id_unlock_post_serialize(
|
|
3934
4276
|
self,
|
|
3935
4277
|
order_id,
|
|
3936
4278
|
_request_auth,
|
|
@@ -3954,27 +4296,35 @@ class OrderApi:
|
|
|
3954
4296
|
_body_params: Optional[bytes] = None
|
|
3955
4297
|
|
|
3956
4298
|
# process the path parameters
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
_query_params.append(('orderId', order_id))
|
|
3961
|
-
|
|
4299
|
+
if order_id is not None:
|
|
4300
|
+
_path_params['orderId'] = order_id
|
|
4301
|
+
# process the query parameters
|
|
3962
4302
|
# process the header parameters
|
|
3963
4303
|
# process the form parameters
|
|
3964
4304
|
# process the body parameter
|
|
3965
4305
|
|
|
3966
4306
|
|
|
4307
|
+
# set the HTTP header `Accept`
|
|
4308
|
+
if 'Accept' not in _header_params:
|
|
4309
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4310
|
+
[
|
|
4311
|
+
'text/plain',
|
|
4312
|
+
'application/json',
|
|
4313
|
+
'text/json'
|
|
4314
|
+
]
|
|
4315
|
+
)
|
|
3967
4316
|
|
|
3968
4317
|
|
|
3969
4318
|
# authentication setting
|
|
3970
4319
|
_auth_settings: List[str] = [
|
|
3971
|
-
'
|
|
3972
|
-
'
|
|
4320
|
+
'OAuth2',
|
|
4321
|
+
'OpenIdConnect',
|
|
4322
|
+
'Bearer'
|
|
3973
4323
|
]
|
|
3974
4324
|
|
|
3975
4325
|
return self.api_client.param_serialize(
|
|
3976
4326
|
method='POST',
|
|
3977
|
-
resource_path='/
|
|
4327
|
+
resource_path='/order/{orderId}/unlock',
|
|
3978
4328
|
path_params=_path_params,
|
|
3979
4329
|
query_params=_query_params,
|
|
3980
4330
|
header_params=_header_params,
|
|
@@ -3991,9 +4341,9 @@ class OrderApi:
|
|
|
3991
4341
|
|
|
3992
4342
|
|
|
3993
4343
|
@validate_call
|
|
3994
|
-
def
|
|
4344
|
+
def order_post(
|
|
3995
4345
|
self,
|
|
3996
|
-
|
|
4346
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
3997
4347
|
_request_timeout: Union[
|
|
3998
4348
|
None,
|
|
3999
4349
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4006,12 +4356,12 @@ class OrderApi:
|
|
|
4006
4356
|
_content_type: Optional[StrictStr] = None,
|
|
4007
4357
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4008
4358
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4009
|
-
) ->
|
|
4010
|
-
"""
|
|
4359
|
+
) -> CreateOrderResult:
|
|
4360
|
+
"""Used to create a new order.
|
|
4011
4361
|
|
|
4012
4362
|
|
|
4013
|
-
:param
|
|
4014
|
-
:type
|
|
4363
|
+
:param create_order_model: The body request. (required)
|
|
4364
|
+
:type create_order_model: CreateOrderModel
|
|
4015
4365
|
:param _request_timeout: timeout setting for this request. If one
|
|
4016
4366
|
number provided, it will be total request
|
|
4017
4367
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4034,8 +4384,8 @@ class OrderApi:
|
|
|
4034
4384
|
:return: Returns the result object.
|
|
4035
4385
|
""" # noqa: E501
|
|
4036
4386
|
|
|
4037
|
-
_param = self.
|
|
4038
|
-
|
|
4387
|
+
_param = self._order_post_serialize(
|
|
4388
|
+
create_order_model=create_order_model,
|
|
4039
4389
|
_request_auth=_request_auth,
|
|
4040
4390
|
_content_type=_content_type,
|
|
4041
4391
|
_headers=_headers,
|
|
@@ -4043,7 +4393,7 @@ class OrderApi:
|
|
|
4043
4393
|
)
|
|
4044
4394
|
|
|
4045
4395
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4046
|
-
'200':
|
|
4396
|
+
'200': "CreateOrderResult",
|
|
4047
4397
|
}
|
|
4048
4398
|
response_data = self.api_client.call_api(
|
|
4049
4399
|
*_param,
|
|
@@ -4057,9 +4407,9 @@ class OrderApi:
|
|
|
4057
4407
|
|
|
4058
4408
|
|
|
4059
4409
|
@validate_call
|
|
4060
|
-
def
|
|
4410
|
+
def order_post_with_http_info(
|
|
4061
4411
|
self,
|
|
4062
|
-
|
|
4412
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
4063
4413
|
_request_timeout: Union[
|
|
4064
4414
|
None,
|
|
4065
4415
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4072,12 +4422,12 @@ class OrderApi:
|
|
|
4072
4422
|
_content_type: Optional[StrictStr] = None,
|
|
4073
4423
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4074
4424
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4075
|
-
) -> ApiResponse[
|
|
4076
|
-
"""
|
|
4425
|
+
) -> ApiResponse[CreateOrderResult]:
|
|
4426
|
+
"""Used to create a new order.
|
|
4077
4427
|
|
|
4078
4428
|
|
|
4079
|
-
:param
|
|
4080
|
-
:type
|
|
4429
|
+
:param create_order_model: The body request. (required)
|
|
4430
|
+
:type create_order_model: CreateOrderModel
|
|
4081
4431
|
:param _request_timeout: timeout setting for this request. If one
|
|
4082
4432
|
number provided, it will be total request
|
|
4083
4433
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4100,8 +4450,8 @@ class OrderApi:
|
|
|
4100
4450
|
:return: Returns the result object.
|
|
4101
4451
|
""" # noqa: E501
|
|
4102
4452
|
|
|
4103
|
-
_param = self.
|
|
4104
|
-
|
|
4453
|
+
_param = self._order_post_serialize(
|
|
4454
|
+
create_order_model=create_order_model,
|
|
4105
4455
|
_request_auth=_request_auth,
|
|
4106
4456
|
_content_type=_content_type,
|
|
4107
4457
|
_headers=_headers,
|
|
@@ -4109,7 +4459,7 @@ class OrderApi:
|
|
|
4109
4459
|
)
|
|
4110
4460
|
|
|
4111
4461
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4112
|
-
'200':
|
|
4462
|
+
'200': "CreateOrderResult",
|
|
4113
4463
|
}
|
|
4114
4464
|
response_data = self.api_client.call_api(
|
|
4115
4465
|
*_param,
|
|
@@ -4123,9 +4473,9 @@ class OrderApi:
|
|
|
4123
4473
|
|
|
4124
4474
|
|
|
4125
4475
|
@validate_call
|
|
4126
|
-
def
|
|
4476
|
+
def order_post_without_preload_content(
|
|
4127
4477
|
self,
|
|
4128
|
-
|
|
4478
|
+
create_order_model: Annotated[CreateOrderModel, Field(description="The body request.")],
|
|
4129
4479
|
_request_timeout: Union[
|
|
4130
4480
|
None,
|
|
4131
4481
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4139,11 +4489,11 @@ class OrderApi:
|
|
|
4139
4489
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4140
4490
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4141
4491
|
) -> RESTResponseType:
|
|
4142
|
-
"""
|
|
4492
|
+
"""Used to create a new order.
|
|
4143
4493
|
|
|
4144
4494
|
|
|
4145
|
-
:param
|
|
4146
|
-
:type
|
|
4495
|
+
:param create_order_model: The body request. (required)
|
|
4496
|
+
:type create_order_model: CreateOrderModel
|
|
4147
4497
|
:param _request_timeout: timeout setting for this request. If one
|
|
4148
4498
|
number provided, it will be total request
|
|
4149
4499
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4166,8 +4516,8 @@ class OrderApi:
|
|
|
4166
4516
|
:return: Returns the result object.
|
|
4167
4517
|
""" # noqa: E501
|
|
4168
4518
|
|
|
4169
|
-
_param = self.
|
|
4170
|
-
|
|
4519
|
+
_param = self._order_post_serialize(
|
|
4520
|
+
create_order_model=create_order_model,
|
|
4171
4521
|
_request_auth=_request_auth,
|
|
4172
4522
|
_content_type=_content_type,
|
|
4173
4523
|
_headers=_headers,
|
|
@@ -4175,7 +4525,7 @@ class OrderApi:
|
|
|
4175
4525
|
)
|
|
4176
4526
|
|
|
4177
4527
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4178
|
-
'200':
|
|
4528
|
+
'200': "CreateOrderResult",
|
|
4179
4529
|
}
|
|
4180
4530
|
response_data = self.api_client.call_api(
|
|
4181
4531
|
*_param,
|
|
@@ -4184,9 +4534,9 @@ class OrderApi:
|
|
|
4184
4534
|
return response_data.response
|
|
4185
4535
|
|
|
4186
4536
|
|
|
4187
|
-
def
|
|
4537
|
+
def _order_post_serialize(
|
|
4188
4538
|
self,
|
|
4189
|
-
|
|
4539
|
+
create_order_model,
|
|
4190
4540
|
_request_auth,
|
|
4191
4541
|
_content_type,
|
|
4192
4542
|
_headers,
|
|
@@ -4209,26 +4559,48 @@ class OrderApi:
|
|
|
4209
4559
|
|
|
4210
4560
|
# process the path parameters
|
|
4211
4561
|
# process the query parameters
|
|
4212
|
-
if order_id is not None:
|
|
4213
|
-
|
|
4214
|
-
_query_params.append(('orderId', order_id))
|
|
4215
|
-
|
|
4216
4562
|
# process the header parameters
|
|
4217
4563
|
# process the form parameters
|
|
4218
4564
|
# process the body parameter
|
|
4565
|
+
if create_order_model is not None:
|
|
4566
|
+
_body_params = create_order_model
|
|
4219
4567
|
|
|
4220
4568
|
|
|
4569
|
+
# set the HTTP header `Accept`
|
|
4570
|
+
if 'Accept' not in _header_params:
|
|
4571
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
4572
|
+
[
|
|
4573
|
+
'text/plain',
|
|
4574
|
+
'application/json',
|
|
4575
|
+
'text/json'
|
|
4576
|
+
]
|
|
4577
|
+
)
|
|
4221
4578
|
|
|
4579
|
+
# set the HTTP header `Content-Type`
|
|
4580
|
+
if _content_type:
|
|
4581
|
+
_header_params['Content-Type'] = _content_type
|
|
4582
|
+
else:
|
|
4583
|
+
_default_content_type = (
|
|
4584
|
+
self.api_client.select_header_content_type(
|
|
4585
|
+
[
|
|
4586
|
+
'application/json',
|
|
4587
|
+
'application/*+json'
|
|
4588
|
+
]
|
|
4589
|
+
)
|
|
4590
|
+
)
|
|
4591
|
+
if _default_content_type is not None:
|
|
4592
|
+
_header_params['Content-Type'] = _default_content_type
|
|
4222
4593
|
|
|
4223
4594
|
# authentication setting
|
|
4224
4595
|
_auth_settings: List[str] = [
|
|
4225
|
-
'
|
|
4226
|
-
'
|
|
4596
|
+
'OAuth2',
|
|
4597
|
+
'OpenIdConnect',
|
|
4598
|
+
'Bearer'
|
|
4227
4599
|
]
|
|
4228
4600
|
|
|
4229
4601
|
return self.api_client.param_serialize(
|
|
4230
|
-
method='
|
|
4231
|
-
resource_path='/
|
|
4602
|
+
method='POST',
|
|
4603
|
+
resource_path='/order',
|
|
4232
4604
|
path_params=_path_params,
|
|
4233
4605
|
query_params=_query_params,
|
|
4234
4606
|
header_params=_header_params,
|
|
@@ -4245,9 +4617,9 @@ class OrderApi:
|
|
|
4245
4617
|
|
|
4246
4618
|
|
|
4247
4619
|
@validate_call
|
|
4248
|
-
def
|
|
4620
|
+
def order_unsupported_post(
|
|
4249
4621
|
self,
|
|
4250
|
-
|
|
4622
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4251
4623
|
_request_timeout: Union[
|
|
4252
4624
|
None,
|
|
4253
4625
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4261,12 +4633,11 @@ class OrderApi:
|
|
|
4261
4633
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4262
4634
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4263
4635
|
) -> None:
|
|
4264
|
-
"""
|
|
4636
|
+
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4265
4637
|
|
|
4266
|
-
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.
|
|
4267
4638
|
|
|
4268
|
-
:param
|
|
4269
|
-
:type
|
|
4639
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4640
|
+
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4270
4641
|
:param _request_timeout: timeout setting for this request. If one
|
|
4271
4642
|
number provided, it will be total request
|
|
4272
4643
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4289,8 +4660,8 @@ class OrderApi:
|
|
|
4289
4660
|
:return: Returns the result object.
|
|
4290
4661
|
""" # noqa: E501
|
|
4291
4662
|
|
|
4292
|
-
_param = self.
|
|
4293
|
-
|
|
4663
|
+
_param = self._order_unsupported_post_serialize(
|
|
4664
|
+
create_unsupported_order_model=create_unsupported_order_model,
|
|
4294
4665
|
_request_auth=_request_auth,
|
|
4295
4666
|
_content_type=_content_type,
|
|
4296
4667
|
_headers=_headers,
|
|
@@ -4298,7 +4669,7 @@ class OrderApi:
|
|
|
4298
4669
|
)
|
|
4299
4670
|
|
|
4300
4671
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4301
|
-
'
|
|
4672
|
+
'204': None,
|
|
4302
4673
|
}
|
|
4303
4674
|
response_data = self.api_client.call_api(
|
|
4304
4675
|
*_param,
|
|
@@ -4312,9 +4683,9 @@ class OrderApi:
|
|
|
4312
4683
|
|
|
4313
4684
|
|
|
4314
4685
|
@validate_call
|
|
4315
|
-
def
|
|
4686
|
+
def order_unsupported_post_with_http_info(
|
|
4316
4687
|
self,
|
|
4317
|
-
|
|
4688
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4318
4689
|
_request_timeout: Union[
|
|
4319
4690
|
None,
|
|
4320
4691
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4328,12 +4699,11 @@ class OrderApi:
|
|
|
4328
4699
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4329
4700
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4330
4701
|
) -> ApiResponse[None]:
|
|
4331
|
-
"""
|
|
4702
|
+
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4332
4703
|
|
|
4333
|
-
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.
|
|
4334
4704
|
|
|
4335
|
-
:param
|
|
4336
|
-
:type
|
|
4705
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4706
|
+
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4337
4707
|
:param _request_timeout: timeout setting for this request. If one
|
|
4338
4708
|
number provided, it will be total request
|
|
4339
4709
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4356,8 +4726,8 @@ class OrderApi:
|
|
|
4356
4726
|
:return: Returns the result object.
|
|
4357
4727
|
""" # noqa: E501
|
|
4358
4728
|
|
|
4359
|
-
_param = self.
|
|
4360
|
-
|
|
4729
|
+
_param = self._order_unsupported_post_serialize(
|
|
4730
|
+
create_unsupported_order_model=create_unsupported_order_model,
|
|
4361
4731
|
_request_auth=_request_auth,
|
|
4362
4732
|
_content_type=_content_type,
|
|
4363
4733
|
_headers=_headers,
|
|
@@ -4365,7 +4735,7 @@ class OrderApi:
|
|
|
4365
4735
|
)
|
|
4366
4736
|
|
|
4367
4737
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4368
|
-
'
|
|
4738
|
+
'204': None,
|
|
4369
4739
|
}
|
|
4370
4740
|
response_data = self.api_client.call_api(
|
|
4371
4741
|
*_param,
|
|
@@ -4379,9 +4749,9 @@ class OrderApi:
|
|
|
4379
4749
|
|
|
4380
4750
|
|
|
4381
4751
|
@validate_call
|
|
4382
|
-
def
|
|
4752
|
+
def order_unsupported_post_without_preload_content(
|
|
4383
4753
|
self,
|
|
4384
|
-
|
|
4754
|
+
create_unsupported_order_model: Annotated[CreateUnsupportedOrderModel, Field(description="The body content of the request")],
|
|
4385
4755
|
_request_timeout: Union[
|
|
4386
4756
|
None,
|
|
4387
4757
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4395,12 +4765,11 @@ class OrderApi:
|
|
|
4395
4765
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4396
4766
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4397
4767
|
) -> RESTResponseType:
|
|
4398
|
-
"""
|
|
4768
|
+
"""Notifies the admins that a user wants to create an order with an unsupported label type or data type.
|
|
4399
4769
|
|
|
4400
|
-
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.
|
|
4401
4770
|
|
|
4402
|
-
:param
|
|
4403
|
-
:type
|
|
4771
|
+
:param create_unsupported_order_model: The body content of the request (required)
|
|
4772
|
+
:type create_unsupported_order_model: CreateUnsupportedOrderModel
|
|
4404
4773
|
:param _request_timeout: timeout setting for this request. If one
|
|
4405
4774
|
number provided, it will be total request
|
|
4406
4775
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4423,8 +4792,8 @@ class OrderApi:
|
|
|
4423
4792
|
:return: Returns the result object.
|
|
4424
4793
|
""" # noqa: E501
|
|
4425
4794
|
|
|
4426
|
-
_param = self.
|
|
4427
|
-
|
|
4795
|
+
_param = self._order_unsupported_post_serialize(
|
|
4796
|
+
create_unsupported_order_model=create_unsupported_order_model,
|
|
4428
4797
|
_request_auth=_request_auth,
|
|
4429
4798
|
_content_type=_content_type,
|
|
4430
4799
|
_headers=_headers,
|
|
@@ -4432,7 +4801,7 @@ class OrderApi:
|
|
|
4432
4801
|
)
|
|
4433
4802
|
|
|
4434
4803
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4435
|
-
'
|
|
4804
|
+
'204': None,
|
|
4436
4805
|
}
|
|
4437
4806
|
response_data = self.api_client.call_api(
|
|
4438
4807
|
*_param,
|
|
@@ -4441,9 +4810,9 @@ class OrderApi:
|
|
|
4441
4810
|
return response_data.response
|
|
4442
4811
|
|
|
4443
4812
|
|
|
4444
|
-
def
|
|
4813
|
+
def _order_unsupported_post_serialize(
|
|
4445
4814
|
self,
|
|
4446
|
-
|
|
4815
|
+
create_unsupported_order_model,
|
|
4447
4816
|
_request_auth,
|
|
4448
4817
|
_content_type,
|
|
4449
4818
|
_headers,
|
|
@@ -4466,26 +4835,40 @@ class OrderApi:
|
|
|
4466
4835
|
|
|
4467
4836
|
# process the path parameters
|
|
4468
4837
|
# process the query parameters
|
|
4469
|
-
if order_id is not None:
|
|
4470
|
-
|
|
4471
|
-
_query_params.append(('orderId', order_id))
|
|
4472
|
-
|
|
4473
4838
|
# process the header parameters
|
|
4474
4839
|
# process the form parameters
|
|
4475
4840
|
# process the body parameter
|
|
4841
|
+
if create_unsupported_order_model is not None:
|
|
4842
|
+
_body_params = create_unsupported_order_model
|
|
4476
4843
|
|
|
4477
4844
|
|
|
4478
4845
|
|
|
4846
|
+
# set the HTTP header `Content-Type`
|
|
4847
|
+
if _content_type:
|
|
4848
|
+
_header_params['Content-Type'] = _content_type
|
|
4849
|
+
else:
|
|
4850
|
+
_default_content_type = (
|
|
4851
|
+
self.api_client.select_header_content_type(
|
|
4852
|
+
[
|
|
4853
|
+
'application/json',
|
|
4854
|
+
'text/json',
|
|
4855
|
+
'application/*+json'
|
|
4856
|
+
]
|
|
4857
|
+
)
|
|
4858
|
+
)
|
|
4859
|
+
if _default_content_type is not None:
|
|
4860
|
+
_header_params['Content-Type'] = _default_content_type
|
|
4479
4861
|
|
|
4480
4862
|
# authentication setting
|
|
4481
4863
|
_auth_settings: List[str] = [
|
|
4482
|
-
'
|
|
4483
|
-
'
|
|
4864
|
+
'OAuth2',
|
|
4865
|
+
'OpenIdConnect',
|
|
4866
|
+
'Bearer'
|
|
4484
4867
|
]
|
|
4485
4868
|
|
|
4486
4869
|
return self.api_client.param_serialize(
|
|
4487
4870
|
method='POST',
|
|
4488
|
-
resource_path='/
|
|
4871
|
+
resource_path='/order/unsupported',
|
|
4489
4872
|
path_params=_path_params,
|
|
4490
4873
|
query_params=_query_params,
|
|
4491
4874
|
header_params=_header_params,
|
|
@@ -4502,9 +4885,9 @@ class OrderApi:
|
|
|
4502
4885
|
|
|
4503
4886
|
|
|
4504
4887
|
@validate_call
|
|
4505
|
-
def
|
|
4888
|
+
def orders_aggregated_overview_get(
|
|
4506
4889
|
self,
|
|
4507
|
-
|
|
4890
|
+
request: Optional[QueryModel] = None,
|
|
4508
4891
|
_request_timeout: Union[
|
|
4509
4892
|
None,
|
|
4510
4893
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4517,13 +4900,12 @@ class OrderApi:
|
|
|
4517
4900
|
_content_type: Optional[StrictStr] = None,
|
|
4518
4901
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4519
4902
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4520
|
-
) ->
|
|
4521
|
-
"""
|
|
4903
|
+
) -> PagedResultOfAggregatedOrdersModel:
|
|
4904
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
4522
4905
|
|
|
4523
|
-
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.
|
|
4524
4906
|
|
|
4525
|
-
:param
|
|
4526
|
-
:type
|
|
4907
|
+
:param request:
|
|
4908
|
+
:type request: QueryModel
|
|
4527
4909
|
:param _request_timeout: timeout setting for this request. If one
|
|
4528
4910
|
number provided, it will be total request
|
|
4529
4911
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4546,8 +4928,8 @@ class OrderApi:
|
|
|
4546
4928
|
:return: Returns the result object.
|
|
4547
4929
|
""" # noqa: E501
|
|
4548
4930
|
|
|
4549
|
-
_param = self.
|
|
4550
|
-
|
|
4931
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
4932
|
+
request=request,
|
|
4551
4933
|
_request_auth=_request_auth,
|
|
4552
4934
|
_content_type=_content_type,
|
|
4553
4935
|
_headers=_headers,
|
|
@@ -4555,7 +4937,7 @@ class OrderApi:
|
|
|
4555
4937
|
)
|
|
4556
4938
|
|
|
4557
4939
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4558
|
-
'200': "
|
|
4940
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
4559
4941
|
}
|
|
4560
4942
|
response_data = self.api_client.call_api(
|
|
4561
4943
|
*_param,
|
|
@@ -4569,9 +4951,9 @@ class OrderApi:
|
|
|
4569
4951
|
|
|
4570
4952
|
|
|
4571
4953
|
@validate_call
|
|
4572
|
-
def
|
|
4954
|
+
def orders_aggregated_overview_get_with_http_info(
|
|
4573
4955
|
self,
|
|
4574
|
-
|
|
4956
|
+
request: Optional[QueryModel] = None,
|
|
4575
4957
|
_request_timeout: Union[
|
|
4576
4958
|
None,
|
|
4577
4959
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4584,13 +4966,12 @@ class OrderApi:
|
|
|
4584
4966
|
_content_type: Optional[StrictStr] = None,
|
|
4585
4967
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4586
4968
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4587
|
-
) -> ApiResponse[
|
|
4588
|
-
"""
|
|
4969
|
+
) -> ApiResponse[PagedResultOfAggregatedOrdersModel]:
|
|
4970
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
4589
4971
|
|
|
4590
|
-
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.
|
|
4591
4972
|
|
|
4592
|
-
:param
|
|
4593
|
-
:type
|
|
4973
|
+
:param request:
|
|
4974
|
+
:type request: QueryModel
|
|
4594
4975
|
:param _request_timeout: timeout setting for this request. If one
|
|
4595
4976
|
number provided, it will be total request
|
|
4596
4977
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4613,8 +4994,8 @@ class OrderApi:
|
|
|
4613
4994
|
:return: Returns the result object.
|
|
4614
4995
|
""" # noqa: E501
|
|
4615
4996
|
|
|
4616
|
-
_param = self.
|
|
4617
|
-
|
|
4997
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
4998
|
+
request=request,
|
|
4618
4999
|
_request_auth=_request_auth,
|
|
4619
5000
|
_content_type=_content_type,
|
|
4620
5001
|
_headers=_headers,
|
|
@@ -4622,7 +5003,7 @@ class OrderApi:
|
|
|
4622
5003
|
)
|
|
4623
5004
|
|
|
4624
5005
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4625
|
-
'200': "
|
|
5006
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
4626
5007
|
}
|
|
4627
5008
|
response_data = self.api_client.call_api(
|
|
4628
5009
|
*_param,
|
|
@@ -4636,9 +5017,9 @@ class OrderApi:
|
|
|
4636
5017
|
|
|
4637
5018
|
|
|
4638
5019
|
@validate_call
|
|
4639
|
-
def
|
|
5020
|
+
def orders_aggregated_overview_get_without_preload_content(
|
|
4640
5021
|
self,
|
|
4641
|
-
|
|
5022
|
+
request: Optional[QueryModel] = None,
|
|
4642
5023
|
_request_timeout: Union[
|
|
4643
5024
|
None,
|
|
4644
5025
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4652,12 +5033,11 @@ class OrderApi:
|
|
|
4652
5033
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4653
5034
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4654
5035
|
) -> RESTResponseType:
|
|
4655
|
-
"""
|
|
5036
|
+
"""Retrieves the orders aggregated by customer, with total amounts and most recent order informations.
|
|
4656
5037
|
|
|
4657
|
-
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.
|
|
4658
5038
|
|
|
4659
|
-
:param
|
|
4660
|
-
:type
|
|
5039
|
+
:param request:
|
|
5040
|
+
:type request: QueryModel
|
|
4661
5041
|
:param _request_timeout: timeout setting for this request. If one
|
|
4662
5042
|
number provided, it will be total request
|
|
4663
5043
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4680,8 +5060,8 @@ class OrderApi:
|
|
|
4680
5060
|
:return: Returns the result object.
|
|
4681
5061
|
""" # noqa: E501
|
|
4682
5062
|
|
|
4683
|
-
_param = self.
|
|
4684
|
-
|
|
5063
|
+
_param = self._orders_aggregated_overview_get_serialize(
|
|
5064
|
+
request=request,
|
|
4685
5065
|
_request_auth=_request_auth,
|
|
4686
5066
|
_content_type=_content_type,
|
|
4687
5067
|
_headers=_headers,
|
|
@@ -4689,7 +5069,7 @@ class OrderApi:
|
|
|
4689
5069
|
)
|
|
4690
5070
|
|
|
4691
5071
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4692
|
-
'200': "
|
|
5072
|
+
'200': "PagedResultOfAggregatedOrdersModel",
|
|
4693
5073
|
}
|
|
4694
5074
|
response_data = self.api_client.call_api(
|
|
4695
5075
|
*_param,
|
|
@@ -4698,9 +5078,9 @@ class OrderApi:
|
|
|
4698
5078
|
return response_data.response
|
|
4699
5079
|
|
|
4700
5080
|
|
|
4701
|
-
def
|
|
5081
|
+
def _orders_aggregated_overview_get_serialize(
|
|
4702
5082
|
self,
|
|
4703
|
-
|
|
5083
|
+
request,
|
|
4704
5084
|
_request_auth,
|
|
4705
5085
|
_content_type,
|
|
4706
5086
|
_headers,
|
|
@@ -4723,9 +5103,9 @@ class OrderApi:
|
|
|
4723
5103
|
|
|
4724
5104
|
# process the path parameters
|
|
4725
5105
|
# process the query parameters
|
|
4726
|
-
if
|
|
5106
|
+
if request is not None:
|
|
4727
5107
|
|
|
4728
|
-
_query_params.append(('
|
|
5108
|
+
_query_params.append(('request', request))
|
|
4729
5109
|
|
|
4730
5110
|
# process the header parameters
|
|
4731
5111
|
# process the form parameters
|
|
@@ -4745,13 +5125,14 @@ class OrderApi:
|
|
|
4745
5125
|
|
|
4746
5126
|
# authentication setting
|
|
4747
5127
|
_auth_settings: List[str] = [
|
|
4748
|
-
'
|
|
4749
|
-
'
|
|
5128
|
+
'OAuth2',
|
|
5129
|
+
'OpenIdConnect',
|
|
5130
|
+
'Bearer'
|
|
4750
5131
|
]
|
|
4751
5132
|
|
|
4752
5133
|
return self.api_client.param_serialize(
|
|
4753
|
-
method='
|
|
4754
|
-
resource_path='/
|
|
5134
|
+
method='GET',
|
|
5135
|
+
resource_path='/orders/aggregated-overview',
|
|
4755
5136
|
path_params=_path_params,
|
|
4756
5137
|
query_params=_query_params,
|
|
4757
5138
|
header_params=_header_params,
|
|
@@ -4768,10 +5149,9 @@ class OrderApi:
|
|
|
4768
5149
|
|
|
4769
5150
|
|
|
4770
5151
|
@validate_call
|
|
4771
|
-
def
|
|
5152
|
+
def orders_get(
|
|
4772
5153
|
self,
|
|
4773
|
-
|
|
4774
|
-
update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
|
|
5154
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
4775
5155
|
_request_timeout: Union[
|
|
4776
5156
|
None,
|
|
4777
5157
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4784,14 +5164,12 @@ class OrderApi:
|
|
|
4784
5164
|
_content_type: Optional[StrictStr] = None,
|
|
4785
5165
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4786
5166
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4787
|
-
) ->
|
|
4788
|
-
"""
|
|
5167
|
+
) -> PagedResultOfOrderModel:
|
|
5168
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
4789
5169
|
|
|
4790
5170
|
|
|
4791
|
-
:param
|
|
4792
|
-
:type
|
|
4793
|
-
:param update_access_model: The body content of the request
|
|
4794
|
-
:type update_access_model: UpdateAccessModel
|
|
5171
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
5172
|
+
:type request: QueryModel
|
|
4795
5173
|
:param _request_timeout: timeout setting for this request. If one
|
|
4796
5174
|
number provided, it will be total request
|
|
4797
5175
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4814,9 +5192,8 @@ class OrderApi:
|
|
|
4814
5192
|
:return: Returns the result object.
|
|
4815
5193
|
""" # noqa: E501
|
|
4816
5194
|
|
|
4817
|
-
_param = self.
|
|
4818
|
-
|
|
4819
|
-
update_access_model=update_access_model,
|
|
5195
|
+
_param = self._orders_get_serialize(
|
|
5196
|
+
request=request,
|
|
4820
5197
|
_request_auth=_request_auth,
|
|
4821
5198
|
_content_type=_content_type,
|
|
4822
5199
|
_headers=_headers,
|
|
@@ -4824,7 +5201,7 @@ class OrderApi:
|
|
|
4824
5201
|
)
|
|
4825
5202
|
|
|
4826
5203
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4827
|
-
'200':
|
|
5204
|
+
'200': "PagedResultOfOrderModel",
|
|
4828
5205
|
}
|
|
4829
5206
|
response_data = self.api_client.call_api(
|
|
4830
5207
|
*_param,
|
|
@@ -4838,10 +5215,9 @@ class OrderApi:
|
|
|
4838
5215
|
|
|
4839
5216
|
|
|
4840
5217
|
@validate_call
|
|
4841
|
-
def
|
|
5218
|
+
def orders_get_with_http_info(
|
|
4842
5219
|
self,
|
|
4843
|
-
|
|
4844
|
-
update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
|
|
5220
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
4845
5221
|
_request_timeout: Union[
|
|
4846
5222
|
None,
|
|
4847
5223
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4854,14 +5230,12 @@ class OrderApi:
|
|
|
4854
5230
|
_content_type: Optional[StrictStr] = None,
|
|
4855
5231
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4856
5232
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4857
|
-
) -> ApiResponse[
|
|
4858
|
-
"""
|
|
5233
|
+
) -> ApiResponse[PagedResultOfOrderModel]:
|
|
5234
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
4859
5235
|
|
|
4860
5236
|
|
|
4861
|
-
:param
|
|
4862
|
-
:type
|
|
4863
|
-
:param update_access_model: The body content of the request
|
|
4864
|
-
:type update_access_model: UpdateAccessModel
|
|
5237
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
5238
|
+
:type request: QueryModel
|
|
4865
5239
|
:param _request_timeout: timeout setting for this request. If one
|
|
4866
5240
|
number provided, it will be total request
|
|
4867
5241
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4884,9 +5258,8 @@ class OrderApi:
|
|
|
4884
5258
|
:return: Returns the result object.
|
|
4885
5259
|
""" # noqa: E501
|
|
4886
5260
|
|
|
4887
|
-
_param = self.
|
|
4888
|
-
|
|
4889
|
-
update_access_model=update_access_model,
|
|
5261
|
+
_param = self._orders_get_serialize(
|
|
5262
|
+
request=request,
|
|
4890
5263
|
_request_auth=_request_auth,
|
|
4891
5264
|
_content_type=_content_type,
|
|
4892
5265
|
_headers=_headers,
|
|
@@ -4894,7 +5267,7 @@ class OrderApi:
|
|
|
4894
5267
|
)
|
|
4895
5268
|
|
|
4896
5269
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4897
|
-
'200':
|
|
5270
|
+
'200': "PagedResultOfOrderModel",
|
|
4898
5271
|
}
|
|
4899
5272
|
response_data = self.api_client.call_api(
|
|
4900
5273
|
*_param,
|
|
@@ -4908,10 +5281,9 @@ class OrderApi:
|
|
|
4908
5281
|
|
|
4909
5282
|
|
|
4910
5283
|
@validate_call
|
|
4911
|
-
def
|
|
5284
|
+
def orders_get_without_preload_content(
|
|
4912
5285
|
self,
|
|
4913
|
-
|
|
4914
|
-
update_access_model: Annotated[Optional[UpdateAccessModel], Field(description="The body content of the request")] = None,
|
|
5286
|
+
request: Annotated[Optional[QueryModel], Field(description="The parameters for filtering, paging, and sorting")] = None,
|
|
4915
5287
|
_request_timeout: Union[
|
|
4916
5288
|
None,
|
|
4917
5289
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -4925,13 +5297,11 @@ class OrderApi:
|
|
|
4925
5297
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
4926
5298
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
4927
5299
|
) -> RESTResponseType:
|
|
4928
|
-
"""
|
|
5300
|
+
"""Queries orders based on a filter, page, and sort criteria.
|
|
4929
5301
|
|
|
4930
5302
|
|
|
4931
|
-
:param
|
|
4932
|
-
:type
|
|
4933
|
-
:param update_access_model: The body content of the request
|
|
4934
|
-
:type update_access_model: UpdateAccessModel
|
|
5303
|
+
:param request: The parameters for filtering, paging, and sorting
|
|
5304
|
+
:type request: QueryModel
|
|
4935
5305
|
:param _request_timeout: timeout setting for this request. If one
|
|
4936
5306
|
number provided, it will be total request
|
|
4937
5307
|
timeout. It can also be a pair (tuple) of
|
|
@@ -4954,9 +5324,8 @@ class OrderApi:
|
|
|
4954
5324
|
:return: Returns the result object.
|
|
4955
5325
|
""" # noqa: E501
|
|
4956
5326
|
|
|
4957
|
-
_param = self.
|
|
4958
|
-
|
|
4959
|
-
update_access_model=update_access_model,
|
|
5327
|
+
_param = self._orders_get_serialize(
|
|
5328
|
+
request=request,
|
|
4960
5329
|
_request_auth=_request_auth,
|
|
4961
5330
|
_content_type=_content_type,
|
|
4962
5331
|
_headers=_headers,
|
|
@@ -4964,7 +5333,7 @@ class OrderApi:
|
|
|
4964
5333
|
)
|
|
4965
5334
|
|
|
4966
5335
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
4967
|
-
'200':
|
|
5336
|
+
'200': "PagedResultOfOrderModel",
|
|
4968
5337
|
}
|
|
4969
5338
|
response_data = self.api_client.call_api(
|
|
4970
5339
|
*_param,
|
|
@@ -4973,10 +5342,9 @@ class OrderApi:
|
|
|
4973
5342
|
return response_data.response
|
|
4974
5343
|
|
|
4975
5344
|
|
|
4976
|
-
def
|
|
5345
|
+
def _orders_get_serialize(
|
|
4977
5346
|
self,
|
|
4978
|
-
|
|
4979
|
-
update_access_model,
|
|
5347
|
+
request,
|
|
4980
5348
|
_request_auth,
|
|
4981
5349
|
_content_type,
|
|
4982
5350
|
_headers,
|
|
@@ -4999,43 +5367,36 @@ class OrderApi:
|
|
|
4999
5367
|
|
|
5000
5368
|
# process the path parameters
|
|
5001
5369
|
# process the query parameters
|
|
5002
|
-
if
|
|
5370
|
+
if request is not None:
|
|
5003
5371
|
|
|
5004
|
-
_query_params.append(('
|
|
5372
|
+
_query_params.append(('request', request))
|
|
5005
5373
|
|
|
5006
5374
|
# process the header parameters
|
|
5007
5375
|
# process the form parameters
|
|
5008
5376
|
# process the body parameter
|
|
5009
|
-
if update_access_model is not None:
|
|
5010
|
-
_body_params = update_access_model
|
|
5011
5377
|
|
|
5012
5378
|
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
'application/json',
|
|
5022
|
-
'text/json',
|
|
5023
|
-
'application/*+json'
|
|
5024
|
-
]
|
|
5025
|
-
)
|
|
5379
|
+
# set the HTTP header `Accept`
|
|
5380
|
+
if 'Accept' not in _header_params:
|
|
5381
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5382
|
+
[
|
|
5383
|
+
'text/plain',
|
|
5384
|
+
'application/json',
|
|
5385
|
+
'text/json'
|
|
5386
|
+
]
|
|
5026
5387
|
)
|
|
5027
|
-
|
|
5028
|
-
_header_params['Content-Type'] = _default_content_type
|
|
5388
|
+
|
|
5029
5389
|
|
|
5030
5390
|
# authentication setting
|
|
5031
5391
|
_auth_settings: List[str] = [
|
|
5032
|
-
'
|
|
5033
|
-
'
|
|
5392
|
+
'OAuth2',
|
|
5393
|
+
'OpenIdConnect',
|
|
5394
|
+
'Bearer'
|
|
5034
5395
|
]
|
|
5035
5396
|
|
|
5036
5397
|
return self.api_client.param_serialize(
|
|
5037
|
-
method='
|
|
5038
|
-
resource_path='/
|
|
5398
|
+
method='GET',
|
|
5399
|
+
resource_path='/orders',
|
|
5039
5400
|
path_params=_path_params,
|
|
5040
5401
|
query_params=_query_params,
|
|
5041
5402
|
header_params=_header_params,
|
|
@@ -5052,10 +5413,8 @@ class OrderApi:
|
|
|
5052
5413
|
|
|
5053
5414
|
|
|
5054
5415
|
@validate_call
|
|
5055
|
-
def
|
|
5416
|
+
def orders_public_get(
|
|
5056
5417
|
self,
|
|
5057
|
-
order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
|
|
5058
|
-
update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
|
|
5059
5418
|
_request_timeout: Union[
|
|
5060
5419
|
None,
|
|
5061
5420
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5068,14 +5427,10 @@ class OrderApi:
|
|
|
5068
5427
|
_content_type: Optional[StrictStr] = None,
|
|
5069
5428
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5070
5429
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5071
|
-
) ->
|
|
5072
|
-
"""
|
|
5430
|
+
) -> GetPublicOrdersResult:
|
|
5431
|
+
"""Retrieves orders that are public and can be cloned by any user.
|
|
5073
5432
|
|
|
5074
5433
|
|
|
5075
|
-
:param order_id: The id of the order to update
|
|
5076
|
-
:type order_id: str
|
|
5077
|
-
:param update_order_model: The body content of the request
|
|
5078
|
-
:type update_order_model: UpdateOrderModel
|
|
5079
5434
|
:param _request_timeout: timeout setting for this request. If one
|
|
5080
5435
|
number provided, it will be total request
|
|
5081
5436
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5098,9 +5453,7 @@ class OrderApi:
|
|
|
5098
5453
|
:return: Returns the result object.
|
|
5099
5454
|
""" # noqa: E501
|
|
5100
5455
|
|
|
5101
|
-
_param = self.
|
|
5102
|
-
order_id=order_id,
|
|
5103
|
-
update_order_model=update_order_model,
|
|
5456
|
+
_param = self._orders_public_get_serialize(
|
|
5104
5457
|
_request_auth=_request_auth,
|
|
5105
5458
|
_content_type=_content_type,
|
|
5106
5459
|
_headers=_headers,
|
|
@@ -5108,7 +5461,7 @@ class OrderApi:
|
|
|
5108
5461
|
)
|
|
5109
5462
|
|
|
5110
5463
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5111
|
-
'200':
|
|
5464
|
+
'200': "GetPublicOrdersResult",
|
|
5112
5465
|
}
|
|
5113
5466
|
response_data = self.api_client.call_api(
|
|
5114
5467
|
*_param,
|
|
@@ -5122,10 +5475,8 @@ class OrderApi:
|
|
|
5122
5475
|
|
|
5123
5476
|
|
|
5124
5477
|
@validate_call
|
|
5125
|
-
def
|
|
5478
|
+
def orders_public_get_with_http_info(
|
|
5126
5479
|
self,
|
|
5127
|
-
order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
|
|
5128
|
-
update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
|
|
5129
5480
|
_request_timeout: Union[
|
|
5130
5481
|
None,
|
|
5131
5482
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5138,14 +5489,10 @@ class OrderApi:
|
|
|
5138
5489
|
_content_type: Optional[StrictStr] = None,
|
|
5139
5490
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5140
5491
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5141
|
-
) -> ApiResponse[
|
|
5142
|
-
"""
|
|
5492
|
+
) -> ApiResponse[GetPublicOrdersResult]:
|
|
5493
|
+
"""Retrieves orders that are public and can be cloned by any user.
|
|
5143
5494
|
|
|
5144
5495
|
|
|
5145
|
-
:param order_id: The id of the order to update
|
|
5146
|
-
:type order_id: str
|
|
5147
|
-
:param update_order_model: The body content of the request
|
|
5148
|
-
:type update_order_model: UpdateOrderModel
|
|
5149
5496
|
:param _request_timeout: timeout setting for this request. If one
|
|
5150
5497
|
number provided, it will be total request
|
|
5151
5498
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5168,9 +5515,7 @@ class OrderApi:
|
|
|
5168
5515
|
:return: Returns the result object.
|
|
5169
5516
|
""" # noqa: E501
|
|
5170
5517
|
|
|
5171
|
-
_param = self.
|
|
5172
|
-
order_id=order_id,
|
|
5173
|
-
update_order_model=update_order_model,
|
|
5518
|
+
_param = self._orders_public_get_serialize(
|
|
5174
5519
|
_request_auth=_request_auth,
|
|
5175
5520
|
_content_type=_content_type,
|
|
5176
5521
|
_headers=_headers,
|
|
@@ -5178,7 +5523,7 @@ class OrderApi:
|
|
|
5178
5523
|
)
|
|
5179
5524
|
|
|
5180
5525
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5181
|
-
'200':
|
|
5526
|
+
'200': "GetPublicOrdersResult",
|
|
5182
5527
|
}
|
|
5183
5528
|
response_data = self.api_client.call_api(
|
|
5184
5529
|
*_param,
|
|
@@ -5192,10 +5537,8 @@ class OrderApi:
|
|
|
5192
5537
|
|
|
5193
5538
|
|
|
5194
5539
|
@validate_call
|
|
5195
|
-
def
|
|
5540
|
+
def orders_public_get_without_preload_content(
|
|
5196
5541
|
self,
|
|
5197
|
-
order_id: Annotated[Optional[StrictStr], Field(description="The id of the order to update")] = None,
|
|
5198
|
-
update_order_model: Annotated[Optional[UpdateOrderModel], Field(description="The body content of the request")] = None,
|
|
5199
5542
|
_request_timeout: Union[
|
|
5200
5543
|
None,
|
|
5201
5544
|
Annotated[StrictFloat, Field(gt=0)],
|
|
@@ -5209,13 +5552,9 @@ class OrderApi:
|
|
|
5209
5552
|
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
5210
5553
|
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
5211
5554
|
) -> RESTResponseType:
|
|
5212
|
-
"""
|
|
5555
|
+
"""Retrieves orders that are public and can be cloned by any user.
|
|
5213
5556
|
|
|
5214
5557
|
|
|
5215
|
-
:param order_id: The id of the order to update
|
|
5216
|
-
:type order_id: str
|
|
5217
|
-
:param update_order_model: The body content of the request
|
|
5218
|
-
:type update_order_model: UpdateOrderModel
|
|
5219
5558
|
:param _request_timeout: timeout setting for this request. If one
|
|
5220
5559
|
number provided, it will be total request
|
|
5221
5560
|
timeout. It can also be a pair (tuple) of
|
|
@@ -5238,9 +5577,7 @@ class OrderApi:
|
|
|
5238
5577
|
:return: Returns the result object.
|
|
5239
5578
|
""" # noqa: E501
|
|
5240
5579
|
|
|
5241
|
-
_param = self.
|
|
5242
|
-
order_id=order_id,
|
|
5243
|
-
update_order_model=update_order_model,
|
|
5580
|
+
_param = self._orders_public_get_serialize(
|
|
5244
5581
|
_request_auth=_request_auth,
|
|
5245
5582
|
_content_type=_content_type,
|
|
5246
5583
|
_headers=_headers,
|
|
@@ -5248,7 +5585,7 @@ class OrderApi:
|
|
|
5248
5585
|
)
|
|
5249
5586
|
|
|
5250
5587
|
_response_types_map: Dict[str, Optional[str]] = {
|
|
5251
|
-
'200':
|
|
5588
|
+
'200': "GetPublicOrdersResult",
|
|
5252
5589
|
}
|
|
5253
5590
|
response_data = self.api_client.call_api(
|
|
5254
5591
|
*_param,
|
|
@@ -5257,10 +5594,8 @@ class OrderApi:
|
|
|
5257
5594
|
return response_data.response
|
|
5258
5595
|
|
|
5259
5596
|
|
|
5260
|
-
def
|
|
5597
|
+
def _orders_public_get_serialize(
|
|
5261
5598
|
self,
|
|
5262
|
-
order_id,
|
|
5263
|
-
update_order_model,
|
|
5264
5599
|
_request_auth,
|
|
5265
5600
|
_content_type,
|
|
5266
5601
|
_headers,
|
|
@@ -5283,43 +5618,32 @@ class OrderApi:
|
|
|
5283
5618
|
|
|
5284
5619
|
# process the path parameters
|
|
5285
5620
|
# process the query parameters
|
|
5286
|
-
if order_id is not None:
|
|
5287
|
-
|
|
5288
|
-
_query_params.append(('orderId', order_id))
|
|
5289
|
-
|
|
5290
5621
|
# process the header parameters
|
|
5291
5622
|
# process the form parameters
|
|
5292
5623
|
# process the body parameter
|
|
5293
|
-
if update_order_model is not None:
|
|
5294
|
-
_body_params = update_order_model
|
|
5295
|
-
|
|
5296
5624
|
|
|
5297
5625
|
|
|
5298
|
-
# set the HTTP header `
|
|
5299
|
-
if
|
|
5300
|
-
_header_params['
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
'text/json',
|
|
5307
|
-
'application/*+json'
|
|
5308
|
-
]
|
|
5309
|
-
)
|
|
5626
|
+
# set the HTTP header `Accept`
|
|
5627
|
+
if 'Accept' not in _header_params:
|
|
5628
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
5629
|
+
[
|
|
5630
|
+
'text/plain',
|
|
5631
|
+
'application/json',
|
|
5632
|
+
'text/json'
|
|
5633
|
+
]
|
|
5310
5634
|
)
|
|
5311
|
-
|
|
5312
|
-
_header_params['Content-Type'] = _default_content_type
|
|
5635
|
+
|
|
5313
5636
|
|
|
5314
5637
|
# authentication setting
|
|
5315
5638
|
_auth_settings: List[str] = [
|
|
5316
|
-
'
|
|
5317
|
-
'
|
|
5639
|
+
'OAuth2',
|
|
5640
|
+
'OpenIdConnect',
|
|
5641
|
+
'Bearer'
|
|
5318
5642
|
]
|
|
5319
5643
|
|
|
5320
5644
|
return self.api_client.param_serialize(
|
|
5321
|
-
method='
|
|
5322
|
-
resource_path='/
|
|
5645
|
+
method='GET',
|
|
5646
|
+
resource_path='/orders/public',
|
|
5323
5647
|
path_params=_path_params,
|
|
5324
5648
|
query_params=_query_params,
|
|
5325
5649
|
header_params=_header_params,
|