@gls_spain/gps-common 35.1.7 → 35.1.9

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,45 +1,59 @@
1
- ## [35.1.7](https://github.com/GLS-Spain/gps-common/compare/v35.1.6...v35.1.7) (2024-05-28)
1
+ ## [35.1.9](https://github.com/GLS-Spain/gps-common/compare/v35.1.8...v35.1.9) (2024-06-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * shop.holidays bugfix ([c390b7a](https://github.com/GLS-Spain/gps-common/commit/c390b7aa9963ce15481dd8392c533a8aa0b87e0c))
6
+ * add new field to holidays for exportInternational ([8826095](https://github.com/GLS-Spain/gps-common/commit/882609532d43b0b91d5751b31aa5f0bafca00058))
7
7
 
8
- ## [35.1.6](https://github.com/GLS-Spain/gps-common/compare/v35.1.5...v35.1.6) (2024-05-24)
8
+ ## [35.1.8](https://github.com/GLS-Spain/gps-common/compare/v35.1.7...v35.1.8) (2024-06-04)
9
9
 
10
10
 
11
11
  ### Bug Fixes
12
12
 
13
- * export schemas ([bbaa84c](https://github.com/GLS-Spain/gps-common/commit/bbaa84c57ce510d28d38566fdfa02b8af708b70f))
14
-
15
- ## [35.1.5](https://github.com/GLS-Spain/gps-common/compare/v35.1.4...v35.1.5) (2024-05-22)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * export network schema ([1cbe05e](https://github.com/GLS-Spain/gps-common/commit/1cbe05e9c34d544772584231ed7e32fac0a7cdae))
21
-
22
- ## [35.1.4](https://github.com/GLS-Spain/gps-common/compare/v35.1.3...v35.1.4) (2024-05-20)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * export shop schema ([6a6e4dd](https://github.com/GLS-Spain/gps-common/commit/6a6e4dd9a2115b038d09af9c64e52ec43a7c5edc))
28
-
29
- ## [35.1.3](https://github.com/GLS-Spain/gps-common/compare/v35.1.2...v35.1.3) (2024-05-20)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * bugfix ([76fa1fd](https://github.com/GLS-Spain/gps-common/commit/76fa1fd2e3cbcccdb4d87469a74c66b82c691c61))
35
-
36
- ## [35.1.2](https://github.com/GLS-Spain/gps-common/compare/v35.1.1...v35.1.2) (2024-05-20)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * export integration schema ([474247a](https://github.com/GLS-Spain/gps-common/commit/474247ac19031c3cf453a5cff1d452d6a28b70db))
13
+ * add new fields to shop radical and operations ([5bfcebd](https://github.com/GLS-Spain/gps-common/commit/5bfcebd3ffd6a65951a4f2e9c7d0c797ad2f79cc))
42
14
 
15
+ ## [35.1.7](https://github.com/GLS-Spain/gps-common/compare/v35.1.6...v35.1.7) (2024-05-28)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * shop.holidays bugfix ([c390b7a](https://github.com/GLS-Spain/gps-common/commit/c390b7aa9963ce15481dd8392c533a8aa0b87e0c))
21
+
22
+ ## [35.1.6](https://github.com/GLS-Spain/gps-common/compare/v35.1.5...v35.1.6) (2024-05-24)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * export schemas ([bbaa84c](https://github.com/GLS-Spain/gps-common/commit/bbaa84c57ce510d28d38566fdfa02b8af708b70f))
28
+
29
+ ## [35.1.5](https://github.com/GLS-Spain/gps-common/compare/v35.1.4...v35.1.5) (2024-05-22)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * export network schema ([1cbe05e](https://github.com/GLS-Spain/gps-common/commit/1cbe05e9c34d544772584231ed7e32fac0a7cdae))
35
+
36
+ ## [35.1.4](https://github.com/GLS-Spain/gps-common/compare/v35.1.3...v35.1.4) (2024-05-20)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * export shop schema ([6a6e4dd](https://github.com/GLS-Spain/gps-common/commit/6a6e4dd9a2115b038d09af9c64e52ec43a7c5edc))
42
+
43
+ ## [35.1.3](https://github.com/GLS-Spain/gps-common/compare/v35.1.2...v35.1.3) (2024-05-20)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * bugfix ([76fa1fd](https://github.com/GLS-Spain/gps-common/commit/76fa1fd2e3cbcccdb4d87469a74c66b82c691c61))
49
+
50
+ ## [35.1.2](https://github.com/GLS-Spain/gps-common/compare/v35.1.1...v35.1.2) (2024-05-20)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * export integration schema ([474247a](https://github.com/GLS-Spain/gps-common/commit/474247ac19031c3cf453a5cff1d452d6a28b70db))
56
+
43
57
  ## [35.1.1](https://github.com/GLS-Spain/gps-common/compare/v35.1.0...v35.1.1) (2024-05-16)
44
58
 
45
59
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.1.7",
3
+ "version": "35.1.9",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -83,6 +83,7 @@ const shopHoliday = () => ({
83
83
  to: datetime(),
84
84
  description: { type: 'string' },
85
85
  createAt: datetime(),
86
+ _idHolidaysInternational:uuid(),
86
87
  },
87
88
  required: ['from', 'to', '_id', 'createAt'],
88
89
  additionalProperties: false,
@@ -258,6 +259,8 @@ const shop = () => ({
258
259
  expirationSettings: expirationSettings(),
259
260
  eco: { type: 'boolean', default: false },
260
261
  gold: { type: 'boolean', default: false },
262
+ radical: { type: 'boolean', default: false },
263
+ operations: { type: 'string', trim: true },
261
264
  // squareCode: { type: 'string' },
262
265
  // clientCode: { type: 'string' },
263
266
  // 2023-01-12 JL están definidos como string
@@ -332,6 +335,8 @@ const createShopRequest = () =>
332
335
  'expirationSettings',
333
336
  'eco',
334
337
  'gold',
338
+ 'radical',
339
+ 'operations',
335
340
  'squareCode',
336
341
  'clientCode',
337
342
  ]),
@@ -436,7 +441,7 @@ const updateShopRequest = () =>
436
441
  status: setShopStatus(),
437
442
  ...pickProperties(
438
443
  shop(),
439
- ['name', 'address', 'capabilities', 'openingSchedule', 'holidays', 'contacts', 'eco', 'gold', 'squareCode', 'clientCode'],
444
+ ['name', 'address', 'capabilities', 'openingSchedule', 'holidays', 'contacts', 'eco', 'gold','radical','operations', 'squareCode', 'clientCode'],
440
445
  ['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings'],
441
446
  ),
442
447
  },
@@ -484,6 +489,8 @@ const upsertShopRequest = () => ({
484
489
  'expirationSettings',
485
490
  'eco',
486
491
  'gold',
492
+ 'radical',
493
+ 'operations',
487
494
  'squareCode',
488
495
  'clientCode',
489
496
  ]),