@freedom_sky/feige-lib 3.55.0 → 4.0.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.
@@ -87,6 +87,7 @@ declare class Const {
87
87
  RSD: string;
88
88
  RM: string;
89
89
  PEN: string;
90
+ AED: string;
90
91
  };
91
92
  LARGE_CURRENCY: string[];
92
93
  CHINA_TYPE_DISCOUNT_LANGS: string[];
@@ -91,6 +91,7 @@ var Const = /** @class */ (function () {
91
91
  RSD: 'RSD',
92
92
  RM: 'RM',
93
93
  PEN: 'S/. ',
94
+ AED: 'AED',
94
95
  };
95
96
  this.LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
96
97
  this.CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
@@ -10,7 +10,8 @@ export declare enum PrinterDeviceTypeEnum {
10
10
  System = "System",
11
11
  FeieYun = "FeieYun",
12
12
  XinyeYun = "XinyeYun",
13
- AiyinYun = "AiyinYun"
13
+ AiyinYun = "AiyinYun",
14
+ YilianYun = "YilianYun"
14
15
  }
15
16
  export declare enum TagPrinterDeviceTypeEnum {
16
17
  XinyeYun = "XinyeYun"
@@ -15,6 +15,7 @@ var PrinterDeviceTypeEnum;
15
15
  PrinterDeviceTypeEnum["FeieYun"] = "FeieYun";
16
16
  PrinterDeviceTypeEnum["XinyeYun"] = "XinyeYun";
17
17
  PrinterDeviceTypeEnum["AiyinYun"] = "AiyinYun";
18
+ PrinterDeviceTypeEnum["YilianYun"] = "YilianYun";
18
19
  })(PrinterDeviceTypeEnum = exports.PrinterDeviceTypeEnum || (exports.PrinterDeviceTypeEnum = {}));
19
20
  var TagPrinterDeviceTypeEnum;
20
21
  (function (TagPrinterDeviceTypeEnum) {
@@ -8,5 +8,6 @@ export declare enum SmsConsumptionTypeEnum {
8
8
  MemberSave = "memberSave",
9
9
  MemberPayout = "memberPayout",
10
10
  TakeoutConfirm = "takeoutConfirm",
11
- TakeoutCancel = "takeoutCancel"
11
+ TakeoutCancel = "takeoutCancel",
12
+ TakeoutComplete = "takeoutComplete"
12
13
  }
@@ -13,4 +13,5 @@ var SmsConsumptionTypeEnum;
13
13
  SmsConsumptionTypeEnum["MemberPayout"] = "memberPayout";
14
14
  SmsConsumptionTypeEnum["TakeoutConfirm"] = "takeoutConfirm";
15
15
  SmsConsumptionTypeEnum["TakeoutCancel"] = "takeoutCancel";
16
+ SmsConsumptionTypeEnum["TakeoutComplete"] = "takeoutComplete";
16
17
  })(SmsConsumptionTypeEnum = exports.SmsConsumptionTypeEnum || (exports.SmsConsumptionTypeEnum = {}));
@@ -13,7 +13,7 @@ export interface Order {
13
13
  readonly nickName?: string;
14
14
  readonly note?: string;
15
15
  readonly merchantNote?: string;
16
- readonly printed: string[];
16
+ readonly printerPrinted: string[];
17
17
  readonly kdsPrinted: string[];
18
18
  readonly printStatus: PrintStatusEnum;
19
19
  readonly content: Content[];
@@ -66,7 +66,7 @@ export interface Task {
66
66
  callReason?: string;
67
67
  content?: Content[];
68
68
  valet?: boolean;
69
- printed: string[];
69
+ printerPrinted: string[];
70
70
  kdsPrinted: string[];
71
71
  printStatus: PrintStatusEnum;
72
72
  clientId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "3.55.0",
3
+ "version": "4.0.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -88,6 +88,7 @@ class Const {
88
88
  RSD: 'RSD',
89
89
  RM: 'RM',
90
90
  PEN: 'S/. ', //秘鲁新索尔
91
+ AED: 'AED', //阿联酋迪拉姆
91
92
  };
92
93
  LARGE_CURRENCY = ['đ']; //币值比较大,不需要小数而且需要三位打逗号的货币
93
94
  CHINA_TYPE_DISCOUNT_LANGS = ['zh', 'zh-tw']; //以中文习惯打折的语言
@@ -11,6 +11,7 @@ export enum PrinterDeviceTypeEnum {
11
11
  FeieYun = 'FeieYun',
12
12
  XinyeYun = 'XinyeYun',
13
13
  AiyinYun = 'AiyinYun',
14
+ YilianYun = 'YilianYun',
14
15
  }
15
16
 
16
17
  export enum TagPrinterDeviceTypeEnum {
@@ -9,4 +9,5 @@ export enum SmsConsumptionTypeEnum {
9
9
  MemberPayout = 'memberPayout',
10
10
  TakeoutConfirm = 'takeoutConfirm',
11
11
  TakeoutCancel = 'takeoutCancel',
12
+ TakeoutComplete = 'takeoutComplete',
12
13
  }
@@ -13,7 +13,7 @@ export interface Order {
13
13
  readonly nickName?: string;
14
14
  readonly note?: string;
15
15
  readonly merchantNote?: string;
16
- readonly printed: string[];
16
+ readonly printerPrinted: string[];
17
17
  readonly kdsPrinted: string[];
18
18
  readonly printStatus: PrintStatusEnum;
19
19
  readonly content: Content[];
@@ -68,7 +68,7 @@ export interface Task {
68
68
  callReason?: string;
69
69
  content?: Content[];
70
70
  valet?: boolean;
71
- printed: string[];
71
+ printerPrinted: string[];
72
72
  kdsPrinted: string[];
73
73
  printStatus: PrintStatusEnum;
74
74
  clientId: string;