@gls_spain/gps-common 34.26.21 → 34.27.1

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,57 @@
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
+ <change beforePath="$PROJECT_DIR$/schemas/definitions/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
9
+ </list>
10
+ <option name="SHOW_DIALOG" value="false" />
11
+ <option name="HIGHLIGHT_CONFLICTS" value="true" />
12
+ <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
13
+ <option name="LAST_RESOLUTION" value="IGNORE" />
14
+ </component>
15
+ <component name="Git.Settings">
16
+ <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
17
+ </component>
18
+ <component name="MarkdownSettingsMigration">
19
+ <option name="stateVersion" value="1" />
20
+ </component>
21
+ <component name="ProjectId" id="1qsgdJ2TnFDYAvEl05cflcUMaPw" />
22
+ <component name="ProjectViewState">
23
+ <option name="hideEmptyMiddlePackages" value="true" />
24
+ <option name="showLibraryContents" value="true" />
25
+ </component>
26
+ <component name="PropertiesComponent"><![CDATA[{
27
+ "keyToString": {
28
+ "WebServerToolWindowFactoryState": "false",
29
+ "node.js.detected.package.eslint": "true",
30
+ "node.js.detected.package.tslint": "true",
31
+ "node.js.selected.package.eslint": "(autodetect)",
32
+ "node.js.selected.package.tslint": "(autodetect)",
33
+ "nodejs_package_manager_path": "npm",
34
+ "prettierjs.PrettierConfiguration.Package": "C:\\Projects\\gps-common\\node_modules\\prettier",
35
+ "ts.external.directory.path": "C:\\Users\\riglesias\\AppData\\Local\\JetBrains\\Toolbox\\apps\\WebStorm\\ch-0\\221.5591.52\\plugins\\JavaScriptLanguage\\jsLanguageServicesImpl\\external",
36
+ "vue.rearranger.settings.migration": "true"
37
+ }
38
+ }]]></component>
39
+ <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
40
+ <component name="TaskManager">
41
+ <task active="true" id="Default" summary="Default task">
42
+ <changelist id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="" />
43
+ <created>1617873797612</created>
44
+ <option name="number" value="Default" />
45
+ <option name="presentableId" value="Default" />
46
+ <updated>1617873797612</updated>
47
+ <workItem from="1617873799077" duration="885000" />
48
+ <workItem from="1634799141153" duration="3415000" />
49
+ <workItem from="1640086365945" duration="600000" />
50
+ <workItem from="1657532028037" duration="2196000" />
51
+ </task>
52
+ <servers />
53
+ </component>
54
+ <component name="TypeScriptGeneratedFilesManager">
55
+ <option name="version" value="3" />
56
+ </component>
57
+ </project>
package/CHANGELOG.md CHANGED
@@ -1,59 +1,73 @@
1
- ## [34.26.21](https://github.com/GLS-Spain/gps-common/compare/v34.26.20...v34.26.21) (2022-07-05)
1
+ ## [34.27.1](https://github.com/GLS-Spain/gps-common/compare/v34.27.0...v34.27.1) (2022-07-11)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * delete lastname from schema ([9357a5f](https://github.com/GLS-Spain/gps-common/commit/9357a5fffffb2ee26263e00d93b77789721f123c))
6
+ * add salesSize traveller ([e9d77ae](https://github.com/GLS-Spain/gps-common/commit/e9d77aeec4f5f6c91a9812e1473be5f1052a81db))
7
7
 
8
- ## [34.26.20](https://github.com/GLS-Spain/gps-common/compare/v34.26.19...v34.26.20) (2022-05-23)
8
+ # [34.27.0](https://github.com/GLS-Spain/gps-common/compare/v34.26.21...v34.27.0) (2022-07-11)
9
9
 
10
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)
11
+ ### Features
37
12
 
13
+ * new prices traveller ([d79e853](https://github.com/GLS-Spain/gps-common/commit/d79e853b8925ae9d8cefdf10826bdb6ae846efcb))
38
14
 
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))
56
-
15
+ ## [34.26.21](https://github.com/GLS-Spain/gps-common/compare/v34.26.20...v34.26.21) (2022-07-05)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * delete lastname from schema ([9357a5f](https://github.com/GLS-Spain/gps-common/commit/9357a5fffffb2ee26263e00d93b77789721f123c))
21
+
22
+ ## [34.26.20](https://github.com/GLS-Spain/gps-common/compare/v34.26.19...v34.26.20) (2022-05-23)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * add description to holidays ([9bae6bd](https://github.com/GLS-Spain/gps-common/commit/9bae6bd4c7d3a710b2e88ee728677550f1399bb9))
28
+
29
+ ## [34.26.19](https://github.com/GLS-Spain/gps-common/compare/v34.26.18...v34.26.19) (2022-05-11)
30
+
31
+
32
+ ### Bug Fixes
33
+
34
+ * change type absence and holidays ([41623a9](https://github.com/GLS-Spain/gps-common/commit/41623a9936e7c481f9c0ddb1a76f10193e9eb8bf))
35
+
36
+ ## [34.26.18](https://github.com/GLS-Spain/gps-common/compare/v34.26.17...v34.26.18) (2022-05-11)
37
+
38
+
39
+ ### Bug Fixes
40
+
41
+ * change absences object to aray ([5cf48f8](https://github.com/GLS-Spain/gps-common/commit/5cf48f8b65083690e8b4b168f0a5b9765efa1891))
42
+
43
+ ## [34.26.17](https://github.com/GLS-Spain/gps-common/compare/v34.26.16...v34.26.17) (2022-05-11)
44
+
45
+
46
+ ### Bug Fixes
47
+
48
+ * add holidays to updateshoprequest ([263f3f2](https://github.com/GLS-Spain/gps-common/commit/263f3f24f1ea88be42c897f0cf4c450316b28f30))
49
+
50
+ ## [34.26.16](https://github.com/GLS-Spain/gps-common/compare/v34.26.15...v34.26.16) (2022-05-10)
51
+
52
+
53
+ ### Bug Fixes
54
+
55
+ * add holidays to schema ([64dbdb0](https://github.com/GLS-Spain/gps-common/commit/64dbdb0b07a0f109bf85e2c6b14542a267bf2c0b))
56
+
57
+ ## [34.26.15](https://github.com/GLS-Spain/gps-common/compare/v34.26.14...v34.26.15) (2022-04-26)
58
+
59
+
60
+ ### Bug Fixes
61
+
62
+ * hotFix fourteenService ([9a3e2ca](https://github.com/GLS-Spain/gps-common/commit/9a3e2ca04218e3080d9cdda86a0f93b8777b9c9a))
63
+
64
+ ## [34.26.14](https://github.com/GLS-Spain/gps-common/compare/v34.26.13...v34.26.14) (2022-04-26)
65
+
66
+
67
+ ### Bug Fixes
68
+
69
+ * change fourteenService to root sale ([eda8986](https://github.com/GLS-Spain/gps-common/commit/eda898657483ab1bc621d7bc982b9ce83bf6fff5))
70
+
57
71
  ## [34.26.13](https://github.com/GLS-Spain/gps-common/compare/v34.26.12...v34.26.13) (2022-03-25)
58
72
 
59
73
 
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.1",
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: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
50
+ enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter', 'cabin', 'median', 'large'],
51
51
  });
52
52
 
53
53
  const saleZoneRegion = () => ({
@@ -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