@gls_spain/gps-common 35.12.0 → 35.14.0

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.14.0](https://github.com/GLS-Spain/gps-common/compare/v35.13.0...v35.14.0) (2025-08-20)
2
+
3
+
4
+ ### Features
5
+
6
+ * add new properties in shopUsers ([951e609](https://github.com/GLS-Spain/gps-common/commit/951e6097b686932f0685117646c35154e56d9541))
7
+
8
+ # [35.13.0](https://github.com/GLS-Spain/gps-common/compare/v35.12.0...v35.13.0) (2025-08-07)
9
+
10
+
11
+ ### Features
12
+
13
+ * add zipTieCode in expeditions schema ([fe3b311](https://github.com/GLS-Spain/gps-common/commit/fe3b311e569b92309cf1fbb06a60fb59a456b3d5))
14
+
1
15
  # [35.12.0](https://github.com/GLS-Spain/gps-common/compare/v35.11.0...v35.12.0) (2025-08-07)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.12.0",
3
+ "version": "35.14.0",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -315,7 +315,8 @@ const expedition = () => ({
315
315
  },
316
316
  required: ['country', 'postalCodes'],
317
317
  additionalProperties: false,
318
- }
318
+ },
319
+ zipTieCode: { type: 'string' },
319
320
  },
320
321
  required: [
321
322
  '_id',
@@ -80,6 +80,8 @@ const shopUser = () =>
80
80
  required: ['_id', 'name'],
81
81
  additionalProperties: false,
82
82
  },
83
+ verifiedAuth0Email: { type: 'boolean' },
84
+ verifiedAuth0MFA: { 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 = () =>