cardus 0.0.35 → 0.0.37
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 -2
- package/index.ts +3 -2
- package/package.json +1 -1
- package/types/index.ts +1 -1
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({
|
|
@@ -151,7 +151,7 @@ class IntegrationManager {
|
|
|
151
151
|
isPriority: yield isPriorityByDefault(),
|
|
152
152
|
});
|
|
153
153
|
}),
|
|
154
|
-
regularExecutionTime:
|
|
154
|
+
regularExecutionTime: 8000, // ms
|
|
155
155
|
initialBatchQuantity: 5 // de cinco en cinco
|
|
156
156
|
}).upload();
|
|
157
157
|
const successfullShipments = insertOrdersResult
|
package/index.ts
CHANGED
|
@@ -141,7 +141,7 @@ export class IntegrationManager {
|
|
|
141
141
|
isPriority: await isPriorityByDefault(),
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
|
-
regularExecutionTime:
|
|
144
|
+
regularExecutionTime: 8000, // ms
|
|
145
145
|
initialBatchQuantity: 5 // de cinco en cinco
|
|
146
146
|
}).upload();
|
|
147
147
|
|
|
@@ -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
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;
|