@gls_spain/gps-common 34.26.4 → 34.26.6

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.
@@ -5,7 +5,7 @@
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
7
  <list default="true" id="7fe53850-9f5a-4dd7-a4d4-b667077dbf2a" name="Changes" comment="">
8
- <change beforePath="$PROJECT_DIR$/schemas/definitions/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
8
+ <change beforePath="$PROJECT_DIR$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
9
9
  </list>
10
10
  <option name="SHOW_DIALOG" value="false" />
11
11
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -15,6 +15,14 @@
15
15
  <component name="Git.Settings">
16
16
  <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
17
17
  </component>
18
+ <component name="GitSEFilterConfiguration">
19
+ <file-type-list>
20
+ <filtered-out-file-type name="LOCAL_BRANCH" />
21
+ <filtered-out-file-type name="REMOTE_BRANCH" />
22
+ <filtered-out-file-type name="TAG" />
23
+ <filtered-out-file-type name="COMMIT_BY_MESSAGE" />
24
+ </file-type-list>
25
+ </component>
18
26
  <component name="ProjectId" id="1yRnrjFUfHsYLdvXr9BnJxZgZah" />
19
27
  <component name="ProjectViewState">
20
28
  <option name="hideEmptyMiddlePackages" value="true" />
@@ -44,7 +52,11 @@
44
52
  <workItem from="1632223470189" duration="73000" />
45
53
  <workItem from="1634110756402" duration="3266000" />
46
54
  <workItem from="1634537614627" duration="14000" />
47
- <workItem from="1634629199773" duration="8260000" />
55
+ <workItem from="1634629199773" duration="8570000" />
56
+ <workItem from="1634883171003" duration="522000" />
57
+ <workItem from="1634884622341" duration="1856000" />
58
+ <workItem from="1634891334298" duration="3528000" />
59
+ <workItem from="1635145771977" duration="3511000" />
48
60
  </task>
49
61
  <servers />
50
62
  </component>
@@ -61,5 +73,6 @@
61
73
  </entry>
62
74
  </map>
63
75
  </option>
76
+ <option name="oldMeFiltersMigrated" value="true" />
64
77
  </component>
65
78
  </project>
package/CHANGELOG.md CHANGED
@@ -1,10 +1,31 @@
1
- ## [34.26.4](https://github.com/GLS-Spain/gps-common/compare/v34.26.3...v34.26.4) (2021-10-21)
1
+ ## [34.26.6](https://github.com/GLS-Spain/gps-common/compare/v34.26.5...v34.26.6) (2021-10-25)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * change envio14 by send14h ([7d897d5](https://github.com/GLS-Spain/gps-common/commit/7d897d5e4bb1fbc9af3012006d29c22e416ef312))
6
+ * add shipping un createSaleRequest ([704dfd8](https://github.com/GLS-Spain/gps-common/commit/704dfd8bcfe234a71d4fe33ec257667cfff2e08f))
7
7
 
8
+ ## [34.26.5](https://github.com/GLS-Spain/gps-common/compare/v34.26.4...v34.26.5) (2021-10-22)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add new size envelope ([fc0f864](https://github.com/GLS-Spain/gps-common/commit/fc0f864200e8374ce734e910054b173d02f7025b))
14
+
15
+ ## [34.26.5](https://github.com/GLS-Spain/gps-common/compare/v34.26.4...v34.26.5) (2021-10-22)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add new size envelope ([fc0f864](https://github.com/GLS-Spain/gps-common/commit/fc0f864200e8374ce734e910054b173d02f7025b))
21
+
22
+ ## [34.26.4](https://github.com/GLS-Spain/gps-common/compare/v34.26.3...v34.26.4) (2021-10-21)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * change envio14 by send14h ([7d897d5](https://github.com/GLS-Spain/gps-common/commit/7d897d5e4bb1fbc9af3012006d29c22e416ef312))
28
+
8
29
  ## [34.26.3](https://github.com/GLS-Spain/gps-common/compare/v34.26.2...v34.26.3) (2021-10-21)
9
30
 
10
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.4",
3
+ "version": "34.26.6",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -47,7 +47,7 @@ const expirationSettings = () => ({
47
47
 
48
48
  const saleSize = () => ({
49
49
  type: 'string',
50
- enum: ['xs', 's', 'm', 'l', 'xl', 'letter'],
50
+ enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
51
51
  });
52
52
 
53
53
  const saleShipping = () => ({
@@ -74,6 +74,7 @@ const saleZone = () => ({
74
74
  prices: {
75
75
  type: 'object',
76
76
  properties: {
77
+ envelope: money(),
77
78
  xs: money(),
78
79
  s: money(),
79
80
  m: money(),
@@ -81,7 +82,7 @@ const saleZone = () => ({
81
82
  xl: money(),
82
83
  letter: money(),
83
84
  },
84
- required: ['xs', 's', 'm', 'l', 'xl', 'letter'],
85
+ required: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
85
86
  additionalProperties: false,
86
87
  },
87
88
  includes: { type: 'array', items: saleZoneRegion(), uniqueItems: true },
@@ -149,7 +149,7 @@ const createSaleRequest = () =>
149
149
  createRequest({
150
150
  type: 'object',
151
151
  properties: {
152
- ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price']),
152
+ ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price', 'shipping']),
153
153
  },
154
154
  required: ['size', 'destination', 'sender'],
155
155
  additionalProperties: false,