producteca 2.0.33__py3-none-any.whl → 2.0.35__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.
- producteca/products/search_products.py +18 -18
- producteca/sales_orders/search_sale_orders.py +3 -3
- {producteca-2.0.33.dist-info → producteca-2.0.35.dist-info}/METADATA +1 -1
- {producteca-2.0.33.dist-info → producteca-2.0.35.dist-info}/RECORD +7 -7
- {producteca-2.0.33.dist-info → producteca-2.0.35.dist-info}/LICENSE +0 -0
- {producteca-2.0.33.dist-info → producteca-2.0.35.dist-info}/WHEEL +0 -0
- {producteca-2.0.33.dist-info → producteca-2.0.35.dist-info}/entry_points.txt +0 -0
|
@@ -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(
|
|
60
|
-
company_id: int = Field(
|
|
61
|
-
name:
|
|
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(
|
|
69
|
-
total_stock: int = Field(
|
|
70
|
-
has_pictures: bool = Field(
|
|
71
|
-
buying_price: float = Field(
|
|
72
|
-
prices: List[SearchPrices]
|
|
73
|
-
integration_ids: List[str] = Field(
|
|
74
|
-
integration_apps: List[str] = Field(
|
|
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] =
|
|
107
|
+
deals: Optional[SearchDeals] = []
|
|
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')
|
|
@@ -8,7 +8,7 @@ _logger = logging.getLogger(__name__)
|
|
|
8
8
|
class SalesOrderProduct(BaseModel):
|
|
9
9
|
id: int
|
|
10
10
|
name: str
|
|
11
|
-
code: str
|
|
11
|
+
code: Optional[str] = None
|
|
12
12
|
brand: Optional[str] = None
|
|
13
13
|
|
|
14
14
|
|
|
@@ -20,8 +20,8 @@ class SalesOrderVariationAttribute(BaseModel):
|
|
|
20
20
|
class SalesOrderVariation(BaseModel):
|
|
21
21
|
id: int
|
|
22
22
|
attributes: Optional[List[SalesOrderVariationAttribute]] = None
|
|
23
|
-
sku: str
|
|
24
|
-
thumbnail: str
|
|
23
|
+
sku: Optional[str] = None
|
|
24
|
+
thumbnail: Optional[str] = None
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
class SalesOrderLine(BaseModel):
|
|
@@ -10,13 +10,13 @@ producteca/payments/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
|
|
|
10
10
|
producteca/payments/tests/test_payments.py,sha256=wutk5zK2xRChTvKyTmi54Y_92PzNtUKZF6xWF298sFY,3032
|
|
11
11
|
producteca/products/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
12
12
|
producteca/products/products.py,sha256=FQeif3q52JGUcYVu5VKzY81FPSInQlc-HfYpYFlWmxo,12403
|
|
13
|
-
producteca/products/search_products.py,sha256=
|
|
13
|
+
producteca/products/search_products.py,sha256=y9jvUNpuPKm87bYjVmHJ323aOPfO4jTx0K_n3K40YSg,6118
|
|
14
14
|
producteca/products/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
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
18
|
producteca/sales_orders/sales_orders.py,sha256=AQKCujjNRArzzmMP89eHnwypRLVR67A9PBvIkazcebo,16472
|
|
19
|
-
producteca/sales_orders/search_sale_orders.py,sha256=
|
|
19
|
+
producteca/sales_orders/search_sale_orders.py,sha256=xCnc1QmfmTB1YmHq387poBDasj4pPNJRShkpEFzMdSs,5073
|
|
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
|
|
22
22
|
producteca/sales_orders/tests/test_sales_orders.py,sha256=hPtUqp4GUpp9iBr3AMGsS7nxHQ5JHJy-DLuTxf9Eufs,4245
|
|
@@ -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.
|
|
29
|
-
producteca-2.0.
|
|
30
|
-
producteca-2.0.
|
|
31
|
-
producteca-2.0.
|
|
32
|
-
producteca-2.0.
|
|
28
|
+
producteca-2.0.35.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
29
|
+
producteca-2.0.35.dist-info/METADATA,sha256=kugP9Kqjzv6YHTCVkLDLC68eEe68kSoqzgWjIGh2fRw,3809
|
|
30
|
+
producteca-2.0.35.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
31
|
+
producteca-2.0.35.dist-info/entry_points.txt,sha256=BFSDFLbB70p8YVZPiU7HDJdj2VyyLdMVa4ekLQAUAVc,125
|
|
32
|
+
producteca-2.0.35.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|