@freedom_sky/feige-lib 4.4.0 → 4.8.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.
@@ -165,21 +165,21 @@ declare class Const {
165
165
  dateTime: string;
166
166
  date: string;
167
167
  yearMonth: string;
168
- MonthDay: string;
168
+ MonthDayHourMinute: string;
169
169
  yearMonthDayHourMinute: string;
170
170
  };
171
171
  DAY_MONTH_YEAR: {
172
172
  dateTime: string;
173
173
  date: string;
174
174
  yearMonth: string;
175
- MonthDay: string;
175
+ MonthDayHourMinute: string;
176
176
  yearMonthDayHourMinute: string;
177
177
  };
178
178
  YEAR_MONTH_DAY_REVERSE: {
179
179
  dateTime: string;
180
180
  date: string;
181
181
  yearMonth: string;
182
- MonthDay: string;
182
+ MonthDayHourMinute: string;
183
183
  yearMonthDayHourMinute: string;
184
184
  };
185
185
  };
@@ -259,21 +259,21 @@ var Const = /** @class */ (function () {
259
259
  dateTime: 'YYYY-MM-DD HH:mm:ss',
260
260
  date: 'YYYY-MM-DD',
261
261
  yearMonth: 'YYYY-MM',
262
- MonthDay: 'MM-DD HH:mm',
262
+ MonthDayHourMinute: 'MM-DD HH:mm',
263
263
  yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
264
264
  },
265
265
  DAY_MONTH_YEAR: {
266
266
  dateTime: 'DD-MM-YYYY HH:mm:ss',
267
267
  date: 'DD-MM-YYYY',
268
268
  yearMonth: 'MM-YYYY',
269
- MonthDay: 'DD-MM HH:mm',
269
+ MonthDayHourMinute: 'DD-MM HH:mm',
270
270
  yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
271
271
  },
272
272
  YEAR_MONTH_DAY_REVERSE: {
273
273
  dateTime: 'HH:mm:ss YYYY-MM-DD',
274
274
  date: 'YYYY-MM-DD',
275
275
  yearMonth: 'YYYY-MM',
276
- MonthDay: 'MM-DD HH:mm',
276
+ MonthDayHourMinute: 'MM-DD HH:mm',
277
277
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
278
278
  },
279
279
  };
@@ -22,5 +22,6 @@ export declare enum PrinterWidthEnum {
22
22
  }
23
23
  export declare enum PrintTypeEnum {
24
24
  Reception = "reception",
25
- Chef = "chef"
25
+ Chef = "chef",
26
+ Label = "label"
26
27
  }
@@ -30,4 +30,5 @@ var PrintTypeEnum;
30
30
  (function (PrintTypeEnum) {
31
31
  PrintTypeEnum["Reception"] = "reception";
32
32
  PrintTypeEnum["Chef"] = "chef";
33
+ PrintTypeEnum["Label"] = "label";
33
34
  })(PrintTypeEnum = exports.PrintTypeEnum || (exports.PrintTypeEnum = {}));
@@ -4,6 +4,7 @@ import { OrderTypeEnum } from '../../enum/order.enum';
4
4
  import { TaxTypeEnum } from '../../enum/tax.enum';
5
5
  export interface Order {
6
6
  readonly _id: string;
7
+ readonly serialOrderId: string;
7
8
  readonly type: OrderTypeEnum;
8
9
  readonly tableNum?: string;
9
10
  readonly serialNum?: string;
@@ -147,6 +147,7 @@ export interface ReceptionPrinter {
147
147
  specificationInNewLine?: boolean;
148
148
  customInformationAtStart?: string;
149
149
  customInformationAtEnd?: string;
150
+ showWaiterName?: boolean;
150
151
  }
151
152
  export interface ChefPrinter {
152
153
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@freedom_sky/feige-lib",
3
- "version": "4.4.0",
3
+ "version": "4.8.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -256,21 +256,21 @@ class Const {
256
256
  dateTime: 'YYYY-MM-DD HH:mm:ss',
257
257
  date: 'YYYY-MM-DD',
258
258
  yearMonth: 'YYYY-MM',
259
- MonthDay: 'MM-DD HH:mm',
259
+ MonthDayHourMinute: 'MM-DD HH:mm',
260
260
  yearMonthDayHourMinute: 'YYYY-MM-DD HH:mm',
261
261
  },
262
262
  DAY_MONTH_YEAR: {
263
263
  dateTime: 'DD-MM-YYYY HH:mm:ss',
264
264
  date: 'DD-MM-YYYY',
265
265
  yearMonth: 'MM-YYYY',
266
- MonthDay: 'DD-MM HH:mm',
266
+ MonthDayHourMinute: 'DD-MM HH:mm',
267
267
  yearMonthDayHourMinute: 'DD-MM-YYYY HH:mm',
268
268
  },
269
269
  YEAR_MONTH_DAY_REVERSE: {
270
270
  dateTime: 'HH:mm:ss YYYY-MM-DD',
271
271
  date: 'YYYY-MM-DD',
272
272
  yearMonth: 'YYYY-MM',
273
- MonthDay: 'MM-DD HH:mm',
273
+ MonthDayHourMinute: 'MM-DD HH:mm',
274
274
  yearMonthDayHourMinute: 'HH:mm YYYY-MM-DD',
275
275
  },
276
276
  };
@@ -25,4 +25,5 @@ export enum PrinterWidthEnum {
25
25
  export enum PrintTypeEnum {
26
26
  Reception = 'reception',
27
27
  Chef = 'chef',
28
+ Label = 'label',
28
29
  }
@@ -4,6 +4,7 @@ import { OrderTypeEnum } from '../../enum/order.enum';
4
4
  import { TaxTypeEnum } from '../../enum/tax.enum';
5
5
  export interface Order {
6
6
  readonly _id: string;
7
+ readonly serialOrderId: string;
7
8
  readonly type: OrderTypeEnum;
8
9
  readonly tableNum?: string;
9
10
  readonly serialNum?: string;
@@ -149,6 +149,7 @@ export interface ReceptionPrinter {
149
149
  specificationInNewLine?: boolean;
150
150
  customInformationAtStart?: string;
151
151
  customInformationAtEnd?: string;
152
+ showWaiterName?: boolean;
152
153
  }
153
154
 
154
155
  export interface ChefPrinter {