@gls_spain/gps-common 34.26.13 → 34.26.14

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.26.13](https://github.com/GLS-Spain/gps-common/compare/v34.26.12...v34.26.13) (2022-03-25)
1
+ ## [34.26.14](https://github.com/GLS-Spain/gps-common/compare/v34.26.13...v34.26.14) (2022-04-26)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * delete lastname MyGLS ([c227de6](https://github.com/GLS-Spain/gps-common/commit/c227de684309df6762042b3bdf8db8d4273eba60))
6
+ * change fourteenService to root sale ([eda8986](https://github.com/GLS-Spain/gps-common/commit/eda898657483ab1bc621d7bc982b9ce83bf6fff5))
7
7
 
8
+ ## [34.26.13](https://github.com/GLS-Spain/gps-common/compare/v34.26.12...v34.26.13) (2022-03-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * delete lastname MyGLS ([c227de6](https://github.com/GLS-Spain/gps-common/commit/c227de684309df6762042b3bdf8db8d4273eba60))
14
+
8
15
  ## [34.26.12](https://github.com/GLS-Spain/gps-common/compare/v34.26.11...v34.26.12) (2022-03-08)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.13",
3
+ "version": "34.26.14",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -50,13 +50,6 @@ const saleSize = () => ({
50
50
  enum: ['envelope', 'xs', 's', 'm', 'l', 'xl', 'letter'],
51
51
  });
52
52
 
53
- const saleShipping = () => ({
54
- type: 'object',
55
- properties: {
56
- send14h: { type: 'boolean' },
57
- },
58
- });
59
-
60
53
  const saleZoneRegion = () => ({
61
54
  type: 'object',
62
55
  properties: {
@@ -141,7 +134,6 @@ module.exports = {
141
134
  derivationSettings,
142
135
  expirationSettings,
143
136
  saleSize,
144
- saleShipping,
145
137
  salesSettings,
146
138
  defaults,
147
139
  getDefaultsResponse,
@@ -16,7 +16,7 @@ const {
16
16
  } = require('@gls_spain/common-json-schemas');
17
17
  const { country, findAll, findById, findByOptionalCreatedAtRange, nifType } = require('./common');
18
18
  const { address } = require('./common');
19
- const { saleSize, saleShipping, salesSettings } = require('./defaults');
19
+ const { saleSize, salesSettings } = require('./defaults');
20
20
  const { network, objectWithNetworkId } = require('./networks');
21
21
  const { shop, objectWithShopId } = require('./shops');
22
22
 
@@ -53,7 +53,7 @@ const sale = () => ({
53
53
  additionalProperties: false,
54
54
  },
55
55
  size: saleSize(),
56
- shipping: saleShipping(),
56
+ fourteenService:{ type: 'boolean' },
57
57
  price: money(),
58
58
  settings: mergeSchemas(salesSettings(), network().properties.salesSettings, {
59
59
  description: 'a copy of both the defaults sale settings and the network sale settings as they were when the sale was created',
@@ -151,7 +151,7 @@ const createSaleRequest = () =>
151
151
  createRequest({
152
152
  type: 'object',
153
153
  properties: {
154
- ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price', 'shipping']),
154
+ ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price']),
155
155
  },
156
156
  required: ['size', 'destination', 'sender'],
157
157
  additionalProperties: false,
@@ -1,80 +0,0 @@
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="91a0fc85-f51e-466a-a0ed-fe34feb1feaa" name="Changes" comment="change lastname" />
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="ProjectId" id="207sqRr1l2AaaqPr0lZZ70T2Iul" />
17
- <component name="ProjectViewState">
18
- <option name="hideEmptyMiddlePackages" value="true" />
19
- <option name="showLibraryContents" value="true" />
20
- </component>
21
- <component name="PropertiesComponent">
22
- <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
23
- <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
24
- <property name="WebServerToolWindowFactoryState" value="false" />
25
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
26
- <property name="node.js.detected.package.eslint" value="true" />
27
- <property name="node.js.detected.package.tslint" value="true" />
28
- <property name="node.js.selected.package.eslint" value="(autodetect)" />
29
- <property name="node.js.selected.package.tslint" value="(autodetect)" />
30
- <property name="nodejs_package_manager_path" value="npm" />
31
- <property name="prettierjs.PrettierConfiguration.Package" value="C:\Users\72437552\Desktop\PS\gps-common\node_modules\prettier" />
32
- <property name="ts.external.directory.path" value="C:\Program Files\JetBrains\WebStorm 2021.2.3\plugins\JavaScriptLanguage\jsLanguageServicesImpl\external" />
33
- <property name="vue.rearranger.settings.migration" value="true" />
34
- </component>
35
- <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
36
- <component name="TaskManager">
37
- <task active="true" id="Default" summary="Default task">
38
- <changelist id="91a0fc85-f51e-466a-a0ed-fe34feb1feaa" name="Changes" comment="" />
39
- <created>1635407150843</created>
40
- <option name="number" value="Default" />
41
- <option name="presentableId" value="Default" />
42
- <updated>1635407150843</updated>
43
- <workItem from="1635407152526" duration="893000" />
44
- <workItem from="1635489366298" duration="3267000" />
45
- <workItem from="1638517736166" duration="1393000" />
46
- <workItem from="1643117273604" duration="1195000" />
47
- <workItem from="1647331353091" duration="1922000" />
48
- <workItem from="1648207853912" duration="347000" />
49
- <workItem from="1648208218530" duration="1275000" />
50
- </task>
51
- <task id="LOCAL-00001" summary="change lastname">
52
- <created>1648208282814</created>
53
- <option name="number" value="00001" />
54
- <option name="presentableId" value="LOCAL-00001" />
55
- <option name="project" value="LOCAL" />
56
- <updated>1648208282814</updated>
57
- </task>
58
- <option name="localTasksCounter" value="2" />
59
- <servers />
60
- </component>
61
- <component name="TypeScriptGeneratedFilesManager">
62
- <option name="version" value="3" />
63
- </component>
64
- <component name="Vcs.Log.Tabs.Properties">
65
- <option name="TAB_STATES">
66
- <map>
67
- <entry key="MAIN">
68
- <value>
69
- <State />
70
- </value>
71
- </entry>
72
- </map>
73
- </option>
74
- <option name="oldMeFiltersMigrated" value="true" />
75
- </component>
76
- <component name="VcsManagerConfiguration">
77
- <MESSAGE value="change lastname" />
78
- <option name="LAST_COMMIT_MESSAGE" value="change lastname" />
79
- </component>
80
- </project>