@gls_spain/gps-common 34.19.0 → 34.20.0
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 +14 -2
- package/package.json +1 -1
- package/schemas/definitions/shops.js +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
# [34.
|
|
1
|
+
# [34.20.0](https://github.com/GLS-Spain/gps-common/compare/v34.19.0...v34.20.0) (2021-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add new property 'eco' in other end points to shop ([d676582](https://github.com/GLS-Spain/gps-common/commit/d676582dadbfb851dc14fce17b69d04f93d9b70d))
|
|
2
7
|
|
|
3
8
|
|
|
4
9
|
### Features
|
|
5
10
|
|
|
6
|
-
* add new
|
|
11
|
+
* add new property in shop 'Eco' ([073b6b6](https://github.com/GLS-Spain/gps-common/commit/073b6b67dcff33fd1b1d7efa63650dac15997754))
|
|
7
12
|
|
|
13
|
+
# [34.19.0](https://github.com/GLS-Spain/gps-common/compare/v34.18.0...v34.19.0) (2021-06-25)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
* add new parameters in api parcel shops ([1fe9f66](https://github.com/GLS-Spain/gps-common/commit/1fe9f66aed9a80712c683593fa1f5dfd8531bf22))
|
|
19
|
+
|
|
8
20
|
# [34.18.0](https://github.com/GLS-Spain/gps-common/compare/v34.17.0...v34.18.0) (2021-06-22)
|
|
9
21
|
|
|
10
22
|
|
package/package.json
CHANGED
|
@@ -210,6 +210,7 @@ const shop = () => ({
|
|
|
210
210
|
notes: { type: 'string', trim: true },
|
|
211
211
|
derivationSettings: derivationSettings(),
|
|
212
212
|
expirationSettings: expirationSettings(),
|
|
213
|
+
eco: { type: 'boolean', default: false }
|
|
213
214
|
},
|
|
214
215
|
required: [
|
|
215
216
|
'_id',
|
|
@@ -276,6 +277,7 @@ const createShopRequest = () =>
|
|
|
276
277
|
'notes',
|
|
277
278
|
'derivationSettings',
|
|
278
279
|
'expirationSettings',
|
|
280
|
+
'eco'
|
|
279
281
|
]),
|
|
280
282
|
},
|
|
281
283
|
required: ['network', 'status', 'name', 'address', 'openingSchedule', 'timezone'],
|
|
@@ -377,7 +379,7 @@ const updateShopRequest = () =>
|
|
|
377
379
|
status: setShopStatus(),
|
|
378
380
|
...pickProperties(
|
|
379
381
|
shop(),
|
|
380
|
-
['name', 'address', 'capabilities', 'openingSchedule', 'contacts'],
|
|
382
|
+
['name', 'address', 'capabilities', 'openingSchedule', 'contacts', 'eco'],
|
|
381
383
|
['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings'],
|
|
382
384
|
),
|
|
383
385
|
},
|
|
@@ -423,6 +425,7 @@ const upsertShopRequest = () => (
|
|
|
423
425
|
'notes',
|
|
424
426
|
'derivationSettings',
|
|
425
427
|
'expirationSettings',
|
|
428
|
+
'eco'
|
|
426
429
|
]),
|
|
427
430
|
},
|
|
428
431
|
required: ['network', 'status', 'name', 'address'],
|