@gls_spain/gps-common 34.0.0 → 34.0.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.
@@ -590,7 +590,9 @@
590
590
  <workItem from="1595939490548" duration="3433000" />
591
591
  <workItem from="1595961689372" duration="1814000" />
592
592
  <workItem from="1595999862116" duration="11371000" />
593
- <workItem from="1596052438845" duration="2652000" />
593
+ <workItem from="1596052438845" duration="2941000" />
594
+ <workItem from="1596088002152" duration="1276000" />
595
+ <workItem from="1596102863465" duration="1301000" />
594
596
  </task>
595
597
  <servers />
596
598
  </component>
@@ -633,22 +635,22 @@
633
635
  <screen x="0" y="23" width="2048" height="1129" />
634
636
  </state>
635
637
  <state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
636
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1596055279837">
638
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1596110081129">
637
639
  <screen x="0" y="23" width="2048" height="1129" />
638
640
  </state>
639
- <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1596055279837" />
640
- <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1596055279836">
641
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1596110081129" />
642
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1596110081129">
641
643
  <screen x="0" y="23" width="2048" height="1129" />
642
644
  </state>
643
- <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1596055279836" />
644
- <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1596055279836">
645
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1596110081129" />
646
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1596110081128">
645
647
  <screen x="0" y="23" width="2048" height="1129" />
646
648
  </state>
647
- <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1596055279836" />
648
- <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1596055279837">
649
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1596110081128" />
650
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1596110081129">
649
651
  <screen x="0" y="23" width="2048" height="1129" />
650
652
  </state>
651
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1596055279837" />
653
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1596110081129" />
652
654
  <state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1595579270021">
653
655
  <screen x="0" y="23" width="2048" height="1129" />
654
656
  </state>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [34.0.1](https://github.com/GLS-Spain/gps-common/compare/v34.0.0...v34.0.1) (2020-07-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * require at least one email and phone for a sale sender ([91ed154](https://github.com/GLS-Spain/gps-common/commit/91ed15423a177882fb12b4241e4fae73ca99e551))
7
+
1
8
  # [34.0.0](https://github.com/GLS-Spain/gps-common/compare/v33.0.9...v34.0.0) (2020-07-29)
2
9
 
3
10
 
@@ -3398,7 +3398,7 @@ the call against a known secret.`,
3398
3398
  responses: {
3399
3399
  ' 200': {
3400
3400
  description: 'The data in the URL query parameters has been verified and accepted.',
3401
- content: { 'text/plain': { schema: { type: 'string', enum: ['ok'] } } },
3401
+ content: { 'text/plain': { schema: { type: 'string', enum: ['transaction feedback processed correctly'] } } },
3402
3402
  },
3403
3403
  ' 400': {
3404
3404
  description: 'There is invalid data in the URL query parameters',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.0.0",
3
+ "version": "34.0.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -71,8 +71,8 @@ const sale = () => ({
71
71
  name: { type: 'string', trim: true },
72
72
  nif: { type: 'string', trim: true },
73
73
  address: address(),
74
- emails: { type: 'array', items: email(), uniqueItems: true },
75
- phones: { type: 'array', items: phone(), uniqueItems: true },
74
+ emails: { type: 'array', items: email(), uniqueItems: true, minItems: 1 },
75
+ phones: { type: 'array', items: phone(), uniqueItems: true, minItems: 1 },
76
76
  fiscal: {
77
77
  type: 'object',
78
78
  properties: {