@gls_spain/gps-common 34.28.0 → 34.28.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
+ ## [34.28.1](https://github.com/GLS-Spain/gps-common/compare/v34.28.0...v34.28.1) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add referenceTypeSix to sale schema ([cff2547](https://github.com/GLS-Spain/gps-common/commit/cff25471c6a801cda23b11ae4407d98829c1d05f))
7
+
1
8
  # [34.28.0](https://github.com/GLS-Spain/gps-common/compare/v34.27.10...v34.28.0) (2022-12-21)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.28.0",
3
+ "version": "34.28.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -55,6 +55,7 @@ const sale = () => ({
55
55
  size: saleSize(),
56
56
  fourteenService: { type: 'boolean' },
57
57
  official_invoice: { type: 'boolean' },
58
+ referenceTypeSix:{type:'string'},
58
59
  price: money(),
59
60
  settings: mergeSchemas(salesSettings(), network().properties.salesSettings, {
60
61
  description: 'a copy of both the defaults sale settings and the network sale settings as they were when the sale was created',
@@ -99,6 +100,7 @@ const sale = () => ({
99
100
  notes: { type: 'string', trim: true },
100
101
  reference: { type: 'string', trim: true },
101
102
  suitcasetag: { type: 'string', trim: true },
103
+ barcode:{ type: 'string', trim: true },
102
104
  },
103
105
  required: ['name', 'nif', 'address', 'emails', 'phones', 'fiscal'],
104
106
  additionalProperties: false,