@gls_spain/gps-common 35.1.0 → 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,3 +1,10 @@
1
+ ## [35.1.1](https://github.com/GLS-Spain/gps-common/compare/v35.1.0...v35.1.1) (2024-05-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add boolean to qrconfirmed ([3558b49](https://github.com/GLS-Spain/gps-common/commit/3558b49395e1f92053132e647ac3fdd2ab5a2077))
7
+
1
8
  # [35.1.0](https://github.com/GLS-Spain/gps-common/compare/v35.0.3...v35.1.0) (2024-05-16)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.1.0",
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,6 +780,7 @@ const processExpeditionsDepositedFromRequest = () => ({
779
780
  properties: {
780
781
  expeditions: omit(findByIds(), 'title'),
781
782
  driver: driver(),
783
+ QRconfirmed: { type: 'boolean' },
782
784
  },
783
785
  required: ['expeditions', 'driver', 'QRconfirmed'],
784
786
  additionalProperties: false,