@posx/core 5.5.156 → 5.5.157
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 +7 -0
- package/build/index.js +1 -1
- package/package.json +1 -1
- package/package.publish.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -1479,6 +1479,12 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1479
1479
|
* @param addOnInvoice incremental invoice from signalr or online order
|
|
1480
1480
|
*/
|
|
1481
1481
|
appendInvoice(mainInvoice: IInvoice, addOnInvoice: IInvoice): IInvoice;
|
|
1482
|
+
/**
|
|
1483
|
+
* Merge sourceInvoice into targetInvoice
|
|
1484
|
+
* @param targetInvoice target invoice
|
|
1485
|
+
* @param sourceInvoice source invoice
|
|
1486
|
+
*/
|
|
1487
|
+
mergeInvoice(targetInvoice: IInvoice, sourceInvoice: IInvoice): Promise<IInvoice>;
|
|
1482
1488
|
/**
|
|
1483
1489
|
* Queries invoices using the QueryBuilder to construct filter parameters
|
|
1484
1490
|
* @param query QueryBuilder instance to build the query
|
|
@@ -1566,6 +1572,7 @@ declare module '@posx/core/services/invoice.service' {
|
|
|
1566
1572
|
addCustomerToInvoice(invoice: IInvoice, customer: ICustomer): IInvoice;
|
|
1567
1573
|
autoQuery(query: QueryBuilder<IInvoice & QueryEtcParams>): Promise<QueryResponse<IInvoice>>;
|
|
1568
1574
|
appendInvoice(mainInvoice: IInvoice, addOnInvoice: IInvoice): IInvoice;
|
|
1575
|
+
mergeInvoice(targetInvoice: IInvoice, sourceInvoice: IInvoice): Promise<IInvoice>;
|
|
1569
1576
|
getRefId(): Promise<string>;
|
|
1570
1577
|
changePayments(invoice: IInvoice, options: IChangePaymentMethodOption[]): Promise<IInvoice>;
|
|
1571
1578
|
private formatDate;
|