lazywait-calcs 1.8.1 → 1.8.2
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/lib/cjs/types/lwapp_types.d.ts +3 -0
- package/lib/cjs/types/lwapp_types.d.ts.map +1 -1
- package/lib/cjs/types/types.d.ts +77 -72
- package/lib/cjs/types/types.d.ts.map +1 -1
- package/lib/cjs/types.js +3 -3
- package/lib/esm/types/lwapp_types.d.ts +3 -0
- package/lib/esm/types/lwapp_types.d.ts.map +1 -1
- package/lib/esm/types/types.d.ts +77 -72
- package/lib/esm/types/types.d.ts.map +1 -1
- package/lib/esm/types.js +3 -3
- package/package.json +1 -1
package/lib/esm/types/types.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LazyWaitAppTypes } from
|
|
1
|
+
import { LazyWaitAppTypes } from "./lwapp_types";
|
|
2
2
|
declare namespace FirebaseFirestore {
|
|
3
3
|
type Timestamp = {};
|
|
4
4
|
type FieldValue = {};
|
|
@@ -11,8 +11,8 @@ export declare type ProvidersList = {
|
|
|
11
11
|
name: PaymentProviders;
|
|
12
12
|
platforms: SupportedPlatforms[];
|
|
13
13
|
};
|
|
14
|
-
export declare type SupportedPlatforms =
|
|
15
|
-
export declare type PaymentProviders =
|
|
14
|
+
export declare type SupportedPlatforms = "windows" | "ios" | "android";
|
|
15
|
+
export declare type PaymentProviders = "SUREPAY" | "ALHAMRANI" | "LAZYWAITPAY";
|
|
16
16
|
export interface EGSUnitLocation {
|
|
17
17
|
city: string;
|
|
18
18
|
city_subdivision: string;
|
|
@@ -121,7 +121,7 @@ export declare type POSUser = {
|
|
|
121
121
|
user_name?: string;
|
|
122
122
|
user_password?: string;
|
|
123
123
|
user_phone?: string;
|
|
124
|
-
user_type?:
|
|
124
|
+
user_type?: "ADMIN" | "USER";
|
|
125
125
|
branches_ids?: string[];
|
|
126
126
|
country_code?: string;
|
|
127
127
|
owner?: boolean;
|
|
@@ -141,7 +141,7 @@ export declare type WindowsPrinter = {
|
|
|
141
141
|
export declare type Lang = {
|
|
142
142
|
key: string;
|
|
143
143
|
value: string;
|
|
144
|
-
type:
|
|
144
|
+
type: "LTR" | "RTL";
|
|
145
145
|
primary: boolean;
|
|
146
146
|
};
|
|
147
147
|
export declare type Branch = {
|
|
@@ -169,7 +169,7 @@ export declare type Branch = {
|
|
|
169
169
|
activation_date?: null;
|
|
170
170
|
isPricesShown?: boolean;
|
|
171
171
|
isStockShown?: boolean;
|
|
172
|
-
PAYMENT_DEFAULT_METHOD?:
|
|
172
|
+
PAYMENT_DEFAULT_METHOD?: "CASH" | "DEBIT" | "CREDIT" | string;
|
|
173
173
|
isCashierSearchShown?: boolean;
|
|
174
174
|
isCashierBarcodeSearchShown?: boolean;
|
|
175
175
|
isAllCategoryShown?: boolean;
|
|
@@ -235,7 +235,7 @@ export declare type Branch = {
|
|
|
235
235
|
delivery_active?: boolean;
|
|
236
236
|
hide_calories?: boolean;
|
|
237
237
|
hide_payment_methods_tab?: boolean;
|
|
238
|
-
label_language?:
|
|
238
|
+
label_language?: "both";
|
|
239
239
|
mada_enabled?: boolean;
|
|
240
240
|
mada_print_bill?: boolean;
|
|
241
241
|
order_cut_by_category?: boolean;
|
|
@@ -253,7 +253,7 @@ export declare type Branch = {
|
|
|
253
253
|
loyalty_percentage?: number;
|
|
254
254
|
loyalty_valid_for?: number;
|
|
255
255
|
online_orders?: {
|
|
256
|
-
setting_id:
|
|
256
|
+
setting_id: "online_orders";
|
|
257
257
|
online_orders_enabled?: boolean;
|
|
258
258
|
electronic_payments_enabled?: boolean;
|
|
259
259
|
delivery_enabled?: boolean;
|
|
@@ -266,7 +266,7 @@ export declare type Branch = {
|
|
|
266
266
|
table_order_enabled?: boolean;
|
|
267
267
|
};
|
|
268
268
|
payment_methods?: PaymentMethod[];
|
|
269
|
-
print_language?:
|
|
269
|
+
print_language?: "both" | Lang;
|
|
270
270
|
receipt_print_terminal?: boolean;
|
|
271
271
|
receipt_print_user?: boolean;
|
|
272
272
|
validLicense?: Licence;
|
|
@@ -299,7 +299,7 @@ export declare type Branch = {
|
|
|
299
299
|
show_retail_db_lookup?: boolean;
|
|
300
300
|
};
|
|
301
301
|
export declare type PaymentMethod = {
|
|
302
|
-
name_lan_p: string |
|
|
302
|
+
name_lan_p: string | "CASH" | "DEBIT" | "CREDIT";
|
|
303
303
|
name_lan_s?: string;
|
|
304
304
|
client_id?: string;
|
|
305
305
|
branch_id?: string;
|
|
@@ -323,7 +323,7 @@ export declare type PaymentMethod = {
|
|
|
323
323
|
export declare type WaitingSettings = {
|
|
324
324
|
waiting_enabled?: boolean;
|
|
325
325
|
waiting_services_enabled?: boolean;
|
|
326
|
-
waiting_updated_by:
|
|
326
|
+
waiting_updated_by: "Admin" | "Customer";
|
|
327
327
|
Waiting_last_updated?: Date;
|
|
328
328
|
waiting_auto_piolt_enabled?: boolean;
|
|
329
329
|
waiting_auto_ready_enabled?: boolean;
|
|
@@ -588,7 +588,7 @@ export declare type OrderItemAddon = {
|
|
|
588
588
|
price_id?: string;
|
|
589
589
|
branches_ids?: string[];
|
|
590
590
|
show_online?: boolean;
|
|
591
|
-
type?:
|
|
591
|
+
type?: "CATEGORY_ADDON" | "ITEM_ADDON" | "ADDONS_GROUP_ADDON" | "INDEPENDENT_ADDON";
|
|
592
592
|
addons_group_id?: string;
|
|
593
593
|
};
|
|
594
594
|
export declare type OrderItemDiscount = {
|
|
@@ -686,7 +686,7 @@ export declare type OrderDelivery = {
|
|
|
686
686
|
branch_id: string;
|
|
687
687
|
delivery_id: string;
|
|
688
688
|
active: boolean;
|
|
689
|
-
delivery_type?:
|
|
689
|
+
delivery_type?: "FIXED" | "CUSTOM" | "RADIUS";
|
|
690
690
|
delivery_fee?: number;
|
|
691
691
|
delivery_radius?: number;
|
|
692
692
|
separate_invoice: boolean;
|
|
@@ -724,8 +724,8 @@ export declare type Category = {
|
|
|
724
724
|
sort_id?: number;
|
|
725
725
|
custom_addons_limit?: number;
|
|
726
726
|
included_custom_addons_ids?: string[];
|
|
727
|
-
source?:
|
|
728
|
-
updated_from?:
|
|
727
|
+
source?: "POS" | "DASHBOARD" | "XLS" | "LWAPI";
|
|
728
|
+
updated_from?: "POS" | "DASHBOARD" | "XLS";
|
|
729
729
|
update_date?: Date | TimestampType | null;
|
|
730
730
|
multi_max?: number;
|
|
731
731
|
auto_selected_addons?: string[];
|
|
@@ -776,8 +776,8 @@ export declare type IndependentAddon = {
|
|
|
776
776
|
};
|
|
777
777
|
alert_level?: number;
|
|
778
778
|
allergens?: string[];
|
|
779
|
-
source?:
|
|
780
|
-
updated_from?:
|
|
779
|
+
source?: "POS" | "DASHBOARD" | "XLS" | "LWAPI";
|
|
780
|
+
updated_from?: "POS" | "DASHBOARD" | "XLS";
|
|
781
781
|
update_date?: Date | TimestampType | null;
|
|
782
782
|
price_id?: string;
|
|
783
783
|
printer_ids?: printer_id[];
|
|
@@ -810,8 +810,8 @@ export declare type AddonGroup = {
|
|
|
810
810
|
custom_addons_limit?: number;
|
|
811
811
|
included_custom_addons_ids?: string[];
|
|
812
812
|
multi_max?: number;
|
|
813
|
-
source?:
|
|
814
|
-
updated_from?:
|
|
813
|
+
source?: "POS" | "DASHBOARD" | "XLS" | "LWAPI";
|
|
814
|
+
updated_from?: "POS" | "DASHBOARD" | "XLS";
|
|
815
815
|
update_date?: Date | TimestampType | null;
|
|
816
816
|
};
|
|
817
817
|
export declare type CategoryAddon = {
|
|
@@ -901,8 +901,8 @@ export declare type Source = {
|
|
|
901
901
|
unit?: Unit;
|
|
902
902
|
consumption?: number;
|
|
903
903
|
alert_level?: number;
|
|
904
|
-
source?:
|
|
905
|
-
updated_from?:
|
|
904
|
+
source?: "POS" | "DASHBOARD" | "XLS" | "LWAPI";
|
|
905
|
+
updated_from?: "POS" | "DASHBOARD" | "XLS";
|
|
906
906
|
update_date?: Date | TimestampType | null;
|
|
907
907
|
allergens?: string[];
|
|
908
908
|
stock_qty?: number;
|
|
@@ -932,8 +932,8 @@ export declare type translated = {
|
|
|
932
932
|
yl?: string;
|
|
933
933
|
tr?: string;
|
|
934
934
|
ur?: string;
|
|
935
|
-
[
|
|
936
|
-
[
|
|
935
|
+
["zh-CN"]?: string;
|
|
936
|
+
["zh-TW"]?: string;
|
|
937
937
|
};
|
|
938
938
|
export declare type Terminal = {
|
|
939
939
|
bill_printer_id?: string;
|
|
@@ -973,6 +973,7 @@ export declare type Terminal = {
|
|
|
973
973
|
tid_terminal_id?: string;
|
|
974
974
|
tid_terminal_name?: string;
|
|
975
975
|
terminal_ip?: string;
|
|
976
|
+
support_terminal_created_at?: TimestampType | Date | null;
|
|
976
977
|
};
|
|
977
978
|
export declare type Item = {
|
|
978
979
|
client_id: string;
|
|
@@ -1010,8 +1011,8 @@ export declare type Item = {
|
|
|
1010
1011
|
sources?: Source[];
|
|
1011
1012
|
loyalty_points?: number;
|
|
1012
1013
|
sort_id?: number;
|
|
1013
|
-
source?:
|
|
1014
|
-
updated_from?:
|
|
1014
|
+
source?: "POS" | "DASHBOARD" | "XLS" | "LWAPI";
|
|
1015
|
+
updated_from?: "POS" | "DASHBOARD" | "XLS";
|
|
1015
1016
|
update_date?: Date | TimestampType | null;
|
|
1016
1017
|
time_range?: boolean;
|
|
1017
1018
|
valid_from?: Date | TimestampType | null;
|
|
@@ -1075,7 +1076,7 @@ export declare type ItemPrice = {
|
|
|
1075
1076
|
};
|
|
1076
1077
|
nutritional_info?: NutritionalInfo;
|
|
1077
1078
|
};
|
|
1078
|
-
export declare type Unit =
|
|
1079
|
+
export declare type Unit = "g" | "mg" | "kg" | "oz" | "lb" | "oz" | "c" | "ea" | "gal" | "l" | "ml" | string | null;
|
|
1079
1080
|
export declare type itemDiscount = {
|
|
1080
1081
|
client_id: string;
|
|
1081
1082
|
branches_ids?: string[];
|
|
@@ -1178,7 +1179,7 @@ export declare type Delivery = {
|
|
|
1178
1179
|
delivery_id?: string;
|
|
1179
1180
|
active: boolean;
|
|
1180
1181
|
show_online?: boolean;
|
|
1181
|
-
delivery_type?:
|
|
1182
|
+
delivery_type?: "FIXED" | "CUSTOM" | "RADIUS";
|
|
1182
1183
|
delivery_fee?: number;
|
|
1183
1184
|
delivery_radius?: number;
|
|
1184
1185
|
separate_invoice: boolean;
|
|
@@ -1269,13 +1270,17 @@ export declare type Printer = {
|
|
|
1269
1270
|
printer_name?: string;
|
|
1270
1271
|
display_name?: string;
|
|
1271
1272
|
printer_ip?: string;
|
|
1273
|
+
terminal_name?: string;
|
|
1274
|
+
terminal_letter?: string;
|
|
1272
1275
|
printer_port?: string | number;
|
|
1273
|
-
printer_brand?:
|
|
1274
|
-
printer_type?:
|
|
1276
|
+
printer_brand?: "EPSON" | "epson" | "star" | "bixolon" | "sunmi";
|
|
1277
|
+
printer_type?: "system" | "network" | "bluetooth" | "usb";
|
|
1278
|
+
printer_timeout?: number;
|
|
1275
1279
|
mac_address?: string;
|
|
1276
1280
|
usb_path?: string;
|
|
1277
|
-
paper_size?:
|
|
1278
|
-
|
|
1281
|
+
paper_size?: "58mm" | "72mm" | "80mm" | "A4";
|
|
1282
|
+
print_type?: "TEST" | "RECEIPT" | "INVOICE" | "CLOSING" | "TICKET" | "DELIVERY" | "SOFTPOS_RECEIPT";
|
|
1283
|
+
active?: string | boolean;
|
|
1279
1284
|
has_drawer?: boolean;
|
|
1280
1285
|
printer_delay?: number;
|
|
1281
1286
|
purpose?: PrinterPurpose[];
|
|
@@ -1286,7 +1291,7 @@ export declare type StarDiscovery = {
|
|
|
1286
1291
|
port_name: string;
|
|
1287
1292
|
mac_address: string;
|
|
1288
1293
|
};
|
|
1289
|
-
export declare type PrinterPurpose =
|
|
1294
|
+
export declare type PrinterPurpose = "ITEMS_SLIPS" | "INVOICES" | "RECEIPTS" | "CLOSING";
|
|
1290
1295
|
export declare type Role = {
|
|
1291
1296
|
client_id?: string;
|
|
1292
1297
|
role_id?: string;
|
|
@@ -1399,7 +1404,7 @@ export declare type UniversalLicense = {
|
|
|
1399
1404
|
created_date?: Date;
|
|
1400
1405
|
expire_date?: Date;
|
|
1401
1406
|
start_date?: Date;
|
|
1402
|
-
license_type?:
|
|
1407
|
+
license_type?: "lite" | "pay" | "pos" | "pos" | "call_center" | string;
|
|
1403
1408
|
terminal_id?: string;
|
|
1404
1409
|
license_active?: boolean;
|
|
1405
1410
|
payment_completed?: boolean;
|
|
@@ -1467,7 +1472,7 @@ export declare type Table = {
|
|
|
1467
1472
|
table_id?: string;
|
|
1468
1473
|
table_name?: string;
|
|
1469
1474
|
table_occupancy?: number;
|
|
1470
|
-
shape?:
|
|
1475
|
+
shape?: "SQUARE" | "CIRCLE";
|
|
1471
1476
|
area_id?: string;
|
|
1472
1477
|
area_name?: string;
|
|
1473
1478
|
order_details?: Partial<Order> | null;
|
|
@@ -1615,8 +1620,8 @@ export declare type MoreType = {
|
|
|
1615
1620
|
export declare type Alert = {
|
|
1616
1621
|
title: string;
|
|
1617
1622
|
message: string;
|
|
1618
|
-
variant?:
|
|
1619
|
-
type?:
|
|
1623
|
+
variant?: "toast" | "popup";
|
|
1624
|
+
type?: "error" | "success" | "warning";
|
|
1620
1625
|
onConfirmLabel?: string;
|
|
1621
1626
|
onDeleteLabel?: string;
|
|
1622
1627
|
onConfirm?: () => void;
|
|
@@ -1627,7 +1632,7 @@ export declare type TerminalChanges = {
|
|
|
1627
1632
|
current_order_number?: number;
|
|
1628
1633
|
current_order_date?: TimestampType | Date;
|
|
1629
1634
|
};
|
|
1630
|
-
export declare type job_type =
|
|
1635
|
+
export declare type job_type = "invoice" | "receipt" | "ticket" | "test" | "closing" | "delivery" | "softpos_receipt";
|
|
1631
1636
|
export declare type PrintQueue = {
|
|
1632
1637
|
id: string;
|
|
1633
1638
|
type: job_type;
|
|
@@ -1782,7 +1787,7 @@ export declare type PrinterDiscover = {
|
|
|
1782
1787
|
printer_name?: string;
|
|
1783
1788
|
ip_address?: string;
|
|
1784
1789
|
mac_address?: string;
|
|
1785
|
-
type?:
|
|
1790
|
+
type?: "system" | "network" | "bluetooth" | "usb";
|
|
1786
1791
|
};
|
|
1787
1792
|
export declare type Currency = {
|
|
1788
1793
|
country: string;
|
|
@@ -1883,8 +1888,8 @@ export declare type ImageSearchItem = {
|
|
|
1883
1888
|
webformatURL: string;
|
|
1884
1889
|
webformatWidth: number;
|
|
1885
1890
|
};
|
|
1886
|
-
export declare type StockAction =
|
|
1887
|
-
export declare type CategoryScreenSideBar =
|
|
1891
|
+
export declare type StockAction = "ADD" | "RECOUNT" | "DAMAGE" | "THEFT" | "LOSS" | "RESTOCK";
|
|
1892
|
+
export declare type CategoryScreenSideBar = "DISCOUNT" | "TAX" | "ADDON" | "PRINTER" | "CUSTOM_ADDON" | "ADDONS_GROUPS" | null;
|
|
1888
1893
|
export declare type AddonStockDoc = {
|
|
1889
1894
|
addon_id: string;
|
|
1890
1895
|
branch_id: string;
|
|
@@ -1987,13 +1992,13 @@ export declare type Move = {
|
|
|
1987
1992
|
is_expiry?: boolean;
|
|
1988
1993
|
};
|
|
1989
1994
|
export declare type SortInvoice = {
|
|
1990
|
-
source:
|
|
1991
|
-
period:
|
|
1992
|
-
status:
|
|
1995
|
+
source: "ALL" | "LAZYWAITPOS" | "QR";
|
|
1996
|
+
period: "TODAY" | "WEEK" | "MONTH" | "YEAR" | "24_HOURS" | CustomPeriod;
|
|
1997
|
+
status: "PAID" | "CURRENT" | "VOID" | "REFUND" | "ALL" | "ALL_TRANSACTIONS";
|
|
1993
1998
|
};
|
|
1994
1999
|
export declare type InvoicesOrderBy = {
|
|
1995
|
-
sortBy:
|
|
1996
|
-
orderBy:
|
|
2000
|
+
sortBy: "order_date" | "order_id" | "order_type" | "discount" | "tax" | "received_amount" | "subtotal" | "total" | "approval_code";
|
|
2001
|
+
orderBy: "asc" | "desc";
|
|
1997
2002
|
};
|
|
1998
2003
|
export declare type CustomPeriod = {
|
|
1999
2004
|
from: Date;
|
|
@@ -2003,18 +2008,18 @@ export declare type HoldStockKeys = {
|
|
|
2003
2008
|
[key: string]: number;
|
|
2004
2009
|
};
|
|
2005
2010
|
export declare type Cash = {
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2011
|
+
"5": number;
|
|
2012
|
+
"10": number;
|
|
2013
|
+
"20": number;
|
|
2014
|
+
"50": number;
|
|
2015
|
+
"100": number;
|
|
2016
|
+
"500": number;
|
|
2017
|
+
"0.01": number;
|
|
2018
|
+
"0.1": number;
|
|
2019
|
+
"0.25": number;
|
|
2020
|
+
"0.5": number;
|
|
2021
|
+
"1": number;
|
|
2022
|
+
"2": number;
|
|
2018
2023
|
};
|
|
2019
2024
|
export declare type CustomersSort = {
|
|
2020
2025
|
field: string;
|
|
@@ -2065,9 +2070,9 @@ export declare type SupportTicket = {
|
|
|
2065
2070
|
name_lan_p?: string;
|
|
2066
2071
|
};
|
|
2067
2072
|
status: string;
|
|
2068
|
-
source:
|
|
2073
|
+
source: "POS" | string;
|
|
2069
2074
|
created_by: {
|
|
2070
|
-
status:
|
|
2075
|
+
status: "new" | string;
|
|
2071
2076
|
date: Date | TimestampType | null;
|
|
2072
2077
|
user_id: string;
|
|
2073
2078
|
user_name: string;
|
|
@@ -2085,7 +2090,7 @@ export declare type SupportTicket = {
|
|
|
2085
2090
|
version: string;
|
|
2086
2091
|
};
|
|
2087
2092
|
network_details?: any & {
|
|
2088
|
-
frequency:
|
|
2093
|
+
frequency: "5 GHz" | "2.4 GHz" | "";
|
|
2089
2094
|
};
|
|
2090
2095
|
};
|
|
2091
2096
|
export declare type TicketComment = {
|
|
@@ -2132,8 +2137,8 @@ export declare type PassMeOrderNotif = {
|
|
|
2132
2137
|
client_id: string;
|
|
2133
2138
|
branch_id: string;
|
|
2134
2139
|
order_ref: string;
|
|
2135
|
-
source:
|
|
2136
|
-
type:
|
|
2140
|
+
source: "QR_PHONE" | string;
|
|
2141
|
+
type: "order" | string;
|
|
2137
2142
|
};
|
|
2138
2143
|
export declare type Notification = {
|
|
2139
2144
|
terminal_ids: string[];
|
|
@@ -2181,7 +2186,7 @@ export declare type Location = {
|
|
|
2181
2186
|
city?: string;
|
|
2182
2187
|
countryCode?: string;
|
|
2183
2188
|
countryName?: string;
|
|
2184
|
-
county?:
|
|
2189
|
+
county?: "";
|
|
2185
2190
|
elapsedRealtimeNanos?: number | string;
|
|
2186
2191
|
extraInfo?: {
|
|
2187
2192
|
mockLocation?: boolean | string;
|
|
@@ -2259,19 +2264,19 @@ export declare type ManualDoc = {
|
|
|
2259
2264
|
url: string;
|
|
2260
2265
|
};
|
|
2261
2266
|
export declare type POSEmail = {
|
|
2262
|
-
email_type:
|
|
2263
|
-
email_target:
|
|
2264
|
-
source:
|
|
2265
|
-
language?:
|
|
2267
|
+
email_type: "cancellation" | "trial" | "success_payment" | "failed_payment" | "leads";
|
|
2268
|
+
email_target: "customer" | "lazywait";
|
|
2269
|
+
source: "direct_payment" | "pos";
|
|
2270
|
+
language?: "en" | "ar" | string;
|
|
2266
2271
|
owner_name?: string;
|
|
2267
2272
|
owner_email?: string;
|
|
2268
2273
|
owner_phone?: string;
|
|
2269
|
-
plan?:
|
|
2274
|
+
plan?: "free" | "starter" | "plus" | "pro";
|
|
2270
2275
|
client_id?: string;
|
|
2271
2276
|
client_name?: string;
|
|
2272
2277
|
branch_id?: string;
|
|
2273
2278
|
branch_name?: string;
|
|
2274
|
-
platform?:
|
|
2279
|
+
platform?: "ios" | "android" | "direct_payment";
|
|
2275
2280
|
message?: string;
|
|
2276
2281
|
payment_ref?: string;
|
|
2277
2282
|
payment_amount?: number;
|
|
@@ -2296,7 +2301,7 @@ export declare type HoldStocks = {
|
|
|
2296
2301
|
export declare type LWOrders = {
|
|
2297
2302
|
order: Order;
|
|
2298
2303
|
print_type?: string;
|
|
2299
|
-
type:
|
|
2304
|
+
type: "error" | "success";
|
|
2300
2305
|
error_message?: string;
|
|
2301
2306
|
};
|
|
2302
2307
|
export declare type LWReport = {
|
|
@@ -2326,7 +2331,7 @@ export declare type OrderPrintJobsParams = {
|
|
|
2326
2331
|
reprint_slips?: boolean;
|
|
2327
2332
|
printerIp?: string;
|
|
2328
2333
|
};
|
|
2329
|
-
export declare type OrderStatusID =
|
|
2334
|
+
export declare type OrderStatusID = "new-order" | "confirmed" | "ready" | "delivered" | "canceled" | "refunded" | "delivery" | "driver-pickup" | "driver-at-door";
|
|
2330
2335
|
export declare type Allergen = Map<string, string>;
|
|
2331
2336
|
export declare type LazyPaySMSPayload = {
|
|
2332
2337
|
branch: {
|
|
@@ -2335,7 +2340,7 @@ export declare type LazyPaySMSPayload = {
|
|
|
2335
2340
|
name_lan_p?: string;
|
|
2336
2341
|
name_lan_s?: string;
|
|
2337
2342
|
print_order_id?: boolean;
|
|
2338
|
-
print_language?:
|
|
2343
|
+
print_language?: "both" | Lang;
|
|
2339
2344
|
languages?: Lang[];
|
|
2340
2345
|
print_price_with_vat?: boolean;
|
|
2341
2346
|
address?: string;
|