@gls_spain/gps-common 34.26.16 → 34.26.18

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,3 +1,17 @@
1
+ ## [34.26.18](https://github.com/GLS-Spain/gps-common/compare/v34.26.17...v34.26.18) (2022-05-11)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change absences object to aray ([5cf48f8](https://github.com/GLS-Spain/gps-common/commit/5cf48f8b65083690e8b4b168f0a5b9765efa1891))
7
+
8
+ ## [34.26.17](https://github.com/GLS-Spain/gps-common/compare/v34.26.16...v34.26.17) (2022-05-11)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add holidays to updateshoprequest ([263f3f2](https://github.com/GLS-Spain/gps-common/commit/263f3f24f1ea88be42c897f0cf4c450316b28f30))
14
+
1
15
  ## [34.26.16](https://github.com/GLS-Spain/gps-common/compare/v34.26.15...v34.26.16) (2022-05-10)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.16",
3
+ "version": "34.26.18",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -76,7 +76,7 @@ const shopSchedule = () => ({
76
76
  });
77
77
  const absencesHolidaysShop = () => ({
78
78
  title: 'Absences holidays shop',
79
- type: 'object',
79
+ type: 'array',
80
80
  properties: {
81
81
  from: datetime(),
82
82
  to: datetime(),
@@ -410,7 +410,7 @@ const updateShopRequest = () =>
410
410
  status: setShopStatus(),
411
411
  ...pickProperties(
412
412
  shop(),
413
- ['name', 'address', 'capabilities', 'openingSchedule', 'contacts', 'eco', 'squareCode', 'clientCode'],
413
+ ['name', 'address', 'capabilities', 'openingSchedule', 'holidays', 'contacts', 'eco', 'squareCode', 'clientCode'],
414
414
  ['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings'],
415
415
  ),
416
416
  },