@gls_spain/gps-common 35.7.0 → 35.8.1
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,10 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
## [35.8.1](https://github.com/GLS-Spain/gps-common/compare/v35.8.0...v35.8.1) (2024-10-17)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* add new schema to depositedTo ([61cfa0f](https://github.com/GLS-Spain/gps-common/commit/61cfa0f4b11268864db3bfb7323b4953b1a2a1a1))
|
|
7
|
+
* deposited to fix change request ([2bc2e2a](https://github.com/GLS-Spain/gps-common/commit/2bc2e2accd9c5beea89fc432d3d5710dca51d6c9))
|
|
7
8
|
|
|
9
|
+
# [35.8.0](https://github.com/GLS-Spain/gps-common/compare/v35.7.0...v35.8.0) (2024-10-15)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* add reverserLogistic field ([0fd6ba9](https://github.com/GLS-Spain/gps-common/commit/0fd6ba93a7c6b8808f46a1db7de2914d51a7b6b8))
|
|
15
|
+
|
|
16
|
+
# [35.7.0](https://github.com/GLS-Spain/gps-common/compare/v35.6.3...v35.7.0) (2024-10-09)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* export expedition schema ([d2ae7c0](https://github.com/GLS-Spain/gps-common/commit/d2ae7c026de3f76b263f2c47e9feb74b8af6d517))
|
|
22
|
+
|
|
8
23
|
## [35.6.3](https://github.com/GLS-Spain/gps-common/compare/v35.6.2...v35.6.3) (2024-10-04)
|
|
9
24
|
|
|
10
25
|
|
package/package.json
CHANGED
|
@@ -60,16 +60,27 @@ const driver = () => ({
|
|
|
60
60
|
additionalProperties: false,
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
const
|
|
64
|
-
title: '
|
|
63
|
+
const expeditionLogInv = () => ({
|
|
64
|
+
title: 'expedition',
|
|
65
65
|
type: 'object',
|
|
66
|
-
properties:{
|
|
66
|
+
properties: {
|
|
67
67
|
_id: uuid(),
|
|
68
|
-
|
|
68
|
+
incident: { type: 'boolean' },
|
|
69
69
|
},
|
|
70
|
-
required: ['_id'
|
|
70
|
+
required: ['_id'],
|
|
71
71
|
additionalProperties: false,
|
|
72
|
-
})
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
// const shopProvider = () =>({
|
|
75
|
+
// title: 'shopProvider',
|
|
76
|
+
// type: 'object',
|
|
77
|
+
// properties:{
|
|
78
|
+
// _id: uuid(),
|
|
79
|
+
// name:{ type: 'string', trim: true },
|
|
80
|
+
// },
|
|
81
|
+
// required: ['_id', 'name'],
|
|
82
|
+
// additionalProperties: false,
|
|
83
|
+
// })
|
|
73
84
|
|
|
74
85
|
const shopSupplier = () =>({
|
|
75
86
|
title: 'shopSupplier',
|
|
@@ -843,11 +854,10 @@ const processExpeditionsDepositedFromRequest = () => ({
|
|
|
843
854
|
const processExpeditionsDepositedToRequest = () => ({
|
|
844
855
|
type: 'object',
|
|
845
856
|
properties: {
|
|
846
|
-
expeditions:
|
|
857
|
+
expeditions: expeditionLogInv(),
|
|
847
858
|
driver: driver(),
|
|
848
|
-
QRconfirmed: { type: 'boolean' },
|
|
849
859
|
},
|
|
850
|
-
required: ['expeditions', 'driver'
|
|
860
|
+
required: ['expeditions', 'driver'],
|
|
851
861
|
additionalProperties: false,
|
|
852
862
|
});
|
|
853
863
|
|
|
@@ -262,6 +262,7 @@ const shop = () => ({
|
|
|
262
262
|
gold: { type: 'boolean', default: false },
|
|
263
263
|
radical: { type: 'boolean', default: false },
|
|
264
264
|
operations: { type: 'string', trim: true },
|
|
265
|
+
reverseLogistic: { type: 'boolean', default: false },
|
|
265
266
|
// squareCode: { type: 'string' },
|
|
266
267
|
// clientCode: { type: 'string' },
|
|
267
268
|
// 2023-01-12 JL están definidos como string
|
|
@@ -340,6 +341,7 @@ const createShopRequest = () =>
|
|
|
340
341
|
'gold',
|
|
341
342
|
'radical',
|
|
342
343
|
'operations',
|
|
344
|
+
'reverseLogistic',
|
|
343
345
|
'squareCode',
|
|
344
346
|
'clientCode',
|
|
345
347
|
'channelingAgencyCode',
|
|
@@ -462,6 +464,7 @@ const updateShopRequest = () =>
|
|
|
462
464
|
'gold',
|
|
463
465
|
'radical',
|
|
464
466
|
'operations',
|
|
467
|
+
'reverseLogistic',
|
|
465
468
|
'squareCode',
|
|
466
469
|
'clientCode',
|
|
467
470
|
'channelingAgencyCode'
|
|
@@ -515,6 +518,7 @@ const upsertShopRequest = () => ({
|
|
|
515
518
|
'gold',
|
|
516
519
|
'radical',
|
|
517
520
|
'operations',
|
|
521
|
+
'reverseLogistic',
|
|
518
522
|
'squareCode',
|
|
519
523
|
'clientCode',
|
|
520
524
|
'channelingAgencyCode',
|