@managesome/eposmatic-toolkit 0.2.742 → 0.2.744
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.
|
@@ -10,7 +10,7 @@ export declare const WEBVIEW_LOGOUT = "WEBVIEW_LOGOUT";
|
|
|
10
10
|
export declare const WEBVIEW_GET_PRINTERS = "WEBVIEW_GET_PRINTERS";
|
|
11
11
|
export declare const WEBVIEW_PRINT_IMAGE = "WEBVIEW_PRINT_IMAGE";
|
|
12
12
|
export declare const WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS = "WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS";
|
|
13
|
-
export declare const
|
|
13
|
+
export declare const WEBVIEW_ATTACH_PRINTERS = "WEBVIEW_ATTACH_PRINTERS";
|
|
14
14
|
export declare const WEBVIEW_SET_PRINTER_SETTINGS = "WEBVIEW_SET_PRINTER_SETTINGS";
|
|
15
15
|
export declare const WEBVIEW_SET_ALL_PRINTER_SETTINGS = "WEBVIEW_SET_ALL_PRINTER_SETTINGS";
|
|
16
16
|
export declare const WEBVIEW_SYNC_PRINTERS_SETTINGS = "WEBVIEW_SYNC_PRINTERS_SETTINGS";
|
package/lib/constants/WEBVIEW.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.WEBVIEW_OO_PLACED_REVIEW = exports.WEBVIEW_OO_PLACED_ORDER = exports.WEBVIEW_OO_ADD_TO_CART = exports.WEBVIEW_OO_VIEWED_ITEM = exports.WEBVIEW_OO_SENT_CATALOG = exports.WEBVIEW_OO_SET_STORE_SETTINGS = exports.WEBVIEW_OO_SET_LOADING = exports.WEBVIEW_REGISTER_USER_DETAILS = exports.WEBVIEW_GET_IMAGE_DATA_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_IMAGE_DATA_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_IMAGE_FROM_BASE64 = exports.WEBVIEW_UPDATE_PRINTER_SETTINGS = exports.WEBVIEW_PRINTER_EVENT = exports.WEBVIEW_SET_PRINTERS = exports.WEBVIEW_RENDER_BACK_PRESS = exports.WEBVIEW_RETRY_PRINT = exports.WEBVIEW_SET_IMAGE_DATA_LOGO = exports.WEBVIEW_PRINT_IMAGE_DATA = exports.WEBVIEW_SET_BINARY_LOGO = exports.WEBVIEW_PRINT_BINARY_IMAGE = exports.WEBVIEW_PRINT_TEXT = exports.WEBVIEW_DOWNLOAD_FILE = exports.WEBVIEW_COMMIT_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SET_ALL_PRINTER_SETTINGS = exports.WEBVIEW_SET_PRINTER_SETTINGS = exports.
|
|
3
|
+
exports.WEBVIEW_OO_PLACED_REVIEW = exports.WEBVIEW_OO_PLACED_ORDER = exports.WEBVIEW_OO_ADD_TO_CART = exports.WEBVIEW_OO_VIEWED_ITEM = exports.WEBVIEW_OO_SENT_CATALOG = exports.WEBVIEW_OO_SET_STORE_SETTINGS = exports.WEBVIEW_OO_SET_LOADING = exports.WEBVIEW_REGISTER_USER_DETAILS = exports.WEBVIEW_GET_IMAGE_DATA_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_IMAGE_DATA_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_LOGO_FROM_BASE64 = exports.WEBVIEW_GET_BINARY_IMAGE_FROM_BASE64 = exports.WEBVIEW_UPDATE_PRINTER_SETTINGS = exports.WEBVIEW_PRINTER_EVENT = exports.WEBVIEW_SET_PRINTERS = exports.WEBVIEW_RENDER_BACK_PRESS = exports.WEBVIEW_RETRY_PRINT = exports.WEBVIEW_SET_IMAGE_DATA_LOGO = exports.WEBVIEW_PRINT_IMAGE_DATA = exports.WEBVIEW_SET_BINARY_LOGO = exports.WEBVIEW_PRINT_BINARY_IMAGE = exports.WEBVIEW_PRINT_TEXT = exports.WEBVIEW_DOWNLOAD_FILE = exports.WEBVIEW_COMMIT_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SYNC_PRINTERS_SETTINGS = exports.WEBVIEW_SET_ALL_PRINTER_SETTINGS = exports.WEBVIEW_SET_PRINTER_SETTINGS = exports.WEBVIEW_ATTACH_PRINTERS = exports.WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS = exports.WEBVIEW_PRINT_IMAGE = exports.WEBVIEW_GET_PRINTERS = exports.WEBVIEW_LOGOUT = exports.WEBVIEW_UPDATE_SETTINGS = exports.WEBVIEW_SET_INITIATE_STATE = exports.WEBVIEW_SET_SETTINGS = exports.WEBVIEW_OPEN_CASH_DRAWER = exports.WEBVIEW_PRINT_ORDER = exports.WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS = exports.WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS = exports.WEBVIEW_OPEN_LINK = void 0;
|
|
4
4
|
exports.WEBVIEW_OPEN_LINK = 'WEBVIEW_OPEN_LINK';
|
|
5
5
|
exports.WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS = 'WEBVIEW_SET_ROUTE_TO_PRINTER_SETTINGS';
|
|
6
6
|
exports.WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS = 'WEBVIEW_PRINT_ORDER_FROM_ALL_PRINTERS';
|
|
@@ -13,7 +13,7 @@ exports.WEBVIEW_LOGOUT = 'WEBVIEW_LOGOUT';
|
|
|
13
13
|
exports.WEBVIEW_GET_PRINTERS = 'WEBVIEW_GET_PRINTERS';
|
|
14
14
|
exports.WEBVIEW_PRINT_IMAGE = 'WEBVIEW_PRINT_IMAGE';
|
|
15
15
|
exports.WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS = 'WEBVIEW_PRINT_IMAGE_FROM_ALL_PRINTERS';
|
|
16
|
-
exports.
|
|
16
|
+
exports.WEBVIEW_ATTACH_PRINTERS = 'WEBVIEW_ATTACH_PRINTERS';
|
|
17
17
|
exports.WEBVIEW_SET_PRINTER_SETTINGS = 'WEBVIEW_SET_PRINTER_SETTINGS';
|
|
18
18
|
exports.WEBVIEW_SET_ALL_PRINTER_SETTINGS = 'WEBVIEW_SET_ALL_PRINTER_SETTINGS';
|
|
19
19
|
exports.WEBVIEW_SYNC_PRINTERS_SETTINGS = 'WEBVIEW_SYNC_PRINTERS_SETTINGS';
|
package/lib/constants/types.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export interface ISocketRiderMove {
|
|
|
111
111
|
}
|
|
112
112
|
export interface IWebviewPrintFromAllPrinters {
|
|
113
113
|
order: IOrder;
|
|
114
|
+
open_drawers_for?: string[];
|
|
114
115
|
receipt_type?: RECEIPT_TYPE_ENUM | null;
|
|
115
116
|
quantity?: number | null;
|
|
116
117
|
complyAutoPrint?: boolean;
|
|
@@ -183,8 +184,7 @@ export interface IWebviewPrintImageFromAllPrinters {
|
|
|
183
184
|
request_id: string;
|
|
184
185
|
}
|
|
185
186
|
export interface IWebviewOpenDrawer {
|
|
186
|
-
|
|
187
|
-
targets: string[];
|
|
187
|
+
target: string;
|
|
188
188
|
request_id: string;
|
|
189
189
|
}
|
|
190
190
|
export interface IWebviewPatchPrinters {
|
|
@@ -194,7 +194,10 @@ export interface IWebviewPatchPrinters {
|
|
|
194
194
|
export interface IWebviewAttachPrinterToAccount {
|
|
195
195
|
target: string;
|
|
196
196
|
pos_id: string | null;
|
|
197
|
+
}
|
|
198
|
+
export interface IWebviewAttachPrinters {
|
|
197
199
|
request_id: string;
|
|
200
|
+
printers: IWebviewAttachPrinterToAccount[];
|
|
198
201
|
}
|
|
199
202
|
export interface IWebviewPrinterEvent {
|
|
200
203
|
type: PRINTER_EVENT_TYPE_ENUM;
|