@gls_spain/gps-common 34.26.19 → 34.26.21

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,3 +1,17 @@
1
+ ## [34.26.21](https://github.com/GLS-Spain/gps-common/compare/v34.26.20...v34.26.21) (2022-07-05)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * delete lastname from schema ([9357a5f](https://github.com/GLS-Spain/gps-common/commit/9357a5fffffb2ee26263e00d93b77789721f123c))
7
+
8
+ ## [34.26.20](https://github.com/GLS-Spain/gps-common/compare/v34.26.19...v34.26.20) (2022-05-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add description to holidays ([9bae6bd](https://github.com/GLS-Spain/gps-common/commit/9bae6bd4c7d3a710b2e88ee728677550f1399bb9))
14
+
1
15
  ## [34.26.19](https://github.com/GLS-Spain/gps-common/compare/v34.26.18...v34.26.19) (2022-05-11)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.19",
3
+ "version": "34.26.21",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -75,7 +75,6 @@ const sale = () => ({
75
75
  type: 'object',
76
76
  properties: {
77
77
  name: { type: 'string', trim: true },
78
- lastname: { type: 'string', trim: true },
79
78
  nif: { type: 'string', trim: true },
80
79
  nifType: nifType(),
81
80
  countryPassport: country(),
@@ -86,7 +85,6 @@ const sale = () => ({
86
85
  type: 'object',
87
86
  properties: {
88
87
  name: { type: 'string', trim: true },
89
- lastname: { type: 'string', trim: true },
90
88
  nif: { type: 'string', trim: true },
91
89
  nifType: nifType(),
92
90
  countryPassport: country(),
@@ -78,9 +78,10 @@ const absencesHolidaysShop = () => ({
78
78
  title: 'Absences holidays shop',
79
79
  type: 'object',
80
80
  properties: {
81
+ _id: uuid(),
81
82
  from: datetime(),
82
83
  to: datetime(),
83
- _id: uuid(),
84
+ description:{ type: 'string' },
84
85
  createAt: datetime()
85
86
  },
86
87
  required: ['from', 'to', '_id', 'createAt'],