@gls_spain/gps-common 34.26.9 → 34.26.10

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,17 @@
1
- ## [34.26.9](https://github.com/GLS-Spain/gps-common/compare/v34.26.8...v34.26.9) (2021-11-16)
1
+ ## [34.26.10](https://github.com/GLS-Spain/gps-common/compare/v34.26.9...v34.26.10) (2022-03-08)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * move required lastname fiscal to normal sender ([a958618](https://github.com/GLS-Spain/gps-common/commit/a9586182d64d37f39f16dea51142fba845f562a4))
6
+ * add lastname to fiscal ([449db3b](https://github.com/GLS-Spain/gps-common/commit/449db3b8d93dbe3d23557bbe9bc0df5043555d6d))
7
7
 
8
+ ## [34.26.9](https://github.com/GLS-Spain/gps-common/compare/v34.26.8...v34.26.9) (2021-11-16)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * move required lastname fiscal to normal sender ([a958618](https://github.com/GLS-Spain/gps-common/commit/a9586182d64d37f39f16dea51142fba845f562a4))
14
+
8
15
  ## [34.26.8](https://github.com/GLS-Spain/gps-common/compare/v34.26.7...v34.26.8) (2021-11-16)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.9",
3
+ "version": "34.26.10",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -86,6 +86,7 @@ const sale = () => ({
86
86
  type: 'object',
87
87
  properties: {
88
88
  name: { type: 'string', trim: true },
89
+ lastname: { type: 'string', trim: true },
89
90
  nif: { type: 'string', trim: true },
90
91
  nifType: nifType(),
91
92
  countryPassport: country(),
@@ -93,7 +94,7 @@ const sale = () => ({
93
94
  emails: { type: 'array', items: email(), uniqueItems: true },
94
95
  phones: { type: 'array', items: phone(), uniqueItems: true },
95
96
  },
96
- required: ['name', 'nif', 'address', 'emails', 'phones', 'nifType'],
97
+ required: ['name','lastname', 'nif', 'address', 'emails', 'phones', 'nifType'],
97
98
  additionalProperties: false,
98
99
  },
99
100
  notes: { type: 'string', trim: true },