@gls_spain/gps-common 34.24.1 → 34.25.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,10 +1,24 @@
1
- ## [34.24.1](https://github.com/GLS-Spain/gps-common/compare/v34.24.0...v34.24.1) (2021-07-07)
1
+ # [34.25.0](https://github.com/GLS-Spain/gps-common/compare/v34.24.2...v34.25.0) (2021-07-07)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * remove property at in endpoint payment ([6f566b9](https://github.com/GLS-Spain/gps-common/commit/6f566b9f192a5f7591555b9c575c7870fb6c4938))
6
+ * add role to typeSale in sale ([b4a9920](https://github.com/GLS-Spain/gps-common/commit/b4a992029e910edafb4fc7cf71fdd9516452e885))
7
7
 
8
+ ## [34.24.2](https://github.com/GLS-Spain/gps-common/compare/v34.24.1...v34.24.2) (2021-07-07)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * remove required property to endpoint payment ([56203ae](https://github.com/GLS-Spain/gps-common/commit/56203ae1185364f94f16d6c31557c54fe14e6d15))
14
+
15
+ ## [34.24.1](https://github.com/GLS-Spain/gps-common/compare/v34.24.0...v34.24.1) (2021-07-07)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * remove property at in endpoint payment ([6f566b9](https://github.com/GLS-Spain/gps-common/commit/6f566b9f192a5f7591555b9c575c7870fb6c4938))
21
+
8
22
  # [34.24.0](https://github.com/GLS-Spain/gps-common/compare/v34.23.0...v34.24.0) (2021-07-06)
9
23
 
10
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.24.1",
3
+ "version": "34.25.0",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -125,7 +125,7 @@ const sale = () => ({
125
125
  required: ['statusHistory', 'orderId', 'fullUrl', 'shortId'],
126
126
  additionalProperties: false,
127
127
  },
128
- typeSale: { type: 'string' }
128
+ typeSale: { type: 'string', enum: ['customer', 'parcelShop', 'parcelShopPremium'] }
129
129
  },
130
130
  required: [
131
131
  '_id',
@@ -245,7 +245,7 @@ const paymentRequest = () => ({
245
245
  orderId: { type: 'string' },
246
246
  shortId: { type: 'string' }
247
247
  },
248
- required: ['orderId', 'shortId', 'at'],
248
+ required: ['orderId', 'shortId'],
249
249
  additionalProperties: false
250
250
  });
251
251