@gls_spain/gps-common 35.10.1 → 35.10.3

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,10 +1,31 @@
1
- ## [35.10.1](https://github.com/GLS-Spain/gps-common/compare/v35.10.0...v35.10.1) (2024-12-24)
1
+ ## [35.10.3](https://github.com/GLS-Spain/gps-common/compare/v35.10.2...v35.10.3) (2025-02-20)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * bugfix in shop.courierAccessCode schema ([f85614b](https://github.com/GLS-Spain/gps-common/commit/f85614bdeb45a0f9d4a88d048662a174dba4f8b2))
6
+ * rollback change for semantic-release ([f312d73](https://github.com/GLS-Spain/gps-common/commit/f312d737864c2c2a655d0c493d40a8f15526358b))
7
7
 
8
+ ## [35.10.2](https://github.com/GLS-Spain/gps-common/compare/v35.10.1...v35.10.2) (2025-02-19)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add new optional propertie to scanExpeditionRequest ([748be1d](https://github.com/GLS-Spain/gps-common/commit/748be1d1855f1f1eb52ce254703e72c9b591d776))
14
+
15
+ ## [35.10.2](https://github.com/GLS-Spain/gps-common/compare/v35.10.1...v35.10.2) (2025-02-19)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add new optional propertie to scanExpeditionRequest ([748be1d](https://github.com/GLS-Spain/gps-common/commit/748be1d1855f1f1eb52ce254703e72c9b591d776))
21
+
22
+ ## [35.10.1](https://github.com/GLS-Spain/gps-common/compare/v35.10.0...v35.10.1) (2024-12-24)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * bugfix in shop.courierAccessCode schema ([f85614b](https://github.com/GLS-Spain/gps-common/commit/f85614bdeb45a0f9d4a88d048662a174dba4f8b2))
28
+
8
29
  # [35.10.0](https://github.com/GLS-Spain/gps-common/compare/v35.9.4...v35.10.0) (2024-12-12)
9
30
 
10
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.10.1",
3
+ "version": "35.10.3",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -676,14 +676,20 @@ const scanExpeditionRequest = () => ({
676
676
  {
677
677
  title: 'barcode',
678
678
  type: 'object',
679
- properties: { barcode: { type: 'string', trim: true } },
679
+ properties: {
680
+ barcode: { type: 'string', trim: true },
681
+ type: { type: 'string', enum: ['delivery', 'pickup']}
682
+ },
680
683
  required: ['barcode'],
681
684
  additionalProperties: false,
682
685
  },
683
686
  {
684
687
  title: 'QR code',
685
688
  type: 'object',
686
- properties: { qrCode: { type: 'string', trim: true } },
689
+ properties: {
690
+ qrCode: { type: 'string', trim: true },
691
+ type: { type: 'string', enum: ['delivery', 'pickup']}
692
+ },
687
693
  required: ['qrCode'],
688
694
  additionalProperties: false,
689
695
  },
@@ -694,6 +700,7 @@ const scanExpeditionRequest = () => ({
694
700
  additionalProperties: false,
695
701
  });
696
702
 
703
+
697
704
  const resultOk = () => ({
698
705
  title: 'ok',
699
706
  type: 'object',