@gls_spain/gps-common 34.20.0 → 34.20.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,15 +1,29 @@
|
|
|
1
|
-
|
|
1
|
+
## [34.20.2](https://github.com/GLS-Spain/gps-common/compare/v34.20.1...v34.20.2) (2021-06-28)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* add new property
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
### Features
|
|
10
|
-
|
|
11
|
-
* add new property in shop 'Eco' ([073b6b6](https://github.com/GLS-Spain/gps-common/commit/073b6b67dcff33fd1b1d7efa63650dac15997754))
|
|
6
|
+
* add new property to response in findParcelShops ([7cb4100](https://github.com/GLS-Spain/gps-common/commit/7cb41004f8c2c4b6836ccffc71b6d6e63924c7a5))
|
|
12
7
|
|
|
8
|
+
## [34.20.1](https://github.com/GLS-Spain/gps-common/compare/v34.20.0...v34.20.1) (2021-06-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* add new property network on update shop ([2dfeefc](https://github.com/GLS-Spain/gps-common/commit/2dfeefc1dc28b51e9a009fd968bb0c4c22b5c58f))
|
|
14
|
+
|
|
15
|
+
# [34.20.0](https://github.com/GLS-Spain/gps-common/compare/v34.19.0...v34.20.0) (2021-06-25)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* add new property 'eco' in other end points to shop ([d676582](https://github.com/GLS-Spain/gps-common/commit/d676582dadbfb851dc14fce17b69d04f93d9b70d))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Features
|
|
24
|
+
|
|
25
|
+
* add new property in shop 'Eco' ([073b6b6](https://github.com/GLS-Spain/gps-common/commit/073b6b67dcff33fd1b1d7efa63650dac15997754))
|
|
26
|
+
|
|
13
27
|
# [34.19.0](https://github.com/GLS-Spain/gps-common/compare/v34.18.0...v34.19.0) (2021-06-25)
|
|
14
28
|
|
|
15
29
|
|
package/package.json
CHANGED
|
@@ -91,9 +91,10 @@ const parcelShops = () => ({
|
|
|
91
91
|
phone: phone(),
|
|
92
92
|
email: { type: 'string'},
|
|
93
93
|
activity: { type: 'string' },
|
|
94
|
-
service: { type: 'string' }
|
|
94
|
+
service: { type: 'string' },
|
|
95
|
+
isEco: { type: 'boolean' }
|
|
95
96
|
},
|
|
96
|
-
required: ['id', 'name', 'address', 'openingHours', 'distance', 'category', 'phone', 'email', 'activity', 'service'],
|
|
97
|
+
required: ['id', 'name', 'address', 'openingHours', 'distance', 'category', 'phone', 'email', 'activity', 'service', 'isEco'],
|
|
97
98
|
additionalProperties: false,
|
|
98
99
|
});
|
|
99
100
|
|
|
@@ -373,6 +373,7 @@ const updateShopRequest = () =>
|
|
|
373
373
|
{
|
|
374
374
|
type: 'object',
|
|
375
375
|
properties: {
|
|
376
|
+
network: schemaOrNull(objectWithUuid()),
|
|
376
377
|
zone: schemaOrNull(objectWithUuid()),
|
|
377
378
|
openingRepresentative: schemaOrNull(setShopRepresentative()),
|
|
378
379
|
managingRepresentative: schemaOrNull(setShopRepresentative()),
|