@gls_spain/gps-common 35.18.2 → 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 +15 -0
- package/package.json +1 -1
- package/schemas/definitions/common.js +18 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
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
|
+
|
|
9
|
+
# [35.19.0](https://github.com/GLS-Spain/gps-common/compare/v35.18.2...v35.19.0) (2026-09-17)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
* añadir nuevas propiedades opcionales en address ([9b72b82](https://github.com/GLS-Spain/gps-common/commit/9b72b82086ffba2f296392a4ba2c44669b3afb58))
|
|
15
|
+
|
|
1
16
|
## [35.18.2](https://github.com/GLS-Spain/gps-common/compare/v35.18.1...v35.18.2) (2026-08-13)
|
|
2
17
|
|
|
3
18
|
|
package/package.json
CHANGED
|
@@ -297,7 +297,17 @@ const address = () =>
|
|
|
297
297
|
properties: { country: country() },
|
|
298
298
|
});
|
|
299
299
|
|
|
300
|
-
const addressWithRequiredLocation = () =>
|
|
300
|
+
const addressWithRequiredLocation = () =>
|
|
301
|
+
mergeSchemas(address(), {
|
|
302
|
+
required: ['location'],
|
|
303
|
+
properties: {
|
|
304
|
+
streetType: { type: 'string', trim: true },
|
|
305
|
+
streetName: { type: 'string', trim: true },
|
|
306
|
+
streetNumber: { type: 'string', trim: true },
|
|
307
|
+
manuallyVerified: { type: 'boolean' },
|
|
308
|
+
addressValidationDate: { type: 'string', trim: true },
|
|
309
|
+
},
|
|
310
|
+
});
|
|
301
311
|
|
|
302
312
|
const findAll = () => ({
|
|
303
313
|
title: 'find all',
|
|
@@ -488,6 +498,13 @@ const lockerAddress = () => ({
|
|
|
488
498
|
postalCode: { type: 'string', trim: true, maxLength: 15 }, // cp varchar(15)
|
|
489
499
|
locality: { type: 'string', trim: true, maxLength: 100 }, // Poblacion varchar(100)
|
|
490
500
|
country: { type: 'string', trim: true, maxLength: 3 }, // ISO 3166-1 alpha-2/3
|
|
501
|
+
// campos opcionales para desglosar la dirección (además de street)
|
|
502
|
+
streetType: { type: 'string', trim: true, maxLength: 50 },
|
|
503
|
+
streetName: { type: 'string', trim: true, maxLength: 255 },
|
|
504
|
+
streetNumber: { type: 'string', trim: true, maxLength: 20 },
|
|
505
|
+
notes: { type: 'string', trim: true, maxLength: 500 }, // observaciones
|
|
506
|
+
manuallyVerified: { type: 'boolean' },
|
|
507
|
+
addressValidationDate: { type: 'string', trim: true, maxLength: 30 },
|
|
491
508
|
// campo específico de locker
|
|
492
509
|
access_descript_locker: { type: 'string', trim: true, maxLength: 500 },
|
|
493
510
|
location: {
|