@posx/core 5.5.297 → 5.5.299

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 { IPrintJob, IPrinter, PrinterType } from '@posx/core/types/printer.type';
1276
+ import { IPrintJob, IPrinter, PrintJob, 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';
@@ -1692,6 +1692,7 @@ declare module '@posx/core/services/invoice.service' {
1692
1692
  */
1693
1693
  switchInvoice(invoice: IInvoice, targetSectionItem: ISectionItem, sourceSectionItem: ISectionItem, employee?: IEmployee): Promise<SwitchInvoiceOptions>;
1694
1694
  reprintReceipt(invoice: IInvoice): Promise<IPrintJob>;
1695
+ createReceiptPrintJob(invoice: IInvoice, printerType: PrinterType, saveOnly?: boolean, printTimes?: number, specificPrinter?: IPrinter, specificDeviceUid?: string): Promise<PrintJob | null>;
1695
1696
  printLastKitchenSlips(invoiceUid: string): Promise<boolean>;
1696
1697
  /**
1697
1698
  * Adds a discount to an invoice
@@ -1850,7 +1851,7 @@ declare module '@posx/core/services/invoice.service' {
1850
1851
  changePayments(invoice: IInvoice, options: IChangePaymentMethodOption[]): Promise<IInvoice>;
1851
1852
  private formatDate;
1852
1853
  private addEmployeeToInvoice;
1853
- private createReceiptPrintJob;
1854
+ createReceiptPrintJob(invoice: IInvoice, printerType: PrinterType, saveOnly?: boolean, printTimes?: number, specificPrinter?: IPrinter, specificDeviceUid?: string): Promise<PrintJob | null>;
1854
1855
  private sortLinesByItemSequence;
1855
1856
  private createKitchenPrintJobs;
1856
1857
  private createOrderPrintJobs;