@gls_spain/gps-common 34.26.8 → 34.26.9
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 +9 -2
- package/package.json +1 -1
- package/schemas/definitions/sales.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
## [34.26.
|
|
1
|
+
## [34.26.9](https://github.com/GLS-Spain/gps-common/compare/v34.26.8...v34.26.9) (2021-11-16)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* move required lastname fiscal to normal sender ([a958618](https://github.com/GLS-Spain/gps-common/commit/a9586182d64d37f39f16dea51142fba845f562a4))
|
|
7
7
|
|
|
8
|
+
## [34.26.8](https://github.com/GLS-Spain/gps-common/compare/v34.26.7...v34.26.8) (2021-11-16)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add required to lastname ([eafbef4](https://github.com/GLS-Spain/gps-common/commit/eafbef4c2b8bcf31f1b6819f80caa8a92be6a3a9))
|
|
14
|
+
|
|
8
15
|
## [34.26.7](https://github.com/GLS-Spain/gps-common/compare/v34.26.6...v34.26.7) (2021-11-15)
|
|
9
16
|
|
|
10
17
|
|
package/package.json
CHANGED
|
@@ -93,13 +93,13 @@ const sale = () => ({
|
|
|
93
93
|
emails: { type: 'array', items: email(), uniqueItems: true },
|
|
94
94
|
phones: { type: 'array', items: phone(), uniqueItems: true },
|
|
95
95
|
},
|
|
96
|
-
required: ['name', '
|
|
96
|
+
required: ['name', 'nif', 'address', 'emails', 'phones', 'nifType'],
|
|
97
97
|
additionalProperties: false,
|
|
98
98
|
},
|
|
99
99
|
notes: { type: 'string', trim: true },
|
|
100
100
|
reference: { type: 'string', trim: true },
|
|
101
101
|
},
|
|
102
|
-
required: ['name', 'nif', 'address', 'emails', 'phones', 'fiscal'],
|
|
102
|
+
required: ['name', 'lastname','nif', 'address', 'emails', 'phones', 'fiscal'],
|
|
103
103
|
additionalProperties: false,
|
|
104
104
|
},
|
|
105
105
|
payment: {
|