cardus 0.0.62 → 0.0.64
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.
|
@@ -66,7 +66,8 @@ const cookTempShipment = (_a) => __awaiter(void 0, [_a], void 0, function* ({ or
|
|
|
66
66
|
cod_pos_llegada: order.codigoPostalLLegada,
|
|
67
67
|
poblacion_llegada: order.ciudadLLegada,
|
|
68
68
|
tlf_llegada: order.telefonoLLegada || 'no informado',
|
|
69
|
-
mail_llegada: order.emailLLegada || 'no informado'
|
|
69
|
+
mail_llegada: order.emailLLegada || 'no informado',
|
|
70
|
+
dni_destinatario: (order === null || order === void 0 ? void 0 : order.numeroIdentificacionLLegada) || null
|
|
70
71
|
});
|
|
71
72
|
});
|
|
72
73
|
const setReembolso = (order) => {
|
|
@@ -110,7 +110,8 @@ export const cookTempShipment = async ({
|
|
|
110
110
|
cod_pos_llegada: order.codigoPostalLLegada,
|
|
111
111
|
poblacion_llegada: order.ciudadLLegada,
|
|
112
112
|
tlf_llegada: order.telefonoLLegada || 'no informado',
|
|
113
|
-
mail_llegada: order.emailLLegada || 'no informado'
|
|
113
|
+
mail_llegada: order.emailLLegada || 'no informado',
|
|
114
|
+
dni_destinatario: order?.numeroIdentificacionLLegada || null
|
|
114
115
|
});
|
|
115
116
|
|
|
116
117
|
const setReembolso = (order: ModifiedOrder) => {
|
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -120,6 +120,7 @@ export type ModifiedOrder = {
|
|
|
120
120
|
agenciaEnvioIntegracion: string | null;
|
|
121
121
|
referenciaCliente?: string;
|
|
122
122
|
etiquetaExtraInfo?: string;
|
|
123
|
+
numeroIdentificacionLLegada?: string | null;
|
|
123
124
|
};
|
|
124
125
|
|
|
125
126
|
export interface ModifiedOrderExtended extends ModifiedOrder {
|