@gls_spain/gps-common 35.15.7 → 35.15.8
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 +9 -2
- package/package.json +1 -1
- package/schemas/definitions/shops.js +42 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
## [35.15.
|
|
1
|
+
## [35.15.8](https://github.com/GLS-Spain/gps-common/compare/v35.15.7...v35.15.8) (2026-03-10)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* fix door property ([8980881](https://github.com/GLS-Spain/gps-common/commit/8980881dc14fdedad49a7179af810ab0bac36b55))
|
|
7
7
|
|
|
8
|
+
## [35.15.7](https://github.com/GLS-Spain/gps-common/compare/v35.15.6...v35.15.7) (2026-03-10)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add fiscal and activity new properties ([709fb68](https://github.com/GLS-Spain/gps-common/commit/709fb689abcd20cf64f42195b42f29062c9f3818))
|
|
14
|
+
|
|
8
15
|
## [35.15.6](https://github.com/GLS-Spain/gps-common/compare/v35.15.5...v35.15.6) (2026-03-10)
|
|
9
16
|
|
|
10
17
|
|
package/package.json
CHANGED
|
@@ -639,7 +639,34 @@ const locker = () => ({
|
|
|
639
639
|
type: 'array',
|
|
640
640
|
items: contact(),
|
|
641
641
|
},
|
|
642
|
-
fiscal:
|
|
642
|
+
fiscal: {
|
|
643
|
+
type: 'object',
|
|
644
|
+
properties: {
|
|
645
|
+
iban: { type: 'string', trim: true },
|
|
646
|
+
businessName: { type: 'string', trim: true },
|
|
647
|
+
nif: { type: 'string', trim: true },
|
|
648
|
+
contacts: { type: 'array', items: contact() },
|
|
649
|
+
// ✅ address inline — address() tiene additionalProperties:false sin 'door'
|
|
650
|
+
address: {
|
|
651
|
+
type: 'object',
|
|
652
|
+
properties: {
|
|
653
|
+
street: { type: 'string', trim: true },
|
|
654
|
+
door: { type: 'string', trim: true },
|
|
655
|
+
postalCode: { type: 'string', trim: true },
|
|
656
|
+
locality: { type: 'string', trim: true },
|
|
657
|
+
country: { type: 'string', trim: true },
|
|
658
|
+
},
|
|
659
|
+
required: ['street', 'postalCode', 'locality', 'country'],
|
|
660
|
+
additionalProperties: false,
|
|
661
|
+
},
|
|
662
|
+
paymentMethod: { type: 'string', trim: true },
|
|
663
|
+
dueDays: { type: 'integer', minimum: 0 },
|
|
664
|
+
activity: { type: 'string', trim: true, maxLength: 50 },
|
|
665
|
+
retention: { type: 'integer' },
|
|
666
|
+
},
|
|
667
|
+
required: ['iban', 'businessName', 'nif', 'contacts', 'address', 'dueDays', 'retention'],
|
|
668
|
+
additionalProperties: false,
|
|
669
|
+
},
|
|
643
670
|
activity: shopActivity(),
|
|
644
671
|
notes: { type: 'string', trim: true },
|
|
645
672
|
derivationSettings: derivationSettings(),
|
|
@@ -777,10 +804,21 @@ const createLockerRequest = () =>
|
|
|
777
804
|
businessName: { type: 'string', trim: true },
|
|
778
805
|
nif: { type: 'string', trim: true },
|
|
779
806
|
contacts: { type: 'array', items: contact() },
|
|
780
|
-
address:
|
|
781
|
-
|
|
807
|
+
address: {
|
|
808
|
+
type: 'object',
|
|
809
|
+
properties: {
|
|
810
|
+
street: { type: 'string', trim: true },
|
|
811
|
+
door: { type: 'string', trim: true },
|
|
812
|
+
postalCode: { type: 'string', trim: true },
|
|
813
|
+
locality: { type: 'string', trim: true },
|
|
814
|
+
country: { type: 'string', trim: true },
|
|
815
|
+
},
|
|
816
|
+
required: ['street', 'postalCode', 'locality', 'country'],
|
|
817
|
+
additionalProperties: false,
|
|
818
|
+
},
|
|
819
|
+
paymentMethod: { type: 'string', trim: true },
|
|
782
820
|
dueDays: { type: 'integer', minimum: 0 },
|
|
783
|
-
activity: { type: 'string', trim: true, maxLength: 50 },
|
|
821
|
+
activity: { type: 'string', trim: true, maxLength: 50 },
|
|
784
822
|
retention: { type: 'integer' },
|
|
785
823
|
},
|
|
786
824
|
required: ['iban', 'businessName', 'nif', 'contacts', 'address', 'dueDays', 'retention'],
|