@gls_spain/gps-common 33.0.4 → 33.0.6
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 +10 -13
- package/CHANGELOG.md +14 -0
- package/open-api-spec/index.js +2 -2
- package/package.json +1 -1
- package/schemas/definitions/sales.js +1 -1
package/.idea/workspace.xml
CHANGED
|
@@ -1,10 +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/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
|
|
7
|
-
</list>
|
|
4
|
+
<list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="" />
|
|
8
5
|
<option name="SHOW_DIALOG" value="false" />
|
|
9
6
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
10
7
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
|
@@ -587,7 +584,7 @@
|
|
|
587
584
|
<workItem from="1595832239784" duration="11480000" />
|
|
588
585
|
<workItem from="1595858491503" duration="4159000" />
|
|
589
586
|
<workItem from="1595865087442" duration="564000" />
|
|
590
|
-
<workItem from="1595914052000" duration="
|
|
587
|
+
<workItem from="1595914052000" duration="3422000" />
|
|
591
588
|
</task>
|
|
592
589
|
<servers />
|
|
593
590
|
</component>
|
|
@@ -630,22 +627,22 @@
|
|
|
630
627
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
631
628
|
</state>
|
|
632
629
|
<state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
|
|
633
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="
|
|
630
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1595931212557">
|
|
634
631
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
635
632
|
</state>
|
|
636
|
-
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
637
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="
|
|
633
|
+
<state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1595931212557" />
|
|
634
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1595931212557">
|
|
638
635
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
639
636
|
</state>
|
|
640
|
-
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
641
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="
|
|
637
|
+
<state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1595931212557" />
|
|
638
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1595931212557">
|
|
642
639
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
643
640
|
</state>
|
|
644
|
-
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
645
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="
|
|
641
|
+
<state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1595931212557" />
|
|
642
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1595931212557">
|
|
646
643
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
647
644
|
</state>
|
|
648
|
-
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="
|
|
645
|
+
<state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1595931212557" />
|
|
649
646
|
<state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1595579270021">
|
|
650
647
|
<screen x="0" y="23" width="2048" height="1129" />
|
|
651
648
|
</state>
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [33.0.6](https://github.com/GLS-Spain/gps-common/compare/v33.0.5...v33.0.6) (2020-07-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* fix sales/checkPrice name ([943cb56](https://github.com/GLS-Spain/gps-common/commit/943cb56cfe74907f4c61bcd7d16d0be0793091b5))
|
|
7
|
+
|
|
8
|
+
## [33.0.5](https://github.com/GLS-Spain/gps-common/compare/v33.0.4...v33.0.5) (2020-07-28)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* remove find all sales for super admins ([ce54dd6](https://github.com/GLS-Spain/gps-common/commit/ce54dd641241d842bd9ec403bc05eed3db9f69a1))
|
|
14
|
+
|
|
1
15
|
## [33.0.4](https://github.com/GLS-Spain/gps-common/compare/v33.0.3...v33.0.4) (2020-07-28)
|
|
2
16
|
|
|
3
17
|
|
package/open-api-spec/index.js
CHANGED
|
@@ -3198,10 +3198,10 @@ ${securitySchemes.shopUserRole}`,
|
|
|
3198
3198
|
},
|
|
3199
3199
|
},
|
|
3200
3200
|
},
|
|
3201
|
-
'/sales/
|
|
3201
|
+
'/sales/checkPrice': {
|
|
3202
3202
|
post: {
|
|
3203
3203
|
tags: ['Sales'],
|
|
3204
|
-
summary: '[SNU] Check
|
|
3204
|
+
summary: '[SNU] Check price',
|
|
3205
3205
|
description: `
|
|
3206
3206
|
Finds the price for a sale based on its package size and destination.
|
|
3207
3207
|
|
package/package.json
CHANGED
|
@@ -124,7 +124,7 @@ const findByShop = () => mergeSchemas(objectWithShopId(), { title: 'find by shop
|
|
|
124
124
|
|
|
125
125
|
const findByNetworkAndShop = () => mergeSchemas(objectWithNetworkId(), objectWithShopId(), { title: 'find by network and shop' });
|
|
126
126
|
|
|
127
|
-
const findSalesSuperAdminRequest = () => findRequest({ oneOf: [
|
|
127
|
+
const findSalesSuperAdminRequest = () => findRequest({ oneOf: [findByNetwork(), findByNetworkAndShop(), findById()] });
|
|
128
128
|
|
|
129
129
|
const findSalesNetworkAdminRequest = () => findRequest({ oneOf: [findAll(), findByShop(), findById()] });
|
|
130
130
|
|