@posx/core 5.5.629 → 5.5.631
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.
- package/build/index.d.ts +337 -290
- package/build/index.js +4 -4
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -375,75 +375,6 @@ type IAppCore = Omit<IAppCoreModel, "id_in_server" | "_timestamp">;
|
|
|
375
375
|
type IAppBase = Omit<IAppBaseModel, "id_in_server" | "_timestamp">;
|
|
376
376
|
type IAppExtra = Omit<IAppExtraModel, "id_in_server" | "_timestamp">;
|
|
377
377
|
//#endregion
|
|
378
|
-
//#region src/types/shift.type.d.ts
|
|
379
|
-
declare enum ShiftStatus {
|
|
380
|
-
Open = "opened",
|
|
381
|
-
// example value
|
|
382
|
-
Closed = "closed",
|
|
383
|
-
}
|
|
384
|
-
interface IShift extends IAppCoreModel {
|
|
385
|
-
/** user uid */
|
|
386
|
-
user_uid: string;
|
|
387
|
-
/** shift started at */
|
|
388
|
-
started_at: Date;
|
|
389
|
-
/** shift closed at */
|
|
390
|
-
ended_at: Date;
|
|
391
|
-
/** amount declared by user */
|
|
392
|
-
declared_amount: number;
|
|
393
|
-
/** amount recorded by */
|
|
394
|
-
drawer_amount: number;
|
|
395
|
-
/** Operation Status */
|
|
396
|
-
status: ShiftStatus;
|
|
397
|
-
/** first invoice number */
|
|
398
|
-
first_invoice_number: number;
|
|
399
|
-
}
|
|
400
|
-
declare class Shift extends AppCoreModel implements IShift {
|
|
401
|
-
user_uid: string;
|
|
402
|
-
started_at: Date;
|
|
403
|
-
ended_at: Date;
|
|
404
|
-
declared_amount: number;
|
|
405
|
-
drawer_amount: number;
|
|
406
|
-
first_invoice_number: number;
|
|
407
|
-
status: ShiftStatus;
|
|
408
|
-
uid: string;
|
|
409
|
-
constructor();
|
|
410
|
-
}
|
|
411
|
-
declare enum TillType {
|
|
412
|
-
OpenDeposit = "open_deposit",
|
|
413
|
-
// example value
|
|
414
|
-
CashDeposit = "cash_deposit",
|
|
415
|
-
// example value
|
|
416
|
-
CashIn = "cash_in",
|
|
417
|
-
// example value
|
|
418
|
-
CashOut = "cash_out",
|
|
419
|
-
// example value
|
|
420
|
-
CashInvoice = "cash_invoice",
|
|
421
|
-
}
|
|
422
|
-
interface ITill extends AppCoreModel {
|
|
423
|
-
/** user uid */
|
|
424
|
-
user_uid: string;
|
|
425
|
-
/** operation history id */
|
|
426
|
-
shift_uid: string;
|
|
427
|
-
/** invoice uid */
|
|
428
|
-
invoice_uid: string;
|
|
429
|
-
/** Till Type */
|
|
430
|
-
type: TillType;
|
|
431
|
-
/** Amount */
|
|
432
|
-
amount: number;
|
|
433
|
-
/** Note */
|
|
434
|
-
note: string;
|
|
435
|
-
}
|
|
436
|
-
declare class Till extends AppCoreModel implements ITill {
|
|
437
|
-
user_uid: string;
|
|
438
|
-
shift_uid: string;
|
|
439
|
-
invoice_uid: string;
|
|
440
|
-
type: TillType;
|
|
441
|
-
amount: number;
|
|
442
|
-
note: string;
|
|
443
|
-
uid: string;
|
|
444
|
-
constructor();
|
|
445
|
-
}
|
|
446
|
-
//#endregion
|
|
447
378
|
//#region ../../node_modules/.pnpm/dexie@4.3.0/node_modules/dexie/dist/dexie.d.ts
|
|
448
379
|
/*
|
|
449
380
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
|
@@ -1630,19 +1561,305 @@ interface IAppRemoteService<T extends IAppCoreModel> extends IAppCoreService<T>
|
|
|
1630
1561
|
*/
|
|
1631
1562
|
hardDeleteOne(model: T): Promise<T>;
|
|
1632
1563
|
}
|
|
1633
|
-
declare class AppRemoteService<T extends IAppCoreModel> extends AppCoreService<T> implements IAppRemoteService<T> {
|
|
1634
|
-
protected readonly http: AxiosInstance;
|
|
1635
|
-
readonly moduleName: string;
|
|
1636
|
-
protected readonly methodName: string;
|
|
1637
|
-
protected readonly options: IServiceOptions;
|
|
1638
|
-
addOne(item: T): Promise<T>;
|
|
1639
|
-
updateOne(id: number, item: Partial<T>): Promise<T>;
|
|
1640
|
-
updateMany(items: T[]): Promise<T[]>;
|
|
1641
|
-
deleteOne(model: T): Promise<T>;
|
|
1642
|
-
hardDeleteOne(model: T): Promise<T>;
|
|
1564
|
+
declare class AppRemoteService<T extends IAppCoreModel> extends AppCoreService<T> implements IAppRemoteService<T> {
|
|
1565
|
+
protected readonly http: AxiosInstance;
|
|
1566
|
+
readonly moduleName: string;
|
|
1567
|
+
protected readonly methodName: string;
|
|
1568
|
+
protected readonly options: IServiceOptions;
|
|
1569
|
+
addOne(item: T): Promise<T>;
|
|
1570
|
+
updateOne(id: number, item: Partial<T>): Promise<T>;
|
|
1571
|
+
updateMany(items: T[]): Promise<T[]>;
|
|
1572
|
+
deleteOne(model: T): Promise<T>;
|
|
1573
|
+
hardDeleteOne(model: T): Promise<T>;
|
|
1574
|
+
}
|
|
1575
|
+
interface IAppModelSequence {
|
|
1576
|
+
sequence: number;
|
|
1577
|
+
}
|
|
1578
|
+
//#endregion
|
|
1579
|
+
//#region src/types/payment.type.d.ts
|
|
1580
|
+
/**
|
|
1581
|
+
* Payment Entity Interface
|
|
1582
|
+
*/
|
|
1583
|
+
interface IPayment extends IAppCoreModel {
|
|
1584
|
+
/** Invoice ID */
|
|
1585
|
+
invoice_uid: string;
|
|
1586
|
+
/** Tender Amount
|
|
1587
|
+
* tender amount can be greater than invoice amount
|
|
1588
|
+
* So the payment amount is tender_amount - change_amount
|
|
1589
|
+
*/
|
|
1590
|
+
tender_amount: number;
|
|
1591
|
+
/** Change Amount */
|
|
1592
|
+
change_amount: number;
|
|
1593
|
+
/** Payment Method ID */
|
|
1594
|
+
payment_method_uid: string;
|
|
1595
|
+
/** Payment Method Code */
|
|
1596
|
+
payment_method_code: string;
|
|
1597
|
+
/** Selected Payment Method */
|
|
1598
|
+
payment_method_name: string;
|
|
1599
|
+
/** Selected Payment Method */
|
|
1600
|
+
payment_method: IPaymentMethod;
|
|
1601
|
+
/** Payment Method History when payment method is changed */
|
|
1602
|
+
payment_method_history?: IPaymentMethodHistory;
|
|
1603
|
+
}
|
|
1604
|
+
declare class Payment extends AppCoreModel implements IPayment {
|
|
1605
|
+
invoice_uid: string;
|
|
1606
|
+
tender_amount: number;
|
|
1607
|
+
change_amount: number;
|
|
1608
|
+
payment_method_uid: string;
|
|
1609
|
+
payment_method_code: string;
|
|
1610
|
+
payment_method_name: string;
|
|
1611
|
+
payment_method: IPaymentMethod;
|
|
1612
|
+
payment_method_history: IPaymentMethodHistory;
|
|
1613
|
+
uid: string;
|
|
1614
|
+
updated_at: Date;
|
|
1615
|
+
constructor();
|
|
1616
|
+
}
|
|
1617
|
+
/**
|
|
1618
|
+
* Payment Method Entity Interface
|
|
1619
|
+
*/
|
|
1620
|
+
interface IPaymentMethod extends IAppBaseModel, IAppModelSequence {
|
|
1621
|
+
/** Payment Currency ID */
|
|
1622
|
+
payment_currency_id: number;
|
|
1623
|
+
/** Currency Code */
|
|
1624
|
+
currency_code: string;
|
|
1625
|
+
/** Payment Method Code */
|
|
1626
|
+
currency_symbol: string;
|
|
1627
|
+
/** Payment Method Code */
|
|
1628
|
+
payment_method_code: string;
|
|
1629
|
+
/** Payment Name */
|
|
1630
|
+
name: string;
|
|
1631
|
+
/** Code Name */
|
|
1632
|
+
codename: string;
|
|
1633
|
+
/** Name Abbreviation */
|
|
1634
|
+
name_abbrev: string;
|
|
1635
|
+
/** Enable Drawer */
|
|
1636
|
+
enable_drawer: boolean;
|
|
1637
|
+
/** Enable Receipt */
|
|
1638
|
+
enable_receipt: boolean;
|
|
1639
|
+
/** Image URL */
|
|
1640
|
+
image_url: string;
|
|
1641
|
+
/** Custom Image URL */
|
|
1642
|
+
custom_image_url: string;
|
|
1643
|
+
/** Is Cash */
|
|
1644
|
+
is_cash: boolean;
|
|
1645
|
+
/** Is Integrated */
|
|
1646
|
+
is_integrated: boolean;
|
|
1647
|
+
/** Is Disabled */
|
|
1648
|
+
is_disabled: boolean;
|
|
1649
|
+
/** Type */
|
|
1650
|
+
type: number;
|
|
1651
|
+
/** API ID */
|
|
1652
|
+
api_id: string;
|
|
1653
|
+
/** API Key */
|
|
1654
|
+
api_key: string;
|
|
1655
|
+
/** Is Sales Exclusive */
|
|
1656
|
+
is_sales_exclusive: boolean;
|
|
1657
|
+
/** Requires invoice.minus_credit > 0 for validation */
|
|
1658
|
+
enable_credit_validation: boolean;
|
|
1659
|
+
/** Requires invoice.customer_id > 0 for validation */
|
|
1660
|
+
enable_customer_validation: boolean;
|
|
1661
|
+
/** Allow cancellation during payment process */
|
|
1662
|
+
is_cancellable: boolean;
|
|
1663
|
+
/** Only allow this payment method when order balance is zero */
|
|
1664
|
+
require_zero_balance: boolean;
|
|
1665
|
+
/** Allow entering custom amount during payment (e.g., voucher face value) */
|
|
1666
|
+
allow_custom_amount?: boolean;
|
|
1667
|
+
}
|
|
1668
|
+
interface IPaymentMethodHistory extends IPaymentMethod {
|
|
1669
|
+
changed_at: Date;
|
|
1670
|
+
changed_by: string;
|
|
1671
|
+
}
|
|
1672
|
+
declare class PaymentMethod extends AppBaseModel implements IPaymentMethod {
|
|
1673
|
+
sequence: number;
|
|
1674
|
+
payment_currency_id: number;
|
|
1675
|
+
currency_code: string;
|
|
1676
|
+
currency_symbol: string;
|
|
1677
|
+
payment_method_code: string;
|
|
1678
|
+
name: string;
|
|
1679
|
+
codename: string;
|
|
1680
|
+
name_abbrev: string;
|
|
1681
|
+
enable_drawer: boolean;
|
|
1682
|
+
enable_receipt: boolean;
|
|
1683
|
+
image_url: string;
|
|
1684
|
+
custom_image_url: string;
|
|
1685
|
+
is_cash: boolean;
|
|
1686
|
+
is_integrated: boolean;
|
|
1687
|
+
is_disabled: boolean;
|
|
1688
|
+
type: number;
|
|
1689
|
+
api_id: string;
|
|
1690
|
+
api_key: string;
|
|
1691
|
+
is_sales_exclusive: boolean;
|
|
1692
|
+
enable_credit_validation: boolean;
|
|
1693
|
+
enable_customer_validation: boolean;
|
|
1694
|
+
is_cancellable: boolean;
|
|
1695
|
+
require_zero_balance: boolean;
|
|
1696
|
+
allow_custom_amount: boolean;
|
|
1697
|
+
uid: string;
|
|
1698
|
+
constructor();
|
|
1699
|
+
}
|
|
1700
|
+
declare class PaymentMethodHistory extends PaymentMethod {
|
|
1701
|
+
changed_at: Date;
|
|
1702
|
+
changed_by: string;
|
|
1703
|
+
constructor();
|
|
1704
|
+
}
|
|
1705
|
+
interface IStandardPaymentMethod {
|
|
1706
|
+
/** Access Token */
|
|
1707
|
+
access_token: string | null;
|
|
1708
|
+
/** Base64 encoded image */
|
|
1709
|
+
image_base64: string | null;
|
|
1710
|
+
/** Error message */
|
|
1711
|
+
error: string | null;
|
|
1712
|
+
/** Currency code */
|
|
1713
|
+
currency_code: string | null;
|
|
1714
|
+
/** Payment method code */
|
|
1715
|
+
payment_method_code: string;
|
|
1716
|
+
/** Codename of the payment method */
|
|
1717
|
+
codename: string | null;
|
|
1718
|
+
/** Abbreviated name */
|
|
1719
|
+
name_abbrev: string | null;
|
|
1720
|
+
/** Full name */
|
|
1721
|
+
name: string;
|
|
1722
|
+
/** Flag to enable drawer */
|
|
1723
|
+
enable_drawer: boolean;
|
|
1724
|
+
/** Flag to enable receipt */
|
|
1725
|
+
enable_receipt: boolean;
|
|
1726
|
+
/** Image URL */
|
|
1727
|
+
image_url: string;
|
|
1728
|
+
/** Flag for cash payment */
|
|
1729
|
+
is_cash: boolean;
|
|
1730
|
+
/** Flag for integrated payment */
|
|
1731
|
+
is_integrated: boolean;
|
|
1732
|
+
/** Flag to disable the payment method */
|
|
1733
|
+
is_disabled: boolean;
|
|
1734
|
+
/** Type of payment method */
|
|
1735
|
+
type: number;
|
|
1736
|
+
/** API ID */
|
|
1737
|
+
api_id: string | null;
|
|
1738
|
+
/** API Key */
|
|
1739
|
+
api_key: string | null;
|
|
1740
|
+
/** Timestamp of creation */
|
|
1741
|
+
timestamp_create: number;
|
|
1742
|
+
/** Timestamp of last update */
|
|
1743
|
+
timestamp_update: number;
|
|
1744
|
+
toPaymentMethod(): PaymentMethod;
|
|
1745
|
+
}
|
|
1746
|
+
declare class StandardPaymentMethod implements IStandardPaymentMethod {
|
|
1747
|
+
access_token: any;
|
|
1748
|
+
image_base64: any;
|
|
1749
|
+
error: any;
|
|
1750
|
+
currency_code: any;
|
|
1751
|
+
payment_method_code: string;
|
|
1752
|
+
codename: any;
|
|
1753
|
+
name_abbrev: any;
|
|
1754
|
+
name: string;
|
|
1755
|
+
enable_drawer: boolean;
|
|
1756
|
+
enable_receipt: boolean;
|
|
1757
|
+
image_url: string;
|
|
1758
|
+
is_cash: boolean;
|
|
1759
|
+
is_integrated: boolean;
|
|
1760
|
+
is_disabled: boolean;
|
|
1761
|
+
type: number;
|
|
1762
|
+
api_id: any;
|
|
1763
|
+
api_key: any;
|
|
1764
|
+
timestamp_create: number;
|
|
1765
|
+
timestamp_update: number;
|
|
1766
|
+
toPaymentMethod(): PaymentMethod;
|
|
1767
|
+
constructor(init?: Partial<IPaymentMethod>);
|
|
1768
|
+
}
|
|
1769
|
+
type IChangePaymentMethodOption = {
|
|
1770
|
+
source_payment: IPayment;
|
|
1771
|
+
target_payment_method: IPaymentMethod;
|
|
1772
|
+
};
|
|
1773
|
+
/**
|
|
1774
|
+
* Payment sync status enum
|
|
1775
|
+
*/
|
|
1776
|
+
declare enum PaymentStatus {
|
|
1777
|
+
STARTED = "payment_started",
|
|
1778
|
+
COMPLETED = "payment_completed",
|
|
1779
|
+
FAILED = "payment_failed",
|
|
1780
|
+
CANCELLED = "payment_cancelled",
|
|
1781
|
+
}
|
|
1782
|
+
//#endregion
|
|
1783
|
+
//#region src/types/shift.type.d.ts
|
|
1784
|
+
declare enum ShiftStatus {
|
|
1785
|
+
Open = "opened",
|
|
1786
|
+
// example value
|
|
1787
|
+
Closed = "closed",
|
|
1788
|
+
}
|
|
1789
|
+
interface IShift extends IAppCoreModel {
|
|
1790
|
+
/** user uid */
|
|
1791
|
+
user_uid: string;
|
|
1792
|
+
/** shift started at */
|
|
1793
|
+
started_at: Date;
|
|
1794
|
+
/** shift closed at */
|
|
1795
|
+
ended_at: Date;
|
|
1796
|
+
/** amount declared by user */
|
|
1797
|
+
declared_amount: number;
|
|
1798
|
+
/** amount recorded by */
|
|
1799
|
+
drawer_amount: number;
|
|
1800
|
+
/** Operation Status */
|
|
1801
|
+
status: ShiftStatus;
|
|
1802
|
+
/** first invoice number */
|
|
1803
|
+
first_invoice_number: number;
|
|
1804
|
+
}
|
|
1805
|
+
declare class Shift extends AppCoreModel implements IShift {
|
|
1806
|
+
user_uid: string;
|
|
1807
|
+
started_at: Date;
|
|
1808
|
+
ended_at: Date;
|
|
1809
|
+
declared_amount: number;
|
|
1810
|
+
drawer_amount: number;
|
|
1811
|
+
first_invoice_number: number;
|
|
1812
|
+
status: ShiftStatus;
|
|
1813
|
+
uid: string;
|
|
1814
|
+
constructor();
|
|
1815
|
+
}
|
|
1816
|
+
declare enum TillType {
|
|
1817
|
+
OpenDeposit = "open_deposit",
|
|
1818
|
+
// example value
|
|
1819
|
+
CashDeposit = "cash_deposit",
|
|
1820
|
+
// example value
|
|
1821
|
+
CashIn = "cash_in",
|
|
1822
|
+
// example value
|
|
1823
|
+
CashOut = "cash_out",
|
|
1824
|
+
// example value
|
|
1825
|
+
CashInvoice = "cash_invoice",
|
|
1826
|
+
}
|
|
1827
|
+
/** Shift fund flow record: drawer cash = Σ Till where is_cash (legacy records without this field default to cash) */
|
|
1828
|
+
interface ITill extends AppCoreModel {
|
|
1829
|
+
/** user uid */
|
|
1830
|
+
user_uid: string;
|
|
1831
|
+
/** operation history id */
|
|
1832
|
+
shift_uid: string;
|
|
1833
|
+
/** invoice uid */
|
|
1834
|
+
invoice_uid: string;
|
|
1835
|
+
/** Till Type */
|
|
1836
|
+
type: TillType;
|
|
1837
|
+
/** Amount */
|
|
1838
|
+
amount: number;
|
|
1839
|
+
/** Note */
|
|
1840
|
+
note: string;
|
|
1841
|
+
/** Payment Method UID */
|
|
1842
|
+
payment_method_uid?: string;
|
|
1843
|
+
/** Payment Method Code */
|
|
1844
|
+
payment_method_code?: string;
|
|
1845
|
+
/** Payment Method Name */
|
|
1846
|
+
payment_method_name?: string;
|
|
1847
|
+
/** Payment Method Snapshot */
|
|
1848
|
+
payment_method?: IPaymentMethod;
|
|
1643
1849
|
}
|
|
1644
|
-
|
|
1645
|
-
|
|
1850
|
+
declare class Till extends AppCoreModel implements ITill {
|
|
1851
|
+
user_uid: string;
|
|
1852
|
+
shift_uid: string;
|
|
1853
|
+
invoice_uid: string;
|
|
1854
|
+
type: TillType;
|
|
1855
|
+
amount: number;
|
|
1856
|
+
note: string;
|
|
1857
|
+
uid: string;
|
|
1858
|
+
payment_method_uid?: string;
|
|
1859
|
+
payment_method_code?: string;
|
|
1860
|
+
payment_method_name?: string;
|
|
1861
|
+
payment_method?: IPaymentMethod;
|
|
1862
|
+
constructor();
|
|
1646
1863
|
}
|
|
1647
1864
|
//#endregion
|
|
1648
1865
|
//#region src/types/section.type.d.ts
|
|
@@ -2199,6 +2416,8 @@ interface IItem extends ICoreItem {
|
|
|
2199
2416
|
attached_items?: string[];
|
|
2200
2417
|
/** If true, item is excluded from search results */
|
|
2201
2418
|
non_searchable?: boolean;
|
|
2419
|
+
/** If true, item is auto-added based on pax count (e.g., tea charge) */
|
|
2420
|
+
is_pax_linked?: boolean;
|
|
2202
2421
|
}
|
|
2203
2422
|
declare class Item extends CoreItem implements IItem {
|
|
2204
2423
|
codename: string;
|
|
@@ -2241,6 +2460,7 @@ declare class Item extends CoreItem implements IItem {
|
|
|
2241
2460
|
open_price_editor: boolean;
|
|
2242
2461
|
combo_groups: IComboGroup[];
|
|
2243
2462
|
non_searchable?: boolean;
|
|
2463
|
+
is_pax_linked?: boolean;
|
|
2244
2464
|
constructor();
|
|
2245
2465
|
}
|
|
2246
2466
|
interface IPrice extends IAppCoreModel {
|
|
@@ -2551,210 +2771,6 @@ declare class PrintCommand implements IPrintCommand {
|
|
|
2551
2771
|
items: IPrintCommandLine[];
|
|
2552
2772
|
}
|
|
2553
2773
|
//#endregion
|
|
2554
|
-
//#region src/types/payment.type.d.ts
|
|
2555
|
-
/**
|
|
2556
|
-
* Payment Entity Interface
|
|
2557
|
-
*/
|
|
2558
|
-
interface IPayment extends IAppCoreModel {
|
|
2559
|
-
/** Invoice ID */
|
|
2560
|
-
invoice_uid: string;
|
|
2561
|
-
/** Tender Amount
|
|
2562
|
-
* tender amount can be greater than invoice amount
|
|
2563
|
-
* So the payment amount is tender_amount - change_amount
|
|
2564
|
-
*/
|
|
2565
|
-
tender_amount: number;
|
|
2566
|
-
/** Change Amount */
|
|
2567
|
-
change_amount: number;
|
|
2568
|
-
/** Payment Method ID */
|
|
2569
|
-
payment_method_uid: string;
|
|
2570
|
-
/** Payment Method Code */
|
|
2571
|
-
payment_method_code: string;
|
|
2572
|
-
/** Selected Payment Method */
|
|
2573
|
-
payment_method_name: string;
|
|
2574
|
-
/** Selected Payment Method */
|
|
2575
|
-
payment_method: IPaymentMethod;
|
|
2576
|
-
/** Payment Method History when payment method is changed */
|
|
2577
|
-
payment_method_history?: IPaymentMethodHistory;
|
|
2578
|
-
}
|
|
2579
|
-
declare class Payment extends AppCoreModel implements IPayment {
|
|
2580
|
-
invoice_uid: string;
|
|
2581
|
-
tender_amount: number;
|
|
2582
|
-
change_amount: number;
|
|
2583
|
-
payment_method_uid: string;
|
|
2584
|
-
payment_method_code: string;
|
|
2585
|
-
payment_method_name: string;
|
|
2586
|
-
payment_method: IPaymentMethod;
|
|
2587
|
-
payment_method_history: IPaymentMethodHistory;
|
|
2588
|
-
uid: string;
|
|
2589
|
-
updated_at: Date;
|
|
2590
|
-
constructor();
|
|
2591
|
-
}
|
|
2592
|
-
/**
|
|
2593
|
-
* Payment Method Entity Interface
|
|
2594
|
-
*/
|
|
2595
|
-
interface IPaymentMethod extends IAppBaseModel, IAppModelSequence {
|
|
2596
|
-
/** Payment Currency ID */
|
|
2597
|
-
payment_currency_id: number;
|
|
2598
|
-
/** Currency Code */
|
|
2599
|
-
currency_code: string;
|
|
2600
|
-
/** Payment Method Code */
|
|
2601
|
-
currency_symbol: string;
|
|
2602
|
-
/** Payment Method Code */
|
|
2603
|
-
payment_method_code: string;
|
|
2604
|
-
/** Payment Name */
|
|
2605
|
-
name: string;
|
|
2606
|
-
/** Code Name */
|
|
2607
|
-
codename: string;
|
|
2608
|
-
/** Name Abbreviation */
|
|
2609
|
-
name_abbrev: string;
|
|
2610
|
-
/** Enable Drawer */
|
|
2611
|
-
enable_drawer: boolean;
|
|
2612
|
-
/** Enable Receipt */
|
|
2613
|
-
enable_receipt: boolean;
|
|
2614
|
-
/** Image URL */
|
|
2615
|
-
image_url: string;
|
|
2616
|
-
/** Custom Image URL */
|
|
2617
|
-
custom_image_url: string;
|
|
2618
|
-
/** Is Cash */
|
|
2619
|
-
is_cash: boolean;
|
|
2620
|
-
/** Is Integrated */
|
|
2621
|
-
is_integrated: boolean;
|
|
2622
|
-
/** Is Disabled */
|
|
2623
|
-
is_disabled: boolean;
|
|
2624
|
-
/** Type */
|
|
2625
|
-
type: number;
|
|
2626
|
-
/** API ID */
|
|
2627
|
-
api_id: string;
|
|
2628
|
-
/** API Key */
|
|
2629
|
-
api_key: string;
|
|
2630
|
-
/** Is Sales Exclusive */
|
|
2631
|
-
is_sales_exclusive: boolean;
|
|
2632
|
-
/** Requires invoice.minus_credit > 0 for validation */
|
|
2633
|
-
enable_credit_validation: boolean;
|
|
2634
|
-
/** Requires invoice.customer_id > 0 for validation */
|
|
2635
|
-
enable_customer_validation: boolean;
|
|
2636
|
-
/** Allow cancellation during payment process */
|
|
2637
|
-
is_cancellable: boolean;
|
|
2638
|
-
/** Only allow this payment method when order balance is zero */
|
|
2639
|
-
require_zero_balance: boolean;
|
|
2640
|
-
/** Allow entering custom amount during payment (e.g., voucher face value) */
|
|
2641
|
-
allow_custom_amount?: boolean;
|
|
2642
|
-
}
|
|
2643
|
-
interface IPaymentMethodHistory extends IPaymentMethod {
|
|
2644
|
-
changed_at: Date;
|
|
2645
|
-
changed_by: string;
|
|
2646
|
-
}
|
|
2647
|
-
declare class PaymentMethod extends AppBaseModel implements IPaymentMethod {
|
|
2648
|
-
sequence: number;
|
|
2649
|
-
payment_currency_id: number;
|
|
2650
|
-
currency_code: string;
|
|
2651
|
-
currency_symbol: string;
|
|
2652
|
-
payment_method_code: string;
|
|
2653
|
-
name: string;
|
|
2654
|
-
codename: string;
|
|
2655
|
-
name_abbrev: string;
|
|
2656
|
-
enable_drawer: boolean;
|
|
2657
|
-
enable_receipt: boolean;
|
|
2658
|
-
image_url: string;
|
|
2659
|
-
custom_image_url: string;
|
|
2660
|
-
is_cash: boolean;
|
|
2661
|
-
is_integrated: boolean;
|
|
2662
|
-
is_disabled: boolean;
|
|
2663
|
-
type: number;
|
|
2664
|
-
api_id: string;
|
|
2665
|
-
api_key: string;
|
|
2666
|
-
is_sales_exclusive: boolean;
|
|
2667
|
-
enable_credit_validation: boolean;
|
|
2668
|
-
enable_customer_validation: boolean;
|
|
2669
|
-
is_cancellable: boolean;
|
|
2670
|
-
require_zero_balance: boolean;
|
|
2671
|
-
allow_custom_amount: boolean;
|
|
2672
|
-
uid: string;
|
|
2673
|
-
constructor();
|
|
2674
|
-
}
|
|
2675
|
-
declare class PaymentMethodHistory extends PaymentMethod {
|
|
2676
|
-
changed_at: Date;
|
|
2677
|
-
changed_by: string;
|
|
2678
|
-
constructor();
|
|
2679
|
-
}
|
|
2680
|
-
interface IStandardPaymentMethod {
|
|
2681
|
-
/** Access Token */
|
|
2682
|
-
access_token: string | null;
|
|
2683
|
-
/** Base64 encoded image */
|
|
2684
|
-
image_base64: string | null;
|
|
2685
|
-
/** Error message */
|
|
2686
|
-
error: string | null;
|
|
2687
|
-
/** Currency code */
|
|
2688
|
-
currency_code: string | null;
|
|
2689
|
-
/** Payment method code */
|
|
2690
|
-
payment_method_code: string;
|
|
2691
|
-
/** Codename of the payment method */
|
|
2692
|
-
codename: string | null;
|
|
2693
|
-
/** Abbreviated name */
|
|
2694
|
-
name_abbrev: string | null;
|
|
2695
|
-
/** Full name */
|
|
2696
|
-
name: string;
|
|
2697
|
-
/** Flag to enable drawer */
|
|
2698
|
-
enable_drawer: boolean;
|
|
2699
|
-
/** Flag to enable receipt */
|
|
2700
|
-
enable_receipt: boolean;
|
|
2701
|
-
/** Image URL */
|
|
2702
|
-
image_url: string;
|
|
2703
|
-
/** Flag for cash payment */
|
|
2704
|
-
is_cash: boolean;
|
|
2705
|
-
/** Flag for integrated payment */
|
|
2706
|
-
is_integrated: boolean;
|
|
2707
|
-
/** Flag to disable the payment method */
|
|
2708
|
-
is_disabled: boolean;
|
|
2709
|
-
/** Type of payment method */
|
|
2710
|
-
type: number;
|
|
2711
|
-
/** API ID */
|
|
2712
|
-
api_id: string | null;
|
|
2713
|
-
/** API Key */
|
|
2714
|
-
api_key: string | null;
|
|
2715
|
-
/** Timestamp of creation */
|
|
2716
|
-
timestamp_create: number;
|
|
2717
|
-
/** Timestamp of last update */
|
|
2718
|
-
timestamp_update: number;
|
|
2719
|
-
toPaymentMethod(): PaymentMethod;
|
|
2720
|
-
}
|
|
2721
|
-
declare class StandardPaymentMethod implements IStandardPaymentMethod {
|
|
2722
|
-
access_token: any;
|
|
2723
|
-
image_base64: any;
|
|
2724
|
-
error: any;
|
|
2725
|
-
currency_code: any;
|
|
2726
|
-
payment_method_code: string;
|
|
2727
|
-
codename: any;
|
|
2728
|
-
name_abbrev: any;
|
|
2729
|
-
name: string;
|
|
2730
|
-
enable_drawer: boolean;
|
|
2731
|
-
enable_receipt: boolean;
|
|
2732
|
-
image_url: string;
|
|
2733
|
-
is_cash: boolean;
|
|
2734
|
-
is_integrated: boolean;
|
|
2735
|
-
is_disabled: boolean;
|
|
2736
|
-
type: number;
|
|
2737
|
-
api_id: any;
|
|
2738
|
-
api_key: any;
|
|
2739
|
-
timestamp_create: number;
|
|
2740
|
-
timestamp_update: number;
|
|
2741
|
-
toPaymentMethod(): PaymentMethod;
|
|
2742
|
-
constructor(init?: Partial<IPaymentMethod>);
|
|
2743
|
-
}
|
|
2744
|
-
type IChangePaymentMethodOption = {
|
|
2745
|
-
source_payment: IPayment;
|
|
2746
|
-
target_payment_method: IPaymentMethod;
|
|
2747
|
-
};
|
|
2748
|
-
/**
|
|
2749
|
-
* Payment sync status enum
|
|
2750
|
-
*/
|
|
2751
|
-
declare enum PaymentStatus {
|
|
2752
|
-
STARTED = "payment_started",
|
|
2753
|
-
COMPLETED = "payment_completed",
|
|
2754
|
-
FAILED = "payment_failed",
|
|
2755
|
-
CANCELLED = "payment_cancelled",
|
|
2756
|
-
}
|
|
2757
|
-
//#endregion
|
|
2758
2774
|
//#region src/types/condition.type.d.ts
|
|
2759
2775
|
declare enum Condition {
|
|
2760
2776
|
None = "",
|
|
@@ -3005,6 +3021,8 @@ interface IInvoiceLine extends IAppCoreModel, Omit<IInvoiceCoreLine, 'item'> {
|
|
|
3005
3021
|
meta: Record<string, any>;
|
|
3006
3022
|
/** Parent line UID if this line is an attached item */
|
|
3007
3023
|
attached_to_line_uid?: string;
|
|
3024
|
+
/** If true, line was auto-added based on pax count */
|
|
3025
|
+
is_pax_linked?: boolean;
|
|
3008
3026
|
}
|
|
3009
3027
|
interface IInvoice extends IAppCoreModel {
|
|
3010
3028
|
/** Invoice reference number which is used for look-up */
|
|
@@ -3215,6 +3233,7 @@ declare class InvoiceLine extends AppCoreModel implements IInvoiceLine {
|
|
|
3215
3233
|
salespersons?: ISalesperson[];
|
|
3216
3234
|
meta: {};
|
|
3217
3235
|
attached_to_line_uid?: string;
|
|
3236
|
+
is_pax_linked?: boolean;
|
|
3218
3237
|
constructor();
|
|
3219
3238
|
}
|
|
3220
3239
|
declare class Invoice extends AppCoreModel implements IInvoice {
|
|
@@ -3744,6 +3763,8 @@ interface IProductConfig {
|
|
|
3744
3763
|
/** Category button shape: square (default), compact (smaller), rectangle (fits more per row) */
|
|
3745
3764
|
category_button_shape?: CategoryButtonShape;
|
|
3746
3765
|
show_codename?: boolean;
|
|
3766
|
+
/** Force all modifiers to single-select mode (hide quantity buttons) */
|
|
3767
|
+
modifier_single_select?: boolean;
|
|
3747
3768
|
}
|
|
3748
3769
|
declare class ProductConfig implements IProductConfig {
|
|
3749
3770
|
enable_codename_search: boolean;
|
|
@@ -3751,6 +3772,7 @@ declare class ProductConfig implements IProductConfig {
|
|
|
3751
3772
|
item_name_bg_opacity: number;
|
|
3752
3773
|
category_button_shape: CategoryButtonShape;
|
|
3753
3774
|
show_codename: boolean;
|
|
3775
|
+
modifier_single_select: boolean;
|
|
3754
3776
|
constructor();
|
|
3755
3777
|
}
|
|
3756
3778
|
declare class GeneralConfig implements IGeneralConfig {
|
|
@@ -3998,6 +4020,8 @@ interface IOrderConfig {
|
|
|
3998
4020
|
booking_simple_mode?: boolean;
|
|
3999
4021
|
/** Check modifier min_order before payment/send */
|
|
4000
4022
|
check_modifier_min_order?: boolean;
|
|
4023
|
+
/** Auto prompt pax count on order start */
|
|
4024
|
+
auto_prompt_pax?: boolean;
|
|
4001
4025
|
}
|
|
4002
4026
|
declare class OrderConfig implements IOrderConfig {
|
|
4003
4027
|
separation_line: boolean;
|
|
@@ -4019,6 +4043,7 @@ declare class OrderConfig implements IOrderConfig {
|
|
|
4019
4043
|
booking_use_real_table: boolean;
|
|
4020
4044
|
booking_simple_mode: boolean;
|
|
4021
4045
|
check_modifier_min_order: boolean;
|
|
4046
|
+
auto_prompt_pax: boolean;
|
|
4022
4047
|
constructor();
|
|
4023
4048
|
}
|
|
4024
4049
|
interface IOrderDisplaySystemConfig {
|
|
@@ -4271,6 +4296,7 @@ type IReportData = {
|
|
|
4271
4296
|
humanized_end_datetime: string;
|
|
4272
4297
|
sales_summary: ISalesSummary;
|
|
4273
4298
|
drawer_summary: IDrawerSummary;
|
|
4299
|
+
non_cash_till_summary: INonCashTillSummary;
|
|
4274
4300
|
payments_summary: IPaymentSummary[];
|
|
4275
4301
|
loyalty_program_summary: ILoyaltyProgramSummary;
|
|
4276
4302
|
item_sales_summary: TItemSalesSummary[];
|
|
@@ -4293,6 +4319,7 @@ declare class ReportData implements IReportData {
|
|
|
4293
4319
|
humanized_printed_datetime: string;
|
|
4294
4320
|
sales_summary: SalesSummary;
|
|
4295
4321
|
drawer_summary: DrawerSummary;
|
|
4322
|
+
non_cash_till_summary: NonCashTillSummary;
|
|
4296
4323
|
payments_summary: PaymentSummary[];
|
|
4297
4324
|
loyalty_program_summary: LoyaltyProgramSummary;
|
|
4298
4325
|
item_sales_summary: ItemSalesSummary[];
|
|
@@ -4382,6 +4409,22 @@ declare class DrawerSummary implements IDrawerSummary {
|
|
|
4382
4409
|
pay_out_total: number;
|
|
4383
4410
|
pay_out_count: number;
|
|
4384
4411
|
}
|
|
4412
|
+
type INonCashTillSummary = {
|
|
4413
|
+
pay_in_total: number;
|
|
4414
|
+
pay_in_count: number;
|
|
4415
|
+
pay_out_total: number;
|
|
4416
|
+
pay_out_count: number;
|
|
4417
|
+
pay_in_by_method: IPaymentSummary[];
|
|
4418
|
+
pay_out_by_method: IPaymentSummary[];
|
|
4419
|
+
};
|
|
4420
|
+
declare class NonCashTillSummary implements INonCashTillSummary {
|
|
4421
|
+
pay_in_total: number;
|
|
4422
|
+
pay_in_count: number;
|
|
4423
|
+
pay_out_total: number;
|
|
4424
|
+
pay_out_count: number;
|
|
4425
|
+
pay_in_by_method: IPaymentSummary[];
|
|
4426
|
+
pay_out_by_method: IPaymentSummary[];
|
|
4427
|
+
}
|
|
4385
4428
|
type IPaymentSummary = {
|
|
4386
4429
|
code: string;
|
|
4387
4430
|
name: string;
|
|
@@ -5272,8 +5315,8 @@ declare class ProductService extends AppRemoteService<IItem> implements IProduct
|
|
|
5272
5315
|
interface IShiftService extends IAppRemoteService<IShift> {
|
|
5273
5316
|
closeShift(declareAmount: number, userUid: string): Promise<IShift>;
|
|
5274
5317
|
openShift(openAmount: number, userUid: string, note?: string): Promise<IShift>;
|
|
5275
|
-
cashIn(amount: number, note: string): Promise<ITill>;
|
|
5276
|
-
cashOut(amount: number, note: string): Promise<ITill>;
|
|
5318
|
+
cashIn(amount: number, note: string, paymentMethod?: IPaymentMethod): Promise<ITill>;
|
|
5319
|
+
cashOut(amount: number, note: string, paymentMethod?: IPaymentMethod): Promise<ITill>;
|
|
5277
5320
|
}
|
|
5278
5321
|
declare class ShiftService extends AppRemoteService<IShift> implements IShiftService {
|
|
5279
5322
|
readonly http: AxiosInstance;
|
|
@@ -5283,8 +5326,8 @@ declare class ShiftService extends AppRemoteService<IShift> implements IShiftSer
|
|
|
5283
5326
|
readonly methodName: string;
|
|
5284
5327
|
private tillService;
|
|
5285
5328
|
constructor(http: AxiosInstance, db: Dexie, options: IServiceOptions, moduleName?: string, methodName?: string);
|
|
5286
|
-
cashIn(amount: number, note: string): Promise<ITill>;
|
|
5287
|
-
cashOut(amount: number, note: string): Promise<ITill>;
|
|
5329
|
+
cashIn(amount: number, note: string, paymentMethod?: IPaymentMethod): Promise<ITill>;
|
|
5330
|
+
cashOut(amount: number, note: string, paymentMethod?: IPaymentMethod): Promise<ITill>;
|
|
5288
5331
|
closeShift(declareAmount: number, userUid: string): Promise<IShift>;
|
|
5289
5332
|
openShift(openAmount: number, userUid: string, note?: string): Promise<IShift>;
|
|
5290
5333
|
}
|
|
@@ -6305,6 +6348,8 @@ interface IInvoiceOperationService extends ILineOperationService {
|
|
|
6305
6348
|
sliceInvoice(invoice: IInvoice): IInvoice[];
|
|
6306
6349
|
/** Create void slip print jobs using order slip template with cancel marking */
|
|
6307
6350
|
createVoidSlipPrintJobs(invoice: IInvoice, lines: IInvoiceLine[], sectionItem: ISectionItem): Promise<IPrintJob[]>;
|
|
6351
|
+
/** Create order docket print jobs for already-sent quantities only (excludes unsent remainder) */
|
|
6352
|
+
createFullOrderDocketPrintJob(invoice: IInvoice): Promise<IPrintJob[]>;
|
|
6308
6353
|
}
|
|
6309
6354
|
declare class InvoiceOperationService extends LineOperationService implements IInvoiceOperationService {
|
|
6310
6355
|
addInvoice(invoice: IInvoice): Promise<IInvoice>;
|
|
@@ -6344,6 +6389,8 @@ declare class InvoiceOperationService extends LineOperationService implements II
|
|
|
6344
6389
|
private sortLineModifiers;
|
|
6345
6390
|
private createKitchenPrintJobs;
|
|
6346
6391
|
private createOrderPrintJobs;
|
|
6392
|
+
/** Create order docket print jobs for already-sent quantities only (excludes unsent remainder) */
|
|
6393
|
+
createFullOrderDocketPrintJob(invoice: IInvoice): Promise<IPrintJob[]>;
|
|
6347
6394
|
/** Create void slip print jobs using order slip template with cancel marking */
|
|
6348
6395
|
createVoidSlipPrintJobs(invoice: IInvoice, lines: IInvoiceLine[], sectionItem: ISectionItem): Promise<IPrintJob[]>;
|
|
6349
6396
|
private createLabelPrintJobs;
|
|
@@ -6543,5 +6590,5 @@ interface ValidationResult {
|
|
|
6543
6590
|
}
|
|
6544
6591
|
declare function validateSTTemplate(jsonStr: string): ValidationResult;
|
|
6545
6592
|
//#endregion
|
|
6546
|
-
export { Address, AlipayMethod, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, Appointment, AppointmentService, AppointmentServiceLine, AppointmentSource, AppointmentStatus, AssetItem, AssetTags, AssetType, Between, Cache, CalcFlow, CalcType, CancelInvoiceOptions, CardPaymentCode, CashDrawerConfig, Category, CategoryButtonShape, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, CheckInvoiceOptions, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CreateInvoiceOptions, CrmConfig, CurrencyConfig, CustomResponse, Customer, CustomerDisplaySystemConfig, DayOfWeek, DeployChannel, Device, DeviceEtc, DeviceType, DirectPayInvoiceOptions, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, EventPrintConfig, FileUploadRequest, GTOConfig, GeneralConfig, GetManyResult, Holiday, IAddress, IAppBase, IAppBaseModel, IAppConfig, IAppCore, IAppCoreModel, IAppCoreService, IAppExtra, IAppExtraModel, IAppLocalService, IAppMiscService, IAppModelSequence, IAppRemoteService, IAppReport, IAppReportService, IApplying, IAppointment, IAppointmentService, IAppointmentServiceLine, ICache, ICashDrawerConfig, ICategory, ICategoryService, IChangePaymentMethodOption, ICharge, IChargeConfig, IComboGroup, IComboGroupItem, IConfig, IConfigService, ICoreCategory, ICoreItem, ICoupon, ICouponItemized, ICouponUsage, ICredit, ICrmConfig, ICurrencyConfig, ICustomer, ICustomerDisplaySystemConfig, IDevice, IDiscount, IDiscountSummaryEntry, IDrawerSummary, IEmployee, IEmployeeRole, IEmployeeRoleService, IEmployeeService, IEscPosPrinter, IEtc, IEventPrintConfig, IExportRow, IFileUploadRequest, IFileUploadResponse, IFontSize, IGeneralConfig, IGtoConfig, IInventoryConfig, IInvoice, IInvoiceActivity, IInvoiceBaseService, IInvoiceCharge, IInvoiceCoreLine, IInvoiceDiscount, IInvoiceLine, IInvoiceOperationService, IInvoiceService, IItem, IItemService, IKdsConfig, IKioskSystemConfig, IKitchenConfig, ILabelConfig, ILineOperationService, ILoyaltyProgram, ILoyaltyProgramSummary, IMarketing, IMenu, IMenuService, IMerchant, IMerchantAsset, INode, INodePrinter, INote, INoteEntity, INoteGroup, INoteGroupEntity, INoteGroupService, INoteService, IOnlineOrderConfig, IOrderConfig, IOrderDisplay, IOrderDisplayService, IOrderDisplaySystemConfig, IOrderTypeSummary, IPaxConfig, IPayment, IPaymentConfig, IPaymentMethod, IPaymentMethodHistory, IPaymentMethodService, IPaymentService, IPaymentSummary, IPoint, IPrice, IPrintBarcode, IPrintCommand, IPrintCommandLine, IPrintImage, IPrintJob, IPrintJobService, IPrintQrcode, IPrintTable, IPrintTableRowItem, IPrintTemplate, IPrintTemplateCore, IPrintTemplateService, IPrintText, IPrinter, IPrinterService, IProductBase, IProductConfig, IProductService, IPushData, IReceiptConfig, IRenderPrintTemplateOptions, IReport, IReportCategory, IReportConfig, IReportData, IReportRequest, IRoundingConfig, ISalesSummary, ISalesperson, ISection, ISectionItem, ISectionItemService, ISectionService, IServiceOptions, IShift, IShiftService, IStandardPaymentMethod, IStockLog, IStockLogService, IStorage, ISubcategory, ISubcategoryService, ISystemConfig, ITaxConfig, ITemplateData, ITill, ITillConfig, ITillService, IUser, IUserConfig, IVisibility, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LineOptions, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OpenHours, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderDisplaySystemConfig, OrderFlow, PaxConfig, PayInvoiceOptions, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductConfig, ProductPartialAssets, ProductPartialConfig, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Schedule, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, SpecialDay, StandardPaymentMethod, StockChange, StockLog, StockLogEntityType, StockLogRefType, StockLogService, StockLogType, Storage, StorageService, Subcategory, SwitchInvoiceOptions, System, SystemConfig, SystemError, TCategorySalesSummary, TDynamicOrderQR, TItemCoreSalesSummary, TItemSalesSummary, TModifierSalesSummary, TStockChange, TStockChangeItem, TStorageService, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, UpdateGeneralConfigOptions, UpdateInvoiceOptions, User, UserConfig, type ValidationError, type ValidationResult, Visibility, VoidInvoiceOptions, WechatPayMethod, WeeklyHours, createCSVExport, createCSVExportWithHash, dbSchemas, filterByParams, getCategoryButtonShape, humanizedData, importFromCSV, normalizedDate, transformer, validateSTTemplate };
|
|
6593
|
+
export { Address, AlipayMethod, AppBaseModel, AppConfig, AppCoreModel, AppCoreService, AppExtraModel, AppLocalService, AppMiscService, AppRemoteService, AppReport, AppReportService, Applying, Appointment, AppointmentService, AppointmentServiceLine, AppointmentSource, AppointmentStatus, AssetItem, AssetTags, AssetType, Between, Cache, CalcFlow, CalcType, CancelInvoiceOptions, CardPaymentCode, CashDrawerConfig, Category, CategoryButtonShape, CategorySalesSummary, CategoryService, CategoryType, Charge, ChargeConfig, CheckInvoiceOptions, Codepages, ComboGroup, ComboGroupItem, Condition, Config, ConfigService, CoreCategory, CoreItem, Coupon, CouponItemized, CouponUsage, CreateInvoiceOptions, CrmConfig, CurrencyConfig, CustomResponse, Customer, CustomerDisplaySystemConfig, DayOfWeek, DeployChannel, Device, DeviceEtc, DeviceType, DirectPayInvoiceOptions, DiscountType, DrawerSummary, ElectronSocket, Employee, EmployeeRole, EmployeeRoleService, EmployeeService, ErrorMsgs, EscPosCompatibility, EscPosPrinter, EventPrintConfig, FileUploadRequest, GTOConfig, GeneralConfig, GetManyResult, Holiday, IAddress, IAppBase, IAppBaseModel, IAppConfig, IAppCore, IAppCoreModel, IAppCoreService, IAppExtra, IAppExtraModel, IAppLocalService, IAppMiscService, IAppModelSequence, IAppRemoteService, IAppReport, IAppReportService, IApplying, IAppointment, IAppointmentService, IAppointmentServiceLine, ICache, ICashDrawerConfig, ICategory, ICategoryService, IChangePaymentMethodOption, ICharge, IChargeConfig, IComboGroup, IComboGroupItem, IConfig, IConfigService, ICoreCategory, ICoreItem, ICoupon, ICouponItemized, ICouponUsage, ICredit, ICrmConfig, ICurrencyConfig, ICustomer, ICustomerDisplaySystemConfig, IDevice, IDiscount, IDiscountSummaryEntry, IDrawerSummary, IEmployee, IEmployeeRole, IEmployeeRoleService, IEmployeeService, IEscPosPrinter, IEtc, IEventPrintConfig, IExportRow, IFileUploadRequest, IFileUploadResponse, IFontSize, IGeneralConfig, IGtoConfig, IInventoryConfig, IInvoice, IInvoiceActivity, IInvoiceBaseService, IInvoiceCharge, IInvoiceCoreLine, IInvoiceDiscount, IInvoiceLine, IInvoiceOperationService, IInvoiceService, IItem, IItemService, IKdsConfig, IKioskSystemConfig, IKitchenConfig, ILabelConfig, ILineOperationService, ILoyaltyProgram, ILoyaltyProgramSummary, IMarketing, IMenu, IMenuService, IMerchant, IMerchantAsset, INode, INodePrinter, INonCashTillSummary, INote, INoteEntity, INoteGroup, INoteGroupEntity, INoteGroupService, INoteService, IOnlineOrderConfig, IOrderConfig, IOrderDisplay, IOrderDisplayService, IOrderDisplaySystemConfig, IOrderTypeSummary, IPaxConfig, IPayment, IPaymentConfig, IPaymentMethod, IPaymentMethodHistory, IPaymentMethodService, IPaymentService, IPaymentSummary, IPoint, IPrice, IPrintBarcode, IPrintCommand, IPrintCommandLine, IPrintImage, IPrintJob, IPrintJobService, IPrintQrcode, IPrintTable, IPrintTableRowItem, IPrintTemplate, IPrintTemplateCore, IPrintTemplateService, IPrintText, IPrinter, IPrinterService, IProductBase, IProductConfig, IProductService, IPushData, IReceiptConfig, IRenderPrintTemplateOptions, IReport, IReportCategory, IReportConfig, IReportData, IReportRequest, IRoundingConfig, ISalesSummary, ISalesperson, ISection, ISectionItem, ISectionItemService, ISectionService, IServiceOptions, IShift, IShiftService, IStandardPaymentMethod, IStockLog, IStockLogService, IStorage, ISubcategory, ISubcategoryService, ISystemConfig, ITaxConfig, ITemplateData, ITill, ITillConfig, ITillService, IUser, IUserConfig, IVisibility, In, Include, InventoryConfig, Invoice, InvoiceAction, InvoiceActivity, InvoiceBaseService, InvoiceCharge, InvoiceCoreLine, InvoiceDiscount, InvoiceLine, InvoiceOperationService, InvoiceService, InvoiceStatus, InvoiceType, Item, ItemSalesSummary, ItemService, KdsConfig, KioskSystemConfig, KitchenConfig, LabelConfig, LineOperationService, LineOptions, LoyaltyProgram, LoyaltyProgramSummary, MarketingConfig, Menu, MenuService, Merchant, MessageType, ModelPrefix, ModelType, ModifierSalesSummary, Node, NodePrinter, NonCashTillSummary, Not, Note, NoteEntity, NoteGroup, NoteGroupEntity, OnlineOrderConfig, OpenHours, OrderConfig, OrderDisplay, OrderDisplayService, OrderDisplayStatus, OrderDisplaySystemConfig, OrderFlow, PaxConfig, PayInvoiceOptions, Payment, PaymentConfig, PaymentMethod, PaymentMethodHistory, PaymentMethodService, PaymentService, PaymentStatus, PaymentSummary, PaynowMethod, Price, PrintAlign, PrintBarcode, PrintCommand, PrintImage, PrintJob, PrintJobService, PrintJobStatus, PrintQrcode, PrintSize, PrintStyle, PrintTemplate, PrintTemplateCore, PrintTemplateService, PrintType, Printer, PrinterConnections, PrinterProtocols, PrinterService, PrinterStatus, PrinterType, ProductBase, ProductConfig, ProductPartialAssets, ProductPartialConfig, ProductService, ProductType, PushData, Raw, Receipt, RenderPrintTemplateOptions, Report, ReportCategory, ReportConfig, ReportData, ReportType, RoundingConfig, SalesSummary, Schedule, Section, SectionItem, SectionItemService, SectionItemStatus, SectionService, ServiceFactory, ServiceMode, ServiceOptions, Shift, ShiftService, ShiftStatus, SpecialDay, StandardPaymentMethod, StockChange, StockLog, StockLogEntityType, StockLogRefType, StockLogService, StockLogType, Storage, StorageService, Subcategory, SwitchInvoiceOptions, System, SystemConfig, SystemError, TCategorySalesSummary, TDynamicOrderQR, TItemCoreSalesSummary, TItemSalesSummary, TModifierSalesSummary, TStockChange, TStockChangeItem, TStorageService, TaxConfig, TaxMethod, TemplateData, Till, TillConfig, TillService, TillType, UomType, UpdateGeneralConfigOptions, UpdateInvoiceOptions, User, UserConfig, type ValidationError, type ValidationResult, Visibility, VoidInvoiceOptions, WechatPayMethod, WeeklyHours, createCSVExport, createCSVExportWithHash, dbSchemas, filterByParams, getCategoryButtonShape, humanizedData, importFromCSV, normalizedDate, transformer, validateSTTemplate };
|
|
6547
6594
|
//# sourceMappingURL=index.d.ts.map
|