@posx/core 5.5.295 → 5.5.297

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 CHANGED
@@ -1273,7 +1273,7 @@ declare module '@posx/core/services/invoice.service' {
1273
1273
  import { QueryResponse } from '@posx/core/types/auto.query.type';
1274
1274
  import { IChangePaymentMethodOption } from '@posx/core/types/payment.type';
1275
1275
  import { PrinterService } from '@posx/core/services/printer.service';
1276
- import { IPrinter, PrinterType } from '@posx/core/types/printer.type';
1276
+ import { IPrintJob, IPrinter, PrinterType } from '@posx/core/types/printer.type';
1277
1277
  import { IEmployee } from '@posx/core/types/employee.type';
1278
1278
  import { QueryBuilder } from '@posx/core/utils/autoquery.utils';
1279
1279
  import { ICouponItemized } from '@posx/core/types/wyo.coupon.type';
@@ -1691,7 +1691,7 @@ declare module '@posx/core/services/invoice.service' {
1691
1691
  * @returns A promise that resolves with the switched invoice options
1692
1692
  */
1693
1693
  switchInvoice(invoice: IInvoice, targetSectionItem: ISectionItem, sourceSectionItem: ISectionItem, employee?: IEmployee): Promise<SwitchInvoiceOptions>;
1694
- reprintReceipt(invoice: IInvoice): Promise<boolean>;
1694
+ reprintReceipt(invoice: IInvoice): Promise<IPrintJob>;
1695
1695
  printLastKitchenSlips(invoiceUid: string): Promise<boolean>;
1696
1696
  /**
1697
1697
  * Adds a discount to an invoice
@@ -1834,7 +1834,7 @@ declare module '@posx/core/services/invoice.service' {
1834
1834
  directPayInvoice(invoice: IInvoice, till?: ITill, employee?: IEmployee, specificPrinter?: IPrinter, specificKioskDeviceUid?: string, kitchenPrintOverride?: boolean): Promise<DirectPayInvoiceOptions>;
1835
1835
  voidInvoice(invoice: IInvoice, till?: ITill, reason?: string, employee?: IEmployee): Promise<VoidInvoiceOptions>;
1836
1836
  duplicateInvoice(invoice: IInvoice, employee?: IEmployee): Promise<IInvoice>;
1837
- reprintReceipt(invoice: IInvoice): Promise<boolean>;
1837
+ reprintReceipt(invoice: IInvoice, saveOnly?: boolean): Promise<IPrintJob>;
1838
1838
  printLastKitchenSlips(invoiceUid: string): Promise<boolean>;
1839
1839
  addInvoiceDiscount(invoice: IInvoice, discountType: CalcType, amountOrPercent: number, calcFlow?: CalcFlow, name?: string, nameTranslations?: Record<string, string>): IInvoice;
1840
1840
  addCouponToInvoice(invoice: IInvoice, itemized: ICouponItemized, calcFlow?: CalcFlow): IInvoice;