producteca 2.0.30__py3-none-any.whl → 2.0.32__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of producteca might be problematic. Click here for more details.

@@ -251,6 +251,7 @@ class SaleOrder(BaseModel):
251
251
  has_any_payments: Optional[bool] = Field(None, alias="hasAnyPayments")
252
252
  date: Optional[str] = None
253
253
  notes: Optional[str] = None
254
+ courier: Optional[str] = None
254
255
  id: int
255
256
 
256
257
 
@@ -289,7 +290,7 @@ class SaleOrderService(BaseService):
289
290
  url = self.config.get_endpoint(endpoint)
290
291
  response = requests.get(url, headers=self.config.headers)
291
292
  if not response.ok:
292
- raise Exception("Order could not be fetched")
293
+ raise Exception(f"Order {sale_order_id} could not be fetched")
293
294
  response_data = response.json()
294
295
  return self(**response_data)
295
296
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: producteca
3
- Version: 2.0.30
3
+ Version: 2.0.32
4
4
  Summary:
5
5
  Author: Chroma Agency, Matias Rivera
6
6
  Author-email: mrivera@chroma.agency
@@ -15,7 +15,7 @@ producteca/products/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
15
15
  producteca/products/tests/test_products.py,sha256=0Tph7T9D2XTLdTDoIpR2PcLTrvPt6h2LPuKowTXrDgU,5742
16
16
  producteca/products/tests/test_search_products.py,sha256=ISkDClYaYnwo23a7_O4OlgPfc4dAZCMinLAi07yecEI,4941
17
17
  producteca/sales_orders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- producteca/sales_orders/sales_orders.py,sha256=59axwY40mguW57-bFrbx8evScN91eanR0XGBmDPomcw,16455
18
+ producteca/sales_orders/sales_orders.py,sha256=ypv9nB8maJp3liy1V_2q3EpNo2wQ5U69ZnBDHw_QUfA,16506
19
19
  producteca/sales_orders/search_sale_orders.py,sha256=x4ln0P2QBR1F4OyiFY6EUM1stLVv6MNOyYsnmtPoLIo,4825
20
20
  producteca/sales_orders/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  producteca/sales_orders/tests/search.json,sha256=v6LkTvQyeBdqxRc3iWwXH5Ugs7EYJAEOiuPuuj_rHYk,3508
@@ -25,8 +25,8 @@ producteca/shipments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hS
25
25
  producteca/shipments/shipment.py,sha256=YokJRBX1ZbUtZVc4AOAB188rbHFO0_MH5hFv5U9Qpjw,844
26
26
  producteca/shipments/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  producteca/shipments/tests/test_shipment.py,sha256=0edX3WM-t4nbp53r_Lvhtk_Suc2QCnIUQ27I90qSUfE,2512
28
- producteca-2.0.30.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
29
- producteca-2.0.30.dist-info/METADATA,sha256=LvZADJguVT1UgubHUtmh44q02EiQo6ehom3YBMvsWaw,3809
30
- producteca-2.0.30.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
- producteca-2.0.30.dist-info/entry_points.txt,sha256=BFSDFLbB70p8YVZPiU7HDJdj2VyyLdMVa4ekLQAUAVc,125
32
- producteca-2.0.30.dist-info/RECORD,,
28
+ producteca-2.0.32.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
29
+ producteca-2.0.32.dist-info/METADATA,sha256=HW44c_0hU1N8RiHN9TIkAmz8AVit-gjVfhdCh3-wPnE,3809
30
+ producteca-2.0.32.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
+ producteca-2.0.32.dist-info/entry_points.txt,sha256=BFSDFLbB70p8YVZPiU7HDJdj2VyyLdMVa4ekLQAUAVc,125
32
+ producteca-2.0.32.dist-info/RECORD,,