@posx/core 5.3.59 → 5.3.61

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;
@@ -3131,6 +3136,8 @@ declare module '@posx/core/types/printer.type' {
3131
3136
  }
3132
3137
  export interface IPrintJob extends IAppCoreModel {
3133
3138
  printer_name: string;
3139
+ /** Actual printer name using printer driver*/
3140
+ driver_printer_name: string;
3134
3141
  printer_ip: string;
3135
3142
  printer_uid: string;
3136
3143
  printer_type: PrinterType;
@@ -3146,9 +3153,12 @@ declare module '@posx/core/types/printer.type' {
3146
3153
  device_uid_to_print: string;
3147
3154
  /** Designated Table Sections */
3148
3155
  designated_table_section_uids: string[];
3156
+ /** Job ID */
3157
+ job_id: number;
3149
3158
  }
3150
3159
  export class PrintJob extends AppBaseModel implements IPrintJob {
3151
3160
  printer_name: string;
3161
+ driver_printer_name: string;
3152
3162
  printer_ip: string;
3153
3163
  printer_uid: string;
3154
3164
  printer_type: PrinterType;
@@ -3163,6 +3173,7 @@ declare module '@posx/core/types/printer.type' {
3163
3173
  printed: number;
3164
3174
  device_uid_to_print: string;
3165
3175
  designated_table_section_uids: any[];
3176
+ job_id: number;
3166
3177
  constructor(printer: IPrinter, printData: IPrintCommand, saveOnly?: boolean, printTimes?: number);
3167
3178
  }
3168
3179
  export enum PrinterStatus {
@@ -3174,8 +3185,8 @@ declare module '@posx/core/types/printer.type' {
3174
3185
  device_uid: string;
3175
3186
  /** Printer type */
3176
3187
  type: PrinterType;
3177
- /** Actual printer name */
3178
- physical_printer_name: string;
3188
+ /** Actual printer name using printer driver*/
3189
+ driver_printer_name: string;
3179
3190
  /** Backup printer ID */
3180
3191
  fallback_printer_uid: number;
3181
3192
  /** Printer protocol */
@@ -3196,7 +3207,7 @@ declare module '@posx/core/types/printer.type' {
3196
3207
  export class Printer extends AppBaseModel implements IPrinter {
3197
3208
  device_uid: string;
3198
3209
  type: PrinterType;
3199
- physical_printer_name: string;
3210
+ driver_printer_name: string;
3200
3211
  fallback_printer_uid: number;
3201
3212
  protocol: PrinterProtocols;
3202
3213
  connection_type: PrinterConnections;