@gls_spain/gps-common 34.26.21 → 34.27.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.
@@ -0,0 +1,54 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <project version="4">
3
+ <component name="AutoImportSettings">
4
+ <option name="autoReloadType" value="SELECTIVE" />
5
+ </component>
6
+ <component name="ChangeListManager">
7
+ <list default="true" id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="" />
8
+ <option name="SHOW_DIALOG" value="false" />
9
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
11
+ <option name="LAST_RESOLUTION" value="IGNORE" />
12
+ </component>
13
+ <component name="Git.Settings">
14
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
15
+ </component>
16
+ <component name="MarkdownSettingsMigration">
17
+ <option name="stateVersion" value="1" />
18
+ </component>
19
+ <component name="ProjectId" id="1qsgdJ2TnFDYAvEl05cflcUMaPw" />
20
+ <component name="ProjectViewState">
21
+ <option name="hideEmptyMiddlePackages" value="true" />
22
+ <option name="showLibraryContents" value="true" />
23
+ </component>
24
+ <component name="PropertiesComponent"><![CDATA[{
25
+ "keyToString": {
26
+ "WebServerToolWindowFactoryState": "false",
27
+ "node.js.detected.package.eslint": "true",
28
+ "node.js.detected.package.tslint": "true",
29
+ "node.js.selected.package.eslint": "(autodetect)",
30
+ "node.js.selected.package.tslint": "(autodetect)",
31
+ "nodejs_package_manager_path": "npm",
32
+ "prettierjs.PrettierConfiguration.Package": "C:\\Projects\\gps-common\\node_modules\\prettier",
33
+ "vue.rearranger.settings.migration": "true"
34
+ }
35
+ }]]></component>
36
+ <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
37
+ <component name="TaskManager">
38
+ <task active="true" id="Default" summary="Default task">
39
+ <changelist id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="" />
40
+ <created>1617873797612</created>
41
+ <option name="number" value="Default" />
42
+ <option name="presentableId" value="Default" />
43
+ <updated>1617873797612</updated>
44
+ <workItem from="1617873799077" duration="885000" />
45
+ <workItem from="1634799141153" duration="3415000" />
46
+ <workItem from="1640086365945" duration="600000" />
47
+ <workItem from="1657532028037" duration="1038000" />
48
+ </task>
49
+ <servers />
50
+ </component>
51
+ <component name="TypeScriptGeneratedFilesManager">
52
+ <option name="version" value="3" />
53
+ </component>
54
+ </project>
package/CHANGELOG.md CHANGED
@@ -1,59 +1,66 @@
1
- ## [34.26.21](https://github.com/GLS-Spain/gps-common/compare/v34.26.20...v34.26.21) (2022-07-05)
1
+ # [34.27.0](https://github.com/GLS-Spain/gps-common/compare/v34.26.21...v34.27.0) (2022-07-11)
2
2
 
3
3
 
4
- ### Bug Fixes
4
+ ### Features
5
5
 
6
- * delete lastname from schema ([9357a5f](https://github.com/GLS-Spain/gps-common/commit/9357a5fffffb2ee26263e00d93b77789721f123c))
7
-
8
- ## [34.26.20](https://github.com/GLS-Spain/gps-common/compare/v34.26.19...v34.26.20) (2022-05-23)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * add description to holidays ([9bae6bd](https://github.com/GLS-Spain/gps-common/commit/9bae6bd4c7d3a710b2e88ee728677550f1399bb9))
14
-
15
- ## [34.26.19](https://github.com/GLS-Spain/gps-common/compare/v34.26.18...v34.26.19) (2022-05-11)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * change type absence and holidays ([41623a9](https://github.com/GLS-Spain/gps-common/commit/41623a9936e7c481f9c0ddb1a76f10193e9eb8bf))
21
-
22
- ## [34.26.18](https://github.com/GLS-Spain/gps-common/compare/v34.26.17...v34.26.18) (2022-05-11)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * change absences object to aray ([5cf48f8](https://github.com/GLS-Spain/gps-common/commit/5cf48f8b65083690e8b4b168f0a5b9765efa1891))
28
-
29
- ## [34.26.17](https://github.com/GLS-Spain/gps-common/compare/v34.26.16...v34.26.17) (2022-05-11)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * add holidays to updateshoprequest ([263f3f2](https://github.com/GLS-Spain/gps-common/commit/263f3f24f1ea88be42c897f0cf4c450316b28f30))
35
-
36
- ## [34.26.16](https://github.com/GLS-Spain/gps-common/compare/v34.26.15...v34.26.16) (2022-05-10)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * add holidays to schema ([64dbdb0](https://github.com/GLS-Spain/gps-common/commit/64dbdb0b07a0f109bf85e2c6b14542a267bf2c0b))
42
-
43
- ## [34.26.15](https://github.com/GLS-Spain/gps-common/compare/v34.26.14...v34.26.15) (2022-04-26)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * hotFix fourteenService ([9a3e2ca](https://github.com/GLS-Spain/gps-common/commit/9a3e2ca04218e3080d9cdda86a0f93b8777b9c9a))
49
-
50
- ## [34.26.14](https://github.com/GLS-Spain/gps-common/compare/v34.26.13...v34.26.14) (2022-04-26)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * change fourteenService to root sale ([eda8986](https://github.com/GLS-Spain/gps-common/commit/eda898657483ab1bc621d7bc982b9ce83bf6fff5))
6
+ * new prices traveller ([d79e853](https://github.com/GLS-Spain/gps-common/commit/d79e853b8925ae9d8cefdf10826bdb6ae846efcb))
56
7
 
8
+ ## [34.26.21](https://github.com/GLS-Spain/gps-common/compare/v34.26.20...v34.26.21) (2022-07-05)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * delete lastname from schema ([9357a5f](https://github.com/GLS-Spain/gps-common/commit/9357a5fffffb2ee26263e00d93b77789721f123c))
14
+
15
+ ## [34.26.20](https://github.com/GLS-Spain/gps-common/compare/v34.26.19...v34.26.20) (2022-05-23)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add description to holidays ([9bae6bd](https://github.com/GLS-Spain/gps-common/commit/9bae6bd4c7d3a710b2e88ee728677550f1399bb9))
21
+
22
+ ## [34.26.19](https://github.com/GLS-Spain/gps-common/compare/v34.26.18...v34.26.19) (2022-05-11)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * change type absence and holidays ([41623a9](https://github.com/GLS-Spain/gps-common/commit/41623a9936e7c481f9c0ddb1a76f10193e9eb8bf))
28
+
29
+ ## [34.26.18](https://github.com/GLS-Spain/gps-common/compare/v34.26.17...v34.26.18) (2022-05-11)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * change absences object to aray ([5cf48f8](https://github.com/GLS-Spain/gps-common/commit/5cf48f8b65083690e8b4b168f0a5b9765efa1891))
35
+
36
+ ## [34.26.17](https://github.com/GLS-Spain/gps-common/compare/v34.26.16...v34.26.17) (2022-05-11)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * add holidays to updateshoprequest ([263f3f2](https://github.com/GLS-Spain/gps-common/commit/263f3f24f1ea88be42c897f0cf4c450316b28f30))
42
+
43
+ ## [34.26.16](https://github.com/GLS-Spain/gps-common/compare/v34.26.15...v34.26.16) (2022-05-10)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * add holidays to schema ([64dbdb0](https://github.com/GLS-Spain/gps-common/commit/64dbdb0b07a0f109bf85e2c6b14542a267bf2c0b))
49
+
50
+ ## [34.26.15](https://github.com/GLS-Spain/gps-common/compare/v34.26.14...v34.26.15) (2022-04-26)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * hotFix fourteenService ([9a3e2ca](https://github.com/GLS-Spain/gps-common/commit/9a3e2ca04218e3080d9cdda86a0f93b8777b9c9a))
56
+
57
+ ## [34.26.14](https://github.com/GLS-Spain/gps-common/compare/v34.26.13...v34.26.14) (2022-04-26)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * change fourteenService to root sale ([eda8986](https://github.com/GLS-Spain/gps-common/commit/eda898657483ab1bc621d7bc982b9ce83bf6fff5))
63
+
57
64
  ## [34.26.13](https://github.com/GLS-Spain/gps-common/compare/v34.26.12...v34.26.13) (2022-03-25)
58
65
 
59
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.21",
3
+ "version": "34.27.0",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -78,10 +78,20 @@ const saleZone = () => ({
78
78
  required: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
79
79
  additionalProperties: false,
80
80
  },
81
+ pricesTraveller: {
82
+ type: 'object',
83
+ properties: {
84
+ cabin: money(),
85
+ median: money(),
86
+ large: money(),
87
+ },
88
+ required: ['cabin', 'median', 'large'],
89
+ additionalProperties: false,
90
+ },
81
91
  includes: { type: 'array', items: saleZoneRegion(), uniqueItems: true },
82
92
  excludes: { type: 'array', items: saleZoneRegion(), uniqueItems: true },
83
93
  },
84
- required: ['name', 'prices', 'includes', 'excludes'],
94
+ required: ['name', 'prices', 'pricesTraveller', 'includes', 'excludes'],
85
95
  additionalProperties: false,
86
96
  });
87
97