@gls_spain/gps-common 33.0.2 → 33.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.
@@ -2,7 +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$/schemas/definitions/sales.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/sales.js" afterDir="false" />
5
+ <change beforePath="$PROJECT_DIR$/open-api-spec/index.js" beforeDir="false" afterPath="$PROJECT_DIR$/open-api-spec/index.js" afterDir="false" />
6
6
  </list>
7
7
  <option name="SHOW_DIALOG" value="false" />
8
8
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -586,7 +586,7 @@
586
586
  <workItem from="1595832239784" duration="11480000" />
587
587
  <workItem from="1595858491503" duration="4159000" />
588
588
  <workItem from="1595865087442" duration="564000" />
589
- <workItem from="1595914052000" duration="948000" />
589
+ <workItem from="1595914052000" duration="1859000" />
590
590
  </task>
591
591
  <servers />
592
592
  </component>
@@ -629,22 +629,22 @@
629
629
  <screen x="0" y="23" width="2048" height="1129" />
630
630
  </state>
631
631
  <state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
632
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1595874624892">
632
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1595922326294">
633
633
  <screen x="0" y="23" width="2048" height="1129" />
634
634
  </state>
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">
635
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1595922326294" />
636
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1595922326294">
637
637
  <screen x="0" y="23" width="2048" height="1129" />
638
638
  </state>
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">
639
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1595922326294" />
640
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1595922326294">
641
641
  <screen x="0" y="23" width="2048" height="1129" />
642
642
  </state>
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">
643
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1595922326294" />
644
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1595922326294">
645
645
  <screen x="0" y="23" width="2048" height="1129" />
646
646
  </state>
647
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1595874624892" />
647
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1595922326294" />
648
648
  <state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1595579270021">
649
649
  <screen x="0" y="23" width="2048" height="1129" />
650
650
  </state>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [33.0.3](https://github.com/GLS-Spain/gps-common/compare/v33.0.2...v33.0.3) (2020-07-28)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add missing shop errors to create sale ([a9acdc3](https://github.com/GLS-Spain/gps-common/commit/a9acdc3f4874b00c8a9baa84f6f1f6bb81b2516f))
7
+
1
8
  ## [33.0.2](https://github.com/GLS-Spain/gps-common/compare/v33.0.1...v33.0.2) (2020-07-28)
2
9
 
3
10
 
@@ -3071,6 +3071,9 @@ the \`network\` are updated later.
3071
3071
 
3072
3072
  The \`price\` field will be calculated from the \`size\` and \`settings\` fields.
3073
3073
 
3074
+ If the shop the user belongs to is not enabled the API will return a \`500 ShopNotEnabledError\` and if the shop is readonly it will
3075
+ return a \`500 ShopCannotBeUpdatedError\`.
3076
+
3074
3077
  ${securitySchemes.tokens}
3075
3078
  ${securitySchemes.shopUserRole}`,
3076
3079
  requestBody: {
@@ -3091,6 +3094,8 @@ ${securitySchemes.shopUserRole}`,
3091
3094
  ' 415': responses.unsupportedMediaType,
3092
3095
  ' 500': responses.internalServerError,
3093
3096
  ' 500 ': responses.saleAlreadyExists,
3097
+ ' 500 ': responses.shopNotEnabled,
3098
+ ' 500 ': responses.shopCannotBeUpdated,
3094
3099
  },
3095
3100
  },
3096
3101
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "33.0.2",
3
+ "version": "33.0.3",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [