@gls_spain/gps-common 34.28.0 → 34.28.2

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,17 @@
1
+ ## [34.28.2](https://github.com/GLS-Spain/gps-common/compare/v34.28.1...v34.28.2) (2022-12-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * shcema sales properties ([2a48e12](https://github.com/GLS-Spain/gps-common/commit/2a48e1280e61f204286ea56e0b61678bc0c45edf))
7
+
8
+ ## [34.28.1](https://github.com/GLS-Spain/gps-common/compare/v34.28.0...v34.28.1) (2022-12-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add referenceTypeSix to sale schema ([cff2547](https://github.com/GLS-Spain/gps-common/commit/cff25471c6a801cda23b11ae4407d98829c1d05f))
14
+
1
15
  # [34.28.0](https://github.com/GLS-Spain/gps-common/compare/v34.27.10...v34.28.0) (2022-12-21)
2
16
 
3
17
 
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.2",
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,
@@ -157,6 +159,7 @@ const createSaleRequest = () =>
157
159
  'createdAt',
158
160
  'size',
159
161
  'fourteenService',
162
+ 'referenceTypeSix',
160
163
  'official_invoice',
161
164
  'typeService',
162
165
  'destination',