orderiom-api-package 0.4.115 → 0.4.116

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orderiom-api-package",
3
- "version": "0.4.115",
3
+ "version": "0.4.116",
4
4
  "description": "This package will install all necessary API calls for every orderiom restaurant",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1029,6 +1029,19 @@ const actions = {
1029
1029
  })
1030
1030
  .catch(commonErrorCallback());
1031
1031
  },
1032
+ getKessenExternalOrder({ commit }, { restaurantId, tablePaymentId, tableName }) {
1033
+ commit("setExternalTableOrders", {});
1034
+ return $http
1035
+ .post("api/table-payments/kassenmeister/create", {
1036
+ restaurantId,
1037
+ tablePaymentId,
1038
+ tableName,
1039
+ })
1040
+ .then((res) => {
1041
+ commit("setExternalTableOrders", res.data.data);
1042
+ })
1043
+ .catch(commonErrorCallback());
1044
+ },
1032
1045
  broadcastTablePaymentEvent({ commit }, { tablePaymentId, basketItems, action, socketId}) {
1033
1046
  $http.interceptors.request.use((config) => {
1034
1047
  // we need to send this header so we don't receive events