@gls_spain/gps-common 33.0.1 → 33.0.2

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.
@@ -2,8 +2,7 @@
2
2
  <project version="4">
3
3
  <component name="ChangeListManager">
4
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/defaults.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/defaults.js" afterDir="false" />
5
+ <change beforePath="$PROJECT_DIR$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
7
6
  </list>
8
7
  <option name="SHOW_DIALOG" value="false" />
9
8
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -585,7 +584,9 @@
585
584
  <workItem from="1595572792857" duration="2475000" />
586
585
  <workItem from="1595668967544" duration="116000" />
587
586
  <workItem from="1595832239784" duration="11480000" />
588
- <workItem from="1595858491503" duration="3712000" />
587
+ <workItem from="1595858491503" duration="4159000" />
588
+ <workItem from="1595865087442" duration="564000" />
589
+ <workItem from="1595914052000" duration="948000" />
589
590
  </task>
590
591
  <servers />
591
592
  </component>
@@ -628,22 +629,22 @@
628
629
  <screen x="0" y="23" width="2048" height="1129" />
629
630
  </state>
630
631
  <state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
631
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1595862472962">
632
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1595874624892">
632
633
  <screen x="0" y="23" width="2048" height="1129" />
633
634
  </state>
634
- <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1595862472962" />
635
- <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1595862472962">
635
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1595874624892" />
636
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1595874624891">
636
637
  <screen x="0" y="23" width="2048" height="1129" />
637
638
  </state>
638
- <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1595862472962" />
639
- <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1595862472962">
639
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1595874624891" />
640
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1595874624891">
640
641
  <screen x="0" y="23" width="2048" height="1129" />
641
642
  </state>
642
- <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1595862472962" />
643
- <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1595862472962">
643
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1595874624891" />
644
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1595874624892">
644
645
  <screen x="0" y="23" width="2048" height="1129" />
645
646
  </state>
646
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1595862472962" />
647
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1595874624892" />
647
648
  <state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1595579270021">
648
649
  <screen x="0" y="23" width="2048" height="1129" />
649
650
  </state>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [33.0.2](https://github.com/GLS-Spain/gps-common/compare/v33.0.1...v33.0.2) (2020-07-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix super admin find sales request, should be find by network and shop, not only shop ([56403be](https://github.com/GLS-Spain/gps-common/commit/56403be066b6d24f1689c1681a58c83d80f01454))
7
+
1
8
  ## [33.0.1](https://github.com/GLS-Spain/gps-common/compare/v33.0.0...v33.0.1) (2020-07-27)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "33.0.1",
3
+ "version": "33.0.2",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -122,7 +122,9 @@ const findByNetwork = () => mergeSchemas(objectWithNetworkId(), { title: 'find b
122
122
 
123
123
  const findByShop = () => mergeSchemas(objectWithShopId(), { title: 'find by shop' });
124
124
 
125
- const findSalesSuperAdminRequest = () => findRequest({ oneOf: [findAll(), findByNetwork(), findByShop(), findById()] });
125
+ const findByNetworkAndShop = () => mergeSchemas(objectWithNetworkId(), objectWithShopId(), { title: 'find by network and shop' });
126
+
127
+ const findSalesSuperAdminRequest = () => findRequest({ oneOf: [findAll(), findByNetwork(), findByNetworkAndShop(), findById()] });
126
128
 
127
129
  const findSalesNetworkAdminRequest = () => findRequest({ oneOf: [findAll(), findByShop(), findById()] });
128
130