@posx/core 5.3.59 → 5.3.60

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
@@ -3076,7 +3076,8 @@ declare module '@posx/core/types/printer.type' {
3076
3076
  CheckPrinter = "check_printer",
3077
3077
  OrderPrinter = "order_printer",
3078
3078
  KitchenPrinter = "kitchen_printer",
3079
- KioskPrinter = "kiosk_printer"
3079
+ KioskPrinter = "kiosk_printer",
3080
+ LabelPrinter = "label_printer"
3080
3081
  }
3081
3082
  export interface INodePrinter {
3082
3083
  printer_name: string;
@@ -3091,7 +3092,8 @@ declare module '@posx/core/types/printer.type' {
3091
3092
  error: string;
3092
3093
  }
3093
3094
  export enum PrinterProtocols {
3094
- ESCPOS = "ESC/POS"
3095
+ ESCPOS = "ESC/POS",
3096
+ TSPL = "TSPL"
3095
3097
  }
3096
3098
  export enum PrinterConnections {
3097
3099
  USB = "USB",
@@ -3103,11 +3105,13 @@ declare module '@posx/core/types/printer.type' {
3103
3105
  header: string;
3104
3106
  body: string;
3105
3107
  footer: string;
3108
+ commands: string;
3106
3109
  };
3107
3110
  export class PrintTemplateCore implements IPrintTemplateCore {
3108
3111
  header: string;
3109
3112
  body: string;
3110
3113
  footer: string;
3114
+ commands: string;
3111
3115
  type: PrinterType;
3112
3116
  constructor();
3113
3117
  }
@@ -3119,6 +3123,7 @@ declare module '@posx/core/types/printer.type' {
3119
3123
  header: string;
3120
3124
  body: string;
3121
3125
  footer: string;
3126
+ commands: string;
3122
3127
  printer_type: PrinterType;
3123
3128
  uid: string;
3124
3129
  report_code_name: string;