@posx/core 5.5.175 → 5.5.178
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 +15 -3
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1346,6 +1346,12 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1346
1346
|
* Interface for invoice operation service that extends line operation service
|
|
1347
1347
|
*/
|
|
1348
1348
|
export interface IInvoiceOperationService extends ILineOperationService {
|
|
1349
|
+
/**
|
|
1350
|
+
* Hold an invoice
|
|
1351
|
+
* @param invoice - The invoice to hold
|
|
1352
|
+
* @param sectionItem - The section item to associate with the invoice
|
|
1353
|
+
* @returns A promise that resolves with the held invoice options
|
|
1354
|
+
*/
|
|
1349
1355
|
/**
|
|
1350
1356
|
* Creates an invoice
|
|
1351
1357
|
* @param invoice - The invoice to create
|
|
@@ -1752,6 +1758,10 @@ declare module '@posx/core/services/printer.service' {
|
|
|
1752
1758
|
openCashDrawer(): Promise<void>;
|
|
1753
1759
|
}
|
|
1754
1760
|
|
|
1761
|
+
}
|
|
1762
|
+
declare module '@posx/core/test/services/coupon/applying-item-uids-discount.test' {
|
|
1763
|
+
export {};
|
|
1764
|
+
|
|
1755
1765
|
}
|
|
1756
1766
|
declare module '@posx/core/test/services/discount/coupon-calculation-test/coupon-calculation.test' {
|
|
1757
1767
|
export {};
|
|
@@ -2671,7 +2681,9 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2671
2681
|
ChangePayment = "change_payment",
|
|
2672
2682
|
AddCustomer = "add_customer",
|
|
2673
2683
|
VoidAndDuplicate = "void_and_duplicate",
|
|
2674
|
-
Duplicate = "duplicate"
|
|
2684
|
+
Duplicate = "duplicate",
|
|
2685
|
+
PayAtCounter = "pay_at_counter",
|
|
2686
|
+
PayInvoice = "pay_invoice"
|
|
2675
2687
|
}
|
|
2676
2688
|
export enum UomType {
|
|
2677
2689
|
quantity = "quantity",
|
|
@@ -2949,7 +2961,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
2949
2961
|
is_sales_exclusive: boolean;
|
|
2950
2962
|
/** Etc */
|
|
2951
2963
|
etc: Record<string, any>;
|
|
2952
|
-
/** Action */
|
|
2964
|
+
/** Action : is mainly used for online order and tracking the invoice operation activities*/
|
|
2953
2965
|
action: InvoiceAction;
|
|
2954
2966
|
/** Invoice Lines */
|
|
2955
2967
|
lines: IInvoiceLine[];
|
|
@@ -3082,7 +3094,7 @@ declare module '@posx/core/types/invoice.type' {
|
|
|
3082
3094
|
payment_source_charge_ref: string;
|
|
3083
3095
|
is_sales_exclusive: boolean;
|
|
3084
3096
|
etc: Record<string, any>;
|
|
3085
|
-
action: InvoiceAction
|
|
3097
|
+
action: InvoiceAction;
|
|
3086
3098
|
lines: IInvoiceLine[];
|
|
3087
3099
|
deleted_lines: IInvoiceLine[];
|
|
3088
3100
|
payment_has_cash: boolean;
|