@gls_spain/gps-common 34.26.5 → 34.26.7

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,24 @@
1
- ## [34.26.5](https://github.com/GLS-Spain/gps-common/compare/v34.26.4...v34.26.5) (2021-10-22)
1
+ ## [34.26.7](https://github.com/GLS-Spain/gps-common/compare/v34.26.6...v34.26.7) (2021-11-15)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * add new size envelope ([fc0f864](https://github.com/GLS-Spain/gps-common/commit/fc0f864200e8374ce734e910054b173d02f7025b))
6
+ * add lastname to sender ([6002247](https://github.com/GLS-Spain/gps-common/commit/6002247be6803783f9a213917bbf6b34a91bfffa))
7
7
 
8
+ ## [34.26.6](https://github.com/GLS-Spain/gps-common/compare/v34.26.5...v34.26.6) (2021-10-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add shipping un createSaleRequest ([704dfd8](https://github.com/GLS-Spain/gps-common/commit/704dfd8bcfe234a71d4fe33ec257667cfff2e08f))
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
+
8
22
  ## [34.26.5](https://github.com/GLS-Spain/gps-common/compare/v34.26.4...v34.26.5) (2021-10-22)
9
23
 
10
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.26.5",
3
+ "version": "34.26.7",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -12,7 +12,7 @@ const {
12
12
  specificHttpError,
13
13
  } = require('@gls_spain/common-json-schemas');
14
14
  const { timezones } = require('@gls_spain/ajv-options');
15
-
15
+
16
16
  const specificErrorResponse = error => ({
17
17
  type: 'object',
18
18
  properties: {
@@ -75,6 +75,7 @@ const sale = () => ({
75
75
  type: 'object',
76
76
  properties: {
77
77
  name: { type: 'string', trim: true },
78
+ lastname: { type: 'string', trim: true },
78
79
  nif: { type: 'string', trim: true },
79
80
  nifType: nifType(),
80
81
  countryPassport: country(),
@@ -149,7 +150,7 @@ const createSaleRequest = () =>
149
150
  createRequest({
150
151
  type: 'object',
151
152
  properties: {
152
- ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price']),
153
+ ...pickProperties(sale(), ['_id', 'createdAt', 'size', 'destination', 'sender', 'price', 'shipping']),
153
154
  },
154
155
  required: ['size', 'destination', 'sender'],
155
156
  additionalProperties: false,
@@ -1,70 +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="7fe53850-9f5a-4dd7-a4d4-b667077dbf2a" name="Changes" comment="">
8
- <change beforePath="$PROJECT_DIR$/CHANGELOG.md" beforeDir="false" afterPath="$PROJECT_DIR$/CHANGELOG.md" afterDir="false" />
9
- <change beforePath="$PROJECT_DIR$/package-lock.json" beforeDir="false" afterPath="$PROJECT_DIR$/package-lock.json" afterDir="false" />
10
- <change beforePath="$PROJECT_DIR$/package.json" beforeDir="false" afterPath="$PROJECT_DIR$/package.json" afterDir="false" />
11
- </list>
12
- <option name="SHOW_DIALOG" value="false" />
13
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
14
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
15
- <option name="LAST_RESOLUTION" value="IGNORE" />
16
- </component>
17
- <component name="Git.Settings">
18
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
19
- </component>
20
- <component name="ProjectId" id="1yRnrjFUfHsYLdvXr9BnJxZgZah" />
21
- <component name="ProjectViewState">
22
- <option name="hideEmptyMiddlePackages" value="true" />
23
- <option name="showLibraryContents" value="true" />
24
- </component>
25
- <component name="PropertiesComponent">
26
- <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
27
- <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
28
- <property name="WebServerToolWindowFactoryState" value="false" />
29
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
30
- <property name="node.js.detected.package.eslint" value="true" />
31
- <property name="node.js.detected.package.tslint" value="true" />
32
- <property name="node.js.selected.package.eslint" value="(autodetect)" />
33
- <property name="node.js.selected.package.tslint" value="(autodetect)" />
34
- <property name="nodejs_package_manager_path" value="npm" />
35
- <property name="prettierjs.PrettierConfiguration.Package" value="C:\Users\sbonilla\Desktop\parcelShop\gps-common\node_modules\prettier" />
36
- <property name="vue.rearranger.settings.migration" value="true" />
37
- </component>
38
- <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
39
- <component name="TaskManager">
40
- <task active="true" id="Default" summary="Default task">
41
- <changelist id="7fe53850-9f5a-4dd7-a4d4-b667077dbf2a" name="Changes" comment="" />
42
- <created>1632223468890</created>
43
- <option name="number" value="Default" />
44
- <option name="presentableId" value="Default" />
45
- <updated>1632223468890</updated>
46
- <workItem from="1632223470189" duration="73000" />
47
- <workItem from="1634110756402" duration="3266000" />
48
- <workItem from="1634537614627" duration="14000" />
49
- <workItem from="1634629199773" duration="8570000" />
50
- <workItem from="1634883171003" duration="522000" />
51
- <workItem from="1634884622341" duration="1856000" />
52
- </task>
53
- <servers />
54
- </component>
55
- <component name="TypeScriptGeneratedFilesManager">
56
- <option name="version" value="3" />
57
- </component>
58
- <component name="Vcs.Log.Tabs.Properties">
59
- <option name="TAB_STATES">
60
- <map>
61
- <entry key="MAIN">
62
- <value>
63
- <State />
64
- </value>
65
- </entry>
66
- </map>
67
- </option>
68
- <option name="oldMeFiltersMigrated" value="true" />
69
- </component>
70
- </project>