@kiminix/tp-client 2.11.3 → 2.11.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.
@@ -11,5 +11,6 @@ export declare class PatchOrderAdminAPI {
11
11
  token?: string;
12
12
  id: string;
13
13
  status?: OrderStatus;
14
+ unlink?: boolean;
14
15
  }): Promise<undefined>;
15
16
  }
@@ -53,7 +53,8 @@ var PatchOrderAdminAPI = /** @class */ (function () {
53
53
  return [2 /*return*/, RequestUtils.send(function () {
54
54
  return axios.patch(base + "/menus/admin/orders", {
55
55
  id: props.id,
56
- status: props.status
56
+ status: props.status,
57
+ unlink: props.unlink
57
58
  }, {
58
59
  headers: {
59
60
  'Authorization': "".concat(props.token)
@@ -1,7 +1,7 @@
1
1
  import { OrderStatus } from "../../../enum";
2
2
  /**
3
3
  * update order
4
- * @error order_not_found, item_unavailable, item_not_found, variant_not_found, internal_error
4
+ * @error order_not_found, item_not_found, variant_not_found, internal_error
5
5
  * @param token
6
6
  */
7
7
  export declare class UpdateOrderAdminAPI {
@@ -39,7 +39,7 @@ import { base } from "../../../constants";
39
39
  import { RequestUtils } from "../../../utils/request-utils";
40
40
  /**
41
41
  * update order
42
- * @error order_not_found, item_unavailable, item_not_found, variant_not_found, internal_error
42
+ * @error order_not_found, item_not_found, variant_not_found, internal_error
43
43
  * @param token
44
44
  */
45
45
  var UpdateOrderAdminAPI = /** @class */ (function () {
@@ -3,7 +3,7 @@ export interface Order {
3
3
  id: string;
4
4
  qrcode?: Order.Qrcode | undefined;
5
5
  deviceId?: string | undefined;
6
- billingId?: string | undefined;
6
+ billId?: string | undefined;
7
7
  status: OrderStatus;
8
8
  total: number;
9
9
  createdAt: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.11.3",
3
+ "version": "2.11.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [