@gls_spain/gps-common 34.31.4 → 34.31.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [34.31.5](https://github.com/GLS-Spain/gps-common/compare/v34.31.4...v34.31.5) (2023-10-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix last update validation event supplier ([474d6be](https://github.com/GLS-Spain/gps-common/commit/474d6be01cb954c0ba05ba37d9425b919cb2a673))
7
+
1
8
  ## [34.31.4](https://github.com/GLS-Spain/gps-common/compare/v34.31.3...v34.31.4) (2023-10-03)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.31.4",
3
+ "version": "34.31.5",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -726,28 +726,6 @@ const scanExpeditionResponse = () => ({
726
726
  });
727
727
 
728
728
  const processExpeditionsWithDriverRequest = () => ({
729
- type: 'object',
730
- properties: {
731
- expeditions: omit(findByIds(), 'title'),
732
- driver: driver(),
733
- shop: shopProvider(),
734
- },
735
- required: ['expeditions', 'driver'],
736
- additionalProperties: true,
737
- });
738
-
739
- const processExpeditionsWithDriverRequestSupplier = () => ({
740
- type: 'object',
741
- properties: {
742
- expeditions: omit(findByIds(), 'title'),
743
- driver: driver(),
744
- shop: shopSupplier(),
745
- },
746
- required: ['expeditions', 'driver'],
747
- additionalProperties: false,
748
- });
749
-
750
- const processExpeditionsWithCustomerRequestSupplier = () => ({
751
729
  type: 'object',
752
730
  properties: {
753
731
  expeditions: omit(findByIds(), 'title'),
@@ -755,7 +733,7 @@ const processExpeditionsWithCustomerRequestSupplier = () => ({
755
733
  shop: shopSupplier(),
756
734
  },
757
735
  required: ['expeditions', 'driver'],
758
- additionalProperties: false,
736
+ additionalProperties: true,
759
737
  });
760
738
 
761
739
  const processExpeditionsWithCustomerRequest = () => ({
@@ -763,7 +741,7 @@ const processExpeditionsWithCustomerRequest = () => ({
763
741
  properties: {
764
742
  expeditions: omit(findByIds(), 'title'),
765
743
  customer: customerWithPod(),
766
- shop: shopProvider(),
744
+ shop: shopSupplier(),
767
745
  },
768
746
  required: ['expeditions', 'customer'],
769
747
  additionalProperties: true,
@@ -955,8 +933,6 @@ module.exports = {
955
933
  scanExpeditionRequest,
956
934
  scanExpeditionResponse,
957
935
  processExpeditionsWithDriverRequest,
958
- processExpeditionsWithCustomerRequestSupplier,
959
- processExpeditionsWithDriverRequestSupplier,
960
936
  processExpeditionsDepositedFromRequest,
961
937
  processExpeditionsWithCustomerRequest,
962
938
  processExpeditionsResponse,
package/schemas/index.js CHANGED
@@ -73,8 +73,6 @@ const {
73
73
  scanExpeditionRequest,
74
74
  scanExpeditionResponse,
75
75
  processExpeditionsWithDriverRequest,
76
- processExpeditionsWithCustomerRequestSupplier,
77
- processExpeditionsWithDriverRequestSupplier,
78
76
  processExpeditionsWithCustomerRequest,
79
77
  processExpeditionsResponse,
80
78
  receiveAllExpeditionsFromDriverRequest,
@@ -222,10 +220,6 @@ const expeditionsScanRequest = request(scanExpeditionRequest(), 'expeditionsScan
222
220
  const expeditionsScanResponse = response(scanExpeditionResponse(), 'expeditionsScanResponse');
223
221
  const expeditionsProcessWithDriverRequest = request(processExpeditionsWithCustomerRequest(), 'expeditionsProcessWithCustomerRequest');
224
222
  const expeditionsProcessWithCustomerRequest = request(processExpeditionsWithDriverRequest(), 'expeditionsProcessWithDriverRequest');
225
-
226
- const expeditionsProcessWithCustomerRequestSupplier = request(processExpeditionsWithCustomerRequestSupplier(), 'expeditionsProcessWithCustomerRequestSupplier');
227
- const expeditionsProcessWithDriverRequestSupplier = request(processExpeditionsWithDriverRequestSupplier(), 'expeditionsProcessWithDriverRequestSupplier');
228
-
229
223
  const expeditionsProcessDepositedFromRequest = request(processExpeditionsDepositedFromRequest(), 'expeditionsProcessDepositedFromRequest');
230
224
  const expeditionsProcessResponse = response(processExpeditionsResponse(), 'expeditionsProcessResponse');
231
225
  const expeditionsReceiveAllFromDriverRequest = request(receiveAllExpeditionsFromDriverRequest(), 'expeditionsReceiveAllFromDriverRequest');
@@ -370,8 +364,6 @@ module.exports = {
370
364
  expeditionsScanResponse,
371
365
  expeditionsProcessWithDriverRequest,
372
366
  expeditionsProcessWithCustomerRequest,
373
- expeditionsProcessWithCustomerRequestSupplier,
374
- expeditionsProcessWithDriverRequestSupplier,
375
367
  expeditionsProcessDepositedFromRequest,
376
368
  expeditionsProcessResponse,
377
369
  expeditionsReceiveAllFromDriverRequest,