@gls_spain/gps-common 34.1.0 → 34.1.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.
@@ -3,7 +3,6 @@
3
3
  <component name="ChangeListManager">
4
4
  <list default="true" id="c2833e40-3178-44f3-9bc5-203849985c7f" name="Default Changelist" comment="">
5
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/expeditions.js" beforeDir="false" afterPath="$PROJECT_DIR$/schemas/definitions/expeditions.js" afterDir="false" />
7
6
  </list>
8
7
  <option name="SHOW_DIALOG" value="false" />
9
8
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -59,6 +58,7 @@
59
58
  <property name="prettierjs.PrettierConfiguration.Package" value="$PROJECT_DIR$/node_modules/prettier" />
60
59
  <property name="settings.editor.selected.configurable" value="watcher.settings" />
61
60
  <property name="ts.external.directory.path" value="$APPLICATION_HOME_DIR$/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external" />
61
+ <property name="vue.rearranger.settings.migration" value="true" />
62
62
  </component>
63
63
  <component name="RecentsManager">
64
64
  <key name="CopyFile.RECENT_KEYS">
@@ -122,11 +122,11 @@
122
122
  </configuration>
123
123
  <recent_temporary>
124
124
  <list>
125
- <item itemvalue="npm.build-documentation" />
126
125
  <item itemvalue="JavaScript Debug.documentation.html (1)" />
126
+ <item itemvalue="npm.build-documentation" />
127
+ <item itemvalue="npm.test" />
127
128
  <item itemvalue="npm.semantic-release" />
128
129
  <item itemvalue="npm.commit" />
129
- <item itemvalue="npm.test" />
130
130
  </list>
131
131
  </recent_temporary>
132
132
  </component>
@@ -596,7 +596,29 @@
596
596
  <workItem from="1596121607720" duration="51000" />
597
597
  <workItem from="1596176213722" duration="391000" />
598
598
  <workItem from="1596210378560" duration="336000" />
599
- <workItem from="1597913906065" duration="2109000" />
599
+ <workItem from="1597913906065" duration="2424000" />
600
+ <workItem from="1597934144169" duration="17000" />
601
+ <workItem from="1597934193331" duration="599000" />
602
+ <workItem from="1597950028741" duration="597000" />
603
+ <workItem from="1597991649203" duration="430000" />
604
+ <workItem from="1598004754259" duration="120000" />
605
+ <workItem from="1598090981738" duration="198000" />
606
+ <workItem from="1598093576151" duration="588000" />
607
+ <workItem from="1598100802076" duration="735000" />
608
+ <workItem from="1598120049591" duration="1499000" />
609
+ <workItem from="1598180744185" duration="16000" />
610
+ <workItem from="1598188015173" duration="314000" />
611
+ <workItem from="1598206900895" duration="111000" />
612
+ <workItem from="1598217043205" duration="91000" />
613
+ <workItem from="1598217927166" duration="574000" />
614
+ <workItem from="1598222406189" duration="9000" />
615
+ <workItem from="1598271224732" duration="4000" />
616
+ <workItem from="1598272437975" duration="6000" />
617
+ <workItem from="1598287527969" duration="5000" />
618
+ <workItem from="1598357442597" duration="26000" />
619
+ <workItem from="1599218272722" duration="619000" />
620
+ <workItem from="1599296807455" duration="54000" />
621
+ <workItem from="1599574256014" duration="232000" />
600
622
  </task>
601
623
  <servers />
602
624
  </component>
@@ -639,22 +661,26 @@
639
661
  <screen x="0" y="23" width="2048" height="1129" />
640
662
  </state>
641
663
  <state x="762" y="341" key="#com.intellij.refactoring.safeDelete.UnsafeUsagesDialog/0.23.2048.1129@0.23.2048.1129" timestamp="1595577705727" />
642
- <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1597916472340">
664
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom" timestamp="1598188195051">
665
+ <screen x="0" y="23" width="2048" height="1129" />
666
+ </state>
667
+ <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1598188195051" />
668
+ <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1598188195050">
643
669
  <screen x="0" y="23" width="2048" height="1129" />
644
670
  </state>
645
- <state width="2006" height="269" key="GridCell.Tab.0.bottom/0.23.2048.1129@0.23.2048.1129" timestamp="1597916472340" />
646
- <state width="2006" height="269" key="GridCell.Tab.0.center" timestamp="1597916472339">
671
+ <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1598188195050" />
672
+ <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1598188195050">
647
673
  <screen x="0" y="23" width="2048" height="1129" />
648
674
  </state>
649
- <state width="2006" height="269" key="GridCell.Tab.0.center/0.23.2048.1129@0.23.2048.1129" timestamp="1597916472339" />
650
- <state width="2006" height="269" key="GridCell.Tab.0.left" timestamp="1597916472339">
675
+ <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1598188195050" />
676
+ <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1598188195051">
651
677
  <screen x="0" y="23" width="2048" height="1129" />
652
678
  </state>
653
- <state width="2006" height="269" key="GridCell.Tab.0.left/0.23.2048.1129@0.23.2048.1129" timestamp="1597916472339" />
654
- <state width="2006" height="269" key="GridCell.Tab.0.right" timestamp="1597916472339">
679
+ <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1598188195051" />
680
+ <state x="725" y="342" width="736" height="612" key="find.popup" timestamp="1598206991663">
655
681
  <screen x="0" y="23" width="2048" height="1129" />
656
682
  </state>
657
- <state width="2006" height="269" key="GridCell.Tab.0.right/0.23.2048.1129@0.23.2048.1129" timestamp="1597916472339" />
683
+ <state x="725" y="342" width="736" height="612" key="find.popup/0.23.2048.1129@0.23.2048.1129" timestamp="1598206991663" />
658
684
  <state x="689" y="276" width="670" height="676" key="search.everywhere.popup" timestamp="1595579270021">
659
685
  <screen x="0" y="23" width="2048" height="1129" />
660
686
  </state>
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [34.1.1](https://github.com/GLS-Spain/gps-common/compare/v34.1.0...v34.1.1) (2020-09-08)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add missing invalid destination error to create sale ([b9ef5c0](https://github.com/GLS-Spain/gps-common/commit/b9ef5c06e11e01c9418278cead6dde96153179f3))
7
+
1
8
  # [34.1.0](https://github.com/GLS-Spain/gps-common/compare/v34.0.1...v34.1.0) (2020-08-20)
2
9
 
3
10
 
@@ -3126,6 +3126,8 @@ The \`price\` field will be calculated from the \`size\` and \`settings\` fields
3126
3126
  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
3127
3127
  return a \`500 ShopCannotBeUpdatedError\`.
3128
3128
 
3129
+ If the destination is invalid the API will return a \`500 InvalidSaleDestinationError\`.
3130
+
3129
3131
  ${securitySchemes.tokens}
3130
3132
  ${securitySchemes.shopUserRole}`,
3131
3133
  requestBody: {
@@ -3148,6 +3150,7 @@ ${securitySchemes.shopUserRole}`,
3148
3150
  ' 500 ': responses.saleAlreadyExists,
3149
3151
  ' 500 ': responses.shopNotEnabled,
3150
3152
  ' 500 ': responses.shopCannotBeUpdated,
3153
+ ' 500 ': responses.invalidSaleDestination,
3151
3154
  },
3152
3155
  },
3153
3156
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.1.0",
3
+ "version": "34.1.1",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "main": "index.js",
6
6
  "keywords": [