@kiminix/tp-client 2.50.0 → 2.51.0

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.
@@ -20,6 +20,7 @@ export declare class MenuGuestAPIs {
20
20
  * @returns
21
21
  */
22
22
  static getMenu(props: {
23
+ deviceId: string;
23
24
  business_identifier: string;
24
25
  table_id?: string | undefined;
25
26
  }): Promise<Menu>;
@@ -101,8 +101,9 @@ var MenuGuestAPIs = /** @class */ (function () {
101
101
  return __generator(this, function (_a) {
102
102
  return [2 /*return*/, RequestUtils.send(function () {
103
103
  var params = [
104
+ props.deviceId ? "device_id=".concat(props.deviceId) : undefined,
104
105
  props.business_identifier ? "business_identifier=".concat(props.business_identifier) : undefined,
105
- props.table_id ? "table_id=".concat(props.table_id) : undefined
106
+ props.table_id ? "table_id=".concat(props.table_id) : undefined,
106
107
  ].filter(function (value) { return value; }).join("&");
107
108
  return axios.get(base + "/menus/guest?".concat(params), {
108
109
  headers: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiminix/tp-client",
3
- "version": "2.50.0",
3
+ "version": "2.51.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [