@kiminix/tp-client 2.9.3 → 2.9.4

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.
@@ -125,7 +125,7 @@ var MenuAdminAPIs = /** @class */ (function () {
125
125
  return __awaiter(this, void 0, void 0, function () {
126
126
  return __generator(this, function (_a) {
127
127
  return [2 /*return*/, RequestUtils.send(function () {
128
- return axios.patch(base + "/menus/admin/unauthorized", {
128
+ return axios.post(base + "/menus/admin/unauthorized", {
129
129
  deviceId: props.deviceId,
130
130
  qrCodeId: props.qrCodeId
131
131
  }, {
@@ -1,6 +1,7 @@
1
1
  export interface CallWaiter {
2
2
  id: string;
3
3
  qrCodeLabel: string;
4
+ qrCodeId: string;
4
5
  deviceId: string;
5
6
  status: CallWaiterStatus;
6
7
  createdAt: string;
@@ -2,6 +2,7 @@ import { OrderStatus } from "../../enum";
2
2
  export interface Order {
3
3
  id: string;
4
4
  qrCodeLabel: string;
5
+ qrCodeId: string;
5
6
  deviceId: string;
6
7
  status: OrderStatus;
7
8
  price: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.9.3",
3
+ "version": "2.9.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [