wildberries-sdk 0.1.24__py3-none-any.whl → 0.1.26__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_client.py +1 -1
- wildberries_sdk/communications/configuration.py +1 -1
- wildberries_sdk/communications/models/chat.py +1 -1
- wildberries_sdk/communications/models/event.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 +36 -36
- 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 -1
- wildberries_sdk/orders_fbs/api_client.py +1 -1
- wildberries_sdk/orders_fbs/configuration.py +1 -1
- 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_client.py +1 -1
- wildberries_sdk/products/configuration.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 -1
- wildberries_sdk/reports/api_client.py +1 -1
- wildberries_sdk/reports/configuration.py +1 -1
- 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.24.dist-info → wildberries_sdk-0.1.26.dist-info}/METADATA +1 -1
- {wildberries_sdk-0.1.24.dist-info → wildberries_sdk-0.1.26.dist-info}/RECORD +51 -51
- {wildberries_sdk-0.1.24.dist-info → wildberries_sdk-0.1.26.dist-info}/LICENSE +0 -0
- {wildberries_sdk-0.1.24.dist-info → wildberries_sdk-0.1.26.dist-info}/WHEEL +0 -0
- {wildberries_sdk-0.1.24.dist-info → wildberries_sdk-0.1.26.dist-info}/top_level.txt +0 -0
|
@@ -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.26/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.analytics.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: analytics\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.26".\
|
|
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.26/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.communications.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: communication\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.26".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -30,7 +30,7 @@ class Chat(BaseModel):
|
|
|
30
30
|
""" # noqa: E501
|
|
31
31
|
chat_id: Optional[StrictStr] = Field(default=None, description="ID чата", alias="chatID")
|
|
32
32
|
reply_sign: Optional[StrictStr] = Field(default=None, description="Подпись чата. Требуется при [отправке сообщения](./user-communication#tag/Chat-s-pokupatelyami/paths/~1api~1v1~1seller~1message/post) ", alias="replySign")
|
|
33
|
-
client_id: Optional[StrictStr] = Field(default=None, description="ID
|
|
33
|
+
client_id: Optional[StrictStr] = Field(default=None, description="ID покупателя. Поле будет отключено [2 февраля](https://dev.wildberries.ru/release-notes?id=466)", alias="clientID")
|
|
34
34
|
client_name: Optional[StrictStr] = Field(default=None, description="Имя покупателя", alias="clientName")
|
|
35
35
|
good_card: Optional[GoodCard] = Field(default=None, alias="goodCard")
|
|
36
36
|
last_message: Optional[LastMessage] = Field(default=None, description="Последнее сообщение в чате", alias="lastMessage")
|
|
@@ -39,7 +39,7 @@ class Event(BaseModel):
|
|
|
39
39
|
add_time: Optional[StrictStr] = Field(default=None, description="Время появления события на сервере в UTC", alias="addTime")
|
|
40
40
|
reply_sign: Optional[StrictStr] = Field(default=None, description="Подпись чата. Доступна только при `\"isNewChat\": true`. Требуется при [отправке сообщения](./user-communication#tag/Chat-s-pokupatelyami/paths/~1api~1v1~1seller~1message/post) ", alias="replySign")
|
|
41
41
|
sender: Optional[Sender] = None
|
|
42
|
-
client_id: Optional[StrictStr] = Field(default=None, description="ID
|
|
42
|
+
client_id: Optional[StrictStr] = Field(default=None, description="ID покупателя. Поле будет отключено [2 февраля](https://dev.wildberries.ru/release-notes?id=466)", alias="clientID")
|
|
43
43
|
client_name: Optional[StrictStr] = Field(default=None, description="Имя покупателя", alias="clientName")
|
|
44
44
|
__properties: ClassVar[List[str]] = ["chatID", "eventID", "eventType", "isNewChat", "message", "source", "addTimestamp", "addTime", "replySign", "sender", "clientID", "clientName"]
|
|
45
45
|
|
|
@@ -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.26/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.finances.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: finances\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.26".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|
|
@@ -112,7 +112,9 @@ class DetailReportItem(BaseModel):
|
|
|
112
112
|
seller_promo_discount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Размер дополнительной скидки по собственной акции продавца, %")
|
|
113
113
|
loyalty_id: Optional[StrictInt] = Field(default=None, description="ID скидки лояльности от продавца")
|
|
114
114
|
loyalty_discount: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Размер скидки лояльности от продавца, %")
|
|
115
|
-
|
|
115
|
+
uuid_promocode: Optional[StrictStr] = Field(default=None, description="ID промокода")
|
|
116
|
+
sale_price_promocode_discount_prc: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="Скидка за промокод, %")
|
|
117
|
+
__properties: ClassVar[List[str]] = ["realizationreport_id", "date_from", "date_to", "create_dt", "currency_name", "suppliercontract_code", "rrd_id", "gi_id", "dlv_prc", "fix_tariff_date_from", "fix_tariff_date_to", "subject_name", "nm_id", "brand_name", "sa_name", "ts_name", "barcode", "doc_type_name", "quantity", "retail_price", "retail_amount", "sale_percent", "commission_percent", "office_name", "supplier_oper_name", "order_dt", "sale_dt", "rr_dt", "shk_id", "retail_price_withdisc_rub", "delivery_amount", "return_amount", "delivery_rub", "gi_box_type_name", "product_discount_for_report", "supplier_promo", "ppvz_spp_prc", "ppvz_kvw_prc_base", "ppvz_kvw_prc", "sup_rating_prc_up", "is_kgvp_v2", "ppvz_sales_commission", "ppvz_for_pay", "ppvz_reward", "acquiring_fee", "acquiring_percent", "payment_processing", "acquiring_bank", "ppvz_vw", "ppvz_vw_nds", "ppvz_office_name", "ppvz_office_id", "ppvz_supplier_id", "ppvz_supplier_name", "ppvz_inn", "declaration_number", "bonus_type_name", "sticker_id", "site_country", "srv_dbs", "penalty", "additional_payment", "rebill_logistic_cost", "rebill_logistic_org", "storage_fee", "deduction", "acceptance", "assembly_id", "kiz", "srid", "report_type", "is_legal_entity", "trbx_id", "installment_cofinancing_amount", "wibes_wb_discount_percent", "cashback_amount", "cashback_discount", "cashback_commission_change", "order_uid", "payment_schedule", "delivery_method", "seller_promo_id", "seller_promo_discount", "loyalty_id", "loyalty_discount", "uuid_promocode", "sale_price_promocode_discount_prc"]
|
|
116
118
|
|
|
117
119
|
@field_validator('report_type')
|
|
118
120
|
def report_type_validate_enum(cls, value):
|
|
@@ -264,7 +266,9 @@ class DetailReportItem(BaseModel):
|
|
|
264
266
|
"seller_promo_id": obj.get("seller_promo_id"),
|
|
265
267
|
"seller_promo_discount": obj.get("seller_promo_discount"),
|
|
266
268
|
"loyalty_id": obj.get("loyalty_id"),
|
|
267
|
-
"loyalty_discount": obj.get("loyalty_discount")
|
|
269
|
+
"loyalty_discount": obj.get("loyalty_discount"),
|
|
270
|
+
"uuid_promocode": obj.get("uuid_promocode"),
|
|
271
|
+
"sale_price_promocode_discount_prc": obj.get("sale_price_promocode_discount_prc")
|
|
268
272
|
})
|
|
269
273
|
return _obj
|
|
270
274
|
|
|
@@ -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.26/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.general.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: general\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.26".\
|
|
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.26/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.in_store_pickup.Configuration(
|
|
|
536
536
|
"OS: {env}\n"\
|
|
537
537
|
"Python Version: {pyversion}\n"\
|
|
538
538
|
"Version of the API: instorepickup\n"\
|
|
539
|
-
"SDK Package Version: 0.1.
|
|
539
|
+
"SDK Package Version: 0.1.26".\
|
|
540
540
|
format(env=sys.platform, pyversion=sys.version)
|
|
541
541
|
|
|
542
542
|
def get_host_settings(self) -> List[HostSetting]:
|