@gls_spain/gps-common 34.4.0 → 34.5.0
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/.idea/workspace.xml
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
2
|
<project version="4">
|
|
3
3
|
<component name="ChangeListManager">
|
|
4
|
-
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment=""
|
|
5
|
-
<change beforePath="$PROJECT_DIR$/open-api-spec/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/open-api-spec/index.js" afterDir="false" />
|
|
6
|
-
<change beforePath="$PROJECT_DIR$/schemas/definitions/representatives.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/representatives.js" afterDir="false" />
|
|
7
|
-
<change beforePath="$PROJECT_DIR$/schemas/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/index.js" afterDir="false" />
|
|
8
|
-
</list>
|
|
4
|
+
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="" />
|
|
9
5
|
<option name="SHOW_DIALOG" value="false" />
|
|
10
6
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
11
7
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -124,8 +120,8 @@
|
|
|
124
120
|
</configuration>
|
|
125
121
|
<recent_temporary>
|
|
126
122
|
<list>
|
|
127
|
-
<item itemvalue="npm.build-documentation" />
|
|
128
123
|
<item itemvalue="JavaScript Debug.documentation.html (1)" />
|
|
124
|
+
<item itemvalue="npm.build-documentation" />
|
|
129
125
|
<item itemvalue="npm.test" />
|
|
130
126
|
<item itemvalue="npm.semantic-release" />
|
|
131
127
|
<item itemvalue="npm.commit" />
|
|
@@ -627,7 +623,12 @@
|
|
|
627
623
|
<workItem from="1600676045368" duration="1246000" />
|
|
628
624
|
<workItem from="1600679037395" duration="238000" />
|
|
629
625
|
<workItem from="1600875504930" duration="94000" />
|
|
630
|
-
<workItem from="1601025758747" duration="
|
|
626
|
+
<workItem from="1601025758747" duration="988000" />
|
|
627
|
+
<workItem from="1601027058809" duration="203000" />
|
|
628
|
+
<workItem from="1601366983507" duration="49000" />
|
|
629
|
+
<workItem from="1601370976937" duration="339000" />
|
|
630
|
+
<workItem from="1601551727472" duration="27000" />
|
|
631
|
+
<workItem from="1603700811892" duration="405000" />
|
|
631
632
|
</task>
|
|
632
633
|
<servers />
|
|
633
634
|
</component>
|
|
@@ -670,22 +671,22 @@
|
|
|
670
671
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
671
672
|
</state>
|
|
672
673
|
<state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
|
|
673
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
674
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1603700951862">
|
|
674
675
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
675
676
|
</state>
|
|
676
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
677
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
677
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
678
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1603700951862">
|
|
678
679
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
679
680
|
</state>
|
|
680
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
681
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
681
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
682
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1603700951862">
|
|
682
683
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
683
684
|
</state>
|
|
684
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
685
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
685
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
686
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1603700951862">
|
|
686
687
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
687
688
|
</state>
|
|
688
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
689
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1603700951862" />
|
|
689
690
|
<state x="725" y="342" width="736" height="612" key="find.popup" timestamp="1598206991663">
|
|
690
691
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
691
692
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [34.5.0](https://github.com/GLS-Spain/gps-common/compare/v34.4.1...v34.5.0) (2020-10-26)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add find expeditions by sale ([7a85fb7](https://github.com/GLS-Spain/gps-common/commit/7a85fb713ee95da08725f8bd7ace7ecaef8c0d71))
|
|
7
|
+
|
|
8
|
+
## [34.4.1](https://github.com/GLS-Spain/gps-common/compare/v34.4.0...v34.4.1) (2020-09-25)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* fix get own representatives being optional ([90ecbd5](https://github.com/GLS-Spain/gps-common/commit/90ecbd53b677cb41a88e7862072c4cd718ef3d74))
|
|
14
|
+
|
|
1
15
|
# [34.4.0](https://github.com/GLS-Spain/gps-common/compare/v34.3.0...v34.4.0) (2020-09-25)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -483,6 +483,16 @@ const findByCode = () => ({
|
|
|
483
483
|
additionalProperties: false,
|
|
484
484
|
});
|
|
485
485
|
|
|
486
|
+
const findBySale = () => ({
|
|
487
|
+
title: 'find by sale',
|
|
488
|
+
type: 'object',
|
|
489
|
+
properties: {
|
|
490
|
+
sale: objectWithUuid(),
|
|
491
|
+
},
|
|
492
|
+
required: ['sale'],
|
|
493
|
+
additionalProperties: false,
|
|
494
|
+
});
|
|
495
|
+
|
|
486
496
|
const findExpeditionsSuperAdminRequest = () =>
|
|
487
497
|
findRequest({
|
|
488
498
|
oneOf: [
|
|
@@ -494,11 +504,14 @@ const findExpeditionsSuperAdminRequest = () =>
|
|
|
494
504
|
findByShop(),
|
|
495
505
|
findByShopAndStatus(),
|
|
496
506
|
findByCode(),
|
|
507
|
+
findBySale(),
|
|
497
508
|
],
|
|
498
509
|
});
|
|
499
510
|
|
|
500
511
|
const findExpeditionsNetworkAdminRequest = () =>
|
|
501
|
-
findRequest({
|
|
512
|
+
findRequest({
|
|
513
|
+
oneOf: [findById(), findByShop(), findByShopAndStatus(), findByNoShop(), findByNoShopAndStatus(), findByCode(), findBySale()],
|
|
514
|
+
});
|
|
502
515
|
|
|
503
516
|
const findExpeditionsShopUserRequest = () =>
|
|
504
517
|
findRequest({
|
|
@@ -510,6 +523,7 @@ const findExpeditionsShopUserRequest = () =>
|
|
|
510
523
|
findByNoShop(),
|
|
511
524
|
findByNoShopAndStatus(),
|
|
512
525
|
findByCode(),
|
|
526
|
+
findBySale(),
|
|
513
527
|
],
|
|
514
528
|
});
|
|
515
529
|
|
|
@@ -79,10 +79,16 @@ const listRepresentativesNamesResponse = () => ({
|
|
|
79
79
|
const getOwnRepresentativesResponse = () => ({
|
|
80
80
|
type: 'object',
|
|
81
81
|
properties: {
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
get: {
|
|
83
|
+
type: 'object',
|
|
84
|
+
properties: {
|
|
85
|
+
openingRepresentative: representative(),
|
|
86
|
+
managingRepresentative: representative(),
|
|
87
|
+
},
|
|
88
|
+
additionalProperties: false,
|
|
89
|
+
},
|
|
84
90
|
},
|
|
85
|
-
required: ['
|
|
91
|
+
required: ['get'],
|
|
86
92
|
additionalProperties: false,
|
|
87
93
|
});
|
|
88
94
|
|