meemup-library 1.3.74 → 1.3.76

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.
@@ -1,9 +1,9 @@
1
- import IAccount from "../interfaces/IAccount";
2
1
  import IAnswer from "../interfaces/IAnswer";
3
2
  import IDriverAccount from "../interfaces/IDriverAccount";
3
+ import IKitchenDisplayAccount from "../interfaces/kds/IKitchenDisplayAccount";
4
4
  export default class ApiController {
5
5
  private account;
6
- constructor(account: IAccount & IDriverAccount);
6
+ constructor(account: IKitchenDisplayAccount & IDriverAccount);
7
7
  defaultHeader(authorization?: boolean): Promise<{
8
8
  Authorization?: string | undefined;
9
9
  companyId: string;
@@ -0,0 +1,5 @@
1
+ import IAccount from "../IAccount";
2
+ export default interface IKitchenDisplayAccount extends IAccount {
3
+ deviceIdentifier: string;
4
+ }
5
+ export declare const initKitchenDisplayAccount: IKitchenDisplayAccount;
@@ -0,0 +1,2 @@
1
+ import { initAccount } from "../IAccount";
2
+ export const initKitchenDisplayAccount = Object.assign(Object.assign({}, initAccount), { deviceIdentifier: "" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "meemup-library",
3
- "version": "1.3.74",
3
+ "version": "1.3.76",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -11,7 +11,7 @@
11
11
  "remove:one": "rimraf dist",
12
12
  "remove:two": "rimraf ./src/dist",
13
13
  "test": "echo \"Error: no test specified\" && exit 1",
14
- "commit": "git add . && git commit -m \"version.1.3.74 \" && git push origin "
14
+ "commit": "git add . && git commit -m \"version.1.3.76 \" && git push origin "
15
15
  },
16
16
  "files": [
17
17
  "/dist"