@gls_spain/gps-common 35.10.7 → 35.10.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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [35.10.9](https://github.com/GLS-Spain/gps-common/compare/v35.10.8...v35.10.9) (2025-07-09)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add propertie auth0Id for save id auth0 ([0ada289](https://github.com/GLS-Spain/gps-common/commit/0ada289955d1c543d69c6f08c97162d77995d8fb))
7
+
8
+ ## [35.10.8](https://github.com/GLS-Spain/gps-common/compare/v35.10.7...v35.10.8) (2025-06-04)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * change type password to string ([9108b8c](https://github.com/GLS-Spain/gps-common/commit/9108b8cf418dda1a0aeb24b051315c2435ccb6ef))
14
+
1
15
  ## [35.10.7](https://github.com/GLS-Spain/gps-common/compare/v35.10.6...v35.10.7) (2025-06-01)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.10.7",
3
+ "version": "35.10.9",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -89,7 +89,7 @@ const createSuperAdminRequest = () =>
89
89
  type: 'object',
90
90
  properties: {
91
91
  ...pickProperties(superAdmin(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
92
- password: password(),
92
+ password: { type: 'string', trim: true },
93
93
  },
94
94
  required: ['username', 'loginEnabled', 'name', 'password'],
95
95
  additionalProperties: false,
@@ -108,7 +108,7 @@ const updateSuperAdminRequest = () =>
108
108
  type: 'object',
109
109
  properties: {
110
110
  ...pickProperties(superAdmin(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
111
- password: password(),
111
+ password: { type: 'string', trim: true },
112
112
  },
113
113
  minProperties: 1,
114
114
  additionalProperties: false,
@@ -215,6 +215,7 @@ const createShopUserRequest = () =>
215
215
  ...pickProperties(shopUser(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
216
216
  password: { type: 'string', trim: true },
217
217
  passwordExpired: { type: 'string', trim: true },
218
+ auth0Id: {type:'string', trim: true},
218
219
  },
219
220
  required: ['username', 'loginEnabled', 'name', 'password'],
220
221
  additionalProperties: false,
@@ -262,6 +263,7 @@ const updateShopUserRequest = () =>
262
263
  ...pickProperties(shopUser(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
263
264
  password: { type: 'string',trim: true },
264
265
  passwordExpired: { type: 'string',trim: true },
266
+ auth0Id: {type:'string', trim: true},
265
267
  },
266
268
  minProperties: 1,
267
269
  additionalProperties: false,