@managesome/eposmatic-toolkit 0.2.778 → 0.2.780

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.
@@ -248,6 +248,7 @@ export interface IPrinterQueuePayload {
248
248
  job_id: string;
249
249
  receiptOptions?: IReceiptOptions;
250
250
  openDrawer?: boolean;
251
+ autoRetry?: boolean;
251
252
  }
252
253
  export interface IWebviewGetBinaryLogoFromBase64 {
253
254
  base64: string;
@@ -147,6 +147,7 @@ function getGeneralBoolSettings(value) {
147
147
  return {
148
148
  isActive: getBooleanValue(boolSettings.isActive, true),
149
149
  syncWithCloud: getBooleanValue(boolSettings.syncWithCloud, true),
150
+ autoRetry: getBooleanValue(boolSettings.autoRetry, false),
150
151
  experimentalFastPrinting: getBooleanValue(boolSettings.experimentalFastPrinting, false),
151
152
  printReviews: getBooleanValue(boolSettings.printReviews, false),
152
153
  rasterOnlyReceipt: getBooleanValue(boolSettings.rasterOnlyReceipt, false),
@@ -66,6 +66,7 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
66
66
  boolSettings?: {
67
67
  isActive: boolean;
68
68
  syncWithCloud: boolean;
69
+ autoRetry: boolean;
69
70
  experimentalFastPrinting: boolean;
70
71
  printReviews: boolean;
71
72
  rasterOnlyReceipt: boolean;
@@ -135,6 +136,7 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
135
136
  boolSettings?: {
136
137
  isActive: boolean;
137
138
  syncWithCloud: boolean;
139
+ autoRetry: boolean;
138
140
  experimentalFastPrinting: boolean;
139
141
  printReviews: boolean;
140
142
  rasterOnlyReceipt: boolean;
@@ -204,6 +206,7 @@ export declare const PrinterSettingsSchema: Schema<any, import("mongoose").Model
204
206
  boolSettings?: {
205
207
  isActive: boolean;
206
208
  syncWithCloud: boolean;
209
+ autoRetry: boolean;
207
210
  experimentalFastPrinting: boolean;
208
211
  printReviews: boolean;
209
212
  rasterOnlyReceipt: boolean;
@@ -66,6 +66,10 @@ exports.PrinterSettingsSchema = new mongoose_1.Schema({
66
66
  type: Boolean,
67
67
  default: false,
68
68
  },
69
+ autoRetry: {
70
+ type: Boolean,
71
+ default: false,
72
+ },
69
73
  printReviews: {
70
74
  type: Boolean,
71
75
  default: false,
@@ -22,6 +22,7 @@ export interface ICommonPrinterBoolSettings {
22
22
  export interface IGeneralPrinterBoolSettings {
23
23
  isActive: boolean;
24
24
  syncWithCloud: boolean;
25
+ autoRetry: boolean;
25
26
  experimentalFastPrinting: boolean;
26
27
  printReviews: boolean;
27
28
  rasterOnlyReceipt: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@managesome/eposmatic-toolkit",
3
- "version": "0.2.778",
3
+ "version": "0.2.780",
4
4
  "description": "A Toolkit Library for Eposmatic",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",