@feedmepos/mf-order-setting 0.0.21-beta.2 → 0.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{KioskDevicesView-TgyDh8aI.js → KioskDevicesView-C6YmdLKc.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-CiYEoMoW.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DiLHpWbm.js} +2 -2
- package/dist/{KioskSettingView-fbOxH9m8.js → KioskSettingView-D-muNxlb.js} +1 -1
- package/dist/KioskView-kcjjk4fF.js +371 -0
- package/dist/{OrderSettingsView-mYvRn7u9.js → OrderSettingsView-D_bGK-3J.js} +34007 -32820
- package/dist/{app-A306cfER.js → app-C5qwExhL.js} +41 -23
- package/dist/app.js +1 -1
- package/dist/common/convertor/index.d.ts +2 -0
- package/dist/common/sms/index.d.ts +1 -1
- package/dist/common/util/index.d.ts +6 -0
- package/dist/{dayjs.min-CLR5r0qf.js → dayjs.min-kEC9G7bx.js} +36 -36
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/app.d.ts +18 -0
- package/dist/frontend/mf-order/src/helpers/menu.d.ts +1 -1
- package/dist/frontend/mf-order/src/stores/app/index.d.ts +14 -4
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +45 -35
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +581 -716
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +140 -174
- package/dist/frontend/mf-order/src/views/kiosk/KioskSummary.vue.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/DeliverySetting.vue.d.ts +2 -2
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +2 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.data.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +97 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue.d.ts +3 -3
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BJuGDir8.js → index-C_53CwBa.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +1516 -1276
- package/dist/package/entity/delivery/delivery.dto.d.ts +298 -251
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +539 -0
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +114 -9
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +865 -4
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +34 -22
- package/dist/package/entity/kiosk/kiosk.do.d.ts +12 -12
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +12 -12
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1942 -1642
- package/dist/package/entity/member/member.dto.d.ts +33 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +15 -0
- package/dist/package/entity/order/order.do.d.ts +37 -0
- package/dist/package/entity/order/order.dto.d.ts +808 -17435
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.do.d.ts +12 -0
- package/dist/package/entity/order-platform/external/auth/external-auth.dto.d.ts +27 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.do.d.ts +2868 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +21 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.enum.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +1373 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +2834 -0
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +9 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +127 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +95 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +175 -82
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +372 -291
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +66 -65
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +435 -263
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +47 -7
- package/dist/package/entity/order-platform/menu.dto.d.ts +126 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/order-platform.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +298 -250
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +0 -41
- package/dist/package/entity/printer/printer.do.d.ts +2 -2
- package/dist/package/entity/pubsub/ably/ably.do.d.ts +60 -9
- package/dist/package/entity/pubsub/ably/ably.enum.d.ts +1 -1
- package/dist/package/entity/queue/queue.do.d.ts +40 -0
- package/dist/{auth.dto-C5PLip9a.js → queue.do-Vog69wnQ.js} +34049 -33284
- package/package.json +4 -3
- package/src/api/remoteOrder/index.ts +13 -2
- package/src/helpers/menu.ts +2 -2
- package/src/locales/en-US.json +11 -1
- package/src/locales/zh-CN.json +10 -1
- package/src/stores/restaurant/index.ts +4 -1
- package/src/views/kiosk/KioskSummary.vue +4 -3
- package/src/views/kiosk/KioskView.vue +36 -3
- package/src/views/order-settings/delivery/DeliverySetting.vue +83 -6
- package/src/views/order-settings/delivery/delivery.data.ts +16 -1
- package/src/views/order-settings/delivery/delivery.ts +1 -0
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +114 -0
- package/src/views/order-settings/delivery/integrated-delivery/FoodpandaSetting.vue +23 -6
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +21 -16
- package/src/views/order-settings/delivery/integrated-delivery/ShopeefoodSetting.vue +58 -59
- package/src/views/order-settings/pickup/PickUpSetting.vue +1 -1
- package/src/views/order-settings/servicecharge/ServiceChargeRule.vue +214 -158
- package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +1 -0
- package/dist/KioskView-C0Vn5S89.js +0 -334
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type RestaurantSettingDoc } from '@/api/restaurant-setting';
|
|
2
2
|
import { FdoFoodpandaSettings, FdoRestaurantDineIn, FdoRestaurantFeedmeDelivery, FdoRestaurantInHouseDelivery, FdoRestaurantPickup, FdoServiceChargeSetting, FdoShopeeFoodSettings, type FdoAddress, type FdoProfile, type FdoRestaurant } from '@feedmepos/core/entity';
|
|
3
|
-
import { FdoGrabfoodSettings } from '@entity';
|
|
3
|
+
import { FdoExternalSetting, FdoGrabfoodSettings } from '@entity';
|
|
4
4
|
export interface Profile extends FdoProfile {
|
|
5
5
|
address: Address;
|
|
6
6
|
}
|
|
@@ -34,6 +34,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
34
34
|
channel?: string | null | undefined;
|
|
35
35
|
machineId?: string | null | undefined;
|
|
36
36
|
catalogId?: string | null | undefined;
|
|
37
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
37
38
|
takeaway?: {
|
|
38
39
|
catalogId?: string | null | undefined;
|
|
39
40
|
} | null | undefined;
|
|
@@ -168,6 +169,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
168
169
|
acceptQueue?: boolean | null | undefined;
|
|
169
170
|
anonymousOrder: boolean;
|
|
170
171
|
} | null | undefined;
|
|
172
|
+
pf_business?: {
|
|
173
|
+
internal?: boolean | null | undefined;
|
|
174
|
+
url?: string | null | undefined;
|
|
175
|
+
expiredAt?: string | null | undefined;
|
|
176
|
+
agentId?: string | null | undefined;
|
|
177
|
+
attributeSettings?: {
|
|
178
|
+
type: "string" | "number" | "boolean" | "date";
|
|
179
|
+
key: string;
|
|
180
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
181
|
+
}[] | null | undefined;
|
|
182
|
+
pf_agent?: {
|
|
183
|
+
clickupId?: string | null | undefined;
|
|
184
|
+
members?: {
|
|
185
|
+
pf_user?: {
|
|
186
|
+
email?: string | null | undefined;
|
|
187
|
+
phoneNumber?: string | null | undefined;
|
|
188
|
+
birthday?: string | null | undefined;
|
|
189
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
190
|
+
addresses?: {
|
|
191
|
+
name: string;
|
|
192
|
+
address: string;
|
|
193
|
+
coordinates: number[];
|
|
194
|
+
}[] | null | undefined;
|
|
195
|
+
photoURL?: string | null | undefined;
|
|
196
|
+
displayName?: string | null | undefined;
|
|
197
|
+
imported?: {
|
|
198
|
+
raw: Record<string, any>;
|
|
199
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
200
|
+
} | null | undefined;
|
|
201
|
+
_id: string;
|
|
202
|
+
} | null | undefined;
|
|
203
|
+
role: "ADMIN";
|
|
204
|
+
userId: string;
|
|
205
|
+
}[] | null | undefined;
|
|
206
|
+
code: string;
|
|
207
|
+
name: string;
|
|
208
|
+
_id: string;
|
|
209
|
+
isReseller: boolean;
|
|
210
|
+
} | null | undefined;
|
|
211
|
+
thumbnail?: string | null | undefined;
|
|
212
|
+
billingInfos?: {
|
|
213
|
+
_id?: string | null | undefined;
|
|
214
|
+
name: string;
|
|
215
|
+
address: {
|
|
216
|
+
coordinates?: number[] | null | undefined;
|
|
217
|
+
line2?: string | null | undefined;
|
|
218
|
+
state: string;
|
|
219
|
+
country: string;
|
|
220
|
+
line1: string;
|
|
221
|
+
city: string;
|
|
222
|
+
postcode: string;
|
|
223
|
+
};
|
|
224
|
+
email: string;
|
|
225
|
+
companyName: string;
|
|
226
|
+
contact: string;
|
|
227
|
+
}[] | null | undefined;
|
|
228
|
+
customerDisplayImages?: {
|
|
229
|
+
url: string;
|
|
230
|
+
restaurantIds: string[];
|
|
231
|
+
}[] | null | undefined;
|
|
232
|
+
name: string;
|
|
233
|
+
_id: string;
|
|
234
|
+
ownerId: string;
|
|
235
|
+
restaurantQuota: number;
|
|
236
|
+
warehouseQuota: number;
|
|
237
|
+
menuVersion: string;
|
|
238
|
+
} | null | undefined;
|
|
171
239
|
features?: string[] | null | undefined;
|
|
172
240
|
machineOtp?: string | null | undefined;
|
|
173
241
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -180,6 +248,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
180
248
|
catalogId?: string | null | undefined;
|
|
181
249
|
autoAccept?: boolean | null | undefined;
|
|
182
250
|
term?: string | null | undefined;
|
|
251
|
+
ignoreStock?: boolean | null | undefined;
|
|
183
252
|
enable: boolean;
|
|
184
253
|
} | null | undefined;
|
|
185
254
|
foodpandaDelivery?: {
|
|
@@ -243,31 +312,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
243
312
|
anydeskPassword?: string | null | undefined;
|
|
244
313
|
deviceName: string;
|
|
245
314
|
}[] | null | undefined;
|
|
246
|
-
payoutAccount?:
|
|
247
|
-
bank?: {
|
|
248
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
249
|
-
accountNumber?: string | null | undefined;
|
|
250
|
-
holderName?: string | null | undefined;
|
|
251
|
-
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";
|
|
252
|
-
} | null | undefined;
|
|
253
|
-
ssm?: string | null | undefined;
|
|
254
|
-
bankStatement?: string | null | undefined;
|
|
255
|
-
exteriorPhoto?: string | null | undefined;
|
|
256
|
-
keyPerson?: string | null | undefined;
|
|
257
|
-
keyPersonPhone?: string | null | undefined;
|
|
258
|
-
keyPersonEmail?: string | null | undefined;
|
|
259
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
260
|
-
enable: boolean;
|
|
261
|
-
methods: {
|
|
262
|
-
variant: string;
|
|
263
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
264
|
-
rate: {
|
|
265
|
-
amount: number;
|
|
266
|
-
precision: number;
|
|
267
|
-
};
|
|
268
|
-
tPlus: number;
|
|
269
|
-
}[];
|
|
270
|
-
} | null | undefined;
|
|
315
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
271
316
|
clearCount?: number | null | undefined;
|
|
272
317
|
queueSetting?: {
|
|
273
318
|
duration?: number | null | undefined;
|
|
@@ -285,68 +330,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
285
330
|
} | null | undefined;
|
|
286
331
|
_id: string;
|
|
287
332
|
expiredAt: string;
|
|
288
|
-
pf_business: {
|
|
289
|
-
internal?: boolean | null | undefined;
|
|
290
|
-
url?: string | null | undefined;
|
|
291
|
-
expiredAt?: string | null | undefined;
|
|
292
|
-
agentId?: string | null | undefined;
|
|
293
|
-
pf_agent?: {
|
|
294
|
-
clickupId?: string | null | undefined;
|
|
295
|
-
members?: {
|
|
296
|
-
pf_user?: {
|
|
297
|
-
email?: string | null | undefined;
|
|
298
|
-
phoneNumber?: string | null | undefined;
|
|
299
|
-
birthday?: string | null | undefined;
|
|
300
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
301
|
-
addresses?: {
|
|
302
|
-
name: string;
|
|
303
|
-
address: string;
|
|
304
|
-
coordinates: number[];
|
|
305
|
-
}[] | null | undefined;
|
|
306
|
-
photoURL?: string | null | undefined;
|
|
307
|
-
displayName?: string | null | undefined;
|
|
308
|
-
imported?: {
|
|
309
|
-
raw: Record<string, any>;
|
|
310
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
311
|
-
} | null | undefined;
|
|
312
|
-
_id: string;
|
|
313
|
-
} | null | undefined;
|
|
314
|
-
role: "ADMIN";
|
|
315
|
-
userId: string;
|
|
316
|
-
}[] | null | undefined;
|
|
317
|
-
code: string;
|
|
318
|
-
name: string;
|
|
319
|
-
_id: string;
|
|
320
|
-
isReseller: boolean;
|
|
321
|
-
} | null | undefined;
|
|
322
|
-
thumbnail?: string | null | undefined;
|
|
323
|
-
billingInfos?: {
|
|
324
|
-
_id?: string | null | undefined;
|
|
325
|
-
name: string;
|
|
326
|
-
address: {
|
|
327
|
-
coordinates?: number[] | null | undefined;
|
|
328
|
-
line2?: string | null | undefined;
|
|
329
|
-
state: string;
|
|
330
|
-
country: string;
|
|
331
|
-
line1: string;
|
|
332
|
-
city: string;
|
|
333
|
-
postcode: string;
|
|
334
|
-
};
|
|
335
|
-
email: string;
|
|
336
|
-
companyName: string;
|
|
337
|
-
contact: string;
|
|
338
|
-
}[] | null | undefined;
|
|
339
|
-
customerDisplayImages?: {
|
|
340
|
-
url: string;
|
|
341
|
-
restaurantIds: string[];
|
|
342
|
-
}[] | null | undefined;
|
|
343
|
-
name: string;
|
|
344
|
-
_id: string;
|
|
345
|
-
ownerId: string;
|
|
346
|
-
restaurantQuota: number;
|
|
347
|
-
warehouseQuota: number;
|
|
348
|
-
menuVersion: string;
|
|
349
|
-
};
|
|
350
333
|
businessId: string;
|
|
351
334
|
profile: {
|
|
352
335
|
code?: string | null | undefined;
|
|
@@ -516,6 +499,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
516
499
|
channel?: string | null | undefined;
|
|
517
500
|
machineId?: string | null | undefined;
|
|
518
501
|
catalogId?: string | null | undefined;
|
|
502
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
519
503
|
takeaway?: {
|
|
520
504
|
catalogId?: string | null | undefined;
|
|
521
505
|
} | null | undefined;
|
|
@@ -650,6 +634,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
650
634
|
acceptQueue?: boolean | null | undefined;
|
|
651
635
|
anonymousOrder: boolean;
|
|
652
636
|
} | null | undefined;
|
|
637
|
+
pf_business?: {
|
|
638
|
+
internal?: boolean | null | undefined;
|
|
639
|
+
url?: string | null | undefined;
|
|
640
|
+
expiredAt?: string | null | undefined;
|
|
641
|
+
agentId?: string | null | undefined;
|
|
642
|
+
attributeSettings?: {
|
|
643
|
+
type: "string" | "number" | "boolean" | "date";
|
|
644
|
+
key: string;
|
|
645
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
646
|
+
}[] | null | undefined;
|
|
647
|
+
pf_agent?: {
|
|
648
|
+
clickupId?: string | null | undefined;
|
|
649
|
+
members?: {
|
|
650
|
+
pf_user?: {
|
|
651
|
+
email?: string | null | undefined;
|
|
652
|
+
phoneNumber?: string | null | undefined;
|
|
653
|
+
birthday?: string | null | undefined;
|
|
654
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
655
|
+
addresses?: {
|
|
656
|
+
name: string;
|
|
657
|
+
address: string;
|
|
658
|
+
coordinates: number[];
|
|
659
|
+
}[] | null | undefined;
|
|
660
|
+
photoURL?: string | null | undefined;
|
|
661
|
+
displayName?: string | null | undefined;
|
|
662
|
+
imported?: {
|
|
663
|
+
raw: Record<string, any>;
|
|
664
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
665
|
+
} | null | undefined;
|
|
666
|
+
_id: string;
|
|
667
|
+
} | null | undefined;
|
|
668
|
+
role: "ADMIN";
|
|
669
|
+
userId: string;
|
|
670
|
+
}[] | null | undefined;
|
|
671
|
+
code: string;
|
|
672
|
+
name: string;
|
|
673
|
+
_id: string;
|
|
674
|
+
isReseller: boolean;
|
|
675
|
+
} | null | undefined;
|
|
676
|
+
thumbnail?: string | null | undefined;
|
|
677
|
+
billingInfos?: {
|
|
678
|
+
_id?: string | null | undefined;
|
|
679
|
+
name: string;
|
|
680
|
+
address: {
|
|
681
|
+
coordinates?: number[] | null | undefined;
|
|
682
|
+
line2?: string | null | undefined;
|
|
683
|
+
state: string;
|
|
684
|
+
country: string;
|
|
685
|
+
line1: string;
|
|
686
|
+
city: string;
|
|
687
|
+
postcode: string;
|
|
688
|
+
};
|
|
689
|
+
email: string;
|
|
690
|
+
companyName: string;
|
|
691
|
+
contact: string;
|
|
692
|
+
}[] | null | undefined;
|
|
693
|
+
customerDisplayImages?: {
|
|
694
|
+
url: string;
|
|
695
|
+
restaurantIds: string[];
|
|
696
|
+
}[] | null | undefined;
|
|
697
|
+
name: string;
|
|
698
|
+
_id: string;
|
|
699
|
+
ownerId: string;
|
|
700
|
+
restaurantQuota: number;
|
|
701
|
+
warehouseQuota: number;
|
|
702
|
+
menuVersion: string;
|
|
703
|
+
} | null | undefined;
|
|
653
704
|
features?: string[] | null | undefined;
|
|
654
705
|
machineOtp?: string | null | undefined;
|
|
655
706
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -662,6 +713,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
662
713
|
catalogId?: string | null | undefined;
|
|
663
714
|
autoAccept?: boolean | null | undefined;
|
|
664
715
|
term?: string | null | undefined;
|
|
716
|
+
ignoreStock?: boolean | null | undefined;
|
|
665
717
|
enable: boolean;
|
|
666
718
|
} | null | undefined;
|
|
667
719
|
foodpandaDelivery?: {
|
|
@@ -725,31 +777,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
725
777
|
anydeskPassword?: string | null | undefined;
|
|
726
778
|
deviceName: string;
|
|
727
779
|
}[] | null | undefined;
|
|
728
|
-
payoutAccount?:
|
|
729
|
-
bank?: {
|
|
730
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
731
|
-
accountNumber?: string | null | undefined;
|
|
732
|
-
holderName?: string | null | undefined;
|
|
733
|
-
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";
|
|
734
|
-
} | null | undefined;
|
|
735
|
-
ssm?: string | null | undefined;
|
|
736
|
-
bankStatement?: string | null | undefined;
|
|
737
|
-
exteriorPhoto?: string | null | undefined;
|
|
738
|
-
keyPerson?: string | null | undefined;
|
|
739
|
-
keyPersonPhone?: string | null | undefined;
|
|
740
|
-
keyPersonEmail?: string | null | undefined;
|
|
741
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
742
|
-
enable: boolean;
|
|
743
|
-
methods: {
|
|
744
|
-
variant: string;
|
|
745
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
746
|
-
rate: {
|
|
747
|
-
amount: number;
|
|
748
|
-
precision: number;
|
|
749
|
-
};
|
|
750
|
-
tPlus: number;
|
|
751
|
-
}[];
|
|
752
|
-
} | null | undefined;
|
|
780
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
753
781
|
clearCount?: number | null | undefined;
|
|
754
782
|
queueSetting?: {
|
|
755
783
|
duration?: number | null | undefined;
|
|
@@ -767,87 +795,25 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
767
795
|
} | null | undefined;
|
|
768
796
|
_id: string;
|
|
769
797
|
expiredAt: string;
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
displayName?: string | null | undefined;
|
|
790
|
-
imported?: {
|
|
791
|
-
raw: Record<string, any>;
|
|
792
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
793
|
-
} | null | undefined;
|
|
794
|
-
_id: string;
|
|
795
|
-
} | null | undefined;
|
|
796
|
-
role: "ADMIN";
|
|
797
|
-
userId: string;
|
|
798
|
-
}[] | null | undefined;
|
|
799
|
-
code: string;
|
|
800
|
-
name: string;
|
|
801
|
-
_id: string;
|
|
802
|
-
isReseller: boolean;
|
|
803
|
-
} | null | undefined;
|
|
804
|
-
thumbnail?: string | null | undefined;
|
|
805
|
-
billingInfos?: {
|
|
806
|
-
_id?: string | null | undefined;
|
|
807
|
-
name: string;
|
|
808
|
-
address: {
|
|
809
|
-
coordinates?: number[] | null | undefined;
|
|
810
|
-
line2?: string | null | undefined;
|
|
811
|
-
state: string;
|
|
812
|
-
country: string;
|
|
813
|
-
line1: string;
|
|
814
|
-
city: string;
|
|
815
|
-
postcode: string;
|
|
816
|
-
};
|
|
817
|
-
email: string;
|
|
818
|
-
companyName: string;
|
|
819
|
-
contact: string;
|
|
820
|
-
}[] | null | undefined;
|
|
821
|
-
customerDisplayImages?: {
|
|
822
|
-
url: string;
|
|
823
|
-
restaurantIds: string[];
|
|
824
|
-
}[] | null | undefined;
|
|
825
|
-
name: string;
|
|
826
|
-
_id: string;
|
|
827
|
-
ownerId: string;
|
|
828
|
-
restaurantQuota: number;
|
|
829
|
-
warehouseQuota: number;
|
|
830
|
-
menuVersion: string;
|
|
831
|
-
};
|
|
832
|
-
businessId: string;
|
|
833
|
-
}[];
|
|
834
|
-
businessRestaurants: {
|
|
835
|
-
id: string;
|
|
836
|
-
profile: {
|
|
837
|
-
address: {
|
|
838
|
-
formatted: string;
|
|
839
|
-
isValidPostcode: boolean;
|
|
840
|
-
isValid: boolean;
|
|
841
|
-
isValidCoordinate: boolean;
|
|
842
|
-
coordinates?: number[] | null | undefined;
|
|
843
|
-
line2?: string | null | undefined;
|
|
844
|
-
state: string;
|
|
845
|
-
country: string;
|
|
846
|
-
line1: string;
|
|
847
|
-
city: string;
|
|
848
|
-
postcode: string;
|
|
849
|
-
};
|
|
850
|
-
code?: string | null | undefined;
|
|
798
|
+
businessId: string;
|
|
799
|
+
}[];
|
|
800
|
+
businessRestaurants: {
|
|
801
|
+
id: string;
|
|
802
|
+
profile: {
|
|
803
|
+
address: {
|
|
804
|
+
formatted: string;
|
|
805
|
+
isValidPostcode: boolean;
|
|
806
|
+
isValid: boolean;
|
|
807
|
+
isValidCoordinate: boolean;
|
|
808
|
+
coordinates?: number[] | null | undefined;
|
|
809
|
+
line2?: string | null | undefined;
|
|
810
|
+
state: string;
|
|
811
|
+
country: string;
|
|
812
|
+
line1: string;
|
|
813
|
+
city: string;
|
|
814
|
+
postcode: string;
|
|
815
|
+
};
|
|
816
|
+
code?: string | null | undefined;
|
|
851
817
|
url?: string | null | undefined;
|
|
852
818
|
description?: string | null | undefined;
|
|
853
819
|
_id?: string | null | undefined;
|
|
@@ -921,6 +887,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
921
887
|
channel?: string | null | undefined;
|
|
922
888
|
machineId?: string | null | undefined;
|
|
923
889
|
catalogId?: string | null | undefined;
|
|
890
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
924
891
|
takeaway?: {
|
|
925
892
|
catalogId?: string | null | undefined;
|
|
926
893
|
} | null | undefined;
|
|
@@ -1055,6 +1022,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1055
1022
|
acceptQueue?: boolean | null | undefined;
|
|
1056
1023
|
anonymousOrder: boolean;
|
|
1057
1024
|
} | null | undefined;
|
|
1025
|
+
pf_business?: {
|
|
1026
|
+
internal?: boolean | null | undefined;
|
|
1027
|
+
url?: string | null | undefined;
|
|
1028
|
+
expiredAt?: string | null | undefined;
|
|
1029
|
+
agentId?: string | null | undefined;
|
|
1030
|
+
attributeSettings?: {
|
|
1031
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1032
|
+
key: string;
|
|
1033
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1034
|
+
}[] | null | undefined;
|
|
1035
|
+
pf_agent?: {
|
|
1036
|
+
clickupId?: string | null | undefined;
|
|
1037
|
+
members?: {
|
|
1038
|
+
pf_user?: {
|
|
1039
|
+
email?: string | null | undefined;
|
|
1040
|
+
phoneNumber?: string | null | undefined;
|
|
1041
|
+
birthday?: string | null | undefined;
|
|
1042
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1043
|
+
addresses?: {
|
|
1044
|
+
name: string;
|
|
1045
|
+
address: string;
|
|
1046
|
+
coordinates: number[];
|
|
1047
|
+
}[] | null | undefined;
|
|
1048
|
+
photoURL?: string | null | undefined;
|
|
1049
|
+
displayName?: string | null | undefined;
|
|
1050
|
+
imported?: {
|
|
1051
|
+
raw: Record<string, any>;
|
|
1052
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1053
|
+
} | null | undefined;
|
|
1054
|
+
_id: string;
|
|
1055
|
+
} | null | undefined;
|
|
1056
|
+
role: "ADMIN";
|
|
1057
|
+
userId: string;
|
|
1058
|
+
}[] | null | undefined;
|
|
1059
|
+
code: string;
|
|
1060
|
+
name: string;
|
|
1061
|
+
_id: string;
|
|
1062
|
+
isReseller: boolean;
|
|
1063
|
+
} | null | undefined;
|
|
1064
|
+
thumbnail?: string | null | undefined;
|
|
1065
|
+
billingInfos?: {
|
|
1066
|
+
_id?: string | null | undefined;
|
|
1067
|
+
name: string;
|
|
1068
|
+
address: {
|
|
1069
|
+
coordinates?: number[] | null | undefined;
|
|
1070
|
+
line2?: string | null | undefined;
|
|
1071
|
+
state: string;
|
|
1072
|
+
country: string;
|
|
1073
|
+
line1: string;
|
|
1074
|
+
city: string;
|
|
1075
|
+
postcode: string;
|
|
1076
|
+
};
|
|
1077
|
+
email: string;
|
|
1078
|
+
companyName: string;
|
|
1079
|
+
contact: string;
|
|
1080
|
+
}[] | null | undefined;
|
|
1081
|
+
customerDisplayImages?: {
|
|
1082
|
+
url: string;
|
|
1083
|
+
restaurantIds: string[];
|
|
1084
|
+
}[] | null | undefined;
|
|
1085
|
+
name: string;
|
|
1086
|
+
_id: string;
|
|
1087
|
+
ownerId: string;
|
|
1088
|
+
restaurantQuota: number;
|
|
1089
|
+
warehouseQuota: number;
|
|
1090
|
+
menuVersion: string;
|
|
1091
|
+
} | null | undefined;
|
|
1058
1092
|
features?: string[] | null | undefined;
|
|
1059
1093
|
machineOtp?: string | null | undefined;
|
|
1060
1094
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -1067,6 +1101,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1067
1101
|
catalogId?: string | null | undefined;
|
|
1068
1102
|
autoAccept?: boolean | null | undefined;
|
|
1069
1103
|
term?: string | null | undefined;
|
|
1104
|
+
ignoreStock?: boolean | null | undefined;
|
|
1070
1105
|
enable: boolean;
|
|
1071
1106
|
} | null | undefined;
|
|
1072
1107
|
foodpandaDelivery?: {
|
|
@@ -1130,31 +1165,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1130
1165
|
anydeskPassword?: string | null | undefined;
|
|
1131
1166
|
deviceName: string;
|
|
1132
1167
|
}[] | null | undefined;
|
|
1133
|
-
payoutAccount?:
|
|
1134
|
-
bank?: {
|
|
1135
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
1136
|
-
accountNumber?: string | null | undefined;
|
|
1137
|
-
holderName?: string | null | undefined;
|
|
1138
|
-
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";
|
|
1139
|
-
} | null | undefined;
|
|
1140
|
-
ssm?: string | null | undefined;
|
|
1141
|
-
bankStatement?: string | null | undefined;
|
|
1142
|
-
exteriorPhoto?: string | null | undefined;
|
|
1143
|
-
keyPerson?: string | null | undefined;
|
|
1144
|
-
keyPersonPhone?: string | null | undefined;
|
|
1145
|
-
keyPersonEmail?: string | null | undefined;
|
|
1146
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
1147
|
-
enable: boolean;
|
|
1148
|
-
methods: {
|
|
1149
|
-
variant: string;
|
|
1150
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
1151
|
-
rate: {
|
|
1152
|
-
amount: number;
|
|
1153
|
-
precision: number;
|
|
1154
|
-
};
|
|
1155
|
-
tPlus: number;
|
|
1156
|
-
}[];
|
|
1157
|
-
} | null | undefined;
|
|
1168
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
1158
1169
|
clearCount?: number | null | undefined;
|
|
1159
1170
|
queueSetting?: {
|
|
1160
1171
|
duration?: number | null | undefined;
|
|
@@ -1172,68 +1183,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1172
1183
|
} | null | undefined;
|
|
1173
1184
|
_id: string;
|
|
1174
1185
|
expiredAt: string;
|
|
1175
|
-
pf_business: {
|
|
1176
|
-
internal?: boolean | null | undefined;
|
|
1177
|
-
url?: string | null | undefined;
|
|
1178
|
-
expiredAt?: string | null | undefined;
|
|
1179
|
-
agentId?: string | null | undefined;
|
|
1180
|
-
pf_agent?: {
|
|
1181
|
-
clickupId?: string | null | undefined;
|
|
1182
|
-
members?: {
|
|
1183
|
-
pf_user?: {
|
|
1184
|
-
email?: string | null | undefined;
|
|
1185
|
-
phoneNumber?: string | null | undefined;
|
|
1186
|
-
birthday?: string | null | undefined;
|
|
1187
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1188
|
-
addresses?: {
|
|
1189
|
-
name: string;
|
|
1190
|
-
address: string;
|
|
1191
|
-
coordinates: number[];
|
|
1192
|
-
}[] | null | undefined;
|
|
1193
|
-
photoURL?: string | null | undefined;
|
|
1194
|
-
displayName?: string | null | undefined;
|
|
1195
|
-
imported?: {
|
|
1196
|
-
raw: Record<string, any>;
|
|
1197
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1198
|
-
} | null | undefined;
|
|
1199
|
-
_id: string;
|
|
1200
|
-
} | null | undefined;
|
|
1201
|
-
role: "ADMIN";
|
|
1202
|
-
userId: string;
|
|
1203
|
-
}[] | null | undefined;
|
|
1204
|
-
code: string;
|
|
1205
|
-
name: string;
|
|
1206
|
-
_id: string;
|
|
1207
|
-
isReseller: boolean;
|
|
1208
|
-
} | null | undefined;
|
|
1209
|
-
thumbnail?: string | null | undefined;
|
|
1210
|
-
billingInfos?: {
|
|
1211
|
-
_id?: string | null | undefined;
|
|
1212
|
-
name: string;
|
|
1213
|
-
address: {
|
|
1214
|
-
coordinates?: number[] | null | undefined;
|
|
1215
|
-
line2?: string | null | undefined;
|
|
1216
|
-
state: string;
|
|
1217
|
-
country: string;
|
|
1218
|
-
line1: string;
|
|
1219
|
-
city: string;
|
|
1220
|
-
postcode: string;
|
|
1221
|
-
};
|
|
1222
|
-
email: string;
|
|
1223
|
-
companyName: string;
|
|
1224
|
-
contact: string;
|
|
1225
|
-
}[] | null | undefined;
|
|
1226
|
-
customerDisplayImages?: {
|
|
1227
|
-
url: string;
|
|
1228
|
-
restaurantIds: string[];
|
|
1229
|
-
}[] | null | undefined;
|
|
1230
|
-
name: string;
|
|
1231
|
-
_id: string;
|
|
1232
|
-
ownerId: string;
|
|
1233
|
-
restaurantQuota: number;
|
|
1234
|
-
warehouseQuota: number;
|
|
1235
|
-
menuVersion: string;
|
|
1236
|
-
};
|
|
1237
1186
|
businessId: string;
|
|
1238
1187
|
}[];
|
|
1239
1188
|
currentRestaurantId: string;
|
|
@@ -1330,6 +1279,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1330
1279
|
channel?: string | null | undefined;
|
|
1331
1280
|
machineId?: string | null | undefined;
|
|
1332
1281
|
catalogId?: string | null | undefined;
|
|
1282
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1333
1283
|
takeaway?: {
|
|
1334
1284
|
catalogId?: string | null | undefined;
|
|
1335
1285
|
} | null | undefined;
|
|
@@ -1464,6 +1414,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1464
1414
|
acceptQueue?: boolean | null | undefined;
|
|
1465
1415
|
anonymousOrder: boolean;
|
|
1466
1416
|
} | null | undefined;
|
|
1417
|
+
pf_business?: {
|
|
1418
|
+
internal?: boolean | null | undefined;
|
|
1419
|
+
url?: string | null | undefined;
|
|
1420
|
+
expiredAt?: string | null | undefined;
|
|
1421
|
+
agentId?: string | null | undefined;
|
|
1422
|
+
attributeSettings?: {
|
|
1423
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1424
|
+
key: string;
|
|
1425
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1426
|
+
}[] | null | undefined;
|
|
1427
|
+
pf_agent?: {
|
|
1428
|
+
clickupId?: string | null | undefined;
|
|
1429
|
+
members?: {
|
|
1430
|
+
pf_user?: {
|
|
1431
|
+
email?: string | null | undefined;
|
|
1432
|
+
phoneNumber?: string | null | undefined;
|
|
1433
|
+
birthday?: string | null | undefined;
|
|
1434
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1435
|
+
addresses?: {
|
|
1436
|
+
name: string;
|
|
1437
|
+
address: string;
|
|
1438
|
+
coordinates: number[];
|
|
1439
|
+
}[] | null | undefined;
|
|
1440
|
+
photoURL?: string | null | undefined;
|
|
1441
|
+
displayName?: string | null | undefined;
|
|
1442
|
+
imported?: {
|
|
1443
|
+
raw: Record<string, any>;
|
|
1444
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1445
|
+
} | null | undefined;
|
|
1446
|
+
_id: string;
|
|
1447
|
+
} | null | undefined;
|
|
1448
|
+
role: "ADMIN";
|
|
1449
|
+
userId: string;
|
|
1450
|
+
}[] | null | undefined;
|
|
1451
|
+
code: string;
|
|
1452
|
+
name: string;
|
|
1453
|
+
_id: string;
|
|
1454
|
+
isReseller: boolean;
|
|
1455
|
+
} | null | undefined;
|
|
1456
|
+
thumbnail?: string | null | undefined;
|
|
1457
|
+
billingInfos?: {
|
|
1458
|
+
_id?: string | null | undefined;
|
|
1459
|
+
name: string;
|
|
1460
|
+
address: {
|
|
1461
|
+
coordinates?: number[] | null | undefined;
|
|
1462
|
+
line2?: string | null | undefined;
|
|
1463
|
+
state: string;
|
|
1464
|
+
country: string;
|
|
1465
|
+
line1: string;
|
|
1466
|
+
city: string;
|
|
1467
|
+
postcode: string;
|
|
1468
|
+
};
|
|
1469
|
+
email: string;
|
|
1470
|
+
companyName: string;
|
|
1471
|
+
contact: string;
|
|
1472
|
+
}[] | null | undefined;
|
|
1473
|
+
customerDisplayImages?: {
|
|
1474
|
+
url: string;
|
|
1475
|
+
restaurantIds: string[];
|
|
1476
|
+
}[] | null | undefined;
|
|
1477
|
+
name: string;
|
|
1478
|
+
_id: string;
|
|
1479
|
+
ownerId: string;
|
|
1480
|
+
restaurantQuota: number;
|
|
1481
|
+
warehouseQuota: number;
|
|
1482
|
+
menuVersion: string;
|
|
1483
|
+
} | null | undefined;
|
|
1467
1484
|
features?: string[] | null | undefined;
|
|
1468
1485
|
machineOtp?: string | null | undefined;
|
|
1469
1486
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -1476,6 +1493,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1476
1493
|
catalogId?: string | null | undefined;
|
|
1477
1494
|
autoAccept?: boolean | null | undefined;
|
|
1478
1495
|
term?: string | null | undefined;
|
|
1496
|
+
ignoreStock?: boolean | null | undefined;
|
|
1479
1497
|
enable: boolean;
|
|
1480
1498
|
} | null | undefined;
|
|
1481
1499
|
foodpandaDelivery?: {
|
|
@@ -1539,31 +1557,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1539
1557
|
anydeskPassword?: string | null | undefined;
|
|
1540
1558
|
deviceName: string;
|
|
1541
1559
|
}[] | null | undefined;
|
|
1542
|
-
payoutAccount?:
|
|
1543
|
-
bank?: {
|
|
1544
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
1545
|
-
accountNumber?: string | null | undefined;
|
|
1546
|
-
holderName?: string | null | undefined;
|
|
1547
|
-
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";
|
|
1548
|
-
} | null | undefined;
|
|
1549
|
-
ssm?: string | null | undefined;
|
|
1550
|
-
bankStatement?: string | null | undefined;
|
|
1551
|
-
exteriorPhoto?: string | null | undefined;
|
|
1552
|
-
keyPerson?: string | null | undefined;
|
|
1553
|
-
keyPersonPhone?: string | null | undefined;
|
|
1554
|
-
keyPersonEmail?: string | null | undefined;
|
|
1555
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
1556
|
-
enable: boolean;
|
|
1557
|
-
methods: {
|
|
1558
|
-
variant: string;
|
|
1559
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
1560
|
-
rate: {
|
|
1561
|
-
amount: number;
|
|
1562
|
-
precision: number;
|
|
1563
|
-
};
|
|
1564
|
-
tPlus: number;
|
|
1565
|
-
}[];
|
|
1566
|
-
} | null | undefined;
|
|
1560
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
1567
1561
|
clearCount?: number | null | undefined;
|
|
1568
1562
|
queueSetting?: {
|
|
1569
1563
|
duration?: number | null | undefined;
|
|
@@ -1581,68 +1575,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1581
1575
|
} | null | undefined;
|
|
1582
1576
|
_id: string;
|
|
1583
1577
|
expiredAt: string;
|
|
1584
|
-
pf_business: {
|
|
1585
|
-
internal?: boolean | null | undefined;
|
|
1586
|
-
url?: string | null | undefined;
|
|
1587
|
-
expiredAt?: string | null | undefined;
|
|
1588
|
-
agentId?: string | null | undefined;
|
|
1589
|
-
pf_agent?: {
|
|
1590
|
-
clickupId?: string | null | undefined;
|
|
1591
|
-
members?: {
|
|
1592
|
-
pf_user?: {
|
|
1593
|
-
email?: string | null | undefined;
|
|
1594
|
-
phoneNumber?: string | null | undefined;
|
|
1595
|
-
birthday?: string | null | undefined;
|
|
1596
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1597
|
-
addresses?: {
|
|
1598
|
-
name: string;
|
|
1599
|
-
address: string;
|
|
1600
|
-
coordinates: number[];
|
|
1601
|
-
}[] | null | undefined;
|
|
1602
|
-
photoURL?: string | null | undefined;
|
|
1603
|
-
displayName?: string | null | undefined;
|
|
1604
|
-
imported?: {
|
|
1605
|
-
raw: Record<string, any>;
|
|
1606
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1607
|
-
} | null | undefined;
|
|
1608
|
-
_id: string;
|
|
1609
|
-
} | null | undefined;
|
|
1610
|
-
role: "ADMIN";
|
|
1611
|
-
userId: string;
|
|
1612
|
-
}[] | null | undefined;
|
|
1613
|
-
code: string;
|
|
1614
|
-
name: string;
|
|
1615
|
-
_id: string;
|
|
1616
|
-
isReseller: boolean;
|
|
1617
|
-
} | null | undefined;
|
|
1618
|
-
thumbnail?: string | null | undefined;
|
|
1619
|
-
billingInfos?: {
|
|
1620
|
-
_id?: string | null | undefined;
|
|
1621
|
-
name: string;
|
|
1622
|
-
address: {
|
|
1623
|
-
coordinates?: number[] | null | undefined;
|
|
1624
|
-
line2?: string | null | undefined;
|
|
1625
|
-
state: string;
|
|
1626
|
-
country: string;
|
|
1627
|
-
line1: string;
|
|
1628
|
-
city: string;
|
|
1629
|
-
postcode: string;
|
|
1630
|
-
};
|
|
1631
|
-
email: string;
|
|
1632
|
-
companyName: string;
|
|
1633
|
-
contact: string;
|
|
1634
|
-
}[] | null | undefined;
|
|
1635
|
-
customerDisplayImages?: {
|
|
1636
|
-
url: string;
|
|
1637
|
-
restaurantIds: string[];
|
|
1638
|
-
}[] | null | undefined;
|
|
1639
|
-
name: string;
|
|
1640
|
-
_id: string;
|
|
1641
|
-
ownerId: string;
|
|
1642
|
-
restaurantQuota: number;
|
|
1643
|
-
warehouseQuota: number;
|
|
1644
|
-
menuVersion: string;
|
|
1645
|
-
};
|
|
1646
1578
|
businessId: string;
|
|
1647
1579
|
} | undefined;
|
|
1648
1580
|
currentRestaurantSetting: (state: {
|
|
@@ -1650,6 +1582,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1650
1582
|
channel?: string | null | undefined;
|
|
1651
1583
|
machineId?: string | null | undefined;
|
|
1652
1584
|
catalogId?: string | null | undefined;
|
|
1585
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
1653
1586
|
takeaway?: {
|
|
1654
1587
|
catalogId?: string | null | undefined;
|
|
1655
1588
|
} | null | undefined;
|
|
@@ -1784,6 +1717,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1784
1717
|
acceptQueue?: boolean | null | undefined;
|
|
1785
1718
|
anonymousOrder: boolean;
|
|
1786
1719
|
} | null | undefined;
|
|
1720
|
+
pf_business?: {
|
|
1721
|
+
internal?: boolean | null | undefined;
|
|
1722
|
+
url?: string | null | undefined;
|
|
1723
|
+
expiredAt?: string | null | undefined;
|
|
1724
|
+
agentId?: string | null | undefined;
|
|
1725
|
+
attributeSettings?: {
|
|
1726
|
+
type: "string" | "number" | "boolean" | "date";
|
|
1727
|
+
key: string;
|
|
1728
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1729
|
+
}[] | null | undefined;
|
|
1730
|
+
pf_agent?: {
|
|
1731
|
+
clickupId?: string | null | undefined;
|
|
1732
|
+
members?: {
|
|
1733
|
+
pf_user?: {
|
|
1734
|
+
email?: string | null | undefined;
|
|
1735
|
+
phoneNumber?: string | null | undefined;
|
|
1736
|
+
birthday?: string | null | undefined;
|
|
1737
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1738
|
+
addresses?: {
|
|
1739
|
+
name: string;
|
|
1740
|
+
address: string;
|
|
1741
|
+
coordinates: number[];
|
|
1742
|
+
}[] | null | undefined;
|
|
1743
|
+
photoURL?: string | null | undefined;
|
|
1744
|
+
displayName?: string | null | undefined;
|
|
1745
|
+
imported?: {
|
|
1746
|
+
raw: Record<string, any>;
|
|
1747
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1748
|
+
} | null | undefined;
|
|
1749
|
+
_id: string;
|
|
1750
|
+
} | null | undefined;
|
|
1751
|
+
role: "ADMIN";
|
|
1752
|
+
userId: string;
|
|
1753
|
+
}[] | null | undefined;
|
|
1754
|
+
code: string;
|
|
1755
|
+
name: string;
|
|
1756
|
+
_id: string;
|
|
1757
|
+
isReseller: boolean;
|
|
1758
|
+
} | null | undefined;
|
|
1759
|
+
thumbnail?: string | null | undefined;
|
|
1760
|
+
billingInfos?: {
|
|
1761
|
+
_id?: string | null | undefined;
|
|
1762
|
+
name: string;
|
|
1763
|
+
address: {
|
|
1764
|
+
coordinates?: number[] | null | undefined;
|
|
1765
|
+
line2?: string | null | undefined;
|
|
1766
|
+
state: string;
|
|
1767
|
+
country: string;
|
|
1768
|
+
line1: string;
|
|
1769
|
+
city: string;
|
|
1770
|
+
postcode: string;
|
|
1771
|
+
};
|
|
1772
|
+
email: string;
|
|
1773
|
+
companyName: string;
|
|
1774
|
+
contact: string;
|
|
1775
|
+
}[] | null | undefined;
|
|
1776
|
+
customerDisplayImages?: {
|
|
1777
|
+
url: string;
|
|
1778
|
+
restaurantIds: string[];
|
|
1779
|
+
}[] | null | undefined;
|
|
1780
|
+
name: string;
|
|
1781
|
+
_id: string;
|
|
1782
|
+
ownerId: string;
|
|
1783
|
+
restaurantQuota: number;
|
|
1784
|
+
warehouseQuota: number;
|
|
1785
|
+
menuVersion: string;
|
|
1786
|
+
} | null | undefined;
|
|
1787
1787
|
features?: string[] | null | undefined;
|
|
1788
1788
|
machineOtp?: string | null | undefined;
|
|
1789
1789
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -1796,6 +1796,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1796
1796
|
catalogId?: string | null | undefined;
|
|
1797
1797
|
autoAccept?: boolean | null | undefined;
|
|
1798
1798
|
term?: string | null | undefined;
|
|
1799
|
+
ignoreStock?: boolean | null | undefined;
|
|
1799
1800
|
enable: boolean;
|
|
1800
1801
|
} | null | undefined;
|
|
1801
1802
|
foodpandaDelivery?: {
|
|
@@ -1859,31 +1860,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1859
1860
|
anydeskPassword?: string | null | undefined;
|
|
1860
1861
|
deviceName: string;
|
|
1861
1862
|
}[] | null | undefined;
|
|
1862
|
-
payoutAccount?:
|
|
1863
|
-
bank?: {
|
|
1864
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
1865
|
-
accountNumber?: string | null | undefined;
|
|
1866
|
-
holderName?: string | null | undefined;
|
|
1867
|
-
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";
|
|
1868
|
-
} | null | undefined;
|
|
1869
|
-
ssm?: string | null | undefined;
|
|
1870
|
-
bankStatement?: string | null | undefined;
|
|
1871
|
-
exteriorPhoto?: string | null | undefined;
|
|
1872
|
-
keyPerson?: string | null | undefined;
|
|
1873
|
-
keyPersonPhone?: string | null | undefined;
|
|
1874
|
-
keyPersonEmail?: string | null | undefined;
|
|
1875
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
1876
|
-
enable: boolean;
|
|
1877
|
-
methods: {
|
|
1878
|
-
variant: string;
|
|
1879
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
1880
|
-
rate: {
|
|
1881
|
-
amount: number;
|
|
1882
|
-
precision: number;
|
|
1883
|
-
};
|
|
1884
|
-
tPlus: number;
|
|
1885
|
-
}[];
|
|
1886
|
-
} | null | undefined;
|
|
1863
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
1887
1864
|
clearCount?: number | null | undefined;
|
|
1888
1865
|
queueSetting?: {
|
|
1889
1866
|
duration?: number | null | undefined;
|
|
@@ -1901,68 +1878,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
1901
1878
|
} | null | undefined;
|
|
1902
1879
|
_id: string;
|
|
1903
1880
|
expiredAt: string;
|
|
1904
|
-
pf_business: {
|
|
1905
|
-
internal?: boolean | null | undefined;
|
|
1906
|
-
url?: string | null | undefined;
|
|
1907
|
-
expiredAt?: string | null | undefined;
|
|
1908
|
-
agentId?: string | null | undefined;
|
|
1909
|
-
pf_agent?: {
|
|
1910
|
-
clickupId?: string | null | undefined;
|
|
1911
|
-
members?: {
|
|
1912
|
-
pf_user?: {
|
|
1913
|
-
email?: string | null | undefined;
|
|
1914
|
-
phoneNumber?: string | null | undefined;
|
|
1915
|
-
birthday?: string | null | undefined;
|
|
1916
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1917
|
-
addresses?: {
|
|
1918
|
-
name: string;
|
|
1919
|
-
address: string;
|
|
1920
|
-
coordinates: number[];
|
|
1921
|
-
}[] | null | undefined;
|
|
1922
|
-
photoURL?: string | null | undefined;
|
|
1923
|
-
displayName?: string | null | undefined;
|
|
1924
|
-
imported?: {
|
|
1925
|
-
raw: Record<string, any>;
|
|
1926
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
1927
|
-
} | null | undefined;
|
|
1928
|
-
_id: string;
|
|
1929
|
-
} | null | undefined;
|
|
1930
|
-
role: "ADMIN";
|
|
1931
|
-
userId: string;
|
|
1932
|
-
}[] | null | undefined;
|
|
1933
|
-
code: string;
|
|
1934
|
-
name: string;
|
|
1935
|
-
_id: string;
|
|
1936
|
-
isReseller: boolean;
|
|
1937
|
-
} | null | undefined;
|
|
1938
|
-
thumbnail?: string | null | undefined;
|
|
1939
|
-
billingInfos?: {
|
|
1940
|
-
_id?: string | null | undefined;
|
|
1941
|
-
name: string;
|
|
1942
|
-
address: {
|
|
1943
|
-
coordinates?: number[] | null | undefined;
|
|
1944
|
-
line2?: string | null | undefined;
|
|
1945
|
-
state: string;
|
|
1946
|
-
country: string;
|
|
1947
|
-
line1: string;
|
|
1948
|
-
city: string;
|
|
1949
|
-
postcode: string;
|
|
1950
|
-
};
|
|
1951
|
-
email: string;
|
|
1952
|
-
companyName: string;
|
|
1953
|
-
contact: string;
|
|
1954
|
-
}[] | null | undefined;
|
|
1955
|
-
customerDisplayImages?: {
|
|
1956
|
-
url: string;
|
|
1957
|
-
restaurantIds: string[];
|
|
1958
|
-
}[] | null | undefined;
|
|
1959
|
-
name: string;
|
|
1960
|
-
_id: string;
|
|
1961
|
-
ownerId: string;
|
|
1962
|
-
restaurantQuota: number;
|
|
1963
|
-
warehouseQuota: number;
|
|
1964
|
-
menuVersion: string;
|
|
1965
|
-
};
|
|
1966
1881
|
businessId: string;
|
|
1967
1882
|
profile: {
|
|
1968
1883
|
code?: string | null | undefined;
|
|
@@ -2132,6 +2047,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2132
2047
|
channel?: string | null | undefined;
|
|
2133
2048
|
machineId?: string | null | undefined;
|
|
2134
2049
|
catalogId?: string | null | undefined;
|
|
2050
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2135
2051
|
takeaway?: {
|
|
2136
2052
|
catalogId?: string | null | undefined;
|
|
2137
2053
|
} | null | undefined;
|
|
@@ -2266,6 +2182,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2266
2182
|
acceptQueue?: boolean | null | undefined;
|
|
2267
2183
|
anonymousOrder: boolean;
|
|
2268
2184
|
} | null | undefined;
|
|
2185
|
+
pf_business?: {
|
|
2186
|
+
internal?: boolean | null | undefined;
|
|
2187
|
+
url?: string | null | undefined;
|
|
2188
|
+
expiredAt?: string | null | undefined;
|
|
2189
|
+
agentId?: string | null | undefined;
|
|
2190
|
+
attributeSettings?: {
|
|
2191
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2192
|
+
key: string;
|
|
2193
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2194
|
+
}[] | null | undefined;
|
|
2195
|
+
pf_agent?: {
|
|
2196
|
+
clickupId?: string | null | undefined;
|
|
2197
|
+
members?: {
|
|
2198
|
+
pf_user?: {
|
|
2199
|
+
email?: string | null | undefined;
|
|
2200
|
+
phoneNumber?: string | null | undefined;
|
|
2201
|
+
birthday?: string | null | undefined;
|
|
2202
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2203
|
+
addresses?: {
|
|
2204
|
+
name: string;
|
|
2205
|
+
address: string;
|
|
2206
|
+
coordinates: number[];
|
|
2207
|
+
}[] | null | undefined;
|
|
2208
|
+
photoURL?: string | null | undefined;
|
|
2209
|
+
displayName?: string | null | undefined;
|
|
2210
|
+
imported?: {
|
|
2211
|
+
raw: Record<string, any>;
|
|
2212
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2213
|
+
} | null | undefined;
|
|
2214
|
+
_id: string;
|
|
2215
|
+
} | null | undefined;
|
|
2216
|
+
role: "ADMIN";
|
|
2217
|
+
userId: string;
|
|
2218
|
+
}[] | null | undefined;
|
|
2219
|
+
code: string;
|
|
2220
|
+
name: string;
|
|
2221
|
+
_id: string;
|
|
2222
|
+
isReseller: boolean;
|
|
2223
|
+
} | null | undefined;
|
|
2224
|
+
thumbnail?: string | null | undefined;
|
|
2225
|
+
billingInfos?: {
|
|
2226
|
+
_id?: string | null | undefined;
|
|
2227
|
+
name: string;
|
|
2228
|
+
address: {
|
|
2229
|
+
coordinates?: number[] | null | undefined;
|
|
2230
|
+
line2?: string | null | undefined;
|
|
2231
|
+
state: string;
|
|
2232
|
+
country: string;
|
|
2233
|
+
line1: string;
|
|
2234
|
+
city: string;
|
|
2235
|
+
postcode: string;
|
|
2236
|
+
};
|
|
2237
|
+
email: string;
|
|
2238
|
+
companyName: string;
|
|
2239
|
+
contact: string;
|
|
2240
|
+
}[] | null | undefined;
|
|
2241
|
+
customerDisplayImages?: {
|
|
2242
|
+
url: string;
|
|
2243
|
+
restaurantIds: string[];
|
|
2244
|
+
}[] | null | undefined;
|
|
2245
|
+
name: string;
|
|
2246
|
+
_id: string;
|
|
2247
|
+
ownerId: string;
|
|
2248
|
+
restaurantQuota: number;
|
|
2249
|
+
warehouseQuota: number;
|
|
2250
|
+
menuVersion: string;
|
|
2251
|
+
} | null | undefined;
|
|
2269
2252
|
features?: string[] | null | undefined;
|
|
2270
2253
|
machineOtp?: string | null | undefined;
|
|
2271
2254
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -2278,6 +2261,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2278
2261
|
catalogId?: string | null | undefined;
|
|
2279
2262
|
autoAccept?: boolean | null | undefined;
|
|
2280
2263
|
term?: string | null | undefined;
|
|
2264
|
+
ignoreStock?: boolean | null | undefined;
|
|
2281
2265
|
enable: boolean;
|
|
2282
2266
|
} | null | undefined;
|
|
2283
2267
|
foodpandaDelivery?: {
|
|
@@ -2341,31 +2325,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2341
2325
|
anydeskPassword?: string | null | undefined;
|
|
2342
2326
|
deviceName: string;
|
|
2343
2327
|
}[] | null | undefined;
|
|
2344
|
-
payoutAccount?:
|
|
2345
|
-
bank?: {
|
|
2346
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
2347
|
-
accountNumber?: string | null | undefined;
|
|
2348
|
-
holderName?: string | null | undefined;
|
|
2349
|
-
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";
|
|
2350
|
-
} | null | undefined;
|
|
2351
|
-
ssm?: string | null | undefined;
|
|
2352
|
-
bankStatement?: string | null | undefined;
|
|
2353
|
-
exteriorPhoto?: string | null | undefined;
|
|
2354
|
-
keyPerson?: string | null | undefined;
|
|
2355
|
-
keyPersonPhone?: string | null | undefined;
|
|
2356
|
-
keyPersonEmail?: string | null | undefined;
|
|
2357
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
2358
|
-
enable: boolean;
|
|
2359
|
-
methods: {
|
|
2360
|
-
variant: string;
|
|
2361
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
2362
|
-
rate: {
|
|
2363
|
-
amount: number;
|
|
2364
|
-
precision: number;
|
|
2365
|
-
};
|
|
2366
|
-
tPlus: number;
|
|
2367
|
-
}[];
|
|
2368
|
-
} | null | undefined;
|
|
2328
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
2369
2329
|
clearCount?: number | null | undefined;
|
|
2370
2330
|
queueSetting?: {
|
|
2371
2331
|
duration?: number | null | undefined;
|
|
@@ -2383,68 +2343,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2383
2343
|
} | null | undefined;
|
|
2384
2344
|
_id: string;
|
|
2385
2345
|
expiredAt: string;
|
|
2386
|
-
pf_business: {
|
|
2387
|
-
internal?: boolean | null | undefined;
|
|
2388
|
-
url?: string | null | undefined;
|
|
2389
|
-
expiredAt?: string | null | undefined;
|
|
2390
|
-
agentId?: string | null | undefined;
|
|
2391
|
-
pf_agent?: {
|
|
2392
|
-
clickupId?: string | null | undefined;
|
|
2393
|
-
members?: {
|
|
2394
|
-
pf_user?: {
|
|
2395
|
-
email?: string | null | undefined;
|
|
2396
|
-
phoneNumber?: string | null | undefined;
|
|
2397
|
-
birthday?: string | null | undefined;
|
|
2398
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2399
|
-
addresses?: {
|
|
2400
|
-
name: string;
|
|
2401
|
-
address: string;
|
|
2402
|
-
coordinates: number[];
|
|
2403
|
-
}[] | null | undefined;
|
|
2404
|
-
photoURL?: string | null | undefined;
|
|
2405
|
-
displayName?: string | null | undefined;
|
|
2406
|
-
imported?: {
|
|
2407
|
-
raw: Record<string, any>;
|
|
2408
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2409
|
-
} | null | undefined;
|
|
2410
|
-
_id: string;
|
|
2411
|
-
} | null | undefined;
|
|
2412
|
-
role: "ADMIN";
|
|
2413
|
-
userId: string;
|
|
2414
|
-
}[] | null | undefined;
|
|
2415
|
-
code: string;
|
|
2416
|
-
name: string;
|
|
2417
|
-
_id: string;
|
|
2418
|
-
isReseller: boolean;
|
|
2419
|
-
} | null | undefined;
|
|
2420
|
-
thumbnail?: string | null | undefined;
|
|
2421
|
-
billingInfos?: {
|
|
2422
|
-
_id?: string | null | undefined;
|
|
2423
|
-
name: string;
|
|
2424
|
-
address: {
|
|
2425
|
-
coordinates?: number[] | null | undefined;
|
|
2426
|
-
line2?: string | null | undefined;
|
|
2427
|
-
state: string;
|
|
2428
|
-
country: string;
|
|
2429
|
-
line1: string;
|
|
2430
|
-
city: string;
|
|
2431
|
-
postcode: string;
|
|
2432
|
-
};
|
|
2433
|
-
email: string;
|
|
2434
|
-
companyName: string;
|
|
2435
|
-
contact: string;
|
|
2436
|
-
}[] | null | undefined;
|
|
2437
|
-
customerDisplayImages?: {
|
|
2438
|
-
url: string;
|
|
2439
|
-
restaurantIds: string[];
|
|
2440
|
-
}[] | null | undefined;
|
|
2441
|
-
name: string;
|
|
2442
|
-
_id: string;
|
|
2443
|
-
ownerId: string;
|
|
2444
|
-
restaurantQuota: number;
|
|
2445
|
-
warehouseQuota: number;
|
|
2446
|
-
menuVersion: string;
|
|
2447
|
-
};
|
|
2448
2346
|
businessId: string;
|
|
2449
2347
|
}[];
|
|
2450
2348
|
businessRestaurants: {
|
|
@@ -2537,6 +2435,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2537
2435
|
channel?: string | null | undefined;
|
|
2538
2436
|
machineId?: string | null | undefined;
|
|
2539
2437
|
catalogId?: string | null | undefined;
|
|
2438
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2540
2439
|
takeaway?: {
|
|
2541
2440
|
catalogId?: string | null | undefined;
|
|
2542
2441
|
} | null | undefined;
|
|
@@ -2671,6 +2570,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2671
2570
|
acceptQueue?: boolean | null | undefined;
|
|
2672
2571
|
anonymousOrder: boolean;
|
|
2673
2572
|
} | null | undefined;
|
|
2573
|
+
pf_business?: {
|
|
2574
|
+
internal?: boolean | null | undefined;
|
|
2575
|
+
url?: string | null | undefined;
|
|
2576
|
+
expiredAt?: string | null | undefined;
|
|
2577
|
+
agentId?: string | null | undefined;
|
|
2578
|
+
attributeSettings?: {
|
|
2579
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2580
|
+
key: string;
|
|
2581
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2582
|
+
}[] | null | undefined;
|
|
2583
|
+
pf_agent?: {
|
|
2584
|
+
clickupId?: string | null | undefined;
|
|
2585
|
+
members?: {
|
|
2586
|
+
pf_user?: {
|
|
2587
|
+
email?: string | null | undefined;
|
|
2588
|
+
phoneNumber?: string | null | undefined;
|
|
2589
|
+
birthday?: string | null | undefined;
|
|
2590
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2591
|
+
addresses?: {
|
|
2592
|
+
name: string;
|
|
2593
|
+
address: string;
|
|
2594
|
+
coordinates: number[];
|
|
2595
|
+
}[] | null | undefined;
|
|
2596
|
+
photoURL?: string | null | undefined;
|
|
2597
|
+
displayName?: string | null | undefined;
|
|
2598
|
+
imported?: {
|
|
2599
|
+
raw: Record<string, any>;
|
|
2600
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2601
|
+
} | null | undefined;
|
|
2602
|
+
_id: string;
|
|
2603
|
+
} | null | undefined;
|
|
2604
|
+
role: "ADMIN";
|
|
2605
|
+
userId: string;
|
|
2606
|
+
}[] | null | undefined;
|
|
2607
|
+
code: string;
|
|
2608
|
+
name: string;
|
|
2609
|
+
_id: string;
|
|
2610
|
+
isReseller: boolean;
|
|
2611
|
+
} | null | undefined;
|
|
2612
|
+
thumbnail?: string | null | undefined;
|
|
2613
|
+
billingInfos?: {
|
|
2614
|
+
_id?: string | null | undefined;
|
|
2615
|
+
name: string;
|
|
2616
|
+
address: {
|
|
2617
|
+
coordinates?: number[] | null | undefined;
|
|
2618
|
+
line2?: string | null | undefined;
|
|
2619
|
+
state: string;
|
|
2620
|
+
country: string;
|
|
2621
|
+
line1: string;
|
|
2622
|
+
city: string;
|
|
2623
|
+
postcode: string;
|
|
2624
|
+
};
|
|
2625
|
+
email: string;
|
|
2626
|
+
companyName: string;
|
|
2627
|
+
contact: string;
|
|
2628
|
+
}[] | null | undefined;
|
|
2629
|
+
customerDisplayImages?: {
|
|
2630
|
+
url: string;
|
|
2631
|
+
restaurantIds: string[];
|
|
2632
|
+
}[] | null | undefined;
|
|
2633
|
+
name: string;
|
|
2634
|
+
_id: string;
|
|
2635
|
+
ownerId: string;
|
|
2636
|
+
restaurantQuota: number;
|
|
2637
|
+
warehouseQuota: number;
|
|
2638
|
+
menuVersion: string;
|
|
2639
|
+
} | null | undefined;
|
|
2674
2640
|
features?: string[] | null | undefined;
|
|
2675
2641
|
machineOtp?: string | null | undefined;
|
|
2676
2642
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -2683,6 +2649,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2683
2649
|
catalogId?: string | null | undefined;
|
|
2684
2650
|
autoAccept?: boolean | null | undefined;
|
|
2685
2651
|
term?: string | null | undefined;
|
|
2652
|
+
ignoreStock?: boolean | null | undefined;
|
|
2686
2653
|
enable: boolean;
|
|
2687
2654
|
} | null | undefined;
|
|
2688
2655
|
foodpandaDelivery?: {
|
|
@@ -2746,31 +2713,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2746
2713
|
anydeskPassword?: string | null | undefined;
|
|
2747
2714
|
deviceName: string;
|
|
2748
2715
|
}[] | null | undefined;
|
|
2749
|
-
payoutAccount?:
|
|
2750
|
-
bank?: {
|
|
2751
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
2752
|
-
accountNumber?: string | null | undefined;
|
|
2753
|
-
holderName?: string | null | undefined;
|
|
2754
|
-
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";
|
|
2755
|
-
} | null | undefined;
|
|
2756
|
-
ssm?: string | null | undefined;
|
|
2757
|
-
bankStatement?: string | null | undefined;
|
|
2758
|
-
exteriorPhoto?: string | null | undefined;
|
|
2759
|
-
keyPerson?: string | null | undefined;
|
|
2760
|
-
keyPersonPhone?: string | null | undefined;
|
|
2761
|
-
keyPersonEmail?: string | null | undefined;
|
|
2762
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
2763
|
-
enable: boolean;
|
|
2764
|
-
methods: {
|
|
2765
|
-
variant: string;
|
|
2766
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
2767
|
-
rate: {
|
|
2768
|
-
amount: number;
|
|
2769
|
-
precision: number;
|
|
2770
|
-
};
|
|
2771
|
-
tPlus: number;
|
|
2772
|
-
}[];
|
|
2773
|
-
} | null | undefined;
|
|
2716
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
2774
2717
|
clearCount?: number | null | undefined;
|
|
2775
2718
|
queueSetting?: {
|
|
2776
2719
|
duration?: number | null | undefined;
|
|
@@ -2788,68 +2731,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2788
2731
|
} | null | undefined;
|
|
2789
2732
|
_id: string;
|
|
2790
2733
|
expiredAt: string;
|
|
2791
|
-
pf_business: {
|
|
2792
|
-
internal?: boolean | null | undefined;
|
|
2793
|
-
url?: string | null | undefined;
|
|
2794
|
-
expiredAt?: string | null | undefined;
|
|
2795
|
-
agentId?: string | null | undefined;
|
|
2796
|
-
pf_agent?: {
|
|
2797
|
-
clickupId?: string | null | undefined;
|
|
2798
|
-
members?: {
|
|
2799
|
-
pf_user?: {
|
|
2800
|
-
email?: string | null | undefined;
|
|
2801
|
-
phoneNumber?: string | null | undefined;
|
|
2802
|
-
birthday?: string | null | undefined;
|
|
2803
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2804
|
-
addresses?: {
|
|
2805
|
-
name: string;
|
|
2806
|
-
address: string;
|
|
2807
|
-
coordinates: number[];
|
|
2808
|
-
}[] | null | undefined;
|
|
2809
|
-
photoURL?: string | null | undefined;
|
|
2810
|
-
displayName?: string | null | undefined;
|
|
2811
|
-
imported?: {
|
|
2812
|
-
raw: Record<string, any>;
|
|
2813
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2814
|
-
} | null | undefined;
|
|
2815
|
-
_id: string;
|
|
2816
|
-
} | null | undefined;
|
|
2817
|
-
role: "ADMIN";
|
|
2818
|
-
userId: string;
|
|
2819
|
-
}[] | null | undefined;
|
|
2820
|
-
code: string;
|
|
2821
|
-
name: string;
|
|
2822
|
-
_id: string;
|
|
2823
|
-
isReseller: boolean;
|
|
2824
|
-
} | null | undefined;
|
|
2825
|
-
thumbnail?: string | null | undefined;
|
|
2826
|
-
billingInfos?: {
|
|
2827
|
-
_id?: string | null | undefined;
|
|
2828
|
-
name: string;
|
|
2829
|
-
address: {
|
|
2830
|
-
coordinates?: number[] | null | undefined;
|
|
2831
|
-
line2?: string | null | undefined;
|
|
2832
|
-
state: string;
|
|
2833
|
-
country: string;
|
|
2834
|
-
line1: string;
|
|
2835
|
-
city: string;
|
|
2836
|
-
postcode: string;
|
|
2837
|
-
};
|
|
2838
|
-
email: string;
|
|
2839
|
-
companyName: string;
|
|
2840
|
-
contact: string;
|
|
2841
|
-
}[] | null | undefined;
|
|
2842
|
-
customerDisplayImages?: {
|
|
2843
|
-
url: string;
|
|
2844
|
-
restaurantIds: string[];
|
|
2845
|
-
}[] | null | undefined;
|
|
2846
|
-
name: string;
|
|
2847
|
-
_id: string;
|
|
2848
|
-
ownerId: string;
|
|
2849
|
-
restaurantQuota: number;
|
|
2850
|
-
warehouseQuota: number;
|
|
2851
|
-
menuVersion: string;
|
|
2852
|
-
};
|
|
2853
2734
|
businessId: string;
|
|
2854
2735
|
}[];
|
|
2855
2736
|
currentRestaurantId: string;
|
|
@@ -2868,6 +2749,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2868
2749
|
channel?: string | null | undefined;
|
|
2869
2750
|
machineId?: string | null | undefined;
|
|
2870
2751
|
catalogId?: string | null | undefined;
|
|
2752
|
+
customAttributes?: Record<string, any> | null | undefined;
|
|
2871
2753
|
takeaway?: {
|
|
2872
2754
|
catalogId?: string | null | undefined;
|
|
2873
2755
|
} | null | undefined;
|
|
@@ -3002,6 +2884,73 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
3002
2884
|
acceptQueue?: boolean | null | undefined;
|
|
3003
2885
|
anonymousOrder: boolean;
|
|
3004
2886
|
} | null | undefined;
|
|
2887
|
+
pf_business?: {
|
|
2888
|
+
internal?: boolean | null | undefined;
|
|
2889
|
+
url?: string | null | undefined;
|
|
2890
|
+
expiredAt?: string | null | undefined;
|
|
2891
|
+
agentId?: string | null | undefined;
|
|
2892
|
+
attributeSettings?: {
|
|
2893
|
+
type: "string" | "number" | "boolean" | "date";
|
|
2894
|
+
key: string;
|
|
2895
|
+
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
2896
|
+
}[] | null | undefined;
|
|
2897
|
+
pf_agent?: {
|
|
2898
|
+
clickupId?: string | null | undefined;
|
|
2899
|
+
members?: {
|
|
2900
|
+
pf_user?: {
|
|
2901
|
+
email?: string | null | undefined;
|
|
2902
|
+
phoneNumber?: string | null | undefined;
|
|
2903
|
+
birthday?: string | null | undefined;
|
|
2904
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
2905
|
+
addresses?: {
|
|
2906
|
+
name: string;
|
|
2907
|
+
address: string;
|
|
2908
|
+
coordinates: number[];
|
|
2909
|
+
}[] | null | undefined;
|
|
2910
|
+
photoURL?: string | null | undefined;
|
|
2911
|
+
displayName?: string | null | undefined;
|
|
2912
|
+
imported?: {
|
|
2913
|
+
raw: Record<string, any>;
|
|
2914
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
2915
|
+
} | null | undefined;
|
|
2916
|
+
_id: string;
|
|
2917
|
+
} | null | undefined;
|
|
2918
|
+
role: "ADMIN";
|
|
2919
|
+
userId: string;
|
|
2920
|
+
}[] | null | undefined;
|
|
2921
|
+
code: string;
|
|
2922
|
+
name: string;
|
|
2923
|
+
_id: string;
|
|
2924
|
+
isReseller: boolean;
|
|
2925
|
+
} | null | undefined;
|
|
2926
|
+
thumbnail?: string | null | undefined;
|
|
2927
|
+
billingInfos?: {
|
|
2928
|
+
_id?: string | null | undefined;
|
|
2929
|
+
name: string;
|
|
2930
|
+
address: {
|
|
2931
|
+
coordinates?: number[] | null | undefined;
|
|
2932
|
+
line2?: string | null | undefined;
|
|
2933
|
+
state: string;
|
|
2934
|
+
country: string;
|
|
2935
|
+
line1: string;
|
|
2936
|
+
city: string;
|
|
2937
|
+
postcode: string;
|
|
2938
|
+
};
|
|
2939
|
+
email: string;
|
|
2940
|
+
companyName: string;
|
|
2941
|
+
contact: string;
|
|
2942
|
+
}[] | null | undefined;
|
|
2943
|
+
customerDisplayImages?: {
|
|
2944
|
+
url: string;
|
|
2945
|
+
restaurantIds: string[];
|
|
2946
|
+
}[] | null | undefined;
|
|
2947
|
+
name: string;
|
|
2948
|
+
_id: string;
|
|
2949
|
+
ownerId: string;
|
|
2950
|
+
restaurantQuota: number;
|
|
2951
|
+
warehouseQuota: number;
|
|
2952
|
+
menuVersion: string;
|
|
2953
|
+
} | null | undefined;
|
|
3005
2954
|
features?: string[] | null | undefined;
|
|
3006
2955
|
machineOtp?: string | null | undefined;
|
|
3007
2956
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -3014,6 +2963,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
3014
2963
|
catalogId?: string | null | undefined;
|
|
3015
2964
|
autoAccept?: boolean | null | undefined;
|
|
3016
2965
|
term?: string | null | undefined;
|
|
2966
|
+
ignoreStock?: boolean | null | undefined;
|
|
3017
2967
|
enable: boolean;
|
|
3018
2968
|
} | null | undefined;
|
|
3019
2969
|
foodpandaDelivery?: {
|
|
@@ -3077,31 +3027,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
3077
3027
|
anydeskPassword?: string | null | undefined;
|
|
3078
3028
|
deviceName: string;
|
|
3079
3029
|
}[] | null | undefined;
|
|
3080
|
-
payoutAccount?:
|
|
3081
|
-
bank?: {
|
|
3082
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
3083
|
-
accountNumber?: string | null | undefined;
|
|
3084
|
-
holderName?: string | null | undefined;
|
|
3085
|
-
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";
|
|
3086
|
-
} | null | undefined;
|
|
3087
|
-
ssm?: string | null | undefined;
|
|
3088
|
-
bankStatement?: string | null | undefined;
|
|
3089
|
-
exteriorPhoto?: string | null | undefined;
|
|
3090
|
-
keyPerson?: string | null | undefined;
|
|
3091
|
-
keyPersonPhone?: string | null | undefined;
|
|
3092
|
-
keyPersonEmail?: string | null | undefined;
|
|
3093
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
3094
|
-
enable: boolean;
|
|
3095
|
-
methods: {
|
|
3096
|
-
variant: string;
|
|
3097
|
-
issuer: "OTHER" | "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
3098
|
-
rate: {
|
|
3099
|
-
amount: number;
|
|
3100
|
-
precision: number;
|
|
3101
|
-
};
|
|
3102
|
-
tPlus: number;
|
|
3103
|
-
}[];
|
|
3104
|
-
} | null | undefined;
|
|
3030
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
3105
3031
|
clearCount?: number | null | undefined;
|
|
3106
3032
|
queueSetting?: {
|
|
3107
3033
|
duration?: number | null | undefined;
|
|
@@ -3119,68 +3045,6 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
3119
3045
|
} | null | undefined;
|
|
3120
3046
|
_id: string;
|
|
3121
3047
|
expiredAt: string;
|
|
3122
|
-
pf_business: {
|
|
3123
|
-
internal?: boolean | null | undefined;
|
|
3124
|
-
url?: string | null | undefined;
|
|
3125
|
-
expiredAt?: string | null | undefined;
|
|
3126
|
-
agentId?: string | null | undefined;
|
|
3127
|
-
pf_agent?: {
|
|
3128
|
-
clickupId?: string | null | undefined;
|
|
3129
|
-
members?: {
|
|
3130
|
-
pf_user?: {
|
|
3131
|
-
email?: string | null | undefined;
|
|
3132
|
-
phoneNumber?: string | null | undefined;
|
|
3133
|
-
birthday?: string | null | undefined;
|
|
3134
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3135
|
-
addresses?: {
|
|
3136
|
-
name: string;
|
|
3137
|
-
address: string;
|
|
3138
|
-
coordinates: number[];
|
|
3139
|
-
}[] | null | undefined;
|
|
3140
|
-
photoURL?: string | null | undefined;
|
|
3141
|
-
displayName?: string | null | undefined;
|
|
3142
|
-
imported?: {
|
|
3143
|
-
raw: Record<string, any>;
|
|
3144
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3145
|
-
} | null | undefined;
|
|
3146
|
-
_id: string;
|
|
3147
|
-
} | null | undefined;
|
|
3148
|
-
role: "ADMIN";
|
|
3149
|
-
userId: string;
|
|
3150
|
-
}[] | null | undefined;
|
|
3151
|
-
code: string;
|
|
3152
|
-
name: string;
|
|
3153
|
-
_id: string;
|
|
3154
|
-
isReseller: boolean;
|
|
3155
|
-
} | null | undefined;
|
|
3156
|
-
thumbnail?: string | null | undefined;
|
|
3157
|
-
billingInfos?: {
|
|
3158
|
-
_id?: string | null | undefined;
|
|
3159
|
-
name: string;
|
|
3160
|
-
address: {
|
|
3161
|
-
coordinates?: number[] | null | undefined;
|
|
3162
|
-
line2?: string | null | undefined;
|
|
3163
|
-
state: string;
|
|
3164
|
-
country: string;
|
|
3165
|
-
line1: string;
|
|
3166
|
-
city: string;
|
|
3167
|
-
postcode: string;
|
|
3168
|
-
};
|
|
3169
|
-
email: string;
|
|
3170
|
-
companyName: string;
|
|
3171
|
-
contact: string;
|
|
3172
|
-
}[] | null | undefined;
|
|
3173
|
-
customerDisplayImages?: {
|
|
3174
|
-
url: string;
|
|
3175
|
-
restaurantIds: string[];
|
|
3176
|
-
}[] | null | undefined;
|
|
3177
|
-
name: string;
|
|
3178
|
-
_id: string;
|
|
3179
|
-
ownerId: string;
|
|
3180
|
-
restaurantQuota: number;
|
|
3181
|
-
warehouseQuota: number;
|
|
3182
|
-
menuVersion: string;
|
|
3183
|
-
};
|
|
3184
3048
|
businessId: string;
|
|
3185
3049
|
profile: {
|
|
3186
3050
|
code?: string | null | undefined;
|
|
@@ -3263,6 +3127,7 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
3263
3127
|
updateIntegratedFoodpandaDelivery(restaurantId: string, dto: FdoFoodpandaSettings): Promise<void>;
|
|
3264
3128
|
updateIntegratedGrabfoodDelivery(restaurantId: string, dto: FdoGrabfoodSettings): Promise<void>;
|
|
3265
3129
|
updateIntegratedShopeefoodDelivery(restaurantId: string, dto: FdoShopeeFoodSettings): Promise<void>;
|
|
3130
|
+
updateExternalDelivery(restaurantId: string, dto: FdoExternalSetting): Promise<void>;
|
|
3266
3131
|
getRestaurantEPayment(dto?: FdoRestaurant | undefined): true | string;
|
|
3267
3132
|
}>;
|
|
3268
3133
|
export {};
|