vtexpy 0.0.0b19__py3-none-any.whl → 0.0.0b20__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.
vtex/_api/logistics.py CHANGED
@@ -9,7 +9,7 @@ from .._constants import (
9
9
  LIST_SHIPPING_POLICIES_START_PAGE,
10
10
  MIN_PAGE_SIZE,
11
11
  )
12
- from .._dto import VTEXDataResponse, VTEXPaginatedItemsResponse
12
+ from .._dto import VTEXDataResponse, VTEXItemsResponse, VTEXPaginatedItemsResponse
13
13
  from .base import BaseAPI
14
14
 
15
15
 
@@ -119,6 +119,23 @@ class LogisticsAPI(BaseAPI):
119
119
  response_class=VTEXDataResponse[Any],
120
120
  )
121
121
 
122
+ def list_carrier_freight_values(
123
+ self,
124
+ carrier_id: str,
125
+ zip_code: str = "0",
126
+ **kwargs: Any,
127
+ ) -> VTEXItemsResponse[Any, Any]:
128
+ return self._request(
129
+ method="GET",
130
+ environment=self.ENVIRONMENT,
131
+ endpoint=(
132
+ f"/api/logistics/pvt/configuration/freights/{carrier_id}/{zip_code}"
133
+ f"/values"
134
+ ),
135
+ config=self.client.config.with_overrides(**kwargs),
136
+ response_class=VTEXItemsResponse[Any, Any],
137
+ )
138
+
122
139
  def get_sku_inventories(
123
140
  self,
124
141
  sku_id: str,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vtexpy
3
- Version: 0.0.0b19
3
+ Version: 0.0.0b20
4
4
  Summary: Unofficial VTEX API's Python SDK
5
5
  Home-page: https://github.com/lvieirajr/vtex-python
6
6
  License: Apache
@@ -9,7 +9,7 @@ Author: Luis Vieira
9
9
  Author-email: lvieira@lvieira.com
10
10
  Maintainer: Luis Vieira
11
11
  Maintainer-email: lvieira@lvieira.com
12
- Requires-Python: >=3.9,<3.13
12
+ Requires-Python: >=3.9,<3.14
13
13
  Classifier: Development Status :: 4 - Beta
14
14
  Classifier: Intended Audience :: Developers
15
15
  Classifier: License :: OSI Approved :: Apache Software License
@@ -21,6 +21,7 @@ Classifier: Programming Language :: Python :: 3.9
21
21
  Classifier: Programming Language :: Python :: 3.10
22
22
  Classifier: Programming Language :: Python :: 3.11
23
23
  Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
24
25
  Classifier: Topic :: Software Development :: Libraries
25
26
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
27
  Classifier: Typing :: Typed
@@ -57,7 +58,7 @@ development and breaking changes are expected on the external API.
57
58
 
58
59
  #### Requirements
59
60
 
60
- - Python >= 3.9, < 3.13
61
+ - Python >= 3.9, < 3.14
61
62
 
62
63
  #### Installation
63
64
 
@@ -5,7 +5,7 @@ vtex/_api/catalog.py,sha256=0nYieUaEe2marzyDVpa23-XgtIXciK7n9rw8UqI9MU4,4661
5
5
  vtex/_api/checkout.py,sha256=AMhSzyjAu5sZUpqevRorV706yXjNafqGDgbnq2wxVpg,1693
6
6
  vtex/_api/custom.py,sha256=0zSbV0CX4Fr-u3GdwCSRNOj7cz_zai36FnbK8KAxtT0,3067
7
7
  vtex/_api/license_manager.py,sha256=DRHCOBmDTY6E4pSjcfZckTJD87bip_SXgu85qCNwwE0,2691
8
- vtex/_api/logistics.py,sha256=oJECrgctqp4uzB7vK8NpcJ44TBlabvXP8hxA5dES9jE,4488
8
+ vtex/_api/logistics.py,sha256=wKSbV2BnDxfhj04d3yQ39errOwml3zNYlXkqcIE2fqI,5052
9
9
  vtex/_api/master_data.py,sha256=JdMA_dWpbSY7TAJY5MobmQ7OsnoofJA60Qbx8IA6pe0,2046
10
10
  vtex/_api/orders.py,sha256=w15rKdArlCoI7PXSbuoIaj1v9hGIxBUVgM_9JHq8wEo,5127
11
11
  vtex/_api/payments_gateway.py,sha256=5XkxbXGI7OEQEaykL-y-3PKnfloy380fjUQ18Ctts9E,3804
@@ -24,7 +24,7 @@ vtex/_types.py,sha256=xrqHzmrc0IhE5fc1aGf0StCm3BQbVFyk3LG4Hd7Wd2Q,631
24
24
  vtex/_utils.py,sha256=avSFE3v-HaUrof6JBzyspqA-eDrfOF5hnJT-KlRB0_8,3425
25
25
  vtex/_vtex.py,sha256=Vt-ERteT70vpXHpe2Q4VlkR5qpz_AS_Ni2OsS0hgDZs,2003
26
26
  vtex/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
- vtexpy-0.0.0b19.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
- vtexpy-0.0.0b19.dist-info/METADATA,sha256=ZA75wlDBXVYHa5NMkEQ6IbTpbZT-KiwtLBdk-rsB-xg,3402
29
- vtexpy-0.0.0b19.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
- vtexpy-0.0.0b19.dist-info/RECORD,,
27
+ vtexpy-0.0.0b20.dist-info/LICENSE,sha256=z8d0m5b2O9McPEK1xHG_dWgUBT6EfBDz6wA0F7xSPTA,11358
28
+ vtexpy-0.0.0b20.dist-info/METADATA,sha256=UREByGg7FpyCreKLEQ9zv-8iqBrQMnh9JMLjO23lUyM,3453
29
+ vtexpy-0.0.0b20.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
30
+ vtexpy-0.0.0b20.dist-info/RECORD,,