cardus 0.0.23 → 0.0.24

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 CHANGED
@@ -61,7 +61,7 @@ class IntegrationManager {
61
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
62
  marketplaceId: order.marketplaceId,
63
63
  id_documento_holded: order.idDocumentoHolded,
64
- tipo_documento_holded: order.tipoDocumentoHolded,
64
+ tipo_documento_holded: order.tipoDocumentoHolded || '',
65
65
  });
66
66
  return idEnvioExterno;
67
67
  });
package/index.ts CHANGED
@@ -270,7 +270,7 @@ export class IntegrationManager {
270
270
  fecha_creacion_externa: moment(order?.fechaCreacionExterna).isValid() ? moment(order.fechaCreacionExterna).format("YYYY-MM-DD HH:mm:ss") : null,
271
271
  marketplaceId: order.marketplaceId,
272
272
  id_documento_holded: order.idDocumentoHolded,
273
- tipo_documento_holded: order.tipoDocumentoHolded,
273
+ tipo_documento_holded: order.tipoDocumentoHolded || '',
274
274
  });
275
275
 
276
276
  return idEnvioExterno;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",