@gls_spain/gps-common 34.27.10 → 34.28.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 +12 -0
- package/package.json +1 -1
- package/schemas/definitions/expeditions.js +3 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [34.28.0](https://github.com/GLS-Spain/gps-common/compare/v34.27.10...v34.28.0) (2022-12-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add customer barcode to schema v2 ([8d46e4d](https://github.com/GLS-Spain/gps-common/commit/8d46e4d382dec12529d442178db08db1133a0bc6))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* add barcode to customer objectSchema ([d3402eb](https://github.com/GLS-Spain/gps-common/commit/d3402eb083116a839d76f12e3a74a0d298e0696a))
|
|
12
|
+
|
|
1
13
|
## [34.27.10](https://github.com/GLS-Spain/gps-common/compare/v34.27.9...v34.27.10) (2022-11-15)
|
|
2
14
|
|
|
3
15
|
|
package/package.json
CHANGED
|
@@ -65,6 +65,7 @@ const customer = () => ({
|
|
|
65
65
|
properties: {
|
|
66
66
|
name: { type: 'string', trim: true },
|
|
67
67
|
nif: { type: 'string', trim: true },
|
|
68
|
+
barcode: { type: 'string', trim: true },
|
|
68
69
|
pod: objectWithUuid(),
|
|
69
70
|
},
|
|
70
71
|
required: ['name', 'nif', 'pod'],
|
|
@@ -76,9 +77,10 @@ const customerWithPod = () => ({
|
|
|
76
77
|
properties: {
|
|
77
78
|
name: { type: 'string', trim: true },
|
|
78
79
|
nif: { type: 'string', trim: true },
|
|
80
|
+
barcode: { type: 'string', trim: true },
|
|
79
81
|
pod: { type: 'string', contentMediaType: 'image/jpg', contentEncoding: 'base64' },
|
|
80
82
|
},
|
|
81
|
-
required: ['name', 'nif', 'pod'],
|
|
83
|
+
required: ['name', 'nif', 'pod' ],
|
|
82
84
|
additionalProperties: false,
|
|
83
85
|
});
|
|
84
86
|
|