@gls_spain/gps-common 34.25.0 → 34.26.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.
package/CHANGELOG.md CHANGED
@@ -1,10 +1,24 @@
1
- # [34.25.0](https://github.com/GLS-Spain/gps-common/compare/v34.24.2...v34.25.0) (2021-07-07)
1
+ ## [34.26.1](https://github.com/GLS-Spain/gps-common/compare/v34.26.0...v34.26.1) (2021-10-13)
2
2
 
3
3
 
4
- ### Features
4
+ ### Bug Fixes
5
5
 
6
- * add role to typeSale in sale ([b4a9920](https://github.com/GLS-Spain/gps-common/commit/b4a992029e910edafb4fc7cf71fdd9516452e885))
6
+ * add new sellplus array capabilities ([e1a12b9](https://github.com/GLS-Spain/gps-common/commit/e1a12b939e102f8279f83f0196c5f59f832a9fcf))
7
7
 
8
+ # [34.26.0](https://github.com/GLS-Spain/gps-common/compare/v34.25.0...v34.26.0) (2021-07-09)
9
+
10
+
11
+ ### Features
12
+
13
+ * add new properties to shop ([b16cd03](https://github.com/GLS-Spain/gps-common/commit/b16cd03664e267a8689d87d43ef9ffb816dcdd32))
14
+
15
+ # [34.25.0](https://github.com/GLS-Spain/gps-common/compare/v34.24.2...v34.25.0) (2021-07-07)
16
+
17
+
18
+ ### Features
19
+
20
+ * add role to typeSale in sale ([b4a9920](https://github.com/GLS-Spain/gps-common/commit/b4a992029e910edafb4fc7cf71fdd9516452e885))
21
+
8
22
  ## [34.24.2](https://github.com/GLS-Spain/gps-common/compare/v34.24.1...v34.24.2) (2021-07-07)
9
23
 
10
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.25.0",
3
+ "version": "34.26.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -196,7 +196,7 @@ const shop = () => ({
196
196
  address: addressWithRequiredLocation(),
197
197
  capabilities: {
198
198
  type: 'array',
199
- items: { type: 'string', enum: ['deliver', 'pickup', 'sell'] },
199
+ items: { type: 'string', enum: ['deliver', 'pickup', 'sell','sellplus'] },
200
200
  uniqueItems: true,
201
201
  },
202
202
  openingSchedule: shopSchedule(),
@@ -210,7 +210,9 @@ const shop = () => ({
210
210
  notes: { type: 'string', trim: true },
211
211
  derivationSettings: derivationSettings(),
212
212
  expirationSettings: expirationSettings(),
213
- eco: { type: 'boolean', default: false }
213
+ eco: { type: 'boolean', default: false },
214
+ squareCode: { type: 'string' },
215
+ clientCode: { type: 'string' }
214
216
  },
215
217
  required: [
216
218
  '_id',
@@ -277,7 +279,9 @@ const createShopRequest = () =>
277
279
  'notes',
278
280
  'derivationSettings',
279
281
  'expirationSettings',
280
- 'eco'
282
+ 'eco',
283
+ 'squareCode',
284
+ 'clientCode'
281
285
  ]),
282
286
  },
283
287
  required: ['network', 'status', 'name', 'address', 'openingSchedule', 'timezone'],
@@ -380,7 +384,7 @@ const updateShopRequest = () =>
380
384
  status: setShopStatus(),
381
385
  ...pickProperties(
382
386
  shop(),
383
- ['name', 'address', 'capabilities', 'openingSchedule', 'contacts', 'eco'],
387
+ ['name', 'address', 'capabilities', 'openingSchedule', 'contacts', 'eco', 'squareCode', 'clientCode'],
384
388
  ['fiscal', 'activity', 'notes', 'derivationSettings', 'expirationSettings'],
385
389
  ),
386
390
  },
@@ -426,7 +430,9 @@ const upsertShopRequest = () => (
426
430
  'notes',
427
431
  'derivationSettings',
428
432
  'expirationSettings',
429
- 'eco'
433
+ 'eco',
434
+ 'squareCode',
435
+ 'clientCode'
430
436
  ]),
431
437
  },
432
438
  required: ['network', 'status', 'name', 'address'],
@@ -1,43 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <project version="4">
3
- <component name="ChangeListManager">
4
- <list default="true" id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="" />
5
- <option name="SHOW_DIALOG" value="false" />
6
- <option name="HIGHLIGHT_CONFLICTS" value="true" />
7
- <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
8
- <option name="LAST_RESOLUTION" value="IGNORE" />
9
- </component>
10
- <component name="Git.Settings">
11
- <option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
12
- </component>
13
- <component name="ProjectId" id="1qsgdJ2TnFDYAvEl05cflcUMaPw" />
14
- <component name="ProjectViewState">
15
- <option name="hideEmptyMiddlePackages" value="true" />
16
- <option name="showLibraryContents" value="true" />
17
- </component>
18
- <component name="PropertiesComponent">
19
- <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
20
- <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
21
- <property name="WebServerToolWindowFactoryState" value="false" />
22
- <property name="last_opened_file_path" value="$PROJECT_DIR$" />
23
- <property name="node.js.detected.package.eslint" value="true" />
24
- <property name="node.js.path.for.package.eslint" value="project" />
25
- <property name="node.js.selected.package.eslint" value="(autodetect)" />
26
- <property name="vue.rearranger.settings.migration" value="true" />
27
- </component>
28
- <component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
29
- <component name="TaskManager">
30
- <task active="true" id="Default" summary="Default task">
31
- <changelist id="27fd1870-b1c2-4bc1-b832-c34fc2da3402" name="Default Changelist" comment="" />
32
- <created>1617873797612</created>
33
- <option name="number" value="Default" />
34
- <option name="presentableId" value="Default" />
35
- <updated>1617873797612</updated>
36
- <workItem from="1617873799077" duration="885000" />
37
- </task>
38
- <servers />
39
- </component>
40
- <component name="TypeScriptGeneratedFilesManager">
41
- <option name="version" value="3" />
42
- </component>
43
- </project>