@feedmepos/mf-common 1.26.12 → 1.26.14
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/{CustomAttributesForm-9d6decff.js → CustomAttributesForm-150c5316.js} +1 -1
- package/dist/ItemSelector-a8ce1c64.js +25149 -0
- package/dist/{RestaurantSelector-409e9a70.js → RestaurantSelector-7a823b63.js} +1 -1
- package/dist/{app-be7f7f53.js → app-ed1e85d6.js} +16873 -16394
- package/dist/app.js +7 -7
- package/dist/store.d.ts +735 -687
- package/dist/store.d.ts.map +1 -1
- package/dist/stores/menu.d.ts +1621 -805
- package/dist/stores/menu.d.ts.map +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/ItemSelector-c225ec67.js +0 -49508
package/dist/store.d.ts
CHANGED
@@ -261,31 +261,6 @@ export declare const useCoreStore: () => {
|
|
261
261
|
currentBusiness: import("vue").Ref<FmpBusiness | undefined, FmpBusiness | undefined>;
|
262
262
|
restaurants: import("vue").Ref<{
|
263
263
|
managable: boolean;
|
264
|
-
pickup?: {
|
265
|
-
catalogId?: string | null | undefined;
|
266
|
-
autoAccept?: boolean | null | undefined;
|
267
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
268
|
-
offlinePaymentTypes?: {
|
269
|
-
name: string;
|
270
|
-
instruction: string;
|
271
|
-
}[] | null | undefined;
|
272
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
273
|
-
ignoreStock?: boolean | null | undefined;
|
274
|
-
pickupTime?: {
|
275
|
-
day: {
|
276
|
-
max: number;
|
277
|
-
min: number;
|
278
|
-
};
|
279
|
-
} | null | undefined;
|
280
|
-
pickupPointConfig?: {
|
281
|
-
restaurantEnable: boolean;
|
282
|
-
points: {
|
283
|
-
name: string;
|
284
|
-
address: string;
|
285
|
-
coordinates: number[];
|
286
|
-
}[];
|
287
|
-
} | null | undefined;
|
288
|
-
} | null | undefined;
|
289
264
|
channel?: string | null | undefined;
|
290
265
|
machineId?: string | null | undefined;
|
291
266
|
catalogId?: string | null | undefined;
|
@@ -387,6 +362,31 @@ export declare const useCoreStore: () => {
|
|
387
362
|
}[];
|
388
363
|
term: string;
|
389
364
|
} | null | undefined;
|
365
|
+
pickup?: {
|
366
|
+
catalogId?: string | null | undefined;
|
367
|
+
autoAccept?: boolean | null | undefined;
|
368
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
369
|
+
offlinePaymentTypes?: {
|
370
|
+
name: string;
|
371
|
+
instruction: string;
|
372
|
+
}[] | null | undefined;
|
373
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
374
|
+
ignoreStock?: boolean | null | undefined;
|
375
|
+
pickupTime?: {
|
376
|
+
day: {
|
377
|
+
max: number;
|
378
|
+
min: number;
|
379
|
+
};
|
380
|
+
} | null | undefined;
|
381
|
+
pickupPointConfig?: {
|
382
|
+
restaurantEnable: boolean;
|
383
|
+
points: {
|
384
|
+
name: string;
|
385
|
+
address: string;
|
386
|
+
coordinates: number[];
|
387
|
+
}[];
|
388
|
+
} | null | undefined;
|
389
|
+
} | null | undefined;
|
390
390
|
dineIn?: {
|
391
391
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
392
392
|
offlinePaymentTypes?: {
|
@@ -641,31 +641,6 @@ export declare const useCoreStore: () => {
|
|
641
641
|
};
|
642
642
|
}[], FmpRestaurant[] | {
|
643
643
|
managable: boolean;
|
644
|
-
pickup?: {
|
645
|
-
catalogId?: string | null | undefined;
|
646
|
-
autoAccept?: boolean | null | undefined;
|
647
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
648
|
-
offlinePaymentTypes?: {
|
649
|
-
name: string;
|
650
|
-
instruction: string;
|
651
|
-
}[] | null | undefined;
|
652
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
653
|
-
ignoreStock?: boolean | null | undefined;
|
654
|
-
pickupTime?: {
|
655
|
-
day: {
|
656
|
-
max: number;
|
657
|
-
min: number;
|
658
|
-
};
|
659
|
-
} | null | undefined;
|
660
|
-
pickupPointConfig?: {
|
661
|
-
restaurantEnable: boolean;
|
662
|
-
points: {
|
663
|
-
name: string;
|
664
|
-
address: string;
|
665
|
-
coordinates: number[];
|
666
|
-
}[];
|
667
|
-
} | null | undefined;
|
668
|
-
} | null | undefined;
|
669
644
|
channel?: string | null | undefined;
|
670
645
|
machineId?: string | null | undefined;
|
671
646
|
catalogId?: string | null | undefined;
|
@@ -767,6 +742,31 @@ export declare const useCoreStore: () => {
|
|
767
742
|
}[];
|
768
743
|
term: string;
|
769
744
|
} | null | undefined;
|
745
|
+
pickup?: {
|
746
|
+
catalogId?: string | null | undefined;
|
747
|
+
autoAccept?: boolean | null | undefined;
|
748
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
749
|
+
offlinePaymentTypes?: {
|
750
|
+
name: string;
|
751
|
+
instruction: string;
|
752
|
+
}[] | null | undefined;
|
753
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
754
|
+
ignoreStock?: boolean | null | undefined;
|
755
|
+
pickupTime?: {
|
756
|
+
day: {
|
757
|
+
max: number;
|
758
|
+
min: number;
|
759
|
+
};
|
760
|
+
} | null | undefined;
|
761
|
+
pickupPointConfig?: {
|
762
|
+
restaurantEnable: boolean;
|
763
|
+
points: {
|
764
|
+
name: string;
|
765
|
+
address: string;
|
766
|
+
coordinates: number[];
|
767
|
+
}[];
|
768
|
+
} | null | undefined;
|
769
|
+
} | null | undefined;
|
770
770
|
dineIn?: {
|
771
771
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
772
772
|
offlinePaymentTypes?: {
|
@@ -1219,32 +1219,11 @@ export declare const useCoreStore: () => {
|
|
1219
1219
|
};
|
1220
1220
|
} | null>;
|
1221
1221
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
1222
|
-
|
1223
|
-
|
1224
|
-
autoAccept?: boolean | null | undefined;
|
1225
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1226
|
-
offlinePaymentTypes?: {
|
1227
|
-
name: string;
|
1228
|
-
instruction: string;
|
1229
|
-
}[] | null | undefined;
|
1230
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
1231
|
-
ignoreStock?: boolean | null | undefined;
|
1232
|
-
pickupTime?: {
|
1233
|
-
day: {
|
1234
|
-
max: number;
|
1235
|
-
min: number;
|
1236
|
-
};
|
1237
|
-
} | null | undefined;
|
1238
|
-
pickupPointConfig?: {
|
1239
|
-
restaurantEnable: boolean;
|
1240
|
-
points: {
|
1241
|
-
name: string;
|
1242
|
-
address: string;
|
1243
|
-
coordinates: number[];
|
1244
|
-
}[];
|
1245
|
-
} | null | undefined;
|
1222
|
+
terminal?: {
|
1223
|
+
ipAddress: string;
|
1246
1224
|
} | null | undefined;
|
1247
1225
|
catalogId?: string | null | undefined;
|
1226
|
+
customAttributes?: Record<string, any> | null | undefined;
|
1248
1227
|
takeaway?: {
|
1249
1228
|
catalogId?: string | null | undefined;
|
1250
1229
|
} | null | undefined;
|
@@ -1342,6 +1321,31 @@ export declare const useCoreStore: () => {
|
|
1342
1321
|
}[];
|
1343
1322
|
term: string;
|
1344
1323
|
} | null | undefined;
|
1324
|
+
pickup?: {
|
1325
|
+
catalogId?: string | null | undefined;
|
1326
|
+
autoAccept?: boolean | null | undefined;
|
1327
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1328
|
+
offlinePaymentTypes?: {
|
1329
|
+
name: string;
|
1330
|
+
instruction: string;
|
1331
|
+
}[] | null | undefined;
|
1332
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1333
|
+
ignoreStock?: boolean | null | undefined;
|
1334
|
+
pickupTime?: {
|
1335
|
+
day: {
|
1336
|
+
max: number;
|
1337
|
+
min: number;
|
1338
|
+
};
|
1339
|
+
} | null | undefined;
|
1340
|
+
pickupPointConfig?: {
|
1341
|
+
restaurantEnable: boolean;
|
1342
|
+
points: {
|
1343
|
+
name: string;
|
1344
|
+
address: string;
|
1345
|
+
coordinates: number[];
|
1346
|
+
}[];
|
1347
|
+
} | null | undefined;
|
1348
|
+
} | null | undefined;
|
1345
1349
|
dineIn?: {
|
1346
1350
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1347
1351
|
offlinePaymentTypes?: {
|
@@ -1430,9 +1434,6 @@ export declare const useCoreStore: () => {
|
|
1430
1434
|
} | null | undefined;
|
1431
1435
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
1432
1436
|
deductStock?: boolean | null | undefined;
|
1433
|
-
terminal?: {
|
1434
|
-
ipAddress: string;
|
1435
|
-
} | null | undefined;
|
1436
1437
|
eghlTerminal?: {
|
1437
1438
|
active: boolean;
|
1438
1439
|
} | null | undefined;
|
@@ -1457,6 +1458,13 @@ export declare const useCoreStore: () => {
|
|
1457
1458
|
}[];
|
1458
1459
|
lastUpdatedAt: string;
|
1459
1460
|
} | null | undefined;
|
1461
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
1462
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
1463
|
+
eInvoiceConfig?: {
|
1464
|
+
billActivatedAt?: string | null | undefined;
|
1465
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
1466
|
+
} | null | undefined;
|
1467
|
+
hideItemCode?: boolean | null | undefined;
|
1460
1468
|
_id: string;
|
1461
1469
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
1462
1470
|
printReceipt: boolean;
|
@@ -1588,31 +1596,6 @@ export declare const useCoreStore: () => {
|
|
1588
1596
|
currentBusiness: FmpBusiness | undefined;
|
1589
1597
|
restaurants: {
|
1590
1598
|
managable: boolean;
|
1591
|
-
pickup?: {
|
1592
|
-
catalogId?: string | null | undefined;
|
1593
|
-
autoAccept?: boolean | null | undefined;
|
1594
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1595
|
-
offlinePaymentTypes?: {
|
1596
|
-
name: string;
|
1597
|
-
instruction: string;
|
1598
|
-
}[] | null | undefined;
|
1599
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
1600
|
-
ignoreStock?: boolean | null | undefined;
|
1601
|
-
pickupTime?: {
|
1602
|
-
day: {
|
1603
|
-
max: number;
|
1604
|
-
min: number;
|
1605
|
-
};
|
1606
|
-
} | null | undefined;
|
1607
|
-
pickupPointConfig?: {
|
1608
|
-
restaurantEnable: boolean;
|
1609
|
-
points: {
|
1610
|
-
name: string;
|
1611
|
-
address: string;
|
1612
|
-
coordinates: number[];
|
1613
|
-
}[];
|
1614
|
-
} | null | undefined;
|
1615
|
-
} | null | undefined;
|
1616
1599
|
channel?: string | null | undefined;
|
1617
1600
|
machineId?: string | null | undefined;
|
1618
1601
|
catalogId?: string | null | undefined;
|
@@ -1714,6 +1697,31 @@ export declare const useCoreStore: () => {
|
|
1714
1697
|
}[];
|
1715
1698
|
term: string;
|
1716
1699
|
} | null | undefined;
|
1700
|
+
pickup?: {
|
1701
|
+
catalogId?: string | null | undefined;
|
1702
|
+
autoAccept?: boolean | null | undefined;
|
1703
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1704
|
+
offlinePaymentTypes?: {
|
1705
|
+
name: string;
|
1706
|
+
instruction: string;
|
1707
|
+
}[] | null | undefined;
|
1708
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1709
|
+
ignoreStock?: boolean | null | undefined;
|
1710
|
+
pickupTime?: {
|
1711
|
+
day: {
|
1712
|
+
max: number;
|
1713
|
+
min: number;
|
1714
|
+
};
|
1715
|
+
} | null | undefined;
|
1716
|
+
pickupPointConfig?: {
|
1717
|
+
restaurantEnable: boolean;
|
1718
|
+
points: {
|
1719
|
+
name: string;
|
1720
|
+
address: string;
|
1721
|
+
coordinates: number[];
|
1722
|
+
}[];
|
1723
|
+
} | null | undefined;
|
1724
|
+
} | null | undefined;
|
1717
1725
|
dineIn?: {
|
1718
1726
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1719
1727
|
offlinePaymentTypes?: {
|
@@ -2281,31 +2289,6 @@ export declare const useCoreStore: () => {
|
|
2281
2289
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
2282
2290
|
restaurants: import("vue").Ref<{
|
2283
2291
|
managable: boolean;
|
2284
|
-
pickup?: {
|
2285
|
-
catalogId?: string | null | undefined;
|
2286
|
-
autoAccept?: boolean | null | undefined;
|
2287
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2288
|
-
offlinePaymentTypes?: {
|
2289
|
-
name: string;
|
2290
|
-
instruction: string;
|
2291
|
-
}[] | null | undefined;
|
2292
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
2293
|
-
ignoreStock?: boolean | null | undefined;
|
2294
|
-
pickupTime?: {
|
2295
|
-
day: {
|
2296
|
-
max: number;
|
2297
|
-
min: number;
|
2298
|
-
};
|
2299
|
-
} | null | undefined;
|
2300
|
-
pickupPointConfig?: {
|
2301
|
-
restaurantEnable: boolean;
|
2302
|
-
points: {
|
2303
|
-
name: string;
|
2304
|
-
address: string;
|
2305
|
-
coordinates: number[];
|
2306
|
-
}[];
|
2307
|
-
} | null | undefined;
|
2308
|
-
} | null | undefined;
|
2309
2292
|
channel?: string | null | undefined;
|
2310
2293
|
machineId?: string | null | undefined;
|
2311
2294
|
catalogId?: string | null | undefined;
|
@@ -2407,6 +2390,31 @@ export declare const useCoreStore: () => {
|
|
2407
2390
|
}[];
|
2408
2391
|
term: string;
|
2409
2392
|
} | null | undefined;
|
2393
|
+
pickup?: {
|
2394
|
+
catalogId?: string | null | undefined;
|
2395
|
+
autoAccept?: boolean | null | undefined;
|
2396
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2397
|
+
offlinePaymentTypes?: {
|
2398
|
+
name: string;
|
2399
|
+
instruction: string;
|
2400
|
+
}[] | null | undefined;
|
2401
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
2402
|
+
ignoreStock?: boolean | null | undefined;
|
2403
|
+
pickupTime?: {
|
2404
|
+
day: {
|
2405
|
+
max: number;
|
2406
|
+
min: number;
|
2407
|
+
};
|
2408
|
+
} | null | undefined;
|
2409
|
+
pickupPointConfig?: {
|
2410
|
+
restaurantEnable: boolean;
|
2411
|
+
points: {
|
2412
|
+
name: string;
|
2413
|
+
address: string;
|
2414
|
+
coordinates: number[];
|
2415
|
+
}[];
|
2416
|
+
} | null | undefined;
|
2417
|
+
} | null | undefined;
|
2410
2418
|
dineIn?: {
|
2411
2419
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2412
2420
|
offlinePaymentTypes?: {
|
@@ -2661,31 +2669,6 @@ export declare const useCoreStore: () => {
|
|
2661
2669
|
};
|
2662
2670
|
}[], FmpRestaurant[] | {
|
2663
2671
|
managable: boolean;
|
2664
|
-
pickup?: {
|
2665
|
-
catalogId?: string | null | undefined;
|
2666
|
-
autoAccept?: boolean | null | undefined;
|
2667
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2668
|
-
offlinePaymentTypes?: {
|
2669
|
-
name: string;
|
2670
|
-
instruction: string;
|
2671
|
-
}[] | null | undefined;
|
2672
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
2673
|
-
ignoreStock?: boolean | null | undefined;
|
2674
|
-
pickupTime?: {
|
2675
|
-
day: {
|
2676
|
-
max: number;
|
2677
|
-
min: number;
|
2678
|
-
};
|
2679
|
-
} | null | undefined;
|
2680
|
-
pickupPointConfig?: {
|
2681
|
-
restaurantEnable: boolean;
|
2682
|
-
points: {
|
2683
|
-
name: string;
|
2684
|
-
address: string;
|
2685
|
-
coordinates: number[];
|
2686
|
-
}[];
|
2687
|
-
} | null | undefined;
|
2688
|
-
} | null | undefined;
|
2689
2672
|
channel?: string | null | undefined;
|
2690
2673
|
machineId?: string | null | undefined;
|
2691
2674
|
catalogId?: string | null | undefined;
|
@@ -2787,6 +2770,31 @@ export declare const useCoreStore: () => {
|
|
2787
2770
|
}[];
|
2788
2771
|
term: string;
|
2789
2772
|
} | null | undefined;
|
2773
|
+
pickup?: {
|
2774
|
+
catalogId?: string | null | undefined;
|
2775
|
+
autoAccept?: boolean | null | undefined;
|
2776
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2777
|
+
offlinePaymentTypes?: {
|
2778
|
+
name: string;
|
2779
|
+
instruction: string;
|
2780
|
+
}[] | null | undefined;
|
2781
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
2782
|
+
ignoreStock?: boolean | null | undefined;
|
2783
|
+
pickupTime?: {
|
2784
|
+
day: {
|
2785
|
+
max: number;
|
2786
|
+
min: number;
|
2787
|
+
};
|
2788
|
+
} | null | undefined;
|
2789
|
+
pickupPointConfig?: {
|
2790
|
+
restaurantEnable: boolean;
|
2791
|
+
points: {
|
2792
|
+
name: string;
|
2793
|
+
address: string;
|
2794
|
+
coordinates: number[];
|
2795
|
+
}[];
|
2796
|
+
} | null | undefined;
|
2797
|
+
} | null | undefined;
|
2790
2798
|
dineIn?: {
|
2791
2799
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2792
2800
|
offlinePaymentTypes?: {
|
@@ -3042,32 +3050,11 @@ export declare const useCoreStore: () => {
|
|
3042
3050
|
}[]>;
|
3043
3051
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
3044
3052
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
3045
|
-
|
3046
|
-
|
3047
|
-
autoAccept?: boolean | null | undefined;
|
3048
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3049
|
-
offlinePaymentTypes?: {
|
3050
|
-
name: string;
|
3051
|
-
instruction: string;
|
3052
|
-
}[] | null | undefined;
|
3053
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
3054
|
-
ignoreStock?: boolean | null | undefined;
|
3055
|
-
pickupTime?: {
|
3056
|
-
day: {
|
3057
|
-
max: number;
|
3058
|
-
min: number;
|
3059
|
-
};
|
3060
|
-
} | null | undefined;
|
3061
|
-
pickupPointConfig?: {
|
3062
|
-
restaurantEnable: boolean;
|
3063
|
-
points: {
|
3064
|
-
name: string;
|
3065
|
-
address: string;
|
3066
|
-
coordinates: number[];
|
3067
|
-
}[];
|
3068
|
-
} | null | undefined;
|
3053
|
+
terminal?: {
|
3054
|
+
ipAddress: string;
|
3069
3055
|
} | null | undefined;
|
3070
3056
|
catalogId?: string | null | undefined;
|
3057
|
+
customAttributes?: Record<string, any> | null | undefined;
|
3071
3058
|
takeaway?: {
|
3072
3059
|
catalogId?: string | null | undefined;
|
3073
3060
|
} | null | undefined;
|
@@ -3165,6 +3152,31 @@ export declare const useCoreStore: () => {
|
|
3165
3152
|
}[];
|
3166
3153
|
term: string;
|
3167
3154
|
} | null | undefined;
|
3155
|
+
pickup?: {
|
3156
|
+
catalogId?: string | null | undefined;
|
3157
|
+
autoAccept?: boolean | null | undefined;
|
3158
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3159
|
+
offlinePaymentTypes?: {
|
3160
|
+
name: string;
|
3161
|
+
instruction: string;
|
3162
|
+
}[] | null | undefined;
|
3163
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3164
|
+
ignoreStock?: boolean | null | undefined;
|
3165
|
+
pickupTime?: {
|
3166
|
+
day: {
|
3167
|
+
max: number;
|
3168
|
+
min: number;
|
3169
|
+
};
|
3170
|
+
} | null | undefined;
|
3171
|
+
pickupPointConfig?: {
|
3172
|
+
restaurantEnable: boolean;
|
3173
|
+
points: {
|
3174
|
+
name: string;
|
3175
|
+
address: string;
|
3176
|
+
coordinates: number[];
|
3177
|
+
}[];
|
3178
|
+
} | null | undefined;
|
3179
|
+
} | null | undefined;
|
3168
3180
|
dineIn?: {
|
3169
3181
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3170
3182
|
offlinePaymentTypes?: {
|
@@ -3253,9 +3265,6 @@ export declare const useCoreStore: () => {
|
|
3253
3265
|
} | null | undefined;
|
3254
3266
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
3255
3267
|
deductStock?: boolean | null | undefined;
|
3256
|
-
terminal?: {
|
3257
|
-
ipAddress: string;
|
3258
|
-
} | null | undefined;
|
3259
3268
|
eghlTerminal?: {
|
3260
3269
|
active: boolean;
|
3261
3270
|
} | null | undefined;
|
@@ -3280,6 +3289,13 @@ export declare const useCoreStore: () => {
|
|
3280
3289
|
}[];
|
3281
3290
|
lastUpdatedAt: string;
|
3282
3291
|
} | null | undefined;
|
3292
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
3293
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
3294
|
+
eInvoiceConfig?: {
|
3295
|
+
billActivatedAt?: string | null | undefined;
|
3296
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
3297
|
+
} | null | undefined;
|
3298
|
+
hideItemCode?: boolean | null | undefined;
|
3283
3299
|
_id: string;
|
3284
3300
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
3285
3301
|
printReceipt: boolean;
|
@@ -3290,31 +3306,6 @@ export declare const useCoreStore: () => {
|
|
3290
3306
|
} | null>;
|
3291
3307
|
readRestaurants: () => Promise<{
|
3292
3308
|
managable: boolean;
|
3293
|
-
pickup?: {
|
3294
|
-
catalogId?: string | null | undefined;
|
3295
|
-
autoAccept?: boolean | null | undefined;
|
3296
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3297
|
-
offlinePaymentTypes?: {
|
3298
|
-
name: string;
|
3299
|
-
instruction: string;
|
3300
|
-
}[] | null | undefined;
|
3301
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
3302
|
-
ignoreStock?: boolean | null | undefined;
|
3303
|
-
pickupTime?: {
|
3304
|
-
day: {
|
3305
|
-
max: number;
|
3306
|
-
min: number;
|
3307
|
-
};
|
3308
|
-
} | null | undefined;
|
3309
|
-
pickupPointConfig?: {
|
3310
|
-
restaurantEnable: boolean;
|
3311
|
-
points: {
|
3312
|
-
name: string;
|
3313
|
-
address: string;
|
3314
|
-
coordinates: number[];
|
3315
|
-
}[];
|
3316
|
-
} | null | undefined;
|
3317
|
-
} | null | undefined;
|
3318
3309
|
channel?: string | null | undefined;
|
3319
3310
|
machineId?: string | null | undefined;
|
3320
3311
|
catalogId?: string | null | undefined;
|
@@ -3416,6 +3407,31 @@ export declare const useCoreStore: () => {
|
|
3416
3407
|
}[];
|
3417
3408
|
term: string;
|
3418
3409
|
} | null | undefined;
|
3410
|
+
pickup?: {
|
3411
|
+
catalogId?: string | null | undefined;
|
3412
|
+
autoAccept?: boolean | null | undefined;
|
3413
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3414
|
+
offlinePaymentTypes?: {
|
3415
|
+
name: string;
|
3416
|
+
instruction: string;
|
3417
|
+
}[] | null | undefined;
|
3418
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3419
|
+
ignoreStock?: boolean | null | undefined;
|
3420
|
+
pickupTime?: {
|
3421
|
+
day: {
|
3422
|
+
max: number;
|
3423
|
+
min: number;
|
3424
|
+
};
|
3425
|
+
} | null | undefined;
|
3426
|
+
pickupPointConfig?: {
|
3427
|
+
restaurantEnable: boolean;
|
3428
|
+
points: {
|
3429
|
+
name: string;
|
3430
|
+
address: string;
|
3431
|
+
coordinates: number[];
|
3432
|
+
}[];
|
3433
|
+
} | null | undefined;
|
3434
|
+
} | null | undefined;
|
3419
3435
|
dineIn?: {
|
3420
3436
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3421
3437
|
offlinePaymentTypes?: {
|
@@ -4010,31 +4026,6 @@ export declare const useCoreStore: () => {
|
|
4010
4026
|
currentBusiness: FmpBusiness | undefined;
|
4011
4027
|
restaurants: {
|
4012
4028
|
managable: boolean;
|
4013
|
-
pickup?: {
|
4014
|
-
catalogId?: string | null | undefined;
|
4015
|
-
autoAccept?: boolean | null | undefined;
|
4016
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4017
|
-
offlinePaymentTypes?: {
|
4018
|
-
name: string;
|
4019
|
-
instruction: string;
|
4020
|
-
}[] | null | undefined;
|
4021
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
4022
|
-
ignoreStock?: boolean | null | undefined;
|
4023
|
-
pickupTime?: {
|
4024
|
-
day: {
|
4025
|
-
max: number;
|
4026
|
-
min: number;
|
4027
|
-
};
|
4028
|
-
} | null | undefined;
|
4029
|
-
pickupPointConfig?: {
|
4030
|
-
restaurantEnable: boolean;
|
4031
|
-
points: {
|
4032
|
-
name: string;
|
4033
|
-
address: string;
|
4034
|
-
coordinates: number[];
|
4035
|
-
}[];
|
4036
|
-
} | null | undefined;
|
4037
|
-
} | null | undefined;
|
4038
4029
|
channel?: string | null | undefined;
|
4039
4030
|
machineId?: string | null | undefined;
|
4040
4031
|
catalogId?: string | null | undefined;
|
@@ -4136,6 +4127,31 @@ export declare const useCoreStore: () => {
|
|
4136
4127
|
}[];
|
4137
4128
|
term: string;
|
4138
4129
|
} | null | undefined;
|
4130
|
+
pickup?: {
|
4131
|
+
catalogId?: string | null | undefined;
|
4132
|
+
autoAccept?: boolean | null | undefined;
|
4133
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4134
|
+
offlinePaymentTypes?: {
|
4135
|
+
name: string;
|
4136
|
+
instruction: string;
|
4137
|
+
}[] | null | undefined;
|
4138
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
4139
|
+
ignoreStock?: boolean | null | undefined;
|
4140
|
+
pickupTime?: {
|
4141
|
+
day: {
|
4142
|
+
max: number;
|
4143
|
+
min: number;
|
4144
|
+
};
|
4145
|
+
} | null | undefined;
|
4146
|
+
pickupPointConfig?: {
|
4147
|
+
restaurantEnable: boolean;
|
4148
|
+
points: {
|
4149
|
+
name: string;
|
4150
|
+
address: string;
|
4151
|
+
coordinates: number[];
|
4152
|
+
}[];
|
4153
|
+
} | null | undefined;
|
4154
|
+
} | null | undefined;
|
4139
4155
|
dineIn?: {
|
4140
4156
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4141
4157
|
offlinePaymentTypes?: {
|
@@ -4596,31 +4612,6 @@ export declare const useCoreStore: () => {
|
|
4596
4612
|
currentBusiness: FmpBusiness | undefined;
|
4597
4613
|
restaurants: {
|
4598
4614
|
managable: boolean;
|
4599
|
-
pickup?: {
|
4600
|
-
catalogId?: string | null | undefined;
|
4601
|
-
autoAccept?: boolean | null | undefined;
|
4602
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4603
|
-
offlinePaymentTypes?: {
|
4604
|
-
name: string;
|
4605
|
-
instruction: string;
|
4606
|
-
}[] | null | undefined;
|
4607
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
4608
|
-
ignoreStock?: boolean | null | undefined;
|
4609
|
-
pickupTime?: {
|
4610
|
-
day: {
|
4611
|
-
max: number;
|
4612
|
-
min: number;
|
4613
|
-
};
|
4614
|
-
} | null | undefined;
|
4615
|
-
pickupPointConfig?: {
|
4616
|
-
restaurantEnable: boolean;
|
4617
|
-
points: {
|
4618
|
-
name: string;
|
4619
|
-
address: string;
|
4620
|
-
coordinates: number[];
|
4621
|
-
}[];
|
4622
|
-
} | null | undefined;
|
4623
|
-
} | null | undefined;
|
4624
4615
|
channel?: string | null | undefined;
|
4625
4616
|
machineId?: string | null | undefined;
|
4626
4617
|
catalogId?: string | null | undefined;
|
@@ -4722,6 +4713,31 @@ export declare const useCoreStore: () => {
|
|
4722
4713
|
}[];
|
4723
4714
|
term: string;
|
4724
4715
|
} | null | undefined;
|
4716
|
+
pickup?: {
|
4717
|
+
catalogId?: string | null | undefined;
|
4718
|
+
autoAccept?: boolean | null | undefined;
|
4719
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4720
|
+
offlinePaymentTypes?: {
|
4721
|
+
name: string;
|
4722
|
+
instruction: string;
|
4723
|
+
}[] | null | undefined;
|
4724
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
4725
|
+
ignoreStock?: boolean | null | undefined;
|
4726
|
+
pickupTime?: {
|
4727
|
+
day: {
|
4728
|
+
max: number;
|
4729
|
+
min: number;
|
4730
|
+
};
|
4731
|
+
} | null | undefined;
|
4732
|
+
pickupPointConfig?: {
|
4733
|
+
restaurantEnable: boolean;
|
4734
|
+
points: {
|
4735
|
+
name: string;
|
4736
|
+
address: string;
|
4737
|
+
coordinates: number[];
|
4738
|
+
}[];
|
4739
|
+
} | null | undefined;
|
4740
|
+
} | null | undefined;
|
4725
4741
|
dineIn?: {
|
4726
4742
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4727
4743
|
offlinePaymentTypes?: {
|
@@ -5291,31 +5307,6 @@ export declare const useCoreStore: () => {
|
|
5291
5307
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
5292
5308
|
restaurants: import("vue").Ref<{
|
5293
5309
|
managable: boolean;
|
5294
|
-
pickup?: {
|
5295
|
-
catalogId?: string | null | undefined;
|
5296
|
-
autoAccept?: boolean | null | undefined;
|
5297
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5298
|
-
offlinePaymentTypes?: {
|
5299
|
-
name: string;
|
5300
|
-
instruction: string;
|
5301
|
-
}[] | null | undefined;
|
5302
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
5303
|
-
ignoreStock?: boolean | null | undefined;
|
5304
|
-
pickupTime?: {
|
5305
|
-
day: {
|
5306
|
-
max: number;
|
5307
|
-
min: number;
|
5308
|
-
};
|
5309
|
-
} | null | undefined;
|
5310
|
-
pickupPointConfig?: {
|
5311
|
-
restaurantEnable: boolean;
|
5312
|
-
points: {
|
5313
|
-
name: string;
|
5314
|
-
address: string;
|
5315
|
-
coordinates: number[];
|
5316
|
-
}[];
|
5317
|
-
} | null | undefined;
|
5318
|
-
} | null | undefined;
|
5319
5310
|
channel?: string | null | undefined;
|
5320
5311
|
machineId?: string | null | undefined;
|
5321
5312
|
catalogId?: string | null | undefined;
|
@@ -5417,6 +5408,31 @@ export declare const useCoreStore: () => {
|
|
5417
5408
|
}[];
|
5418
5409
|
term: string;
|
5419
5410
|
} | null | undefined;
|
5411
|
+
pickup?: {
|
5412
|
+
catalogId?: string | null | undefined;
|
5413
|
+
autoAccept?: boolean | null | undefined;
|
5414
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5415
|
+
offlinePaymentTypes?: {
|
5416
|
+
name: string;
|
5417
|
+
instruction: string;
|
5418
|
+
}[] | null | undefined;
|
5419
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
5420
|
+
ignoreStock?: boolean | null | undefined;
|
5421
|
+
pickupTime?: {
|
5422
|
+
day: {
|
5423
|
+
max: number;
|
5424
|
+
min: number;
|
5425
|
+
};
|
5426
|
+
} | null | undefined;
|
5427
|
+
pickupPointConfig?: {
|
5428
|
+
restaurantEnable: boolean;
|
5429
|
+
points: {
|
5430
|
+
name: string;
|
5431
|
+
address: string;
|
5432
|
+
coordinates: number[];
|
5433
|
+
}[];
|
5434
|
+
} | null | undefined;
|
5435
|
+
} | null | undefined;
|
5420
5436
|
dineIn?: {
|
5421
5437
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5422
5438
|
offlinePaymentTypes?: {
|
@@ -5671,31 +5687,6 @@ export declare const useCoreStore: () => {
|
|
5671
5687
|
};
|
5672
5688
|
}[], FmpRestaurant[] | {
|
5673
5689
|
managable: boolean;
|
5674
|
-
pickup?: {
|
5675
|
-
catalogId?: string | null | undefined;
|
5676
|
-
autoAccept?: boolean | null | undefined;
|
5677
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5678
|
-
offlinePaymentTypes?: {
|
5679
|
-
name: string;
|
5680
|
-
instruction: string;
|
5681
|
-
}[] | null | undefined;
|
5682
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
5683
|
-
ignoreStock?: boolean | null | undefined;
|
5684
|
-
pickupTime?: {
|
5685
|
-
day: {
|
5686
|
-
max: number;
|
5687
|
-
min: number;
|
5688
|
-
};
|
5689
|
-
} | null | undefined;
|
5690
|
-
pickupPointConfig?: {
|
5691
|
-
restaurantEnable: boolean;
|
5692
|
-
points: {
|
5693
|
-
name: string;
|
5694
|
-
address: string;
|
5695
|
-
coordinates: number[];
|
5696
|
-
}[];
|
5697
|
-
} | null | undefined;
|
5698
|
-
} | null | undefined;
|
5699
5690
|
channel?: string | null | undefined;
|
5700
5691
|
machineId?: string | null | undefined;
|
5701
5692
|
catalogId?: string | null | undefined;
|
@@ -5797,6 +5788,31 @@ export declare const useCoreStore: () => {
|
|
5797
5788
|
}[];
|
5798
5789
|
term: string;
|
5799
5790
|
} | null | undefined;
|
5791
|
+
pickup?: {
|
5792
|
+
catalogId?: string | null | undefined;
|
5793
|
+
autoAccept?: boolean | null | undefined;
|
5794
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5795
|
+
offlinePaymentTypes?: {
|
5796
|
+
name: string;
|
5797
|
+
instruction: string;
|
5798
|
+
}[] | null | undefined;
|
5799
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
5800
|
+
ignoreStock?: boolean | null | undefined;
|
5801
|
+
pickupTime?: {
|
5802
|
+
day: {
|
5803
|
+
max: number;
|
5804
|
+
min: number;
|
5805
|
+
};
|
5806
|
+
} | null | undefined;
|
5807
|
+
pickupPointConfig?: {
|
5808
|
+
restaurantEnable: boolean;
|
5809
|
+
points: {
|
5810
|
+
name: string;
|
5811
|
+
address: string;
|
5812
|
+
coordinates: number[];
|
5813
|
+
}[];
|
5814
|
+
} | null | undefined;
|
5815
|
+
} | null | undefined;
|
5800
5816
|
dineIn?: {
|
5801
5817
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5802
5818
|
offlinePaymentTypes?: {
|
@@ -6052,32 +6068,11 @@ export declare const useCoreStore: () => {
|
|
6052
6068
|
}[]>;
|
6053
6069
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
6054
6070
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
6055
|
-
|
6056
|
-
|
6057
|
-
autoAccept?: boolean | null | undefined;
|
6058
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6059
|
-
offlinePaymentTypes?: {
|
6060
|
-
name: string;
|
6061
|
-
instruction: string;
|
6062
|
-
}[] | null | undefined;
|
6063
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
6064
|
-
ignoreStock?: boolean | null | undefined;
|
6065
|
-
pickupTime?: {
|
6066
|
-
day: {
|
6067
|
-
max: number;
|
6068
|
-
min: number;
|
6069
|
-
};
|
6070
|
-
} | null | undefined;
|
6071
|
-
pickupPointConfig?: {
|
6072
|
-
restaurantEnable: boolean;
|
6073
|
-
points: {
|
6074
|
-
name: string;
|
6075
|
-
address: string;
|
6076
|
-
coordinates: number[];
|
6077
|
-
}[];
|
6078
|
-
} | null | undefined;
|
6071
|
+
terminal?: {
|
6072
|
+
ipAddress: string;
|
6079
6073
|
} | null | undefined;
|
6080
6074
|
catalogId?: string | null | undefined;
|
6075
|
+
customAttributes?: Record<string, any> | null | undefined;
|
6081
6076
|
takeaway?: {
|
6082
6077
|
catalogId?: string | null | undefined;
|
6083
6078
|
} | null | undefined;
|
@@ -6175,6 +6170,31 @@ export declare const useCoreStore: () => {
|
|
6175
6170
|
}[];
|
6176
6171
|
term: string;
|
6177
6172
|
} | null | undefined;
|
6173
|
+
pickup?: {
|
6174
|
+
catalogId?: string | null | undefined;
|
6175
|
+
autoAccept?: boolean | null | undefined;
|
6176
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6177
|
+
offlinePaymentTypes?: {
|
6178
|
+
name: string;
|
6179
|
+
instruction: string;
|
6180
|
+
}[] | null | undefined;
|
6181
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
6182
|
+
ignoreStock?: boolean | null | undefined;
|
6183
|
+
pickupTime?: {
|
6184
|
+
day: {
|
6185
|
+
max: number;
|
6186
|
+
min: number;
|
6187
|
+
};
|
6188
|
+
} | null | undefined;
|
6189
|
+
pickupPointConfig?: {
|
6190
|
+
restaurantEnable: boolean;
|
6191
|
+
points: {
|
6192
|
+
name: string;
|
6193
|
+
address: string;
|
6194
|
+
coordinates: number[];
|
6195
|
+
}[];
|
6196
|
+
} | null | undefined;
|
6197
|
+
} | null | undefined;
|
6178
6198
|
dineIn?: {
|
6179
6199
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6180
6200
|
offlinePaymentTypes?: {
|
@@ -6263,9 +6283,6 @@ export declare const useCoreStore: () => {
|
|
6263
6283
|
} | null | undefined;
|
6264
6284
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
6265
6285
|
deductStock?: boolean | null | undefined;
|
6266
|
-
terminal?: {
|
6267
|
-
ipAddress: string;
|
6268
|
-
} | null | undefined;
|
6269
6286
|
eghlTerminal?: {
|
6270
6287
|
active: boolean;
|
6271
6288
|
} | null | undefined;
|
@@ -6290,6 +6307,13 @@ export declare const useCoreStore: () => {
|
|
6290
6307
|
}[];
|
6291
6308
|
lastUpdatedAt: string;
|
6292
6309
|
} | null | undefined;
|
6310
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
6311
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
6312
|
+
eInvoiceConfig?: {
|
6313
|
+
billActivatedAt?: string | null | undefined;
|
6314
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
6315
|
+
} | null | undefined;
|
6316
|
+
hideItemCode?: boolean | null | undefined;
|
6293
6317
|
_id: string;
|
6294
6318
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
6295
6319
|
printReceipt: boolean;
|
@@ -6300,31 +6324,6 @@ export declare const useCoreStore: () => {
|
|
6300
6324
|
} | null>;
|
6301
6325
|
readRestaurants: () => Promise<{
|
6302
6326
|
managable: boolean;
|
6303
|
-
pickup?: {
|
6304
|
-
catalogId?: string | null | undefined;
|
6305
|
-
autoAccept?: boolean | null | undefined;
|
6306
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6307
|
-
offlinePaymentTypes?: {
|
6308
|
-
name: string;
|
6309
|
-
instruction: string;
|
6310
|
-
}[] | null | undefined;
|
6311
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
6312
|
-
ignoreStock?: boolean | null | undefined;
|
6313
|
-
pickupTime?: {
|
6314
|
-
day: {
|
6315
|
-
max: number;
|
6316
|
-
min: number;
|
6317
|
-
};
|
6318
|
-
} | null | undefined;
|
6319
|
-
pickupPointConfig?: {
|
6320
|
-
restaurantEnable: boolean;
|
6321
|
-
points: {
|
6322
|
-
name: string;
|
6323
|
-
address: string;
|
6324
|
-
coordinates: number[];
|
6325
|
-
}[];
|
6326
|
-
} | null | undefined;
|
6327
|
-
} | null | undefined;
|
6328
6327
|
channel?: string | null | undefined;
|
6329
6328
|
machineId?: string | null | undefined;
|
6330
6329
|
catalogId?: string | null | undefined;
|
@@ -6426,6 +6425,31 @@ export declare const useCoreStore: () => {
|
|
6426
6425
|
}[];
|
6427
6426
|
term: string;
|
6428
6427
|
} | null | undefined;
|
6428
|
+
pickup?: {
|
6429
|
+
catalogId?: string | null | undefined;
|
6430
|
+
autoAccept?: boolean | null | undefined;
|
6431
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6432
|
+
offlinePaymentTypes?: {
|
6433
|
+
name: string;
|
6434
|
+
instruction: string;
|
6435
|
+
}[] | null | undefined;
|
6436
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
6437
|
+
ignoreStock?: boolean | null | undefined;
|
6438
|
+
pickupTime?: {
|
6439
|
+
day: {
|
6440
|
+
max: number;
|
6441
|
+
min: number;
|
6442
|
+
};
|
6443
|
+
} | null | undefined;
|
6444
|
+
pickupPointConfig?: {
|
6445
|
+
restaurantEnable: boolean;
|
6446
|
+
points: {
|
6447
|
+
name: string;
|
6448
|
+
address: string;
|
6449
|
+
coordinates: number[];
|
6450
|
+
}[];
|
6451
|
+
} | null | undefined;
|
6452
|
+
} | null | undefined;
|
6429
6453
|
dineIn?: {
|
6430
6454
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6431
6455
|
offlinePaymentTypes?: {
|
@@ -7130,31 +7154,6 @@ export declare const useCoreStore: () => {
|
|
7130
7154
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
7131
7155
|
restaurants: import("vue").Ref<{
|
7132
7156
|
managable: boolean;
|
7133
|
-
pickup?: {
|
7134
|
-
catalogId?: string | null | undefined;
|
7135
|
-
autoAccept?: boolean | null | undefined;
|
7136
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7137
|
-
offlinePaymentTypes?: {
|
7138
|
-
name: string;
|
7139
|
-
instruction: string;
|
7140
|
-
}[] | null | undefined;
|
7141
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7142
|
-
ignoreStock?: boolean | null | undefined;
|
7143
|
-
pickupTime?: {
|
7144
|
-
day: {
|
7145
|
-
max: number;
|
7146
|
-
min: number;
|
7147
|
-
};
|
7148
|
-
} | null | undefined;
|
7149
|
-
pickupPointConfig?: {
|
7150
|
-
restaurantEnable: boolean;
|
7151
|
-
points: {
|
7152
|
-
name: string;
|
7153
|
-
address: string;
|
7154
|
-
coordinates: number[];
|
7155
|
-
}[];
|
7156
|
-
} | null | undefined;
|
7157
|
-
} | null | undefined;
|
7158
7157
|
channel?: string | null | undefined;
|
7159
7158
|
machineId?: string | null | undefined;
|
7160
7159
|
catalogId?: string | null | undefined;
|
@@ -7256,6 +7255,31 @@ export declare const useCoreStore: () => {
|
|
7256
7255
|
}[];
|
7257
7256
|
term: string;
|
7258
7257
|
} | null | undefined;
|
7258
|
+
pickup?: {
|
7259
|
+
catalogId?: string | null | undefined;
|
7260
|
+
autoAccept?: boolean | null | undefined;
|
7261
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7262
|
+
offlinePaymentTypes?: {
|
7263
|
+
name: string;
|
7264
|
+
instruction: string;
|
7265
|
+
}[] | null | undefined;
|
7266
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7267
|
+
ignoreStock?: boolean | null | undefined;
|
7268
|
+
pickupTime?: {
|
7269
|
+
day: {
|
7270
|
+
max: number;
|
7271
|
+
min: number;
|
7272
|
+
};
|
7273
|
+
} | null | undefined;
|
7274
|
+
pickupPointConfig?: {
|
7275
|
+
restaurantEnable: boolean;
|
7276
|
+
points: {
|
7277
|
+
name: string;
|
7278
|
+
address: string;
|
7279
|
+
coordinates: number[];
|
7280
|
+
}[];
|
7281
|
+
} | null | undefined;
|
7282
|
+
} | null | undefined;
|
7259
7283
|
dineIn?: {
|
7260
7284
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7261
7285
|
offlinePaymentTypes?: {
|
@@ -7510,31 +7534,6 @@ export declare const useCoreStore: () => {
|
|
7510
7534
|
};
|
7511
7535
|
}[], FmpRestaurant[] | {
|
7512
7536
|
managable: boolean;
|
7513
|
-
pickup?: {
|
7514
|
-
catalogId?: string | null | undefined;
|
7515
|
-
autoAccept?: boolean | null | undefined;
|
7516
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7517
|
-
offlinePaymentTypes?: {
|
7518
|
-
name: string;
|
7519
|
-
instruction: string;
|
7520
|
-
}[] | null | undefined;
|
7521
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7522
|
-
ignoreStock?: boolean | null | undefined;
|
7523
|
-
pickupTime?: {
|
7524
|
-
day: {
|
7525
|
-
max: number;
|
7526
|
-
min: number;
|
7527
|
-
};
|
7528
|
-
} | null | undefined;
|
7529
|
-
pickupPointConfig?: {
|
7530
|
-
restaurantEnable: boolean;
|
7531
|
-
points: {
|
7532
|
-
name: string;
|
7533
|
-
address: string;
|
7534
|
-
coordinates: number[];
|
7535
|
-
}[];
|
7536
|
-
} | null | undefined;
|
7537
|
-
} | null | undefined;
|
7538
7537
|
channel?: string | null | undefined;
|
7539
7538
|
machineId?: string | null | undefined;
|
7540
7539
|
catalogId?: string | null | undefined;
|
@@ -7636,6 +7635,31 @@ export declare const useCoreStore: () => {
|
|
7636
7635
|
}[];
|
7637
7636
|
term: string;
|
7638
7637
|
} | null | undefined;
|
7638
|
+
pickup?: {
|
7639
|
+
catalogId?: string | null | undefined;
|
7640
|
+
autoAccept?: boolean | null | undefined;
|
7641
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7642
|
+
offlinePaymentTypes?: {
|
7643
|
+
name: string;
|
7644
|
+
instruction: string;
|
7645
|
+
}[] | null | undefined;
|
7646
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7647
|
+
ignoreStock?: boolean | null | undefined;
|
7648
|
+
pickupTime?: {
|
7649
|
+
day: {
|
7650
|
+
max: number;
|
7651
|
+
min: number;
|
7652
|
+
};
|
7653
|
+
} | null | undefined;
|
7654
|
+
pickupPointConfig?: {
|
7655
|
+
restaurantEnable: boolean;
|
7656
|
+
points: {
|
7657
|
+
name: string;
|
7658
|
+
address: string;
|
7659
|
+
coordinates: number[];
|
7660
|
+
}[];
|
7661
|
+
} | null | undefined;
|
7662
|
+
} | null | undefined;
|
7639
7663
|
dineIn?: {
|
7640
7664
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7641
7665
|
offlinePaymentTypes?: {
|
@@ -7891,32 +7915,11 @@ export declare const useCoreStore: () => {
|
|
7891
7915
|
}[]>;
|
7892
7916
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
7893
7917
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
7894
|
-
|
7895
|
-
|
7896
|
-
autoAccept?: boolean | null | undefined;
|
7897
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7898
|
-
offlinePaymentTypes?: {
|
7899
|
-
name: string;
|
7900
|
-
instruction: string;
|
7901
|
-
}[] | null | undefined;
|
7902
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7903
|
-
ignoreStock?: boolean | null | undefined;
|
7904
|
-
pickupTime?: {
|
7905
|
-
day: {
|
7906
|
-
max: number;
|
7907
|
-
min: number;
|
7908
|
-
};
|
7909
|
-
} | null | undefined;
|
7910
|
-
pickupPointConfig?: {
|
7911
|
-
restaurantEnable: boolean;
|
7912
|
-
points: {
|
7913
|
-
name: string;
|
7914
|
-
address: string;
|
7915
|
-
coordinates: number[];
|
7916
|
-
}[];
|
7917
|
-
} | null | undefined;
|
7918
|
+
terminal?: {
|
7919
|
+
ipAddress: string;
|
7918
7920
|
} | null | undefined;
|
7919
7921
|
catalogId?: string | null | undefined;
|
7922
|
+
customAttributes?: Record<string, any> | null | undefined;
|
7920
7923
|
takeaway?: {
|
7921
7924
|
catalogId?: string | null | undefined;
|
7922
7925
|
} | null | undefined;
|
@@ -8014,6 +8017,31 @@ export declare const useCoreStore: () => {
|
|
8014
8017
|
}[];
|
8015
8018
|
term: string;
|
8016
8019
|
} | null | undefined;
|
8020
|
+
pickup?: {
|
8021
|
+
catalogId?: string | null | undefined;
|
8022
|
+
autoAccept?: boolean | null | undefined;
|
8023
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8024
|
+
offlinePaymentTypes?: {
|
8025
|
+
name: string;
|
8026
|
+
instruction: string;
|
8027
|
+
}[] | null | undefined;
|
8028
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8029
|
+
ignoreStock?: boolean | null | undefined;
|
8030
|
+
pickupTime?: {
|
8031
|
+
day: {
|
8032
|
+
max: number;
|
8033
|
+
min: number;
|
8034
|
+
};
|
8035
|
+
} | null | undefined;
|
8036
|
+
pickupPointConfig?: {
|
8037
|
+
restaurantEnable: boolean;
|
8038
|
+
points: {
|
8039
|
+
name: string;
|
8040
|
+
address: string;
|
8041
|
+
coordinates: number[];
|
8042
|
+
}[];
|
8043
|
+
} | null | undefined;
|
8044
|
+
} | null | undefined;
|
8017
8045
|
dineIn?: {
|
8018
8046
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8019
8047
|
offlinePaymentTypes?: {
|
@@ -8102,9 +8130,6 @@ export declare const useCoreStore: () => {
|
|
8102
8130
|
} | null | undefined;
|
8103
8131
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
8104
8132
|
deductStock?: boolean | null | undefined;
|
8105
|
-
terminal?: {
|
8106
|
-
ipAddress: string;
|
8107
|
-
} | null | undefined;
|
8108
8133
|
eghlTerminal?: {
|
8109
8134
|
active: boolean;
|
8110
8135
|
} | null | undefined;
|
@@ -8129,6 +8154,13 @@ export declare const useCoreStore: () => {
|
|
8129
8154
|
}[];
|
8130
8155
|
lastUpdatedAt: string;
|
8131
8156
|
} | null | undefined;
|
8157
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
8158
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
8159
|
+
eInvoiceConfig?: {
|
8160
|
+
billActivatedAt?: string | null | undefined;
|
8161
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
8162
|
+
} | null | undefined;
|
8163
|
+
hideItemCode?: boolean | null | undefined;
|
8132
8164
|
_id: string;
|
8133
8165
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
8134
8166
|
printReceipt: boolean;
|
@@ -8139,31 +8171,6 @@ export declare const useCoreStore: () => {
|
|
8139
8171
|
} | null>;
|
8140
8172
|
readRestaurants: () => Promise<{
|
8141
8173
|
managable: boolean;
|
8142
|
-
pickup?: {
|
8143
|
-
catalogId?: string | null | undefined;
|
8144
|
-
autoAccept?: boolean | null | undefined;
|
8145
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8146
|
-
offlinePaymentTypes?: {
|
8147
|
-
name: string;
|
8148
|
-
instruction: string;
|
8149
|
-
}[] | null | undefined;
|
8150
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
8151
|
-
ignoreStock?: boolean | null | undefined;
|
8152
|
-
pickupTime?: {
|
8153
|
-
day: {
|
8154
|
-
max: number;
|
8155
|
-
min: number;
|
8156
|
-
};
|
8157
|
-
} | null | undefined;
|
8158
|
-
pickupPointConfig?: {
|
8159
|
-
restaurantEnable: boolean;
|
8160
|
-
points: {
|
8161
|
-
name: string;
|
8162
|
-
address: string;
|
8163
|
-
coordinates: number[];
|
8164
|
-
}[];
|
8165
|
-
} | null | undefined;
|
8166
|
-
} | null | undefined;
|
8167
8174
|
channel?: string | null | undefined;
|
8168
8175
|
machineId?: string | null | undefined;
|
8169
8176
|
catalogId?: string | null | undefined;
|
@@ -8265,6 +8272,31 @@ export declare const useCoreStore: () => {
|
|
8265
8272
|
}[];
|
8266
8273
|
term: string;
|
8267
8274
|
} | null | undefined;
|
8275
|
+
pickup?: {
|
8276
|
+
catalogId?: string | null | undefined;
|
8277
|
+
autoAccept?: boolean | null | undefined;
|
8278
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8279
|
+
offlinePaymentTypes?: {
|
8280
|
+
name: string;
|
8281
|
+
instruction: string;
|
8282
|
+
}[] | null | undefined;
|
8283
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8284
|
+
ignoreStock?: boolean | null | undefined;
|
8285
|
+
pickupTime?: {
|
8286
|
+
day: {
|
8287
|
+
max: number;
|
8288
|
+
min: number;
|
8289
|
+
};
|
8290
|
+
} | null | undefined;
|
8291
|
+
pickupPointConfig?: {
|
8292
|
+
restaurantEnable: boolean;
|
8293
|
+
points: {
|
8294
|
+
name: string;
|
8295
|
+
address: string;
|
8296
|
+
coordinates: number[];
|
8297
|
+
}[];
|
8298
|
+
} | null | undefined;
|
8299
|
+
} | null | undefined;
|
8268
8300
|
dineIn?: {
|
8269
8301
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8270
8302
|
offlinePaymentTypes?: {
|
@@ -8966,31 +8998,6 @@ export declare const useCoreStore: () => {
|
|
8966
8998
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
8967
8999
|
restaurants: import("vue").Ref<{
|
8968
9000
|
managable: boolean;
|
8969
|
-
pickup?: {
|
8970
|
-
catalogId?: string | null | undefined;
|
8971
|
-
autoAccept?: boolean | null | undefined;
|
8972
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8973
|
-
offlinePaymentTypes?: {
|
8974
|
-
name: string;
|
8975
|
-
instruction: string;
|
8976
|
-
}[] | null | undefined;
|
8977
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
8978
|
-
ignoreStock?: boolean | null | undefined;
|
8979
|
-
pickupTime?: {
|
8980
|
-
day: {
|
8981
|
-
max: number;
|
8982
|
-
min: number;
|
8983
|
-
};
|
8984
|
-
} | null | undefined;
|
8985
|
-
pickupPointConfig?: {
|
8986
|
-
restaurantEnable: boolean;
|
8987
|
-
points: {
|
8988
|
-
name: string;
|
8989
|
-
address: string;
|
8990
|
-
coordinates: number[];
|
8991
|
-
}[];
|
8992
|
-
} | null | undefined;
|
8993
|
-
} | null | undefined;
|
8994
9001
|
channel?: string | null | undefined;
|
8995
9002
|
machineId?: string | null | undefined;
|
8996
9003
|
catalogId?: string | null | undefined;
|
@@ -9092,6 +9099,31 @@ export declare const useCoreStore: () => {
|
|
9092
9099
|
}[];
|
9093
9100
|
term: string;
|
9094
9101
|
} | null | undefined;
|
9102
|
+
pickup?: {
|
9103
|
+
catalogId?: string | null | undefined;
|
9104
|
+
autoAccept?: boolean | null | undefined;
|
9105
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9106
|
+
offlinePaymentTypes?: {
|
9107
|
+
name: string;
|
9108
|
+
instruction: string;
|
9109
|
+
}[] | null | undefined;
|
9110
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9111
|
+
ignoreStock?: boolean | null | undefined;
|
9112
|
+
pickupTime?: {
|
9113
|
+
day: {
|
9114
|
+
max: number;
|
9115
|
+
min: number;
|
9116
|
+
};
|
9117
|
+
} | null | undefined;
|
9118
|
+
pickupPointConfig?: {
|
9119
|
+
restaurantEnable: boolean;
|
9120
|
+
points: {
|
9121
|
+
name: string;
|
9122
|
+
address: string;
|
9123
|
+
coordinates: number[];
|
9124
|
+
}[];
|
9125
|
+
} | null | undefined;
|
9126
|
+
} | null | undefined;
|
9095
9127
|
dineIn?: {
|
9096
9128
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9097
9129
|
offlinePaymentTypes?: {
|
@@ -9346,31 +9378,6 @@ export declare const useCoreStore: () => {
|
|
9346
9378
|
};
|
9347
9379
|
}[], FmpRestaurant[] | {
|
9348
9380
|
managable: boolean;
|
9349
|
-
pickup?: {
|
9350
|
-
catalogId?: string | null | undefined;
|
9351
|
-
autoAccept?: boolean | null | undefined;
|
9352
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9353
|
-
offlinePaymentTypes?: {
|
9354
|
-
name: string;
|
9355
|
-
instruction: string;
|
9356
|
-
}[] | null | undefined;
|
9357
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
9358
|
-
ignoreStock?: boolean | null | undefined;
|
9359
|
-
pickupTime?: {
|
9360
|
-
day: {
|
9361
|
-
max: number;
|
9362
|
-
min: number;
|
9363
|
-
};
|
9364
|
-
} | null | undefined;
|
9365
|
-
pickupPointConfig?: {
|
9366
|
-
restaurantEnable: boolean;
|
9367
|
-
points: {
|
9368
|
-
name: string;
|
9369
|
-
address: string;
|
9370
|
-
coordinates: number[];
|
9371
|
-
}[];
|
9372
|
-
} | null | undefined;
|
9373
|
-
} | null | undefined;
|
9374
9381
|
channel?: string | null | undefined;
|
9375
9382
|
machineId?: string | null | undefined;
|
9376
9383
|
catalogId?: string | null | undefined;
|
@@ -9472,6 +9479,31 @@ export declare const useCoreStore: () => {
|
|
9472
9479
|
}[];
|
9473
9480
|
term: string;
|
9474
9481
|
} | null | undefined;
|
9482
|
+
pickup?: {
|
9483
|
+
catalogId?: string | null | undefined;
|
9484
|
+
autoAccept?: boolean | null | undefined;
|
9485
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9486
|
+
offlinePaymentTypes?: {
|
9487
|
+
name: string;
|
9488
|
+
instruction: string;
|
9489
|
+
}[] | null | undefined;
|
9490
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9491
|
+
ignoreStock?: boolean | null | undefined;
|
9492
|
+
pickupTime?: {
|
9493
|
+
day: {
|
9494
|
+
max: number;
|
9495
|
+
min: number;
|
9496
|
+
};
|
9497
|
+
} | null | undefined;
|
9498
|
+
pickupPointConfig?: {
|
9499
|
+
restaurantEnable: boolean;
|
9500
|
+
points: {
|
9501
|
+
name: string;
|
9502
|
+
address: string;
|
9503
|
+
coordinates: number[];
|
9504
|
+
}[];
|
9505
|
+
} | null | undefined;
|
9506
|
+
} | null | undefined;
|
9475
9507
|
dineIn?: {
|
9476
9508
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9477
9509
|
offlinePaymentTypes?: {
|
@@ -9727,32 +9759,11 @@ export declare const useCoreStore: () => {
|
|
9727
9759
|
}[]>;
|
9728
9760
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
9729
9761
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
9730
|
-
|
9731
|
-
|
9732
|
-
autoAccept?: boolean | null | undefined;
|
9733
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9734
|
-
offlinePaymentTypes?: {
|
9735
|
-
name: string;
|
9736
|
-
instruction: string;
|
9737
|
-
}[] | null | undefined;
|
9738
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
9739
|
-
ignoreStock?: boolean | null | undefined;
|
9740
|
-
pickupTime?: {
|
9741
|
-
day: {
|
9742
|
-
max: number;
|
9743
|
-
min: number;
|
9744
|
-
};
|
9745
|
-
} | null | undefined;
|
9746
|
-
pickupPointConfig?: {
|
9747
|
-
restaurantEnable: boolean;
|
9748
|
-
points: {
|
9749
|
-
name: string;
|
9750
|
-
address: string;
|
9751
|
-
coordinates: number[];
|
9752
|
-
}[];
|
9753
|
-
} | null | undefined;
|
9762
|
+
terminal?: {
|
9763
|
+
ipAddress: string;
|
9754
9764
|
} | null | undefined;
|
9755
9765
|
catalogId?: string | null | undefined;
|
9766
|
+
customAttributes?: Record<string, any> | null | undefined;
|
9756
9767
|
takeaway?: {
|
9757
9768
|
catalogId?: string | null | undefined;
|
9758
9769
|
} | null | undefined;
|
@@ -9850,6 +9861,31 @@ export declare const useCoreStore: () => {
|
|
9850
9861
|
}[];
|
9851
9862
|
term: string;
|
9852
9863
|
} | null | undefined;
|
9864
|
+
pickup?: {
|
9865
|
+
catalogId?: string | null | undefined;
|
9866
|
+
autoAccept?: boolean | null | undefined;
|
9867
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9868
|
+
offlinePaymentTypes?: {
|
9869
|
+
name: string;
|
9870
|
+
instruction: string;
|
9871
|
+
}[] | null | undefined;
|
9872
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9873
|
+
ignoreStock?: boolean | null | undefined;
|
9874
|
+
pickupTime?: {
|
9875
|
+
day: {
|
9876
|
+
max: number;
|
9877
|
+
min: number;
|
9878
|
+
};
|
9879
|
+
} | null | undefined;
|
9880
|
+
pickupPointConfig?: {
|
9881
|
+
restaurantEnable: boolean;
|
9882
|
+
points: {
|
9883
|
+
name: string;
|
9884
|
+
address: string;
|
9885
|
+
coordinates: number[];
|
9886
|
+
}[];
|
9887
|
+
} | null | undefined;
|
9888
|
+
} | null | undefined;
|
9853
9889
|
dineIn?: {
|
9854
9890
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9855
9891
|
offlinePaymentTypes?: {
|
@@ -9938,9 +9974,6 @@ export declare const useCoreStore: () => {
|
|
9938
9974
|
} | null | undefined;
|
9939
9975
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
9940
9976
|
deductStock?: boolean | null | undefined;
|
9941
|
-
terminal?: {
|
9942
|
-
ipAddress: string;
|
9943
|
-
} | null | undefined;
|
9944
9977
|
eghlTerminal?: {
|
9945
9978
|
active: boolean;
|
9946
9979
|
} | null | undefined;
|
@@ -9965,6 +9998,13 @@ export declare const useCoreStore: () => {
|
|
9965
9998
|
}[];
|
9966
9999
|
lastUpdatedAt: string;
|
9967
10000
|
} | null | undefined;
|
10001
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
10002
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
10003
|
+
eInvoiceConfig?: {
|
10004
|
+
billActivatedAt?: string | null | undefined;
|
10005
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
10006
|
+
} | null | undefined;
|
10007
|
+
hideItemCode?: boolean | null | undefined;
|
9968
10008
|
_id: string;
|
9969
10009
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
9970
10010
|
printReceipt: boolean;
|
@@ -9975,31 +10015,6 @@ export declare const useCoreStore: () => {
|
|
9975
10015
|
} | null>;
|
9976
10016
|
readRestaurants: () => Promise<{
|
9977
10017
|
managable: boolean;
|
9978
|
-
pickup?: {
|
9979
|
-
catalogId?: string | null | undefined;
|
9980
|
-
autoAccept?: boolean | null | undefined;
|
9981
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9982
|
-
offlinePaymentTypes?: {
|
9983
|
-
name: string;
|
9984
|
-
instruction: string;
|
9985
|
-
}[] | null | undefined;
|
9986
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
9987
|
-
ignoreStock?: boolean | null | undefined;
|
9988
|
-
pickupTime?: {
|
9989
|
-
day: {
|
9990
|
-
max: number;
|
9991
|
-
min: number;
|
9992
|
-
};
|
9993
|
-
} | null | undefined;
|
9994
|
-
pickupPointConfig?: {
|
9995
|
-
restaurantEnable: boolean;
|
9996
|
-
points: {
|
9997
|
-
name: string;
|
9998
|
-
address: string;
|
9999
|
-
coordinates: number[];
|
10000
|
-
}[];
|
10001
|
-
} | null | undefined;
|
10002
|
-
} | null | undefined;
|
10003
10018
|
channel?: string | null | undefined;
|
10004
10019
|
machineId?: string | null | undefined;
|
10005
10020
|
catalogId?: string | null | undefined;
|
@@ -10101,6 +10116,31 @@ export declare const useCoreStore: () => {
|
|
10101
10116
|
}[];
|
10102
10117
|
term: string;
|
10103
10118
|
} | null | undefined;
|
10119
|
+
pickup?: {
|
10120
|
+
catalogId?: string | null | undefined;
|
10121
|
+
autoAccept?: boolean | null | undefined;
|
10122
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10123
|
+
offlinePaymentTypes?: {
|
10124
|
+
name: string;
|
10125
|
+
instruction: string;
|
10126
|
+
}[] | null | undefined;
|
10127
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10128
|
+
ignoreStock?: boolean | null | undefined;
|
10129
|
+
pickupTime?: {
|
10130
|
+
day: {
|
10131
|
+
max: number;
|
10132
|
+
min: number;
|
10133
|
+
};
|
10134
|
+
} | null | undefined;
|
10135
|
+
pickupPointConfig?: {
|
10136
|
+
restaurantEnable: boolean;
|
10137
|
+
points: {
|
10138
|
+
name: string;
|
10139
|
+
address: string;
|
10140
|
+
coordinates: number[];
|
10141
|
+
}[];
|
10142
|
+
} | null | undefined;
|
10143
|
+
} | null | undefined;
|
10104
10144
|
dineIn?: {
|
10105
10145
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10106
10146
|
offlinePaymentTypes?: {
|
@@ -10802,31 +10842,6 @@ export declare const useCoreStore: () => {
|
|
10802
10842
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
10803
10843
|
restaurants: import("vue").Ref<{
|
10804
10844
|
managable: boolean;
|
10805
|
-
pickup?: {
|
10806
|
-
catalogId?: string | null | undefined;
|
10807
|
-
autoAccept?: boolean | null | undefined;
|
10808
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10809
|
-
offlinePaymentTypes?: {
|
10810
|
-
name: string;
|
10811
|
-
instruction: string;
|
10812
|
-
}[] | null | undefined;
|
10813
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
10814
|
-
ignoreStock?: boolean | null | undefined;
|
10815
|
-
pickupTime?: {
|
10816
|
-
day: {
|
10817
|
-
max: number;
|
10818
|
-
min: number;
|
10819
|
-
};
|
10820
|
-
} | null | undefined;
|
10821
|
-
pickupPointConfig?: {
|
10822
|
-
restaurantEnable: boolean;
|
10823
|
-
points: {
|
10824
|
-
name: string;
|
10825
|
-
address: string;
|
10826
|
-
coordinates: number[];
|
10827
|
-
}[];
|
10828
|
-
} | null | undefined;
|
10829
|
-
} | null | undefined;
|
10830
10845
|
channel?: string | null | undefined;
|
10831
10846
|
machineId?: string | null | undefined;
|
10832
10847
|
catalogId?: string | null | undefined;
|
@@ -10928,6 +10943,31 @@ export declare const useCoreStore: () => {
|
|
10928
10943
|
}[];
|
10929
10944
|
term: string;
|
10930
10945
|
} | null | undefined;
|
10946
|
+
pickup?: {
|
10947
|
+
catalogId?: string | null | undefined;
|
10948
|
+
autoAccept?: boolean | null | undefined;
|
10949
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10950
|
+
offlinePaymentTypes?: {
|
10951
|
+
name: string;
|
10952
|
+
instruction: string;
|
10953
|
+
}[] | null | undefined;
|
10954
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10955
|
+
ignoreStock?: boolean | null | undefined;
|
10956
|
+
pickupTime?: {
|
10957
|
+
day: {
|
10958
|
+
max: number;
|
10959
|
+
min: number;
|
10960
|
+
};
|
10961
|
+
} | null | undefined;
|
10962
|
+
pickupPointConfig?: {
|
10963
|
+
restaurantEnable: boolean;
|
10964
|
+
points: {
|
10965
|
+
name: string;
|
10966
|
+
address: string;
|
10967
|
+
coordinates: number[];
|
10968
|
+
}[];
|
10969
|
+
} | null | undefined;
|
10970
|
+
} | null | undefined;
|
10931
10971
|
dineIn?: {
|
10932
10972
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10933
10973
|
offlinePaymentTypes?: {
|
@@ -11182,31 +11222,6 @@ export declare const useCoreStore: () => {
|
|
11182
11222
|
};
|
11183
11223
|
}[], FmpRestaurant[] | {
|
11184
11224
|
managable: boolean;
|
11185
|
-
pickup?: {
|
11186
|
-
catalogId?: string | null | undefined;
|
11187
|
-
autoAccept?: boolean | null | undefined;
|
11188
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11189
|
-
offlinePaymentTypes?: {
|
11190
|
-
name: string;
|
11191
|
-
instruction: string;
|
11192
|
-
}[] | null | undefined;
|
11193
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
11194
|
-
ignoreStock?: boolean | null | undefined;
|
11195
|
-
pickupTime?: {
|
11196
|
-
day: {
|
11197
|
-
max: number;
|
11198
|
-
min: number;
|
11199
|
-
};
|
11200
|
-
} | null | undefined;
|
11201
|
-
pickupPointConfig?: {
|
11202
|
-
restaurantEnable: boolean;
|
11203
|
-
points: {
|
11204
|
-
name: string;
|
11205
|
-
address: string;
|
11206
|
-
coordinates: number[];
|
11207
|
-
}[];
|
11208
|
-
} | null | undefined;
|
11209
|
-
} | null | undefined;
|
11210
11225
|
channel?: string | null | undefined;
|
11211
11226
|
machineId?: string | null | undefined;
|
11212
11227
|
catalogId?: string | null | undefined;
|
@@ -11308,6 +11323,31 @@ export declare const useCoreStore: () => {
|
|
11308
11323
|
}[];
|
11309
11324
|
term: string;
|
11310
11325
|
} | null | undefined;
|
11326
|
+
pickup?: {
|
11327
|
+
catalogId?: string | null | undefined;
|
11328
|
+
autoAccept?: boolean | null | undefined;
|
11329
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11330
|
+
offlinePaymentTypes?: {
|
11331
|
+
name: string;
|
11332
|
+
instruction: string;
|
11333
|
+
}[] | null | undefined;
|
11334
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11335
|
+
ignoreStock?: boolean | null | undefined;
|
11336
|
+
pickupTime?: {
|
11337
|
+
day: {
|
11338
|
+
max: number;
|
11339
|
+
min: number;
|
11340
|
+
};
|
11341
|
+
} | null | undefined;
|
11342
|
+
pickupPointConfig?: {
|
11343
|
+
restaurantEnable: boolean;
|
11344
|
+
points: {
|
11345
|
+
name: string;
|
11346
|
+
address: string;
|
11347
|
+
coordinates: number[];
|
11348
|
+
}[];
|
11349
|
+
} | null | undefined;
|
11350
|
+
} | null | undefined;
|
11311
11351
|
dineIn?: {
|
11312
11352
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11313
11353
|
offlinePaymentTypes?: {
|
@@ -11563,32 +11603,11 @@ export declare const useCoreStore: () => {
|
|
11563
11603
|
}[]>;
|
11564
11604
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
11565
11605
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
11566
|
-
|
11567
|
-
|
11568
|
-
autoAccept?: boolean | null | undefined;
|
11569
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11570
|
-
offlinePaymentTypes?: {
|
11571
|
-
name: string;
|
11572
|
-
instruction: string;
|
11573
|
-
}[] | null | undefined;
|
11574
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
11575
|
-
ignoreStock?: boolean | null | undefined;
|
11576
|
-
pickupTime?: {
|
11577
|
-
day: {
|
11578
|
-
max: number;
|
11579
|
-
min: number;
|
11580
|
-
};
|
11581
|
-
} | null | undefined;
|
11582
|
-
pickupPointConfig?: {
|
11583
|
-
restaurantEnable: boolean;
|
11584
|
-
points: {
|
11585
|
-
name: string;
|
11586
|
-
address: string;
|
11587
|
-
coordinates: number[];
|
11588
|
-
}[];
|
11589
|
-
} | null | undefined;
|
11606
|
+
terminal?: {
|
11607
|
+
ipAddress: string;
|
11590
11608
|
} | null | undefined;
|
11591
11609
|
catalogId?: string | null | undefined;
|
11610
|
+
customAttributes?: Record<string, any> | null | undefined;
|
11592
11611
|
takeaway?: {
|
11593
11612
|
catalogId?: string | null | undefined;
|
11594
11613
|
} | null | undefined;
|
@@ -11686,6 +11705,31 @@ export declare const useCoreStore: () => {
|
|
11686
11705
|
}[];
|
11687
11706
|
term: string;
|
11688
11707
|
} | null | undefined;
|
11708
|
+
pickup?: {
|
11709
|
+
catalogId?: string | null | undefined;
|
11710
|
+
autoAccept?: boolean | null | undefined;
|
11711
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11712
|
+
offlinePaymentTypes?: {
|
11713
|
+
name: string;
|
11714
|
+
instruction: string;
|
11715
|
+
}[] | null | undefined;
|
11716
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11717
|
+
ignoreStock?: boolean | null | undefined;
|
11718
|
+
pickupTime?: {
|
11719
|
+
day: {
|
11720
|
+
max: number;
|
11721
|
+
min: number;
|
11722
|
+
};
|
11723
|
+
} | null | undefined;
|
11724
|
+
pickupPointConfig?: {
|
11725
|
+
restaurantEnable: boolean;
|
11726
|
+
points: {
|
11727
|
+
name: string;
|
11728
|
+
address: string;
|
11729
|
+
coordinates: number[];
|
11730
|
+
}[];
|
11731
|
+
} | null | undefined;
|
11732
|
+
} | null | undefined;
|
11689
11733
|
dineIn?: {
|
11690
11734
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11691
11735
|
offlinePaymentTypes?: {
|
@@ -11774,9 +11818,6 @@ export declare const useCoreStore: () => {
|
|
11774
11818
|
} | null | undefined;
|
11775
11819
|
autoReceivePurchaseOrder?: boolean | null | undefined;
|
11776
11820
|
deductStock?: boolean | null | undefined;
|
11777
|
-
terminal?: {
|
11778
|
-
ipAddress: string;
|
11779
|
-
} | null | undefined;
|
11780
11821
|
eghlTerminal?: {
|
11781
11822
|
active: boolean;
|
11782
11823
|
} | null | undefined;
|
@@ -11801,6 +11842,13 @@ export declare const useCoreStore: () => {
|
|
11801
11842
|
}[];
|
11802
11843
|
lastUpdatedAt: string;
|
11803
11844
|
} | null | undefined;
|
11845
|
+
draftBillCloseCounterBehavior?: string | null | undefined;
|
11846
|
+
autoDeleteEmptyBill?: string | null | undefined;
|
11847
|
+
eInvoiceConfig?: {
|
11848
|
+
billActivatedAt?: string | null | undefined;
|
11849
|
+
memberPurchaseActivatedAt?: string | null | undefined;
|
11850
|
+
} | null | undefined;
|
11851
|
+
hideItemCode?: boolean | null | undefined;
|
11804
11852
|
_id: string;
|
11805
11853
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
11806
11854
|
printReceipt: boolean;
|
@@ -11811,31 +11859,6 @@ export declare const useCoreStore: () => {
|
|
11811
11859
|
} | null>;
|
11812
11860
|
readRestaurants: () => Promise<{
|
11813
11861
|
managable: boolean;
|
11814
|
-
pickup?: {
|
11815
|
-
catalogId?: string | null | undefined;
|
11816
|
-
autoAccept?: boolean | null | undefined;
|
11817
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11818
|
-
offlinePaymentTypes?: {
|
11819
|
-
name: string;
|
11820
|
-
instruction: string;
|
11821
|
-
}[] | null | undefined;
|
11822
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
11823
|
-
ignoreStock?: boolean | null | undefined;
|
11824
|
-
pickupTime?: {
|
11825
|
-
day: {
|
11826
|
-
max: number;
|
11827
|
-
min: number;
|
11828
|
-
};
|
11829
|
-
} | null | undefined;
|
11830
|
-
pickupPointConfig?: {
|
11831
|
-
restaurantEnable: boolean;
|
11832
|
-
points: {
|
11833
|
-
name: string;
|
11834
|
-
address: string;
|
11835
|
-
coordinates: number[];
|
11836
|
-
}[];
|
11837
|
-
} | null | undefined;
|
11838
|
-
} | null | undefined;
|
11839
11862
|
channel?: string | null | undefined;
|
11840
11863
|
machineId?: string | null | undefined;
|
11841
11864
|
catalogId?: string | null | undefined;
|
@@ -11937,6 +11960,31 @@ export declare const useCoreStore: () => {
|
|
11937
11960
|
}[];
|
11938
11961
|
term: string;
|
11939
11962
|
} | null | undefined;
|
11963
|
+
pickup?: {
|
11964
|
+
catalogId?: string | null | undefined;
|
11965
|
+
autoAccept?: boolean | null | undefined;
|
11966
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11967
|
+
offlinePaymentTypes?: {
|
11968
|
+
name: string;
|
11969
|
+
instruction: string;
|
11970
|
+
}[] | null | undefined;
|
11971
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11972
|
+
ignoreStock?: boolean | null | undefined;
|
11973
|
+
pickupTime?: {
|
11974
|
+
day: {
|
11975
|
+
max: number;
|
11976
|
+
min: number;
|
11977
|
+
};
|
11978
|
+
} | null | undefined;
|
11979
|
+
pickupPointConfig?: {
|
11980
|
+
restaurantEnable: boolean;
|
11981
|
+
points: {
|
11982
|
+
name: string;
|
11983
|
+
address: string;
|
11984
|
+
coordinates: number[];
|
11985
|
+
}[];
|
11986
|
+
} | null | undefined;
|
11987
|
+
} | null | undefined;
|
11940
11988
|
dineIn?: {
|
11941
11989
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11942
11990
|
offlinePaymentTypes?: {
|
@@ -12445,31 +12493,6 @@ export declare const useCoreStore: () => {
|
|
12445
12493
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
12446
12494
|
readRestaurants: () => Promise<{
|
12447
12495
|
managable: boolean;
|
12448
|
-
pickup?: {
|
12449
|
-
catalogId?: string | null | undefined;
|
12450
|
-
autoAccept?: boolean | null | undefined;
|
12451
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12452
|
-
offlinePaymentTypes?: {
|
12453
|
-
name: string;
|
12454
|
-
instruction: string;
|
12455
|
-
}[] | null | undefined;
|
12456
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
12457
|
-
ignoreStock?: boolean | null | undefined;
|
12458
|
-
pickupTime?: {
|
12459
|
-
day: {
|
12460
|
-
max: number;
|
12461
|
-
min: number;
|
12462
|
-
};
|
12463
|
-
} | null | undefined;
|
12464
|
-
pickupPointConfig?: {
|
12465
|
-
restaurantEnable: boolean;
|
12466
|
-
points: {
|
12467
|
-
name: string;
|
12468
|
-
address: string;
|
12469
|
-
coordinates: number[];
|
12470
|
-
}[];
|
12471
|
-
} | null | undefined;
|
12472
|
-
} | null | undefined;
|
12473
12496
|
channel?: string | null | undefined;
|
12474
12497
|
machineId?: string | null | undefined;
|
12475
12498
|
catalogId?: string | null | undefined;
|
@@ -12571,6 +12594,31 @@ export declare const useCoreStore: () => {
|
|
12571
12594
|
}[];
|
12572
12595
|
term: string;
|
12573
12596
|
} | null | undefined;
|
12597
|
+
pickup?: {
|
12598
|
+
catalogId?: string | null | undefined;
|
12599
|
+
autoAccept?: boolean | null | undefined;
|
12600
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12601
|
+
offlinePaymentTypes?: {
|
12602
|
+
name: string;
|
12603
|
+
instruction: string;
|
12604
|
+
}[] | null | undefined;
|
12605
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
12606
|
+
ignoreStock?: boolean | null | undefined;
|
12607
|
+
pickupTime?: {
|
12608
|
+
day: {
|
12609
|
+
max: number;
|
12610
|
+
min: number;
|
12611
|
+
};
|
12612
|
+
} | null | undefined;
|
12613
|
+
pickupPointConfig?: {
|
12614
|
+
restaurantEnable: boolean;
|
12615
|
+
points: {
|
12616
|
+
name: string;
|
12617
|
+
address: string;
|
12618
|
+
coordinates: number[];
|
12619
|
+
}[];
|
12620
|
+
} | null | undefined;
|
12621
|
+
} | null | undefined;
|
12574
12622
|
dineIn?: {
|
12575
12623
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12576
12624
|
offlinePaymentTypes?: {
|