@posx/core 5.5.97 → 5.5.98

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
@@ -957,6 +957,7 @@ declare module '@posx/core/services/app.service' {
957
957
  initialize(): Promise<void>;
958
958
  renderPrintTemplate(invoice: IInvoice, config: IConfig, template: IPrintTemplate, options?: RenderPrintTemplateOptions): Promise<IPrintCommand>;
959
959
  renderReportPrintTemplate(reportData: ReportData, config: IConfig, template: IPrintTemplate, options?: RenderPrintTemplateOptions): Promise<IPrintCommand>;
960
+ renderQrCodePrintTemplate(sectionItem: ISectionItem, config: IConfig, template: IPrintTemplate, options?: RenderPrintTemplateOptions): Promise<IPrintCommand>;
960
961
  private getPrintTemplate;
961
962
  private getCodepageByCountryCode;
962
963
  private renderPrintCommand;
@@ -3409,6 +3410,7 @@ declare module '@posx/core/types/printer.type' {
3409
3410
  import { IConfig } from '@posx/core/types/config.type';
3410
3411
  import { IInvoice } from '@posx/core/types/invoice.type';
3411
3412
  import { IReportData } from '@posx/core/types/report.type';
3413
+ import { ISectionItem } from '@posx/core/types/section.type';
3412
3414
  export interface IDevice extends IAppCoreModel {
3413
3415
  machine_name: string;
3414
3416
  connection_id: string;
@@ -3608,6 +3610,7 @@ declare module '@posx/core/types/printer.type' {
3608
3610
  config: IConfig;
3609
3611
  invoice: IInvoice;
3610
3612
  report_data: IReportData;
3613
+ section_item: ISectionItem;
3611
3614
  printer_name: string;
3612
3615
  printed_at: Date;
3613
3616
  normalized_printed_at: string;
@@ -4414,6 +4417,7 @@ declare module '@posx/core/types/section.type' {
4414
4417
  soup_base_quota: number;
4415
4418
  /** Soup base type */
4416
4419
  soup_base_type: number;
4420
+ meta: Record<string, any>;
4417
4421
  }
4418
4422
  export class SectionItem extends AppBaseModel implements ISectionItem {
4419
4423
  printer_id_order_list: number[];
@@ -4435,6 +4439,7 @@ declare module '@posx/core/types/section.type' {
4435
4439
  soup_base_quota: number;
4436
4440
  soup_base_type: number;
4437
4441
  is_delete: boolean;
4442
+ meta: Record<string, any>;
4438
4443
  constructor();
4439
4444
  }
4440
4445
  export type ISection = IAppBaseModel & IAppModelSequence;