@feedmepos/mf-common 1.7.8 → 1.8.2
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/dist/App.vue.d.ts +1 -1
- package/dist/api/index.d.ts +3 -2
- package/dist/api/index.d.ts.map +1 -1
- package/dist/app.d.ts +5 -5
- package/dist/app.js +16026 -15798
- package/dist/components/AllBusinessDialog.vue.d.ts +2 -2
- package/dist/components/ChangePassword/ConfirmPassword.vue.d.ts +1 -1
- package/dist/components/ChangePassword/NewPassword.vue.d.ts +1 -1
- package/dist/components/ChangePassword/PasswordField.vue.d.ts +2 -2
- package/dist/components/FeedmeLogo.vue.d.ts +1 -1
- package/dist/components/ManageAccountDialog.vue.d.ts +1 -1
- package/dist/components/ManageAccountDialog.vue.d.ts.map +1 -1
- package/dist/components/MyBusinessDialog.vue.d.ts +1 -1
- package/dist/components/Portal/BusinessDialogMobile.vue.d.ts +2 -2
- package/dist/components/Portal/PortalDesktop.vue.d.ts +6 -4
- package/dist/components/Portal/PortalDesktop.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalMobile.vue.d.ts +7 -5
- package/dist/components/Portal/PortalMobile.vue.d.ts.map +1 -1
- package/dist/components/Portal/PortalTablet.vue.d.ts +6 -4
- package/dist/components/Portal/PortalTablet.vue.d.ts.map +1 -1
- package/dist/components/Portal/index.d.ts +11 -10
- package/dist/components/Portal/index.d.ts.map +1 -1
- package/dist/components/Portal/index.vue.d.ts +6 -4
- package/dist/components/Portal/index.vue.d.ts.map +1 -1
- package/dist/components/SelectCountryDialog.vue.d.ts +4 -4
- package/dist/components/UserInfo/ProfileMenuItem.vue.d.ts +1 -1
- package/dist/components/UserInfo/index.vue.d.ts +10 -8
- package/dist/components/UserInfo/index.vue.d.ts.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/plugin/loading.d.ts +1 -1
- package/dist/store.d.ts +1699 -133
- package/dist/store.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/utils/clipboard.d.ts +2 -0
- package/dist/utils/clipboard.d.ts.map +1 -0
- package/dist/vite-preset.d.ts +1 -1
- package/package.json +2 -1
package/dist/store.d.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { F_COUNTRY, FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant } from
|
2
|
-
import { type FeedMeUser } from
|
3
|
-
import type { Breakpoints } from
|
1
|
+
import { F_COUNTRY, FdoAgent, FdoBusiness, FdoPermissionRule, FdoRestaurant } from "@feedmepos/core/entity";
|
2
|
+
import { type FeedMeUser } from "@feedmepos/auth";
|
3
|
+
import type { Breakpoints } from "@feedmepos/ui-library/dist/composables/useBreakpoints";
|
4
4
|
export interface FmpBusiness extends FdoBusiness {
|
5
5
|
id: string;
|
6
6
|
}
|
@@ -38,7 +38,7 @@ export declare class FmpUser {
|
|
38
38
|
setAdminPermisssions(permissions: FdoPermissionRule[]): void;
|
39
39
|
setPermissions(permissions: FdoPermissionRule[]): void;
|
40
40
|
}
|
41
|
-
export type FmNamespace =
|
41
|
+
export type FmNamespace = "prod" | "dev";
|
42
42
|
export interface PortalApp {
|
43
43
|
icon?: string;
|
44
44
|
name: string;
|
@@ -548,6 +548,7 @@ export declare const useCoreStore: () => {
|
|
548
548
|
};
|
549
549
|
businessId: string;
|
550
550
|
profile: {
|
551
|
+
code?: string | null | undefined;
|
551
552
|
url?: string | null | undefined;
|
552
553
|
description?: string | null | undefined;
|
553
554
|
_id?: string | null | undefined;
|
@@ -943,6 +944,7 @@ export declare const useCoreStore: () => {
|
|
943
944
|
};
|
944
945
|
businessId: string;
|
945
946
|
profile: {
|
947
|
+
code?: string | null | undefined;
|
946
948
|
url?: string | null | undefined;
|
947
949
|
description?: string | null | undefined;
|
948
950
|
_id?: string | null | undefined;
|
@@ -1037,6 +1039,263 @@ export declare const useCoreStore: () => {
|
|
1037
1039
|
hideSidebar: import("vue").Ref<boolean, boolean>;
|
1038
1040
|
sidebarComponent: import("vue").ShallowRef<any>;
|
1039
1041
|
isEmbedded: import("vue").Ref<boolean, boolean>;
|
1042
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
1043
|
+
catalogId?: string | null | undefined;
|
1044
|
+
takeaway?: {
|
1045
|
+
catalogId?: string | null | undefined;
|
1046
|
+
} | null | undefined;
|
1047
|
+
inHouseDelivery?: {
|
1048
|
+
taxes?: Record<string, {
|
1049
|
+
inclusive: boolean;
|
1050
|
+
taxCode: string;
|
1051
|
+
systemCode: string;
|
1052
|
+
}> | null | undefined;
|
1053
|
+
autoAccept?: boolean | null | undefined;
|
1054
|
+
deliveryTime?: {
|
1055
|
+
time?: string[] | null | undefined;
|
1056
|
+
custom?: {
|
1057
|
+
0: {
|
1058
|
+
hours: {
|
1059
|
+
end: string;
|
1060
|
+
start: string;
|
1061
|
+
}[];
|
1062
|
+
enable: boolean;
|
1063
|
+
};
|
1064
|
+
2: {
|
1065
|
+
hours: {
|
1066
|
+
end: string;
|
1067
|
+
start: string;
|
1068
|
+
}[];
|
1069
|
+
enable: boolean;
|
1070
|
+
};
|
1071
|
+
1: {
|
1072
|
+
hours: {
|
1073
|
+
end: string;
|
1074
|
+
start: string;
|
1075
|
+
}[];
|
1076
|
+
enable: boolean;
|
1077
|
+
};
|
1078
|
+
3: {
|
1079
|
+
hours: {
|
1080
|
+
end: string;
|
1081
|
+
start: string;
|
1082
|
+
}[];
|
1083
|
+
enable: boolean;
|
1084
|
+
};
|
1085
|
+
4: {
|
1086
|
+
hours: {
|
1087
|
+
end: string;
|
1088
|
+
start: string;
|
1089
|
+
}[];
|
1090
|
+
enable: boolean;
|
1091
|
+
};
|
1092
|
+
5: {
|
1093
|
+
hours: {
|
1094
|
+
end: string;
|
1095
|
+
start: string;
|
1096
|
+
}[];
|
1097
|
+
enable: boolean;
|
1098
|
+
};
|
1099
|
+
6: {
|
1100
|
+
hours: {
|
1101
|
+
end: string;
|
1102
|
+
start: string;
|
1103
|
+
}[];
|
1104
|
+
enable: boolean;
|
1105
|
+
};
|
1106
|
+
} | null | undefined;
|
1107
|
+
day: {
|
1108
|
+
max: number;
|
1109
|
+
min: number;
|
1110
|
+
};
|
1111
|
+
} | null | undefined;
|
1112
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1113
|
+
offlinePaymentTypes?: {
|
1114
|
+
name: string;
|
1115
|
+
instruction: string;
|
1116
|
+
}[] | null | undefined;
|
1117
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1118
|
+
ignoreStock?: boolean | null | undefined;
|
1119
|
+
catalogId: string | null;
|
1120
|
+
enable: boolean;
|
1121
|
+
areas: {
|
1122
|
+
minPurchase?: {
|
1123
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
1124
|
+
amount: number;
|
1125
|
+
precision: number;
|
1126
|
+
} | null | undefined;
|
1127
|
+
freeAfterTotal?: {
|
1128
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
1129
|
+
amount: number;
|
1130
|
+
precision: number;
|
1131
|
+
} | null | undefined;
|
1132
|
+
polygon: number[][];
|
1133
|
+
deliveryFee: {
|
1134
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
1135
|
+
amount: number;
|
1136
|
+
precision: number;
|
1137
|
+
};
|
1138
|
+
}[];
|
1139
|
+
term: string;
|
1140
|
+
} | null | undefined;
|
1141
|
+
pickup?: {
|
1142
|
+
catalogId?: string | null | undefined;
|
1143
|
+
autoAccept?: boolean | null | undefined;
|
1144
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1145
|
+
offlinePaymentTypes?: {
|
1146
|
+
name: string;
|
1147
|
+
instruction: string;
|
1148
|
+
}[] | null | undefined;
|
1149
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1150
|
+
ignoreStock?: boolean | null | undefined;
|
1151
|
+
pickupTime?: {
|
1152
|
+
day: {
|
1153
|
+
max: number;
|
1154
|
+
min: number;
|
1155
|
+
};
|
1156
|
+
} | null | undefined;
|
1157
|
+
pickupPointConfig?: {
|
1158
|
+
restaurantEnable: boolean;
|
1159
|
+
points: {
|
1160
|
+
name: string;
|
1161
|
+
address: string;
|
1162
|
+
coordinates: number[];
|
1163
|
+
}[];
|
1164
|
+
} | null | undefined;
|
1165
|
+
} | null | undefined;
|
1166
|
+
dineIn?: {
|
1167
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1168
|
+
offlinePaymentTypes?: {
|
1169
|
+
name: string;
|
1170
|
+
instruction: string;
|
1171
|
+
}[] | null | undefined;
|
1172
|
+
ignoreStock?: boolean | null | undefined;
|
1173
|
+
staticQr?: boolean | null | undefined;
|
1174
|
+
disableItemRemark?: boolean | null | undefined;
|
1175
|
+
acceptQueue?: boolean | null | undefined;
|
1176
|
+
anonymousOrder: boolean;
|
1177
|
+
} | null | undefined;
|
1178
|
+
roundToNearest?: number | null | undefined;
|
1179
|
+
customerDisplayImages?: string[] | null | undefined;
|
1180
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1181
|
+
acceptQueue?: boolean | null | undefined;
|
1182
|
+
additionalCatalogs?: string[] | null | undefined;
|
1183
|
+
feedmeDelivery?: {
|
1184
|
+
instruction?: string | null | undefined;
|
1185
|
+
catalogId?: string | null | undefined;
|
1186
|
+
autoAccept?: boolean | null | undefined;
|
1187
|
+
term?: string | null | undefined;
|
1188
|
+
enable: boolean;
|
1189
|
+
} | null | undefined;
|
1190
|
+
payoutAccount?: {
|
1191
|
+
bank?: {
|
1192
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
1193
|
+
accountNumber?: string | null | undefined;
|
1194
|
+
holderName?: string | null | undefined;
|
1195
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
1196
|
+
} | null | undefined;
|
1197
|
+
ssm?: string | null | undefined;
|
1198
|
+
bankStatement?: string | null | undefined;
|
1199
|
+
exteriorPhoto?: string | null | undefined;
|
1200
|
+
keyPerson?: string | null | undefined;
|
1201
|
+
keyPersonPhone?: string | null | undefined;
|
1202
|
+
keyPersonEmail?: string | null | undefined;
|
1203
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
1204
|
+
enable: boolean;
|
1205
|
+
methods: {
|
1206
|
+
variant: string;
|
1207
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
1208
|
+
rate: {
|
1209
|
+
amount: number;
|
1210
|
+
precision: number;
|
1211
|
+
};
|
1212
|
+
tPlus: number;
|
1213
|
+
}[];
|
1214
|
+
} | null | undefined;
|
1215
|
+
tableMappingSetting?: {
|
1216
|
+
enable?: boolean | null | undefined;
|
1217
|
+
showSeat?: boolean | null | undefined;
|
1218
|
+
mapBorderColor?: number | null | undefined;
|
1219
|
+
mapLineColor?: number | null | undefined;
|
1220
|
+
} | null | undefined;
|
1221
|
+
serviceChargeSetting?: {
|
1222
|
+
beforeDiscount?: boolean | null | undefined;
|
1223
|
+
active: boolean;
|
1224
|
+
inclusive: boolean;
|
1225
|
+
rate: {
|
1226
|
+
amount: number;
|
1227
|
+
precision: number;
|
1228
|
+
};
|
1229
|
+
rules: {
|
1230
|
+
inclusive: boolean;
|
1231
|
+
rate: {
|
1232
|
+
amount: number;
|
1233
|
+
precision: number;
|
1234
|
+
};
|
1235
|
+
condition: {
|
1236
|
+
items?: string[] | null | undefined;
|
1237
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
1238
|
+
tables?: string[] | null | undefined;
|
1239
|
+
};
|
1240
|
+
}[];
|
1241
|
+
} | null | undefined;
|
1242
|
+
closeSalesAt?: string | null | undefined;
|
1243
|
+
passcodeOnReprint?: boolean | null | undefined;
|
1244
|
+
printDrawer?: number | null | undefined;
|
1245
|
+
acceptMobileOrder?: boolean | null | undefined;
|
1246
|
+
preparationMinute?: number | null | undefined;
|
1247
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
1248
|
+
newOrderAfterSale?: boolean | null | undefined;
|
1249
|
+
servableSlot?: string[] | null | undefined;
|
1250
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
1251
|
+
accountingSetting?: {
|
1252
|
+
autoCount: {
|
1253
|
+
projectNo?: string | null | undefined;
|
1254
|
+
closeSalesTime?: string | null | undefined;
|
1255
|
+
saleAccNo: string;
|
1256
|
+
serviceChargeAccNo: string;
|
1257
|
+
deliveryFeeAccNo: string;
|
1258
|
+
sstAccNo: string;
|
1259
|
+
};
|
1260
|
+
} | null | undefined;
|
1261
|
+
dynamicQrSetting?: {
|
1262
|
+
remark?: string | null | undefined;
|
1263
|
+
printerSettings?: {
|
1264
|
+
tableName: string;
|
1265
|
+
printerIds: string[];
|
1266
|
+
}[] | null | undefined;
|
1267
|
+
minutes: number;
|
1268
|
+
singleUse: boolean;
|
1269
|
+
} | null | undefined;
|
1270
|
+
realtimeStockCheck?: boolean | null | undefined;
|
1271
|
+
printerServerSetting?: {
|
1272
|
+
acquirePrinterLock?: boolean | null | undefined;
|
1273
|
+
serverIp?: string | null | undefined;
|
1274
|
+
} | null | undefined;
|
1275
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
1276
|
+
deductStock?: boolean | null | undefined;
|
1277
|
+
terminal?: {
|
1278
|
+
ipAddress: string;
|
1279
|
+
} | null | undefined;
|
1280
|
+
eghlTerminal?: {
|
1281
|
+
active: boolean;
|
1282
|
+
} | null | undefined;
|
1283
|
+
feedmeTerminal?: {
|
1284
|
+
ipAddress: string;
|
1285
|
+
} | null | undefined;
|
1286
|
+
showCustomItem?: boolean | null | undefined;
|
1287
|
+
customItemTaxSetting?: {
|
1288
|
+
taxCode: string;
|
1289
|
+
systemCode: string;
|
1290
|
+
}[] | null | undefined;
|
1291
|
+
_id: string;
|
1292
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
1293
|
+
printReceipt: boolean;
|
1294
|
+
paxDialog: boolean;
|
1295
|
+
acceptDineIn: boolean;
|
1296
|
+
acceptDelivery: boolean;
|
1297
|
+
acceptPickup: boolean;
|
1298
|
+
} | null>;
|
1040
1299
|
$state: {
|
1041
1300
|
sessionUser: {
|
1042
1301
|
id: string;
|
@@ -1513,6 +1772,7 @@ export declare const useCoreStore: () => {
|
|
1513
1772
|
};
|
1514
1773
|
businessId: string;
|
1515
1774
|
profile: {
|
1775
|
+
code?: string | null | undefined;
|
1516
1776
|
url?: string | null | undefined;
|
1517
1777
|
description?: string | null | undefined;
|
1518
1778
|
_id?: string | null | undefined;
|
@@ -1909,6 +2169,7 @@ export declare const useCoreStore: () => {
|
|
1909
2169
|
};
|
1910
2170
|
businessId: string;
|
1911
2171
|
profile: {
|
2172
|
+
code?: string | null | undefined;
|
1912
2173
|
url?: string | null | undefined;
|
1913
2174
|
description?: string | null | undefined;
|
1914
2175
|
_id?: string | null | undefined;
|
@@ -2516,6 +2777,7 @@ export declare const useCoreStore: () => {
|
|
2516
2777
|
};
|
2517
2778
|
businessId: string;
|
2518
2779
|
profile: {
|
2780
|
+
code?: string | null | undefined;
|
2519
2781
|
url?: string | null | undefined;
|
2520
2782
|
description?: string | null | undefined;
|
2521
2783
|
_id?: string | null | undefined;
|
@@ -2911,6 +3173,7 @@ export declare const useCoreStore: () => {
|
|
2911
3173
|
};
|
2912
3174
|
businessId: string;
|
2913
3175
|
profile: {
|
3176
|
+
code?: string | null | undefined;
|
2914
3177
|
url?: string | null | undefined;
|
2915
3178
|
description?: string | null | undefined;
|
2916
3179
|
_id?: string | null | undefined;
|
@@ -2988,10 +3251,7 @@ export declare const useCoreStore: () => {
|
|
2988
3251
|
};
|
2989
3252
|
}[]>;
|
2990
3253
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
2991
|
-
|
2992
|
-
managable: boolean;
|
2993
|
-
channel?: string | null | undefined;
|
2994
|
-
machineId?: string | null | undefined;
|
3254
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
2995
3255
|
catalogId?: string | null | undefined;
|
2996
3256
|
takeaway?: {
|
2997
3257
|
catalogId?: string | null | undefined;
|
@@ -3127,12 +3387,10 @@ export declare const useCoreStore: () => {
|
|
3127
3387
|
acceptQueue?: boolean | null | undefined;
|
3128
3388
|
anonymousOrder: boolean;
|
3129
3389
|
} | null | undefined;
|
3130
|
-
|
3131
|
-
|
3132
|
-
|
3133
|
-
|
3134
|
-
posHeartbeat?: string | null | undefined;
|
3135
|
-
posVersionHistory?: Record<string, string> | null | undefined;
|
3390
|
+
roundToNearest?: number | null | undefined;
|
3391
|
+
customerDisplayImages?: string[] | null | undefined;
|
3392
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3393
|
+
acceptQueue?: boolean | null | undefined;
|
3136
3394
|
additionalCatalogs?: string[] | null | undefined;
|
3137
3395
|
feedmeDelivery?: {
|
3138
3396
|
instruction?: string | null | undefined;
|
@@ -3141,37 +3399,299 @@ export declare const useCoreStore: () => {
|
|
3141
3399
|
term?: string | null | undefined;
|
3142
3400
|
enable: boolean;
|
3143
3401
|
} | null | undefined;
|
3144
|
-
|
3145
|
-
|
3146
|
-
|
3147
|
-
|
3148
|
-
|
3149
|
-
|
3150
|
-
showProductAddon?: boolean | null | undefined;
|
3151
|
-
autoAccept?: boolean | null | undefined;
|
3152
|
-
reportConfig?: {
|
3153
|
-
commissionRate: number;
|
3154
|
-
discountCampaigns: {
|
3155
|
-
name: string;
|
3156
|
-
date: {
|
3157
|
-
end: string;
|
3158
|
-
start: string;
|
3159
|
-
};
|
3160
|
-
vendorBearPercentage: number;
|
3161
|
-
}[];
|
3402
|
+
payoutAccount?: {
|
3403
|
+
bank?: {
|
3404
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
3405
|
+
accountNumber?: string | null | undefined;
|
3406
|
+
holderName?: string | null | undefined;
|
3407
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
3162
3408
|
} | null | undefined;
|
3163
|
-
|
3409
|
+
ssm?: string | null | undefined;
|
3410
|
+
bankStatement?: string | null | undefined;
|
3411
|
+
exteriorPhoto?: string | null | undefined;
|
3412
|
+
keyPerson?: string | null | undefined;
|
3413
|
+
keyPersonPhone?: string | null | undefined;
|
3414
|
+
keyPersonEmail?: string | null | undefined;
|
3415
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
3164
3416
|
enable: boolean;
|
3165
|
-
|
3166
|
-
|
3417
|
+
methods: {
|
3418
|
+
variant: string;
|
3419
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
3420
|
+
rate: {
|
3421
|
+
amount: number;
|
3422
|
+
precision: number;
|
3423
|
+
};
|
3424
|
+
tPlus: number;
|
3425
|
+
}[];
|
3167
3426
|
} | null | undefined;
|
3168
|
-
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
3173
|
-
|
3174
|
-
|
3427
|
+
tableMappingSetting?: {
|
3428
|
+
enable?: boolean | null | undefined;
|
3429
|
+
showSeat?: boolean | null | undefined;
|
3430
|
+
mapBorderColor?: number | null | undefined;
|
3431
|
+
mapLineColor?: number | null | undefined;
|
3432
|
+
} | null | undefined;
|
3433
|
+
serviceChargeSetting?: {
|
3434
|
+
beforeDiscount?: boolean | null | undefined;
|
3435
|
+
active: boolean;
|
3436
|
+
inclusive: boolean;
|
3437
|
+
rate: {
|
3438
|
+
amount: number;
|
3439
|
+
precision: number;
|
3440
|
+
};
|
3441
|
+
rules: {
|
3442
|
+
inclusive: boolean;
|
3443
|
+
rate: {
|
3444
|
+
amount: number;
|
3445
|
+
precision: number;
|
3446
|
+
};
|
3447
|
+
condition: {
|
3448
|
+
items?: string[] | null | undefined;
|
3449
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
3450
|
+
tables?: string[] | null | undefined;
|
3451
|
+
};
|
3452
|
+
}[];
|
3453
|
+
} | null | undefined;
|
3454
|
+
closeSalesAt?: string | null | undefined;
|
3455
|
+
passcodeOnReprint?: boolean | null | undefined;
|
3456
|
+
printDrawer?: number | null | undefined;
|
3457
|
+
acceptMobileOrder?: boolean | null | undefined;
|
3458
|
+
preparationMinute?: number | null | undefined;
|
3459
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
3460
|
+
newOrderAfterSale?: boolean | null | undefined;
|
3461
|
+
servableSlot?: string[] | null | undefined;
|
3462
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
3463
|
+
accountingSetting?: {
|
3464
|
+
autoCount: {
|
3465
|
+
projectNo?: string | null | undefined;
|
3466
|
+
closeSalesTime?: string | null | undefined;
|
3467
|
+
saleAccNo: string;
|
3468
|
+
serviceChargeAccNo: string;
|
3469
|
+
deliveryFeeAccNo: string;
|
3470
|
+
sstAccNo: string;
|
3471
|
+
};
|
3472
|
+
} | null | undefined;
|
3473
|
+
dynamicQrSetting?: {
|
3474
|
+
remark?: string | null | undefined;
|
3475
|
+
printerSettings?: {
|
3476
|
+
tableName: string;
|
3477
|
+
printerIds: string[];
|
3478
|
+
}[] | null | undefined;
|
3479
|
+
minutes: number;
|
3480
|
+
singleUse: boolean;
|
3481
|
+
} | null | undefined;
|
3482
|
+
realtimeStockCheck?: boolean | null | undefined;
|
3483
|
+
printerServerSetting?: {
|
3484
|
+
acquirePrinterLock?: boolean | null | undefined;
|
3485
|
+
serverIp?: string | null | undefined;
|
3486
|
+
} | null | undefined;
|
3487
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
3488
|
+
deductStock?: boolean | null | undefined;
|
3489
|
+
terminal?: {
|
3490
|
+
ipAddress: string;
|
3491
|
+
} | null | undefined;
|
3492
|
+
eghlTerminal?: {
|
3493
|
+
active: boolean;
|
3494
|
+
} | null | undefined;
|
3495
|
+
feedmeTerminal?: {
|
3496
|
+
ipAddress: string;
|
3497
|
+
} | null | undefined;
|
3498
|
+
showCustomItem?: boolean | null | undefined;
|
3499
|
+
customItemTaxSetting?: {
|
3500
|
+
taxCode: string;
|
3501
|
+
systemCode: string;
|
3502
|
+
}[] | null | undefined;
|
3503
|
+
_id: string;
|
3504
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
3505
|
+
printReceipt: boolean;
|
3506
|
+
paxDialog: boolean;
|
3507
|
+
acceptDineIn: boolean;
|
3508
|
+
acceptDelivery: boolean;
|
3509
|
+
acceptPickup: boolean;
|
3510
|
+
} | null>;
|
3511
|
+
readRestaurants: () => Promise<{
|
3512
|
+
managable: boolean;
|
3513
|
+
channel?: string | null | undefined;
|
3514
|
+
machineId?: string | null | undefined;
|
3515
|
+
catalogId?: string | null | undefined;
|
3516
|
+
takeaway?: {
|
3517
|
+
catalogId?: string | null | undefined;
|
3518
|
+
} | null | undefined;
|
3519
|
+
inHouseDelivery?: {
|
3520
|
+
taxes?: Record<string, {
|
3521
|
+
inclusive: boolean;
|
3522
|
+
taxCode: string;
|
3523
|
+
systemCode: string;
|
3524
|
+
}> | null | undefined;
|
3525
|
+
autoAccept?: boolean | null | undefined;
|
3526
|
+
deliveryTime?: {
|
3527
|
+
time?: string[] | null | undefined;
|
3528
|
+
custom?: {
|
3529
|
+
0: {
|
3530
|
+
hours: {
|
3531
|
+
end: string;
|
3532
|
+
start: string;
|
3533
|
+
}[];
|
3534
|
+
enable: boolean;
|
3535
|
+
};
|
3536
|
+
2: {
|
3537
|
+
hours: {
|
3538
|
+
end: string;
|
3539
|
+
start: string;
|
3540
|
+
}[];
|
3541
|
+
enable: boolean;
|
3542
|
+
};
|
3543
|
+
1: {
|
3544
|
+
hours: {
|
3545
|
+
end: string;
|
3546
|
+
start: string;
|
3547
|
+
}[];
|
3548
|
+
enable: boolean;
|
3549
|
+
};
|
3550
|
+
3: {
|
3551
|
+
hours: {
|
3552
|
+
end: string;
|
3553
|
+
start: string;
|
3554
|
+
}[];
|
3555
|
+
enable: boolean;
|
3556
|
+
};
|
3557
|
+
4: {
|
3558
|
+
hours: {
|
3559
|
+
end: string;
|
3560
|
+
start: string;
|
3561
|
+
}[];
|
3562
|
+
enable: boolean;
|
3563
|
+
};
|
3564
|
+
5: {
|
3565
|
+
hours: {
|
3566
|
+
end: string;
|
3567
|
+
start: string;
|
3568
|
+
}[];
|
3569
|
+
enable: boolean;
|
3570
|
+
};
|
3571
|
+
6: {
|
3572
|
+
hours: {
|
3573
|
+
end: string;
|
3574
|
+
start: string;
|
3575
|
+
}[];
|
3576
|
+
enable: boolean;
|
3577
|
+
};
|
3578
|
+
} | null | undefined;
|
3579
|
+
day: {
|
3580
|
+
max: number;
|
3581
|
+
min: number;
|
3582
|
+
};
|
3583
|
+
} | null | undefined;
|
3584
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3585
|
+
offlinePaymentTypes?: {
|
3586
|
+
name: string;
|
3587
|
+
instruction: string;
|
3588
|
+
}[] | null | undefined;
|
3589
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3590
|
+
ignoreStock?: boolean | null | undefined;
|
3591
|
+
catalogId: string | null;
|
3592
|
+
enable: boolean;
|
3593
|
+
areas: {
|
3594
|
+
minPurchase?: {
|
3595
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3596
|
+
amount: number;
|
3597
|
+
precision: number;
|
3598
|
+
} | null | undefined;
|
3599
|
+
freeAfterTotal?: {
|
3600
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3601
|
+
amount: number;
|
3602
|
+
precision: number;
|
3603
|
+
} | null | undefined;
|
3604
|
+
polygon: number[][];
|
3605
|
+
deliveryFee: {
|
3606
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3607
|
+
amount: number;
|
3608
|
+
precision: number;
|
3609
|
+
};
|
3610
|
+
}[];
|
3611
|
+
term: string;
|
3612
|
+
} | null | undefined;
|
3613
|
+
pickup?: {
|
3614
|
+
catalogId?: string | null | undefined;
|
3615
|
+
autoAccept?: boolean | null | undefined;
|
3616
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3617
|
+
offlinePaymentTypes?: {
|
3618
|
+
name: string;
|
3619
|
+
instruction: string;
|
3620
|
+
}[] | null | undefined;
|
3621
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3622
|
+
ignoreStock?: boolean | null | undefined;
|
3623
|
+
pickupTime?: {
|
3624
|
+
day: {
|
3625
|
+
max: number;
|
3626
|
+
min: number;
|
3627
|
+
};
|
3628
|
+
} | null | undefined;
|
3629
|
+
pickupPointConfig?: {
|
3630
|
+
restaurantEnable: boolean;
|
3631
|
+
points: {
|
3632
|
+
name: string;
|
3633
|
+
address: string;
|
3634
|
+
coordinates: number[];
|
3635
|
+
}[];
|
3636
|
+
} | null | undefined;
|
3637
|
+
} | null | undefined;
|
3638
|
+
dineIn?: {
|
3639
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3640
|
+
offlinePaymentTypes?: {
|
3641
|
+
name: string;
|
3642
|
+
instruction: string;
|
3643
|
+
}[] | null | undefined;
|
3644
|
+
ignoreStock?: boolean | null | undefined;
|
3645
|
+
staticQr?: boolean | null | undefined;
|
3646
|
+
disableItemRemark?: boolean | null | undefined;
|
3647
|
+
acceptQueue?: boolean | null | undefined;
|
3648
|
+
anonymousOrder: boolean;
|
3649
|
+
} | null | undefined;
|
3650
|
+
features?: string[] | null | undefined;
|
3651
|
+
machineOtp?: string | null | undefined;
|
3652
|
+
machineOtpExpiredAt?: string | null | undefined;
|
3653
|
+
posVersion?: string | null | undefined;
|
3654
|
+
posHeartbeat?: string | null | undefined;
|
3655
|
+
posVersionHistory?: Record<string, string> | null | undefined;
|
3656
|
+
additionalCatalogs?: string[] | null | undefined;
|
3657
|
+
feedmeDelivery?: {
|
3658
|
+
instruction?: string | null | undefined;
|
3659
|
+
catalogId?: string | null | undefined;
|
3660
|
+
autoAccept?: boolean | null | undefined;
|
3661
|
+
term?: string | null | undefined;
|
3662
|
+
enable: boolean;
|
3663
|
+
} | null | undefined;
|
3664
|
+
foodpandaDelivery?: {
|
3665
|
+
_id?: string | undefined;
|
3666
|
+
ignoreDiscount?: boolean | null | undefined;
|
3667
|
+
catalogId?: string | null | undefined;
|
3668
|
+
commissionRate?: number | null | undefined;
|
3669
|
+
lastSynchronize?: string | null | undefined;
|
3670
|
+
showProductAddon?: boolean | null | undefined;
|
3671
|
+
autoAccept?: boolean | null | undefined;
|
3672
|
+
reportConfig?: {
|
3673
|
+
commissionRate: number;
|
3674
|
+
discountCampaigns: {
|
3675
|
+
name: string;
|
3676
|
+
date: {
|
3677
|
+
end: string;
|
3678
|
+
start: string;
|
3679
|
+
};
|
3680
|
+
vendorBearPercentage: number;
|
3681
|
+
}[];
|
3682
|
+
} | null | undefined;
|
3683
|
+
hasSst?: boolean | null | undefined;
|
3684
|
+
enable: boolean;
|
3685
|
+
remoteId: string;
|
3686
|
+
autoCloseBill: boolean;
|
3687
|
+
} | null | undefined;
|
3688
|
+
grabfoodDelivery?: {
|
3689
|
+
_id?: string | undefined;
|
3690
|
+
catalogId?: string | null | undefined;
|
3691
|
+
lastSynchronize?: string | null | undefined;
|
3692
|
+
showProductAddon?: boolean | null | undefined;
|
3693
|
+
enable: boolean;
|
3694
|
+
commissionRate: number;
|
3175
3695
|
autoCloseBill: boolean;
|
3176
3696
|
merchantID: string;
|
3177
3697
|
} | null | undefined;
|
@@ -3308,6 +3828,7 @@ export declare const useCoreStore: () => {
|
|
3308
3828
|
};
|
3309
3829
|
businessId: string;
|
3310
3830
|
profile: {
|
3831
|
+
code?: string | null | undefined;
|
3311
3832
|
url?: string | null | undefined;
|
3312
3833
|
description?: string | null | undefined;
|
3313
3834
|
_id?: string | null | undefined;
|
@@ -3384,7 +3905,7 @@ export declare const useCoreStore: () => {
|
|
3384
3905
|
regNo: string;
|
3385
3906
|
};
|
3386
3907
|
}[] | undefined>;
|
3387
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
3908
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
3388
3909
|
apps: import("vue").Ref<{
|
3389
3910
|
icon?: string | undefined;
|
3390
3911
|
name: string;
|
@@ -3892,6 +4413,7 @@ export declare const useCoreStore: () => {
|
|
3892
4413
|
};
|
3893
4414
|
businessId: string;
|
3894
4415
|
profile: {
|
4416
|
+
code?: string | null | undefined;
|
3895
4417
|
url?: string | null | undefined;
|
3896
4418
|
description?: string | null | undefined;
|
3897
4419
|
_id?: string | null | undefined;
|
@@ -4288,6 +4810,7 @@ export declare const useCoreStore: () => {
|
|
4288
4810
|
};
|
4289
4811
|
businessId: string;
|
4290
4812
|
profile: {
|
4813
|
+
code?: string | null | undefined;
|
4291
4814
|
url?: string | null | undefined;
|
4292
4815
|
description?: string | null | undefined;
|
4293
4816
|
_id?: string | null | undefined;
|
@@ -4858,6 +5381,7 @@ export declare const useCoreStore: () => {
|
|
4858
5381
|
};
|
4859
5382
|
businessId: string;
|
4860
5383
|
profile: {
|
5384
|
+
code?: string | null | undefined;
|
4861
5385
|
url?: string | null | undefined;
|
4862
5386
|
description?: string | null | undefined;
|
4863
5387
|
_id?: string | null | undefined;
|
@@ -5254,6 +5778,7 @@ export declare const useCoreStore: () => {
|
|
5254
5778
|
};
|
5255
5779
|
businessId: string;
|
5256
5780
|
profile: {
|
5781
|
+
code?: string | null | undefined;
|
5257
5782
|
url?: string | null | undefined;
|
5258
5783
|
description?: string | null | undefined;
|
5259
5784
|
_id?: string | null | undefined;
|
@@ -5863,6 +6388,7 @@ export declare const useCoreStore: () => {
|
|
5863
6388
|
};
|
5864
6389
|
businessId: string;
|
5865
6390
|
profile: {
|
6391
|
+
code?: string | null | undefined;
|
5866
6392
|
url?: string | null | undefined;
|
5867
6393
|
description?: string | null | undefined;
|
5868
6394
|
_id?: string | null | undefined;
|
@@ -6258,6 +6784,7 @@ export declare const useCoreStore: () => {
|
|
6258
6784
|
};
|
6259
6785
|
businessId: string;
|
6260
6786
|
profile: {
|
6787
|
+
code?: string | null | undefined;
|
6261
6788
|
url?: string | null | undefined;
|
6262
6789
|
description?: string | null | undefined;
|
6263
6790
|
_id?: string | null | undefined;
|
@@ -6335,10 +6862,7 @@ export declare const useCoreStore: () => {
|
|
6335
6862
|
};
|
6336
6863
|
}[]>;
|
6337
6864
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
6338
|
-
|
6339
|
-
managable: boolean;
|
6340
|
-
channel?: string | null | undefined;
|
6341
|
-
machineId?: string | null | undefined;
|
6865
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
6342
6866
|
catalogId?: string | null | undefined;
|
6343
6867
|
takeaway?: {
|
6344
6868
|
catalogId?: string | null | undefined;
|
@@ -6474,12 +6998,10 @@ export declare const useCoreStore: () => {
|
|
6474
6998
|
acceptQueue?: boolean | null | undefined;
|
6475
6999
|
anonymousOrder: boolean;
|
6476
7000
|
} | null | undefined;
|
6477
|
-
|
6478
|
-
|
6479
|
-
|
6480
|
-
|
6481
|
-
posHeartbeat?: string | null | undefined;
|
6482
|
-
posVersionHistory?: Record<string, string> | null | undefined;
|
7001
|
+
roundToNearest?: number | null | undefined;
|
7002
|
+
customerDisplayImages?: string[] | null | undefined;
|
7003
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7004
|
+
acceptQueue?: boolean | null | undefined;
|
6483
7005
|
additionalCatalogs?: string[] | null | undefined;
|
6484
7006
|
feedmeDelivery?: {
|
6485
7007
|
instruction?: string | null | undefined;
|
@@ -6488,29 +7010,291 @@ export declare const useCoreStore: () => {
|
|
6488
7010
|
term?: string | null | undefined;
|
6489
7011
|
enable: boolean;
|
6490
7012
|
} | null | undefined;
|
6491
|
-
|
6492
|
-
|
6493
|
-
|
6494
|
-
|
6495
|
-
|
6496
|
-
|
6497
|
-
showProductAddon?: boolean | null | undefined;
|
6498
|
-
autoAccept?: boolean | null | undefined;
|
6499
|
-
reportConfig?: {
|
6500
|
-
commissionRate: number;
|
6501
|
-
discountCampaigns: {
|
6502
|
-
name: string;
|
6503
|
-
date: {
|
6504
|
-
end: string;
|
6505
|
-
start: string;
|
6506
|
-
};
|
6507
|
-
vendorBearPercentage: number;
|
6508
|
-
}[];
|
7013
|
+
payoutAccount?: {
|
7014
|
+
bank?: {
|
7015
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
7016
|
+
accountNumber?: string | null | undefined;
|
7017
|
+
holderName?: string | null | undefined;
|
7018
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
6509
7019
|
} | null | undefined;
|
6510
|
-
|
6511
|
-
|
6512
|
-
|
6513
|
-
|
7020
|
+
ssm?: string | null | undefined;
|
7021
|
+
bankStatement?: string | null | undefined;
|
7022
|
+
exteriorPhoto?: string | null | undefined;
|
7023
|
+
keyPerson?: string | null | undefined;
|
7024
|
+
keyPersonPhone?: string | null | undefined;
|
7025
|
+
keyPersonEmail?: string | null | undefined;
|
7026
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
7027
|
+
enable: boolean;
|
7028
|
+
methods: {
|
7029
|
+
variant: string;
|
7030
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
7031
|
+
rate: {
|
7032
|
+
amount: number;
|
7033
|
+
precision: number;
|
7034
|
+
};
|
7035
|
+
tPlus: number;
|
7036
|
+
}[];
|
7037
|
+
} | null | undefined;
|
7038
|
+
tableMappingSetting?: {
|
7039
|
+
enable?: boolean | null | undefined;
|
7040
|
+
showSeat?: boolean | null | undefined;
|
7041
|
+
mapBorderColor?: number | null | undefined;
|
7042
|
+
mapLineColor?: number | null | undefined;
|
7043
|
+
} | null | undefined;
|
7044
|
+
serviceChargeSetting?: {
|
7045
|
+
beforeDiscount?: boolean | null | undefined;
|
7046
|
+
active: boolean;
|
7047
|
+
inclusive: boolean;
|
7048
|
+
rate: {
|
7049
|
+
amount: number;
|
7050
|
+
precision: number;
|
7051
|
+
};
|
7052
|
+
rules: {
|
7053
|
+
inclusive: boolean;
|
7054
|
+
rate: {
|
7055
|
+
amount: number;
|
7056
|
+
precision: number;
|
7057
|
+
};
|
7058
|
+
condition: {
|
7059
|
+
items?: string[] | null | undefined;
|
7060
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
7061
|
+
tables?: string[] | null | undefined;
|
7062
|
+
};
|
7063
|
+
}[];
|
7064
|
+
} | null | undefined;
|
7065
|
+
closeSalesAt?: string | null | undefined;
|
7066
|
+
passcodeOnReprint?: boolean | null | undefined;
|
7067
|
+
printDrawer?: number | null | undefined;
|
7068
|
+
acceptMobileOrder?: boolean | null | undefined;
|
7069
|
+
preparationMinute?: number | null | undefined;
|
7070
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
7071
|
+
newOrderAfterSale?: boolean | null | undefined;
|
7072
|
+
servableSlot?: string[] | null | undefined;
|
7073
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
7074
|
+
accountingSetting?: {
|
7075
|
+
autoCount: {
|
7076
|
+
projectNo?: string | null | undefined;
|
7077
|
+
closeSalesTime?: string | null | undefined;
|
7078
|
+
saleAccNo: string;
|
7079
|
+
serviceChargeAccNo: string;
|
7080
|
+
deliveryFeeAccNo: string;
|
7081
|
+
sstAccNo: string;
|
7082
|
+
};
|
7083
|
+
} | null | undefined;
|
7084
|
+
dynamicQrSetting?: {
|
7085
|
+
remark?: string | null | undefined;
|
7086
|
+
printerSettings?: {
|
7087
|
+
tableName: string;
|
7088
|
+
printerIds: string[];
|
7089
|
+
}[] | null | undefined;
|
7090
|
+
minutes: number;
|
7091
|
+
singleUse: boolean;
|
7092
|
+
} | null | undefined;
|
7093
|
+
realtimeStockCheck?: boolean | null | undefined;
|
7094
|
+
printerServerSetting?: {
|
7095
|
+
acquirePrinterLock?: boolean | null | undefined;
|
7096
|
+
serverIp?: string | null | undefined;
|
7097
|
+
} | null | undefined;
|
7098
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
7099
|
+
deductStock?: boolean | null | undefined;
|
7100
|
+
terminal?: {
|
7101
|
+
ipAddress: string;
|
7102
|
+
} | null | undefined;
|
7103
|
+
eghlTerminal?: {
|
7104
|
+
active: boolean;
|
7105
|
+
} | null | undefined;
|
7106
|
+
feedmeTerminal?: {
|
7107
|
+
ipAddress: string;
|
7108
|
+
} | null | undefined;
|
7109
|
+
showCustomItem?: boolean | null | undefined;
|
7110
|
+
customItemTaxSetting?: {
|
7111
|
+
taxCode: string;
|
7112
|
+
systemCode: string;
|
7113
|
+
}[] | null | undefined;
|
7114
|
+
_id: string;
|
7115
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
7116
|
+
printReceipt: boolean;
|
7117
|
+
paxDialog: boolean;
|
7118
|
+
acceptDineIn: boolean;
|
7119
|
+
acceptDelivery: boolean;
|
7120
|
+
acceptPickup: boolean;
|
7121
|
+
} | null>;
|
7122
|
+
readRestaurants: () => Promise<{
|
7123
|
+
managable: boolean;
|
7124
|
+
channel?: string | null | undefined;
|
7125
|
+
machineId?: string | null | undefined;
|
7126
|
+
catalogId?: string | null | undefined;
|
7127
|
+
takeaway?: {
|
7128
|
+
catalogId?: string | null | undefined;
|
7129
|
+
} | null | undefined;
|
7130
|
+
inHouseDelivery?: {
|
7131
|
+
taxes?: Record<string, {
|
7132
|
+
inclusive: boolean;
|
7133
|
+
taxCode: string;
|
7134
|
+
systemCode: string;
|
7135
|
+
}> | null | undefined;
|
7136
|
+
autoAccept?: boolean | null | undefined;
|
7137
|
+
deliveryTime?: {
|
7138
|
+
time?: string[] | null | undefined;
|
7139
|
+
custom?: {
|
7140
|
+
0: {
|
7141
|
+
hours: {
|
7142
|
+
end: string;
|
7143
|
+
start: string;
|
7144
|
+
}[];
|
7145
|
+
enable: boolean;
|
7146
|
+
};
|
7147
|
+
2: {
|
7148
|
+
hours: {
|
7149
|
+
end: string;
|
7150
|
+
start: string;
|
7151
|
+
}[];
|
7152
|
+
enable: boolean;
|
7153
|
+
};
|
7154
|
+
1: {
|
7155
|
+
hours: {
|
7156
|
+
end: string;
|
7157
|
+
start: string;
|
7158
|
+
}[];
|
7159
|
+
enable: boolean;
|
7160
|
+
};
|
7161
|
+
3: {
|
7162
|
+
hours: {
|
7163
|
+
end: string;
|
7164
|
+
start: string;
|
7165
|
+
}[];
|
7166
|
+
enable: boolean;
|
7167
|
+
};
|
7168
|
+
4: {
|
7169
|
+
hours: {
|
7170
|
+
end: string;
|
7171
|
+
start: string;
|
7172
|
+
}[];
|
7173
|
+
enable: boolean;
|
7174
|
+
};
|
7175
|
+
5: {
|
7176
|
+
hours: {
|
7177
|
+
end: string;
|
7178
|
+
start: string;
|
7179
|
+
}[];
|
7180
|
+
enable: boolean;
|
7181
|
+
};
|
7182
|
+
6: {
|
7183
|
+
hours: {
|
7184
|
+
end: string;
|
7185
|
+
start: string;
|
7186
|
+
}[];
|
7187
|
+
enable: boolean;
|
7188
|
+
};
|
7189
|
+
} | null | undefined;
|
7190
|
+
day: {
|
7191
|
+
max: number;
|
7192
|
+
min: number;
|
7193
|
+
};
|
7194
|
+
} | null | undefined;
|
7195
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7196
|
+
offlinePaymentTypes?: {
|
7197
|
+
name: string;
|
7198
|
+
instruction: string;
|
7199
|
+
}[] | null | undefined;
|
7200
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7201
|
+
ignoreStock?: boolean | null | undefined;
|
7202
|
+
catalogId: string | null;
|
7203
|
+
enable: boolean;
|
7204
|
+
areas: {
|
7205
|
+
minPurchase?: {
|
7206
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
7207
|
+
amount: number;
|
7208
|
+
precision: number;
|
7209
|
+
} | null | undefined;
|
7210
|
+
freeAfterTotal?: {
|
7211
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
7212
|
+
amount: number;
|
7213
|
+
precision: number;
|
7214
|
+
} | null | undefined;
|
7215
|
+
polygon: number[][];
|
7216
|
+
deliveryFee: {
|
7217
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
7218
|
+
amount: number;
|
7219
|
+
precision: number;
|
7220
|
+
};
|
7221
|
+
}[];
|
7222
|
+
term: string;
|
7223
|
+
} | null | undefined;
|
7224
|
+
pickup?: {
|
7225
|
+
catalogId?: string | null | undefined;
|
7226
|
+
autoAccept?: boolean | null | undefined;
|
7227
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7228
|
+
offlinePaymentTypes?: {
|
7229
|
+
name: string;
|
7230
|
+
instruction: string;
|
7231
|
+
}[] | null | undefined;
|
7232
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7233
|
+
ignoreStock?: boolean | null | undefined;
|
7234
|
+
pickupTime?: {
|
7235
|
+
day: {
|
7236
|
+
max: number;
|
7237
|
+
min: number;
|
7238
|
+
};
|
7239
|
+
} | null | undefined;
|
7240
|
+
pickupPointConfig?: {
|
7241
|
+
restaurantEnable: boolean;
|
7242
|
+
points: {
|
7243
|
+
name: string;
|
7244
|
+
address: string;
|
7245
|
+
coordinates: number[];
|
7246
|
+
}[];
|
7247
|
+
} | null | undefined;
|
7248
|
+
} | null | undefined;
|
7249
|
+
dineIn?: {
|
7250
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7251
|
+
offlinePaymentTypes?: {
|
7252
|
+
name: string;
|
7253
|
+
instruction: string;
|
7254
|
+
}[] | null | undefined;
|
7255
|
+
ignoreStock?: boolean | null | undefined;
|
7256
|
+
staticQr?: boolean | null | undefined;
|
7257
|
+
disableItemRemark?: boolean | null | undefined;
|
7258
|
+
acceptQueue?: boolean | null | undefined;
|
7259
|
+
anonymousOrder: boolean;
|
7260
|
+
} | null | undefined;
|
7261
|
+
features?: string[] | null | undefined;
|
7262
|
+
machineOtp?: string | null | undefined;
|
7263
|
+
machineOtpExpiredAt?: string | null | undefined;
|
7264
|
+
posVersion?: string | null | undefined;
|
7265
|
+
posHeartbeat?: string | null | undefined;
|
7266
|
+
posVersionHistory?: Record<string, string> | null | undefined;
|
7267
|
+
additionalCatalogs?: string[] | null | undefined;
|
7268
|
+
feedmeDelivery?: {
|
7269
|
+
instruction?: string | null | undefined;
|
7270
|
+
catalogId?: string | null | undefined;
|
7271
|
+
autoAccept?: boolean | null | undefined;
|
7272
|
+
term?: string | null | undefined;
|
7273
|
+
enable: boolean;
|
7274
|
+
} | null | undefined;
|
7275
|
+
foodpandaDelivery?: {
|
7276
|
+
_id?: string | undefined;
|
7277
|
+
ignoreDiscount?: boolean | null | undefined;
|
7278
|
+
catalogId?: string | null | undefined;
|
7279
|
+
commissionRate?: number | null | undefined;
|
7280
|
+
lastSynchronize?: string | null | undefined;
|
7281
|
+
showProductAddon?: boolean | null | undefined;
|
7282
|
+
autoAccept?: boolean | null | undefined;
|
7283
|
+
reportConfig?: {
|
7284
|
+
commissionRate: number;
|
7285
|
+
discountCampaigns: {
|
7286
|
+
name: string;
|
7287
|
+
date: {
|
7288
|
+
end: string;
|
7289
|
+
start: string;
|
7290
|
+
};
|
7291
|
+
vendorBearPercentage: number;
|
7292
|
+
}[];
|
7293
|
+
} | null | undefined;
|
7294
|
+
hasSst?: boolean | null | undefined;
|
7295
|
+
enable: boolean;
|
7296
|
+
remoteId: string;
|
7297
|
+
autoCloseBill: boolean;
|
6514
7298
|
} | null | undefined;
|
6515
7299
|
grabfoodDelivery?: {
|
6516
7300
|
_id?: string | undefined;
|
@@ -6655,6 +7439,7 @@ export declare const useCoreStore: () => {
|
|
6655
7439
|
};
|
6656
7440
|
businessId: string;
|
6657
7441
|
profile: {
|
7442
|
+
code?: string | null | undefined;
|
6658
7443
|
url?: string | null | undefined;
|
6659
7444
|
description?: string | null | undefined;
|
6660
7445
|
_id?: string | null | undefined;
|
@@ -6731,7 +7516,7 @@ export declare const useCoreStore: () => {
|
|
6731
7516
|
regNo: string;
|
6732
7517
|
};
|
6733
7518
|
}[] | undefined>;
|
6734
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
7519
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
6735
7520
|
apps: import("vue").Ref<{
|
6736
7521
|
icon?: string | undefined;
|
6737
7522
|
name: string;
|
@@ -7279,6 +8064,7 @@ export declare const useCoreStore: () => {
|
|
7279
8064
|
};
|
7280
8065
|
businessId: string;
|
7281
8066
|
profile: {
|
8067
|
+
code?: string | null | undefined;
|
7282
8068
|
url?: string | null | undefined;
|
7283
8069
|
description?: string | null | undefined;
|
7284
8070
|
_id?: string | null | undefined;
|
@@ -7674,6 +8460,7 @@ export declare const useCoreStore: () => {
|
|
7674
8460
|
};
|
7675
8461
|
businessId: string;
|
7676
8462
|
profile: {
|
8463
|
+
code?: string | null | undefined;
|
7677
8464
|
url?: string | null | undefined;
|
7678
8465
|
description?: string | null | undefined;
|
7679
8466
|
_id?: string | null | undefined;
|
@@ -7719,38 +8506,295 @@ export declare const useCoreStore: () => {
|
|
7719
8506
|
}[];
|
7720
8507
|
enable: boolean;
|
7721
8508
|
};
|
7722
|
-
5: {
|
7723
|
-
hours: {
|
7724
|
-
end: string;
|
7725
|
-
start: string;
|
7726
|
-
}[];
|
7727
|
-
enable: boolean;
|
8509
|
+
5: {
|
8510
|
+
hours: {
|
8511
|
+
end: string;
|
8512
|
+
start: string;
|
8513
|
+
}[];
|
8514
|
+
enable: boolean;
|
8515
|
+
};
|
8516
|
+
6: {
|
8517
|
+
hours: {
|
8518
|
+
end: string;
|
8519
|
+
start: string;
|
8520
|
+
}[];
|
8521
|
+
enable: boolean;
|
8522
|
+
};
|
8523
|
+
} | null | undefined;
|
8524
|
+
tags?: string[] | null | undefined;
|
8525
|
+
name: string;
|
8526
|
+
address: {
|
8527
|
+
coordinates?: number[] | null | undefined;
|
8528
|
+
line2?: string | null | undefined;
|
8529
|
+
state: string;
|
8530
|
+
country: string;
|
8531
|
+
line1: string;
|
8532
|
+
city: string;
|
8533
|
+
postcode: string;
|
8534
|
+
};
|
8535
|
+
email: string;
|
8536
|
+
phoneNo: string;
|
8537
|
+
regNo: string;
|
8538
|
+
};
|
8539
|
+
}[]>;
|
8540
|
+
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
8541
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
8542
|
+
catalogId?: string | null | undefined;
|
8543
|
+
takeaway?: {
|
8544
|
+
catalogId?: string | null | undefined;
|
8545
|
+
} | null | undefined;
|
8546
|
+
inHouseDelivery?: {
|
8547
|
+
taxes?: Record<string, {
|
8548
|
+
inclusive: boolean;
|
8549
|
+
taxCode: string;
|
8550
|
+
systemCode: string;
|
8551
|
+
}> | null | undefined;
|
8552
|
+
autoAccept?: boolean | null | undefined;
|
8553
|
+
deliveryTime?: {
|
8554
|
+
time?: string[] | null | undefined;
|
8555
|
+
custom?: {
|
8556
|
+
0: {
|
8557
|
+
hours: {
|
8558
|
+
end: string;
|
8559
|
+
start: string;
|
8560
|
+
}[];
|
8561
|
+
enable: boolean;
|
8562
|
+
};
|
8563
|
+
2: {
|
8564
|
+
hours: {
|
8565
|
+
end: string;
|
8566
|
+
start: string;
|
8567
|
+
}[];
|
8568
|
+
enable: boolean;
|
8569
|
+
};
|
8570
|
+
1: {
|
8571
|
+
hours: {
|
8572
|
+
end: string;
|
8573
|
+
start: string;
|
8574
|
+
}[];
|
8575
|
+
enable: boolean;
|
8576
|
+
};
|
8577
|
+
3: {
|
8578
|
+
hours: {
|
8579
|
+
end: string;
|
8580
|
+
start: string;
|
8581
|
+
}[];
|
8582
|
+
enable: boolean;
|
8583
|
+
};
|
8584
|
+
4: {
|
8585
|
+
hours: {
|
8586
|
+
end: string;
|
8587
|
+
start: string;
|
8588
|
+
}[];
|
8589
|
+
enable: boolean;
|
8590
|
+
};
|
8591
|
+
5: {
|
8592
|
+
hours: {
|
8593
|
+
end: string;
|
8594
|
+
start: string;
|
8595
|
+
}[];
|
8596
|
+
enable: boolean;
|
8597
|
+
};
|
8598
|
+
6: {
|
8599
|
+
hours: {
|
8600
|
+
end: string;
|
8601
|
+
start: string;
|
8602
|
+
}[];
|
8603
|
+
enable: boolean;
|
8604
|
+
};
|
8605
|
+
} | null | undefined;
|
8606
|
+
day: {
|
8607
|
+
max: number;
|
8608
|
+
min: number;
|
8609
|
+
};
|
8610
|
+
} | null | undefined;
|
8611
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8612
|
+
offlinePaymentTypes?: {
|
8613
|
+
name: string;
|
8614
|
+
instruction: string;
|
8615
|
+
}[] | null | undefined;
|
8616
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8617
|
+
ignoreStock?: boolean | null | undefined;
|
8618
|
+
catalogId: string | null;
|
8619
|
+
enable: boolean;
|
8620
|
+
areas: {
|
8621
|
+
minPurchase?: {
|
8622
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
8623
|
+
amount: number;
|
8624
|
+
precision: number;
|
8625
|
+
} | null | undefined;
|
8626
|
+
freeAfterTotal?: {
|
8627
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
8628
|
+
amount: number;
|
8629
|
+
precision: number;
|
8630
|
+
} | null | undefined;
|
8631
|
+
polygon: number[][];
|
8632
|
+
deliveryFee: {
|
8633
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
8634
|
+
amount: number;
|
8635
|
+
precision: number;
|
8636
|
+
};
|
8637
|
+
}[];
|
8638
|
+
term: string;
|
8639
|
+
} | null | undefined;
|
8640
|
+
pickup?: {
|
8641
|
+
catalogId?: string | null | undefined;
|
8642
|
+
autoAccept?: boolean | null | undefined;
|
8643
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8644
|
+
offlinePaymentTypes?: {
|
8645
|
+
name: string;
|
8646
|
+
instruction: string;
|
8647
|
+
}[] | null | undefined;
|
8648
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8649
|
+
ignoreStock?: boolean | null | undefined;
|
8650
|
+
pickupTime?: {
|
8651
|
+
day: {
|
8652
|
+
max: number;
|
8653
|
+
min: number;
|
8654
|
+
};
|
8655
|
+
} | null | undefined;
|
8656
|
+
pickupPointConfig?: {
|
8657
|
+
restaurantEnable: boolean;
|
8658
|
+
points: {
|
8659
|
+
name: string;
|
8660
|
+
address: string;
|
8661
|
+
coordinates: number[];
|
8662
|
+
}[];
|
8663
|
+
} | null | undefined;
|
8664
|
+
} | null | undefined;
|
8665
|
+
dineIn?: {
|
8666
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8667
|
+
offlinePaymentTypes?: {
|
8668
|
+
name: string;
|
8669
|
+
instruction: string;
|
8670
|
+
}[] | null | undefined;
|
8671
|
+
ignoreStock?: boolean | null | undefined;
|
8672
|
+
staticQr?: boolean | null | undefined;
|
8673
|
+
disableItemRemark?: boolean | null | undefined;
|
8674
|
+
acceptQueue?: boolean | null | undefined;
|
8675
|
+
anonymousOrder: boolean;
|
8676
|
+
} | null | undefined;
|
8677
|
+
roundToNearest?: number | null | undefined;
|
8678
|
+
customerDisplayImages?: string[] | null | undefined;
|
8679
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8680
|
+
acceptQueue?: boolean | null | undefined;
|
8681
|
+
additionalCatalogs?: string[] | null | undefined;
|
8682
|
+
feedmeDelivery?: {
|
8683
|
+
instruction?: string | null | undefined;
|
8684
|
+
catalogId?: string | null | undefined;
|
8685
|
+
autoAccept?: boolean | null | undefined;
|
8686
|
+
term?: string | null | undefined;
|
8687
|
+
enable: boolean;
|
8688
|
+
} | null | undefined;
|
8689
|
+
payoutAccount?: {
|
8690
|
+
bank?: {
|
8691
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
8692
|
+
accountNumber?: string | null | undefined;
|
8693
|
+
holderName?: string | null | undefined;
|
8694
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
8695
|
+
} | null | undefined;
|
8696
|
+
ssm?: string | null | undefined;
|
8697
|
+
bankStatement?: string | null | undefined;
|
8698
|
+
exteriorPhoto?: string | null | undefined;
|
8699
|
+
keyPerson?: string | null | undefined;
|
8700
|
+
keyPersonPhone?: string | null | undefined;
|
8701
|
+
keyPersonEmail?: string | null | undefined;
|
8702
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
8703
|
+
enable: boolean;
|
8704
|
+
methods: {
|
8705
|
+
variant: string;
|
8706
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
8707
|
+
rate: {
|
8708
|
+
amount: number;
|
8709
|
+
precision: number;
|
8710
|
+
};
|
8711
|
+
tPlus: number;
|
8712
|
+
}[];
|
8713
|
+
} | null | undefined;
|
8714
|
+
tableMappingSetting?: {
|
8715
|
+
enable?: boolean | null | undefined;
|
8716
|
+
showSeat?: boolean | null | undefined;
|
8717
|
+
mapBorderColor?: number | null | undefined;
|
8718
|
+
mapLineColor?: number | null | undefined;
|
8719
|
+
} | null | undefined;
|
8720
|
+
serviceChargeSetting?: {
|
8721
|
+
beforeDiscount?: boolean | null | undefined;
|
8722
|
+
active: boolean;
|
8723
|
+
inclusive: boolean;
|
8724
|
+
rate: {
|
8725
|
+
amount: number;
|
8726
|
+
precision: number;
|
8727
|
+
};
|
8728
|
+
rules: {
|
8729
|
+
inclusive: boolean;
|
8730
|
+
rate: {
|
8731
|
+
amount: number;
|
8732
|
+
precision: number;
|
7728
8733
|
};
|
7729
|
-
|
7730
|
-
|
7731
|
-
|
7732
|
-
|
7733
|
-
}[];
|
7734
|
-
enable: boolean;
|
8734
|
+
condition: {
|
8735
|
+
items?: string[] | null | undefined;
|
8736
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
8737
|
+
tables?: string[] | null | undefined;
|
7735
8738
|
};
|
7736
|
-
}
|
7737
|
-
|
7738
|
-
|
7739
|
-
|
7740
|
-
|
7741
|
-
|
7742
|
-
|
7743
|
-
|
7744
|
-
|
7745
|
-
|
7746
|
-
|
8739
|
+
}[];
|
8740
|
+
} | null | undefined;
|
8741
|
+
closeSalesAt?: string | null | undefined;
|
8742
|
+
passcodeOnReprint?: boolean | null | undefined;
|
8743
|
+
printDrawer?: number | null | undefined;
|
8744
|
+
acceptMobileOrder?: boolean | null | undefined;
|
8745
|
+
preparationMinute?: number | null | undefined;
|
8746
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
8747
|
+
newOrderAfterSale?: boolean | null | undefined;
|
8748
|
+
servableSlot?: string[] | null | undefined;
|
8749
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
8750
|
+
accountingSetting?: {
|
8751
|
+
autoCount: {
|
8752
|
+
projectNo?: string | null | undefined;
|
8753
|
+
closeSalesTime?: string | null | undefined;
|
8754
|
+
saleAccNo: string;
|
8755
|
+
serviceChargeAccNo: string;
|
8756
|
+
deliveryFeeAccNo: string;
|
8757
|
+
sstAccNo: string;
|
7747
8758
|
};
|
7748
|
-
|
7749
|
-
|
7750
|
-
|
7751
|
-
|
7752
|
-
|
7753
|
-
|
8759
|
+
} | null | undefined;
|
8760
|
+
dynamicQrSetting?: {
|
8761
|
+
remark?: string | null | undefined;
|
8762
|
+
printerSettings?: {
|
8763
|
+
tableName: string;
|
8764
|
+
printerIds: string[];
|
8765
|
+
}[] | null | undefined;
|
8766
|
+
minutes: number;
|
8767
|
+
singleUse: boolean;
|
8768
|
+
} | null | undefined;
|
8769
|
+
realtimeStockCheck?: boolean | null | undefined;
|
8770
|
+
printerServerSetting?: {
|
8771
|
+
acquirePrinterLock?: boolean | null | undefined;
|
8772
|
+
serverIp?: string | null | undefined;
|
8773
|
+
} | null | undefined;
|
8774
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
8775
|
+
deductStock?: boolean | null | undefined;
|
8776
|
+
terminal?: {
|
8777
|
+
ipAddress: string;
|
8778
|
+
} | null | undefined;
|
8779
|
+
eghlTerminal?: {
|
8780
|
+
active: boolean;
|
8781
|
+
} | null | undefined;
|
8782
|
+
feedmeTerminal?: {
|
8783
|
+
ipAddress: string;
|
8784
|
+
} | null | undefined;
|
8785
|
+
showCustomItem?: boolean | null | undefined;
|
8786
|
+
customItemTaxSetting?: {
|
8787
|
+
taxCode: string;
|
8788
|
+
systemCode: string;
|
8789
|
+
}[] | null | undefined;
|
8790
|
+
_id: string;
|
8791
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
8792
|
+
printReceipt: boolean;
|
8793
|
+
paxDialog: boolean;
|
8794
|
+
acceptDineIn: boolean;
|
8795
|
+
acceptDelivery: boolean;
|
8796
|
+
acceptPickup: boolean;
|
8797
|
+
} | null>;
|
7754
8798
|
readRestaurants: () => Promise<{
|
7755
8799
|
managable: boolean;
|
7756
8800
|
channel?: string | null | undefined;
|
@@ -8071,6 +9115,7 @@ export declare const useCoreStore: () => {
|
|
8071
9115
|
};
|
8072
9116
|
businessId: string;
|
8073
9117
|
profile: {
|
9118
|
+
code?: string | null | undefined;
|
8074
9119
|
url?: string | null | undefined;
|
8075
9120
|
description?: string | null | undefined;
|
8076
9121
|
_id?: string | null | undefined;
|
@@ -8147,7 +9192,7 @@ export declare const useCoreStore: () => {
|
|
8147
9192
|
regNo: string;
|
8148
9193
|
};
|
8149
9194
|
}[] | undefined>;
|
8150
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
9195
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
8151
9196
|
apps: import("vue").Ref<{
|
8152
9197
|
icon?: string | undefined;
|
8153
9198
|
name: string;
|
@@ -8692,6 +9737,7 @@ export declare const useCoreStore: () => {
|
|
8692
9737
|
};
|
8693
9738
|
businessId: string;
|
8694
9739
|
profile: {
|
9740
|
+
code?: string | null | undefined;
|
8695
9741
|
url?: string | null | undefined;
|
8696
9742
|
description?: string | null | undefined;
|
8697
9743
|
_id?: string | null | undefined;
|
@@ -9087,6 +10133,7 @@ export declare const useCoreStore: () => {
|
|
9087
10133
|
};
|
9088
10134
|
businessId: string;
|
9089
10135
|
profile: {
|
10136
|
+
code?: string | null | undefined;
|
9090
10137
|
url?: string | null | undefined;
|
9091
10138
|
description?: string | null | undefined;
|
9092
10139
|
_id?: string | null | undefined;
|
@@ -9139,31 +10186,288 @@ export declare const useCoreStore: () => {
|
|
9139
10186
|
}[];
|
9140
10187
|
enable: boolean;
|
9141
10188
|
};
|
9142
|
-
6: {
|
9143
|
-
hours: {
|
9144
|
-
end: string;
|
9145
|
-
start: string;
|
9146
|
-
}[];
|
9147
|
-
enable: boolean;
|
10189
|
+
6: {
|
10190
|
+
hours: {
|
10191
|
+
end: string;
|
10192
|
+
start: string;
|
10193
|
+
}[];
|
10194
|
+
enable: boolean;
|
10195
|
+
};
|
10196
|
+
} | null | undefined;
|
10197
|
+
tags?: string[] | null | undefined;
|
10198
|
+
name: string;
|
10199
|
+
address: {
|
10200
|
+
coordinates?: number[] | null | undefined;
|
10201
|
+
line2?: string | null | undefined;
|
10202
|
+
state: string;
|
10203
|
+
country: string;
|
10204
|
+
line1: string;
|
10205
|
+
city: string;
|
10206
|
+
postcode: string;
|
10207
|
+
};
|
10208
|
+
email: string;
|
10209
|
+
phoneNo: string;
|
10210
|
+
regNo: string;
|
10211
|
+
};
|
10212
|
+
}[]>;
|
10213
|
+
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
10214
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
10215
|
+
catalogId?: string | null | undefined;
|
10216
|
+
takeaway?: {
|
10217
|
+
catalogId?: string | null | undefined;
|
10218
|
+
} | null | undefined;
|
10219
|
+
inHouseDelivery?: {
|
10220
|
+
taxes?: Record<string, {
|
10221
|
+
inclusive: boolean;
|
10222
|
+
taxCode: string;
|
10223
|
+
systemCode: string;
|
10224
|
+
}> | null | undefined;
|
10225
|
+
autoAccept?: boolean | null | undefined;
|
10226
|
+
deliveryTime?: {
|
10227
|
+
time?: string[] | null | undefined;
|
10228
|
+
custom?: {
|
10229
|
+
0: {
|
10230
|
+
hours: {
|
10231
|
+
end: string;
|
10232
|
+
start: string;
|
10233
|
+
}[];
|
10234
|
+
enable: boolean;
|
10235
|
+
};
|
10236
|
+
2: {
|
10237
|
+
hours: {
|
10238
|
+
end: string;
|
10239
|
+
start: string;
|
10240
|
+
}[];
|
10241
|
+
enable: boolean;
|
10242
|
+
};
|
10243
|
+
1: {
|
10244
|
+
hours: {
|
10245
|
+
end: string;
|
10246
|
+
start: string;
|
10247
|
+
}[];
|
10248
|
+
enable: boolean;
|
10249
|
+
};
|
10250
|
+
3: {
|
10251
|
+
hours: {
|
10252
|
+
end: string;
|
10253
|
+
start: string;
|
10254
|
+
}[];
|
10255
|
+
enable: boolean;
|
10256
|
+
};
|
10257
|
+
4: {
|
10258
|
+
hours: {
|
10259
|
+
end: string;
|
10260
|
+
start: string;
|
10261
|
+
}[];
|
10262
|
+
enable: boolean;
|
10263
|
+
};
|
10264
|
+
5: {
|
10265
|
+
hours: {
|
10266
|
+
end: string;
|
10267
|
+
start: string;
|
10268
|
+
}[];
|
10269
|
+
enable: boolean;
|
10270
|
+
};
|
10271
|
+
6: {
|
10272
|
+
hours: {
|
10273
|
+
end: string;
|
10274
|
+
start: string;
|
10275
|
+
}[];
|
10276
|
+
enable: boolean;
|
10277
|
+
};
|
10278
|
+
} | null | undefined;
|
10279
|
+
day: {
|
10280
|
+
max: number;
|
10281
|
+
min: number;
|
10282
|
+
};
|
10283
|
+
} | null | undefined;
|
10284
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10285
|
+
offlinePaymentTypes?: {
|
10286
|
+
name: string;
|
10287
|
+
instruction: string;
|
10288
|
+
}[] | null | undefined;
|
10289
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10290
|
+
ignoreStock?: boolean | null | undefined;
|
10291
|
+
catalogId: string | null;
|
10292
|
+
enable: boolean;
|
10293
|
+
areas: {
|
10294
|
+
minPurchase?: {
|
10295
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
10296
|
+
amount: number;
|
10297
|
+
precision: number;
|
10298
|
+
} | null | undefined;
|
10299
|
+
freeAfterTotal?: {
|
10300
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
10301
|
+
amount: number;
|
10302
|
+
precision: number;
|
10303
|
+
} | null | undefined;
|
10304
|
+
polygon: number[][];
|
10305
|
+
deliveryFee: {
|
10306
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
10307
|
+
amount: number;
|
10308
|
+
precision: number;
|
10309
|
+
};
|
10310
|
+
}[];
|
10311
|
+
term: string;
|
10312
|
+
} | null | undefined;
|
10313
|
+
pickup?: {
|
10314
|
+
catalogId?: string | null | undefined;
|
10315
|
+
autoAccept?: boolean | null | undefined;
|
10316
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10317
|
+
offlinePaymentTypes?: {
|
10318
|
+
name: string;
|
10319
|
+
instruction: string;
|
10320
|
+
}[] | null | undefined;
|
10321
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10322
|
+
ignoreStock?: boolean | null | undefined;
|
10323
|
+
pickupTime?: {
|
10324
|
+
day: {
|
10325
|
+
max: number;
|
10326
|
+
min: number;
|
10327
|
+
};
|
10328
|
+
} | null | undefined;
|
10329
|
+
pickupPointConfig?: {
|
10330
|
+
restaurantEnable: boolean;
|
10331
|
+
points: {
|
10332
|
+
name: string;
|
10333
|
+
address: string;
|
10334
|
+
coordinates: number[];
|
10335
|
+
}[];
|
10336
|
+
} | null | undefined;
|
10337
|
+
} | null | undefined;
|
10338
|
+
dineIn?: {
|
10339
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10340
|
+
offlinePaymentTypes?: {
|
10341
|
+
name: string;
|
10342
|
+
instruction: string;
|
10343
|
+
}[] | null | undefined;
|
10344
|
+
ignoreStock?: boolean | null | undefined;
|
10345
|
+
staticQr?: boolean | null | undefined;
|
10346
|
+
disableItemRemark?: boolean | null | undefined;
|
10347
|
+
acceptQueue?: boolean | null | undefined;
|
10348
|
+
anonymousOrder: boolean;
|
10349
|
+
} | null | undefined;
|
10350
|
+
roundToNearest?: number | null | undefined;
|
10351
|
+
customerDisplayImages?: string[] | null | undefined;
|
10352
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10353
|
+
acceptQueue?: boolean | null | undefined;
|
10354
|
+
additionalCatalogs?: string[] | null | undefined;
|
10355
|
+
feedmeDelivery?: {
|
10356
|
+
instruction?: string | null | undefined;
|
10357
|
+
catalogId?: string | null | undefined;
|
10358
|
+
autoAccept?: boolean | null | undefined;
|
10359
|
+
term?: string | null | undefined;
|
10360
|
+
enable: boolean;
|
10361
|
+
} | null | undefined;
|
10362
|
+
payoutAccount?: {
|
10363
|
+
bank?: {
|
10364
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
10365
|
+
accountNumber?: string | null | undefined;
|
10366
|
+
holderName?: string | null | undefined;
|
10367
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
10368
|
+
} | null | undefined;
|
10369
|
+
ssm?: string | null | undefined;
|
10370
|
+
bankStatement?: string | null | undefined;
|
10371
|
+
exteriorPhoto?: string | null | undefined;
|
10372
|
+
keyPerson?: string | null | undefined;
|
10373
|
+
keyPersonPhone?: string | null | undefined;
|
10374
|
+
keyPersonEmail?: string | null | undefined;
|
10375
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
10376
|
+
enable: boolean;
|
10377
|
+
methods: {
|
10378
|
+
variant: string;
|
10379
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
10380
|
+
rate: {
|
10381
|
+
amount: number;
|
10382
|
+
precision: number;
|
10383
|
+
};
|
10384
|
+
tPlus: number;
|
10385
|
+
}[];
|
10386
|
+
} | null | undefined;
|
10387
|
+
tableMappingSetting?: {
|
10388
|
+
enable?: boolean | null | undefined;
|
10389
|
+
showSeat?: boolean | null | undefined;
|
10390
|
+
mapBorderColor?: number | null | undefined;
|
10391
|
+
mapLineColor?: number | null | undefined;
|
10392
|
+
} | null | undefined;
|
10393
|
+
serviceChargeSetting?: {
|
10394
|
+
beforeDiscount?: boolean | null | undefined;
|
10395
|
+
active: boolean;
|
10396
|
+
inclusive: boolean;
|
10397
|
+
rate: {
|
10398
|
+
amount: number;
|
10399
|
+
precision: number;
|
10400
|
+
};
|
10401
|
+
rules: {
|
10402
|
+
inclusive: boolean;
|
10403
|
+
rate: {
|
10404
|
+
amount: number;
|
10405
|
+
precision: number;
|
10406
|
+
};
|
10407
|
+
condition: {
|
10408
|
+
items?: string[] | null | undefined;
|
10409
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
10410
|
+
tables?: string[] | null | undefined;
|
9148
10411
|
};
|
9149
|
-
}
|
9150
|
-
|
9151
|
-
|
9152
|
-
|
9153
|
-
|
9154
|
-
|
9155
|
-
|
9156
|
-
|
9157
|
-
|
9158
|
-
|
9159
|
-
|
10412
|
+
}[];
|
10413
|
+
} | null | undefined;
|
10414
|
+
closeSalesAt?: string | null | undefined;
|
10415
|
+
passcodeOnReprint?: boolean | null | undefined;
|
10416
|
+
printDrawer?: number | null | undefined;
|
10417
|
+
acceptMobileOrder?: boolean | null | undefined;
|
10418
|
+
preparationMinute?: number | null | undefined;
|
10419
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
10420
|
+
newOrderAfterSale?: boolean | null | undefined;
|
10421
|
+
servableSlot?: string[] | null | undefined;
|
10422
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
10423
|
+
accountingSetting?: {
|
10424
|
+
autoCount: {
|
10425
|
+
projectNo?: string | null | undefined;
|
10426
|
+
closeSalesTime?: string | null | undefined;
|
10427
|
+
saleAccNo: string;
|
10428
|
+
serviceChargeAccNo: string;
|
10429
|
+
deliveryFeeAccNo: string;
|
10430
|
+
sstAccNo: string;
|
9160
10431
|
};
|
9161
|
-
|
9162
|
-
|
9163
|
-
|
9164
|
-
|
9165
|
-
|
9166
|
-
|
10432
|
+
} | null | undefined;
|
10433
|
+
dynamicQrSetting?: {
|
10434
|
+
remark?: string | null | undefined;
|
10435
|
+
printerSettings?: {
|
10436
|
+
tableName: string;
|
10437
|
+
printerIds: string[];
|
10438
|
+
}[] | null | undefined;
|
10439
|
+
minutes: number;
|
10440
|
+
singleUse: boolean;
|
10441
|
+
} | null | undefined;
|
10442
|
+
realtimeStockCheck?: boolean | null | undefined;
|
10443
|
+
printerServerSetting?: {
|
10444
|
+
acquirePrinterLock?: boolean | null | undefined;
|
10445
|
+
serverIp?: string | null | undefined;
|
10446
|
+
} | null | undefined;
|
10447
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
10448
|
+
deductStock?: boolean | null | undefined;
|
10449
|
+
terminal?: {
|
10450
|
+
ipAddress: string;
|
10451
|
+
} | null | undefined;
|
10452
|
+
eghlTerminal?: {
|
10453
|
+
active: boolean;
|
10454
|
+
} | null | undefined;
|
10455
|
+
feedmeTerminal?: {
|
10456
|
+
ipAddress: string;
|
10457
|
+
} | null | undefined;
|
10458
|
+
showCustomItem?: boolean | null | undefined;
|
10459
|
+
customItemTaxSetting?: {
|
10460
|
+
taxCode: string;
|
10461
|
+
systemCode: string;
|
10462
|
+
}[] | null | undefined;
|
10463
|
+
_id: string;
|
10464
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
10465
|
+
printReceipt: boolean;
|
10466
|
+
paxDialog: boolean;
|
10467
|
+
acceptDineIn: boolean;
|
10468
|
+
acceptDelivery: boolean;
|
10469
|
+
acceptPickup: boolean;
|
10470
|
+
} | null>;
|
9167
10471
|
readRestaurants: () => Promise<{
|
9168
10472
|
managable: boolean;
|
9169
10473
|
channel?: string | null | undefined;
|
@@ -9484,6 +10788,7 @@ export declare const useCoreStore: () => {
|
|
9484
10788
|
};
|
9485
10789
|
businessId: string;
|
9486
10790
|
profile: {
|
10791
|
+
code?: string | null | undefined;
|
9487
10792
|
url?: string | null | undefined;
|
9488
10793
|
description?: string | null | undefined;
|
9489
10794
|
_id?: string | null | undefined;
|
@@ -9560,7 +10865,7 @@ export declare const useCoreStore: () => {
|
|
9560
10865
|
regNo: string;
|
9561
10866
|
};
|
9562
10867
|
}[] | undefined>;
|
9563
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
10868
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
9564
10869
|
apps: import("vue").Ref<{
|
9565
10870
|
icon?: string | undefined;
|
9566
10871
|
name: string;
|
@@ -9591,7 +10896,7 @@ export declare const useCoreStore: () => {
|
|
9591
10896
|
*/
|
9592
10897
|
isEmbedded: import("vue").Ref<boolean, boolean>;
|
9593
10898
|
setEmbdded: (value: boolean) => void;
|
9594
|
-
},
|
10899
|
+
}, "currentRestaurantSetting">, Pick<{
|
9595
10900
|
signIn: () => Promise<void>;
|
9596
10901
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
9597
10902
|
signOut: () => Promise<void>;
|
@@ -10105,6 +11410,7 @@ export declare const useCoreStore: () => {
|
|
10105
11410
|
};
|
10106
11411
|
businessId: string;
|
10107
11412
|
profile: {
|
11413
|
+
code?: string | null | undefined;
|
10108
11414
|
url?: string | null | undefined;
|
10109
11415
|
description?: string | null | undefined;
|
10110
11416
|
_id?: string | null | undefined;
|
@@ -10500,6 +11806,7 @@ export declare const useCoreStore: () => {
|
|
10500
11806
|
};
|
10501
11807
|
businessId: string;
|
10502
11808
|
profile: {
|
11809
|
+
code?: string | null | undefined;
|
10503
11810
|
url?: string | null | undefined;
|
10504
11811
|
description?: string | null | undefined;
|
10505
11812
|
_id?: string | null | undefined;
|
@@ -10577,6 +11884,263 @@ export declare const useCoreStore: () => {
|
|
10577
11884
|
};
|
10578
11885
|
}[]>;
|
10579
11886
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
11887
|
+
currentRestaurantSetting: import("vue").ComputedRef<{
|
11888
|
+
catalogId?: string | null | undefined;
|
11889
|
+
takeaway?: {
|
11890
|
+
catalogId?: string | null | undefined;
|
11891
|
+
} | null | undefined;
|
11892
|
+
inHouseDelivery?: {
|
11893
|
+
taxes?: Record<string, {
|
11894
|
+
inclusive: boolean;
|
11895
|
+
taxCode: string;
|
11896
|
+
systemCode: string;
|
11897
|
+
}> | null | undefined;
|
11898
|
+
autoAccept?: boolean | null | undefined;
|
11899
|
+
deliveryTime?: {
|
11900
|
+
time?: string[] | null | undefined;
|
11901
|
+
custom?: {
|
11902
|
+
0: {
|
11903
|
+
hours: {
|
11904
|
+
end: string;
|
11905
|
+
start: string;
|
11906
|
+
}[];
|
11907
|
+
enable: boolean;
|
11908
|
+
};
|
11909
|
+
2: {
|
11910
|
+
hours: {
|
11911
|
+
end: string;
|
11912
|
+
start: string;
|
11913
|
+
}[];
|
11914
|
+
enable: boolean;
|
11915
|
+
};
|
11916
|
+
1: {
|
11917
|
+
hours: {
|
11918
|
+
end: string;
|
11919
|
+
start: string;
|
11920
|
+
}[];
|
11921
|
+
enable: boolean;
|
11922
|
+
};
|
11923
|
+
3: {
|
11924
|
+
hours: {
|
11925
|
+
end: string;
|
11926
|
+
start: string;
|
11927
|
+
}[];
|
11928
|
+
enable: boolean;
|
11929
|
+
};
|
11930
|
+
4: {
|
11931
|
+
hours: {
|
11932
|
+
end: string;
|
11933
|
+
start: string;
|
11934
|
+
}[];
|
11935
|
+
enable: boolean;
|
11936
|
+
};
|
11937
|
+
5: {
|
11938
|
+
hours: {
|
11939
|
+
end: string;
|
11940
|
+
start: string;
|
11941
|
+
}[];
|
11942
|
+
enable: boolean;
|
11943
|
+
};
|
11944
|
+
6: {
|
11945
|
+
hours: {
|
11946
|
+
end: string;
|
11947
|
+
start: string;
|
11948
|
+
}[];
|
11949
|
+
enable: boolean;
|
11950
|
+
};
|
11951
|
+
} | null | undefined;
|
11952
|
+
day: {
|
11953
|
+
max: number;
|
11954
|
+
min: number;
|
11955
|
+
};
|
11956
|
+
} | null | undefined;
|
11957
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11958
|
+
offlinePaymentTypes?: {
|
11959
|
+
name: string;
|
11960
|
+
instruction: string;
|
11961
|
+
}[] | null | undefined;
|
11962
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11963
|
+
ignoreStock?: boolean | null | undefined;
|
11964
|
+
catalogId: string | null;
|
11965
|
+
enable: boolean;
|
11966
|
+
areas: {
|
11967
|
+
minPurchase?: {
|
11968
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
11969
|
+
amount: number;
|
11970
|
+
precision: number;
|
11971
|
+
} | null | undefined;
|
11972
|
+
freeAfterTotal?: {
|
11973
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
11974
|
+
amount: number;
|
11975
|
+
precision: number;
|
11976
|
+
} | null | undefined;
|
11977
|
+
polygon: number[][];
|
11978
|
+
deliveryFee: {
|
11979
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
11980
|
+
amount: number;
|
11981
|
+
precision: number;
|
11982
|
+
};
|
11983
|
+
}[];
|
11984
|
+
term: string;
|
11985
|
+
} | null | undefined;
|
11986
|
+
pickup?: {
|
11987
|
+
catalogId?: string | null | undefined;
|
11988
|
+
autoAccept?: boolean | null | undefined;
|
11989
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11990
|
+
offlinePaymentTypes?: {
|
11991
|
+
name: string;
|
11992
|
+
instruction: string;
|
11993
|
+
}[] | null | undefined;
|
11994
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11995
|
+
ignoreStock?: boolean | null | undefined;
|
11996
|
+
pickupTime?: {
|
11997
|
+
day: {
|
11998
|
+
max: number;
|
11999
|
+
min: number;
|
12000
|
+
};
|
12001
|
+
} | null | undefined;
|
12002
|
+
pickupPointConfig?: {
|
12003
|
+
restaurantEnable: boolean;
|
12004
|
+
points: {
|
12005
|
+
name: string;
|
12006
|
+
address: string;
|
12007
|
+
coordinates: number[];
|
12008
|
+
}[];
|
12009
|
+
} | null | undefined;
|
12010
|
+
} | null | undefined;
|
12011
|
+
dineIn?: {
|
12012
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12013
|
+
offlinePaymentTypes?: {
|
12014
|
+
name: string;
|
12015
|
+
instruction: string;
|
12016
|
+
}[] | null | undefined;
|
12017
|
+
ignoreStock?: boolean | null | undefined;
|
12018
|
+
staticQr?: boolean | null | undefined;
|
12019
|
+
disableItemRemark?: boolean | null | undefined;
|
12020
|
+
acceptQueue?: boolean | null | undefined;
|
12021
|
+
anonymousOrder: boolean;
|
12022
|
+
} | null | undefined;
|
12023
|
+
roundToNearest?: number | null | undefined;
|
12024
|
+
customerDisplayImages?: string[] | null | undefined;
|
12025
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
12026
|
+
acceptQueue?: boolean | null | undefined;
|
12027
|
+
additionalCatalogs?: string[] | null | undefined;
|
12028
|
+
feedmeDelivery?: {
|
12029
|
+
instruction?: string | null | undefined;
|
12030
|
+
catalogId?: string | null | undefined;
|
12031
|
+
autoAccept?: boolean | null | undefined;
|
12032
|
+
term?: string | null | undefined;
|
12033
|
+
enable: boolean;
|
12034
|
+
} | null | undefined;
|
12035
|
+
payoutAccount?: {
|
12036
|
+
bank?: {
|
12037
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
12038
|
+
accountNumber?: string | null | undefined;
|
12039
|
+
holderName?: string | null | undefined;
|
12040
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
12041
|
+
} | null | undefined;
|
12042
|
+
ssm?: string | null | undefined;
|
12043
|
+
bankStatement?: string | null | undefined;
|
12044
|
+
exteriorPhoto?: string | null | undefined;
|
12045
|
+
keyPerson?: string | null | undefined;
|
12046
|
+
keyPersonPhone?: string | null | undefined;
|
12047
|
+
keyPersonEmail?: string | null | undefined;
|
12048
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
12049
|
+
enable: boolean;
|
12050
|
+
methods: {
|
12051
|
+
variant: string;
|
12052
|
+
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
12053
|
+
rate: {
|
12054
|
+
amount: number;
|
12055
|
+
precision: number;
|
12056
|
+
};
|
12057
|
+
tPlus: number;
|
12058
|
+
}[];
|
12059
|
+
} | null | undefined;
|
12060
|
+
tableMappingSetting?: {
|
12061
|
+
enable?: boolean | null | undefined;
|
12062
|
+
showSeat?: boolean | null | undefined;
|
12063
|
+
mapBorderColor?: number | null | undefined;
|
12064
|
+
mapLineColor?: number | null | undefined;
|
12065
|
+
} | null | undefined;
|
12066
|
+
serviceChargeSetting?: {
|
12067
|
+
beforeDiscount?: boolean | null | undefined;
|
12068
|
+
active: boolean;
|
12069
|
+
inclusive: boolean;
|
12070
|
+
rate: {
|
12071
|
+
amount: number;
|
12072
|
+
precision: number;
|
12073
|
+
};
|
12074
|
+
rules: {
|
12075
|
+
inclusive: boolean;
|
12076
|
+
rate: {
|
12077
|
+
amount: number;
|
12078
|
+
precision: number;
|
12079
|
+
};
|
12080
|
+
condition: {
|
12081
|
+
items?: string[] | null | undefined;
|
12082
|
+
orderType?: ("DINE_IN" | "PICKUP" | "TAKEAWAY" | "IN_HOUSE_DELIVERY" | "DELIVERY_COMPANY")[] | null | undefined;
|
12083
|
+
tables?: string[] | null | undefined;
|
12084
|
+
};
|
12085
|
+
}[];
|
12086
|
+
} | null | undefined;
|
12087
|
+
closeSalesAt?: string | null | undefined;
|
12088
|
+
passcodeOnReprint?: boolean | null | undefined;
|
12089
|
+
printDrawer?: number | null | undefined;
|
12090
|
+
acceptMobileOrder?: boolean | null | undefined;
|
12091
|
+
preparationMinute?: number | null | undefined;
|
12092
|
+
stayOnBillAfterSend?: boolean | null | undefined;
|
12093
|
+
newOrderAfterSale?: boolean | null | undefined;
|
12094
|
+
servableSlot?: string[] | null | undefined;
|
12095
|
+
adjustmentExcludedAddon?: boolean | null | undefined;
|
12096
|
+
accountingSetting?: {
|
12097
|
+
autoCount: {
|
12098
|
+
projectNo?: string | null | undefined;
|
12099
|
+
closeSalesTime?: string | null | undefined;
|
12100
|
+
saleAccNo: string;
|
12101
|
+
serviceChargeAccNo: string;
|
12102
|
+
deliveryFeeAccNo: string;
|
12103
|
+
sstAccNo: string;
|
12104
|
+
};
|
12105
|
+
} | null | undefined;
|
12106
|
+
dynamicQrSetting?: {
|
12107
|
+
remark?: string | null | undefined;
|
12108
|
+
printerSettings?: {
|
12109
|
+
tableName: string;
|
12110
|
+
printerIds: string[];
|
12111
|
+
}[] | null | undefined;
|
12112
|
+
minutes: number;
|
12113
|
+
singleUse: boolean;
|
12114
|
+
} | null | undefined;
|
12115
|
+
realtimeStockCheck?: boolean | null | undefined;
|
12116
|
+
printerServerSetting?: {
|
12117
|
+
acquirePrinterLock?: boolean | null | undefined;
|
12118
|
+
serverIp?: string | null | undefined;
|
12119
|
+
} | null | undefined;
|
12120
|
+
autoReceivePurchaseOrder?: boolean | null | undefined;
|
12121
|
+
deductStock?: boolean | null | undefined;
|
12122
|
+
terminal?: {
|
12123
|
+
ipAddress: string;
|
12124
|
+
} | null | undefined;
|
12125
|
+
eghlTerminal?: {
|
12126
|
+
active: boolean;
|
12127
|
+
} | null | undefined;
|
12128
|
+
feedmeTerminal?: {
|
12129
|
+
ipAddress: string;
|
12130
|
+
} | null | undefined;
|
12131
|
+
showCustomItem?: boolean | null | undefined;
|
12132
|
+
customItemTaxSetting?: {
|
12133
|
+
taxCode: string;
|
12134
|
+
systemCode: string;
|
12135
|
+
}[] | null | undefined;
|
12136
|
+
_id: string;
|
12137
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
12138
|
+
printReceipt: boolean;
|
12139
|
+
paxDialog: boolean;
|
12140
|
+
acceptDineIn: boolean;
|
12141
|
+
acceptDelivery: boolean;
|
12142
|
+
acceptPickup: boolean;
|
12143
|
+
} | null>;
|
10580
12144
|
readRestaurants: () => Promise<{
|
10581
12145
|
managable: boolean;
|
10582
12146
|
channel?: string | null | undefined;
|
@@ -10897,6 +12461,7 @@ export declare const useCoreStore: () => {
|
|
10897
12461
|
};
|
10898
12462
|
businessId: string;
|
10899
12463
|
profile: {
|
12464
|
+
code?: string | null | undefined;
|
10900
12465
|
url?: string | null | undefined;
|
10901
12466
|
description?: string | null | undefined;
|
10902
12467
|
_id?: string | null | undefined;
|
@@ -10973,7 +12538,7 @@ export declare const useCoreStore: () => {
|
|
10973
12538
|
regNo: string;
|
10974
12539
|
};
|
10975
12540
|
}[] | undefined>;
|
10976
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
12541
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
10977
12542
|
apps: import("vue").Ref<{
|
10978
12543
|
icon?: string | undefined;
|
10979
12544
|
name: string;
|
@@ -11340,6 +12905,7 @@ export declare const useCoreStore: () => {
|
|
11340
12905
|
};
|
11341
12906
|
businessId: string;
|
11342
12907
|
profile: {
|
12908
|
+
code?: string | null | undefined;
|
11343
12909
|
url?: string | null | undefined;
|
11344
12910
|
description?: string | null | undefined;
|
11345
12911
|
_id?: string | null | undefined;
|
@@ -11416,7 +12982,7 @@ export declare const useCoreStore: () => {
|
|
11416
12982
|
regNo: string;
|
11417
12983
|
};
|
11418
12984
|
}[] | undefined>;
|
11419
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => void
|
12985
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
11420
12986
|
selectApp: (app: PortalApp) => void;
|
11421
12987
|
hideSidebarToggle: (hide?: boolean) => void;
|
11422
12988
|
registerSidebarComponent: (component: any) => void;
|