@gls_spain/gps-common 31.0.1 → 31.0.3

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.
@@ -530,7 +530,13 @@
530
530
  <workItem from="1585060691790" duration="705000" />
531
531
  <workItem from="1585071898721" duration="603000" />
532
532
  <workItem from="1585076315474" duration="929000" />
533
- <workItem from="1585115696576" duration="621000" />
533
+ <workItem from="1585115696576" duration="1386000" />
534
+ <workItem from="1585152558330" duration="1482000" />
535
+ <workItem from="1585156263619" duration="877000" />
536
+ <workItem from="1585165942742" duration="1422000" />
537
+ <workItem from="1585171020202" duration="389000" />
538
+ <workItem from="1585200026785" duration="2273000" />
539
+ <workItem from="1585233345225" duration="1174000" />
534
540
  </task>
535
541
  <servers />
536
542
  </component>
@@ -586,22 +592,22 @@
586
592
  <screen x="0" y="23" width="2048" height="1129" />
587
593
  </state>
588
594
  <state x="606" y="280" key="EditFileWatcherDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1580283934403" />
589
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1585146451677">
595
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1585251545014">
590
596
  <screen x="0" y="23" width="2048" height="1129" />
591
597
  </state>
592
- <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1585146451677" />
593
- <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1585146451677">
598
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1585251545014" />
599
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1585251545014">
594
600
  <screen x="0" y="23" width="2048" height="1129" />
595
601
  </state>
596
- <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1585146451677" />
597
- <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1585146451677">
602
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1585251545014" />
603
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1585251545013">
598
604
  <screen x="0" y="23" width="2048" height="1129" />
599
605
  </state>
600
- <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1585146451677" />
601
- <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1585146451677">
606
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1585251545013" />
607
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1585251545014">
602
608
  <screen x="0" y="23" width="2048" height="1129" />
603
609
  </state>
604
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1585146451677" />
610
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1585251545014" />
605
611
  <state x="0" y="23" width="2048" height="1129" key="SettingsEditor" timestamp="1580283935326">
606
612
  <screen x="0" y="23" width="2048" height="1129" />
607
613
  </state>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [31.0.3](https://github.com/GLS-Spain/gps-common/compare/v31.0.2...v31.0.3) (2020-03-26)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix typo in expire action detail of historic records ([a484484](https://github.com/GLS-Spain/gps-common/commit/a484484a6082fb68a340ecc51cd13190142939a5))
7
+
8
+ ## [31.0.2](https://github.com/GLS-Spain/gps-common/compare/v31.0.1...v31.0.2) (2020-03-25)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * fix init request schema ([c07a631](https://github.com/GLS-Spain/gps-common/commit/c07a6314d6e8c1aff0d3b4068964f1aeaecd829e))
14
+
1
15
  ## [31.0.1](https://github.com/GLS-Spain/gps-common/compare/v31.0.0...v31.0.1) (2020-03-25)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "31.0.1",
3
+ "version": "31.0.3",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -29,31 +29,31 @@
29
29
  "devDependencies": {
30
30
  "@semantic-release/changelog": "^5.0.0",
31
31
  "@semantic-release/git": "^9.0.0",
32
- "@semantic-release/npm": "^7.0.3",
33
- "@semantic-release/release-notes-generator": "^9.0.0",
34
- "@types/jest": "^25.1.3",
35
- "ajv": "^6.11.0",
32
+ "@semantic-release/npm": "^7.0.5",
33
+ "@semantic-release/release-notes-generator": "^9.0.1",
34
+ "@types/jest": "^25.1.4",
35
+ "ajv": "^6.12.0",
36
36
  "commitizen": "^4.0.3",
37
37
  "cz-conventional-changelog": "^3.1.0",
38
38
  "eslint": "^6.8.0",
39
- "eslint-config-airbnb-base": "^14.0.0",
40
- "eslint-config-prettier": "^6.10.0",
39
+ "eslint-config-airbnb-base": "^14.1.0",
40
+ "eslint-config-prettier": "^6.10.1",
41
41
  "eslint-plugin-import": "^2.20.1",
42
42
  "husky": "^4.2.3",
43
43
  "jest": "^25.1.0",
44
44
  "prettier": "^1.19.1",
45
- "redoc-cli": "^0.9.6",
45
+ "redoc-cli": "^0.9.7",
46
46
  "semantic-release": "^17.0.4"
47
47
  },
48
48
  "dependencies": {
49
49
  "@gls_spain/ajv-options": "^1.1.0",
50
50
  "@gls_spain/common-errors": "^1.0.0",
51
51
  "@gls_spain/common-json-schemas": "^1.1.0",
52
- "@gls_spain/mongodb": "^1.0.3",
52
+ "@gls_spain/mongodb": "^1.1.0",
53
53
  "@gls_spain/winston-transports": "^1.0.0",
54
54
  "lodash": "^4.17.15",
55
55
  "winston": "^3.2.1",
56
- "yargs": "^15.1.0"
56
+ "yargs": "^15.3.1"
57
57
  },
58
58
  "scripts": {
59
59
  "commit": "git-cz",
@@ -32,7 +32,7 @@ const historicRecord = () => ({
32
32
  'giveToCustomer',
33
33
  'redirect',
34
34
  'expirationReminder',
35
- 'expired',
35
+ 'expire',
36
36
  'price',
37
37
  ],
38
38
  },
@@ -1,4 +1,4 @@
1
- const { password } = require('@gls_spain/common-json-schemas');
1
+ const { password, pickProperties } = require('@gls_spain/common-json-schemas');
2
2
  const { superAdmin } = require('./users');
3
3
  const { defaults } = require('./defaults');
4
4
 
@@ -14,7 +14,12 @@ const initRequest = () => ({
14
14
  required: ['username', 'password'],
15
15
  additionalProperties: false,
16
16
  },
17
- defaults: defaults(),
17
+ defaults: {
18
+ type: 'object',
19
+ properties: { ...pickProperties(defaults(), ['derivationSettings', 'expirationSettings']) },
20
+ required: ['derivationSettings', 'expirationSettings'],
21
+ additionalProperties: false,
22
+ },
18
23
  },
19
24
  required: ['superAdmin', 'defaults'],
20
25
  additionalProperties: false,