producteca 2.0.34__tar.gz → 2.0.36__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.34 → producteca-2.0.36}/PKG-INFO +1 -1
  2. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/search_products.py +18 -18
  3. {producteca-2.0.34 → producteca-2.0.36}/pyproject.toml +1 -1
  4. {producteca-2.0.34 → producteca-2.0.36}/LICENSE +0 -0
  5. {producteca-2.0.34 → producteca-2.0.36}/README.md +0 -0
  6. {producteca-2.0.34 → producteca-2.0.36}/producteca/__init__.py +0 -0
  7. {producteca-2.0.34 → producteca-2.0.36}/producteca/abstract/__init__.py +0 -0
  8. {producteca-2.0.34 → producteca-2.0.36}/producteca/abstract/abstract_dataclass.py +0 -0
  9. {producteca-2.0.34 → producteca-2.0.36}/producteca/client.py +0 -0
  10. {producteca-2.0.34 → producteca-2.0.36}/producteca/config/__init__.py +0 -0
  11. {producteca-2.0.34 → producteca-2.0.36}/producteca/config/config.py +0 -0
  12. {producteca-2.0.34 → producteca-2.0.36}/producteca/payments/__init__.py +0 -0
  13. {producteca-2.0.34 → producteca-2.0.36}/producteca/payments/payments.py +0 -0
  14. {producteca-2.0.34 → producteca-2.0.36}/producteca/payments/tests/__init__.py +0 -0
  15. {producteca-2.0.34 → producteca-2.0.36}/producteca/payments/tests/test_payments.py +0 -0
  16. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/__init__.py +0 -0
  17. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/products.py +0 -0
  18. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/tests/__init__.py +0 -0
  19. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/tests/test_products.py +0 -0
  20. {producteca-2.0.34 → producteca-2.0.36}/producteca/products/tests/test_search_products.py +0 -0
  21. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/__init__.py +0 -0
  22. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/sales_orders.py +0 -0
  23. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/search_sale_orders.py +0 -0
  24. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/tests/__init__.py +0 -0
  25. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/tests/search.json +0 -0
  26. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/tests/test_sales_orders.py +0 -0
  27. {producteca-2.0.34 → producteca-2.0.36}/producteca/sales_orders/tests/test_search_so.py +0 -0
  28. {producteca-2.0.34 → producteca-2.0.36}/producteca/shipments/__init__.py +0 -0
  29. {producteca-2.0.34 → producteca-2.0.36}/producteca/shipments/shipment.py +0 -0
  30. {producteca-2.0.34 → producteca-2.0.36}/producteca/shipments/tests/__init__.py +0 -0
  31. {producteca-2.0.34 → producteca-2.0.36}/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.34
3
+ Version: 2.0.36
4
4
  Summary:
5
5
  Author: Chroma Agency, Matias Rivera
6
6
  Author-email: mrivera@chroma.agency
@@ -56,24 +56,24 @@ class SearchDeals(BaseModel):
56
56
  class SearchResultItem(BaseModel):
57
57
  search_score: float = Field(..., alias='@search.score')
58
58
  id: int
59
- product_id: int = Field(..., alias='productId')
60
- company_id: int = Field(..., alias='companyId')
61
- name: str
62
- code: str
59
+ product_id: Optional[int] = Field(None, alias='productId')
60
+ company_id: Optional[int] = Field(None, alias='companyId')
61
+ name:Optional[str] = None
62
+ code: Optional[str] = None
63
63
  skus: List[str]
64
- brand: str
65
- category: str
66
- thumbnail: str
67
- stocks: List[SearchStocks]
68
- warehouses_with_stock: List[str] = Field(..., alias='warehousesWithStock')
69
- total_stock: int = Field(..., alias='totalStock')
70
- has_pictures: bool = Field(..., alias='hasPictures')
71
- buying_price: float = Field(..., alias='buyingPrice')
72
- prices: List[SearchPrices]
73
- integration_ids: List[str] = Field(..., alias='integrationIds')
74
- integration_apps: List[str] = Field(..., alias='integrationApps')
75
- integrations: List[SearchIntegration]
76
- campaigns: List[str]
64
+ brand: Optional[str] = None
65
+ category: Optional[str] = None
66
+ thumbnail: Optional[str] = None
67
+ stocks: Optional[List[SearchStocks]] = None
68
+ warehouses_with_stock: Optional[List[str]] = Field(None, alias='warehousesWithStock')
69
+ total_stock: Optional[int] = Field(None, alias='totalStock')
70
+ has_pictures: Optional[bool] = Field(None, alias='hasPictures')
71
+ buying_price: Optional[float] = Field(None, alias='buyingPrice')
72
+ prices: Optional[List[SearchPrices]] = None
73
+ integration_ids: Optional[List[str]] = Field(None, alias='integrationIds')
74
+ integration_apps: Optional[List[str]] = Field(None, alias='integrationApps')
75
+ integrations: Optional[List[SearchIntegration]] = None
76
+ campaigns: Optional[List[str]] = None
77
77
  app: Optional[int] = None
78
78
  status: Optional[str] = None
79
79
  synchronize_stock: Optional[bool] = Field(None, alias='synchronizeStock')
@@ -104,7 +104,7 @@ class SearchResultItem(BaseModel):
104
104
  attribute_completion_status: Optional[str] = Field(None, alias='attributeCompletionStatus')
105
105
  attribute_completion_count: Optional[int] = Field(None, alias='attributeCompletionCount')
106
106
  attribute_completion_total: Optional[int] = Field(None, alias='attributeCompletionTotal')
107
- deals: Optional[SearchDeals] = None
107
+ deals: Optional[Union[SearchDeals, List]] = None
108
108
  campaign_status: Optional[List[str]] = Field(None, alias='campaignStatus')
109
109
  size_chart: Optional[str] = Field(None, alias='sizeChart')
110
110
  channel_status: Optional[List[str]] = Field(None, alias='channelStatus')
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "producteca"
3
- version = "2.0.34"
3
+ version = "2.0.36"
4
4
  description = ""
5
5
  authors = ["Chroma Agency, Matias Rivera <mrivera@chroma.agency>"]
6
6
  readme = "README.md"
File without changes
File without changes