wildberries-sdk 0.1.9__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.
- wildberries_sdk/__init__.py +1 -0
- wildberries_sdk/analytics/__init__.py +362 -0
- wildberries_sdk/analytics/api/__init__.py +7 -0
- wildberries_sdk/analytics/api/api.py +1490 -0
- wildberries_sdk/analytics/api/csv_api.py +1178 -0
- wildberries_sdk/analytics/api_client.py +804 -0
- wildberries_sdk/analytics/api_response.py +21 -0
- wildberries_sdk/analytics/configuration.py +608 -0
- wildberries_sdk/analytics/exceptions.py +219 -0
- wildberries_sdk/analytics/models/__init__.py +171 -0
- wildberries_sdk/analytics/models/api_v2_nm_report_downloads_get400_response.py +93 -0
- wildberries_sdk/analytics/models/api_v2_nm_report_downloads_get403_response.py +93 -0
- wildberries_sdk/analytics/models/api_v2_nm_report_downloads_post429_response.py +137 -0
- wildberries_sdk/analytics/models/api_v2_nm_report_downloads_post_request.py +196 -0
- wildberries_sdk/analytics/models/api_v2_search_report_product_orders_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_search_report_product_search_texts_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_search_report_report_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_search_report_table_details_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_search_report_table_groups_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_stocks_report_offices_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_stocks_report_products_groups_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_stocks_report_products_products_post200_response.py +91 -0
- wildberries_sdk/analytics/models/api_v2_stocks_report_products_sizes_post200_response.py +91 -0
- wildberries_sdk/analytics/models/common_info.py +99 -0
- wildberries_sdk/analytics/models/common_info_advertised_products.py +89 -0
- wildberries_sdk/analytics/models/common_info_supplier_rating.py +89 -0
- wildberries_sdk/analytics/models/common_product_filters.py +120 -0
- wildberries_sdk/analytics/models/common_report_filters.py +120 -0
- wildberries_sdk/analytics/models/common_response_properties.py +87 -0
- wildberries_sdk/analytics/models/common_shipping_office_filters.py +104 -0
- wildberries_sdk/analytics/models/common_size_filters.py +104 -0
- wildberries_sdk/analytics/models/comparison.py +129 -0
- wildberries_sdk/analytics/models/comparison_time_to_ready_dynamic.py +91 -0
- wildberries_sdk/analytics/models/comparison_wb_club_dynamic.py +103 -0
- wildberries_sdk/analytics/models/conversions.py +91 -0
- wildberries_sdk/analytics/models/date_period.py +90 -0
- wildberries_sdk/analytics/models/error_object.py +93 -0
- wildberries_sdk/analytics/models/error_object400.py +93 -0
- wildberries_sdk/analytics/models/error_object403.py +93 -0
- wildberries_sdk/analytics/models/float_graph_by_period_item.py +92 -0
- wildberries_sdk/analytics/models/grouped_history_request.py +102 -0
- wildberries_sdk/analytics/models/history.py +108 -0
- wildberries_sdk/analytics/models/history_product.py +97 -0
- wildberries_sdk/analytics/models/level.py +37 -0
- wildberries_sdk/analytics/models/main_request.py +123 -0
- wildberries_sdk/analytics/models/main_response.py +113 -0
- wildberries_sdk/analytics/models/nm_report_create_report_response.py +87 -0
- wildberries_sdk/analytics/models/nm_report_get_reports_response.py +95 -0
- wildberries_sdk/analytics/models/nm_report_get_reports_response_data_inner.py +101 -0
- wildberries_sdk/analytics/models/nm_report_retry_report_request.py +88 -0
- wildberries_sdk/analytics/models/nm_report_retry_report_response.py +87 -0
- wildberries_sdk/analytics/models/order_by.py +103 -0
- wildberries_sdk/analytics/models/order_by_gr_te.py +103 -0
- wildberries_sdk/analytics/models/order_by_mode.py +37 -0
- wildberries_sdk/analytics/models/past_period.py +90 -0
- wildberries_sdk/analytics/models/period.py +90 -0
- wildberries_sdk/analytics/models/period_orders_request.py +90 -0
- wildberries_sdk/analytics/models/period_st.py +90 -0
- wildberries_sdk/analytics/models/position_cluster.py +39 -0
- wildberries_sdk/analytics/models/position_info.py +113 -0
- wildberries_sdk/analytics/models/position_info_average.py +89 -0
- wildberries_sdk/analytics/models/position_info_median.py +89 -0
- wildberries_sdk/analytics/models/post_sales_funnel_grouped_history200_response.py +95 -0
- wildberries_sdk/analytics/models/post_sales_funnel_products200_response.py +91 -0
- wildberries_sdk/analytics/models/post_sales_funnel_products200_response_data.py +95 -0
- wildberries_sdk/analytics/models/post_sales_funnel_products401_response.py +102 -0
- wildberries_sdk/analytics/models/product.py +117 -0
- wildberries_sdk/analytics/models/product_history_request.py +99 -0
- wildberries_sdk/analytics/models/product_history_response_inner.py +101 -0
- wildberries_sdk/analytics/models/product_history_response_inner_product.py +97 -0
- wildberries_sdk/analytics/models/product_orders_metrics.py +92 -0
- wildberries_sdk/analytics/models/product_orders_request.py +96 -0
- wildberries_sdk/analytics/models/product_orders_response.py +105 -0
- wildberries_sdk/analytics/models/product_orders_text_item.py +99 -0
- wildberries_sdk/analytics/models/product_search_texts_request.py +125 -0
- wildberries_sdk/analytics/models/product_search_texts_response.py +95 -0
- wildberries_sdk/analytics/models/product_stocks.py +91 -0
- wildberries_sdk/analytics/models/products_request.py +118 -0
- wildberries_sdk/analytics/models/products_request_past_period.py +90 -0
- wildberries_sdk/analytics/models/products_request_selected_period.py +90 -0
- wildberries_sdk/analytics/models/products_response.py +95 -0
- wildberries_sdk/analytics/models/products_response_products_inner.py +97 -0
- wildberries_sdk/analytics/models/products_response_products_inner_product.py +117 -0
- wildberries_sdk/analytics/models/products_response_products_inner_statistic.py +103 -0
- wildberries_sdk/analytics/models/response429_download.py +102 -0
- wildberries_sdk/analytics/models/response429_download_daily.py +93 -0
- wildberries_sdk/analytics/models/sales_funnel_group_req.py +98 -0
- wildberries_sdk/analytics/models/sales_funnel_group_req_params.py +102 -0
- wildberries_sdk/analytics/models/sales_funnel_product_req.py +98 -0
- wildberries_sdk/analytics/models/sales_funnel_product_req_params.py +115 -0
- wildberries_sdk/analytics/models/search_report_group_req.py +98 -0
- wildberries_sdk/analytics/models/search_report_group_req_params.py +119 -0
- wildberries_sdk/analytics/models/search_report_position_chart_item.py +91 -0
- wildberries_sdk/analytics/models/search_report_position_clusters.py +103 -0
- wildberries_sdk/analytics/models/search_report_position_clusters_below.py +89 -0
- wildberries_sdk/analytics/models/search_report_position_clusters_first_hundred.py +89 -0
- wildberries_sdk/analytics/models/search_report_position_clusters_second_hundred.py +89 -0
- wildberries_sdk/analytics/models/search_report_product_req.py +98 -0
- wildberries_sdk/analytics/models/search_report_product_req_params.py +119 -0
- wildberries_sdk/analytics/models/search_report_text_req.py +98 -0
- wildberries_sdk/analytics/models/search_report_text_req_params.py +131 -0
- wildberries_sdk/analytics/models/statistic.py +135 -0
- wildberries_sdk/analytics/models/statistic_conversions.py +91 -0
- wildberries_sdk/analytics/models/statistic_time_to_ready.py +91 -0
- wildberries_sdk/analytics/models/statistic_wb_club.py +103 -0
- wildberries_sdk/analytics/models/statistics.py +103 -0
- wildberries_sdk/analytics/models/statistics_comparison.py +129 -0
- wildberries_sdk/analytics/models/statistics_past.py +135 -0
- wildberries_sdk/analytics/models/statistics_selected.py +135 -0
- wildberries_sdk/analytics/models/stock_type.py +38 -0
- wildberries_sdk/analytics/models/stocks_report_req.py +98 -0
- wildberries_sdk/analytics/models/table_common_metrics.py +141 -0
- wildberries_sdk/analytics/models/table_common_metrics_avg_stock_turnover.py +89 -0
- wildberries_sdk/analytics/models/table_common_metrics_office_missing_time.py +89 -0
- wildberries_sdk/analytics/models/table_common_metrics_sale_rate.py +89 -0
- wildberries_sdk/analytics/models/table_details_request.py +129 -0
- wildberries_sdk/analytics/models/table_details_response.py +95 -0
- wildberries_sdk/analytics/models/table_group_field.py +54 -0
- wildberries_sdk/analytics/models/table_group_item.py +111 -0
- wildberries_sdk/analytics/models/table_group_item_metrics.py +127 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_add_to_cart.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_avg_position.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_cart_to_order.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_open_to_cart.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_orders.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_metrics_visibility.py +89 -0
- wildberries_sdk/analytics/models/table_group_item_st.py +111 -0
- wildberries_sdk/analytics/models/table_group_request.py +123 -0
- wildberries_sdk/analytics/models/table_group_request_st.py +125 -0
- wildberries_sdk/analytics/models/table_group_response.py +95 -0
- wildberries_sdk/analytics/models/table_group_response_st.py +95 -0
- wildberries_sdk/analytics/models/table_office_item.py +97 -0
- wildberries_sdk/analytics/models/table_order_by.py +91 -0
- wildberries_sdk/analytics/models/table_product_item.py +155 -0
- wildberries_sdk/analytics/models/table_product_item_all_of_price.py +89 -0
- wildberries_sdk/analytics/models/table_product_item_st.py +107 -0
- wildberries_sdk/analytics/models/table_product_item_st_metrics.py +156 -0
- wildberries_sdk/analytics/models/table_product_item_st_metrics_all_of_current_price.py +89 -0
- wildberries_sdk/analytics/models/table_product_request.py +125 -0
- wildberries_sdk/analytics/models/table_product_response.py +95 -0
- wildberries_sdk/analytics/models/table_search_text_item.py +165 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_add_to_cart.py +91 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_cart_to_order.py +91 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_frequency.py +89 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_median_position.py +89 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_open_card.py +91 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_open_to_cart.py +91 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_orders.py +91 -0
- wildberries_sdk/analytics/models/table_search_text_item_all_of_visibility.py +89 -0
- wildberries_sdk/analytics/models/table_shipping_office_item.py +103 -0
- wildberries_sdk/analytics/models/table_shipping_office_item_offices_inner.py +95 -0
- wildberries_sdk/analytics/models/table_shipping_office_metrics.py +99 -0
- wildberries_sdk/analytics/models/table_shipping_office_response.py +95 -0
- wildberries_sdk/analytics/models/table_size_response.py +105 -0
- wildberries_sdk/analytics/models/table_size_response_sizes_inner.py +105 -0
- wildberries_sdk/analytics/models/table_size_response_sizes_inner_metrics.py +147 -0
- wildberries_sdk/analytics/models/tag.py +89 -0
- wildberries_sdk/analytics/models/text_limit.py +144 -0
- wildberries_sdk/analytics/models/time_to_ready.py +91 -0
- wildberries_sdk/analytics/models/visibility_info.py +125 -0
- wildberries_sdk/analytics/models/visibility_info_by_day_inner.py +92 -0
- wildberries_sdk/analytics/models/visibility_info_open_card.py +89 -0
- wildberries_sdk/analytics/models/visibility_info_visibility.py +89 -0
- wildberries_sdk/analytics/models/wb_club_metrics.py +103 -0
- wildberries_sdk/analytics/models/wb_club_metrics_dynamic.py +103 -0
- wildberries_sdk/analytics/py.typed +0 -0
- wildberries_sdk/analytics/rest.py +263 -0
- wildberries_sdk/communications/__init__.py +214 -0
- wildberries_sdk/communications/api/__init__.py +7 -0
- wildberries_sdk/communications/api/api.py +1159 -0
- wildberries_sdk/communications/api/default_api.py +4243 -0
- wildberries_sdk/communications/api_client.py +804 -0
- wildberries_sdk/communications/api_response.py +21 -0
- wildberries_sdk/communications/configuration.py +608 -0
- wildberries_sdk/communications/exceptions.py +219 -0
- wildberries_sdk/communications/models/__init__.py +97 -0
- wildberries_sdk/communications/models/api_feedbacks_v1_pins_count_get200_response.py +87 -0
- wildberries_sdk/communications/models/api_feedbacks_v1_pins_delete200_response.py +87 -0
- wildberries_sdk/communications/models/api_feedbacks_v1_pins_get200_response.py +97 -0
- wildberries_sdk/communications/models/api_feedbacks_v1_pins_limits_get200_response.py +91 -0
- wildberries_sdk/communications/models/api_feedbacks_v1_pins_post200_response.py +95 -0
- wildberries_sdk/communications/models/api_v1_claim_patch400_response.py +91 -0
- wildberries_sdk/communications/models/api_v1_claim_patch_request.py +92 -0
- wildberries_sdk/communications/models/api_v1_claims_get200_response.py +97 -0
- wildberries_sdk/communications/models/api_v1_claims_get200_response_claims_inner.py +131 -0
- wildberries_sdk/communications/models/api_v1_claims_get400_response.py +91 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data.py +197 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_answer.py +91 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_photo_links_inner.py +89 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_product_details.py +114 -0
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_video.py +91 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_answer_patch_request.py +90 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_answer_post_request.py +90 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_archive_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_archive_get200_response_data.py +95 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_count_get200_response.py +98 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_count_unanswered_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_count_unanswered_get200_response_data.py +89 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_get200_response_data.py +99 -0
- wildberries_sdk/communications/models/api_v1_feedbacks_order_return_post_request.py +87 -0
- wildberries_sdk/communications/models/api_v1_new_feedbacks_questions_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_new_feedbacks_questions_get200_response_data.py +89 -0
- wildberries_sdk/communications/models/api_v1_new_feedbacks_questions_get401_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_question_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_question_get200_response_data.py +115 -0
- wildberries_sdk/communications/models/api_v1_question_get200_response_data_answer.py +92 -0
- wildberries_sdk/communications/models/api_v1_question_get200_response_data_product_details.py +97 -0
- wildberries_sdk/communications/models/api_v1_questions_count_get200_response.py +98 -0
- wildberries_sdk/communications/models/api_v1_questions_count_unanswered_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_questions_count_unanswered_get200_response_data.py +89 -0
- wildberries_sdk/communications/models/api_v1_questions_get200_response.py +102 -0
- wildberries_sdk/communications/models/api_v1_questions_get200_response_data.py +99 -0
- wildberries_sdk/communications/models/api_v1_questions_get200_response_data_questions_inner.py +115 -0
- wildberries_sdk/communications/models/api_v1_questions_get200_response_data_questions_inner_answer.py +92 -0
- wildberries_sdk/communications/models/api_v1_questions_get200_response_data_questions_inner_product_details.py +97 -0
- wildberries_sdk/communications/models/api_v1_questions_patch200_response.py +103 -0
- wildberries_sdk/communications/models/api_v1_questions_patch_request.py +137 -0
- wildberries_sdk/communications/models/api_v1_questions_patch_request_one_of.py +89 -0
- wildberries_sdk/communications/models/api_v1_questions_patch_request_one_of1.py +95 -0
- wildberries_sdk/communications/models/api_v1_questions_patch_request_one_of1_answer.py +87 -0
- wildberries_sdk/communications/models/api_v1_seller_events_get400_response.py +97 -0
- wildberries_sdk/communications/models/chat.py +105 -0
- wildberries_sdk/communications/models/chats_response.py +102 -0
- wildberries_sdk/communications/models/domain_review_pin_method.py +37 -0
- wildberries_sdk/communications/models/domain_review_pin_on.py +37 -0
- wildberries_sdk/communications/models/domain_review_state.py +37 -0
- wildberries_sdk/communications/models/event.py +115 -0
- wildberries_sdk/communications/models/event_attachments.py +111 -0
- wildberries_sdk/communications/models/event_message.py +93 -0
- wildberries_sdk/communications/models/event_type.py +36 -0
- wildberries_sdk/communications/models/events_response.py +98 -0
- wildberries_sdk/communications/models/events_result.py +104 -0
- wildberries_sdk/communications/models/file.py +97 -0
- wildberries_sdk/communications/models/good_card.py +99 -0
- wildberries_sdk/communications/models/image.py +91 -0
- wildberries_sdk/communications/models/last_message.py +89 -0
- wildberries_sdk/communications/models/message_response.py +93 -0
- wildberries_sdk/communications/models/message_response_result.py +89 -0
- wildberries_sdk/communications/models/openapi_pin_review_item.py +105 -0
- wildberries_sdk/communications/models/openapi_pin_review_item_result.py +95 -0
- wildberries_sdk/communications/models/openapi_pin_review_item_result_data_inner.py +119 -0
- wildberries_sdk/communications/models/openapi_pinned_review_item_result.py +117 -0
- wildberries_sdk/communications/models/openapi_result_err.py +102 -0
- wildberries_sdk/communications/models/openapi_seller_limit.py +95 -0
- wildberries_sdk/communications/models/openapi_seller_limits_response.py +91 -0
- wildberries_sdk/communications/models/openapi_seller_limits_response_data.py +106 -0
- wildberries_sdk/communications/models/respond_result_err.py +95 -0
- wildberries_sdk/communications/models/respond_success_response.py +87 -0
- wildberries_sdk/communications/models/response_feedback_inner.py +197 -0
- wildberries_sdk/communications/models/response_feedback_inner_answer.py +91 -0
- wildberries_sdk/communications/models/response_feedback_inner_product_details.py +114 -0
- wildberries_sdk/communications/models/response_feedback_inner_video.py +91 -0
- wildberries_sdk/communications/models/responsefeedback_err.py +105 -0
- wildberries_sdk/communications/models/sender.py +38 -0
- wildberries_sdk/communications/models/standardized_fq_error.py +93 -0
- wildberries_sdk/communications/py.typed +0 -0
- wildberries_sdk/communications/rest.py +263 -0
- wildberries_sdk/finances/__init__.py +84 -0
- wildberries_sdk/finances/api/__init__.py +6 -0
- wildberries_sdk/finances/api/api.py +404 -0
- wildberries_sdk/finances/api/default_api.py +1579 -0
- wildberries_sdk/finances/api_client.py +804 -0
- wildberries_sdk/finances/api_response.py +21 -0
- wildberries_sdk/finances/configuration.py +608 -0
- wildberries_sdk/finances/exceptions.py +219 -0
- wildberries_sdk/finances/models/__init__.py +33 -0
- wildberries_sdk/finances/models/api_v1_account_balance_get200_response.py +91 -0
- wildberries_sdk/finances/models/api_v1_account_balance_get401_response.py +102 -0
- wildberries_sdk/finances/models/api_v1_documents_list_get400_response.py +95 -0
- wildberries_sdk/finances/models/api_v5_supplier_report_detail_by_period_get400_response.py +95 -0
- wildberries_sdk/finances/models/detail_report_item.py +263 -0
- wildberries_sdk/finances/models/get_categories.py +91 -0
- wildberries_sdk/finances/models/get_categories_data.py +95 -0
- wildberries_sdk/finances/models/get_categories_data_categories_inner.py +89 -0
- wildberries_sdk/finances/models/get_doc.py +91 -0
- wildberries_sdk/finances/models/get_doc_data.py +91 -0
- wildberries_sdk/finances/models/get_docs.py +91 -0
- wildberries_sdk/finances/models/get_docs_data.py +91 -0
- wildberries_sdk/finances/models/get_list.py +91 -0
- wildberries_sdk/finances/models/get_list_data.py +95 -0
- wildberries_sdk/finances/models/get_list_data_documents_inner.py +97 -0
- wildberries_sdk/finances/models/request_download.py +96 -0
- wildberries_sdk/finances/models/request_download_params_inner.py +89 -0
- wildberries_sdk/finances/py.typed +0 -0
- wildberries_sdk/finances/rest.py +263 -0
- wildberries_sdk/general/__init__.py +84 -0
- wildberries_sdk/general/api/__init__.py +7 -0
- wildberries_sdk/general/api/api.py +1454 -0
- wildberries_sdk/general/api/api_api.py +341 -0
- wildberries_sdk/general/api/wbapi_api.py +291 -0
- wildberries_sdk/general/api_client.py +804 -0
- wildberries_sdk/general/api_response.py +21 -0
- wildberries_sdk/general/configuration.py +608 -0
- wildberries_sdk/general/exceptions.py +219 -0
- wildberries_sdk/general/models/__init__.py +32 -0
- wildberries_sdk/general/models/access_inner.py +96 -0
- wildberries_sdk/general/models/api_communications_v2_news_get200_response.py +95 -0
- wildberries_sdk/general/models/api_communications_v2_news_get200_response_data_inner.py +104 -0
- wildberries_sdk/general/models/api_communications_v2_news_get200_response_data_inner_types_inner.py +89 -0
- wildberries_sdk/general/models/api_v1_seller_info_get200_response.py +91 -0
- wildberries_sdk/general/models/create_invite_request.py +101 -0
- wildberries_sdk/general/models/create_invite_request_invite.py +90 -0
- wildberries_sdk/general/models/create_invite_response.py +95 -0
- wildberries_sdk/general/models/error_response.py +95 -0
- wildberries_sdk/general/models/get_users_response.py +99 -0
- wildberries_sdk/general/models/get_users_response_users_inner.py +135 -0
- wildberries_sdk/general/models/get_users_response_users_inner_invitee_info.py +96 -0
- wildberries_sdk/general/models/ping_get200_response.py +99 -0
- wildberries_sdk/general/models/ping_get401_response.py +102 -0
- wildberries_sdk/general/models/update_user_access_request.py +95 -0
- wildberries_sdk/general/models/user_access.py +97 -0
- wildberries_sdk/general/py.typed +0 -0
- wildberries_sdk/general/rest.py +263 -0
- wildberries_sdk/in_store_pickup/__init__.py +98 -0
- wildberries_sdk/in_store_pickup/api/__init__.py +6 -0
- wildberries_sdk/in_store_pickup/api/api.py +2884 -0
- wildberries_sdk/in_store_pickup/api_client.py +804 -0
- wildberries_sdk/in_store_pickup/api_response.py +21 -0
- wildberries_sdk/in_store_pickup/configuration.py +608 -0
- wildberries_sdk/in_store_pickup/exceptions.py +219 -0
- wildberries_sdk/in_store_pickup/models/__init__.py +40 -0
- wildberries_sdk/in_store_pickup/models/api_base_meta.py +109 -0
- wildberries_sdk/in_store_pickup/models/api_base_meta_gtin.py +92 -0
- wildberries_sdk/in_store_pickup/models/api_base_meta_imei.py +92 -0
- wildberries_sdk/in_store_pickup/models/api_base_meta_sgtin.py +92 -0
- wildberries_sdk/in_store_pickup/models/api_base_meta_uin.py +92 -0
- wildberries_sdk/in_store_pickup/models/api_check_identity_request.py +89 -0
- wildberries_sdk/in_store_pickup/models/api_checked_identity.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_error.py +91 -0
- wildberries_sdk/in_store_pickup/models/api_gtin_request.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_imei_request.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_new_order.py +150 -0
- wildberries_sdk/in_store_pickup/models/api_new_orders.py +95 -0
- wildberries_sdk/in_store_pickup/models/api_order.py +134 -0
- wildberries_sdk/in_store_pickup/models/api_order_client_info.py +93 -0
- wildberries_sdk/in_store_pickup/models/api_order_client_info_resp.py +95 -0
- wildberries_sdk/in_store_pickup/models/api_order_status.py +91 -0
- wildberries_sdk/in_store_pickup/models/api_order_statuses.py +95 -0
- wildberries_sdk/in_store_pickup/models/api_orders.py +97 -0
- wildberries_sdk/in_store_pickup/models/api_orders_meta.py +91 -0
- wildberries_sdk/in_store_pickup/models/api_orders_request.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_sgtins_request.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_uin_request.py +87 -0
- wildberries_sdk/in_store_pickup/models/api_v3_click_collect_orders_new_get401_response.py +102 -0
- wildberries_sdk/in_store_pickup/models/error.py +96 -0
- wildberries_sdk/in_store_pickup/py.typed +0 -0
- wildberries_sdk/in_store_pickup/rest.py +263 -0
- wildberries_sdk/orders_dbs/__init__.py +112 -0
- wildberries_sdk/orders_dbs/api/__init__.py +6 -0
- wildberries_sdk/orders_dbs/api/dbs_api.py +3261 -0
- wildberries_sdk/orders_dbs/api_client.py +804 -0
- wildberries_sdk/orders_dbs/api_response.py +21 -0
- wildberries_sdk/orders_dbs/configuration.py +608 -0
- wildberries_sdk/orders_dbs/exceptions.py +219 -0
- wildberries_sdk/orders_dbs/models/__init__.py +47 -0
- wildberries_sdk/orders_dbs/models/api_order_group_inner.py +95 -0
- wildberries_sdk/orders_dbs/models/api_order_groups_request.py +88 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_get200_response.py +97 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_new_get200_response.py +95 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_new_get401_response.py +102 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_order_id_meta_get200_response.py +96 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_order_id_meta_gtin_put_request.py +88 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_order_id_meta_imei_put_request.py +88 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_order_id_meta_sgtin_put_request.py +88 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_order_id_meta_uin_put_request.py +88 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_status_post200_response.py +95 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_status_post200_response_orders_inner.py +91 -0
- wildberries_sdk/orders_dbs/models/api_v3_dbs_orders_status_post_request.py +88 -0
- wildberries_sdk/orders_dbs/models/code.py +87 -0
- wildberries_sdk/orders_dbs/models/dbs_only_client_info.py +99 -0
- wildberries_sdk/orders_dbs/models/dbs_only_client_info_resp.py +95 -0
- wildberries_sdk/orders_dbs/models/delivery_dates_info_resp.py +95 -0
- wildberries_sdk/orders_dbs/models/delivery_dates_info_resp_orders_inner.py +124 -0
- wildberries_sdk/orders_dbs/models/delivery_dates_request.py +88 -0
- wildberries_sdk/orders_dbs/models/error.py +96 -0
- wildberries_sdk/orders_dbs/models/meta.py +109 -0
- wildberries_sdk/orders_dbs/models/meta_gtin.py +92 -0
- wildberries_sdk/orders_dbs/models/meta_imei.py +92 -0
- wildberries_sdk/orders_dbs/models/meta_sgtin.py +92 -0
- wildberries_sdk/orders_dbs/models/meta_uin.py +92 -0
- wildberries_sdk/orders_dbs/models/order_dbs.py +156 -0
- wildberries_sdk/orders_dbs/models/order_dbs_address.py +91 -0
- wildberries_sdk/orders_dbs/models/order_new_dbs.py +175 -0
- wildberries_sdk/orders_dbs/models/order_new_dbs_address.py +91 -0
- wildberries_sdk/orders_dbs/models/order_new_dbs_options.py +87 -0
- wildberries_sdk/orders_dbs/models/orders_request_api.py +87 -0
- wildberries_sdk/orders_dbs/py.typed +0 -0
- wildberries_sdk/orders_dbs/rest.py +263 -0
- wildberries_sdk/orders_dbw/__init__.py +114 -0
- wildberries_sdk/orders_dbw/api/__init__.py +6 -0
- wildberries_sdk/orders_dbw/api/dbw_api.py +2688 -0
- wildberries_sdk/orders_dbw/api_client.py +804 -0
- wildberries_sdk/orders_dbw/api_response.py +21 -0
- wildberries_sdk/orders_dbw/configuration.py +608 -0
- wildberries_sdk/orders_dbw/exceptions.py +219 -0
- wildberries_sdk/orders_dbw/models/__init__.py +48 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_get200_response.py +97 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_new_get200_response.py +95 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_new_get401_response.py +102 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_get200_response.py +96 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_gtin_put_request.py +88 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_imei_put_request.py +88 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_sgtin_put_request.py +88 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_order_id_meta_uin_put_request.py +88 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post200_response.py +95 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post200_response_orders_inner.py +91 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_status_post_request.py +88 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post200_response.py +95 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post200_response_stickers_inner.py +95 -0
- wildberries_sdk/orders_dbw/models/api_v3_dbw_orders_stickers_post_request.py +88 -0
- wildberries_sdk/orders_dbw/models/courier_contacts_response.py +91 -0
- wildberries_sdk/orders_dbw/models/courier_info.py +120 -0
- wildberries_sdk/orders_dbw/models/delivery_dates_info_resp.py +95 -0
- wildberries_sdk/orders_dbw/models/delivery_dates_info_resp_orders_inner.py +124 -0
- wildberries_sdk/orders_dbw/models/delivery_dates_request.py +88 -0
- wildberries_sdk/orders_dbw/models/error.py +96 -0
- wildberries_sdk/orders_dbw/models/meta.py +109 -0
- wildberries_sdk/orders_dbw/models/meta_gtin.py +92 -0
- wildberries_sdk/orders_dbw/models/meta_imei.py +92 -0
- wildberries_sdk/orders_dbw/models/meta_sgtin.py +92 -0
- wildberries_sdk/orders_dbw/models/meta_uin.py +92 -0
- wildberries_sdk/orders_dbw/models/order.py +150 -0
- wildberries_sdk/orders_dbw/models/order_courier_info.py +93 -0
- wildberries_sdk/orders_dbw/models/order_courier_info_resp.py +95 -0
- wildberries_sdk/orders_dbw/models/order_new_dbw.py +164 -0
- wildberries_sdk/orders_dbw/models/order_new_dbw_address.py +91 -0
- wildberries_sdk/orders_dbw/models/order_new_dbw_options.py +87 -0
- wildberries_sdk/orders_dbw/models/orders_request_api.py +87 -0
- wildberries_sdk/orders_dbw/py.typed +0 -0
- wildberries_sdk/orders_dbw/rest.py +263 -0
- wildberries_sdk/orders_fbs/__init__.py +178 -0
- wildberries_sdk/orders_fbs/api/__init__.py +6 -0
- wildberries_sdk/orders_fbs/api/fbs_api.py +2683 -0
- wildberries_sdk/orders_fbs/api_client.py +804 -0
- wildberries_sdk/orders_fbs/api_response.py +21 -0
- wildberries_sdk/orders_fbs/configuration.py +608 -0
- wildberries_sdk/orders_fbs/exceptions.py +219 -0
- wildberries_sdk/orders_fbs/models/__init__.py +80 -0
- wildberries_sdk/orders_fbs/models/api_marketplace_v3_supplies_supply_id_orders_patch_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_get200_response.py +97 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_new_get200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_expiration_put_request.py +87 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_get200_response.py +91 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_gtin_put_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_imei_put_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_sgtin_put_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_order_id_meta_uin_put_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner.py +100 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post200_response_orders_inner_statuses_inner.py +94 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_history_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post200_response_orders_inner.py +111 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_status_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post200_response_stickers_inner.py +91 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_cross_border_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post200_response_stickers_inner.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_orders_stickers_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_passes_offices_get401_response.py +102 -0
- wildberries_sdk/orders_fbs/models/api_v3_passes_pass_id_put_request.py +96 -0
- wildberries_sdk/orders_fbs/models/api_v3_passes_post201_response.py +87 -0
- wildberries_sdk/orders_fbs/models/api_v3_passes_post_request.py +96 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_get200_response.py +97 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_orders_reshipment_get200_response_orders_inner.py +99 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_post201_response.py +87 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_barcode_get200_response.py +89 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_orders_get200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_delete_request.py +87 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_get200_response.py +95 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post201_response.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_post_request.py +88 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post200_response.py +96 -0
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_trbx_stickers_post_request.py +87 -0
- wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info.py +99 -0
- wildberries_sdk/orders_fbs/models/crossborder_turkey_client_info_resp.py +95 -0
- wildberries_sdk/orders_fbs/models/error.py +96 -0
- wildberries_sdk/orders_fbs/models/meta.py +115 -0
- wildberries_sdk/orders_fbs/models/meta_expiration.py +92 -0
- wildberries_sdk/orders_fbs/models/meta_gtin.py +92 -0
- wildberries_sdk/orders_fbs/models/meta_imei.py +92 -0
- wildberries_sdk/orders_fbs/models/meta_sgtin.py +92 -0
- wildberries_sdk/orders_fbs/models/meta_uin.py +92 -0
- wildberries_sdk/orders_fbs/models/model_pass.py +103 -0
- wildberries_sdk/orders_fbs/models/order.py +173 -0
- wildberries_sdk/orders_fbs/models/order_address.py +91 -0
- wildberries_sdk/orders_fbs/models/order_new.py +210 -0
- wildberries_sdk/orders_fbs/models/order_options.py +87 -0
- wildberries_sdk/orders_fbs/models/orders_request_api.py +87 -0
- wildberries_sdk/orders_fbs/models/pass_office.py +91 -0
- wildberries_sdk/orders_fbs/models/supply.py +127 -0
- wildberries_sdk/orders_fbs/models/supply_order.py +142 -0
- wildberries_sdk/orders_fbs/models/supply_trbx.py +87 -0
- wildberries_sdk/orders_fbs/models/trbx_stickers.py +90 -0
- wildberries_sdk/orders_fbs/models/v3_api_error.py +91 -0
- wildberries_sdk/orders_fbs/models/v3_get_meta_multi_request.py +88 -0
- wildberries_sdk/orders_fbs/models/v3_order_meta_api.py +92 -0
- wildberries_sdk/orders_fbs/models/v3_orders_meta_api.py +95 -0
- wildberries_sdk/orders_fbs/models/v3_supply_order_ids_api.py +87 -0
- wildberries_sdk/orders_fbs/py.typed +0 -0
- wildberries_sdk/orders_fbs/rest.py +263 -0
- wildberries_sdk/orders_fbw/__init__.py +88 -0
- wildberries_sdk/orders_fbw/api/__init__.py +6 -0
- wildberries_sdk/orders_fbw/api/api.py +1153 -0
- wildberries_sdk/orders_fbw/api_client.py +804 -0
- wildberries_sdk/orders_fbw/api_response.py +21 -0
- wildberries_sdk/orders_fbw/configuration.py +608 -0
- wildberries_sdk/orders_fbw/exceptions.py +219 -0
- wildberries_sdk/orders_fbw/models/__init__.py +35 -0
- wildberries_sdk/orders_fbw/models/api_v1_acceptance_coefficients_get401_response.py +102 -0
- wildberries_sdk/orders_fbw/models/models_acceptance_coefficient.py +141 -0
- wildberries_sdk/orders_fbw/models/models_box.py +99 -0
- wildberries_sdk/orders_fbw/models/models_date_filter_request.py +98 -0
- wildberries_sdk/orders_fbw/models/models_error_model.py +95 -0
- wildberries_sdk/orders_fbw/models/models_good.py +90 -0
- wildberries_sdk/orders_fbw/models/models_good_in_box.py +89 -0
- wildberries_sdk/orders_fbw/models/models_good_in_supply.py +139 -0
- wildberries_sdk/orders_fbw/models/models_handy_supply_status.py +41 -0
- wildberries_sdk/orders_fbw/models/models_options_result_model.py +97 -0
- wildberries_sdk/orders_fbw/models/models_options_result_model_result_inner.py +110 -0
- wildberries_sdk/orders_fbw/models/models_options_result_model_result_inner_error.py +89 -0
- wildberries_sdk/orders_fbw/models/models_options_result_model_result_inner_warehouses_inner.py +93 -0
- wildberries_sdk/orders_fbw/models/models_supplies_filters_request.py +98 -0
- wildberries_sdk/orders_fbw/models/models_supply.py +131 -0
- wildberries_sdk/orders_fbw/models/models_supply_details.py +200 -0
- wildberries_sdk/orders_fbw/models/models_transit_tariff.py +109 -0
- wildberries_sdk/orders_fbw/models/models_volume_tariff.py +91 -0
- wildberries_sdk/orders_fbw/models/models_warehouses_result_items.py +97 -0
- wildberries_sdk/orders_fbw/py.typed +0 -0
- wildberries_sdk/orders_fbw/rest.py +263 -0
- wildberries_sdk/products/__init__.py +334 -0
- wildberries_sdk/products/api/__init__.py +8 -0
- wildberries_sdk/products/api/api.py +3891 -0
- wildberries_sdk/products/api/default_api.py +2076 -0
- wildberries_sdk/products/api_client.py +804 -0
- wildberries_sdk/products/api_response.py +21 -0
- wildberries_sdk/products/configuration.py +608 -0
- wildberries_sdk/products/exceptions.py +219 -0
- wildberries_sdk/products/models/__init__.py +156 -0
- wildberries_sdk/products/models/api_v2_buffer_goods_task_get200_response.py +95 -0
- wildberries_sdk/products/models/api_v2_buffer_goods_task_get200_response_data.py +107 -0
- wildberries_sdk/products/models/api_v2_buffer_tasks_get200_response.py +100 -0
- wildberries_sdk/products/models/api_v2_history_goods_task_get200_response.py +91 -0
- wildberries_sdk/products/models/api_v2_history_goods_task_get200_response_data.py +97 -0
- wildberries_sdk/products/models/api_v2_history_tasks_get200_response.py +100 -0
- wildberries_sdk/products/models/api_v2_list_goods_filter_get200_response.py +95 -0
- wildberries_sdk/products/models/api_v2_list_goods_filter_get200_response_data.py +95 -0
- wildberries_sdk/products/models/api_v2_list_goods_filter_post_request.py +88 -0
- wildberries_sdk/products/models/api_v2_list_goods_size_nm_get200_response.py +95 -0
- wildberries_sdk/products/models/api_v2_list_goods_size_nm_get200_response_data.py +100 -0
- wildberries_sdk/products/models/api_v2_quarantine_goods_get200_response.py +100 -0
- wildberries_sdk/products/models/api_v2_quarantine_goods_get200_response_data.py +95 -0
- wildberries_sdk/products/models/api_v2_upload_task_club_discount_post_request.py +95 -0
- wildberries_sdk/products/models/api_v2_upload_task_post_request.py +95 -0
- wildberries_sdk/products/models/api_v2_upload_task_size_post_request.py +95 -0
- wildberries_sdk/products/models/api_v3_dbw_warehouses_warehouse_id_contacts_get200_response.py +95 -0
- wildberries_sdk/products/models/api_v3_dbw_warehouses_warehouse_id_contacts_get200_response_contacts_inner.py +90 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_delete_request.py +90 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post200_response.py +95 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post200_response_stocks_inner.py +91 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_post_request.py +90 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put406_response.py +96 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put_request.py +96 -0
- wildberries_sdk/products/models/api_v3_stocks_warehouse_id_put_request_stocks_inner.py +92 -0
- wildberries_sdk/products/models/api_v3_warehouses_post201_response.py +87 -0
- wildberries_sdk/products/models/api_v3_warehouses_post_request.py +90 -0
- wildberries_sdk/products/models/brands_response.py +99 -0
- wildberries_sdk/products/models/brands_response_brands_inner.py +91 -0
- wildberries_sdk/products/models/brands_response_error.py +103 -0
- wildberries_sdk/products/models/brands_response_error_errors_inner.py +96 -0
- wildberries_sdk/products/models/club_disc_req.py +89 -0
- wildberries_sdk/products/models/content_v2_barcodes_post200_response.py +98 -0
- wildberries_sdk/products/models/content_v2_barcodes_post_request.py +87 -0
- wildberries_sdk/products/models/content_v2_cards_delete_trash_post200_response.py +103 -0
- wildberries_sdk/products/models/content_v2_cards_delete_trash_post_request.py +87 -0
- wildberries_sdk/products/models/content_v2_cards_limits_get200_response.py +102 -0
- wildberries_sdk/products/models/content_v2_cards_limits_get200_response_data.py +89 -0
- wildberries_sdk/products/models/content_v2_cards_move_nm_post400_response.py +137 -0
- wildberries_sdk/products/models/content_v2_cards_move_nm_post_request.py +137 -0
- wildberries_sdk/products/models/content_v2_cards_update_post413_response.py +99 -0
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner.py +122 -0
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_characteristics_inner.py +94 -0
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_dimensions.py +93 -0
- wildberries_sdk/products/models/content_v2_cards_update_post_request_inner_sizes_inner.py +95 -0
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request.py +97 -0
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request_cards_to_add_inner.py +126 -0
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request_cards_to_add_inner_dimensions.py +93 -0
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner.py +97 -0
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner.py +126 -0
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner_dimensions.py +93 -0
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner_variants_inner_sizes_inner.py +93 -0
- wildberries_sdk/products/models/content_v2_directory_colors_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_directory_colors_get200_response_data_inner.py +89 -0
- wildberries_sdk/products/models/content_v2_directory_countries_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_directory_countries_get200_response_data_inner.py +89 -0
- wildberries_sdk/products/models/content_v2_directory_kinds_get200_response.py +98 -0
- wildberries_sdk/products/models/content_v2_directory_seasons_get200_response.py +98 -0
- wildberries_sdk/products/models/content_v2_directory_tnved_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_directory_tnved_get200_response_data_inner.py +89 -0
- wildberries_sdk/products/models/content_v2_directory_vat_get200_response.py +98 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response.py +101 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner.py +163 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_characteristics_inner.py +96 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_dimensions.py +95 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_photos_inner.py +95 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_sizes_inner.py +93 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_tags_inner.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner_wholesale.py +89 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cursor.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings.py +103 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_cursor.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_filter.py +99 -0
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_sort.py +87 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response.py +101 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cards_inner.py +146 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cards_inner_sizes_inner.py +93 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post200_response_cursor.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings.py +103 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_cursor.py +91 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_filter.py +87 -0
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_sort.py +87 -0
- wildberries_sdk/products/models/content_v2_object_all_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_object_all_get200_response_data_inner.py +93 -0
- wildberries_sdk/products/models/content_v2_object_charcs_subject_id_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_object_charcs_subject_id_get200_response_data_inner.py +103 -0
- wildberries_sdk/products/models/content_v2_object_parent_all_get200_response.py +106 -0
- wildberries_sdk/products/models/content_v2_object_parent_all_get200_response_data_inner.py +91 -0
- wildberries_sdk/products/models/content_v2_object_parent_all_get401_response.py +102 -0
- wildberries_sdk/products/models/content_v2_tag_id_patch_request.py +89 -0
- wildberries_sdk/products/models/content_v2_tag_nomenclature_link_post_request.py +89 -0
- wildberries_sdk/products/models/content_v2_tag_post_request.py +89 -0
- wildberries_sdk/products/models/content_v2_tags_get200_response.py +102 -0
- wildberries_sdk/products/models/content_v2_tags_get200_response_data.py +91 -0
- wildberries_sdk/products/models/content_v3_media_file_post200_response.py +98 -0
- wildberries_sdk/products/models/content_v3_media_save_post_request.py +89 -0
- wildberries_sdk/products/models/error.py +96 -0
- wildberries_sdk/products/models/good.py +91 -0
- wildberries_sdk/products/models/good_buffer_history.py +110 -0
- wildberries_sdk/products/models/good_history.py +110 -0
- wildberries_sdk/products/models/goods_list.py +109 -0
- wildberries_sdk/products/models/goods_list_sizes_inner.py +95 -0
- wildberries_sdk/products/models/media_errors.py +103 -0
- wildberries_sdk/products/models/models_error_brand.py +89 -0
- wildberries_sdk/products/models/models_error_subject.py +89 -0
- wildberries_sdk/products/models/models_error_table_list_public_resp_v2.py +101 -0
- wildberries_sdk/products/models/models_error_table_list_public_resp_v2_item.py +121 -0
- wildberries_sdk/products/models/office.py +130 -0
- wildberries_sdk/products/models/quarantine_goods.py +108 -0
- wildberries_sdk/products/models/request_already_exists_error.py +95 -0
- wildberries_sdk/products/models/request_already_exists_error_data.py +89 -0
- wildberries_sdk/products/models/request_move_nms_imt_conn.py +89 -0
- wildberries_sdk/products/models/request_move_nms_imt_disconn.py +87 -0
- wildberries_sdk/products/models/request_public_viewer_public_errors_table_list_v2.py +97 -0
- wildberries_sdk/products/models/response_body_content_error400.py +103 -0
- wildberries_sdk/products/models/response_body_content_error403.py +103 -0
- wildberries_sdk/products/models/response_card_create.py +102 -0
- wildberries_sdk/products/models/response_card_create_additional_errors.py +154 -0
- wildberries_sdk/products/models/response_card_create_additional_errors_one_of.py +87 -0
- wildberries_sdk/products/models/response_card_create_additional_errors_one_of1.py +87 -0
- wildberries_sdk/products/models/response_content_error.py +103 -0
- wildberries_sdk/products/models/response_error.py +96 -0
- wildberries_sdk/products/models/response_incorrect_date.py +87 -0
- wildberries_sdk/products/models/response_public_viewer_public_errors_table_list_v2.py +102 -0
- wildberries_sdk/products/models/size_good.py +109 -0
- wildberries_sdk/products/models/size_good_req.py +91 -0
- wildberries_sdk/products/models/stocks_warehouse_error_inner.py +104 -0
- wildberries_sdk/products/models/stocks_warehouse_error_inner_data_inner.py +89 -0
- wildberries_sdk/products/models/store_contact_request_body.py +96 -0
- wildberries_sdk/products/models/store_contact_request_body_contacts_inner.py +90 -0
- wildberries_sdk/products/models/supplier_task_metadata.py +98 -0
- wildberries_sdk/products/models/supplier_task_metadata_buffer.py +98 -0
- wildberries_sdk/products/models/swagger_public_errors_cursor_input.py +93 -0
- wildberries_sdk/products/models/swagger_public_errors_order_v2.py +87 -0
- wildberries_sdk/products/models/task_created.py +95 -0
- wildberries_sdk/products/models/task_created_data.py +89 -0
- wildberries_sdk/products/models/viewer_contract_public_errors_cursor_output.py +92 -0
- wildberries_sdk/products/models/warehouse.py +119 -0
- wildberries_sdk/products/py.typed +0 -0
- wildberries_sdk/products/rest.py +263 -0
- wildberries_sdk/promotion/__init__.py +376 -0
- wildberries_sdk/promotion/api/__init__.py +6 -0
- wildberries_sdk/promotion/api/api.py +9087 -0
- wildberries_sdk/promotion/api/default_api.py +5738 -0
- wildberries_sdk/promotion/api_client.py +804 -0
- wildberries_sdk/promotion/api_response.py +21 -0
- wildberries_sdk/promotion/configuration.py +608 -0
- wildberries_sdk/promotion/exceptions.py +219 -0
- wildberries_sdk/promotion/models/__init__.py +179 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch200_response.py +95 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch200_response_bids_inner.py +97 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch200_response_bids_inner_nm_bids_inner.py +91 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch_request.py +96 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch_request_bids_inner.py +98 -0
- wildberries_sdk/promotion/models/adv_v0_auction_bids_patch_request_bids_inner_nm_bids_inner.py +98 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch200_response.py +95 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch200_response_nms_inner.py +93 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch200_response_nms_inner_nms.py +89 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch_request.py +96 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch_request_nms_inner.py +93 -0
- wildberries_sdk/promotion/models/adv_v0_auction_nms_patch_request_nms_inner_nms.py +89 -0
- wildberries_sdk/promotion/models/adv_v0_auction_placements_put_request.py +96 -0
- wildberries_sdk/promotion/models/adv_v0_auction_placements_put_request_placements_inner.py +93 -0
- wildberries_sdk/promotion/models/adv_v0_auction_placements_put_request_placements_inner_placements.py +89 -0
- wildberries_sdk/promotion/models/adv_v0_bids_min_post200_response.py +95 -0
- wildberries_sdk/promotion/models/adv_v0_bids_min_post200_response_bids_inner.py +97 -0
- wildberries_sdk/promotion/models/adv_v0_bids_min_post200_response_bids_inner_bids_inner.py +90 -0
- wildberries_sdk/promotion/models/adv_v0_bids_min_post_request.py +108 -0
- wildberries_sdk/promotion/models/adv_v0_bids_patch400_response.py +107 -0
- wildberries_sdk/promotion/models/adv_v0_bids_patch400_response_errors_inner.py +89 -0
- wildberries_sdk/promotion/models/adv_v0_bids_patch_request.py +96 -0
- wildberries_sdk/promotion/models/adv_v0_config_get200_response.py +105 -0
- wildberries_sdk/promotion/models/adv_v0_config_get200_response_config_inner.py +91 -0
- wildberries_sdk/promotion/models/adv_v0_rename_post_request.py +89 -0
- wildberries_sdk/promotion/models/adv_v1_advert_get200_response.py +114 -0
- wildberries_sdk/promotion/models/adv_v1_advert_get200_response_extended.py +109 -0
- wildberries_sdk/promotion/models/adv_v1_advert_get200_response_items_inner.py +144 -0
- wildberries_sdk/promotion/models/adv_v1_advert_get200_response_items_inner_show_hours_inner.py +89 -0
- wildberries_sdk/promotion/models/adv_v1_adverts_get200_response_inner.py +100 -0
- wildberries_sdk/promotion/models/adv_v1_auto_updatenm_post_request.py +89 -0
- wildberries_sdk/promotion/models/adv_v1_balance_get200_response.py +101 -0
- wildberries_sdk/promotion/models/adv_v1_balance_get200_response_cashbacks_inner.py +91 -0
- wildberries_sdk/promotion/models/adv_v1_budget_deposit_post400_response.py +87 -0
- wildberries_sdk/promotion/models/adv_v1_budget_deposit_post_request.py +105 -0
- wildberries_sdk/promotion/models/adv_v1_budget_get200_response.py +91 -0
- wildberries_sdk/promotion/models/adv_v1_count_get200_response.py +93 -0
- wildberries_sdk/promotion/models/adv_v1_count_get200_response_adverts.py +91 -0
- wildberries_sdk/promotion/models/adv_v1_payments_get200_response_inner.py +97 -0
- wildberries_sdk/promotion/models/adv_v1_promotion_count_get200_response.py +102 -0
- wildberries_sdk/promotion/models/adv_v1_promotion_count_get200_response_adverts_inner.py +101 -0
- wildberries_sdk/promotion/models/adv_v1_promotion_count_get200_response_adverts_inner_advert_list_inner.py +90 -0
- wildberries_sdk/promotion/models/adv_v1_promotion_count_get401_response.py +102 -0
- wildberries_sdk/promotion/models/adv_v1_search_set_excluded_post_request.py +87 -0
- wildberries_sdk/promotion/models/adv_v1_search_set_plus_post_request.py +87 -0
- wildberries_sdk/promotion/models/adv_v1_stat_words_get200_response.py +101 -0
- wildberries_sdk/promotion/models/adv_v1_stat_words_get200_response_stat_inner.py +112 -0
- wildberries_sdk/promotion/models/adv_v1_stat_words_get200_response_words.py +105 -0
- wildberries_sdk/promotion/models/adv_v1_stat_words_get200_response_words_keywords_inner.py +89 -0
- wildberries_sdk/promotion/models/adv_v1_stats_post200_response_inner.py +151 -0
- wildberries_sdk/promotion/models/adv_v1_supplier_subjects_get200_response_inner.py +91 -0
- wildberries_sdk/promotion/models/adv_v1_upd_get200_response_inner.py +106 -0
- wildberries_sdk/promotion/models/adv_v2_auto_stat_words_get200_response.py +97 -0
- wildberries_sdk/promotion/models/adv_v2_auto_stat_words_get200_response_clusters_inner.py +91 -0
- wildberries_sdk/promotion/models/adv_v2_fullstats_post200_response.py +145 -0
- wildberries_sdk/promotion/models/adv_v2_fullstats_post_request_inner.py +151 -0
- wildberries_sdk/promotion/models/adv_v2_seacat_save_ad_post_request.py +126 -0
- wildberries_sdk/promotion/models/adv_v2_supplier_nms_post200_response_inner.py +91 -0
- wildberries_sdk/promotion/models/advert_bids_kopecks.py +89 -0
- wildberries_sdk/promotion/models/advert_nms_settings.py +99 -0
- wildberries_sdk/promotion/models/advert_settings.py +102 -0
- wildberries_sdk/promotion/models/advert_subject.py +89 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_min_post200_response.py +95 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_min_post200_response_bids_inner.py +97 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_min_post200_response_bids_inner_bids_inner.py +90 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch200_response.py +95 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch200_response_bids_inner.py +97 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch200_response_bids_inner_nm_bids_inner.py +91 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch_request.py +96 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch_request_bids_inner.py +98 -0
- wildberries_sdk/promotion/models/api_advert_v1_bids_patch_request_bids_inner_nm_bids_inner.py +98 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_details_get200_response.py +91 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_details_get200_response_data.py +95 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_details_get200_response_data_promotions_inner.py +131 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_details_get200_response_data_promotions_inner_ranging_inner.py +92 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_get200_response.py +91 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_get200_response_data.py +95 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_get200_response_data_promotions_inner.py +106 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_get400_response.py +87 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_nomenclatures_get200_response.py +91 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_nomenclatures_get200_response_data.py +95 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_nomenclatures_get400_response.py +87 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_nomenclatures_get422_response.py +87 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_upload_post200_response.py +91 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_upload_post200_response_data.py +89 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_upload_post422_response.py +87 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_upload_post_request.py +91 -0
- wildberries_sdk/promotion/models/api_v1_calendar_promotions_upload_post_request_data.py +92 -0
- wildberries_sdk/promotion/models/auction_advert_bids.py +89 -0
- wildberries_sdk/promotion/models/auction_advert_nms_settings.py +99 -0
- wildberries_sdk/promotion/models/auction_advert_settings.py +102 -0
- wildberries_sdk/promotion/models/auction_advert_subject.py +89 -0
- wildberries_sdk/promotion/models/booster_stats_inner.py +92 -0
- wildberries_sdk/promotion/models/booster_stats_v3_inner.py +92 -0
- wildberries_sdk/promotion/models/daily_stats1_inner.py +98 -0
- wildberries_sdk/promotion/models/daily_stats1_inner_app_type_stats_inner.py +97 -0
- wildberries_sdk/promotion/models/daily_stats2_inner.py +98 -0
- wildberries_sdk/promotion/models/daily_stats2_inner_app_type_stats_inner.py +97 -0
- wildberries_sdk/promotion/models/days_inner.py +118 -0
- wildberries_sdk/promotion/models/days_inner_apps_inner.py +117 -0
- wildberries_sdk/promotion/models/days_inner_apps_inner_nm_inner.py +109 -0
- wildberries_sdk/promotion/models/days_v3_inner.py +120 -0
- wildberries_sdk/promotion/models/days_v3_inner_apps_inner.py +126 -0
- wildberries_sdk/promotion/models/days_v3_inner_apps_inner_nms_inner.py +111 -0
- wildberries_sdk/promotion/models/error_response.py +89 -0
- wildberries_sdk/promotion/models/full_stats_error.py +95 -0
- wildberries_sdk/promotion/models/full_stats_item.py +129 -0
- wildberries_sdk/promotion/models/get_adverts.py +95 -0
- wildberries_sdk/promotion/models/get_adverts_adverts_inner.py +120 -0
- wildberries_sdk/promotion/models/get_auction_adverts.py +95 -0
- wildberries_sdk/promotion/models/get_auction_adverts_adverts_inner.py +120 -0
- wildberries_sdk/promotion/models/model400_response.py +87 -0
- wildberries_sdk/promotion/models/placement_type.py +38 -0
- wildberries_sdk/promotion/models/promotions_goods_list.py +99 -0
- wildberries_sdk/promotion/models/request_with_campaign_id.py +87 -0
- wildberries_sdk/promotion/models/request_with_date.py +90 -0
- wildberries_sdk/promotion/models/request_with_interval.py +93 -0
- wildberries_sdk/promotion/models/request_with_interval_interval.py +90 -0
- wildberries_sdk/promotion/models/response400.py +95 -0
- wildberries_sdk/promotion/models/response_adv_error1.py +87 -0
- wildberries_sdk/promotion/models/response_info_advert_type8.py +112 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params.py +131 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params_active.py +91 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params_menus_inner.py +89 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params_nm_cpm_inner.py +89 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params_sets_inner.py +89 -0
- wildberries_sdk/promotion/models/response_info_advert_type8_auto_params_subject.py +89 -0
- wildberries_sdk/promotion/models/response_with_date_inner.py +130 -0
- wildberries_sdk/promotion/models/response_with_interval_inner.py +133 -0
- wildberries_sdk/promotion/models/response_with_interval_inner_interval.py +90 -0
- wildberries_sdk/promotion/models/response_with_return.py +87 -0
- wildberries_sdk/promotion/models/standardized_batch_error.py +95 -0
- wildberries_sdk/promotion/models/stat.py +95 -0
- wildberries_sdk/promotion/models/stat_date.py +98 -0
- wildberries_sdk/promotion/models/stat_interval.py +101 -0
- wildberries_sdk/promotion/models/stat_interval_interval.py +90 -0
- wildberries_sdk/promotion/models/stats1_inner.py +93 -0
- wildberries_sdk/promotion/models/stats2_inner.py +97 -0
- wildberries_sdk/promotion/models/stats_blok1.py +136 -0
- wildberries_sdk/promotion/models/stats_blok2.py +136 -0
- wildberries_sdk/promotion/models/timestamps.py +99 -0
- wildberries_sdk/promotion/models/v0_advert_multi_bid_item.py +89 -0
- wildberries_sdk/promotion/models/v0_advert_multibid.py +97 -0
- wildberries_sdk/promotion/models/v0_get_config_categories_response.py +91 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_bids_item.py +93 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_bids_request.py +96 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_bids_request_item.py +89 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_bids_response.py +95 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_minus_request.py +96 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_minus_request_item.py +89 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_minus_response.py +95 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_minus_response_item.py +91 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_stats_item.py +100 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_stats_item_stat.py +103 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_stats_request.py +101 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_stats_request_items_inner.py +89 -0
- wildberries_sdk/promotion/models/v0_get_norm_query_stats_response.py +95 -0
- wildberries_sdk/promotion/models/v0_keywords_statistic.py +95 -0
- wildberries_sdk/promotion/models/v0_keywords_statistics.py +98 -0
- wildberries_sdk/promotion/models/v0_keywords_statistics_response.py +95 -0
- wildberries_sdk/promotion/models/v0_set_minus_norm_query_request.py +92 -0
- wildberries_sdk/promotion/models/v0_set_norm_query_bids_request.py +96 -0
- wildberries_sdk/promotion/models/v0_set_norm_query_bids_request_item.py +93 -0
- wildberries_sdk/promotion/py.typed +0 -0
- wildberries_sdk/promotion/rest.py +263 -0
- wildberries_sdk/reports/__init__.py +168 -0
- wildberries_sdk/reports/api/__init__.py +10 -0
- wildberries_sdk/reports/api/api.py +350 -0
- wildberries_sdk/reports/api/c_api.py +361 -0
- wildberries_sdk/reports/api_client.py +804 -0
- wildberries_sdk/reports/api_response.py +21 -0
- wildberries_sdk/reports/configuration.py +608 -0
- wildberries_sdk/reports/exceptions.py +219 -0
- wildberries_sdk/reports/models/__init__.py +71 -0
- wildberries_sdk/reports/models/api_v1_acceptance_report_tasks_task_id_download_get200_response_inner.py +100 -0
- wildberries_sdk/reports/models/api_v1_analytics_antifraud_details_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_antifraud_details_get200_response_details_inner.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_banned_products_blocked_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_banned_products_blocked_get200_response_report_inner.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_banned_products_blocked_get400_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_banned_products_shadowed_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_banned_products_shadowed_get200_response_report_inner.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_brand_share_brands_get200_response.py +87 -0
- wildberries_sdk/reports/models/api_v1_analytics_brand_share_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_brand_share_get200_response_report_inner.py +93 -0
- wildberries_sdk/reports/models/api_v1_analytics_brand_share_parent_subjects_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_brand_share_parent_subjects_get200_response_data_inner.py +89 -0
- wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response_report_inner.py +112 -0
- wildberries_sdk/reports/models/api_v1_analytics_goods_labeling_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_goods_labeling_get200_response_report_inner.py +100 -0
- wildberries_sdk/reports/models/api_v1_analytics_goods_return_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_goods_return_get200_response_report_inner.py +149 -0
- wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response_report_inner.py +97 -0
- wildberries_sdk/reports/models/api_v1_analytics_region_sale_get200_response.py +95 -0
- wildberries_sdk/reports/models/api_v1_analytics_region_sale_get200_response_report_inner.py +103 -0
- wildberries_sdk/reports/models/api_v1_analytics_warehouse_measurements_get200_response.py +137 -0
- wildberries_sdk/reports/models/api_v1_supplier_incomes_get400_response.py +137 -0
- wildberries_sdk/reports/models/api_v1_supplier_incomes_get401_response.py +102 -0
- wildberries_sdk/reports/models/api_v1_warehouse_remains_tasks_task_id_download_get200_response_inner.py +109 -0
- wildberries_sdk/reports/models/api_v1_warehouse_remains_tasks_task_id_download_get200_response_inner_warehouses_inner.py +89 -0
- wildberries_sdk/reports/models/create_task_response.py +91 -0
- wildberries_sdk/reports/models/create_task_response_data.py +87 -0
- wildberries_sdk/reports/models/excise_report_request.py +98 -0
- wildberries_sdk/reports/models/excise_report_response.py +91 -0
- wildberries_sdk/reports/models/get_deductions200_response.py +91 -0
- wildberries_sdk/reports/models/get_deductions200_response_data.py +97 -0
- wildberries_sdk/reports/models/get_deductions200_response_data_reports_inner.py +116 -0
- wildberries_sdk/reports/models/get_tasks_response.py +91 -0
- wildberries_sdk/reports/models/get_tasks_response_data.py +89 -0
- wildberries_sdk/reports/models/incomes_item.py +123 -0
- wildberries_sdk/reports/models/measurement.py +91 -0
- wildberries_sdk/reports/models/measurement_data.py +97 -0
- wildberries_sdk/reports/models/measurement_data_reports_inner.py +118 -0
- wildberries_sdk/reports/models/model4xx_response.py +93 -0
- wildberries_sdk/reports/models/models_excise_report_response.py +95 -0
- wildberries_sdk/reports/models/models_excise_report_response_data_inner.py +109 -0
- wildberries_sdk/reports/models/orders_item.py +151 -0
- wildberries_sdk/reports/models/penalty.py +91 -0
- wildberries_sdk/reports/models/penalty_data.py +97 -0
- wildberries_sdk/reports/models/penalty_data_reports_inner.py +122 -0
- wildberries_sdk/reports/models/response400_retentions.py +95 -0
- wildberries_sdk/reports/models/response403_retentions.py +95 -0
- wildberries_sdk/reports/models/response_error_statistics.py +87 -0
- wildberries_sdk/reports/models/response_error_statistics2.py +87 -0
- wildberries_sdk/reports/models/response_paid_storage_inner.py +131 -0
- wildberries_sdk/reports/models/sales_item.py +153 -0
- wildberries_sdk/reports/models/stocks_item.py +123 -0
- wildberries_sdk/reports/py.typed +0 -0
- wildberries_sdk/reports/rest.py +263 -0
- wildberries_sdk/tariffs/__init__.py +104 -0
- wildberries_sdk/tariffs/api/__init__.py +6 -0
- wildberries_sdk/tariffs/api/api.py +1151 -0
- wildberries_sdk/tariffs/api/default_api.py +315 -0
- wildberries_sdk/tariffs/api_client.py +804 -0
- wildberries_sdk/tariffs/api_response.py +21 -0
- wildberries_sdk/tariffs/configuration.py +608 -0
- wildberries_sdk/tariffs/exceptions.py +219 -0
- wildberries_sdk/tariffs/models/__init__.py +43 -0
- wildberries_sdk/tariffs/models/api_v1_tariffs_commission_get200_response.py +179 -0
- wildberries_sdk/tariffs/models/api_v1_tariffs_commission_get401_response.py +102 -0
- wildberries_sdk/tariffs/models/bad_request.py +93 -0
- wildberries_sdk/tariffs/models/commission.py +95 -0
- wildberries_sdk/tariffs/models/commission_china.py +95 -0
- wildberries_sdk/tariffs/models/commission_china_report_inner.py +95 -0
- wildberries_sdk/tariffs/models/commission_report_inner.py +105 -0
- wildberries_sdk/tariffs/models/commission_turkey.py +95 -0
- wildberries_sdk/tariffs/models/commission_turkey_report_inner.py +95 -0
- wildberries_sdk/tariffs/models/commission_uae.py +95 -0
- wildberries_sdk/tariffs/models/commission_uae_report_inner.py +95 -0
- wildberries_sdk/tariffs/models/commission_uzbekistan.py +95 -0
- wildberries_sdk/tariffs/models/commission_uzbekistan_report_inner.py +95 -0
- wildberries_sdk/tariffs/models/models_acceptance_coefficient.py +141 -0
- wildberries_sdk/tariffs/models/models_error_model.py +95 -0
- wildberries_sdk/tariffs/models/models_return_tariffs_response.py +91 -0
- wildberries_sdk/tariffs/models/models_tariffs_box_response.py +91 -0
- wildberries_sdk/tariffs/models/models_tariffs_pallet_response.py +91 -0
- wildberries_sdk/tariffs/models/models_warehouse_box_rates.py +107 -0
- wildberries_sdk/tariffs/models/models_warehouse_pallet_rates.py +97 -0
- wildberries_sdk/tariffs/models/models_warehouse_return_rates.py +107 -0
- wildberries_sdk/tariffs/models/models_warehouses_box_rates.py +104 -0
- wildberries_sdk/tariffs/models/models_warehouses_pallet_rates.py +104 -0
- wildberries_sdk/tariffs/models/models_warehouses_return_rates.py +106 -0
- wildberries_sdk/tariffs/models/return_tariffs_response.py +91 -0
- wildberries_sdk/tariffs/models/tariffs_box_response.py +91 -0
- wildberries_sdk/tariffs/models/tariffs_pallet_response.py +91 -0
- wildberries_sdk/tariffs/py.typed +0 -0
- wildberries_sdk/tariffs/rest.py +263 -0
- wildberries_sdk/wbd/__init__.py +128 -0
- wildberries_sdk/wbd/api/__init__.py +6 -0
- wildberries_sdk/wbd/api/api.py +1611 -0
- wildberries_sdk/wbd/api/default_api.py +5233 -0
- wildberries_sdk/wbd/api_client.py +804 -0
- wildberries_sdk/wbd/api_response.py +21 -0
- wildberries_sdk/wbd/configuration.py +608 -0
- wildberries_sdk/wbd/exceptions.py +219 -0
- wildberries_sdk/wbd/models/__init__.py +55 -0
- wildberries_sdk/wbd/models/catalog_node.py +119 -0
- wildberries_sdk/wbd/models/chunk_part.py +89 -0
- wildberries_sdk/wbd/models/content.py +138 -0
- wildberries_sdk/wbd/models/content_delete_request.py +87 -0
- wildberries_sdk/wbd/models/content_files_inner.py +91 -0
- wildberries_sdk/wbd/models/content_list.py +97 -0
- wildberries_sdk/wbd/models/content_meta.py +116 -0
- wildberries_sdk/wbd/models/get_full_catalog_response.py +97 -0
- wildberries_sdk/wbd/models/illustration_response.py +89 -0
- wildberries_sdk/wbd/models/key_redeemed_response.py +99 -0
- wildberries_sdk/wbd/models/key_response.py +105 -0
- wildberries_sdk/wbd/models/keys_count_response.py +93 -0
- wildberries_sdk/wbd/models/keys_delete_response.py +95 -0
- wildberries_sdk/wbd/models/keys_delete_response_statuses_inner.py +93 -0
- wildberries_sdk/wbd/models/keys_load_request.py +90 -0
- wildberries_sdk/wbd/models/keys_redeemed_response_list.py +97 -0
- wildberries_sdk/wbd/models/keys_response_list.py +97 -0
- wildberries_sdk/wbd/models/offer_content.py +117 -0
- wildberries_sdk/wbd/models/offer_content_files_inner.py +91 -0
- wildberries_sdk/wbd/models/offer_create_content.py +89 -0
- wildberries_sdk/wbd/models/offer_create_request.py +148 -0
- wildberries_sdk/wbd/models/offer_meta_request.py +100 -0
- wildberries_sdk/wbd/models/offer_price_update_request.py +89 -0
- wildberries_sdk/wbd/models/offer_response.py +183 -0
- wildberries_sdk/wbd/models/offer_response_list.py +97 -0
- wildberries_sdk/wbd/models/offer_status_update_request.py +94 -0
- wildberries_sdk/wbd/models/offer_update_request.py +145 -0
- wildberries_sdk/wbd/models/problem_details400.py +108 -0
- wildberries_sdk/wbd/models/problem_details401.py +97 -0
- wildberries_sdk/wbd/models/problem_details403.py +95 -0
- wildberries_sdk/wbd/models/problem_details404.py +97 -0
- wildberries_sdk/wbd/models/problem_details500.py +106 -0
- wildberries_sdk/wbd/models/problem_details502.py +106 -0
- wildberries_sdk/wbd/models/tag.py +93 -0
- wildberries_sdk/wbd/models/update_content_request.py +100 -0
- wildberries_sdk/wbd/models/upload_chunk_response.py +89 -0
- wildberries_sdk/wbd/models/upload_gallery_response.py +87 -0
- wildberries_sdk/wbd/models/upload_init_request.py +129 -0
- wildberries_sdk/wbd/models/upload_init_response.py +89 -0
- wildberries_sdk/wbd/py.typed +0 -0
- wildberries_sdk/wbd/rest.py +263 -0
- wildberries_sdk-0.1.9.dist-info/LICENSE +21 -0
- wildberries_sdk-0.1.9.dist-info/METADATA +63 -0
- wildberries_sdk-0.1.9.dist-info/RECORD +1019 -0
- wildberries_sdk-0.1.9.dist-info/WHEEL +5 -0
- wildberries_sdk-0.1.9.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,2884 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Заказы Самовывоз
|
|
5
|
+
|
|
6
|
+
Управление [сборочными заданиями](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz) и [метаданными](/openapi/in-store-pickup#tag/Metadannye-Samovyvoz) заказов модели Самовывоз.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: instorepickup
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
import warnings
|
|
15
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
16
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
17
|
+
from typing_extensions import Annotated
|
|
18
|
+
|
|
19
|
+
from pydantic import Field, StrictInt
|
|
20
|
+
from typing_extensions import Annotated
|
|
21
|
+
from wildberries_sdk.in_store_pickup.models.api_check_identity_request import ApiCheckIdentityRequest
|
|
22
|
+
from wildberries_sdk.in_store_pickup.models.api_checked_identity import ApiCheckedIdentity
|
|
23
|
+
from wildberries_sdk.in_store_pickup.models.api_new_orders import ApiNewOrders
|
|
24
|
+
from wildberries_sdk.in_store_pickup.models.api_order_client_info_resp import ApiOrderClientInfoResp
|
|
25
|
+
from wildberries_sdk.in_store_pickup.models.api_order_statuses import ApiOrderStatuses
|
|
26
|
+
from wildberries_sdk.in_store_pickup.models.api_orders import ApiOrders
|
|
27
|
+
from wildberries_sdk.in_store_pickup.models.api_orders_request import ApiOrdersRequest
|
|
28
|
+
|
|
29
|
+
from wildberries_sdk.in_store_pickup.api_client import ApiClient, RequestSerialized
|
|
30
|
+
from wildberries_sdk.in_store_pickup.api_response import ApiResponse
|
|
31
|
+
from wildberries_sdk.in_store_pickup.rest import RESTResponseType
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class Api:
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self, api_client=None) -> None:
|
|
42
|
+
if api_client is None:
|
|
43
|
+
api_client = ApiClient.get_default()
|
|
44
|
+
self.api_client = api_client
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
@validate_call
|
|
48
|
+
def api_v3_click_collect_orders_client_identity_post(
|
|
49
|
+
self,
|
|
50
|
+
api_check_identity_request: ApiCheckIdentityRequest,
|
|
51
|
+
_request_timeout: Union[
|
|
52
|
+
None,
|
|
53
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
54
|
+
Tuple[
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
57
|
+
]
|
|
58
|
+
] = None,
|
|
59
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
60
|
+
_content_type: Optional[StrictStr] = None,
|
|
61
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
62
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
63
|
+
) -> ApiCheckedIdentity:
|
|
64
|
+
"""Проверить, что заказ принадлежит покупателю
|
|
65
|
+
|
|
66
|
+
Метод сообщает, принадлежит ли проверяемый заказ покупателю или нет по переданному коду. <br><br> Доступно, если хотя бы одно сборочное задание из заказа находится в статусе prepare - готов к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 30 запросов | 2 секунды | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
67
|
+
|
|
68
|
+
:param api_check_identity_request: (required)
|
|
69
|
+
:type api_check_identity_request: ApiCheckIdentityRequest
|
|
70
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
71
|
+
number provided, it will be total request
|
|
72
|
+
timeout. It can also be a pair (tuple) of
|
|
73
|
+
(connection, read) timeouts.
|
|
74
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
75
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
76
|
+
request; this effectively ignores the
|
|
77
|
+
authentication in the spec for a single request.
|
|
78
|
+
:type _request_auth: dict, optional
|
|
79
|
+
:param _content_type: force content-type for the request.
|
|
80
|
+
:type _content_type: str, Optional
|
|
81
|
+
:param _headers: set to override the headers for a single
|
|
82
|
+
request; this effectively ignores the headers
|
|
83
|
+
in the spec for a single request.
|
|
84
|
+
:type _headers: dict, optional
|
|
85
|
+
:param _host_index: set to override the host_index for a single
|
|
86
|
+
request; this effectively ignores the host_index
|
|
87
|
+
in the spec for a single request.
|
|
88
|
+
:type _host_index: int, optional
|
|
89
|
+
:return: Returns the result object.
|
|
90
|
+
""" # noqa: E501
|
|
91
|
+
|
|
92
|
+
_param = self._api_v3_click_collect_orders_client_identity_post_serialize(
|
|
93
|
+
api_check_identity_request=api_check_identity_request,
|
|
94
|
+
_request_auth=_request_auth,
|
|
95
|
+
_content_type=_content_type,
|
|
96
|
+
_headers=_headers,
|
|
97
|
+
_host_index=_host_index
|
|
98
|
+
)
|
|
99
|
+
|
|
100
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
101
|
+
'200': "ApiCheckedIdentity",
|
|
102
|
+
'400': "Error",
|
|
103
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
104
|
+
'403': "Error",
|
|
105
|
+
'404': "ApiError",
|
|
106
|
+
'409': "ApiError",
|
|
107
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
108
|
+
}
|
|
109
|
+
response_data = self.api_client.call_api(
|
|
110
|
+
*_param,
|
|
111
|
+
_request_timeout=_request_timeout
|
|
112
|
+
)
|
|
113
|
+
response_data.read()
|
|
114
|
+
return self.api_client.response_deserialize(
|
|
115
|
+
response_data=response_data,
|
|
116
|
+
response_types_map=_response_types_map,
|
|
117
|
+
).data
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
@validate_call
|
|
121
|
+
def api_v3_click_collect_orders_client_identity_post_with_http_info(
|
|
122
|
+
self,
|
|
123
|
+
api_check_identity_request: ApiCheckIdentityRequest,
|
|
124
|
+
_request_timeout: Union[
|
|
125
|
+
None,
|
|
126
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
+
Tuple[
|
|
128
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
130
|
+
]
|
|
131
|
+
] = None,
|
|
132
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
+
_content_type: Optional[StrictStr] = None,
|
|
134
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
|
+
) -> ApiResponse[ApiCheckedIdentity]:
|
|
137
|
+
"""Проверить, что заказ принадлежит покупателю
|
|
138
|
+
|
|
139
|
+
Метод сообщает, принадлежит ли проверяемый заказ покупателю или нет по переданному коду. <br><br> Доступно, если хотя бы одно сборочное задание из заказа находится в статусе prepare - готов к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 30 запросов | 2 секунды | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
140
|
+
|
|
141
|
+
:param api_check_identity_request: (required)
|
|
142
|
+
:type api_check_identity_request: ApiCheckIdentityRequest
|
|
143
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
144
|
+
number provided, it will be total request
|
|
145
|
+
timeout. It can also be a pair (tuple) of
|
|
146
|
+
(connection, read) timeouts.
|
|
147
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
148
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
149
|
+
request; this effectively ignores the
|
|
150
|
+
authentication in the spec for a single request.
|
|
151
|
+
:type _request_auth: dict, optional
|
|
152
|
+
:param _content_type: force content-type for the request.
|
|
153
|
+
:type _content_type: str, Optional
|
|
154
|
+
:param _headers: set to override the headers for a single
|
|
155
|
+
request; this effectively ignores the headers
|
|
156
|
+
in the spec for a single request.
|
|
157
|
+
:type _headers: dict, optional
|
|
158
|
+
:param _host_index: set to override the host_index for a single
|
|
159
|
+
request; this effectively ignores the host_index
|
|
160
|
+
in the spec for a single request.
|
|
161
|
+
:type _host_index: int, optional
|
|
162
|
+
:return: Returns the result object.
|
|
163
|
+
""" # noqa: E501
|
|
164
|
+
|
|
165
|
+
_param = self._api_v3_click_collect_orders_client_identity_post_serialize(
|
|
166
|
+
api_check_identity_request=api_check_identity_request,
|
|
167
|
+
_request_auth=_request_auth,
|
|
168
|
+
_content_type=_content_type,
|
|
169
|
+
_headers=_headers,
|
|
170
|
+
_host_index=_host_index
|
|
171
|
+
)
|
|
172
|
+
|
|
173
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
174
|
+
'200': "ApiCheckedIdentity",
|
|
175
|
+
'400': "Error",
|
|
176
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
177
|
+
'403': "Error",
|
|
178
|
+
'404': "ApiError",
|
|
179
|
+
'409': "ApiError",
|
|
180
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
181
|
+
}
|
|
182
|
+
response_data = self.api_client.call_api(
|
|
183
|
+
*_param,
|
|
184
|
+
_request_timeout=_request_timeout
|
|
185
|
+
)
|
|
186
|
+
response_data.read()
|
|
187
|
+
return self.api_client.response_deserialize(
|
|
188
|
+
response_data=response_data,
|
|
189
|
+
response_types_map=_response_types_map,
|
|
190
|
+
)
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
@validate_call
|
|
194
|
+
def api_v3_click_collect_orders_client_identity_post_without_preload_content(
|
|
195
|
+
self,
|
|
196
|
+
api_check_identity_request: ApiCheckIdentityRequest,
|
|
197
|
+
_request_timeout: Union[
|
|
198
|
+
None,
|
|
199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
200
|
+
Tuple[
|
|
201
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
202
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
203
|
+
]
|
|
204
|
+
] = None,
|
|
205
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
206
|
+
_content_type: Optional[StrictStr] = None,
|
|
207
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
208
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
209
|
+
) -> RESTResponseType:
|
|
210
|
+
"""Проверить, что заказ принадлежит покупателю
|
|
211
|
+
|
|
212
|
+
Метод сообщает, принадлежит ли проверяемый заказ покупателю или нет по переданному коду. <br><br> Доступно, если хотя бы одно сборочное задание из заказа находится в статусе prepare - готов к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 30 запросов | 2 секунды | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
213
|
+
|
|
214
|
+
:param api_check_identity_request: (required)
|
|
215
|
+
:type api_check_identity_request: ApiCheckIdentityRequest
|
|
216
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
217
|
+
number provided, it will be total request
|
|
218
|
+
timeout. It can also be a pair (tuple) of
|
|
219
|
+
(connection, read) timeouts.
|
|
220
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
221
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
222
|
+
request; this effectively ignores the
|
|
223
|
+
authentication in the spec for a single request.
|
|
224
|
+
:type _request_auth: dict, optional
|
|
225
|
+
:param _content_type: force content-type for the request.
|
|
226
|
+
:type _content_type: str, Optional
|
|
227
|
+
:param _headers: set to override the headers for a single
|
|
228
|
+
request; this effectively ignores the headers
|
|
229
|
+
in the spec for a single request.
|
|
230
|
+
:type _headers: dict, optional
|
|
231
|
+
:param _host_index: set to override the host_index for a single
|
|
232
|
+
request; this effectively ignores the host_index
|
|
233
|
+
in the spec for a single request.
|
|
234
|
+
:type _host_index: int, optional
|
|
235
|
+
:return: Returns the result object.
|
|
236
|
+
""" # noqa: E501
|
|
237
|
+
|
|
238
|
+
_param = self._api_v3_click_collect_orders_client_identity_post_serialize(
|
|
239
|
+
api_check_identity_request=api_check_identity_request,
|
|
240
|
+
_request_auth=_request_auth,
|
|
241
|
+
_content_type=_content_type,
|
|
242
|
+
_headers=_headers,
|
|
243
|
+
_host_index=_host_index
|
|
244
|
+
)
|
|
245
|
+
|
|
246
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
247
|
+
'200': "ApiCheckedIdentity",
|
|
248
|
+
'400': "Error",
|
|
249
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
250
|
+
'403': "Error",
|
|
251
|
+
'404': "ApiError",
|
|
252
|
+
'409': "ApiError",
|
|
253
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
254
|
+
}
|
|
255
|
+
response_data = self.api_client.call_api(
|
|
256
|
+
*_param,
|
|
257
|
+
_request_timeout=_request_timeout
|
|
258
|
+
)
|
|
259
|
+
return response_data.response
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
def _api_v3_click_collect_orders_client_identity_post_serialize(
|
|
263
|
+
self,
|
|
264
|
+
api_check_identity_request,
|
|
265
|
+
_request_auth,
|
|
266
|
+
_content_type,
|
|
267
|
+
_headers,
|
|
268
|
+
_host_index,
|
|
269
|
+
) -> RequestSerialized:
|
|
270
|
+
|
|
271
|
+
_host = None
|
|
272
|
+
|
|
273
|
+
_collection_formats: Dict[str, str] = {
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
_path_params: Dict[str, str] = {}
|
|
277
|
+
_query_params: List[Tuple[str, str]] = []
|
|
278
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
279
|
+
_form_params: List[Tuple[str, str]] = []
|
|
280
|
+
_files: Dict[
|
|
281
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
282
|
+
] = {}
|
|
283
|
+
_body_params: Optional[bytes] = None
|
|
284
|
+
|
|
285
|
+
# process the path parameters
|
|
286
|
+
# process the query parameters
|
|
287
|
+
# process the header parameters
|
|
288
|
+
# process the form parameters
|
|
289
|
+
# process the body parameter
|
|
290
|
+
if api_check_identity_request is not None:
|
|
291
|
+
_body_params = api_check_identity_request
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
# set the HTTP header `Accept`
|
|
295
|
+
if 'Accept' not in _header_params:
|
|
296
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
297
|
+
[
|
|
298
|
+
'application/json'
|
|
299
|
+
]
|
|
300
|
+
)
|
|
301
|
+
|
|
302
|
+
# set the HTTP header `Content-Type`
|
|
303
|
+
if _content_type:
|
|
304
|
+
_header_params['Content-Type'] = _content_type
|
|
305
|
+
else:
|
|
306
|
+
_default_content_type = (
|
|
307
|
+
self.api_client.select_header_content_type(
|
|
308
|
+
[
|
|
309
|
+
'application/json'
|
|
310
|
+
]
|
|
311
|
+
)
|
|
312
|
+
)
|
|
313
|
+
if _default_content_type is not None:
|
|
314
|
+
_header_params['Content-Type'] = _default_content_type
|
|
315
|
+
|
|
316
|
+
# authentication setting
|
|
317
|
+
_auth_settings: List[str] = [
|
|
318
|
+
'HeaderApiKey'
|
|
319
|
+
]
|
|
320
|
+
|
|
321
|
+
return self.api_client.param_serialize(
|
|
322
|
+
method='POST',
|
|
323
|
+
resource_path='/api/v3/click-collect/orders/client/identity',
|
|
324
|
+
path_params=_path_params,
|
|
325
|
+
query_params=_query_params,
|
|
326
|
+
header_params=_header_params,
|
|
327
|
+
body=_body_params,
|
|
328
|
+
post_params=_form_params,
|
|
329
|
+
files=_files,
|
|
330
|
+
auth_settings=_auth_settings,
|
|
331
|
+
collection_formats=_collection_formats,
|
|
332
|
+
_host=_host,
|
|
333
|
+
_request_auth=_request_auth
|
|
334
|
+
)
|
|
335
|
+
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
@validate_call
|
|
340
|
+
def api_v3_click_collect_orders_client_post(
|
|
341
|
+
self,
|
|
342
|
+
api_orders_request: ApiOrdersRequest,
|
|
343
|
+
_request_timeout: Union[
|
|
344
|
+
None,
|
|
345
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
346
|
+
Tuple[
|
|
347
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
348
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
349
|
+
]
|
|
350
|
+
] = None,
|
|
351
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
352
|
+
_content_type: Optional[StrictStr] = None,
|
|
353
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
354
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
355
|
+
) -> ApiOrderClientInfoResp:
|
|
356
|
+
"""Информация о покупателе
|
|
357
|
+
|
|
358
|
+
Метод возвращает информацию о покупателе по ID сборочного задания. <br><br> Доступно только для сборочных заданий в статусах: - `confirm` — на сборке - `prepare` — готов к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
359
|
+
|
|
360
|
+
:param api_orders_request: (required)
|
|
361
|
+
:type api_orders_request: ApiOrdersRequest
|
|
362
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
363
|
+
number provided, it will be total request
|
|
364
|
+
timeout. It can also be a pair (tuple) of
|
|
365
|
+
(connection, read) timeouts.
|
|
366
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
367
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
368
|
+
request; this effectively ignores the
|
|
369
|
+
authentication in the spec for a single request.
|
|
370
|
+
:type _request_auth: dict, optional
|
|
371
|
+
:param _content_type: force content-type for the request.
|
|
372
|
+
:type _content_type: str, Optional
|
|
373
|
+
:param _headers: set to override the headers for a single
|
|
374
|
+
request; this effectively ignores the headers
|
|
375
|
+
in the spec for a single request.
|
|
376
|
+
:type _headers: dict, optional
|
|
377
|
+
:param _host_index: set to override the host_index for a single
|
|
378
|
+
request; this effectively ignores the host_index
|
|
379
|
+
in the spec for a single request.
|
|
380
|
+
:type _host_index: int, optional
|
|
381
|
+
:return: Returns the result object.
|
|
382
|
+
""" # noqa: E501
|
|
383
|
+
|
|
384
|
+
_param = self._api_v3_click_collect_orders_client_post_serialize(
|
|
385
|
+
api_orders_request=api_orders_request,
|
|
386
|
+
_request_auth=_request_auth,
|
|
387
|
+
_content_type=_content_type,
|
|
388
|
+
_headers=_headers,
|
|
389
|
+
_host_index=_host_index
|
|
390
|
+
)
|
|
391
|
+
|
|
392
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
393
|
+
'200': "ApiOrderClientInfoResp",
|
|
394
|
+
'400': "Error",
|
|
395
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
396
|
+
'403': "Error",
|
|
397
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
398
|
+
}
|
|
399
|
+
response_data = self.api_client.call_api(
|
|
400
|
+
*_param,
|
|
401
|
+
_request_timeout=_request_timeout
|
|
402
|
+
)
|
|
403
|
+
response_data.read()
|
|
404
|
+
return self.api_client.response_deserialize(
|
|
405
|
+
response_data=response_data,
|
|
406
|
+
response_types_map=_response_types_map,
|
|
407
|
+
).data
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
@validate_call
|
|
411
|
+
def api_v3_click_collect_orders_client_post_with_http_info(
|
|
412
|
+
self,
|
|
413
|
+
api_orders_request: ApiOrdersRequest,
|
|
414
|
+
_request_timeout: Union[
|
|
415
|
+
None,
|
|
416
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
417
|
+
Tuple[
|
|
418
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
419
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
420
|
+
]
|
|
421
|
+
] = None,
|
|
422
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
423
|
+
_content_type: Optional[StrictStr] = None,
|
|
424
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
425
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
426
|
+
) -> ApiResponse[ApiOrderClientInfoResp]:
|
|
427
|
+
"""Информация о покупателе
|
|
428
|
+
|
|
429
|
+
Метод возвращает информацию о покупателе по ID сборочного задания. <br><br> Доступно только для сборочных заданий в статусах: - `confirm` — на сборке - `prepare` — готов к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
430
|
+
|
|
431
|
+
:param api_orders_request: (required)
|
|
432
|
+
:type api_orders_request: ApiOrdersRequest
|
|
433
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
434
|
+
number provided, it will be total request
|
|
435
|
+
timeout. It can also be a pair (tuple) of
|
|
436
|
+
(connection, read) timeouts.
|
|
437
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
438
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
439
|
+
request; this effectively ignores the
|
|
440
|
+
authentication in the spec for a single request.
|
|
441
|
+
:type _request_auth: dict, optional
|
|
442
|
+
:param _content_type: force content-type for the request.
|
|
443
|
+
:type _content_type: str, Optional
|
|
444
|
+
:param _headers: set to override the headers for a single
|
|
445
|
+
request; this effectively ignores the headers
|
|
446
|
+
in the spec for a single request.
|
|
447
|
+
:type _headers: dict, optional
|
|
448
|
+
:param _host_index: set to override the host_index for a single
|
|
449
|
+
request; this effectively ignores the host_index
|
|
450
|
+
in the spec for a single request.
|
|
451
|
+
:type _host_index: int, optional
|
|
452
|
+
:return: Returns the result object.
|
|
453
|
+
""" # noqa: E501
|
|
454
|
+
|
|
455
|
+
_param = self._api_v3_click_collect_orders_client_post_serialize(
|
|
456
|
+
api_orders_request=api_orders_request,
|
|
457
|
+
_request_auth=_request_auth,
|
|
458
|
+
_content_type=_content_type,
|
|
459
|
+
_headers=_headers,
|
|
460
|
+
_host_index=_host_index
|
|
461
|
+
)
|
|
462
|
+
|
|
463
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
464
|
+
'200': "ApiOrderClientInfoResp",
|
|
465
|
+
'400': "Error",
|
|
466
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
467
|
+
'403': "Error",
|
|
468
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
469
|
+
}
|
|
470
|
+
response_data = self.api_client.call_api(
|
|
471
|
+
*_param,
|
|
472
|
+
_request_timeout=_request_timeout
|
|
473
|
+
)
|
|
474
|
+
response_data.read()
|
|
475
|
+
return self.api_client.response_deserialize(
|
|
476
|
+
response_data=response_data,
|
|
477
|
+
response_types_map=_response_types_map,
|
|
478
|
+
)
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
@validate_call
|
|
482
|
+
def api_v3_click_collect_orders_client_post_without_preload_content(
|
|
483
|
+
self,
|
|
484
|
+
api_orders_request: ApiOrdersRequest,
|
|
485
|
+
_request_timeout: Union[
|
|
486
|
+
None,
|
|
487
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
488
|
+
Tuple[
|
|
489
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
490
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
491
|
+
]
|
|
492
|
+
] = None,
|
|
493
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
494
|
+
_content_type: Optional[StrictStr] = None,
|
|
495
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
496
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
497
|
+
) -> RESTResponseType:
|
|
498
|
+
"""Информация о покупателе
|
|
499
|
+
|
|
500
|
+
Метод возвращает информацию о покупателе по ID сборочного задания. <br><br> Доступно только для сборочных заданий в статусах: - `confirm` — на сборке - `prepare` — готов к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
501
|
+
|
|
502
|
+
:param api_orders_request: (required)
|
|
503
|
+
:type api_orders_request: ApiOrdersRequest
|
|
504
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
505
|
+
number provided, it will be total request
|
|
506
|
+
timeout. It can also be a pair (tuple) of
|
|
507
|
+
(connection, read) timeouts.
|
|
508
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
509
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
510
|
+
request; this effectively ignores the
|
|
511
|
+
authentication in the spec for a single request.
|
|
512
|
+
:type _request_auth: dict, optional
|
|
513
|
+
:param _content_type: force content-type for the request.
|
|
514
|
+
:type _content_type: str, Optional
|
|
515
|
+
:param _headers: set to override the headers for a single
|
|
516
|
+
request; this effectively ignores the headers
|
|
517
|
+
in the spec for a single request.
|
|
518
|
+
:type _headers: dict, optional
|
|
519
|
+
:param _host_index: set to override the host_index for a single
|
|
520
|
+
request; this effectively ignores the host_index
|
|
521
|
+
in the spec for a single request.
|
|
522
|
+
:type _host_index: int, optional
|
|
523
|
+
:return: Returns the result object.
|
|
524
|
+
""" # noqa: E501
|
|
525
|
+
|
|
526
|
+
_param = self._api_v3_click_collect_orders_client_post_serialize(
|
|
527
|
+
api_orders_request=api_orders_request,
|
|
528
|
+
_request_auth=_request_auth,
|
|
529
|
+
_content_type=_content_type,
|
|
530
|
+
_headers=_headers,
|
|
531
|
+
_host_index=_host_index
|
|
532
|
+
)
|
|
533
|
+
|
|
534
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
535
|
+
'200': "ApiOrderClientInfoResp",
|
|
536
|
+
'400': "Error",
|
|
537
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
538
|
+
'403': "Error",
|
|
539
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
540
|
+
}
|
|
541
|
+
response_data = self.api_client.call_api(
|
|
542
|
+
*_param,
|
|
543
|
+
_request_timeout=_request_timeout
|
|
544
|
+
)
|
|
545
|
+
return response_data.response
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
def _api_v3_click_collect_orders_client_post_serialize(
|
|
549
|
+
self,
|
|
550
|
+
api_orders_request,
|
|
551
|
+
_request_auth,
|
|
552
|
+
_content_type,
|
|
553
|
+
_headers,
|
|
554
|
+
_host_index,
|
|
555
|
+
) -> RequestSerialized:
|
|
556
|
+
|
|
557
|
+
_host = None
|
|
558
|
+
|
|
559
|
+
_collection_formats: Dict[str, str] = {
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
_path_params: Dict[str, str] = {}
|
|
563
|
+
_query_params: List[Tuple[str, str]] = []
|
|
564
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
565
|
+
_form_params: List[Tuple[str, str]] = []
|
|
566
|
+
_files: Dict[
|
|
567
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
568
|
+
] = {}
|
|
569
|
+
_body_params: Optional[bytes] = None
|
|
570
|
+
|
|
571
|
+
# process the path parameters
|
|
572
|
+
# process the query parameters
|
|
573
|
+
# process the header parameters
|
|
574
|
+
# process the form parameters
|
|
575
|
+
# process the body parameter
|
|
576
|
+
if api_orders_request is not None:
|
|
577
|
+
_body_params = api_orders_request
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
# set the HTTP header `Accept`
|
|
581
|
+
if 'Accept' not in _header_params:
|
|
582
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
583
|
+
[
|
|
584
|
+
'application/json'
|
|
585
|
+
]
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
# set the HTTP header `Content-Type`
|
|
589
|
+
if _content_type:
|
|
590
|
+
_header_params['Content-Type'] = _content_type
|
|
591
|
+
else:
|
|
592
|
+
_default_content_type = (
|
|
593
|
+
self.api_client.select_header_content_type(
|
|
594
|
+
[
|
|
595
|
+
'application/json'
|
|
596
|
+
]
|
|
597
|
+
)
|
|
598
|
+
)
|
|
599
|
+
if _default_content_type is not None:
|
|
600
|
+
_header_params['Content-Type'] = _default_content_type
|
|
601
|
+
|
|
602
|
+
# authentication setting
|
|
603
|
+
_auth_settings: List[str] = [
|
|
604
|
+
'HeaderApiKey'
|
|
605
|
+
]
|
|
606
|
+
|
|
607
|
+
return self.api_client.param_serialize(
|
|
608
|
+
method='POST',
|
|
609
|
+
resource_path='/api/v3/click-collect/orders/client',
|
|
610
|
+
path_params=_path_params,
|
|
611
|
+
query_params=_query_params,
|
|
612
|
+
header_params=_header_params,
|
|
613
|
+
body=_body_params,
|
|
614
|
+
post_params=_form_params,
|
|
615
|
+
files=_files,
|
|
616
|
+
auth_settings=_auth_settings,
|
|
617
|
+
collection_formats=_collection_formats,
|
|
618
|
+
_host=_host,
|
|
619
|
+
_request_auth=_request_auth
|
|
620
|
+
)
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
@validate_call
|
|
626
|
+
def api_v3_click_collect_orders_get(
|
|
627
|
+
self,
|
|
628
|
+
limit: Annotated[int, Field(le=1000, strict=True, ge=1, description="Параметр пагинации. Устанавливает предельное количество возвращаемых данных. ")],
|
|
629
|
+
next: Annotated[StrictInt, Field(description="Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе ")],
|
|
630
|
+
date_from: Annotated[StrictInt, Field(description="Дата начала периода в формате Unix timestamp")],
|
|
631
|
+
date_to: Annotated[StrictInt, Field(description="Дата конца периода в формате Unix timestamp")],
|
|
632
|
+
_request_timeout: Union[
|
|
633
|
+
None,
|
|
634
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
635
|
+
Tuple[
|
|
636
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
637
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
638
|
+
]
|
|
639
|
+
] = None,
|
|
640
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
641
|
+
_content_type: Optional[StrictStr] = None,
|
|
642
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
643
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
644
|
+
) -> ApiOrders:
|
|
645
|
+
"""Получить информацию о завершённых сборочных заданиях
|
|
646
|
+
|
|
647
|
+
Метод возвращает информацию о завершённых сборочных заданиях после продажи или отмены заказа. Можно получить данные за заданный период, максимум 30 календарных дней одним запросом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
648
|
+
|
|
649
|
+
:param limit: Параметр пагинации. Устанавливает предельное количество возвращаемых данных. (required)
|
|
650
|
+
:type limit: int
|
|
651
|
+
:param next: Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе (required)
|
|
652
|
+
:type next: int
|
|
653
|
+
:param date_from: Дата начала периода в формате Unix timestamp (required)
|
|
654
|
+
:type date_from: int
|
|
655
|
+
:param date_to: Дата конца периода в формате Unix timestamp (required)
|
|
656
|
+
:type date_to: int
|
|
657
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
658
|
+
number provided, it will be total request
|
|
659
|
+
timeout. It can also be a pair (tuple) of
|
|
660
|
+
(connection, read) timeouts.
|
|
661
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
662
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
663
|
+
request; this effectively ignores the
|
|
664
|
+
authentication in the spec for a single request.
|
|
665
|
+
:type _request_auth: dict, optional
|
|
666
|
+
:param _content_type: force content-type for the request.
|
|
667
|
+
:type _content_type: str, Optional
|
|
668
|
+
:param _headers: set to override the headers for a single
|
|
669
|
+
request; this effectively ignores the headers
|
|
670
|
+
in the spec for a single request.
|
|
671
|
+
:type _headers: dict, optional
|
|
672
|
+
:param _host_index: set to override the host_index for a single
|
|
673
|
+
request; this effectively ignores the host_index
|
|
674
|
+
in the spec for a single request.
|
|
675
|
+
:type _host_index: int, optional
|
|
676
|
+
:return: Returns the result object.
|
|
677
|
+
""" # noqa: E501
|
|
678
|
+
|
|
679
|
+
_param = self._api_v3_click_collect_orders_get_serialize(
|
|
680
|
+
limit=limit,
|
|
681
|
+
next=next,
|
|
682
|
+
date_from=date_from,
|
|
683
|
+
date_to=date_to,
|
|
684
|
+
_request_auth=_request_auth,
|
|
685
|
+
_content_type=_content_type,
|
|
686
|
+
_headers=_headers,
|
|
687
|
+
_host_index=_host_index
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
691
|
+
'200': "ApiOrders",
|
|
692
|
+
'400': "Error",
|
|
693
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
694
|
+
'403': "Error",
|
|
695
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
696
|
+
}
|
|
697
|
+
response_data = self.api_client.call_api(
|
|
698
|
+
*_param,
|
|
699
|
+
_request_timeout=_request_timeout
|
|
700
|
+
)
|
|
701
|
+
response_data.read()
|
|
702
|
+
return self.api_client.response_deserialize(
|
|
703
|
+
response_data=response_data,
|
|
704
|
+
response_types_map=_response_types_map,
|
|
705
|
+
).data
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
@validate_call
|
|
709
|
+
def api_v3_click_collect_orders_get_with_http_info(
|
|
710
|
+
self,
|
|
711
|
+
limit: Annotated[int, Field(le=1000, strict=True, ge=1, description="Параметр пагинации. Устанавливает предельное количество возвращаемых данных. ")],
|
|
712
|
+
next: Annotated[StrictInt, Field(description="Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе ")],
|
|
713
|
+
date_from: Annotated[StrictInt, Field(description="Дата начала периода в формате Unix timestamp")],
|
|
714
|
+
date_to: Annotated[StrictInt, Field(description="Дата конца периода в формате Unix timestamp")],
|
|
715
|
+
_request_timeout: Union[
|
|
716
|
+
None,
|
|
717
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
718
|
+
Tuple[
|
|
719
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
720
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
721
|
+
]
|
|
722
|
+
] = None,
|
|
723
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
724
|
+
_content_type: Optional[StrictStr] = None,
|
|
725
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
726
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
727
|
+
) -> ApiResponse[ApiOrders]:
|
|
728
|
+
"""Получить информацию о завершённых сборочных заданиях
|
|
729
|
+
|
|
730
|
+
Метод возвращает информацию о завершённых сборочных заданиях после продажи или отмены заказа. Можно получить данные за заданный период, максимум 30 календарных дней одним запросом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
731
|
+
|
|
732
|
+
:param limit: Параметр пагинации. Устанавливает предельное количество возвращаемых данных. (required)
|
|
733
|
+
:type limit: int
|
|
734
|
+
:param next: Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе (required)
|
|
735
|
+
:type next: int
|
|
736
|
+
:param date_from: Дата начала периода в формате Unix timestamp (required)
|
|
737
|
+
:type date_from: int
|
|
738
|
+
:param date_to: Дата конца периода в формате Unix timestamp (required)
|
|
739
|
+
:type date_to: int
|
|
740
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
741
|
+
number provided, it will be total request
|
|
742
|
+
timeout. It can also be a pair (tuple) of
|
|
743
|
+
(connection, read) timeouts.
|
|
744
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
745
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
746
|
+
request; this effectively ignores the
|
|
747
|
+
authentication in the spec for a single request.
|
|
748
|
+
:type _request_auth: dict, optional
|
|
749
|
+
:param _content_type: force content-type for the request.
|
|
750
|
+
:type _content_type: str, Optional
|
|
751
|
+
:param _headers: set to override the headers for a single
|
|
752
|
+
request; this effectively ignores the headers
|
|
753
|
+
in the spec for a single request.
|
|
754
|
+
:type _headers: dict, optional
|
|
755
|
+
:param _host_index: set to override the host_index for a single
|
|
756
|
+
request; this effectively ignores the host_index
|
|
757
|
+
in the spec for a single request.
|
|
758
|
+
:type _host_index: int, optional
|
|
759
|
+
:return: Returns the result object.
|
|
760
|
+
""" # noqa: E501
|
|
761
|
+
|
|
762
|
+
_param = self._api_v3_click_collect_orders_get_serialize(
|
|
763
|
+
limit=limit,
|
|
764
|
+
next=next,
|
|
765
|
+
date_from=date_from,
|
|
766
|
+
date_to=date_to,
|
|
767
|
+
_request_auth=_request_auth,
|
|
768
|
+
_content_type=_content_type,
|
|
769
|
+
_headers=_headers,
|
|
770
|
+
_host_index=_host_index
|
|
771
|
+
)
|
|
772
|
+
|
|
773
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
774
|
+
'200': "ApiOrders",
|
|
775
|
+
'400': "Error",
|
|
776
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
777
|
+
'403': "Error",
|
|
778
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
779
|
+
}
|
|
780
|
+
response_data = self.api_client.call_api(
|
|
781
|
+
*_param,
|
|
782
|
+
_request_timeout=_request_timeout
|
|
783
|
+
)
|
|
784
|
+
response_data.read()
|
|
785
|
+
return self.api_client.response_deserialize(
|
|
786
|
+
response_data=response_data,
|
|
787
|
+
response_types_map=_response_types_map,
|
|
788
|
+
)
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
@validate_call
|
|
792
|
+
def api_v3_click_collect_orders_get_without_preload_content(
|
|
793
|
+
self,
|
|
794
|
+
limit: Annotated[int, Field(le=1000, strict=True, ge=1, description="Параметр пагинации. Устанавливает предельное количество возвращаемых данных. ")],
|
|
795
|
+
next: Annotated[StrictInt, Field(description="Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе ")],
|
|
796
|
+
date_from: Annotated[StrictInt, Field(description="Дата начала периода в формате Unix timestamp")],
|
|
797
|
+
date_to: Annotated[StrictInt, Field(description="Дата конца периода в формате Unix timestamp")],
|
|
798
|
+
_request_timeout: Union[
|
|
799
|
+
None,
|
|
800
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
801
|
+
Tuple[
|
|
802
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
803
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
804
|
+
]
|
|
805
|
+
] = None,
|
|
806
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
807
|
+
_content_type: Optional[StrictStr] = None,
|
|
808
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
809
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
810
|
+
) -> RESTResponseType:
|
|
811
|
+
"""Получить информацию о завершённых сборочных заданиях
|
|
812
|
+
|
|
813
|
+
Метод возвращает информацию о завершённых сборочных заданиях после продажи или отмены заказа. Можно получить данные за заданный период, максимум 30 календарных дней одним запросом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
814
|
+
|
|
815
|
+
:param limit: Параметр пагинации. Устанавливает предельное количество возвращаемых данных. (required)
|
|
816
|
+
:type limit: int
|
|
817
|
+
:param next: Параметр пагинации. Устанавливает значение, с которого необходимо получить следующий пакет данных. Для получения полного списка данных должен быть равен `0` в первом запросе. Для следующих запросов необходимо брать значения из одноимённого поля в ответе (required)
|
|
818
|
+
:type next: int
|
|
819
|
+
:param date_from: Дата начала периода в формате Unix timestamp (required)
|
|
820
|
+
:type date_from: int
|
|
821
|
+
:param date_to: Дата конца периода в формате Unix timestamp (required)
|
|
822
|
+
:type date_to: int
|
|
823
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
824
|
+
number provided, it will be total request
|
|
825
|
+
timeout. It can also be a pair (tuple) of
|
|
826
|
+
(connection, read) timeouts.
|
|
827
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
828
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
829
|
+
request; this effectively ignores the
|
|
830
|
+
authentication in the spec for a single request.
|
|
831
|
+
:type _request_auth: dict, optional
|
|
832
|
+
:param _content_type: force content-type for the request.
|
|
833
|
+
:type _content_type: str, Optional
|
|
834
|
+
:param _headers: set to override the headers for a single
|
|
835
|
+
request; this effectively ignores the headers
|
|
836
|
+
in the spec for a single request.
|
|
837
|
+
:type _headers: dict, optional
|
|
838
|
+
:param _host_index: set to override the host_index for a single
|
|
839
|
+
request; this effectively ignores the host_index
|
|
840
|
+
in the spec for a single request.
|
|
841
|
+
:type _host_index: int, optional
|
|
842
|
+
:return: Returns the result object.
|
|
843
|
+
""" # noqa: E501
|
|
844
|
+
|
|
845
|
+
_param = self._api_v3_click_collect_orders_get_serialize(
|
|
846
|
+
limit=limit,
|
|
847
|
+
next=next,
|
|
848
|
+
date_from=date_from,
|
|
849
|
+
date_to=date_to,
|
|
850
|
+
_request_auth=_request_auth,
|
|
851
|
+
_content_type=_content_type,
|
|
852
|
+
_headers=_headers,
|
|
853
|
+
_host_index=_host_index
|
|
854
|
+
)
|
|
855
|
+
|
|
856
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
857
|
+
'200': "ApiOrders",
|
|
858
|
+
'400': "Error",
|
|
859
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
860
|
+
'403': "Error",
|
|
861
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
862
|
+
}
|
|
863
|
+
response_data = self.api_client.call_api(
|
|
864
|
+
*_param,
|
|
865
|
+
_request_timeout=_request_timeout
|
|
866
|
+
)
|
|
867
|
+
return response_data.response
|
|
868
|
+
|
|
869
|
+
|
|
870
|
+
def _api_v3_click_collect_orders_get_serialize(
|
|
871
|
+
self,
|
|
872
|
+
limit,
|
|
873
|
+
next,
|
|
874
|
+
date_from,
|
|
875
|
+
date_to,
|
|
876
|
+
_request_auth,
|
|
877
|
+
_content_type,
|
|
878
|
+
_headers,
|
|
879
|
+
_host_index,
|
|
880
|
+
) -> RequestSerialized:
|
|
881
|
+
|
|
882
|
+
_host = None
|
|
883
|
+
|
|
884
|
+
_collection_formats: Dict[str, str] = {
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
_path_params: Dict[str, str] = {}
|
|
888
|
+
_query_params: List[Tuple[str, str]] = []
|
|
889
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
890
|
+
_form_params: List[Tuple[str, str]] = []
|
|
891
|
+
_files: Dict[
|
|
892
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
893
|
+
] = {}
|
|
894
|
+
_body_params: Optional[bytes] = None
|
|
895
|
+
|
|
896
|
+
# process the path parameters
|
|
897
|
+
# process the query parameters
|
|
898
|
+
if limit is not None:
|
|
899
|
+
|
|
900
|
+
_query_params.append(('limit', limit))
|
|
901
|
+
|
|
902
|
+
if next is not None:
|
|
903
|
+
|
|
904
|
+
_query_params.append(('next', next))
|
|
905
|
+
|
|
906
|
+
if date_from is not None:
|
|
907
|
+
|
|
908
|
+
_query_params.append(('dateFrom', date_from))
|
|
909
|
+
|
|
910
|
+
if date_to is not None:
|
|
911
|
+
|
|
912
|
+
_query_params.append(('dateTo', date_to))
|
|
913
|
+
|
|
914
|
+
# process the header parameters
|
|
915
|
+
# process the form parameters
|
|
916
|
+
# process the body parameter
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
# set the HTTP header `Accept`
|
|
920
|
+
if 'Accept' not in _header_params:
|
|
921
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
922
|
+
[
|
|
923
|
+
'application/json'
|
|
924
|
+
]
|
|
925
|
+
)
|
|
926
|
+
|
|
927
|
+
|
|
928
|
+
# authentication setting
|
|
929
|
+
_auth_settings: List[str] = [
|
|
930
|
+
'HeaderApiKey'
|
|
931
|
+
]
|
|
932
|
+
|
|
933
|
+
return self.api_client.param_serialize(
|
|
934
|
+
method='GET',
|
|
935
|
+
resource_path='/api/v3/click-collect/orders',
|
|
936
|
+
path_params=_path_params,
|
|
937
|
+
query_params=_query_params,
|
|
938
|
+
header_params=_header_params,
|
|
939
|
+
body=_body_params,
|
|
940
|
+
post_params=_form_params,
|
|
941
|
+
files=_files,
|
|
942
|
+
auth_settings=_auth_settings,
|
|
943
|
+
collection_formats=_collection_formats,
|
|
944
|
+
_host=_host,
|
|
945
|
+
_request_auth=_request_auth
|
|
946
|
+
)
|
|
947
|
+
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
@validate_call
|
|
952
|
+
def api_v3_click_collect_orders_new_get(
|
|
953
|
+
self,
|
|
954
|
+
_request_timeout: Union[
|
|
955
|
+
None,
|
|
956
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
957
|
+
Tuple[
|
|
958
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
959
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
960
|
+
]
|
|
961
|
+
] = None,
|
|
962
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
963
|
+
_content_type: Optional[StrictStr] = None,
|
|
964
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
965
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
966
|
+
) -> ApiNewOrders:
|
|
967
|
+
"""Получить список новых сборочных заданий
|
|
968
|
+
|
|
969
|
+
Метод возвращает список всех новых [сборочных заданий](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz), которые есть у продавца на момент запроса. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
970
|
+
|
|
971
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
972
|
+
number provided, it will be total request
|
|
973
|
+
timeout. It can also be a pair (tuple) of
|
|
974
|
+
(connection, read) timeouts.
|
|
975
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
976
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
977
|
+
request; this effectively ignores the
|
|
978
|
+
authentication in the spec for a single request.
|
|
979
|
+
:type _request_auth: dict, optional
|
|
980
|
+
:param _content_type: force content-type for the request.
|
|
981
|
+
:type _content_type: str, Optional
|
|
982
|
+
:param _headers: set to override the headers for a single
|
|
983
|
+
request; this effectively ignores the headers
|
|
984
|
+
in the spec for a single request.
|
|
985
|
+
:type _headers: dict, optional
|
|
986
|
+
:param _host_index: set to override the host_index for a single
|
|
987
|
+
request; this effectively ignores the host_index
|
|
988
|
+
in the spec for a single request.
|
|
989
|
+
:type _host_index: int, optional
|
|
990
|
+
:return: Returns the result object.
|
|
991
|
+
""" # noqa: E501
|
|
992
|
+
|
|
993
|
+
_param = self._api_v3_click_collect_orders_new_get_serialize(
|
|
994
|
+
_request_auth=_request_auth,
|
|
995
|
+
_content_type=_content_type,
|
|
996
|
+
_headers=_headers,
|
|
997
|
+
_host_index=_host_index
|
|
998
|
+
)
|
|
999
|
+
|
|
1000
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1001
|
+
'200': "ApiNewOrders",
|
|
1002
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1003
|
+
'403': "Error",
|
|
1004
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1005
|
+
}
|
|
1006
|
+
response_data = self.api_client.call_api(
|
|
1007
|
+
*_param,
|
|
1008
|
+
_request_timeout=_request_timeout
|
|
1009
|
+
)
|
|
1010
|
+
response_data.read()
|
|
1011
|
+
return self.api_client.response_deserialize(
|
|
1012
|
+
response_data=response_data,
|
|
1013
|
+
response_types_map=_response_types_map,
|
|
1014
|
+
).data
|
|
1015
|
+
|
|
1016
|
+
|
|
1017
|
+
@validate_call
|
|
1018
|
+
def api_v3_click_collect_orders_new_get_with_http_info(
|
|
1019
|
+
self,
|
|
1020
|
+
_request_timeout: Union[
|
|
1021
|
+
None,
|
|
1022
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1023
|
+
Tuple[
|
|
1024
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1025
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1026
|
+
]
|
|
1027
|
+
] = None,
|
|
1028
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1029
|
+
_content_type: Optional[StrictStr] = None,
|
|
1030
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1031
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1032
|
+
) -> ApiResponse[ApiNewOrders]:
|
|
1033
|
+
"""Получить список новых сборочных заданий
|
|
1034
|
+
|
|
1035
|
+
Метод возвращает список всех новых [сборочных заданий](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz), которые есть у продавца на момент запроса. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1036
|
+
|
|
1037
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1038
|
+
number provided, it will be total request
|
|
1039
|
+
timeout. It can also be a pair (tuple) of
|
|
1040
|
+
(connection, read) timeouts.
|
|
1041
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1042
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1043
|
+
request; this effectively ignores the
|
|
1044
|
+
authentication in the spec for a single request.
|
|
1045
|
+
:type _request_auth: dict, optional
|
|
1046
|
+
:param _content_type: force content-type for the request.
|
|
1047
|
+
:type _content_type: str, Optional
|
|
1048
|
+
:param _headers: set to override the headers for a single
|
|
1049
|
+
request; this effectively ignores the headers
|
|
1050
|
+
in the spec for a single request.
|
|
1051
|
+
:type _headers: dict, optional
|
|
1052
|
+
:param _host_index: set to override the host_index for a single
|
|
1053
|
+
request; this effectively ignores the host_index
|
|
1054
|
+
in the spec for a single request.
|
|
1055
|
+
:type _host_index: int, optional
|
|
1056
|
+
:return: Returns the result object.
|
|
1057
|
+
""" # noqa: E501
|
|
1058
|
+
|
|
1059
|
+
_param = self._api_v3_click_collect_orders_new_get_serialize(
|
|
1060
|
+
_request_auth=_request_auth,
|
|
1061
|
+
_content_type=_content_type,
|
|
1062
|
+
_headers=_headers,
|
|
1063
|
+
_host_index=_host_index
|
|
1064
|
+
)
|
|
1065
|
+
|
|
1066
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1067
|
+
'200': "ApiNewOrders",
|
|
1068
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1069
|
+
'403': "Error",
|
|
1070
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1071
|
+
}
|
|
1072
|
+
response_data = self.api_client.call_api(
|
|
1073
|
+
*_param,
|
|
1074
|
+
_request_timeout=_request_timeout
|
|
1075
|
+
)
|
|
1076
|
+
response_data.read()
|
|
1077
|
+
return self.api_client.response_deserialize(
|
|
1078
|
+
response_data=response_data,
|
|
1079
|
+
response_types_map=_response_types_map,
|
|
1080
|
+
)
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
@validate_call
|
|
1084
|
+
def api_v3_click_collect_orders_new_get_without_preload_content(
|
|
1085
|
+
self,
|
|
1086
|
+
_request_timeout: Union[
|
|
1087
|
+
None,
|
|
1088
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1089
|
+
Tuple[
|
|
1090
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1091
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1092
|
+
]
|
|
1093
|
+
] = None,
|
|
1094
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1095
|
+
_content_type: Optional[StrictStr] = None,
|
|
1096
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1097
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1098
|
+
) -> RESTResponseType:
|
|
1099
|
+
"""Получить список новых сборочных заданий
|
|
1100
|
+
|
|
1101
|
+
Метод возвращает список всех новых [сборочных заданий](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz), которые есть у продавца на момент запроса. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1102
|
+
|
|
1103
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1104
|
+
number provided, it will be total request
|
|
1105
|
+
timeout. It can also be a pair (tuple) of
|
|
1106
|
+
(connection, read) timeouts.
|
|
1107
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1108
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1109
|
+
request; this effectively ignores the
|
|
1110
|
+
authentication in the spec for a single request.
|
|
1111
|
+
:type _request_auth: dict, optional
|
|
1112
|
+
:param _content_type: force content-type for the request.
|
|
1113
|
+
:type _content_type: str, Optional
|
|
1114
|
+
:param _headers: set to override the headers for a single
|
|
1115
|
+
request; this effectively ignores the headers
|
|
1116
|
+
in the spec for a single request.
|
|
1117
|
+
:type _headers: dict, optional
|
|
1118
|
+
:param _host_index: set to override the host_index for a single
|
|
1119
|
+
request; this effectively ignores the host_index
|
|
1120
|
+
in the spec for a single request.
|
|
1121
|
+
:type _host_index: int, optional
|
|
1122
|
+
:return: Returns the result object.
|
|
1123
|
+
""" # noqa: E501
|
|
1124
|
+
|
|
1125
|
+
_param = self._api_v3_click_collect_orders_new_get_serialize(
|
|
1126
|
+
_request_auth=_request_auth,
|
|
1127
|
+
_content_type=_content_type,
|
|
1128
|
+
_headers=_headers,
|
|
1129
|
+
_host_index=_host_index
|
|
1130
|
+
)
|
|
1131
|
+
|
|
1132
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1133
|
+
'200': "ApiNewOrders",
|
|
1134
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1135
|
+
'403': "Error",
|
|
1136
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1137
|
+
}
|
|
1138
|
+
response_data = self.api_client.call_api(
|
|
1139
|
+
*_param,
|
|
1140
|
+
_request_timeout=_request_timeout
|
|
1141
|
+
)
|
|
1142
|
+
return response_data.response
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
def _api_v3_click_collect_orders_new_get_serialize(
|
|
1146
|
+
self,
|
|
1147
|
+
_request_auth,
|
|
1148
|
+
_content_type,
|
|
1149
|
+
_headers,
|
|
1150
|
+
_host_index,
|
|
1151
|
+
) -> RequestSerialized:
|
|
1152
|
+
|
|
1153
|
+
_host = None
|
|
1154
|
+
|
|
1155
|
+
_collection_formats: Dict[str, str] = {
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
_path_params: Dict[str, str] = {}
|
|
1159
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1160
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1161
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1162
|
+
_files: Dict[
|
|
1163
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1164
|
+
] = {}
|
|
1165
|
+
_body_params: Optional[bytes] = None
|
|
1166
|
+
|
|
1167
|
+
# process the path parameters
|
|
1168
|
+
# process the query parameters
|
|
1169
|
+
# process the header parameters
|
|
1170
|
+
# process the form parameters
|
|
1171
|
+
# process the body parameter
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
# set the HTTP header `Accept`
|
|
1175
|
+
if 'Accept' not in _header_params:
|
|
1176
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1177
|
+
[
|
|
1178
|
+
'application/json'
|
|
1179
|
+
]
|
|
1180
|
+
)
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
# authentication setting
|
|
1184
|
+
_auth_settings: List[str] = [
|
|
1185
|
+
'HeaderApiKey'
|
|
1186
|
+
]
|
|
1187
|
+
|
|
1188
|
+
return self.api_client.param_serialize(
|
|
1189
|
+
method='GET',
|
|
1190
|
+
resource_path='/api/v3/click-collect/orders/new',
|
|
1191
|
+
path_params=_path_params,
|
|
1192
|
+
query_params=_query_params,
|
|
1193
|
+
header_params=_header_params,
|
|
1194
|
+
body=_body_params,
|
|
1195
|
+
post_params=_form_params,
|
|
1196
|
+
files=_files,
|
|
1197
|
+
auth_settings=_auth_settings,
|
|
1198
|
+
collection_formats=_collection_formats,
|
|
1199
|
+
_host=_host,
|
|
1200
|
+
_request_auth=_request_auth
|
|
1201
|
+
)
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
|
|
1205
|
+
|
|
1206
|
+
@validate_call
|
|
1207
|
+
def api_v3_click_collect_orders_order_id_cancel_patch(
|
|
1208
|
+
self,
|
|
1209
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1210
|
+
_request_timeout: Union[
|
|
1211
|
+
None,
|
|
1212
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1213
|
+
Tuple[
|
|
1214
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1215
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1216
|
+
]
|
|
1217
|
+
] = None,
|
|
1218
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1219
|
+
_content_type: Optional[StrictStr] = None,
|
|
1220
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1221
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1222
|
+
) -> None:
|
|
1223
|
+
"""Отменить сборочное задание
|
|
1224
|
+
|
|
1225
|
+
Метод отменяет сборочное задание и переводит в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1226
|
+
|
|
1227
|
+
:param order_id: ID сборочного задания (required)
|
|
1228
|
+
:type order_id: int
|
|
1229
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1230
|
+
number provided, it will be total request
|
|
1231
|
+
timeout. It can also be a pair (tuple) of
|
|
1232
|
+
(connection, read) timeouts.
|
|
1233
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1234
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1235
|
+
request; this effectively ignores the
|
|
1236
|
+
authentication in the spec for a single request.
|
|
1237
|
+
:type _request_auth: dict, optional
|
|
1238
|
+
:param _content_type: force content-type for the request.
|
|
1239
|
+
:type _content_type: str, Optional
|
|
1240
|
+
:param _headers: set to override the headers for a single
|
|
1241
|
+
request; this effectively ignores the headers
|
|
1242
|
+
in the spec for a single request.
|
|
1243
|
+
:type _headers: dict, optional
|
|
1244
|
+
:param _host_index: set to override the host_index for a single
|
|
1245
|
+
request; this effectively ignores the host_index
|
|
1246
|
+
in the spec for a single request.
|
|
1247
|
+
:type _host_index: int, optional
|
|
1248
|
+
:return: Returns the result object.
|
|
1249
|
+
""" # noqa: E501
|
|
1250
|
+
|
|
1251
|
+
_param = self._api_v3_click_collect_orders_order_id_cancel_patch_serialize(
|
|
1252
|
+
order_id=order_id,
|
|
1253
|
+
_request_auth=_request_auth,
|
|
1254
|
+
_content_type=_content_type,
|
|
1255
|
+
_headers=_headers,
|
|
1256
|
+
_host_index=_host_index
|
|
1257
|
+
)
|
|
1258
|
+
|
|
1259
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1260
|
+
'204': None,
|
|
1261
|
+
'400': "Error",
|
|
1262
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1263
|
+
'403': "Error",
|
|
1264
|
+
'404': "Error",
|
|
1265
|
+
'409': "Error",
|
|
1266
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1267
|
+
}
|
|
1268
|
+
response_data = self.api_client.call_api(
|
|
1269
|
+
*_param,
|
|
1270
|
+
_request_timeout=_request_timeout
|
|
1271
|
+
)
|
|
1272
|
+
response_data.read()
|
|
1273
|
+
return self.api_client.response_deserialize(
|
|
1274
|
+
response_data=response_data,
|
|
1275
|
+
response_types_map=_response_types_map,
|
|
1276
|
+
).data
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
@validate_call
|
|
1280
|
+
def api_v3_click_collect_orders_order_id_cancel_patch_with_http_info(
|
|
1281
|
+
self,
|
|
1282
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1283
|
+
_request_timeout: Union[
|
|
1284
|
+
None,
|
|
1285
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1286
|
+
Tuple[
|
|
1287
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1288
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1289
|
+
]
|
|
1290
|
+
] = None,
|
|
1291
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1292
|
+
_content_type: Optional[StrictStr] = None,
|
|
1293
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1294
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1295
|
+
) -> ApiResponse[None]:
|
|
1296
|
+
"""Отменить сборочное задание
|
|
1297
|
+
|
|
1298
|
+
Метод отменяет сборочное задание и переводит в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1299
|
+
|
|
1300
|
+
:param order_id: ID сборочного задания (required)
|
|
1301
|
+
:type order_id: int
|
|
1302
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1303
|
+
number provided, it will be total request
|
|
1304
|
+
timeout. It can also be a pair (tuple) of
|
|
1305
|
+
(connection, read) timeouts.
|
|
1306
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1307
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1308
|
+
request; this effectively ignores the
|
|
1309
|
+
authentication in the spec for a single request.
|
|
1310
|
+
:type _request_auth: dict, optional
|
|
1311
|
+
:param _content_type: force content-type for the request.
|
|
1312
|
+
:type _content_type: str, Optional
|
|
1313
|
+
:param _headers: set to override the headers for a single
|
|
1314
|
+
request; this effectively ignores the headers
|
|
1315
|
+
in the spec for a single request.
|
|
1316
|
+
:type _headers: dict, optional
|
|
1317
|
+
:param _host_index: set to override the host_index for a single
|
|
1318
|
+
request; this effectively ignores the host_index
|
|
1319
|
+
in the spec for a single request.
|
|
1320
|
+
:type _host_index: int, optional
|
|
1321
|
+
:return: Returns the result object.
|
|
1322
|
+
""" # noqa: E501
|
|
1323
|
+
|
|
1324
|
+
_param = self._api_v3_click_collect_orders_order_id_cancel_patch_serialize(
|
|
1325
|
+
order_id=order_id,
|
|
1326
|
+
_request_auth=_request_auth,
|
|
1327
|
+
_content_type=_content_type,
|
|
1328
|
+
_headers=_headers,
|
|
1329
|
+
_host_index=_host_index
|
|
1330
|
+
)
|
|
1331
|
+
|
|
1332
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1333
|
+
'204': None,
|
|
1334
|
+
'400': "Error",
|
|
1335
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1336
|
+
'403': "Error",
|
|
1337
|
+
'404': "Error",
|
|
1338
|
+
'409': "Error",
|
|
1339
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1340
|
+
}
|
|
1341
|
+
response_data = self.api_client.call_api(
|
|
1342
|
+
*_param,
|
|
1343
|
+
_request_timeout=_request_timeout
|
|
1344
|
+
)
|
|
1345
|
+
response_data.read()
|
|
1346
|
+
return self.api_client.response_deserialize(
|
|
1347
|
+
response_data=response_data,
|
|
1348
|
+
response_types_map=_response_types_map,
|
|
1349
|
+
)
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
@validate_call
|
|
1353
|
+
def api_v3_click_collect_orders_order_id_cancel_patch_without_preload_content(
|
|
1354
|
+
self,
|
|
1355
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1356
|
+
_request_timeout: Union[
|
|
1357
|
+
None,
|
|
1358
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1359
|
+
Tuple[
|
|
1360
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1361
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1362
|
+
]
|
|
1363
|
+
] = None,
|
|
1364
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1365
|
+
_content_type: Optional[StrictStr] = None,
|
|
1366
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1367
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1368
|
+
) -> RESTResponseType:
|
|
1369
|
+
"""Отменить сборочное задание
|
|
1370
|
+
|
|
1371
|
+
Метод отменяет сборочное задание и переводит в статус `cancel` — отменено продавцом. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1372
|
+
|
|
1373
|
+
:param order_id: ID сборочного задания (required)
|
|
1374
|
+
:type order_id: int
|
|
1375
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1376
|
+
number provided, it will be total request
|
|
1377
|
+
timeout. It can also be a pair (tuple) of
|
|
1378
|
+
(connection, read) timeouts.
|
|
1379
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1380
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1381
|
+
request; this effectively ignores the
|
|
1382
|
+
authentication in the spec for a single request.
|
|
1383
|
+
:type _request_auth: dict, optional
|
|
1384
|
+
:param _content_type: force content-type for the request.
|
|
1385
|
+
:type _content_type: str, Optional
|
|
1386
|
+
:param _headers: set to override the headers for a single
|
|
1387
|
+
request; this effectively ignores the headers
|
|
1388
|
+
in the spec for a single request.
|
|
1389
|
+
:type _headers: dict, optional
|
|
1390
|
+
:param _host_index: set to override the host_index for a single
|
|
1391
|
+
request; this effectively ignores the host_index
|
|
1392
|
+
in the spec for a single request.
|
|
1393
|
+
:type _host_index: int, optional
|
|
1394
|
+
:return: Returns the result object.
|
|
1395
|
+
""" # noqa: E501
|
|
1396
|
+
|
|
1397
|
+
_param = self._api_v3_click_collect_orders_order_id_cancel_patch_serialize(
|
|
1398
|
+
order_id=order_id,
|
|
1399
|
+
_request_auth=_request_auth,
|
|
1400
|
+
_content_type=_content_type,
|
|
1401
|
+
_headers=_headers,
|
|
1402
|
+
_host_index=_host_index
|
|
1403
|
+
)
|
|
1404
|
+
|
|
1405
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1406
|
+
'204': None,
|
|
1407
|
+
'400': "Error",
|
|
1408
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1409
|
+
'403': "Error",
|
|
1410
|
+
'404': "Error",
|
|
1411
|
+
'409': "Error",
|
|
1412
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1413
|
+
}
|
|
1414
|
+
response_data = self.api_client.call_api(
|
|
1415
|
+
*_param,
|
|
1416
|
+
_request_timeout=_request_timeout
|
|
1417
|
+
)
|
|
1418
|
+
return response_data.response
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
def _api_v3_click_collect_orders_order_id_cancel_patch_serialize(
|
|
1422
|
+
self,
|
|
1423
|
+
order_id,
|
|
1424
|
+
_request_auth,
|
|
1425
|
+
_content_type,
|
|
1426
|
+
_headers,
|
|
1427
|
+
_host_index,
|
|
1428
|
+
) -> RequestSerialized:
|
|
1429
|
+
|
|
1430
|
+
_host = None
|
|
1431
|
+
|
|
1432
|
+
_collection_formats: Dict[str, str] = {
|
|
1433
|
+
}
|
|
1434
|
+
|
|
1435
|
+
_path_params: Dict[str, str] = {}
|
|
1436
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1437
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1438
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1439
|
+
_files: Dict[
|
|
1440
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1441
|
+
] = {}
|
|
1442
|
+
_body_params: Optional[bytes] = None
|
|
1443
|
+
|
|
1444
|
+
# process the path parameters
|
|
1445
|
+
if order_id is not None:
|
|
1446
|
+
_path_params['orderId'] = order_id
|
|
1447
|
+
# process the query parameters
|
|
1448
|
+
# process the header parameters
|
|
1449
|
+
# process the form parameters
|
|
1450
|
+
# process the body parameter
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
# set the HTTP header `Accept`
|
|
1454
|
+
if 'Accept' not in _header_params:
|
|
1455
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1456
|
+
[
|
|
1457
|
+
'application/json'
|
|
1458
|
+
]
|
|
1459
|
+
)
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
# authentication setting
|
|
1463
|
+
_auth_settings: List[str] = [
|
|
1464
|
+
'HeaderApiKey'
|
|
1465
|
+
]
|
|
1466
|
+
|
|
1467
|
+
return self.api_client.param_serialize(
|
|
1468
|
+
method='PATCH',
|
|
1469
|
+
resource_path='/api/v3/click-collect/orders/{orderId}/cancel',
|
|
1470
|
+
path_params=_path_params,
|
|
1471
|
+
query_params=_query_params,
|
|
1472
|
+
header_params=_header_params,
|
|
1473
|
+
body=_body_params,
|
|
1474
|
+
post_params=_form_params,
|
|
1475
|
+
files=_files,
|
|
1476
|
+
auth_settings=_auth_settings,
|
|
1477
|
+
collection_formats=_collection_formats,
|
|
1478
|
+
_host=_host,
|
|
1479
|
+
_request_auth=_request_auth
|
|
1480
|
+
)
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
@validate_call
|
|
1486
|
+
def api_v3_click_collect_orders_order_id_confirm_patch(
|
|
1487
|
+
self,
|
|
1488
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1489
|
+
_request_timeout: Union[
|
|
1490
|
+
None,
|
|
1491
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1492
|
+
Tuple[
|
|
1493
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1494
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1495
|
+
]
|
|
1496
|
+
] = None,
|
|
1497
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1498
|
+
_content_type: Optional[StrictStr] = None,
|
|
1499
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1500
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1501
|
+
) -> None:
|
|
1502
|
+
"""Перевести на сборку
|
|
1503
|
+
|
|
1504
|
+
Метод переводит сборочное задание в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1505
|
+
|
|
1506
|
+
:param order_id: ID сборочного задания (required)
|
|
1507
|
+
:type order_id: int
|
|
1508
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1509
|
+
number provided, it will be total request
|
|
1510
|
+
timeout. It can also be a pair (tuple) of
|
|
1511
|
+
(connection, read) timeouts.
|
|
1512
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1513
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1514
|
+
request; this effectively ignores the
|
|
1515
|
+
authentication in the spec for a single request.
|
|
1516
|
+
:type _request_auth: dict, optional
|
|
1517
|
+
:param _content_type: force content-type for the request.
|
|
1518
|
+
:type _content_type: str, Optional
|
|
1519
|
+
:param _headers: set to override the headers for a single
|
|
1520
|
+
request; this effectively ignores the headers
|
|
1521
|
+
in the spec for a single request.
|
|
1522
|
+
:type _headers: dict, optional
|
|
1523
|
+
:param _host_index: set to override the host_index for a single
|
|
1524
|
+
request; this effectively ignores the host_index
|
|
1525
|
+
in the spec for a single request.
|
|
1526
|
+
:type _host_index: int, optional
|
|
1527
|
+
:return: Returns the result object.
|
|
1528
|
+
""" # noqa: E501
|
|
1529
|
+
|
|
1530
|
+
_param = self._api_v3_click_collect_orders_order_id_confirm_patch_serialize(
|
|
1531
|
+
order_id=order_id,
|
|
1532
|
+
_request_auth=_request_auth,
|
|
1533
|
+
_content_type=_content_type,
|
|
1534
|
+
_headers=_headers,
|
|
1535
|
+
_host_index=_host_index
|
|
1536
|
+
)
|
|
1537
|
+
|
|
1538
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1539
|
+
'204': None,
|
|
1540
|
+
'400': "Error",
|
|
1541
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1542
|
+
'403': "Error",
|
|
1543
|
+
'404': "Error",
|
|
1544
|
+
'409': "Error",
|
|
1545
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1546
|
+
}
|
|
1547
|
+
response_data = self.api_client.call_api(
|
|
1548
|
+
*_param,
|
|
1549
|
+
_request_timeout=_request_timeout
|
|
1550
|
+
)
|
|
1551
|
+
response_data.read()
|
|
1552
|
+
return self.api_client.response_deserialize(
|
|
1553
|
+
response_data=response_data,
|
|
1554
|
+
response_types_map=_response_types_map,
|
|
1555
|
+
).data
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
@validate_call
|
|
1559
|
+
def api_v3_click_collect_orders_order_id_confirm_patch_with_http_info(
|
|
1560
|
+
self,
|
|
1561
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1562
|
+
_request_timeout: Union[
|
|
1563
|
+
None,
|
|
1564
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1565
|
+
Tuple[
|
|
1566
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1567
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1568
|
+
]
|
|
1569
|
+
] = None,
|
|
1570
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1571
|
+
_content_type: Optional[StrictStr] = None,
|
|
1572
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1573
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1574
|
+
) -> ApiResponse[None]:
|
|
1575
|
+
"""Перевести на сборку
|
|
1576
|
+
|
|
1577
|
+
Метод переводит сборочное задание в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1578
|
+
|
|
1579
|
+
:param order_id: ID сборочного задания (required)
|
|
1580
|
+
:type order_id: int
|
|
1581
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1582
|
+
number provided, it will be total request
|
|
1583
|
+
timeout. It can also be a pair (tuple) of
|
|
1584
|
+
(connection, read) timeouts.
|
|
1585
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1586
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1587
|
+
request; this effectively ignores the
|
|
1588
|
+
authentication in the spec for a single request.
|
|
1589
|
+
:type _request_auth: dict, optional
|
|
1590
|
+
:param _content_type: force content-type for the request.
|
|
1591
|
+
:type _content_type: str, Optional
|
|
1592
|
+
:param _headers: set to override the headers for a single
|
|
1593
|
+
request; this effectively ignores the headers
|
|
1594
|
+
in the spec for a single request.
|
|
1595
|
+
:type _headers: dict, optional
|
|
1596
|
+
:param _host_index: set to override the host_index for a single
|
|
1597
|
+
request; this effectively ignores the host_index
|
|
1598
|
+
in the spec for a single request.
|
|
1599
|
+
:type _host_index: int, optional
|
|
1600
|
+
:return: Returns the result object.
|
|
1601
|
+
""" # noqa: E501
|
|
1602
|
+
|
|
1603
|
+
_param = self._api_v3_click_collect_orders_order_id_confirm_patch_serialize(
|
|
1604
|
+
order_id=order_id,
|
|
1605
|
+
_request_auth=_request_auth,
|
|
1606
|
+
_content_type=_content_type,
|
|
1607
|
+
_headers=_headers,
|
|
1608
|
+
_host_index=_host_index
|
|
1609
|
+
)
|
|
1610
|
+
|
|
1611
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1612
|
+
'204': None,
|
|
1613
|
+
'400': "Error",
|
|
1614
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1615
|
+
'403': "Error",
|
|
1616
|
+
'404': "Error",
|
|
1617
|
+
'409': "Error",
|
|
1618
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1619
|
+
}
|
|
1620
|
+
response_data = self.api_client.call_api(
|
|
1621
|
+
*_param,
|
|
1622
|
+
_request_timeout=_request_timeout
|
|
1623
|
+
)
|
|
1624
|
+
response_data.read()
|
|
1625
|
+
return self.api_client.response_deserialize(
|
|
1626
|
+
response_data=response_data,
|
|
1627
|
+
response_types_map=_response_types_map,
|
|
1628
|
+
)
|
|
1629
|
+
|
|
1630
|
+
|
|
1631
|
+
@validate_call
|
|
1632
|
+
def api_v3_click_collect_orders_order_id_confirm_patch_without_preload_content(
|
|
1633
|
+
self,
|
|
1634
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1635
|
+
_request_timeout: Union[
|
|
1636
|
+
None,
|
|
1637
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1638
|
+
Tuple[
|
|
1639
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1640
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1641
|
+
]
|
|
1642
|
+
] = None,
|
|
1643
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1644
|
+
_content_type: Optional[StrictStr] = None,
|
|
1645
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1646
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1647
|
+
) -> RESTResponseType:
|
|
1648
|
+
"""Перевести на сборку
|
|
1649
|
+
|
|
1650
|
+
Метод переводит сборочное задание в статус `confirm` — на сборке. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1651
|
+
|
|
1652
|
+
:param order_id: ID сборочного задания (required)
|
|
1653
|
+
:type order_id: int
|
|
1654
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1655
|
+
number provided, it will be total request
|
|
1656
|
+
timeout. It can also be a pair (tuple) of
|
|
1657
|
+
(connection, read) timeouts.
|
|
1658
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1659
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1660
|
+
request; this effectively ignores the
|
|
1661
|
+
authentication in the spec for a single request.
|
|
1662
|
+
:type _request_auth: dict, optional
|
|
1663
|
+
:param _content_type: force content-type for the request.
|
|
1664
|
+
:type _content_type: str, Optional
|
|
1665
|
+
:param _headers: set to override the headers for a single
|
|
1666
|
+
request; this effectively ignores the headers
|
|
1667
|
+
in the spec for a single request.
|
|
1668
|
+
:type _headers: dict, optional
|
|
1669
|
+
:param _host_index: set to override the host_index for a single
|
|
1670
|
+
request; this effectively ignores the host_index
|
|
1671
|
+
in the spec for a single request.
|
|
1672
|
+
:type _host_index: int, optional
|
|
1673
|
+
:return: Returns the result object.
|
|
1674
|
+
""" # noqa: E501
|
|
1675
|
+
|
|
1676
|
+
_param = self._api_v3_click_collect_orders_order_id_confirm_patch_serialize(
|
|
1677
|
+
order_id=order_id,
|
|
1678
|
+
_request_auth=_request_auth,
|
|
1679
|
+
_content_type=_content_type,
|
|
1680
|
+
_headers=_headers,
|
|
1681
|
+
_host_index=_host_index
|
|
1682
|
+
)
|
|
1683
|
+
|
|
1684
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1685
|
+
'204': None,
|
|
1686
|
+
'400': "Error",
|
|
1687
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1688
|
+
'403': "Error",
|
|
1689
|
+
'404': "Error",
|
|
1690
|
+
'409': "Error",
|
|
1691
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1692
|
+
}
|
|
1693
|
+
response_data = self.api_client.call_api(
|
|
1694
|
+
*_param,
|
|
1695
|
+
_request_timeout=_request_timeout
|
|
1696
|
+
)
|
|
1697
|
+
return response_data.response
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
def _api_v3_click_collect_orders_order_id_confirm_patch_serialize(
|
|
1701
|
+
self,
|
|
1702
|
+
order_id,
|
|
1703
|
+
_request_auth,
|
|
1704
|
+
_content_type,
|
|
1705
|
+
_headers,
|
|
1706
|
+
_host_index,
|
|
1707
|
+
) -> RequestSerialized:
|
|
1708
|
+
|
|
1709
|
+
_host = None
|
|
1710
|
+
|
|
1711
|
+
_collection_formats: Dict[str, str] = {
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
_path_params: Dict[str, str] = {}
|
|
1715
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1716
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1717
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1718
|
+
_files: Dict[
|
|
1719
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1720
|
+
] = {}
|
|
1721
|
+
_body_params: Optional[bytes] = None
|
|
1722
|
+
|
|
1723
|
+
# process the path parameters
|
|
1724
|
+
if order_id is not None:
|
|
1725
|
+
_path_params['orderId'] = order_id
|
|
1726
|
+
# process the query parameters
|
|
1727
|
+
# process the header parameters
|
|
1728
|
+
# process the form parameters
|
|
1729
|
+
# process the body parameter
|
|
1730
|
+
|
|
1731
|
+
|
|
1732
|
+
# set the HTTP header `Accept`
|
|
1733
|
+
if 'Accept' not in _header_params:
|
|
1734
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1735
|
+
[
|
|
1736
|
+
'application/json'
|
|
1737
|
+
]
|
|
1738
|
+
)
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
# authentication setting
|
|
1742
|
+
_auth_settings: List[str] = [
|
|
1743
|
+
'HeaderApiKey'
|
|
1744
|
+
]
|
|
1745
|
+
|
|
1746
|
+
return self.api_client.param_serialize(
|
|
1747
|
+
method='PATCH',
|
|
1748
|
+
resource_path='/api/v3/click-collect/orders/{orderId}/confirm',
|
|
1749
|
+
path_params=_path_params,
|
|
1750
|
+
query_params=_query_params,
|
|
1751
|
+
header_params=_header_params,
|
|
1752
|
+
body=_body_params,
|
|
1753
|
+
post_params=_form_params,
|
|
1754
|
+
files=_files,
|
|
1755
|
+
auth_settings=_auth_settings,
|
|
1756
|
+
collection_formats=_collection_formats,
|
|
1757
|
+
_host=_host,
|
|
1758
|
+
_request_auth=_request_auth
|
|
1759
|
+
)
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
@validate_call
|
|
1765
|
+
def api_v3_click_collect_orders_order_id_prepare_patch(
|
|
1766
|
+
self,
|
|
1767
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1768
|
+
_request_timeout: Union[
|
|
1769
|
+
None,
|
|
1770
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1771
|
+
Tuple[
|
|
1772
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1773
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1774
|
+
]
|
|
1775
|
+
] = None,
|
|
1776
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1777
|
+
_content_type: Optional[StrictStr] = None,
|
|
1778
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1779
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1780
|
+
) -> None:
|
|
1781
|
+
"""Сообщить, что сборочное задание готово к выдаче
|
|
1782
|
+
|
|
1783
|
+
Метод переводит сборочное задание в статус `prepare` — готово к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1784
|
+
|
|
1785
|
+
:param order_id: ID сборочного задания (required)
|
|
1786
|
+
:type order_id: int
|
|
1787
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1788
|
+
number provided, it will be total request
|
|
1789
|
+
timeout. It can also be a pair (tuple) of
|
|
1790
|
+
(connection, read) timeouts.
|
|
1791
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1792
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1793
|
+
request; this effectively ignores the
|
|
1794
|
+
authentication in the spec for a single request.
|
|
1795
|
+
:type _request_auth: dict, optional
|
|
1796
|
+
:param _content_type: force content-type for the request.
|
|
1797
|
+
:type _content_type: str, Optional
|
|
1798
|
+
:param _headers: set to override the headers for a single
|
|
1799
|
+
request; this effectively ignores the headers
|
|
1800
|
+
in the spec for a single request.
|
|
1801
|
+
:type _headers: dict, optional
|
|
1802
|
+
:param _host_index: set to override the host_index for a single
|
|
1803
|
+
request; this effectively ignores the host_index
|
|
1804
|
+
in the spec for a single request.
|
|
1805
|
+
:type _host_index: int, optional
|
|
1806
|
+
:return: Returns the result object.
|
|
1807
|
+
""" # noqa: E501
|
|
1808
|
+
|
|
1809
|
+
_param = self._api_v3_click_collect_orders_order_id_prepare_patch_serialize(
|
|
1810
|
+
order_id=order_id,
|
|
1811
|
+
_request_auth=_request_auth,
|
|
1812
|
+
_content_type=_content_type,
|
|
1813
|
+
_headers=_headers,
|
|
1814
|
+
_host_index=_host_index
|
|
1815
|
+
)
|
|
1816
|
+
|
|
1817
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1818
|
+
'204': None,
|
|
1819
|
+
'400': "Error",
|
|
1820
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1821
|
+
'403': "Error",
|
|
1822
|
+
'404': "Error",
|
|
1823
|
+
'409': "Error",
|
|
1824
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1825
|
+
}
|
|
1826
|
+
response_data = self.api_client.call_api(
|
|
1827
|
+
*_param,
|
|
1828
|
+
_request_timeout=_request_timeout
|
|
1829
|
+
)
|
|
1830
|
+
response_data.read()
|
|
1831
|
+
return self.api_client.response_deserialize(
|
|
1832
|
+
response_data=response_data,
|
|
1833
|
+
response_types_map=_response_types_map,
|
|
1834
|
+
).data
|
|
1835
|
+
|
|
1836
|
+
|
|
1837
|
+
@validate_call
|
|
1838
|
+
def api_v3_click_collect_orders_order_id_prepare_patch_with_http_info(
|
|
1839
|
+
self,
|
|
1840
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1841
|
+
_request_timeout: Union[
|
|
1842
|
+
None,
|
|
1843
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1844
|
+
Tuple[
|
|
1845
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1846
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1847
|
+
]
|
|
1848
|
+
] = None,
|
|
1849
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1850
|
+
_content_type: Optional[StrictStr] = None,
|
|
1851
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1852
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1853
|
+
) -> ApiResponse[None]:
|
|
1854
|
+
"""Сообщить, что сборочное задание готово к выдаче
|
|
1855
|
+
|
|
1856
|
+
Метод переводит сборочное задание в статус `prepare` — готово к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1857
|
+
|
|
1858
|
+
:param order_id: ID сборочного задания (required)
|
|
1859
|
+
:type order_id: int
|
|
1860
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1861
|
+
number provided, it will be total request
|
|
1862
|
+
timeout. It can also be a pair (tuple) of
|
|
1863
|
+
(connection, read) timeouts.
|
|
1864
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1865
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1866
|
+
request; this effectively ignores the
|
|
1867
|
+
authentication in the spec for a single request.
|
|
1868
|
+
:type _request_auth: dict, optional
|
|
1869
|
+
:param _content_type: force content-type for the request.
|
|
1870
|
+
:type _content_type: str, Optional
|
|
1871
|
+
:param _headers: set to override the headers for a single
|
|
1872
|
+
request; this effectively ignores the headers
|
|
1873
|
+
in the spec for a single request.
|
|
1874
|
+
:type _headers: dict, optional
|
|
1875
|
+
:param _host_index: set to override the host_index for a single
|
|
1876
|
+
request; this effectively ignores the host_index
|
|
1877
|
+
in the spec for a single request.
|
|
1878
|
+
:type _host_index: int, optional
|
|
1879
|
+
:return: Returns the result object.
|
|
1880
|
+
""" # noqa: E501
|
|
1881
|
+
|
|
1882
|
+
_param = self._api_v3_click_collect_orders_order_id_prepare_patch_serialize(
|
|
1883
|
+
order_id=order_id,
|
|
1884
|
+
_request_auth=_request_auth,
|
|
1885
|
+
_content_type=_content_type,
|
|
1886
|
+
_headers=_headers,
|
|
1887
|
+
_host_index=_host_index
|
|
1888
|
+
)
|
|
1889
|
+
|
|
1890
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1891
|
+
'204': None,
|
|
1892
|
+
'400': "Error",
|
|
1893
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1894
|
+
'403': "Error",
|
|
1895
|
+
'404': "Error",
|
|
1896
|
+
'409': "Error",
|
|
1897
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1898
|
+
}
|
|
1899
|
+
response_data = self.api_client.call_api(
|
|
1900
|
+
*_param,
|
|
1901
|
+
_request_timeout=_request_timeout
|
|
1902
|
+
)
|
|
1903
|
+
response_data.read()
|
|
1904
|
+
return self.api_client.response_deserialize(
|
|
1905
|
+
response_data=response_data,
|
|
1906
|
+
response_types_map=_response_types_map,
|
|
1907
|
+
)
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
@validate_call
|
|
1911
|
+
def api_v3_click_collect_orders_order_id_prepare_patch_without_preload_content(
|
|
1912
|
+
self,
|
|
1913
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
1914
|
+
_request_timeout: Union[
|
|
1915
|
+
None,
|
|
1916
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1917
|
+
Tuple[
|
|
1918
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1919
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1920
|
+
]
|
|
1921
|
+
] = None,
|
|
1922
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1923
|
+
_content_type: Optional[StrictStr] = None,
|
|
1924
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1925
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1926
|
+
) -> RESTResponseType:
|
|
1927
|
+
"""Сообщить, что сборочное задание готово к выдаче
|
|
1928
|
+
|
|
1929
|
+
Метод переводит сборочное задание в статус `prepare` — готово к выдаче. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
1930
|
+
|
|
1931
|
+
:param order_id: ID сборочного задания (required)
|
|
1932
|
+
:type order_id: int
|
|
1933
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1934
|
+
number provided, it will be total request
|
|
1935
|
+
timeout. It can also be a pair (tuple) of
|
|
1936
|
+
(connection, read) timeouts.
|
|
1937
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1938
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1939
|
+
request; this effectively ignores the
|
|
1940
|
+
authentication in the spec for a single request.
|
|
1941
|
+
:type _request_auth: dict, optional
|
|
1942
|
+
:param _content_type: force content-type for the request.
|
|
1943
|
+
:type _content_type: str, Optional
|
|
1944
|
+
:param _headers: set to override the headers for a single
|
|
1945
|
+
request; this effectively ignores the headers
|
|
1946
|
+
in the spec for a single request.
|
|
1947
|
+
:type _headers: dict, optional
|
|
1948
|
+
:param _host_index: set to override the host_index for a single
|
|
1949
|
+
request; this effectively ignores the host_index
|
|
1950
|
+
in the spec for a single request.
|
|
1951
|
+
:type _host_index: int, optional
|
|
1952
|
+
:return: Returns the result object.
|
|
1953
|
+
""" # noqa: E501
|
|
1954
|
+
|
|
1955
|
+
_param = self._api_v3_click_collect_orders_order_id_prepare_patch_serialize(
|
|
1956
|
+
order_id=order_id,
|
|
1957
|
+
_request_auth=_request_auth,
|
|
1958
|
+
_content_type=_content_type,
|
|
1959
|
+
_headers=_headers,
|
|
1960
|
+
_host_index=_host_index
|
|
1961
|
+
)
|
|
1962
|
+
|
|
1963
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1964
|
+
'204': None,
|
|
1965
|
+
'400': "Error",
|
|
1966
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1967
|
+
'403': "Error",
|
|
1968
|
+
'404': "Error",
|
|
1969
|
+
'409': "Error",
|
|
1970
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
1971
|
+
}
|
|
1972
|
+
response_data = self.api_client.call_api(
|
|
1973
|
+
*_param,
|
|
1974
|
+
_request_timeout=_request_timeout
|
|
1975
|
+
)
|
|
1976
|
+
return response_data.response
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
def _api_v3_click_collect_orders_order_id_prepare_patch_serialize(
|
|
1980
|
+
self,
|
|
1981
|
+
order_id,
|
|
1982
|
+
_request_auth,
|
|
1983
|
+
_content_type,
|
|
1984
|
+
_headers,
|
|
1985
|
+
_host_index,
|
|
1986
|
+
) -> RequestSerialized:
|
|
1987
|
+
|
|
1988
|
+
_host = None
|
|
1989
|
+
|
|
1990
|
+
_collection_formats: Dict[str, str] = {
|
|
1991
|
+
}
|
|
1992
|
+
|
|
1993
|
+
_path_params: Dict[str, str] = {}
|
|
1994
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1995
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1996
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1997
|
+
_files: Dict[
|
|
1998
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1999
|
+
] = {}
|
|
2000
|
+
_body_params: Optional[bytes] = None
|
|
2001
|
+
|
|
2002
|
+
# process the path parameters
|
|
2003
|
+
if order_id is not None:
|
|
2004
|
+
_path_params['orderId'] = order_id
|
|
2005
|
+
# process the query parameters
|
|
2006
|
+
# process the header parameters
|
|
2007
|
+
# process the form parameters
|
|
2008
|
+
# process the body parameter
|
|
2009
|
+
|
|
2010
|
+
|
|
2011
|
+
# set the HTTP header `Accept`
|
|
2012
|
+
if 'Accept' not in _header_params:
|
|
2013
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2014
|
+
[
|
|
2015
|
+
'application/json'
|
|
2016
|
+
]
|
|
2017
|
+
)
|
|
2018
|
+
|
|
2019
|
+
|
|
2020
|
+
# authentication setting
|
|
2021
|
+
_auth_settings: List[str] = [
|
|
2022
|
+
'HeaderApiKey'
|
|
2023
|
+
]
|
|
2024
|
+
|
|
2025
|
+
return self.api_client.param_serialize(
|
|
2026
|
+
method='PATCH',
|
|
2027
|
+
resource_path='/api/v3/click-collect/orders/{orderId}/prepare',
|
|
2028
|
+
path_params=_path_params,
|
|
2029
|
+
query_params=_query_params,
|
|
2030
|
+
header_params=_header_params,
|
|
2031
|
+
body=_body_params,
|
|
2032
|
+
post_params=_form_params,
|
|
2033
|
+
files=_files,
|
|
2034
|
+
auth_settings=_auth_settings,
|
|
2035
|
+
collection_formats=_collection_formats,
|
|
2036
|
+
_host=_host,
|
|
2037
|
+
_request_auth=_request_auth
|
|
2038
|
+
)
|
|
2039
|
+
|
|
2040
|
+
|
|
2041
|
+
|
|
2042
|
+
|
|
2043
|
+
@validate_call
|
|
2044
|
+
def api_v3_click_collect_orders_order_id_receive_patch(
|
|
2045
|
+
self,
|
|
2046
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2047
|
+
_request_timeout: Union[
|
|
2048
|
+
None,
|
|
2049
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2050
|
+
Tuple[
|
|
2051
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2052
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2053
|
+
]
|
|
2054
|
+
] = None,
|
|
2055
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2056
|
+
_content_type: Optional[StrictStr] = None,
|
|
2057
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2058
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2059
|
+
) -> None:
|
|
2060
|
+
"""Сообщить, что заказ принят покупателем
|
|
2061
|
+
|
|
2062
|
+
Метод переводит сборочное задание в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2063
|
+
|
|
2064
|
+
:param order_id: ID сборочного задания (required)
|
|
2065
|
+
:type order_id: int
|
|
2066
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2067
|
+
number provided, it will be total request
|
|
2068
|
+
timeout. It can also be a pair (tuple) of
|
|
2069
|
+
(connection, read) timeouts.
|
|
2070
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2071
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2072
|
+
request; this effectively ignores the
|
|
2073
|
+
authentication in the spec for a single request.
|
|
2074
|
+
:type _request_auth: dict, optional
|
|
2075
|
+
:param _content_type: force content-type for the request.
|
|
2076
|
+
:type _content_type: str, Optional
|
|
2077
|
+
:param _headers: set to override the headers for a single
|
|
2078
|
+
request; this effectively ignores the headers
|
|
2079
|
+
in the spec for a single request.
|
|
2080
|
+
:type _headers: dict, optional
|
|
2081
|
+
:param _host_index: set to override the host_index for a single
|
|
2082
|
+
request; this effectively ignores the host_index
|
|
2083
|
+
in the spec for a single request.
|
|
2084
|
+
:type _host_index: int, optional
|
|
2085
|
+
:return: Returns the result object.
|
|
2086
|
+
""" # noqa: E501
|
|
2087
|
+
|
|
2088
|
+
_param = self._api_v3_click_collect_orders_order_id_receive_patch_serialize(
|
|
2089
|
+
order_id=order_id,
|
|
2090
|
+
_request_auth=_request_auth,
|
|
2091
|
+
_content_type=_content_type,
|
|
2092
|
+
_headers=_headers,
|
|
2093
|
+
_host_index=_host_index
|
|
2094
|
+
)
|
|
2095
|
+
|
|
2096
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2097
|
+
'204': None,
|
|
2098
|
+
'400': "Error",
|
|
2099
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2100
|
+
'403': "Error",
|
|
2101
|
+
'404': "Error",
|
|
2102
|
+
'409': "Error",
|
|
2103
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2104
|
+
}
|
|
2105
|
+
response_data = self.api_client.call_api(
|
|
2106
|
+
*_param,
|
|
2107
|
+
_request_timeout=_request_timeout
|
|
2108
|
+
)
|
|
2109
|
+
response_data.read()
|
|
2110
|
+
return self.api_client.response_deserialize(
|
|
2111
|
+
response_data=response_data,
|
|
2112
|
+
response_types_map=_response_types_map,
|
|
2113
|
+
).data
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
@validate_call
|
|
2117
|
+
def api_v3_click_collect_orders_order_id_receive_patch_with_http_info(
|
|
2118
|
+
self,
|
|
2119
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2120
|
+
_request_timeout: Union[
|
|
2121
|
+
None,
|
|
2122
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2123
|
+
Tuple[
|
|
2124
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2125
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2126
|
+
]
|
|
2127
|
+
] = None,
|
|
2128
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2129
|
+
_content_type: Optional[StrictStr] = None,
|
|
2130
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2131
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2132
|
+
) -> ApiResponse[None]:
|
|
2133
|
+
"""Сообщить, что заказ принят покупателем
|
|
2134
|
+
|
|
2135
|
+
Метод переводит сборочное задание в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2136
|
+
|
|
2137
|
+
:param order_id: ID сборочного задания (required)
|
|
2138
|
+
:type order_id: int
|
|
2139
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2140
|
+
number provided, it will be total request
|
|
2141
|
+
timeout. It can also be a pair (tuple) of
|
|
2142
|
+
(connection, read) timeouts.
|
|
2143
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2144
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2145
|
+
request; this effectively ignores the
|
|
2146
|
+
authentication in the spec for a single request.
|
|
2147
|
+
:type _request_auth: dict, optional
|
|
2148
|
+
:param _content_type: force content-type for the request.
|
|
2149
|
+
:type _content_type: str, Optional
|
|
2150
|
+
:param _headers: set to override the headers for a single
|
|
2151
|
+
request; this effectively ignores the headers
|
|
2152
|
+
in the spec for a single request.
|
|
2153
|
+
:type _headers: dict, optional
|
|
2154
|
+
:param _host_index: set to override the host_index for a single
|
|
2155
|
+
request; this effectively ignores the host_index
|
|
2156
|
+
in the spec for a single request.
|
|
2157
|
+
:type _host_index: int, optional
|
|
2158
|
+
:return: Returns the result object.
|
|
2159
|
+
""" # noqa: E501
|
|
2160
|
+
|
|
2161
|
+
_param = self._api_v3_click_collect_orders_order_id_receive_patch_serialize(
|
|
2162
|
+
order_id=order_id,
|
|
2163
|
+
_request_auth=_request_auth,
|
|
2164
|
+
_content_type=_content_type,
|
|
2165
|
+
_headers=_headers,
|
|
2166
|
+
_host_index=_host_index
|
|
2167
|
+
)
|
|
2168
|
+
|
|
2169
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2170
|
+
'204': None,
|
|
2171
|
+
'400': "Error",
|
|
2172
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2173
|
+
'403': "Error",
|
|
2174
|
+
'404': "Error",
|
|
2175
|
+
'409': "Error",
|
|
2176
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2177
|
+
}
|
|
2178
|
+
response_data = self.api_client.call_api(
|
|
2179
|
+
*_param,
|
|
2180
|
+
_request_timeout=_request_timeout
|
|
2181
|
+
)
|
|
2182
|
+
response_data.read()
|
|
2183
|
+
return self.api_client.response_deserialize(
|
|
2184
|
+
response_data=response_data,
|
|
2185
|
+
response_types_map=_response_types_map,
|
|
2186
|
+
)
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
@validate_call
|
|
2190
|
+
def api_v3_click_collect_orders_order_id_receive_patch_without_preload_content(
|
|
2191
|
+
self,
|
|
2192
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2193
|
+
_request_timeout: Union[
|
|
2194
|
+
None,
|
|
2195
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2196
|
+
Tuple[
|
|
2197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2198
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2199
|
+
]
|
|
2200
|
+
] = None,
|
|
2201
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2202
|
+
_content_type: Optional[StrictStr] = None,
|
|
2203
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2204
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2205
|
+
) -> RESTResponseType:
|
|
2206
|
+
"""Сообщить, что заказ принят покупателем
|
|
2207
|
+
|
|
2208
|
+
Метод переводит сборочное задание в статус `receive` — получено покупателем. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2209
|
+
|
|
2210
|
+
:param order_id: ID сборочного задания (required)
|
|
2211
|
+
:type order_id: int
|
|
2212
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2213
|
+
number provided, it will be total request
|
|
2214
|
+
timeout. It can also be a pair (tuple) of
|
|
2215
|
+
(connection, read) timeouts.
|
|
2216
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2217
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2218
|
+
request; this effectively ignores the
|
|
2219
|
+
authentication in the spec for a single request.
|
|
2220
|
+
:type _request_auth: dict, optional
|
|
2221
|
+
:param _content_type: force content-type for the request.
|
|
2222
|
+
:type _content_type: str, Optional
|
|
2223
|
+
:param _headers: set to override the headers for a single
|
|
2224
|
+
request; this effectively ignores the headers
|
|
2225
|
+
in the spec for a single request.
|
|
2226
|
+
:type _headers: dict, optional
|
|
2227
|
+
:param _host_index: set to override the host_index for a single
|
|
2228
|
+
request; this effectively ignores the host_index
|
|
2229
|
+
in the spec for a single request.
|
|
2230
|
+
:type _host_index: int, optional
|
|
2231
|
+
:return: Returns the result object.
|
|
2232
|
+
""" # noqa: E501
|
|
2233
|
+
|
|
2234
|
+
_param = self._api_v3_click_collect_orders_order_id_receive_patch_serialize(
|
|
2235
|
+
order_id=order_id,
|
|
2236
|
+
_request_auth=_request_auth,
|
|
2237
|
+
_content_type=_content_type,
|
|
2238
|
+
_headers=_headers,
|
|
2239
|
+
_host_index=_host_index
|
|
2240
|
+
)
|
|
2241
|
+
|
|
2242
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2243
|
+
'204': None,
|
|
2244
|
+
'400': "Error",
|
|
2245
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2246
|
+
'403': "Error",
|
|
2247
|
+
'404': "Error",
|
|
2248
|
+
'409': "Error",
|
|
2249
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2250
|
+
}
|
|
2251
|
+
response_data = self.api_client.call_api(
|
|
2252
|
+
*_param,
|
|
2253
|
+
_request_timeout=_request_timeout
|
|
2254
|
+
)
|
|
2255
|
+
return response_data.response
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
def _api_v3_click_collect_orders_order_id_receive_patch_serialize(
|
|
2259
|
+
self,
|
|
2260
|
+
order_id,
|
|
2261
|
+
_request_auth,
|
|
2262
|
+
_content_type,
|
|
2263
|
+
_headers,
|
|
2264
|
+
_host_index,
|
|
2265
|
+
) -> RequestSerialized:
|
|
2266
|
+
|
|
2267
|
+
_host = None
|
|
2268
|
+
|
|
2269
|
+
_collection_formats: Dict[str, str] = {
|
|
2270
|
+
}
|
|
2271
|
+
|
|
2272
|
+
_path_params: Dict[str, str] = {}
|
|
2273
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2274
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2275
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2276
|
+
_files: Dict[
|
|
2277
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2278
|
+
] = {}
|
|
2279
|
+
_body_params: Optional[bytes] = None
|
|
2280
|
+
|
|
2281
|
+
# process the path parameters
|
|
2282
|
+
if order_id is not None:
|
|
2283
|
+
_path_params['orderId'] = order_id
|
|
2284
|
+
# process the query parameters
|
|
2285
|
+
# process the header parameters
|
|
2286
|
+
# process the form parameters
|
|
2287
|
+
# process the body parameter
|
|
2288
|
+
|
|
2289
|
+
|
|
2290
|
+
# set the HTTP header `Accept`
|
|
2291
|
+
if 'Accept' not in _header_params:
|
|
2292
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2293
|
+
[
|
|
2294
|
+
'application/json'
|
|
2295
|
+
]
|
|
2296
|
+
)
|
|
2297
|
+
|
|
2298
|
+
|
|
2299
|
+
# authentication setting
|
|
2300
|
+
_auth_settings: List[str] = [
|
|
2301
|
+
'HeaderApiKey'
|
|
2302
|
+
]
|
|
2303
|
+
|
|
2304
|
+
return self.api_client.param_serialize(
|
|
2305
|
+
method='PATCH',
|
|
2306
|
+
resource_path='/api/v3/click-collect/orders/{orderId}/receive',
|
|
2307
|
+
path_params=_path_params,
|
|
2308
|
+
query_params=_query_params,
|
|
2309
|
+
header_params=_header_params,
|
|
2310
|
+
body=_body_params,
|
|
2311
|
+
post_params=_form_params,
|
|
2312
|
+
files=_files,
|
|
2313
|
+
auth_settings=_auth_settings,
|
|
2314
|
+
collection_formats=_collection_formats,
|
|
2315
|
+
_host=_host,
|
|
2316
|
+
_request_auth=_request_auth
|
|
2317
|
+
)
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
|
|
2321
|
+
|
|
2322
|
+
@validate_call
|
|
2323
|
+
def api_v3_click_collect_orders_order_id_reject_patch(
|
|
2324
|
+
self,
|
|
2325
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2326
|
+
_request_timeout: Union[
|
|
2327
|
+
None,
|
|
2328
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2329
|
+
Tuple[
|
|
2330
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2331
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2332
|
+
]
|
|
2333
|
+
] = None,
|
|
2334
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2335
|
+
_content_type: Optional[StrictStr] = None,
|
|
2336
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2337
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2338
|
+
) -> None:
|
|
2339
|
+
"""Сообщить, что покупатель отказался от заказа
|
|
2340
|
+
|
|
2341
|
+
Метод переводит сборочное задание в статус `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2342
|
+
|
|
2343
|
+
:param order_id: ID сборочного задания (required)
|
|
2344
|
+
:type order_id: int
|
|
2345
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2346
|
+
number provided, it will be total request
|
|
2347
|
+
timeout. It can also be a pair (tuple) of
|
|
2348
|
+
(connection, read) timeouts.
|
|
2349
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2350
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2351
|
+
request; this effectively ignores the
|
|
2352
|
+
authentication in the spec for a single request.
|
|
2353
|
+
:type _request_auth: dict, optional
|
|
2354
|
+
:param _content_type: force content-type for the request.
|
|
2355
|
+
:type _content_type: str, Optional
|
|
2356
|
+
:param _headers: set to override the headers for a single
|
|
2357
|
+
request; this effectively ignores the headers
|
|
2358
|
+
in the spec for a single request.
|
|
2359
|
+
:type _headers: dict, optional
|
|
2360
|
+
:param _host_index: set to override the host_index for a single
|
|
2361
|
+
request; this effectively ignores the host_index
|
|
2362
|
+
in the spec for a single request.
|
|
2363
|
+
:type _host_index: int, optional
|
|
2364
|
+
:return: Returns the result object.
|
|
2365
|
+
""" # noqa: E501
|
|
2366
|
+
|
|
2367
|
+
_param = self._api_v3_click_collect_orders_order_id_reject_patch_serialize(
|
|
2368
|
+
order_id=order_id,
|
|
2369
|
+
_request_auth=_request_auth,
|
|
2370
|
+
_content_type=_content_type,
|
|
2371
|
+
_headers=_headers,
|
|
2372
|
+
_host_index=_host_index
|
|
2373
|
+
)
|
|
2374
|
+
|
|
2375
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2376
|
+
'204': None,
|
|
2377
|
+
'400': "Error",
|
|
2378
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2379
|
+
'403': "Error",
|
|
2380
|
+
'404': "Error",
|
|
2381
|
+
'409': "Error",
|
|
2382
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2383
|
+
}
|
|
2384
|
+
response_data = self.api_client.call_api(
|
|
2385
|
+
*_param,
|
|
2386
|
+
_request_timeout=_request_timeout
|
|
2387
|
+
)
|
|
2388
|
+
response_data.read()
|
|
2389
|
+
return self.api_client.response_deserialize(
|
|
2390
|
+
response_data=response_data,
|
|
2391
|
+
response_types_map=_response_types_map,
|
|
2392
|
+
).data
|
|
2393
|
+
|
|
2394
|
+
|
|
2395
|
+
@validate_call
|
|
2396
|
+
def api_v3_click_collect_orders_order_id_reject_patch_with_http_info(
|
|
2397
|
+
self,
|
|
2398
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2399
|
+
_request_timeout: Union[
|
|
2400
|
+
None,
|
|
2401
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2402
|
+
Tuple[
|
|
2403
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2404
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2405
|
+
]
|
|
2406
|
+
] = None,
|
|
2407
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2408
|
+
_content_type: Optional[StrictStr] = None,
|
|
2409
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2410
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2411
|
+
) -> ApiResponse[None]:
|
|
2412
|
+
"""Сообщить, что покупатель отказался от заказа
|
|
2413
|
+
|
|
2414
|
+
Метод переводит сборочное задание в статус `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2415
|
+
|
|
2416
|
+
:param order_id: ID сборочного задания (required)
|
|
2417
|
+
:type order_id: int
|
|
2418
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2419
|
+
number provided, it will be total request
|
|
2420
|
+
timeout. It can also be a pair (tuple) of
|
|
2421
|
+
(connection, read) timeouts.
|
|
2422
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2423
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2424
|
+
request; this effectively ignores the
|
|
2425
|
+
authentication in the spec for a single request.
|
|
2426
|
+
:type _request_auth: dict, optional
|
|
2427
|
+
:param _content_type: force content-type for the request.
|
|
2428
|
+
:type _content_type: str, Optional
|
|
2429
|
+
:param _headers: set to override the headers for a single
|
|
2430
|
+
request; this effectively ignores the headers
|
|
2431
|
+
in the spec for a single request.
|
|
2432
|
+
:type _headers: dict, optional
|
|
2433
|
+
:param _host_index: set to override the host_index for a single
|
|
2434
|
+
request; this effectively ignores the host_index
|
|
2435
|
+
in the spec for a single request.
|
|
2436
|
+
:type _host_index: int, optional
|
|
2437
|
+
:return: Returns the result object.
|
|
2438
|
+
""" # noqa: E501
|
|
2439
|
+
|
|
2440
|
+
_param = self._api_v3_click_collect_orders_order_id_reject_patch_serialize(
|
|
2441
|
+
order_id=order_id,
|
|
2442
|
+
_request_auth=_request_auth,
|
|
2443
|
+
_content_type=_content_type,
|
|
2444
|
+
_headers=_headers,
|
|
2445
|
+
_host_index=_host_index
|
|
2446
|
+
)
|
|
2447
|
+
|
|
2448
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2449
|
+
'204': None,
|
|
2450
|
+
'400': "Error",
|
|
2451
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2452
|
+
'403': "Error",
|
|
2453
|
+
'404': "Error",
|
|
2454
|
+
'409': "Error",
|
|
2455
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2456
|
+
}
|
|
2457
|
+
response_data = self.api_client.call_api(
|
|
2458
|
+
*_param,
|
|
2459
|
+
_request_timeout=_request_timeout
|
|
2460
|
+
)
|
|
2461
|
+
response_data.read()
|
|
2462
|
+
return self.api_client.response_deserialize(
|
|
2463
|
+
response_data=response_data,
|
|
2464
|
+
response_types_map=_response_types_map,
|
|
2465
|
+
)
|
|
2466
|
+
|
|
2467
|
+
|
|
2468
|
+
@validate_call
|
|
2469
|
+
def api_v3_click_collect_orders_order_id_reject_patch_without_preload_content(
|
|
2470
|
+
self,
|
|
2471
|
+
order_id: Annotated[StrictInt, Field(description="ID сборочного задания")],
|
|
2472
|
+
_request_timeout: Union[
|
|
2473
|
+
None,
|
|
2474
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2475
|
+
Tuple[
|
|
2476
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2477
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2478
|
+
]
|
|
2479
|
+
] = None,
|
|
2480
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2481
|
+
_content_type: Optional[StrictStr] = None,
|
|
2482
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2483
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2484
|
+
) -> RESTResponseType:
|
|
2485
|
+
"""Сообщить, что покупатель отказался от заказа
|
|
2486
|
+
|
|
2487
|
+
Метод переводит сборочное задание в статус `reject` — отказ при получении. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 100 запросов | 600 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2488
|
+
|
|
2489
|
+
:param order_id: ID сборочного задания (required)
|
|
2490
|
+
:type order_id: int
|
|
2491
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2492
|
+
number provided, it will be total request
|
|
2493
|
+
timeout. It can also be a pair (tuple) of
|
|
2494
|
+
(connection, read) timeouts.
|
|
2495
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2496
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2497
|
+
request; this effectively ignores the
|
|
2498
|
+
authentication in the spec for a single request.
|
|
2499
|
+
:type _request_auth: dict, optional
|
|
2500
|
+
:param _content_type: force content-type for the request.
|
|
2501
|
+
:type _content_type: str, Optional
|
|
2502
|
+
:param _headers: set to override the headers for a single
|
|
2503
|
+
request; this effectively ignores the headers
|
|
2504
|
+
in the spec for a single request.
|
|
2505
|
+
:type _headers: dict, optional
|
|
2506
|
+
:param _host_index: set to override the host_index for a single
|
|
2507
|
+
request; this effectively ignores the host_index
|
|
2508
|
+
in the spec for a single request.
|
|
2509
|
+
:type _host_index: int, optional
|
|
2510
|
+
:return: Returns the result object.
|
|
2511
|
+
""" # noqa: E501
|
|
2512
|
+
|
|
2513
|
+
_param = self._api_v3_click_collect_orders_order_id_reject_patch_serialize(
|
|
2514
|
+
order_id=order_id,
|
|
2515
|
+
_request_auth=_request_auth,
|
|
2516
|
+
_content_type=_content_type,
|
|
2517
|
+
_headers=_headers,
|
|
2518
|
+
_host_index=_host_index
|
|
2519
|
+
)
|
|
2520
|
+
|
|
2521
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2522
|
+
'204': None,
|
|
2523
|
+
'400': "Error",
|
|
2524
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2525
|
+
'403': "Error",
|
|
2526
|
+
'404': "Error",
|
|
2527
|
+
'409': "Error",
|
|
2528
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2529
|
+
}
|
|
2530
|
+
response_data = self.api_client.call_api(
|
|
2531
|
+
*_param,
|
|
2532
|
+
_request_timeout=_request_timeout
|
|
2533
|
+
)
|
|
2534
|
+
return response_data.response
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
def _api_v3_click_collect_orders_order_id_reject_patch_serialize(
|
|
2538
|
+
self,
|
|
2539
|
+
order_id,
|
|
2540
|
+
_request_auth,
|
|
2541
|
+
_content_type,
|
|
2542
|
+
_headers,
|
|
2543
|
+
_host_index,
|
|
2544
|
+
) -> RequestSerialized:
|
|
2545
|
+
|
|
2546
|
+
_host = None
|
|
2547
|
+
|
|
2548
|
+
_collection_formats: Dict[str, str] = {
|
|
2549
|
+
}
|
|
2550
|
+
|
|
2551
|
+
_path_params: Dict[str, str] = {}
|
|
2552
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2553
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2554
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2555
|
+
_files: Dict[
|
|
2556
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2557
|
+
] = {}
|
|
2558
|
+
_body_params: Optional[bytes] = None
|
|
2559
|
+
|
|
2560
|
+
# process the path parameters
|
|
2561
|
+
if order_id is not None:
|
|
2562
|
+
_path_params['orderId'] = order_id
|
|
2563
|
+
# process the query parameters
|
|
2564
|
+
# process the header parameters
|
|
2565
|
+
# process the form parameters
|
|
2566
|
+
# process the body parameter
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
# set the HTTP header `Accept`
|
|
2570
|
+
if 'Accept' not in _header_params:
|
|
2571
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2572
|
+
[
|
|
2573
|
+
'application/json'
|
|
2574
|
+
]
|
|
2575
|
+
)
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
# authentication setting
|
|
2579
|
+
_auth_settings: List[str] = [
|
|
2580
|
+
'HeaderApiKey'
|
|
2581
|
+
]
|
|
2582
|
+
|
|
2583
|
+
return self.api_client.param_serialize(
|
|
2584
|
+
method='PATCH',
|
|
2585
|
+
resource_path='/api/v3/click-collect/orders/{orderId}/reject',
|
|
2586
|
+
path_params=_path_params,
|
|
2587
|
+
query_params=_query_params,
|
|
2588
|
+
header_params=_header_params,
|
|
2589
|
+
body=_body_params,
|
|
2590
|
+
post_params=_form_params,
|
|
2591
|
+
files=_files,
|
|
2592
|
+
auth_settings=_auth_settings,
|
|
2593
|
+
collection_formats=_collection_formats,
|
|
2594
|
+
_host=_host,
|
|
2595
|
+
_request_auth=_request_auth
|
|
2596
|
+
)
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
@validate_call
|
|
2602
|
+
def api_v3_click_collect_orders_status_post(
|
|
2603
|
+
self,
|
|
2604
|
+
api_orders_request: ApiOrdersRequest,
|
|
2605
|
+
_request_timeout: Union[
|
|
2606
|
+
None,
|
|
2607
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2608
|
+
Tuple[
|
|
2609
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2610
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2611
|
+
]
|
|
2612
|
+
] = None,
|
|
2613
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2614
|
+
_content_type: Optional[StrictStr] = None,
|
|
2615
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2616
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2617
|
+
) -> ApiOrderStatuses:
|
|
2618
|
+
"""Получить статусы сборочных заданий
|
|
2619
|
+
|
|
2620
|
+
Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения - действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1confirm/patch) | `prepare` | **Готов к выдаче** | [Сообщить, что сборочное задание готово к выдаче](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1prepare/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1receive/patch) | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1cancel/patch) | `cancel_shelf_life` | **Отмена по истечении срока хранения** | Переводится автоматически по возникновению события <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` - сборочное задание в работе - `sold` - заказ получен покупателем - `canceled` - отмена сборочного задания - `canceled_by_client` - покупатель отменил заказ при получении - `declined_by_client` - покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведён на сборку - `defect` - отмена заказа по причине брака - `ready_for_pickup` - сборочное задание готово к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2621
|
+
|
|
2622
|
+
:param api_orders_request: (required)
|
|
2623
|
+
:type api_orders_request: ApiOrdersRequest
|
|
2624
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2625
|
+
number provided, it will be total request
|
|
2626
|
+
timeout. It can also be a pair (tuple) of
|
|
2627
|
+
(connection, read) timeouts.
|
|
2628
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2629
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2630
|
+
request; this effectively ignores the
|
|
2631
|
+
authentication in the spec for a single request.
|
|
2632
|
+
:type _request_auth: dict, optional
|
|
2633
|
+
:param _content_type: force content-type for the request.
|
|
2634
|
+
:type _content_type: str, Optional
|
|
2635
|
+
:param _headers: set to override the headers for a single
|
|
2636
|
+
request; this effectively ignores the headers
|
|
2637
|
+
in the spec for a single request.
|
|
2638
|
+
:type _headers: dict, optional
|
|
2639
|
+
:param _host_index: set to override the host_index for a single
|
|
2640
|
+
request; this effectively ignores the host_index
|
|
2641
|
+
in the spec for a single request.
|
|
2642
|
+
:type _host_index: int, optional
|
|
2643
|
+
:return: Returns the result object.
|
|
2644
|
+
""" # noqa: E501
|
|
2645
|
+
|
|
2646
|
+
_param = self._api_v3_click_collect_orders_status_post_serialize(
|
|
2647
|
+
api_orders_request=api_orders_request,
|
|
2648
|
+
_request_auth=_request_auth,
|
|
2649
|
+
_content_type=_content_type,
|
|
2650
|
+
_headers=_headers,
|
|
2651
|
+
_host_index=_host_index
|
|
2652
|
+
)
|
|
2653
|
+
|
|
2654
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2655
|
+
'200': "ApiOrderStatuses",
|
|
2656
|
+
'400': "Error",
|
|
2657
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2658
|
+
'403': "Error",
|
|
2659
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2660
|
+
}
|
|
2661
|
+
response_data = self.api_client.call_api(
|
|
2662
|
+
*_param,
|
|
2663
|
+
_request_timeout=_request_timeout
|
|
2664
|
+
)
|
|
2665
|
+
response_data.read()
|
|
2666
|
+
return self.api_client.response_deserialize(
|
|
2667
|
+
response_data=response_data,
|
|
2668
|
+
response_types_map=_response_types_map,
|
|
2669
|
+
).data
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
@validate_call
|
|
2673
|
+
def api_v3_click_collect_orders_status_post_with_http_info(
|
|
2674
|
+
self,
|
|
2675
|
+
api_orders_request: ApiOrdersRequest,
|
|
2676
|
+
_request_timeout: Union[
|
|
2677
|
+
None,
|
|
2678
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2679
|
+
Tuple[
|
|
2680
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2681
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2682
|
+
]
|
|
2683
|
+
] = None,
|
|
2684
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2685
|
+
_content_type: Optional[StrictStr] = None,
|
|
2686
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2687
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2688
|
+
) -> ApiResponse[ApiOrderStatuses]:
|
|
2689
|
+
"""Получить статусы сборочных заданий
|
|
2690
|
+
|
|
2691
|
+
Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения - действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1confirm/patch) | `prepare` | **Готов к выдаче** | [Сообщить, что сборочное задание готово к выдаче](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1prepare/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1receive/patch) | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1cancel/patch) | `cancel_shelf_life` | **Отмена по истечении срока хранения** | Переводится автоматически по возникновению события <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` - сборочное задание в работе - `sold` - заказ получен покупателем - `canceled` - отмена сборочного задания - `canceled_by_client` - покупатель отменил заказ при получении - `declined_by_client` - покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведён на сборку - `defect` - отмена заказа по причине брака - `ready_for_pickup` - сборочное задание готово к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2692
|
+
|
|
2693
|
+
:param api_orders_request: (required)
|
|
2694
|
+
:type api_orders_request: ApiOrdersRequest
|
|
2695
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2696
|
+
number provided, it will be total request
|
|
2697
|
+
timeout. It can also be a pair (tuple) of
|
|
2698
|
+
(connection, read) timeouts.
|
|
2699
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2700
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2701
|
+
request; this effectively ignores the
|
|
2702
|
+
authentication in the spec for a single request.
|
|
2703
|
+
:type _request_auth: dict, optional
|
|
2704
|
+
:param _content_type: force content-type for the request.
|
|
2705
|
+
:type _content_type: str, Optional
|
|
2706
|
+
:param _headers: set to override the headers for a single
|
|
2707
|
+
request; this effectively ignores the headers
|
|
2708
|
+
in the spec for a single request.
|
|
2709
|
+
:type _headers: dict, optional
|
|
2710
|
+
:param _host_index: set to override the host_index for a single
|
|
2711
|
+
request; this effectively ignores the host_index
|
|
2712
|
+
in the spec for a single request.
|
|
2713
|
+
:type _host_index: int, optional
|
|
2714
|
+
:return: Returns the result object.
|
|
2715
|
+
""" # noqa: E501
|
|
2716
|
+
|
|
2717
|
+
_param = self._api_v3_click_collect_orders_status_post_serialize(
|
|
2718
|
+
api_orders_request=api_orders_request,
|
|
2719
|
+
_request_auth=_request_auth,
|
|
2720
|
+
_content_type=_content_type,
|
|
2721
|
+
_headers=_headers,
|
|
2722
|
+
_host_index=_host_index
|
|
2723
|
+
)
|
|
2724
|
+
|
|
2725
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2726
|
+
'200': "ApiOrderStatuses",
|
|
2727
|
+
'400': "Error",
|
|
2728
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2729
|
+
'403': "Error",
|
|
2730
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2731
|
+
}
|
|
2732
|
+
response_data = self.api_client.call_api(
|
|
2733
|
+
*_param,
|
|
2734
|
+
_request_timeout=_request_timeout
|
|
2735
|
+
)
|
|
2736
|
+
response_data.read()
|
|
2737
|
+
return self.api_client.response_deserialize(
|
|
2738
|
+
response_data=response_data,
|
|
2739
|
+
response_types_map=_response_types_map,
|
|
2740
|
+
)
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
@validate_call
|
|
2744
|
+
def api_v3_click_collect_orders_status_post_without_preload_content(
|
|
2745
|
+
self,
|
|
2746
|
+
api_orders_request: ApiOrdersRequest,
|
|
2747
|
+
_request_timeout: Union[
|
|
2748
|
+
None,
|
|
2749
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2750
|
+
Tuple[
|
|
2751
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2752
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2753
|
+
]
|
|
2754
|
+
] = None,
|
|
2755
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2756
|
+
_content_type: Optional[StrictStr] = None,
|
|
2757
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2758
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2759
|
+
) -> RESTResponseType:
|
|
2760
|
+
"""Получить статусы сборочных заданий
|
|
2761
|
+
|
|
2762
|
+
Метод возвращает статусы сборочных заданий по их ID. <br><br> `supplierStatus` — статус сборочного задания. Триггер его изменения - действие самого продавца. Возможные значения `supplierStatus`: | Статус | Описание | Как перевести сборочное задание в данный статус | | ------- | --------- | --------------------------------------| | `new` | **Новое сборочное задание** | | `confirm` | **На сборке** | [Перевести сборочное задание на сборку](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1confirm/patch) | `prepare` | **Готов к выдаче** | [Сообщить, что сборочное задание готово к выдаче](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1prepare/patch) | `receive` | **Получено покупателем** | [Сообщить, что заказ принят покупателем](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1receive/patch) | `reject` | **Отказ покупателя при получении** | [Сообщить, что покупатель отказался от заказа](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1reject/patch) | `cancel` | **Отменено продавцом** | [Отменить сборочное задание](/openapi/in-store-pickup#tag/Sborochnye-zadaniya-Samovyvoz/paths/~1api~1v3~1click-collect~1orders~1%7BorderId%7D~1cancel/patch) | `cancel_shelf_life` | **Отмена по истечении срока хранения** | Переводится автоматически по возникновению события <br><br> `wbStatus` — статус системы Wildberries. Возможные значения `wbStatus`: - `waiting` - сборочное задание в работе - `sold` - заказ получен покупателем - `canceled` - отмена сборочного задания - `canceled_by_client` - покупатель отменил заказ при получении - `declined_by_client` - покупатель отменил заказ в первый чаc <br> Отмена доступна покупателю в первый час с момента заказа, если заказ не переведён на сборку - `defect` - отмена заказа по причине брака - `ready_for_pickup` - сборочное задание готово к выдаче <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для методов <strong>сборочных заданий Самовывоз</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 300 запросов | 200 миллисекунд | 20 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
2763
|
+
|
|
2764
|
+
:param api_orders_request: (required)
|
|
2765
|
+
:type api_orders_request: ApiOrdersRequest
|
|
2766
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2767
|
+
number provided, it will be total request
|
|
2768
|
+
timeout. It can also be a pair (tuple) of
|
|
2769
|
+
(connection, read) timeouts.
|
|
2770
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2771
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2772
|
+
request; this effectively ignores the
|
|
2773
|
+
authentication in the spec for a single request.
|
|
2774
|
+
:type _request_auth: dict, optional
|
|
2775
|
+
:param _content_type: force content-type for the request.
|
|
2776
|
+
:type _content_type: str, Optional
|
|
2777
|
+
:param _headers: set to override the headers for a single
|
|
2778
|
+
request; this effectively ignores the headers
|
|
2779
|
+
in the spec for a single request.
|
|
2780
|
+
:type _headers: dict, optional
|
|
2781
|
+
:param _host_index: set to override the host_index for a single
|
|
2782
|
+
request; this effectively ignores the host_index
|
|
2783
|
+
in the spec for a single request.
|
|
2784
|
+
:type _host_index: int, optional
|
|
2785
|
+
:return: Returns the result object.
|
|
2786
|
+
""" # noqa: E501
|
|
2787
|
+
|
|
2788
|
+
_param = self._api_v3_click_collect_orders_status_post_serialize(
|
|
2789
|
+
api_orders_request=api_orders_request,
|
|
2790
|
+
_request_auth=_request_auth,
|
|
2791
|
+
_content_type=_content_type,
|
|
2792
|
+
_headers=_headers,
|
|
2793
|
+
_host_index=_host_index
|
|
2794
|
+
)
|
|
2795
|
+
|
|
2796
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2797
|
+
'200': "ApiOrderStatuses",
|
|
2798
|
+
'400': "Error",
|
|
2799
|
+
'401': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2800
|
+
'403': "Error",
|
|
2801
|
+
'429': "ApiV3ClickCollectOrdersNewGet401Response",
|
|
2802
|
+
}
|
|
2803
|
+
response_data = self.api_client.call_api(
|
|
2804
|
+
*_param,
|
|
2805
|
+
_request_timeout=_request_timeout
|
|
2806
|
+
)
|
|
2807
|
+
return response_data.response
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
def _api_v3_click_collect_orders_status_post_serialize(
|
|
2811
|
+
self,
|
|
2812
|
+
api_orders_request,
|
|
2813
|
+
_request_auth,
|
|
2814
|
+
_content_type,
|
|
2815
|
+
_headers,
|
|
2816
|
+
_host_index,
|
|
2817
|
+
) -> RequestSerialized:
|
|
2818
|
+
|
|
2819
|
+
_host = None
|
|
2820
|
+
|
|
2821
|
+
_collection_formats: Dict[str, str] = {
|
|
2822
|
+
}
|
|
2823
|
+
|
|
2824
|
+
_path_params: Dict[str, str] = {}
|
|
2825
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2826
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2827
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2828
|
+
_files: Dict[
|
|
2829
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2830
|
+
] = {}
|
|
2831
|
+
_body_params: Optional[bytes] = None
|
|
2832
|
+
|
|
2833
|
+
# process the path parameters
|
|
2834
|
+
# process the query parameters
|
|
2835
|
+
# process the header parameters
|
|
2836
|
+
# process the form parameters
|
|
2837
|
+
# process the body parameter
|
|
2838
|
+
if api_orders_request is not None:
|
|
2839
|
+
_body_params = api_orders_request
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
# set the HTTP header `Accept`
|
|
2843
|
+
if 'Accept' not in _header_params:
|
|
2844
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2845
|
+
[
|
|
2846
|
+
'application/json'
|
|
2847
|
+
]
|
|
2848
|
+
)
|
|
2849
|
+
|
|
2850
|
+
# set the HTTP header `Content-Type`
|
|
2851
|
+
if _content_type:
|
|
2852
|
+
_header_params['Content-Type'] = _content_type
|
|
2853
|
+
else:
|
|
2854
|
+
_default_content_type = (
|
|
2855
|
+
self.api_client.select_header_content_type(
|
|
2856
|
+
[
|
|
2857
|
+
'application/json'
|
|
2858
|
+
]
|
|
2859
|
+
)
|
|
2860
|
+
)
|
|
2861
|
+
if _default_content_type is not None:
|
|
2862
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2863
|
+
|
|
2864
|
+
# authentication setting
|
|
2865
|
+
_auth_settings: List[str] = [
|
|
2866
|
+
'HeaderApiKey'
|
|
2867
|
+
]
|
|
2868
|
+
|
|
2869
|
+
return self.api_client.param_serialize(
|
|
2870
|
+
method='POST',
|
|
2871
|
+
resource_path='/api/v3/click-collect/orders/status',
|
|
2872
|
+
path_params=_path_params,
|
|
2873
|
+
query_params=_query_params,
|
|
2874
|
+
header_params=_header_params,
|
|
2875
|
+
body=_body_params,
|
|
2876
|
+
post_params=_form_params,
|
|
2877
|
+
files=_files,
|
|
2878
|
+
auth_settings=_auth_settings,
|
|
2879
|
+
collection_formats=_collection_formats,
|
|
2880
|
+
_host=_host,
|
|
2881
|
+
_request_auth=_request_auth
|
|
2882
|
+
)
|
|
2883
|
+
|
|
2884
|
+
|