@gls_spain/gps-common 34.24.2 → 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,17 @@
1
- ## [34.24.2](https://github.com/GLS-Spain/gps-common/compare/v34.24.1...v34.24.2) (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 required property to endpoint payment ([56203ae](https://github.com/GLS-Spain/gps-common/commit/56203ae1185364f94f16d6c31557c54fe14e6d15))
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
+
8
15
  ## [34.24.1](https://github.com/GLS-Spain/gps-common/compare/v34.24.0...v34.24.1) (2021-07-07)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.24.2",
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',