@gls_spain/gps-common 34.27.2 → 34.27.3
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/.idea/workspace.xml
CHANGED
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
<workItem from="1617873799077" duration="885000" />
|
|
49
49
|
<workItem from="1634799141153" duration="3415000" />
|
|
50
50
|
<workItem from="1640086365945" duration="600000" />
|
|
51
|
-
<workItem from="1657532028037" duration="
|
|
51
|
+
<workItem from="1657532028037" duration="5745000" />
|
|
52
52
|
</task>
|
|
53
53
|
<servers />
|
|
54
54
|
</component>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [34.27.3](https://github.com/GLS-Spain/gps-common/compare/v34.27.2...v34.27.3) (2022-07-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* change properties and add new properties ([1d0315c](https://github.com/GLS-Spain/gps-common/commit/1d0315ca1c0bc908b6b0468f4afb89b619f3f482))
|
|
7
|
+
|
|
1
8
|
## [34.27.2](https://github.com/GLS-Spain/gps-common/compare/v34.27.1...v34.27.2) (2022-07-12)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ const expirationSettings = () => ({
|
|
|
47
47
|
|
|
48
48
|
const saleSize = () => ({
|
|
49
49
|
type: 'string',
|
|
50
|
-
enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter', '
|
|
50
|
+
enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter', 'M1', 'M2', 'M3'],
|
|
51
51
|
});
|
|
52
52
|
|
|
53
53
|
const saleZoneRegion = () => ({
|
|
@@ -81,11 +81,11 @@ const saleZone = () => ({
|
|
|
81
81
|
pricesTraveller: {
|
|
82
82
|
type: 'object',
|
|
83
83
|
properties: {
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
84
|
+
M1: money(),
|
|
85
|
+
M2: money(),
|
|
86
|
+
M3: money(),
|
|
87
87
|
},
|
|
88
|
-
required: ['
|
|
88
|
+
required: ['M1', 'M2', 'M3'],
|
|
89
89
|
additionalProperties: false,
|
|
90
90
|
},
|
|
91
91
|
includes: { type: 'array', items: saleZoneRegion(), uniqueItems: true },
|
|
@@ -54,6 +54,7 @@ const sale = () => ({
|
|
|
54
54
|
},
|
|
55
55
|
size: saleSize(),
|
|
56
56
|
fourteenService: { type: 'boolean' },
|
|
57
|
+
official_invoice: { type: 'boolean' },
|
|
57
58
|
price: money(),
|
|
58
59
|
settings: mergeSchemas(salesSettings(), network().properties.salesSettings, {
|
|
59
60
|
description: 'a copy of both the defaults sale settings and the network sale settings as they were when the sale was created',
|
|
@@ -126,6 +127,7 @@ const sale = () => ({
|
|
|
126
127
|
additionalProperties: false,
|
|
127
128
|
},
|
|
128
129
|
typeSale: { type: 'string', enum: ['customer', 'parcelShop', 'parcelShopPremium'] },
|
|
130
|
+
typeService: { type: 'string', enum: ['parcel', 'traveller'] },
|
|
129
131
|
},
|
|
130
132
|
required: [
|
|
131
133
|
'_id',
|