wildberries-sdk 0.1.25__py3-none-any.whl → 0.1.27__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/analytics/__init__.py +1 -1
- wildberries_sdk/analytics/api_client.py +1 -1
- wildberries_sdk/analytics/configuration.py +1 -1
- wildberries_sdk/communications/__init__.py +1 -1
- wildberries_sdk/communications/api/default_api.py +30 -30
- wildberries_sdk/communications/api_client.py +1 -1
- wildberries_sdk/communications/configuration.py +1 -1
- wildberries_sdk/communications/models/api_v1_claims_get200_response_claims_inner.py +3 -4
- wildberries_sdk/communications/models/api_v1_feedback_get200_response_data_product_details.py +1 -1
- wildberries_sdk/communications/models/api_v1_question_get200_response_data_product_details.py +1 -1
- wildberries_sdk/communications/models/api_v1_questions_get200_response_data_questions_inner_product_details.py +1 -1
- wildberries_sdk/communications/models/openapi_pin_review_item.py +1 -1
- wildberries_sdk/communications/models/openapi_pin_review_item_result_data_inner.py +1 -1
- wildberries_sdk/communications/models/openapi_pinned_review_item_result.py +3 -3
- wildberries_sdk/communications/models/openapi_seller_limit.py +4 -4
- wildberries_sdk/communications/models/response_feedback_inner_product_details.py +1 -1
- wildberries_sdk/finances/__init__.py +1 -1
- wildberries_sdk/finances/api_client.py +1 -1
- wildberries_sdk/finances/configuration.py +1 -1
- wildberries_sdk/finances/models/detail_report_item.py +6 -2
- wildberries_sdk/general/__init__.py +1 -1
- wildberries_sdk/general/api_client.py +1 -1
- wildberries_sdk/general/configuration.py +1 -1
- wildberries_sdk/in_store_pickup/__init__.py +1 -1
- wildberries_sdk/in_store_pickup/api_client.py +1 -1
- wildberries_sdk/in_store_pickup/configuration.py +1 -1
- wildberries_sdk/orders_dbs/__init__.py +1 -1
- wildberries_sdk/orders_dbs/api/default_api.py +3 -3
- wildberries_sdk/orders_dbs/api_client.py +1 -1
- wildberries_sdk/orders_dbs/configuration.py +1 -1
- wildberries_sdk/orders_dbw/__init__.py +1 -1
- wildberries_sdk/orders_dbw/api_client.py +1 -1
- wildberries_sdk/orders_dbw/configuration.py +1 -1
- wildberries_sdk/orders_fbs/__init__.py +1 -5
- wildberries_sdk/orders_fbs/api/default_api.py +0 -283
- wildberries_sdk/orders_fbs/api_client.py +1 -1
- wildberries_sdk/orders_fbs/configuration.py +1 -1
- wildberries_sdk/orders_fbs/models/__init__.py +0 -2
- wildberries_sdk/orders_fbw/__init__.py +1 -1
- wildberries_sdk/orders_fbw/api_client.py +1 -1
- wildberries_sdk/orders_fbw/configuration.py +1 -1
- wildberries_sdk/products/__init__.py +1 -1
- wildberries_sdk/products/api/default_api.py +18 -18
- wildberries_sdk/products/api_client.py +1 -1
- wildberries_sdk/products/configuration.py +1 -1
- wildberries_sdk/products/models/content_v2_cards_upload_add_post_request.py +2 -2
- wildberries_sdk/products/models/content_v2_cards_upload_post_request_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_directory_countries_get200_response_data_inner.py +4 -2
- wildberries_sdk/products/models/content_v2_get_cards_list_post200_response_cards_inner.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_cursor.py +3 -2
- wildberries_sdk/products/models/content_v2_get_cards_list_post_request_settings_filter.py +1 -1
- wildberries_sdk/products/models/content_v2_get_cards_trash_post_request_settings_cursor.py +3 -2
- wildberries_sdk/products/models/request_move_nms_imt_conn.py +2 -2
- wildberries_sdk/products/models/request_move_nms_imt_disconn.py +1 -1
- wildberries_sdk/promotion/__init__.py +1 -1
- wildberries_sdk/promotion/api_client.py +1 -1
- wildberries_sdk/promotion/configuration.py +1 -1
- wildberries_sdk/reports/__init__.py +1 -9
- wildberries_sdk/reports/api/default_api.py +153 -765
- wildberries_sdk/reports/api_client.py +1 -1
- wildberries_sdk/reports/configuration.py +1 -1
- wildberries_sdk/reports/models/__init__.py +0 -4
- wildberries_sdk/tariffs/__init__.py +1 -1
- wildberries_sdk/tariffs/api_client.py +1 -1
- wildberries_sdk/tariffs/configuration.py +1 -1
- wildberries_sdk/wbd/__init__.py +1 -1
- wildberries_sdk/wbd/api_client.py +1 -1
- wildberries_sdk/wbd/configuration.py +1 -1
- {wildberries_sdk-0.1.25.dist-info → wildberries_sdk-0.1.27.dist-info}/METADATA +1 -4
- {wildberries_sdk-0.1.25.dist-info → wildberries_sdk-0.1.27.dist-info}/RECORD +73 -79
- wildberries_sdk/orders_fbs/models/api_v3_supplies_supply_id_orders_get200_response.py +0 -95
- wildberries_sdk/orders_fbs/models/supply_order.py +0 -142
- wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response.py +0 -95
- wildberries_sdk/reports/models/api_v1_analytics_characteristics_change_get200_response_report_inner.py +0 -112
- wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response.py +0 -95
- wildberries_sdk/reports/models/api_v1_analytics_incorrect_attachments_get200_response_report_inner.py +0 -97
- {wildberries_sdk-0.1.25.dist-info → wildberries_sdk-0.1.27.dist-info}/LICENSE +0 -0
- {wildberries_sdk-0.1.25.dist-info → wildberries_sdk-0.1.27.dist-info}/WHEEL +0 -0
- {wildberries_sdk-0.1.25.dist-info → wildberries_sdk-0.1.27.dist-info}/top_level.txt +0 -0
|
@@ -84,7 +84,7 @@ class DefaultApi:
|
|
|
84
84
|
) -> None:
|
|
85
85
|
"""Закрепить за сборочными заданиями номер ГТД
|
|
86
86
|
|
|
87
|
-
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута |
|
|
87
|
+
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 20 запросов | 3 секунды | 500 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
88
88
|
|
|
89
89
|
:param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
|
|
90
90
|
:type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
|
|
@@ -157,7 +157,7 @@ class DefaultApi:
|
|
|
157
157
|
) -> ApiResponse[None]:
|
|
158
158
|
"""Закрепить за сборочными заданиями номер ГТД
|
|
159
159
|
|
|
160
|
-
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута |
|
|
160
|
+
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 20 запросов | 3 секунды | 500 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
161
161
|
|
|
162
162
|
:param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
|
|
163
163
|
:type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
|
|
@@ -230,7 +230,7 @@ class DefaultApi:
|
|
|
230
230
|
) -> RESTResponseType:
|
|
231
231
|
"""Закрепить за сборочными заданиями номер ГТД
|
|
232
232
|
|
|
233
|
-
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута |
|
|
233
|
+
Метод обновляет номер ГТД — грузовой таможенной декларации — в [метаданных сборочных заданий](/openapi/orders-dbs#tag/Metadannye-DBS/paths/~1api~1marketplace~1v3~1dbs~1orders~1meta~1info/post). <br><br> У одного сборочного задания может быть только один ГТД. Добавлять номер ГТД можно только для сборочных заданий, которые находятся в [статусе](/openapi/orders-dbs#tag/Sborochnye-zadaniya-DBS/paths/~1api~1v3~1dbs~1orders~1status/post) `delivery`. <div class=\"description_limit\"> <a href=\"/openapi/api-information#tag/Vvedenie/Limity-zaprosov\">Лимит запросов</a> на один аккаунт продавца для всех методов <strong>закрепления метаданных DBS</strong>: | Период | Лимит | Интервал | Всплеск | | --- | --- | --- | --- | | 1 минута | 20 запросов | 3 секунды | 500 запросов | Один запрос с кодом ответа <code>409</code> учитывается как 10 запросов </div>
|
|
234
234
|
|
|
235
235
|
:param api_marketplace_v3_dbs_meta_customs_declaration_post_request:
|
|
236
236
|
:type api_marketplace_v3_dbs_meta_customs_declaration_post_request: ApiMarketplaceV3DbsMetaCustomsDeclarationPostRequest
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.1.27/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -536,7 +536,7 @@ conf = wildberries_sdk.orders_dbs.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: order\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.27".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.1.27/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -536,7 +536,7 @@ conf = wildberries_sdk.orders_dbw.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: ordersdbw\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.27".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
""" # noqa: E501
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
__version__ = "0.1.
|
|
17
|
+
__version__ = "0.1.27"
|
|
18
18
|
|
|
19
19
|
# Define package exports
|
|
20
20
|
__all__ = [
|
|
@@ -60,7 +60,6 @@ __all__ = [
|
|
|
60
60
|
"ApiV3SuppliesPost201Response",
|
|
61
61
|
"ApiV3SuppliesPostRequest",
|
|
62
62
|
"ApiV3SuppliesSupplyIdBarcodeGet200Response",
|
|
63
|
-
"ApiV3SuppliesSupplyIdOrdersGet200Response",
|
|
64
63
|
"ApiV3SuppliesSupplyIdTrbxDeleteRequest",
|
|
65
64
|
"ApiV3SuppliesSupplyIdTrbxGet200Response",
|
|
66
65
|
"ApiV3SuppliesSupplyIdTrbxPost201Response",
|
|
@@ -85,7 +84,6 @@ __all__ = [
|
|
|
85
84
|
"OrdersRequestAPI",
|
|
86
85
|
"PassOffice",
|
|
87
86
|
"Supply",
|
|
88
|
-
"SupplyOrder",
|
|
89
87
|
"SupplyTrbx",
|
|
90
88
|
"TrbxStickers",
|
|
91
89
|
"V3APIError",
|
|
@@ -142,7 +140,6 @@ from wildberries_sdk.orders_fbs.models.api_v3_supplies_orders_reshipment_get200_
|
|
|
142
140
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post201_response import ApiV3SuppliesPost201Response as ApiV3SuppliesPost201Response
|
|
143
141
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post_request import ApiV3SuppliesPostRequest as ApiV3SuppliesPostRequest
|
|
144
142
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_barcode_get200_response import ApiV3SuppliesSupplyIdBarcodeGet200Response as ApiV3SuppliesSupplyIdBarcodeGet200Response
|
|
145
|
-
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_orders_get200_response import ApiV3SuppliesSupplyIdOrdersGet200Response as ApiV3SuppliesSupplyIdOrdersGet200Response
|
|
146
143
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_delete_request import ApiV3SuppliesSupplyIdTrbxDeleteRequest as ApiV3SuppliesSupplyIdTrbxDeleteRequest
|
|
147
144
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_get200_response import ApiV3SuppliesSupplyIdTrbxGet200Response as ApiV3SuppliesSupplyIdTrbxGet200Response
|
|
148
145
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_post201_response import ApiV3SuppliesSupplyIdTrbxPost201Response as ApiV3SuppliesSupplyIdTrbxPost201Response
|
|
@@ -167,7 +164,6 @@ from wildberries_sdk.orders_fbs.models.order_options import OrderOptions as Orde
|
|
|
167
164
|
from wildberries_sdk.orders_fbs.models.orders_request_api import OrdersRequestAPI as OrdersRequestAPI
|
|
168
165
|
from wildberries_sdk.orders_fbs.models.pass_office import PassOffice as PassOffice
|
|
169
166
|
from wildberries_sdk.orders_fbs.models.supply import Supply as Supply
|
|
170
|
-
from wildberries_sdk.orders_fbs.models.supply_order import SupplyOrder as SupplyOrder
|
|
171
167
|
from wildberries_sdk.orders_fbs.models.supply_trbx import SupplyTrbx as SupplyTrbx
|
|
172
168
|
from wildberries_sdk.orders_fbs.models.trbx_stickers import TrbxStickers as TrbxStickers
|
|
173
169
|
from wildberries_sdk.orders_fbs.models.v3_api_error import V3APIError as V3APIError
|
|
@@ -44,7 +44,6 @@ from wildberries_sdk.orders_fbs.models.api_v3_supplies_orders_reshipment_get200_
|
|
|
44
44
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post201_response import ApiV3SuppliesPost201Response
|
|
45
45
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post_request import ApiV3SuppliesPostRequest
|
|
46
46
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_barcode_get200_response import ApiV3SuppliesSupplyIdBarcodeGet200Response
|
|
47
|
-
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_orders_get200_response import ApiV3SuppliesSupplyIdOrdersGet200Response
|
|
48
47
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_delete_request import ApiV3SuppliesSupplyIdTrbxDeleteRequest
|
|
49
48
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_get200_response import ApiV3SuppliesSupplyIdTrbxGet200Response
|
|
50
49
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_post201_response import ApiV3SuppliesSupplyIdTrbxPost201Response
|
|
@@ -8855,288 +8854,6 @@ class DefaultApi:
|
|
|
8855
8854
|
|
|
8856
8855
|
|
|
8857
8856
|
|
|
8858
|
-
@validate_call
|
|
8859
|
-
def api_v3_supplies_supply_id_orders_get(
|
|
8860
|
-
self,
|
|
8861
|
-
supply_id: Annotated[StrictStr, Field(description="ID поставки")],
|
|
8862
|
-
_request_timeout: Union[
|
|
8863
|
-
None,
|
|
8864
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
8865
|
-
Tuple[
|
|
8866
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
8867
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
8868
|
-
]
|
|
8869
|
-
] = None,
|
|
8870
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
8871
|
-
_content_type: Optional[StrictStr] = None,
|
|
8872
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
8873
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
|
8874
|
-
) -> ApiV3SuppliesSupplyIdOrdersGet200Response:
|
|
8875
|
-
"""(Deprecated) Получить сборочные задания в поставке
|
|
8876
|
-
|
|
8877
|
-
Данный метод устарел. Он будет удалён [17 декабря](https://dev.wildberries.ru/release-notes?id=363)
|
|
8878
|
-
|
|
8879
|
-
:param supply_id: ID поставки (required)
|
|
8880
|
-
:type supply_id: str
|
|
8881
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
8882
|
-
number provided, it will be total request
|
|
8883
|
-
timeout. It can also be a pair (tuple) of
|
|
8884
|
-
(connection, read) timeouts.
|
|
8885
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
8886
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
8887
|
-
request; this effectively ignores the
|
|
8888
|
-
authentication in the spec for a single request.
|
|
8889
|
-
:type _request_auth: dict, optional
|
|
8890
|
-
:param _content_type: force content-type for the request.
|
|
8891
|
-
:type _content_type: str, Optional
|
|
8892
|
-
:param _headers: set to override the headers for a single
|
|
8893
|
-
request; this effectively ignores the headers
|
|
8894
|
-
in the spec for a single request.
|
|
8895
|
-
:type _headers: dict, optional
|
|
8896
|
-
:param _host_index: set to override the host_index for a single
|
|
8897
|
-
request; this effectively ignores the host_index
|
|
8898
|
-
in the spec for a single request.
|
|
8899
|
-
:type _host_index: int, optional
|
|
8900
|
-
:return: Returns the result object.
|
|
8901
|
-
""" # noqa: E501
|
|
8902
|
-
warnings.warn("GET /api/v3/supplies/{supplyId}/orders is deprecated.", DeprecationWarning)
|
|
8903
|
-
|
|
8904
|
-
_param = self._api_v3_supplies_supply_id_orders_get_serialize(
|
|
8905
|
-
supply_id=supply_id,
|
|
8906
|
-
_request_auth=_request_auth,
|
|
8907
|
-
_content_type=_content_type,
|
|
8908
|
-
_headers=_headers,
|
|
8909
|
-
_host_index=_host_index
|
|
8910
|
-
)
|
|
8911
|
-
|
|
8912
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
8913
|
-
'200': "ApiV3SuppliesSupplyIdOrdersGet200Response",
|
|
8914
|
-
'400': "Error",
|
|
8915
|
-
'401': "ApiV3PassesOfficesGet401Response",
|
|
8916
|
-
'403': "Error",
|
|
8917
|
-
'404': "Error",
|
|
8918
|
-
'429': "ApiV3PassesOfficesGet401Response",
|
|
8919
|
-
}
|
|
8920
|
-
response_data = self.api_client.call_api(
|
|
8921
|
-
*_param,
|
|
8922
|
-
_request_timeout=_request_timeout
|
|
8923
|
-
)
|
|
8924
|
-
response_data.read()
|
|
8925
|
-
return self.api_client.response_deserialize(
|
|
8926
|
-
response_data=response_data,
|
|
8927
|
-
response_types_map=_response_types_map,
|
|
8928
|
-
).data
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
@validate_call
|
|
8932
|
-
def api_v3_supplies_supply_id_orders_get_with_http_info(
|
|
8933
|
-
self,
|
|
8934
|
-
supply_id: Annotated[StrictStr, Field(description="ID поставки")],
|
|
8935
|
-
_request_timeout: Union[
|
|
8936
|
-
None,
|
|
8937
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
8938
|
-
Tuple[
|
|
8939
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
8940
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
8941
|
-
]
|
|
8942
|
-
] = None,
|
|
8943
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
8944
|
-
_content_type: Optional[StrictStr] = None,
|
|
8945
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
8946
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
|
8947
|
-
) -> ApiResponse[ApiV3SuppliesSupplyIdOrdersGet200Response]:
|
|
8948
|
-
"""(Deprecated) Получить сборочные задания в поставке
|
|
8949
|
-
|
|
8950
|
-
Данный метод устарел. Он будет удалён [17 декабря](https://dev.wildberries.ru/release-notes?id=363)
|
|
8951
|
-
|
|
8952
|
-
:param supply_id: ID поставки (required)
|
|
8953
|
-
:type supply_id: str
|
|
8954
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
8955
|
-
number provided, it will be total request
|
|
8956
|
-
timeout. It can also be a pair (tuple) of
|
|
8957
|
-
(connection, read) timeouts.
|
|
8958
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
8959
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
8960
|
-
request; this effectively ignores the
|
|
8961
|
-
authentication in the spec for a single request.
|
|
8962
|
-
:type _request_auth: dict, optional
|
|
8963
|
-
:param _content_type: force content-type for the request.
|
|
8964
|
-
:type _content_type: str, Optional
|
|
8965
|
-
:param _headers: set to override the headers for a single
|
|
8966
|
-
request; this effectively ignores the headers
|
|
8967
|
-
in the spec for a single request.
|
|
8968
|
-
:type _headers: dict, optional
|
|
8969
|
-
:param _host_index: set to override the host_index for a single
|
|
8970
|
-
request; this effectively ignores the host_index
|
|
8971
|
-
in the spec for a single request.
|
|
8972
|
-
:type _host_index: int, optional
|
|
8973
|
-
:return: Returns the result object.
|
|
8974
|
-
""" # noqa: E501
|
|
8975
|
-
warnings.warn("GET /api/v3/supplies/{supplyId}/orders is deprecated.", DeprecationWarning)
|
|
8976
|
-
|
|
8977
|
-
_param = self._api_v3_supplies_supply_id_orders_get_serialize(
|
|
8978
|
-
supply_id=supply_id,
|
|
8979
|
-
_request_auth=_request_auth,
|
|
8980
|
-
_content_type=_content_type,
|
|
8981
|
-
_headers=_headers,
|
|
8982
|
-
_host_index=_host_index
|
|
8983
|
-
)
|
|
8984
|
-
|
|
8985
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
8986
|
-
'200': "ApiV3SuppliesSupplyIdOrdersGet200Response",
|
|
8987
|
-
'400': "Error",
|
|
8988
|
-
'401': "ApiV3PassesOfficesGet401Response",
|
|
8989
|
-
'403': "Error",
|
|
8990
|
-
'404': "Error",
|
|
8991
|
-
'429': "ApiV3PassesOfficesGet401Response",
|
|
8992
|
-
}
|
|
8993
|
-
response_data = self.api_client.call_api(
|
|
8994
|
-
*_param,
|
|
8995
|
-
_request_timeout=_request_timeout
|
|
8996
|
-
)
|
|
8997
|
-
response_data.read()
|
|
8998
|
-
return self.api_client.response_deserialize(
|
|
8999
|
-
response_data=response_data,
|
|
9000
|
-
response_types_map=_response_types_map,
|
|
9001
|
-
)
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
@validate_call
|
|
9005
|
-
def api_v3_supplies_supply_id_orders_get_without_preload_content(
|
|
9006
|
-
self,
|
|
9007
|
-
supply_id: Annotated[StrictStr, Field(description="ID поставки")],
|
|
9008
|
-
_request_timeout: Union[
|
|
9009
|
-
None,
|
|
9010
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
9011
|
-
Tuple[
|
|
9012
|
-
Annotated[StrictFloat, Field(gt=0)],
|
|
9013
|
-
Annotated[StrictFloat, Field(gt=0)]
|
|
9014
|
-
]
|
|
9015
|
-
] = None,
|
|
9016
|
-
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
9017
|
-
_content_type: Optional[StrictStr] = None,
|
|
9018
|
-
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
9019
|
-
_host_index: Annotated[StrictInt, Field(ge=0, le=1)] = 0,
|
|
9020
|
-
) -> RESTResponseType:
|
|
9021
|
-
"""(Deprecated) Получить сборочные задания в поставке
|
|
9022
|
-
|
|
9023
|
-
Данный метод устарел. Он будет удалён [17 декабря](https://dev.wildberries.ru/release-notes?id=363)
|
|
9024
|
-
|
|
9025
|
-
:param supply_id: ID поставки (required)
|
|
9026
|
-
:type supply_id: str
|
|
9027
|
-
:param _request_timeout: timeout setting for this request. If one
|
|
9028
|
-
number provided, it will be total request
|
|
9029
|
-
timeout. It can also be a pair (tuple) of
|
|
9030
|
-
(connection, read) timeouts.
|
|
9031
|
-
:type _request_timeout: int, tuple(int, int), optional
|
|
9032
|
-
:param _request_auth: set to override the auth_settings for an a single
|
|
9033
|
-
request; this effectively ignores the
|
|
9034
|
-
authentication in the spec for a single request.
|
|
9035
|
-
:type _request_auth: dict, optional
|
|
9036
|
-
:param _content_type: force content-type for the request.
|
|
9037
|
-
:type _content_type: str, Optional
|
|
9038
|
-
:param _headers: set to override the headers for a single
|
|
9039
|
-
request; this effectively ignores the headers
|
|
9040
|
-
in the spec for a single request.
|
|
9041
|
-
:type _headers: dict, optional
|
|
9042
|
-
:param _host_index: set to override the host_index for a single
|
|
9043
|
-
request; this effectively ignores the host_index
|
|
9044
|
-
in the spec for a single request.
|
|
9045
|
-
:type _host_index: int, optional
|
|
9046
|
-
:return: Returns the result object.
|
|
9047
|
-
""" # noqa: E501
|
|
9048
|
-
warnings.warn("GET /api/v3/supplies/{supplyId}/orders is deprecated.", DeprecationWarning)
|
|
9049
|
-
|
|
9050
|
-
_param = self._api_v3_supplies_supply_id_orders_get_serialize(
|
|
9051
|
-
supply_id=supply_id,
|
|
9052
|
-
_request_auth=_request_auth,
|
|
9053
|
-
_content_type=_content_type,
|
|
9054
|
-
_headers=_headers,
|
|
9055
|
-
_host_index=_host_index
|
|
9056
|
-
)
|
|
9057
|
-
|
|
9058
|
-
_response_types_map: Dict[str, Optional[str]] = {
|
|
9059
|
-
'200': "ApiV3SuppliesSupplyIdOrdersGet200Response",
|
|
9060
|
-
'400': "Error",
|
|
9061
|
-
'401': "ApiV3PassesOfficesGet401Response",
|
|
9062
|
-
'403': "Error",
|
|
9063
|
-
'404': "Error",
|
|
9064
|
-
'429': "ApiV3PassesOfficesGet401Response",
|
|
9065
|
-
}
|
|
9066
|
-
response_data = self.api_client.call_api(
|
|
9067
|
-
*_param,
|
|
9068
|
-
_request_timeout=_request_timeout
|
|
9069
|
-
)
|
|
9070
|
-
return response_data.response
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
def _api_v3_supplies_supply_id_orders_get_serialize(
|
|
9074
|
-
self,
|
|
9075
|
-
supply_id,
|
|
9076
|
-
_request_auth,
|
|
9077
|
-
_content_type,
|
|
9078
|
-
_headers,
|
|
9079
|
-
_host_index,
|
|
9080
|
-
) -> RequestSerialized:
|
|
9081
|
-
|
|
9082
|
-
_hosts = [
|
|
9083
|
-
'https://marketplace-api.wildberries.ru'
|
|
9084
|
-
]
|
|
9085
|
-
_host = _hosts[_host_index]
|
|
9086
|
-
|
|
9087
|
-
_collection_formats: Dict[str, str] = {
|
|
9088
|
-
}
|
|
9089
|
-
|
|
9090
|
-
_path_params: Dict[str, str] = {}
|
|
9091
|
-
_query_params: List[Tuple[str, str]] = []
|
|
9092
|
-
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
9093
|
-
_form_params: List[Tuple[str, str]] = []
|
|
9094
|
-
_files: Dict[
|
|
9095
|
-
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
9096
|
-
] = {}
|
|
9097
|
-
_body_params: Optional[bytes] = None
|
|
9098
|
-
|
|
9099
|
-
# process the path parameters
|
|
9100
|
-
if supply_id is not None:
|
|
9101
|
-
_path_params['supplyId'] = supply_id
|
|
9102
|
-
# process the query parameters
|
|
9103
|
-
# process the header parameters
|
|
9104
|
-
# process the form parameters
|
|
9105
|
-
# process the body parameter
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
# set the HTTP header `Accept`
|
|
9109
|
-
if 'Accept' not in _header_params:
|
|
9110
|
-
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
9111
|
-
[
|
|
9112
|
-
'application/json'
|
|
9113
|
-
]
|
|
9114
|
-
)
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
# authentication setting
|
|
9118
|
-
_auth_settings: List[str] = [
|
|
9119
|
-
'HeaderApiKey'
|
|
9120
|
-
]
|
|
9121
|
-
|
|
9122
|
-
return self.api_client.param_serialize(
|
|
9123
|
-
method='GET',
|
|
9124
|
-
resource_path='/api/v3/supplies/{supplyId}/orders',
|
|
9125
|
-
path_params=_path_params,
|
|
9126
|
-
query_params=_query_params,
|
|
9127
|
-
header_params=_header_params,
|
|
9128
|
-
body=_body_params,
|
|
9129
|
-
post_params=_form_params,
|
|
9130
|
-
files=_files,
|
|
9131
|
-
auth_settings=_auth_settings,
|
|
9132
|
-
collection_formats=_collection_formats,
|
|
9133
|
-
_host=_host,
|
|
9134
|
-
_request_auth=_request_auth
|
|
9135
|
-
)
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9140
8857
|
@validate_call
|
|
9141
8858
|
def api_v3_supplies_supply_id_trbx_delete(
|
|
9142
8859
|
self,
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.1.27/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -536,7 +536,7 @@ conf = wildberries_sdk.orders_fbs.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: order\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.27".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -45,7 +45,6 @@ from wildberries_sdk.orders_fbs.models.api_v3_supplies_orders_reshipment_get200_
|
|
|
45
45
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post201_response import ApiV3SuppliesPost201Response
|
|
46
46
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_post_request import ApiV3SuppliesPostRequest
|
|
47
47
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_barcode_get200_response import ApiV3SuppliesSupplyIdBarcodeGet200Response
|
|
48
|
-
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_orders_get200_response import ApiV3SuppliesSupplyIdOrdersGet200Response
|
|
49
48
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_delete_request import ApiV3SuppliesSupplyIdTrbxDeleteRequest
|
|
50
49
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_get200_response import ApiV3SuppliesSupplyIdTrbxGet200Response
|
|
51
50
|
from wildberries_sdk.orders_fbs.models.api_v3_supplies_supply_id_trbx_post201_response import ApiV3SuppliesSupplyIdTrbxPost201Response
|
|
@@ -70,7 +69,6 @@ from wildberries_sdk.orders_fbs.models.order_options import OrderOptions
|
|
|
70
69
|
from wildberries_sdk.orders_fbs.models.orders_request_api import OrdersRequestAPI
|
|
71
70
|
from wildberries_sdk.orders_fbs.models.pass_office import PassOffice
|
|
72
71
|
from wildberries_sdk.orders_fbs.models.supply import Supply
|
|
73
|
-
from wildberries_sdk.orders_fbs.models.supply_order import SupplyOrder
|
|
74
72
|
from wildberries_sdk.orders_fbs.models.supply_trbx import SupplyTrbx
|
|
75
73
|
from wildberries_sdk.orders_fbs.models.trbx_stickers import TrbxStickers
|
|
76
74
|
from wildberries_sdk.orders_fbs.models.v3_api_error import V3APIError
|
|
@@ -91,7 +91,7 @@ class ApiClient:
|
|
|
91
91
|
self.default_headers[header_name] = header_value
|
|
92
92
|
self.cookie = cookie
|
|
93
93
|
# Set default User-Agent.
|
|
94
|
-
self.user_agent = 'OpenAPI-Generator/0.1.
|
|
94
|
+
self.user_agent = 'OpenAPI-Generator/0.1.27/python'
|
|
95
95
|
self.client_side_validation = configuration.client_side_validation
|
|
96
96
|
|
|
97
97
|
def __enter__(self):
|
|
@@ -536,7 +536,7 @@ conf = wildberries_sdk.orders_fbw.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: ordersfbw\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.27".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|