@gls_spain/gps-common 35.8.1 → 35.9.0
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 +18 -4
- package/package.json +1 -1
- package/schemas/definitions/expeditions.js +19 -12
- package/schemas/definitions/shops.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,25 @@
|
|
|
1
|
-
|
|
1
|
+
# [35.9.0](https://github.com/GLS-Spain/gps-common/compare/v35.8.2...v35.9.0) (2024-11-07)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Features
|
|
5
5
|
|
|
6
|
-
*
|
|
7
|
-
* deposited to fix change request ([2bc2e2a](https://github.com/GLS-Spain/gps-common/commit/2bc2e2accd9c5beea89fc432d3d5710dca51d6c9))
|
|
6
|
+
* field capacity ([301f737](https://github.com/GLS-Spain/gps-common/commit/301f737d9167d22f13c29f9d5641166c43189be7))
|
|
8
7
|
|
|
8
|
+
## [35.8.2](https://github.com/GLS-Spain/gps-common/compare/v35.8.1...v35.8.2) (2024-10-17)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fix properties depositedRequest ([9baac2e](https://github.com/GLS-Spain/gps-common/commit/9baac2ec645f46b1fcc35b24f23a21334fafc454))
|
|
14
|
+
|
|
15
|
+
## [35.8.1](https://github.com/GLS-Spain/gps-common/compare/v35.8.0...v35.8.1) (2024-10-17)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add new schema to depositedTo ([61cfa0f](https://github.com/GLS-Spain/gps-common/commit/61cfa0f4b11268864db3bfb7323b4953b1a2a1a1))
|
|
21
|
+
* deposited to fix change request ([2bc2e2a](https://github.com/GLS-Spain/gps-common/commit/2bc2e2accd9c5beea89fc432d3d5710dca51d6c9))
|
|
22
|
+
|
|
9
23
|
# [35.8.0](https://github.com/GLS-Spain/gps-common/compare/v35.7.0...v35.8.0) (2024-10-15)
|
|
10
24
|
|
|
11
25
|
|
package/package.json
CHANGED
|
@@ -60,17 +60,6 @@ const driver = () => ({
|
|
|
60
60
|
additionalProperties: false,
|
|
61
61
|
});
|
|
62
62
|
|
|
63
|
-
const expeditionLogInv = () => ({
|
|
64
|
-
title: 'expedition',
|
|
65
|
-
type: 'object',
|
|
66
|
-
properties: {
|
|
67
|
-
_id: uuid(),
|
|
68
|
-
incident: { type: 'boolean' },
|
|
69
|
-
},
|
|
70
|
-
required: ['_id'],
|
|
71
|
-
additionalProperties: false,
|
|
72
|
-
});
|
|
73
|
-
|
|
74
63
|
// const shopProvider = () =>({
|
|
75
64
|
// title: 'shopProvider',
|
|
76
65
|
// type: 'object',
|
|
@@ -854,7 +843,25 @@ const processExpeditionsDepositedFromRequest = () => ({
|
|
|
854
843
|
const processExpeditionsDepositedToRequest = () => ({
|
|
855
844
|
type: 'object',
|
|
856
845
|
properties: {
|
|
857
|
-
expeditions:
|
|
846
|
+
expeditions: {
|
|
847
|
+
type: 'object',
|
|
848
|
+
properties: {
|
|
849
|
+
_ids: {
|
|
850
|
+
type: 'array',
|
|
851
|
+
items: {
|
|
852
|
+
type: 'object',
|
|
853
|
+
properties: {
|
|
854
|
+
_id: uuid(),
|
|
855
|
+
incident: { type: 'boolean' },
|
|
856
|
+
},
|
|
857
|
+
required: ['_id'],
|
|
858
|
+
additionalProperties: false,
|
|
859
|
+
},
|
|
860
|
+
},
|
|
861
|
+
},
|
|
862
|
+
required: ['_ids'],
|
|
863
|
+
additionalProperties: false,
|
|
864
|
+
},
|
|
858
865
|
driver: driver(),
|
|
859
866
|
},
|
|
860
867
|
required: ['expeditions', 'driver'],
|
|
@@ -268,9 +268,11 @@ const shop = () => ({
|
|
|
268
268
|
// 2023-01-12 JL están definidos como string
|
|
269
269
|
// TODO en el momento que el frontend sea capaz de mandar integer, se quita "string"
|
|
270
270
|
squareCode: { type: ['integer', 'string'], minimum: 0, maximum: 32767, description: 'agency code' },
|
|
271
|
-
clientCode: { type: ['integer', 'string'], minimum: 0, maximum: 32767,description: 'client code' },
|
|
271
|
+
clientCode: { type: ['integer', 'string'], minimum: 0, maximum: 32767, description: 'client code' },
|
|
272
272
|
// 2024-07-22 JJC campo de agencia de canalización
|
|
273
273
|
channelingAgencyCode: { type: ['integer', 'string', 'null'], description: 'Channeling Agency Code' },
|
|
274
|
+
//Volume capacity 07/11/2024
|
|
275
|
+
capacity: { type: 'string', trim: true },
|
|
274
276
|
},
|
|
275
277
|
required: [
|
|
276
278
|
'_id',
|