@gls_spain/gps-common 35.24.1 → 35.24.2

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,167 +1,174 @@
1
- ## [35.24.1](https://github.com/GLS-Spain/gps-common/compare/v35.24.0...v35.24.1) (2026-11-05)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * quitamos validaciones en streetNumber, streetType, streetName ([c415a2b](https://github.com/GLS-Spain/gps-common/commit/c415a2b4672af6b364a3378f75cf0f99187754c6))
7
-
8
- # [35.24.0](https://github.com/GLS-Spain/gps-common/compare/v35.23.0...v35.24.0) (2026-11-05)
9
-
10
-
11
- ### Features
12
-
13
- * desactivar holidaysInactivity por defecto ([efef0d0](https://github.com/GLS-Spain/gps-common/commit/efef0d095a11623dbfa022eddadc279898e1c21c))
14
-
15
- # [35.23.0](https://github.com/GLS-Spain/gps-common/compare/v35.22.1...v35.23.0) (2026-11-04)
16
-
17
-
18
- ### Features
19
-
20
- * añadir reviewStatus a las inactividades de tienda ([d5ceacc](https://github.com/GLS-Spain/gps-common/commit/d5ceaccfbfa9d8e01728450c9fde5bad608bbd78))
21
- * **INN-1085:** añadir función holidaysInactivity a optionsFeatures ([829755d](https://github.com/GLS-Spain/gps-common/commit/829755d09a60a48bf7942ae660b27d5f35ac0d5a))
22
-
23
- ## [35.22.1](https://github.com/GLS-Spain/gps-common/compare/v35.22.0...v35.22.1) (2026-11-04)
24
-
25
-
26
- ### Bug Fixes
27
-
28
- * direccion_locker, codpostal_locker y ciudad_locker ya no se envían desde Salesforce ([deae86e](https://github.com/GLS-Spain/gps-common/commit/deae86e39d7b2affc0f1662f2427946f990bc2b0))
29
-
30
- # [35.22.0](https://github.com/GLS-Spain/gps-common/compare/v35.21.1...v35.22.0) (2026-10-27)
31
-
32
-
33
- ### Features
34
-
35
- * campo shopOwner en el usuario de tienda ([bd915f7](https://github.com/GLS-Spain/gps-common/commit/bd915f72d10e633c5eb69a5b8148d32612d00d92))
36
-
37
- ## [35.21.1](https://github.com/GLS-Spain/gps-common/compare/v35.21.0...v35.21.1) (2026-10-27)
38
-
39
-
40
- ### Bug Fixes
41
-
42
- * cambios address ([cd05621](https://github.com/GLS-Spain/gps-common/commit/cd056212a78adaa3c361541e2c6e09e480bffe66))
43
- * delete comments ([655a5e9](https://github.com/GLS-Spain/gps-common/commit/655a5e9d5610a8725b9406190211ba6786f494d1))
44
- * fix set.locker no admite null ([e9c4ad9](https://github.com/GLS-Spain/gps-common/commit/e9c4ad9bdf2482032a75b7ff9d9b97f99d62bc45))
45
-
46
- # [35.21.0](https://github.com/GLS-Spain/gps-common/compare/v35.20.0...v35.21.0) (2026-10-26)
47
-
48
-
49
- ### Features
50
-
51
- * esquemas de funciones de tienda y operaciones masivas ([10e9c96](https://github.com/GLS-Spain/gps-common/commit/10e9c9650f97dd7cb92487bd1e9af58e56266470))
52
-
53
- # [35.20.0](https://github.com/GLS-Spain/gps-common/compare/v35.19.4...v35.20.0) (2026-10-21)
54
-
55
-
56
- ### Bug Fixes
57
-
58
- * network & shops updated schemas ([73ecb9e](https://github.com/GLS-Spain/gps-common/commit/73ecb9ed5c6c998a93763599507db3368beb68a8))
59
-
60
-
61
- ### Features
62
-
63
- * shop.channeling ([f15c86b](https://github.com/GLS-Spain/gps-common/commit/f15c86b6c8c8c7685cbc0898ce8d48105ec1c034))
64
-
65
- ## [35.19.4](https://github.com/GLS-Spain/gps-common/compare/v35.19.3...v35.19.4) (2026-10-19)
66
-
67
-
68
- ### Bug Fixes
69
-
70
- * channeling agency code now is type number ([9d09898](https://github.com/GLS-Spain/gps-common/commit/9d09898d7abef0c1658f2edb04e532e1de825447))
71
- * channelingagencycode to type integer instaed number ([41cdd9a](https://github.com/GLS-Spain/gps-common/commit/41cdd9af0bddf7187ce2a17b2f6e0db64785e9de))
72
- * check channelingAgencyCode is not required, can be null, integer and can be not an empty string ([79d9bad](https://github.com/GLS-Spain/gps-common/commit/79d9bad7e8efccd259d44386bfde3f95fa3d478c))
73
-
74
- ## [35.19.3](https://github.com/GLS-Spain/gps-common/compare/v35.19.2...v35.19.3) (2026-10-14)
75
-
76
-
77
- ### Bug Fixes
78
-
79
- * quit required createLocker and fix property name in address schema ([158ed74](https://github.com/GLS-Spain/gps-common/commit/158ed74e11cc704bc87858d44cc979d54de385ff))
80
-
81
- ## [35.19.2](https://github.com/GLS-Spain/gps-common/compare/v35.19.1...v35.19.2) (2026-10-07)
82
-
83
-
84
- ### Bug Fixes
85
-
86
- * add streetType, streetName, streetNumber, notes, manuallyVerified y addressValidationDate ([99f9ef0](https://github.com/GLS-Spain/gps-common/commit/99f9ef012d6affb9556a22a1eab99482c7ba3442))
87
- * maxlength new properties in address ([f954b05](https://github.com/GLS-Spain/gps-common/commit/f954b05bafaf379a82cb4dfb9c05a575cd70511c))
88
-
89
- ## [35.19.1](https://github.com/GLS-Spain/gps-common/compare/v35.19.0...v35.19.1) (2026-09-30)
90
-
91
-
92
- ### Bug Fixes
93
-
94
- * add validation address date ([043ef82](https://github.com/GLS-Spain/gps-common/commit/043ef8250466fb7255c8ecb2149b7b336e67765b))
95
- * delete comments ([6b06cb4](https://github.com/GLS-Spain/gps-common/commit/6b06cb4b9227f7a738b0a8f8b5535417351bf7ce))
96
-
97
- # [35.19.0](https://github.com/GLS-Spain/gps-common/compare/v35.18.2...v35.19.0) (2026-09-17)
98
-
99
-
100
- ### Features
101
-
102
- * añadir nuevas propiedades opcionales en address ([9b72b82](https://github.com/GLS-Spain/gps-common/commit/9b72b82086ffba2f296392a4ba2c44669b3afb58))
103
-
104
- ## [35.18.2](https://github.com/GLS-Spain/gps-common/compare/v35.18.1...v35.18.2) (2026-08-13)
105
-
106
-
107
- ### Bug Fixes
108
-
109
- * update version minor ([a65e971](https://github.com/GLS-Spain/gps-common/commit/a65e9711e6472ca99505d06b33ef5ed2590b3888))
110
-
111
- ## [35.18.1](https://github.com/GLS-Spain/gps-common/compare/v35.18.0...v35.18.1) (2026-08-12)
112
-
113
-
114
- ### Bug Fixes
115
-
116
- * add Sunday in shopSchedule schema ([6ea0d8a](https://github.com/GLS-Spain/gps-common/commit/6ea0d8a9e3a0e0f591c82ca7f3c7791f64876112))
117
-
118
- # [35.18.0](https://github.com/GLS-Spain/gps-common/compare/v35.17.1...v35.18.0) (2026-06-17)
119
-
120
-
121
- ### Features
122
-
123
- * Añadir tracking de si la entrega se hizo utilizando el mail del dtt con QR o no ([f4e799c](https://github.com/GLS-Spain/gps-common/commit/f4e799c86b4e5f17d63cca407a2914b10dafa69e))
124
-
125
- ## [35.17.1](https://github.com/GLS-Spain/gps-common/compare/v35.17.0...v35.17.1) (2026-05-27)
126
-
127
-
128
- ### Bug Fixes
129
-
130
- * add sunday and minor fix validation ([00129c8](https://github.com/GLS-Spain/gps-common/commit/00129c8e72d9e62b7b8b6627514b5c432d3e1774))
131
- * commit version task INN 563 ([f0dcb28](https://github.com/GLS-Spain/gps-common/commit/f0dcb28bb609aaac664d0f992bfc7d25d896a42a))
132
-
133
- # [35.17.0](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.17.0) (2026-05-04)
134
-
135
-
136
- ### Bug Fixes
137
-
138
- * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
139
- * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
140
- * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
141
-
142
-
143
- ### Features
144
-
145
- * upgrade version common fix bug version ([b23a3c7](https://github.com/GLS-Spain/gps-common/commit/b23a3c7abeff91f47d9aec73006c7c7456332e34))
146
-
147
- ## [35.16.1](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.16.1) (2026-05-04)
148
-
149
-
150
- ### Bug Fixes
151
-
152
- * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
153
- * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
154
- * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
155
-
156
- ## [35.16.1](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.16.1) (2026-05-04)
157
-
158
-
159
- ### Bug Fixes
160
-
161
- * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
162
- * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
163
- * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
164
-
1
+ ## [35.24.2](https://github.com/GLS-Spain/gps-common/compare/v35.24.1...v35.24.2) (2026-11-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * añadir propiedad operativa metro al schema ([f24a245](https://github.com/GLS-Spain/gps-common/commit/f24a2454c3d10fba46547170403ac6e9ef85e339))
7
+
8
+ ## [35.24.1](https://github.com/GLS-Spain/gps-common/compare/v35.24.0...v35.24.1) (2026-11-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * quitamos validaciones en streetNumber, streetType, streetName ([c415a2b](https://github.com/GLS-Spain/gps-common/commit/c415a2b4672af6b364a3378f75cf0f99187754c6))
14
+
15
+ # [35.24.0](https://github.com/GLS-Spain/gps-common/compare/v35.23.0...v35.24.0) (2026-11-05)
16
+
17
+
18
+ ### Features
19
+
20
+ * desactivar holidaysInactivity por defecto ([efef0d0](https://github.com/GLS-Spain/gps-common/commit/efef0d095a11623dbfa022eddadc279898e1c21c))
21
+
22
+ # [35.23.0](https://github.com/GLS-Spain/gps-common/compare/v35.22.1...v35.23.0) (2026-11-04)
23
+
24
+
25
+ ### Features
26
+
27
+ * añadir reviewStatus a las inactividades de tienda ([d5ceacc](https://github.com/GLS-Spain/gps-common/commit/d5ceaccfbfa9d8e01728450c9fde5bad608bbd78))
28
+ * **INN-1085:** añadir función holidaysInactivity a optionsFeatures ([829755d](https://github.com/GLS-Spain/gps-common/commit/829755d09a60a48bf7942ae660b27d5f35ac0d5a))
29
+
30
+ ## [35.22.1](https://github.com/GLS-Spain/gps-common/compare/v35.22.0...v35.22.1) (2026-11-04)
31
+
32
+
33
+ ### Bug Fixes
34
+
35
+ * direccion_locker, codpostal_locker y ciudad_locker ya no se envían desde Salesforce ([deae86e](https://github.com/GLS-Spain/gps-common/commit/deae86e39d7b2affc0f1662f2427946f990bc2b0))
36
+
37
+ # [35.22.0](https://github.com/GLS-Spain/gps-common/compare/v35.21.1...v35.22.0) (2026-10-27)
38
+
39
+
40
+ ### Features
41
+
42
+ * campo shopOwner en el usuario de tienda ([bd915f7](https://github.com/GLS-Spain/gps-common/commit/bd915f72d10e633c5eb69a5b8148d32612d00d92))
43
+
44
+ ## [35.21.1](https://github.com/GLS-Spain/gps-common/compare/v35.21.0...v35.21.1) (2026-10-27)
45
+
46
+
47
+ ### Bug Fixes
48
+
49
+ * cambios address ([cd05621](https://github.com/GLS-Spain/gps-common/commit/cd056212a78adaa3c361541e2c6e09e480bffe66))
50
+ * delete comments ([655a5e9](https://github.com/GLS-Spain/gps-common/commit/655a5e9d5610a8725b9406190211ba6786f494d1))
51
+ * fix set.locker no admite null ([e9c4ad9](https://github.com/GLS-Spain/gps-common/commit/e9c4ad9bdf2482032a75b7ff9d9b97f99d62bc45))
52
+
53
+ # [35.21.0](https://github.com/GLS-Spain/gps-common/compare/v35.20.0...v35.21.0) (2026-10-26)
54
+
55
+
56
+ ### Features
57
+
58
+ * esquemas de funciones de tienda y operaciones masivas ([10e9c96](https://github.com/GLS-Spain/gps-common/commit/10e9c9650f97dd7cb92487bd1e9af58e56266470))
59
+
60
+ # [35.20.0](https://github.com/GLS-Spain/gps-common/compare/v35.19.4...v35.20.0) (2026-10-21)
61
+
62
+
63
+ ### Bug Fixes
64
+
65
+ * network & shops updated schemas ([73ecb9e](https://github.com/GLS-Spain/gps-common/commit/73ecb9ed5c6c998a93763599507db3368beb68a8))
66
+
67
+
68
+ ### Features
69
+
70
+ * shop.channeling ([f15c86b](https://github.com/GLS-Spain/gps-common/commit/f15c86b6c8c8c7685cbc0898ce8d48105ec1c034))
71
+
72
+ ## [35.19.4](https://github.com/GLS-Spain/gps-common/compare/v35.19.3...v35.19.4) (2026-10-19)
73
+
74
+
75
+ ### Bug Fixes
76
+
77
+ * channeling agency code now is type number ([9d09898](https://github.com/GLS-Spain/gps-common/commit/9d09898d7abef0c1658f2edb04e532e1de825447))
78
+ * channelingagencycode to type integer instaed number ([41cdd9a](https://github.com/GLS-Spain/gps-common/commit/41cdd9af0bddf7187ce2a17b2f6e0db64785e9de))
79
+ * check channelingAgencyCode is not required, can be null, integer and can be not an empty string ([79d9bad](https://github.com/GLS-Spain/gps-common/commit/79d9bad7e8efccd259d44386bfde3f95fa3d478c))
80
+
81
+ ## [35.19.3](https://github.com/GLS-Spain/gps-common/compare/v35.19.2...v35.19.3) (2026-10-14)
82
+
83
+
84
+ ### Bug Fixes
85
+
86
+ * quit required createLocker and fix property name in address schema ([158ed74](https://github.com/GLS-Spain/gps-common/commit/158ed74e11cc704bc87858d44cc979d54de385ff))
87
+
88
+ ## [35.19.2](https://github.com/GLS-Spain/gps-common/compare/v35.19.1...v35.19.2) (2026-10-07)
89
+
90
+
91
+ ### Bug Fixes
92
+
93
+ * add streetType, streetName, streetNumber, notes, manuallyVerified y addressValidationDate ([99f9ef0](https://github.com/GLS-Spain/gps-common/commit/99f9ef012d6affb9556a22a1eab99482c7ba3442))
94
+ * maxlength new properties in address ([f954b05](https://github.com/GLS-Spain/gps-common/commit/f954b05bafaf379a82cb4dfb9c05a575cd70511c))
95
+
96
+ ## [35.19.1](https://github.com/GLS-Spain/gps-common/compare/v35.19.0...v35.19.1) (2026-09-30)
97
+
98
+
99
+ ### Bug Fixes
100
+
101
+ * add validation address date ([043ef82](https://github.com/GLS-Spain/gps-common/commit/043ef8250466fb7255c8ecb2149b7b336e67765b))
102
+ * delete comments ([6b06cb4](https://github.com/GLS-Spain/gps-common/commit/6b06cb4b9227f7a738b0a8f8b5535417351bf7ce))
103
+
104
+ # [35.19.0](https://github.com/GLS-Spain/gps-common/compare/v35.18.2...v35.19.0) (2026-09-17)
105
+
106
+
107
+ ### Features
108
+
109
+ * añadir nuevas propiedades opcionales en address ([9b72b82](https://github.com/GLS-Spain/gps-common/commit/9b72b82086ffba2f296392a4ba2c44669b3afb58))
110
+
111
+ ## [35.18.2](https://github.com/GLS-Spain/gps-common/compare/v35.18.1...v35.18.2) (2026-08-13)
112
+
113
+
114
+ ### Bug Fixes
115
+
116
+ * update version minor ([a65e971](https://github.com/GLS-Spain/gps-common/commit/a65e9711e6472ca99505d06b33ef5ed2590b3888))
117
+
118
+ ## [35.18.1](https://github.com/GLS-Spain/gps-common/compare/v35.18.0...v35.18.1) (2026-08-12)
119
+
120
+
121
+ ### Bug Fixes
122
+
123
+ * add Sunday in shopSchedule schema ([6ea0d8a](https://github.com/GLS-Spain/gps-common/commit/6ea0d8a9e3a0e0f591c82ca7f3c7791f64876112))
124
+
125
+ # [35.18.0](https://github.com/GLS-Spain/gps-common/compare/v35.17.1...v35.18.0) (2026-06-17)
126
+
127
+
128
+ ### Features
129
+
130
+ * Añadir tracking de si la entrega se hizo utilizando el mail del dtt con QR o no ([f4e799c](https://github.com/GLS-Spain/gps-common/commit/f4e799c86b4e5f17d63cca407a2914b10dafa69e))
131
+
132
+ ## [35.17.1](https://github.com/GLS-Spain/gps-common/compare/v35.17.0...v35.17.1) (2026-05-27)
133
+
134
+
135
+ ### Bug Fixes
136
+
137
+ * add sunday and minor fix validation ([00129c8](https://github.com/GLS-Spain/gps-common/commit/00129c8e72d9e62b7b8b6627514b5c432d3e1774))
138
+ * commit version task INN 563 ([f0dcb28](https://github.com/GLS-Spain/gps-common/commit/f0dcb28bb609aaac664d0f992bfc7d25d896a42a))
139
+
140
+ # [35.17.0](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.17.0) (2026-05-04)
141
+
142
+
143
+ ### Bug Fixes
144
+
145
+ * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
146
+ * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
147
+ * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
148
+
149
+
150
+ ### Features
151
+
152
+ * upgrade version common fix bug version ([b23a3c7](https://github.com/GLS-Spain/gps-common/commit/b23a3c7abeff91f47d9aec73006c7c7456332e34))
153
+
154
+ ## [35.16.1](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.16.1) (2026-05-04)
155
+
156
+
157
+ ### Bug Fixes
158
+
159
+ * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
160
+ * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
161
+ * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
162
+
163
+ ## [35.16.1](https://github.com/GLS-Spain/gps-common/compare/v35.16.0...v35.16.1) (2026-05-04)
164
+
165
+
166
+ ### Bug Fixes
167
+
168
+ * ajustar body de salesforce ([1f5072c](https://github.com/GLS-Spain/gps-common/commit/1f5072cd2abeefbeaa4ab4909df75184c9465959))
169
+ * quitar validacion de pod para entrega DTT ([688af4f](https://github.com/GLS-Spain/gps-common/commit/688af4fbc68139bf61012c086a1d2ad52dc6116e))
170
+ * quitar validacion de pod en customerWithPod para entrega DTT ([6ae1db1](https://github.com/GLS-Spain/gps-common/commit/6ae1db1ec0767bed6b0976b8ad44f99678ea9c36))
171
+
165
172
  # [35.16.0](https://github.com/GLS-Spain/gps-common/compare/v35.15.10...v35.16.0) (2026-04-10)
166
173
 
167
174
 
@@ -2618,4 +2625,4 @@ some fields change
2618
2625
 
2619
2626
  ### Features
2620
2627
 
2621
- * Initial version ([730f1ad](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/730f1ad))
2628
+ * Initial version ([730f1ad](https://bitbucket.org/glsalbo/gls-parcel-shops-common/commits/730f1ad))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.24.1",
3
+ "version": "35.24.2",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -178,7 +178,7 @@ function shopChanneling() {
178
178
  code: { type: 'integer' },
179
179
  name: { type: 'string' },
180
180
  nxt: {
181
- description:'nxt data',
181
+ description: 'nxt data',
182
182
  type: 'object',
183
183
  properties: {
184
184
  uid: { type: 'string' },
@@ -353,7 +353,7 @@ const setShopRepresentative = () => ({
353
353
  additionalProperties: false,
354
354
  });
355
355
 
356
- const createShopRequest =(address = shop().properties.address) =>
356
+ const createShopRequest = (address = shop().properties.address) =>
357
357
  createRequest({
358
358
  type: 'object',
359
359
  properties: {
@@ -501,7 +501,7 @@ const updateShopAddress = () =>
501
501
  properties: { street: nonEmpty(), postalCode: nonEmpty(), locality: nonEmpty(), country: nonEmpty() },
502
502
  });
503
503
 
504
- const updateShopRequest =(address = updateShopAddress()) =>
504
+ const updateShopRequest = (address = updateShopAddress()) =>
505
505
  updateRequest(
506
506
  findById(),
507
507
  {
@@ -625,6 +625,19 @@ const upsertShopResponse = () => ({
625
625
  // updateLockerRequest → findByStringId() + set { parcelshop, locker }
626
626
  // ─────────────────────────────────────────────────────────────────────────────
627
627
 
628
+ // -- Sub-objeto lockerProperties: para lockers de metro
629
+
630
+ const lockerProperties = () => ({
631
+ title: 'locker properties',
632
+ type: 'object',
633
+ properties: {
634
+ operationalFlow: schemaOrNull({ type: 'string', trim: true }),
635
+ ubicationLockers: schemaOrNull({ type: 'string', trim: true }),
636
+ },
637
+ additionalProperties: false,
638
+ });
639
+
640
+
628
641
  const locker = () => ({
629
642
  title: 'locker',
630
643
  type: 'object',
@@ -690,6 +703,8 @@ const locker = () => ({
690
703
  },
691
704
  capacity_locker: { type: 'string', maxLength: 20 },
692
705
  access_descript_locker: { type: 'string', trim: true, maxLength: 500 },
706
+
707
+ lockerProperties: lockerProperties(),
693
708
  },
694
709
  required: [
695
710
  '_id',
@@ -707,6 +722,7 @@ const locker = () => ({
707
722
  additionalProperties: false,
708
723
  });
709
724
 
725
+
710
726
  // ── Schema del sub-objeto NXT (hardware del locker) ───────────────────────────
711
727
 
712
728
  const lockerNxt = () => ({
@@ -811,6 +827,7 @@ const createLockerRequest = () =>
811
827
  'latitud_locker',
812
828
  'capacity_locker',
813
829
  'access_descript_locker',
830
+ 'lockerProperties',
814
831
  ]),
815
832
  address: salesforceAddress(lockerAddress()),
816
833
  },
@@ -876,6 +893,7 @@ const updateLockerRequest = () =>
876
893
  'latitud_locker',
877
894
  'capacity_locker',
878
895
  'access_descript_locker',
896
+ 'lockerProperties',
879
897
  ]),
880
898
  ).map(([key, schema]) => [key, schemaOrNull(schema)]),
881
899
  ),
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env node
1
+ #!/usr/bin/env node
2
2
 
3
3
  const fs = require('fs');
4
4
  const path = require('path');