cardus 0.0.21 → 0.0.22
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/dist/index.js +2 -1
- package/index.ts +2 -1
- package/package.json +1 -1
- package/types/index.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -58,7 +58,8 @@ class IntegrationManager {
|
|
|
58
58
|
fecha_hora_creacion: (0, moment_1.default)().format('YYYY-MM-DD HH:mm:ss'),
|
|
59
59
|
servicio: this.type,
|
|
60
60
|
id_interno_shopify: order.idInternoShopify,
|
|
61
|
-
fecha_creacion_externa: (0, moment_1.default)(order === null || order === void 0 ? void 0 : order.fechaCreacionExterna).isValid() ? (0, moment_1.default)(order.fechaCreacionExterna).format("YYYY-MM-DD HH:mm:ss") : null
|
|
61
|
+
fecha_creacion_externa: (0, moment_1.default)(order === null || order === void 0 ? void 0 : order.fechaCreacionExterna).isValid() ? (0, moment_1.default)(order.fechaCreacionExterna).format("YYYY-MM-DD HH:mm:ss") : null,
|
|
62
|
+
marketplaceId: order.marketplaceId
|
|
62
63
|
});
|
|
63
64
|
return idEnvioExterno;
|
|
64
65
|
});
|
package/index.ts
CHANGED
|
@@ -267,7 +267,8 @@ export class IntegrationManager {
|
|
|
267
267
|
fecha_hora_creacion: moment().format('YYYY-MM-DD HH:mm:ss'),
|
|
268
268
|
servicio: this.type,
|
|
269
269
|
id_interno_shopify: order.idInternoShopify,
|
|
270
|
-
fecha_creacion_externa: moment(order?.fechaCreacionExterna).isValid() ? moment(order.fechaCreacionExterna).format("YYYY-MM-DD HH:mm:ss") : null
|
|
270
|
+
fecha_creacion_externa: moment(order?.fechaCreacionExterna).isValid() ? moment(order.fechaCreacionExterna).format("YYYY-MM-DD HH:mm:ss") : null,
|
|
271
|
+
marketplaceId: order.marketplaceId
|
|
271
272
|
});
|
|
272
273
|
|
|
273
274
|
return idEnvioExterno;
|
package/package.json
CHANGED
package/types/index.ts
CHANGED
|
@@ -91,6 +91,7 @@ export type ModifiedOrder = {
|
|
|
91
91
|
idInternoShopify?: string;
|
|
92
92
|
precio: number | null;
|
|
93
93
|
fechaCreacionExterna?: string | null;
|
|
94
|
+
marketplaceId?: string | null
|
|
94
95
|
};
|
|
95
96
|
|
|
96
97
|
export interface ModifiedOrderExtended extends ModifiedOrder {
|
|
@@ -158,6 +159,7 @@ export type IntegrationsService = {
|
|
|
158
159
|
servicio: Type;
|
|
159
160
|
id_interno_shopify?: string;
|
|
160
161
|
fecha_creacion_externa: string | null
|
|
162
|
+
marketplaceId?: string | null
|
|
161
163
|
}) => number | false;
|
|
162
164
|
|
|
163
165
|
insertTempShipmentLines: (params: {
|