@gls_spain/gps-common 35.1.10 → 35.1.11
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 +7 -0
- package/package.json +1 -1
- package/schemas/definitions/users.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [35.1.11](https://github.com/GLS-Spain/gps-common/compare/v35.1.10...v35.1.11) (2024-06-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add new field to create and update passwordExpired ([46b9377](https://github.com/GLS-Spain/gps-common/commit/46b937794278182051b912bbaea1e5009011d662))
|
|
7
|
+
|
|
1
8
|
## [35.1.10](https://github.com/GLS-Spain/gps-common/compare/v35.1.9...v35.1.10) (2024-06-20)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -214,6 +214,7 @@ const createShopUserRequest = () =>
|
|
|
214
214
|
properties: {
|
|
215
215
|
...pickProperties(shopUser(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
|
|
216
216
|
password: password(),
|
|
217
|
+
passwordExpired: { type: 'string', trim: true },
|
|
217
218
|
},
|
|
218
219
|
required: ['username', 'loginEnabled', 'name', 'password'],
|
|
219
220
|
additionalProperties: false,
|
|
@@ -260,6 +261,7 @@ const updateShopUserRequest = () =>
|
|
|
260
261
|
properties: {
|
|
261
262
|
...pickProperties(shopUser(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
|
|
262
263
|
password: password(),
|
|
264
|
+
passwordExpired: { type: 'string',trim: true },
|
|
263
265
|
},
|
|
264
266
|
minProperties: 1,
|
|
265
267
|
additionalProperties: false,
|