cardus 0.0.35 → 0.0.36

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
@@ -56,7 +56,7 @@ class IntegrationManager {
56
56
  countriesService: this.services.countriesService,
57
57
  isPriority
58
58
  });
59
- return yield this.services.integrationsService.insertTempShipment(tempShipmentData);
59
+ return yield this.services.integrationsService.insertTempShipment(tempShipmentData, false);
60
60
  });
61
61
  this.insertExternalShipment = ({ idUsuario, order, idEnvioTemporal }) => {
62
62
  dataToInsert.externals.push({
package/index.ts CHANGED
@@ -285,7 +285,8 @@ export class IntegrationManager {
285
285
  });
286
286
 
287
287
  return await this.services.integrationsService.insertTempShipment(
288
- tempShipmentData
288
+ tempShipmentData,
289
+ false
289
290
  );
290
291
  };
291
292
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cardus",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "description": "an integration manager",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/types/index.ts CHANGED
@@ -153,7 +153,7 @@ export type IntegrationsService = {
153
153
  idUsuario: number
154
154
  ) => Promise<boolean>;
155
155
 
156
- insertTempShipment: (params: Shipment) => number | false;
156
+ insertTempShipment: (params: Shipment, check?: boolean) => number | false;
157
157
 
158
158
  insertExternalShipment: (params: {
159
159
  id_envio_temporal_usuario: number;