@gls_spain/gps-common 35.13.0 → 35.14.1
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 +14 -0
- package/package.json +1 -1
- package/schemas/definitions/users.js +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [35.14.1](https://github.com/GLS-Spain/gps-common/compare/v35.14.0...v35.14.1) (2025-08-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* change naming activateRoleMFA ([e1f1d57](https://github.com/GLS-Spain/gps-common/commit/e1f1d57137c42483d9c64bf401d03c0ebc1fbae7))
|
|
7
|
+
|
|
8
|
+
# [35.14.0](https://github.com/GLS-Spain/gps-common/compare/v35.13.0...v35.14.0) (2025-08-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add new properties in shopUsers ([951e609](https://github.com/GLS-Spain/gps-common/commit/951e6097b686932f0685117646c35154e56d9541))
|
|
14
|
+
|
|
1
15
|
# [35.13.0](https://github.com/GLS-Spain/gps-common/compare/v35.12.0...v35.13.0) (2025-08-07)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -80,6 +80,8 @@ const shopUser = () =>
|
|
|
80
80
|
required: ['_id', 'name'],
|
|
81
81
|
additionalProperties: false,
|
|
82
82
|
},
|
|
83
|
+
verifiedAuth0Email: { type: 'boolean' },
|
|
84
|
+
activateRoleMFA: { type: 'boolean' },
|
|
83
85
|
},
|
|
84
86
|
required: ['network', 'shop'],
|
|
85
87
|
});
|
|
@@ -215,7 +217,7 @@ const createShopUserRequest = () =>
|
|
|
215
217
|
...pickProperties(shopUser(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
|
|
216
218
|
password: { type: 'string', trim: true },
|
|
217
219
|
passwordExpired: { type: 'string', trim: true },
|
|
218
|
-
auth0Id: {type:'string', trim: true},
|
|
220
|
+
auth0Id: { type: 'string', trim: true },
|
|
219
221
|
},
|
|
220
222
|
required: ['username', 'loginEnabled', 'name', 'password'],
|
|
221
223
|
additionalProperties: false,
|
|
@@ -261,9 +263,9 @@ const updateShopUserRequest = () =>
|
|
|
261
263
|
type: 'object',
|
|
262
264
|
properties: {
|
|
263
265
|
...pickProperties(shopUser(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
|
|
264
|
-
password: { type: 'string',trim: true },
|
|
265
|
-
passwordExpired: { type: 'string',trim: true },
|
|
266
|
-
auth0Id: {type:'string', trim: true},
|
|
266
|
+
password: { type: 'string', trim: true },
|
|
267
|
+
passwordExpired: { type: 'string', trim: true },
|
|
268
|
+
auth0Id: { type: 'string', trim: true },
|
|
267
269
|
},
|
|
268
270
|
minProperties: 1,
|
|
269
271
|
additionalProperties: false,
|
|
@@ -274,6 +276,7 @@ const updateShopUserRequest = () =>
|
|
|
274
276
|
minProperties: 1,
|
|
275
277
|
additionalProperties: false,
|
|
276
278
|
},
|
|
279
|
+
|
|
277
280
|
);
|
|
278
281
|
|
|
279
282
|
const updateSelfShopUserRequest = () =>
|