producteca 2.0.22__py3-none-any.whl → 2.0.26__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.

@@ -107,8 +107,13 @@ class SaleOrderProduct(BaseModel):
107
107
  id: int
108
108
 
109
109
 
110
+ class SaleOrderQuestion(BaseModel):
111
+ text: Optional[str] = None
112
+ answer: Optional[str] = None
113
+
114
+
110
115
  class SaleOrderConversation(BaseModel):
111
- questions: Optional[List[str]] = None
116
+ questions: Optional[List[SaleOrderQuestion]] = None
112
117
 
113
118
 
114
119
  class SaleOrderLine(BaseModel):
@@ -205,6 +210,12 @@ class SaleOrderInvoiceIntegrationPut(SaleOrderInvoiceIntegrationAbstract):
205
210
  xml_url: str = Field(alias="xmlUrl")
206
211
 
207
212
 
213
+ class SaleOrderWarehouseIntegration(BaseModel):
214
+ app: Optional[int] = None
215
+ status: Optional[str] = None
216
+ integration_id: Optional[str] = Field(None, alias="integrationId")
217
+
218
+
208
219
  class SaleOrder(BaseModel):
209
220
  tags: Optional[List[str]] = None
210
221
  integrations: Optional[List[SaleOrderIntegrationId]] = None
@@ -215,7 +226,7 @@ class SaleOrder(BaseModel):
215
226
  lines: Optional[List[SaleOrderLine]] = None
216
227
  warehouse: Optional[str] = None
217
228
  warehouse_id: Optional[int] = Field(None, alias="warehouseId")
218
- warehouse_integration: Optional[str] = Field(None, alias="warehouseIntegration")
229
+ warehouse_integration: Optional[SaleOrderWarehouseIntegration] = Field(None, alias="warehouseIntegration")
219
230
  pick_up_store: Optional[str] = Field(None, alias="pickUpStore")
220
231
  payments: Optional[List[SaleOrderPayment]] = None
221
232
  shipments: Optional[List[SaleOrderShipment]] = None
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: producteca
3
- Version: 2.0.22
3
+ Version: 2.0.26
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=vA5_RRdiMonqB_xmSMVvKtEt_tLGhESnzSsOdMQaGXI,16082
18
+ producteca/sales_orders/sales_orders.py,sha256=zWIYVUN08BemK74Eh3Emyaorx0E5KVoS1jz7g7MWw-o,16408
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.22.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
29
- producteca-2.0.22.dist-info/METADATA,sha256=iocm487v7GgWuujIOpgBWcKyyOh0RbHdTLSsYob5vrY,3809
30
- producteca-2.0.22.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
- producteca-2.0.22.dist-info/entry_points.txt,sha256=BFSDFLbB70p8YVZPiU7HDJdj2VyyLdMVa4ekLQAUAVc,125
32
- producteca-2.0.22.dist-info/RECORD,,
28
+ producteca-2.0.26.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
29
+ producteca-2.0.26.dist-info/METADATA,sha256=4NqJOtxbk1FTiq6V4wt0TnBNzc7eKevuCSR87Zadf84,3809
30
+ producteca-2.0.26.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
31
+ producteca-2.0.26.dist-info/entry_points.txt,sha256=BFSDFLbB70p8YVZPiU7HDJdj2VyyLdMVa4ekLQAUAVc,125
32
+ producteca-2.0.26.dist-info/RECORD,,