@freedom_sky/feige-lib 3.44.0 → 3.48.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.
@@ -3,6 +3,8 @@ declare class Const {
3
3
  MANAGER: string;
4
4
  WAITER: string;
5
5
  CHEF: string;
6
+ RECEPTIONIST: string;
7
+ PARTNER: string;
6
8
  };
7
9
  TASK_TYPE: {
8
10
  CHECK: string;
@@ -6,6 +6,8 @@ var Const = /** @class */ (function () {
6
6
  MANAGER: 'manager',
7
7
  WAITER: 'waiter',
8
8
  CHEF: 'chef',
9
+ RECEPTIONIST: 'receptionist',
10
+ PARTNER: 'partner',
9
11
  };
10
12
  this.TASK_TYPE = {
11
13
  CHECK: 'check',
@@ -2,10 +2,12 @@ export declare enum CheckoutTypeEnum {
2
2
  Cash = "cash",
3
3
  Wechat = "wechat",
4
4
  Alipay = "alipay",
5
- Member = "member"
5
+ Member = "member",
6
+ Custom = "custom"
6
7
  }
7
8
  export declare enum MemberCheckoutTypeEnum {
8
9
  Cash = "cash",
9
10
  Wechat = "wechat",
10
- Alipay = "alipay"
11
+ Alipay = "alipay",
12
+ Custom = "custom"
11
13
  }
@@ -6,10 +6,12 @@ var CheckoutTypeEnum;
6
6
  CheckoutTypeEnum["Wechat"] = "wechat";
7
7
  CheckoutTypeEnum["Alipay"] = "alipay";
8
8
  CheckoutTypeEnum["Member"] = "member";
9
+ CheckoutTypeEnum["Custom"] = "custom";
9
10
  })(CheckoutTypeEnum = exports.CheckoutTypeEnum || (exports.CheckoutTypeEnum = {}));
10
11
  var MemberCheckoutTypeEnum;
11
12
  (function (MemberCheckoutTypeEnum) {
12
13
  MemberCheckoutTypeEnum["Cash"] = "cash";
13
14
  MemberCheckoutTypeEnum["Wechat"] = "wechat";
14
15
  MemberCheckoutTypeEnum["Alipay"] = "alipay";
16
+ MemberCheckoutTypeEnum["Custom"] = "custom";
15
17
  })(MemberCheckoutTypeEnum = exports.MemberCheckoutTypeEnum || (exports.MemberCheckoutTypeEnum = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "3.44.0",
3
+ "version": "3.48.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -3,6 +3,8 @@ class Const {
3
3
  MANAGER: 'manager',
4
4
  WAITER: 'waiter',
5
5
  CHEF: 'chef',
6
+ RECEPTIONIST: 'receptionist',
7
+ PARTNER: 'partner',
6
8
  };
7
9
  TASK_TYPE = {
8
10
  CHECK: 'check',
@@ -3,10 +3,12 @@ export enum CheckoutTypeEnum {
3
3
  Wechat = 'wechat',
4
4
  Alipay = 'alipay',
5
5
  Member = 'member',
6
+ Custom = 'custom',
6
7
  }
7
8
 
8
9
  export enum MemberCheckoutTypeEnum {
9
10
  Cash = 'cash',
10
11
  Wechat = 'wechat',
11
12
  Alipay = 'alipay',
13
+ Custom = 'custom',
12
14
  }
@@ -120,10 +120,10 @@ export interface Store {
120
120
  };
121
121
  };
122
122
  };
123
- readonly customPayment:{
124
- name:string,
125
- enabled:boolean,
126
- }[],
123
+ readonly customPayment: {
124
+ name: string;
125
+ enabled: boolean;
126
+ }[];
127
127
  }
128
128
 
129
129
  export interface ReceptionPrinter {