producteca 2.0.26__tar.gz → 2.0.28__tar.gz

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.

Files changed (31) hide show
  1. {producteca-2.0.26 → producteca-2.0.28}/PKG-INFO +1 -1
  2. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/sales_orders.py +6 -7
  3. {producteca-2.0.26 → producteca-2.0.28}/pyproject.toml +1 -1
  4. {producteca-2.0.26 → producteca-2.0.28}/LICENSE +0 -0
  5. {producteca-2.0.26 → producteca-2.0.28}/README.md +0 -0
  6. {producteca-2.0.26 → producteca-2.0.28}/producteca/__init__.py +0 -0
  7. {producteca-2.0.26 → producteca-2.0.28}/producteca/abstract/__init__.py +0 -0
  8. {producteca-2.0.26 → producteca-2.0.28}/producteca/abstract/abstract_dataclass.py +0 -0
  9. {producteca-2.0.26 → producteca-2.0.28}/producteca/client.py +0 -0
  10. {producteca-2.0.26 → producteca-2.0.28}/producteca/config/__init__.py +0 -0
  11. {producteca-2.0.26 → producteca-2.0.28}/producteca/config/config.py +0 -0
  12. {producteca-2.0.26 → producteca-2.0.28}/producteca/payments/__init__.py +0 -0
  13. {producteca-2.0.26 → producteca-2.0.28}/producteca/payments/payments.py +0 -0
  14. {producteca-2.0.26 → producteca-2.0.28}/producteca/payments/tests/__init__.py +0 -0
  15. {producteca-2.0.26 → producteca-2.0.28}/producteca/payments/tests/test_payments.py +0 -0
  16. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/__init__.py +0 -0
  17. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/products.py +0 -0
  18. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/search_products.py +0 -0
  19. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/tests/__init__.py +0 -0
  20. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/tests/test_products.py +0 -0
  21. {producteca-2.0.26 → producteca-2.0.28}/producteca/products/tests/test_search_products.py +0 -0
  22. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/__init__.py +0 -0
  23. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/search_sale_orders.py +0 -0
  24. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/tests/__init__.py +0 -0
  25. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/tests/search.json +0 -0
  26. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/tests/test_sales_orders.py +0 -0
  27. {producteca-2.0.26 → producteca-2.0.28}/producteca/sales_orders/tests/test_search_so.py +0 -0
  28. {producteca-2.0.26 → producteca-2.0.28}/producteca/shipments/__init__.py +0 -0
  29. {producteca-2.0.26 → producteca-2.0.28}/producteca/shipments/shipment.py +0 -0
  30. {producteca-2.0.26 → producteca-2.0.28}/producteca/shipments/tests/__init__.py +0 -0
  31. {producteca-2.0.26 → producteca-2.0.28}/producteca/shipments/tests/test_shipment.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: producteca
3
- Version: 2.0.26
3
+ Version: 2.0.28
4
4
  Summary:
5
5
  Author: Chroma Agency, Matias Rivera
6
6
  Author-email: mrivera@chroma.agency
@@ -193,11 +193,11 @@ class SaleOrderShipment(BaseModel):
193
193
 
194
194
 
195
195
  class SaleOrderInvoiceIntegrationAbstract(BaseModel):
196
- id: int
196
+ id: Optional[int] = None
197
197
  integration_id: str = Field(alias="integrationId")
198
- app: int
199
- created_at: str = Field(alias="createdAt")
200
- decrease_stock: bool = Field(alias="decreaseStock")
198
+ app: Optional[int] = None
199
+ created_at: Optional[str] = Field(None, alias="createdAt")
200
+ decrease_stock: Optional[bool] = Field(None, alias="decreaseStock")
201
201
 
202
202
 
203
203
  class SaleOrderInvoiceIntegration(SaleOrderInvoiceIntegrationAbstract):
@@ -206,9 +206,8 @@ class SaleOrderInvoiceIntegration(SaleOrderInvoiceIntegrationAbstract):
206
206
 
207
207
 
208
208
  class SaleOrderInvoiceIntegrationPut(SaleOrderInvoiceIntegrationAbstract):
209
- document_url: str = Field(alias="documentUrl")
210
- xml_url: str = Field(alias="xmlUrl")
211
-
209
+ document_url: Optional[str] = Field(None, alias="documentUrl")
210
+ xml_url: Optional[str] = Field(None, alias="xmlUrl")
212
211
 
213
212
  class SaleOrderWarehouseIntegration(BaseModel):
214
213
  app: Optional[int] = None
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "producteca"
3
- version = "2.0.26"
3
+ version = "2.0.28"
4
4
  description = ""
5
5
  authors = ["Chroma Agency, Matias Rivera <mrivera@chroma.agency>"]
6
6
  readme = "README.md"
File without changes
File without changes