@gls_spain/gps-common 35.0.3 → 35.1.1

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,36 +1,50 @@
1
- ## [35.0.3](https://github.com/GLS-Spain/gps-common/compare/v35.0.2...v35.0.3) (2024-04-08)
1
+ ## [35.1.1](https://github.com/GLS-Spain/gps-common/compare/v35.1.0...v35.1.1) (2024-05-16)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * export sale json-schema ([505ccae](https://github.com/GLS-Spain/gps-common/commit/505ccae808417ff927acb24e5f7f7ef0ab53b475))
6
+ * add boolean to qrconfirmed ([3558b49](https://github.com/GLS-Spain/gps-common/commit/3558b49395e1f92053132e647ac3fdd2ab5a2077))
7
7
 
8
- ## [35.0.2](https://github.com/GLS-Spain/gps-common/compare/v35.0.1...v35.0.2) (2024-04-05)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * bugfix ([e47805c](https://github.com/GLS-Spain/gps-common/commit/e47805c02a5f486d85c565256967fcf6d81a9a6b))
14
-
15
- ## [35.0.1](https://github.com/GLS-Spain/gps-common/compare/v35.0.0...v35.0.1) (2024-04-05)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * export user json-schema ([4f93351](https://github.com/GLS-Spain/gps-common/commit/4f93351a8bcab2ee87190f32f0e1967defa384eb))
21
-
22
- # [35.0.0](https://github.com/GLS-Spain/gps-common/compare/v34.31.8...v35.0.0) (2024-04-04)
8
+ # [35.1.0](https://github.com/GLS-Spain/gps-common/compare/v35.0.3...v35.1.0) (2024-05-16)
23
9
 
24
10
 
25
11
  ### Features
26
12
 
27
- * nodejs 20 support ([782917a](https://github.com/GLS-Spain/gps-common/commit/782917a6cbfee5c87da008b1bfa9bb48c4bf1c8a))
28
-
29
-
30
- ### BREAKING CHANGES
31
-
32
- * nodejs 20 support
13
+ * add new field QRconfirmed to depositedFromRequest validate ([1df6bfb](https://github.com/GLS-Spain/gps-common/commit/1df6bfbfb07da8874c85b72fd1a57a3570815f37))
33
14
 
15
+ ## [35.0.3](https://github.com/GLS-Spain/gps-common/compare/v35.0.2...v35.0.3) (2024-04-08)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * export sale json-schema ([505ccae](https://github.com/GLS-Spain/gps-common/commit/505ccae808417ff927acb24e5f7f7ef0ab53b475))
21
+
22
+ ## [35.0.2](https://github.com/GLS-Spain/gps-common/compare/v35.0.1...v35.0.2) (2024-04-05)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * bugfix ([e47805c](https://github.com/GLS-Spain/gps-common/commit/e47805c02a5f486d85c565256967fcf6d81a9a6b))
28
+
29
+ ## [35.0.1](https://github.com/GLS-Spain/gps-common/compare/v35.0.0...v35.0.1) (2024-04-05)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * export user json-schema ([4f93351](https://github.com/GLS-Spain/gps-common/commit/4f93351a8bcab2ee87190f32f0e1967defa384eb))
35
+
36
+ # [35.0.0](https://github.com/GLS-Spain/gps-common/compare/v34.31.8...v35.0.0) (2024-04-04)
37
+
38
+
39
+ ### Features
40
+
41
+ * nodejs 20 support ([782917a](https://github.com/GLS-Spain/gps-common/commit/782917a6cbfee5c87da008b1bfa9bb48c4bf1c8a))
42
+
43
+
44
+ ### BREAKING CHANGES
45
+
46
+ * nodejs 20 support
47
+
34
48
  ## [34.31.8](https://github.com/GLS-Spain/gps-common/compare/v34.31.7...v34.31.8) (2023-11-22)
35
49
 
36
50
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.0.3",
3
+ "version": "35.1.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -22,6 +22,7 @@ const { address } = require('./common');
22
22
  const { network, objectWithNetworkId } = require('./networks');
23
23
  const { shop, objectWithShopId } = require('./shops');
24
24
  const { derivationSettings } = require('./defaults');
25
+ const { boolean } = require('yargs');
25
26
 
26
27
  const objectWithAgencyCode = () => ({
27
28
  type: 'object',
@@ -779,8 +780,9 @@ const processExpeditionsDepositedFromRequest = () => ({
779
780
  properties: {
780
781
  expeditions: omit(findByIds(), 'title'),
781
782
  driver: driver(),
783
+ QRconfirmed: { type: 'boolean' },
782
784
  },
783
- required: ['expeditions', 'driver'],
785
+ required: ['expeditions', 'driver', 'QRconfirmed'],
784
786
  additionalProperties: false,
785
787
  });
786
788