@pcreative/commerce-contract 1.3.3 → 1.3.4
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.
- package/package.json +1 -1
- package/src/index.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pcreative/commerce-contract",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Contrato de datos de commerce: los tipos que consume un tema y los adaptadores que los resuelven. Sin dependencias ni SDK del backend.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "module",
|
package/src/index.d.ts
CHANGED
|
@@ -78,6 +78,11 @@ export interface WithdrawalState {
|
|
|
78
78
|
pais: string
|
|
79
79
|
dias: number | null
|
|
80
80
|
diasHabiles: boolean
|
|
81
|
+
/**
|
|
82
|
+
* El plazo cuenta desde que se recibe. Con `caduca` en null y esto en true,
|
|
83
|
+
* todavía no ha empezado: aún no ha llegado todo lo físico del pedido.
|
|
84
|
+
*/
|
|
85
|
+
empiezaAlRecibir?: boolean
|
|
81
86
|
caduca: string | null
|
|
82
87
|
dentroDePlazo: boolean
|
|
83
88
|
lineas: { id: string; titulo: string; cantidad: number; excluida: string | null }[]
|