@gls_spain/gps-common 35.19.0 → 35.19.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 CHANGED
@@ -1,3 +1,11 @@
1
+ ## [35.19.1](https://github.com/GLS-Spain/gps-common/compare/v35.19.0...v35.19.1) (2026-09-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add validation address date ([043ef82](https://github.com/GLS-Spain/gps-common/commit/043ef8250466fb7255c8ecb2149b7b336e67765b))
7
+ * delete comments ([6b06cb4](https://github.com/GLS-Spain/gps-common/commit/6b06cb4b9227f7a738b0a8f8b5535417351bf7ce))
8
+
1
9
  # [35.19.0](https://github.com/GLS-Spain/gps-common/compare/v35.18.2...v35.19.0) (2026-09-17)
2
10
 
3
11
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.19.0",
3
+ "version": "35.19.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -294,18 +294,21 @@ const country = () => ({
294
294
 
295
295
  const address = () =>
296
296
  mergeSchemas(genericAddress(), {
297
+ properties: { country: country() },
298
+ });
299
+
300
+ const addressWithRequiredLocation = () =>
301
+ mergeSchemas(address(), {
302
+ required: ['location'],
297
303
  properties: {
298
- country: country(),
299
- // Nuevas propiedades opcionales para desglosar la dirección (lo pide El Corte Inglés) task "INN-1333"
300
304
  streetType: { type: 'string', trim: true },
301
305
  streetName: { type: 'string', trim: true },
302
306
  streetNumber: { type: 'string', trim: true },
303
307
  manuallyVerified: { type: 'boolean' },
308
+ addressValidationDate: { type: 'string', trim: true },
304
309
  },
305
310
  });
306
311
 
307
- const addressWithRequiredLocation = () => mergeSchemas(address(), { required: ['location'] });
308
-
309
312
  const findAll = () => ({
310
313
  title: 'find all',
311
314
  type: 'object',
@@ -501,6 +504,7 @@ const lockerAddress = () => ({
501
504
  streetNumber: { type: 'string', trim: true, maxLength: 20 },
502
505
  notes: { type: 'string', trim: true, maxLength: 500 }, // observaciones
503
506
  manuallyVerified: { type: 'boolean' },
507
+ addressValidationDate: { type: 'string', trim: true, maxLength: 30 },
504
508
  // campo específico de locker
505
509
  access_descript_locker: { type: 'string', trim: true, maxLength: 500 },
506
510
  location: {