@gls_spain/gps-common 35.1.11 → 35.2.0

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.2.0](https://github.com/GLS-Spain/gps-common/compare/v35.1.11...v35.2.0) (2024-07-16)
2
+
3
+
4
+ ### Features
5
+
6
+ * add new fields for s2s ([0ac3b06](https://github.com/GLS-Spain/gps-common/commit/0ac3b065e58399c5520c518d03afdc451450242c))
7
+
1
8
  ## [35.1.11](https://github.com/GLS-Spain/gps-common/compare/v35.1.10...v35.1.11) (2024-06-22)
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.11",
3
+ "version": "35.2.0",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -53,6 +53,7 @@ const sale = () => ({
53
53
  additionalProperties: false,
54
54
  },
55
55
  size: saleSize(),
56
+ isS2S: { type: 'boolean' },
56
57
  fourteenService: { type: 'boolean' },
57
58
  official_invoice: { type: 'boolean' },
58
59
  referenceTypeSix: { type: 'string' },
@@ -69,6 +70,7 @@ const sale = () => ({
69
70
  phones: { type: 'array', items: phone(), uniqueItems: true },
70
71
  observations: { type: 'string', trim: true },
71
72
  notes: { type: 'string', trim: true },
73
+ parcelShopData: uuid(),
72
74
  // suitcasetag: { type: 'string', trim: true, uniqueItems: true },
73
75
  },
74
76
  required: ['name', 'address', 'emails', 'phones'],
@@ -170,6 +172,7 @@ const createSaleRequest = () =>
170
172
  'destination',
171
173
  'sender',
172
174
  'price',
175
+ 'isS2S',
173
176
  ]),
174
177
  },
175
178
  required: ['size', 'destination', 'sender'],