@feedmepos/mf-common 1.26.6 → 1.26.8-beta.1
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-d2709f16.js +112 -0
- package/dist/{ItemSelector-4e07c532.js → ItemSelector-89a38fe2.js} +1 -1
- package/dist/{RestaurantSelector-0526e3a6.js → RestaurantSelector-ada11d44.js} +36 -36
- package/dist/{app-bc3f81a2.js → app-24adbe08.js} +18912 -18610
- package/dist/app.js +2 -2
- package/dist/components/attribute/CustomAttributesForm.vue.d.ts.map +1 -1
- package/dist/components.d.ts +2 -2
- package/dist/composables/usePaginatedBusinesses.d.ts +2 -2
- package/dist/store.d.ts +1223 -2522
- package/dist/store.d.ts.map +1 -1
- package/dist/stores/menu.d.ts +2 -2
- package/dist/style.css +1 -1
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/dist/CustomAttributesForm-40e4d1f7.js +0 -96
package/dist/store.d.ts
CHANGED
@@ -130,7 +130,7 @@ export declare const useCoreStore: () => {
|
|
130
130
|
attributeSettings?: {
|
131
131
|
type: "string" | "number" | "boolean" | "date";
|
132
132
|
key: string;
|
133
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
133
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
134
134
|
}[] | null | undefined;
|
135
135
|
pf_agent?: {
|
136
136
|
clickupId?: string | null | undefined;
|
@@ -197,7 +197,7 @@ export declare const useCoreStore: () => {
|
|
197
197
|
attributeSettings?: {
|
198
198
|
type: "string" | "number" | "boolean" | "date";
|
199
199
|
key: string;
|
200
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
200
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
201
201
|
}[] | null | undefined;
|
202
202
|
pf_agent?: {
|
203
203
|
clickupId?: string | null | undefined;
|
@@ -259,6 +259,31 @@ export declare const useCoreStore: () => {
|
|
259
259
|
currentBusiness: import("vue").Ref<FmpBusiness | undefined, FmpBusiness | undefined>;
|
260
260
|
restaurants: import("vue").Ref<{
|
261
261
|
managable: boolean;
|
262
|
+
pickup?: {
|
263
|
+
catalogId?: string | null | undefined;
|
264
|
+
autoAccept?: boolean | null | undefined;
|
265
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
266
|
+
offlinePaymentTypes?: {
|
267
|
+
name: string;
|
268
|
+
instruction: string;
|
269
|
+
}[] | null | undefined;
|
270
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
271
|
+
ignoreStock?: boolean | null | undefined;
|
272
|
+
pickupTime?: {
|
273
|
+
day: {
|
274
|
+
max: number;
|
275
|
+
min: number;
|
276
|
+
};
|
277
|
+
} | null | undefined;
|
278
|
+
pickupPointConfig?: {
|
279
|
+
restaurantEnable: boolean;
|
280
|
+
points: {
|
281
|
+
name: string;
|
282
|
+
address: string;
|
283
|
+
coordinates: number[];
|
284
|
+
}[];
|
285
|
+
} | null | undefined;
|
286
|
+
} | null | undefined;
|
262
287
|
channel?: string | null | undefined;
|
263
288
|
machineId?: string | null | undefined;
|
264
289
|
catalogId?: string | null | undefined;
|
@@ -360,31 +385,6 @@ export declare const useCoreStore: () => {
|
|
360
385
|
}[];
|
361
386
|
term: string;
|
362
387
|
} | null | undefined;
|
363
|
-
pickup?: {
|
364
|
-
catalogId?: string | null | undefined;
|
365
|
-
autoAccept?: boolean | null | undefined;
|
366
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
367
|
-
offlinePaymentTypes?: {
|
368
|
-
name: string;
|
369
|
-
instruction: string;
|
370
|
-
}[] | null | undefined;
|
371
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
372
|
-
ignoreStock?: boolean | null | undefined;
|
373
|
-
pickupTime?: {
|
374
|
-
day: {
|
375
|
-
max: number;
|
376
|
-
min: number;
|
377
|
-
};
|
378
|
-
} | null | undefined;
|
379
|
-
pickupPointConfig?: {
|
380
|
-
restaurantEnable: boolean;
|
381
|
-
points: {
|
382
|
-
name: string;
|
383
|
-
address: string;
|
384
|
-
coordinates: number[];
|
385
|
-
}[];
|
386
|
-
} | null | undefined;
|
387
|
-
} | null | undefined;
|
388
388
|
dineIn?: {
|
389
389
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
390
390
|
offlinePaymentTypes?: {
|
@@ -405,7 +405,7 @@ export declare const useCoreStore: () => {
|
|
405
405
|
attributeSettings?: {
|
406
406
|
type: "string" | "number" | "boolean" | "date";
|
407
407
|
key: string;
|
408
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
408
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
409
409
|
}[] | null | undefined;
|
410
410
|
pf_agent?: {
|
411
411
|
clickupId?: string | null | undefined;
|
@@ -638,6 +638,31 @@ export declare const useCoreStore: () => {
|
|
638
638
|
};
|
639
639
|
}[], FmpRestaurant[] | {
|
640
640
|
managable: boolean;
|
641
|
+
pickup?: {
|
642
|
+
catalogId?: string | null | undefined;
|
643
|
+
autoAccept?: boolean | null | undefined;
|
644
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
645
|
+
offlinePaymentTypes?: {
|
646
|
+
name: string;
|
647
|
+
instruction: string;
|
648
|
+
}[] | null | undefined;
|
649
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
650
|
+
ignoreStock?: boolean | null | undefined;
|
651
|
+
pickupTime?: {
|
652
|
+
day: {
|
653
|
+
max: number;
|
654
|
+
min: number;
|
655
|
+
};
|
656
|
+
} | null | undefined;
|
657
|
+
pickupPointConfig?: {
|
658
|
+
restaurantEnable: boolean;
|
659
|
+
points: {
|
660
|
+
name: string;
|
661
|
+
address: string;
|
662
|
+
coordinates: number[];
|
663
|
+
}[];
|
664
|
+
} | null | undefined;
|
665
|
+
} | null | undefined;
|
641
666
|
channel?: string | null | undefined;
|
642
667
|
machineId?: string | null | undefined;
|
643
668
|
catalogId?: string | null | undefined;
|
@@ -739,31 +764,6 @@ export declare const useCoreStore: () => {
|
|
739
764
|
}[];
|
740
765
|
term: string;
|
741
766
|
} | null | undefined;
|
742
|
-
pickup?: {
|
743
|
-
catalogId?: string | null | undefined;
|
744
|
-
autoAccept?: boolean | null | undefined;
|
745
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
746
|
-
offlinePaymentTypes?: {
|
747
|
-
name: string;
|
748
|
-
instruction: string;
|
749
|
-
}[] | null | undefined;
|
750
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
751
|
-
ignoreStock?: boolean | null | undefined;
|
752
|
-
pickupTime?: {
|
753
|
-
day: {
|
754
|
-
max: number;
|
755
|
-
min: number;
|
756
|
-
};
|
757
|
-
} | null | undefined;
|
758
|
-
pickupPointConfig?: {
|
759
|
-
restaurantEnable: boolean;
|
760
|
-
points: {
|
761
|
-
name: string;
|
762
|
-
address: string;
|
763
|
-
coordinates: number[];
|
764
|
-
}[];
|
765
|
-
} | null | undefined;
|
766
|
-
} | null | undefined;
|
767
767
|
dineIn?: {
|
768
768
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
769
769
|
offlinePaymentTypes?: {
|
@@ -784,7 +784,7 @@ export declare const useCoreStore: () => {
|
|
784
784
|
attributeSettings?: {
|
785
785
|
type: "string" | "number" | "boolean" | "date";
|
786
786
|
key: string;
|
787
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
787
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
788
788
|
}[] | null | undefined;
|
789
789
|
pf_agent?: {
|
790
790
|
clickupId?: string | null | undefined;
|
@@ -1215,6 +1215,31 @@ export declare const useCoreStore: () => {
|
|
1215
1215
|
};
|
1216
1216
|
} | null>;
|
1217
1217
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
1218
|
+
pickup?: {
|
1219
|
+
catalogId?: string | null | undefined;
|
1220
|
+
autoAccept?: boolean | null | undefined;
|
1221
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1222
|
+
offlinePaymentTypes?: {
|
1223
|
+
name: string;
|
1224
|
+
instruction: string;
|
1225
|
+
}[] | null | undefined;
|
1226
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1227
|
+
ignoreStock?: boolean | null | undefined;
|
1228
|
+
pickupTime?: {
|
1229
|
+
day: {
|
1230
|
+
max: number;
|
1231
|
+
min: number;
|
1232
|
+
};
|
1233
|
+
} | null | undefined;
|
1234
|
+
pickupPointConfig?: {
|
1235
|
+
restaurantEnable: boolean;
|
1236
|
+
points: {
|
1237
|
+
name: string;
|
1238
|
+
address: string;
|
1239
|
+
coordinates: number[];
|
1240
|
+
}[];
|
1241
|
+
} | null | undefined;
|
1242
|
+
} | null | undefined;
|
1218
1243
|
catalogId?: string | null | undefined;
|
1219
1244
|
takeaway?: {
|
1220
1245
|
catalogId?: string | null | undefined;
|
@@ -1313,31 +1338,6 @@ export declare const useCoreStore: () => {
|
|
1313
1338
|
}[];
|
1314
1339
|
term: string;
|
1315
1340
|
} | null | undefined;
|
1316
|
-
pickup?: {
|
1317
|
-
catalogId?: string | null | undefined;
|
1318
|
-
autoAccept?: boolean | null | undefined;
|
1319
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1320
|
-
offlinePaymentTypes?: {
|
1321
|
-
name: string;
|
1322
|
-
instruction: string;
|
1323
|
-
}[] | null | undefined;
|
1324
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
1325
|
-
ignoreStock?: boolean | null | undefined;
|
1326
|
-
pickupTime?: {
|
1327
|
-
day: {
|
1328
|
-
max: number;
|
1329
|
-
min: number;
|
1330
|
-
};
|
1331
|
-
} | null | undefined;
|
1332
|
-
pickupPointConfig?: {
|
1333
|
-
restaurantEnable: boolean;
|
1334
|
-
points: {
|
1335
|
-
name: string;
|
1336
|
-
address: string;
|
1337
|
-
coordinates: number[];
|
1338
|
-
}[];
|
1339
|
-
} | null | undefined;
|
1340
|
-
} | null | undefined;
|
1341
1341
|
dineIn?: {
|
1342
1342
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1343
1343
|
offlinePaymentTypes?: {
|
@@ -1440,6 +1440,12 @@ export declare const useCoreStore: () => {
|
|
1440
1440
|
taxCode: string;
|
1441
1441
|
systemCode: string;
|
1442
1442
|
}[] | null | undefined;
|
1443
|
+
reasonTemplates?: {
|
1444
|
+
action: string;
|
1445
|
+
reasons: string[];
|
1446
|
+
compulsory: boolean;
|
1447
|
+
allowOther: boolean;
|
1448
|
+
}[] | null | undefined;
|
1443
1449
|
_id: string;
|
1444
1450
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
1445
1451
|
printReceipt: boolean;
|
@@ -1452,12 +1458,17 @@ export declare const useCoreStore: () => {
|
|
1452
1458
|
restaurantAttributeSettings: import("vue").ComputedRef<{
|
1453
1459
|
type: "string" | "number" | "boolean" | "date";
|
1454
1460
|
key: string;
|
1455
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1461
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1456
1462
|
}[]>;
|
1457
1463
|
itemAttributeSettings: import("vue").ComputedRef<{
|
1458
1464
|
type: "string" | "number" | "boolean" | "date";
|
1459
1465
|
key: string;
|
1460
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1466
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1467
|
+
}[]>;
|
1468
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
1469
|
+
type: "string" | "number" | "boolean" | "date";
|
1470
|
+
key: string;
|
1471
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1461
1472
|
}[]>;
|
1462
1473
|
$state: {
|
1463
1474
|
sessionUser: {
|
@@ -1500,7 +1511,7 @@ export declare const useCoreStore: () => {
|
|
1500
1511
|
attributeSettings?: {
|
1501
1512
|
type: "string" | "number" | "boolean" | "date";
|
1502
1513
|
key: string;
|
1503
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1514
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1504
1515
|
}[] | null | undefined;
|
1505
1516
|
pf_agent?: {
|
1506
1517
|
clickupId?: string | null | undefined;
|
@@ -1559,76 +1570,34 @@ export declare const useCoreStore: () => {
|
|
1559
1570
|
warehouseQuota: number;
|
1560
1571
|
menuVersion: string;
|
1561
1572
|
}[];
|
1562
|
-
currentBusiness:
|
1563
|
-
id: string;
|
1564
|
-
internal?: boolean | null | undefined;
|
1565
|
-
url?: string | null | undefined;
|
1566
|
-
expiredAt?: string | null | undefined;
|
1567
|
-
agentId?: string | null | undefined;
|
1568
|
-
attributeSettings?: {
|
1569
|
-
type: "string" | "number" | "boolean" | "date";
|
1570
|
-
key: string;
|
1571
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1572
|
-
}[] | null | undefined;
|
1573
|
-
pf_agent?: {
|
1574
|
-
clickupId?: string | null | undefined;
|
1575
|
-
members?: {
|
1576
|
-
pf_user?: {
|
1577
|
-
email?: string | null | undefined;
|
1578
|
-
phoneNumber?: string | null | undefined;
|
1579
|
-
birthday?: string | null | undefined;
|
1580
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
1581
|
-
addresses?: {
|
1582
|
-
name: string;
|
1583
|
-
address: string;
|
1584
|
-
coordinates: number[];
|
1585
|
-
}[] | null | undefined;
|
1586
|
-
photoURL?: string | null | undefined;
|
1587
|
-
displayName?: string | null | undefined;
|
1588
|
-
imported?: {
|
1589
|
-
raw: Record<string, any>;
|
1590
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
1591
|
-
} | null | undefined;
|
1592
|
-
_id: string;
|
1593
|
-
} | null | undefined;
|
1594
|
-
role: "ADMIN";
|
1595
|
-
userId: string;
|
1596
|
-
}[] | null | undefined;
|
1597
|
-
code: string;
|
1598
|
-
name: string;
|
1599
|
-
_id: string;
|
1600
|
-
isReseller: boolean;
|
1601
|
-
} | null | undefined;
|
1602
|
-
thumbnail?: string | null | undefined;
|
1603
|
-
billingInfos?: {
|
1604
|
-
_id?: string | null | undefined;
|
1605
|
-
name: string;
|
1606
|
-
address: {
|
1607
|
-
coordinates?: number[] | null | undefined;
|
1608
|
-
line2?: string | null | undefined;
|
1609
|
-
state: string;
|
1610
|
-
country: string;
|
1611
|
-
line1: string;
|
1612
|
-
city: string;
|
1613
|
-
postcode: string;
|
1614
|
-
};
|
1615
|
-
email: string;
|
1616
|
-
companyName: string;
|
1617
|
-
contact: string;
|
1618
|
-
}[] | null | undefined;
|
1619
|
-
customerDisplayImages?: {
|
1620
|
-
url: string;
|
1621
|
-
restaurantIds: string[];
|
1622
|
-
}[] | null | undefined;
|
1623
|
-
name: string;
|
1624
|
-
_id: string;
|
1625
|
-
ownerId: string;
|
1626
|
-
restaurantQuota: number;
|
1627
|
-
warehouseQuota: number;
|
1628
|
-
menuVersion: string;
|
1629
|
-
} | undefined;
|
1573
|
+
currentBusiness: FmpBusiness | undefined;
|
1630
1574
|
restaurants: {
|
1631
1575
|
managable: boolean;
|
1576
|
+
pickup?: {
|
1577
|
+
catalogId?: string | null | undefined;
|
1578
|
+
autoAccept?: boolean | null | undefined;
|
1579
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1580
|
+
offlinePaymentTypes?: {
|
1581
|
+
name: string;
|
1582
|
+
instruction: string;
|
1583
|
+
}[] | null | undefined;
|
1584
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
1585
|
+
ignoreStock?: boolean | null | undefined;
|
1586
|
+
pickupTime?: {
|
1587
|
+
day: {
|
1588
|
+
max: number;
|
1589
|
+
min: number;
|
1590
|
+
};
|
1591
|
+
} | null | undefined;
|
1592
|
+
pickupPointConfig?: {
|
1593
|
+
restaurantEnable: boolean;
|
1594
|
+
points: {
|
1595
|
+
name: string;
|
1596
|
+
address: string;
|
1597
|
+
coordinates: number[];
|
1598
|
+
}[];
|
1599
|
+
} | null | undefined;
|
1600
|
+
} | null | undefined;
|
1632
1601
|
channel?: string | null | undefined;
|
1633
1602
|
machineId?: string | null | undefined;
|
1634
1603
|
catalogId?: string | null | undefined;
|
@@ -1730,32 +1699,7 @@ export declare const useCoreStore: () => {
|
|
1730
1699
|
}[];
|
1731
1700
|
term: string;
|
1732
1701
|
} | null | undefined;
|
1733
|
-
|
1734
|
-
catalogId?: string | null | undefined;
|
1735
|
-
autoAccept?: boolean | null | undefined;
|
1736
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1737
|
-
offlinePaymentTypes?: {
|
1738
|
-
name: string;
|
1739
|
-
instruction: string;
|
1740
|
-
}[] | null | undefined;
|
1741
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
1742
|
-
ignoreStock?: boolean | null | undefined;
|
1743
|
-
pickupTime?: {
|
1744
|
-
day: {
|
1745
|
-
max: number;
|
1746
|
-
min: number;
|
1747
|
-
};
|
1748
|
-
} | null | undefined;
|
1749
|
-
pickupPointConfig?: {
|
1750
|
-
restaurantEnable: boolean;
|
1751
|
-
points: {
|
1752
|
-
name: string;
|
1753
|
-
address: string;
|
1754
|
-
coordinates: number[];
|
1755
|
-
}[];
|
1756
|
-
} | null | undefined;
|
1757
|
-
} | null | undefined;
|
1758
|
-
dineIn?: {
|
1702
|
+
dineIn?: {
|
1759
1703
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
1760
1704
|
offlinePaymentTypes?: {
|
1761
1705
|
name: string;
|
@@ -1775,7 +1719,7 @@ export declare const useCoreStore: () => {
|
|
1775
1719
|
attributeSettings?: {
|
1776
1720
|
type: "string" | "number" | "boolean" | "date";
|
1777
1721
|
key: string;
|
1778
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1722
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
1779
1723
|
}[] | null | undefined;
|
1780
1724
|
pf_agent?: {
|
1781
1725
|
clickupId?: string | null | undefined;
|
@@ -2007,25 +1951,15 @@ export declare const useCoreStore: () => {
|
|
2007
1951
|
regNo: string;
|
2008
1952
|
};
|
2009
1953
|
}[];
|
2010
|
-
currentRestaurant:
|
2011
|
-
|
2012
|
-
|
2013
|
-
|
2014
|
-
|
2015
|
-
|
2016
|
-
|
2017
|
-
|
2018
|
-
|
2019
|
-
inHouseDelivery?: {
|
2020
|
-
taxes?: Record<string, {
|
2021
|
-
inclusive: boolean;
|
2022
|
-
taxCode: string;
|
2023
|
-
systemCode: string;
|
2024
|
-
}> | null | undefined;
|
2025
|
-
autoAccept?: boolean | null | undefined;
|
2026
|
-
deliveryTime?: {
|
2027
|
-
time?: string[] | null | undefined;
|
2028
|
-
custom?: {
|
1954
|
+
currentRestaurant: FmpRestaurant | undefined;
|
1955
|
+
selectedApp: PortalApp | undefined;
|
1956
|
+
hideSidebar: boolean;
|
1957
|
+
sidebarComponent: any;
|
1958
|
+
isEmbedded: boolean;
|
1959
|
+
publicSetting: {
|
1960
|
+
delivery: {
|
1961
|
+
feedMe: {
|
1962
|
+
operatingHours?: {
|
2029
1963
|
0: {
|
2030
1964
|
hours: {
|
2031
1965
|
end: string;
|
@@ -2076,415 +2010,37 @@ export declare const useCoreStore: () => {
|
|
2076
2010
|
enable: boolean;
|
2077
2011
|
};
|
2078
2012
|
} | null | undefined;
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
} | null | undefined;
|
2084
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2085
|
-
offlinePaymentTypes?: {
|
2086
|
-
name: string;
|
2087
|
-
instruction: string;
|
2088
|
-
}[] | null | undefined;
|
2089
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
2090
|
-
ignoreStock?: boolean | null | undefined;
|
2091
|
-
catalogId: string | null;
|
2092
|
-
enable: boolean;
|
2093
|
-
areas: {
|
2094
|
-
minPurchase?: {
|
2095
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
2096
|
-
amount: number;
|
2097
|
-
precision: number;
|
2098
|
-
} | null | undefined;
|
2099
|
-
freeAfterTotal?: {
|
2100
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
2101
|
-
amount: number;
|
2102
|
-
precision: number;
|
2103
|
-
} | null | undefined;
|
2104
|
-
polygon: number[][];
|
2105
|
-
deliveryFee: {
|
2106
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
2107
|
-
amount: number;
|
2108
|
-
precision: number;
|
2109
|
-
};
|
2110
|
-
}[];
|
2111
|
-
term: string;
|
2112
|
-
} | null | undefined;
|
2113
|
-
pickup?: {
|
2114
|
-
catalogId?: string | null | undefined;
|
2115
|
-
autoAccept?: boolean | null | undefined;
|
2116
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2117
|
-
offlinePaymentTypes?: {
|
2118
|
-
name: string;
|
2119
|
-
instruction: string;
|
2120
|
-
}[] | null | undefined;
|
2121
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
2122
|
-
ignoreStock?: boolean | null | undefined;
|
2123
|
-
pickupTime?: {
|
2124
|
-
day: {
|
2125
|
-
max: number;
|
2126
|
-
min: number;
|
2127
|
-
};
|
2128
|
-
} | null | undefined;
|
2129
|
-
pickupPointConfig?: {
|
2130
|
-
restaurantEnable: boolean;
|
2131
|
-
points: {
|
2132
|
-
name: string;
|
2133
|
-
address: string;
|
2134
|
-
coordinates: number[];
|
2013
|
+
maxDistance: number;
|
2014
|
+
enable: boolean;
|
2015
|
+
areas: {
|
2016
|
+
polygon: number[][];
|
2135
2017
|
}[];
|
2136
|
-
}
|
2137
|
-
}
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
pf_business?: {
|
2151
|
-
internal?: boolean | null | undefined;
|
2152
|
-
url?: string | null | undefined;
|
2153
|
-
expiredAt?: string | null | undefined;
|
2154
|
-
agentId?: string | null | undefined;
|
2155
|
-
attributeSettings?: {
|
2156
|
-
type: "string" | "number" | "boolean" | "date";
|
2157
|
-
key: string;
|
2158
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2159
|
-
}[] | null | undefined;
|
2160
|
-
pf_agent?: {
|
2161
|
-
clickupId?: string | null | undefined;
|
2162
|
-
members?: {
|
2163
|
-
pf_user?: {
|
2164
|
-
email?: string | null | undefined;
|
2165
|
-
phoneNumber?: string | null | undefined;
|
2166
|
-
birthday?: string | null | undefined;
|
2167
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
2168
|
-
addresses?: {
|
2169
|
-
name: string;
|
2170
|
-
address: string;
|
2171
|
-
coordinates: number[];
|
2172
|
-
}[] | null | undefined;
|
2173
|
-
photoURL?: string | null | undefined;
|
2174
|
-
displayName?: string | null | undefined;
|
2175
|
-
imported?: {
|
2176
|
-
raw: Record<string, any>;
|
2177
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
2018
|
+
};
|
2019
|
+
};
|
2020
|
+
assets: {
|
2021
|
+
groups: {
|
2022
|
+
key: "pos" | "portal";
|
2023
|
+
assets: {
|
2024
|
+
type: "image" | "lottie";
|
2025
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
2026
|
+
path: string;
|
2027
|
+
files: {
|
2028
|
+
responsive?: {
|
2029
|
+
mobile?: string | null | undefined;
|
2030
|
+
tablet?: string | null | undefined;
|
2031
|
+
desktop?: string | null | undefined;
|
2178
2032
|
} | null | undefined;
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
billingInfos?: {
|
2191
|
-
_id?: string | null | undefined;
|
2192
|
-
name: string;
|
2193
|
-
address: {
|
2194
|
-
coordinates?: number[] | null | undefined;
|
2195
|
-
line2?: string | null | undefined;
|
2196
|
-
state: string;
|
2197
|
-
country: string;
|
2198
|
-
line1: string;
|
2199
|
-
city: string;
|
2200
|
-
postcode: string;
|
2201
|
-
};
|
2202
|
-
email: string;
|
2203
|
-
companyName: string;
|
2204
|
-
contact: string;
|
2205
|
-
}[] | null | undefined;
|
2206
|
-
customerDisplayImages?: {
|
2207
|
-
url: string;
|
2208
|
-
restaurantIds: string[];
|
2209
|
-
}[] | null | undefined;
|
2210
|
-
name: string;
|
2211
|
-
_id: string;
|
2212
|
-
ownerId: string;
|
2213
|
-
restaurantQuota: number;
|
2214
|
-
warehouseQuota: number;
|
2215
|
-
menuVersion: string;
|
2216
|
-
} | null | undefined;
|
2217
|
-
features?: string[] | null | undefined;
|
2218
|
-
machineOtp?: string | null | undefined;
|
2219
|
-
machineOtpExpiredAt?: string | null | undefined;
|
2220
|
-
posVersion?: string | null | undefined;
|
2221
|
-
posHeartbeat?: string | null | undefined;
|
2222
|
-
posVersionHistory?: Record<string, string> | null | undefined;
|
2223
|
-
additionalCatalogs?: string[] | null | undefined;
|
2224
|
-
feedmeDelivery?: {
|
2225
|
-
instruction?: string | null | undefined;
|
2226
|
-
catalogId?: string | null | undefined;
|
2227
|
-
autoAccept?: boolean | null | undefined;
|
2228
|
-
term?: string | null | undefined;
|
2229
|
-
ignoreStock?: boolean | null | undefined;
|
2230
|
-
enable: boolean;
|
2231
|
-
} | null | undefined;
|
2232
|
-
foodpandaDelivery?: {
|
2233
|
-
_id?: string | undefined;
|
2234
|
-
ignoreDiscount?: boolean | null | undefined;
|
2235
|
-
catalogId?: string | null | undefined;
|
2236
|
-
commissionRate?: number | null | undefined;
|
2237
|
-
lastSynchronize?: string | null | undefined;
|
2238
|
-
showProductAddon?: boolean | null | undefined;
|
2239
|
-
autoAccept?: boolean | null | undefined;
|
2240
|
-
reportConfig?: {
|
2241
|
-
commissionRate: number;
|
2242
|
-
discountCampaigns: {
|
2243
|
-
name: string;
|
2244
|
-
date: {
|
2245
|
-
end: string;
|
2246
|
-
start: string;
|
2247
|
-
};
|
2248
|
-
vendorBearPercentage: number;
|
2249
|
-
}[];
|
2250
|
-
} | null | undefined;
|
2251
|
-
hasSst?: boolean | null | undefined;
|
2252
|
-
enable: boolean;
|
2253
|
-
remoteId: string;
|
2254
|
-
autoCloseBill: boolean;
|
2255
|
-
} | null | undefined;
|
2256
|
-
grabfoodDelivery?: {
|
2257
|
-
_id?: string | undefined;
|
2258
|
-
catalogId?: string | null | undefined;
|
2259
|
-
lastSynchronize?: string | null | undefined;
|
2260
|
-
showProductAddon?: boolean | null | undefined;
|
2261
|
-
enable: boolean;
|
2262
|
-
commissionRate: number;
|
2263
|
-
autoCloseBill: boolean;
|
2264
|
-
merchantID: string;
|
2265
|
-
} | null | undefined;
|
2266
|
-
shopeefoodDelivery?: {
|
2267
|
-
_id?: string | undefined;
|
2268
|
-
catalogId?: string | null | undefined;
|
2269
|
-
lastSynchronize?: string | null | undefined;
|
2270
|
-
showProductAddon?: boolean | null | undefined;
|
2271
|
-
enable: boolean;
|
2272
|
-
autoCloseBill: boolean;
|
2273
|
-
reportConfig: {
|
2274
|
-
commissionRate: number;
|
2275
|
-
discountCampaigns: {
|
2276
|
-
name: string;
|
2277
|
-
date: {
|
2278
|
-
end: string;
|
2279
|
-
start: string;
|
2280
|
-
};
|
2281
|
-
vendorBearPercentage: number;
|
2282
|
-
}[];
|
2283
|
-
};
|
2284
|
-
storeID: string;
|
2285
|
-
} | null | undefined;
|
2286
|
-
couchDbPassword?: string | null | undefined;
|
2287
|
-
apiToken?: string | null | undefined;
|
2288
|
-
remoteSupports?: {
|
2289
|
-
anydeskId?: string | null | undefined;
|
2290
|
-
anydeskPassword?: string | null | undefined;
|
2291
|
-
deviceName: string;
|
2292
|
-
}[] | null | undefined;
|
2293
|
-
payoutAccount?: Record<string, any> | null | undefined;
|
2294
|
-
clearCount?: number | null | undefined;
|
2295
|
-
queueSetting?: {
|
2296
|
-
duration?: number | null | undefined;
|
2297
|
-
enableOrder: boolean;
|
2298
|
-
initialNumber: number;
|
2299
|
-
endNumber: number;
|
2300
|
-
currentNumber: number;
|
2301
|
-
autoCalledLimit: number;
|
2302
|
-
} | null | undefined;
|
2303
|
-
tableMappingSetting?: {
|
2304
|
-
enable?: boolean | null | undefined;
|
2305
|
-
showSeat?: boolean | null | undefined;
|
2306
|
-
mapBorderColor?: number | null | undefined;
|
2307
|
-
mapLineColor?: number | null | undefined;
|
2308
|
-
} | null | undefined;
|
2309
|
-
_id: string;
|
2310
|
-
expiredAt: string;
|
2311
|
-
businessId: string;
|
2312
|
-
profile: {
|
2313
|
-
code?: string | null | undefined;
|
2314
|
-
url?: string | null | undefined;
|
2315
|
-
description?: string | null | undefined;
|
2316
|
-
_id?: string | null | undefined;
|
2317
|
-
legalName?: string | null | undefined;
|
2318
|
-
sstRegNo?: string | null | undefined;
|
2319
|
-
discovery?: boolean | null | undefined;
|
2320
|
-
coverPhoto?: string | null | undefined;
|
2321
|
-
thumbnailPhoto?: string | null | undefined;
|
2322
|
-
photos?: string[] | null | undefined;
|
2323
|
-
operatingHours?: {
|
2324
|
-
0: {
|
2325
|
-
hours: {
|
2326
|
-
end: string;
|
2327
|
-
start: string;
|
2328
|
-
}[];
|
2329
|
-
enable: boolean;
|
2330
|
-
};
|
2331
|
-
2: {
|
2332
|
-
hours: {
|
2333
|
-
end: string;
|
2334
|
-
start: string;
|
2335
|
-
}[];
|
2336
|
-
enable: boolean;
|
2337
|
-
};
|
2338
|
-
1: {
|
2339
|
-
hours: {
|
2340
|
-
end: string;
|
2341
|
-
start: string;
|
2342
|
-
}[];
|
2343
|
-
enable: boolean;
|
2344
|
-
};
|
2345
|
-
3: {
|
2346
|
-
hours: {
|
2347
|
-
end: string;
|
2348
|
-
start: string;
|
2349
|
-
}[];
|
2350
|
-
enable: boolean;
|
2351
|
-
};
|
2352
|
-
4: {
|
2353
|
-
hours: {
|
2354
|
-
end: string;
|
2355
|
-
start: string;
|
2356
|
-
}[];
|
2357
|
-
enable: boolean;
|
2358
|
-
};
|
2359
|
-
5: {
|
2360
|
-
hours: {
|
2361
|
-
end: string;
|
2362
|
-
start: string;
|
2363
|
-
}[];
|
2364
|
-
enable: boolean;
|
2365
|
-
};
|
2366
|
-
6: {
|
2367
|
-
hours: {
|
2368
|
-
end: string;
|
2369
|
-
start: string;
|
2370
|
-
}[];
|
2371
|
-
enable: boolean;
|
2372
|
-
};
|
2373
|
-
} | null | undefined;
|
2374
|
-
tags?: string[] | null | undefined;
|
2375
|
-
name: string;
|
2376
|
-
address: {
|
2377
|
-
coordinates?: number[] | null | undefined;
|
2378
|
-
line2?: string | null | undefined;
|
2379
|
-
state: string;
|
2380
|
-
country: string;
|
2381
|
-
line1: string;
|
2382
|
-
city: string;
|
2383
|
-
postcode: string;
|
2384
|
-
};
|
2385
|
-
email: string;
|
2386
|
-
phoneNo: string;
|
2387
|
-
regNo: string;
|
2388
|
-
};
|
2389
|
-
} | undefined;
|
2390
|
-
selectedApp: {
|
2391
|
-
id: string;
|
2392
|
-
icon?: string | undefined;
|
2393
|
-
name: string;
|
2394
|
-
description?: string | undefined;
|
2395
|
-
path: string;
|
2396
|
-
breakpoints?: any[] | undefined;
|
2397
|
-
hasPlatformLevelNavigation: boolean;
|
2398
|
-
external?: boolean | undefined;
|
2399
|
-
} | undefined;
|
2400
|
-
hideSidebar: boolean;
|
2401
|
-
sidebarComponent: any;
|
2402
|
-
isEmbedded: boolean;
|
2403
|
-
publicSetting: {
|
2404
|
-
delivery: {
|
2405
|
-
feedMe: {
|
2406
|
-
operatingHours?: {
|
2407
|
-
0: {
|
2408
|
-
hours: {
|
2409
|
-
end: string;
|
2410
|
-
start: string;
|
2411
|
-
}[];
|
2412
|
-
enable: boolean;
|
2413
|
-
};
|
2414
|
-
2: {
|
2415
|
-
hours: {
|
2416
|
-
end: string;
|
2417
|
-
start: string;
|
2418
|
-
}[];
|
2419
|
-
enable: boolean;
|
2420
|
-
};
|
2421
|
-
1: {
|
2422
|
-
hours: {
|
2423
|
-
end: string;
|
2424
|
-
start: string;
|
2425
|
-
}[];
|
2426
|
-
enable: boolean;
|
2427
|
-
};
|
2428
|
-
3: {
|
2429
|
-
hours: {
|
2430
|
-
end: string;
|
2431
|
-
start: string;
|
2432
|
-
}[];
|
2433
|
-
enable: boolean;
|
2434
|
-
};
|
2435
|
-
4: {
|
2436
|
-
hours: {
|
2437
|
-
end: string;
|
2438
|
-
start: string;
|
2439
|
-
}[];
|
2440
|
-
enable: boolean;
|
2441
|
-
};
|
2442
|
-
5: {
|
2443
|
-
hours: {
|
2444
|
-
end: string;
|
2445
|
-
start: string;
|
2446
|
-
}[];
|
2447
|
-
enable: boolean;
|
2448
|
-
};
|
2449
|
-
6: {
|
2450
|
-
hours: {
|
2451
|
-
end: string;
|
2452
|
-
start: string;
|
2453
|
-
}[];
|
2454
|
-
enable: boolean;
|
2455
|
-
};
|
2456
|
-
} | null | undefined;
|
2457
|
-
maxDistance: number;
|
2458
|
-
enable: boolean;
|
2459
|
-
areas: {
|
2460
|
-
polygon: number[][];
|
2461
|
-
}[];
|
2462
|
-
};
|
2463
|
-
};
|
2464
|
-
assets: {
|
2465
|
-
groups: {
|
2466
|
-
key: "pos" | "portal";
|
2467
|
-
assets: {
|
2468
|
-
type: "image" | "lottie";
|
2469
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
2470
|
-
path: string;
|
2471
|
-
files: {
|
2472
|
-
responsive?: {
|
2473
|
-
mobile?: string | null | undefined;
|
2474
|
-
tablet?: string | null | undefined;
|
2475
|
-
desktop?: string | null | undefined;
|
2476
|
-
} | null | undefined;
|
2477
|
-
url: string;
|
2478
|
-
createdAt: string;
|
2479
|
-
config: {
|
2480
|
-
useWhen: {
|
2481
|
-
end: string;
|
2482
|
-
start: string;
|
2483
|
-
};
|
2484
|
-
recurring: boolean;
|
2485
|
-
};
|
2486
|
-
lastUpdate: string;
|
2487
|
-
}[];
|
2033
|
+
url: string;
|
2034
|
+
createdAt: string;
|
2035
|
+
config: {
|
2036
|
+
useWhen: {
|
2037
|
+
end: string;
|
2038
|
+
start: string;
|
2039
|
+
};
|
2040
|
+
recurring: boolean;
|
2041
|
+
};
|
2042
|
+
lastUpdate: string;
|
2043
|
+
}[];
|
2488
2044
|
}[];
|
2489
2045
|
}[];
|
2490
2046
|
};
|
@@ -2497,7 +2053,7 @@ export declare const useCoreStore: () => {
|
|
2497
2053
|
};
|
2498
2054
|
};
|
2499
2055
|
} | null;
|
2500
|
-
} & import("pinia").PiniaCustomStateProperties<
|
2056
|
+
} & import("pinia").PiniaCustomStateProperties<Pick<{
|
2501
2057
|
signIn: () => Promise<void>;
|
2502
2058
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
2503
2059
|
signOut: () => Promise<void>;
|
@@ -2575,7 +2131,7 @@ export declare const useCoreStore: () => {
|
|
2575
2131
|
attributeSettings?: {
|
2576
2132
|
type: "string" | "number" | "boolean" | "date";
|
2577
2133
|
key: string;
|
2578
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2134
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2579
2135
|
}[] | null | undefined;
|
2580
2136
|
pf_agent?: {
|
2581
2137
|
clickupId?: string | null | undefined;
|
@@ -2642,7 +2198,7 @@ export declare const useCoreStore: () => {
|
|
2642
2198
|
attributeSettings?: {
|
2643
2199
|
type: "string" | "number" | "boolean" | "date";
|
2644
2200
|
key: string;
|
2645
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2201
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2646
2202
|
}[] | null | undefined;
|
2647
2203
|
pf_agent?: {
|
2648
2204
|
clickupId?: string | null | undefined;
|
@@ -2707,6 +2263,31 @@ export declare const useCoreStore: () => {
|
|
2707
2263
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
2708
2264
|
restaurants: import("vue").Ref<{
|
2709
2265
|
managable: boolean;
|
2266
|
+
pickup?: {
|
2267
|
+
catalogId?: string | null | undefined;
|
2268
|
+
autoAccept?: boolean | null | undefined;
|
2269
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2270
|
+
offlinePaymentTypes?: {
|
2271
|
+
name: string;
|
2272
|
+
instruction: string;
|
2273
|
+
}[] | null | undefined;
|
2274
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
2275
|
+
ignoreStock?: boolean | null | undefined;
|
2276
|
+
pickupTime?: {
|
2277
|
+
day: {
|
2278
|
+
max: number;
|
2279
|
+
min: number;
|
2280
|
+
};
|
2281
|
+
} | null | undefined;
|
2282
|
+
pickupPointConfig?: {
|
2283
|
+
restaurantEnable: boolean;
|
2284
|
+
points: {
|
2285
|
+
name: string;
|
2286
|
+
address: string;
|
2287
|
+
coordinates: number[];
|
2288
|
+
}[];
|
2289
|
+
} | null | undefined;
|
2290
|
+
} | null | undefined;
|
2710
2291
|
channel?: string | null | undefined;
|
2711
2292
|
machineId?: string | null | undefined;
|
2712
2293
|
catalogId?: string | null | undefined;
|
@@ -2808,32 +2389,7 @@ export declare const useCoreStore: () => {
|
|
2808
2389
|
}[];
|
2809
2390
|
term: string;
|
2810
2391
|
} | null | undefined;
|
2811
|
-
|
2812
|
-
catalogId?: string | null | undefined;
|
2813
|
-
autoAccept?: boolean | null | undefined;
|
2814
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2815
|
-
offlinePaymentTypes?: {
|
2816
|
-
name: string;
|
2817
|
-
instruction: string;
|
2818
|
-
}[] | null | undefined;
|
2819
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
2820
|
-
ignoreStock?: boolean | null | undefined;
|
2821
|
-
pickupTime?: {
|
2822
|
-
day: {
|
2823
|
-
max: number;
|
2824
|
-
min: number;
|
2825
|
-
};
|
2826
|
-
} | null | undefined;
|
2827
|
-
pickupPointConfig?: {
|
2828
|
-
restaurantEnable: boolean;
|
2829
|
-
points: {
|
2830
|
-
name: string;
|
2831
|
-
address: string;
|
2832
|
-
coordinates: number[];
|
2833
|
-
}[];
|
2834
|
-
} | null | undefined;
|
2835
|
-
} | null | undefined;
|
2836
|
-
dineIn?: {
|
2392
|
+
dineIn?: {
|
2837
2393
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2838
2394
|
offlinePaymentTypes?: {
|
2839
2395
|
name: string;
|
@@ -2853,7 +2409,7 @@ export declare const useCoreStore: () => {
|
|
2853
2409
|
attributeSettings?: {
|
2854
2410
|
type: "string" | "number" | "boolean" | "date";
|
2855
2411
|
key: string;
|
2856
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2412
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2857
2413
|
}[] | null | undefined;
|
2858
2414
|
pf_agent?: {
|
2859
2415
|
clickupId?: string | null | undefined;
|
@@ -3086,6 +2642,31 @@ export declare const useCoreStore: () => {
|
|
3086
2642
|
};
|
3087
2643
|
}[], FmpRestaurant[] | {
|
3088
2644
|
managable: boolean;
|
2645
|
+
pickup?: {
|
2646
|
+
catalogId?: string | null | undefined;
|
2647
|
+
autoAccept?: boolean | null | undefined;
|
2648
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
2649
|
+
offlinePaymentTypes?: {
|
2650
|
+
name: string;
|
2651
|
+
instruction: string;
|
2652
|
+
}[] | null | undefined;
|
2653
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
2654
|
+
ignoreStock?: boolean | null | undefined;
|
2655
|
+
pickupTime?: {
|
2656
|
+
day: {
|
2657
|
+
max: number;
|
2658
|
+
min: number;
|
2659
|
+
};
|
2660
|
+
} | null | undefined;
|
2661
|
+
pickupPointConfig?: {
|
2662
|
+
restaurantEnable: boolean;
|
2663
|
+
points: {
|
2664
|
+
name: string;
|
2665
|
+
address: string;
|
2666
|
+
coordinates: number[];
|
2667
|
+
}[];
|
2668
|
+
} | null | undefined;
|
2669
|
+
} | null | undefined;
|
3089
2670
|
channel?: string | null | undefined;
|
3090
2671
|
machineId?: string | null | undefined;
|
3091
2672
|
catalogId?: string | null | undefined;
|
@@ -3187,31 +2768,6 @@ export declare const useCoreStore: () => {
|
|
3187
2768
|
}[];
|
3188
2769
|
term: string;
|
3189
2770
|
} | null | undefined;
|
3190
|
-
pickup?: {
|
3191
|
-
catalogId?: string | null | undefined;
|
3192
|
-
autoAccept?: boolean | null | undefined;
|
3193
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3194
|
-
offlinePaymentTypes?: {
|
3195
|
-
name: string;
|
3196
|
-
instruction: string;
|
3197
|
-
}[] | null | undefined;
|
3198
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
3199
|
-
ignoreStock?: boolean | null | undefined;
|
3200
|
-
pickupTime?: {
|
3201
|
-
day: {
|
3202
|
-
max: number;
|
3203
|
-
min: number;
|
3204
|
-
};
|
3205
|
-
} | null | undefined;
|
3206
|
-
pickupPointConfig?: {
|
3207
|
-
restaurantEnable: boolean;
|
3208
|
-
points: {
|
3209
|
-
name: string;
|
3210
|
-
address: string;
|
3211
|
-
coordinates: number[];
|
3212
|
-
}[];
|
3213
|
-
} | null | undefined;
|
3214
|
-
} | null | undefined;
|
3215
2771
|
dineIn?: {
|
3216
2772
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3217
2773
|
offlinePaymentTypes?: {
|
@@ -3232,7 +2788,7 @@ export declare const useCoreStore: () => {
|
|
3232
2788
|
attributeSettings?: {
|
3233
2789
|
type: "string" | "number" | "boolean" | "date";
|
3234
2790
|
key: string;
|
3235
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
2791
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3236
2792
|
}[] | null | undefined;
|
3237
2793
|
pf_agent?: {
|
3238
2794
|
clickupId?: string | null | undefined;
|
@@ -3466,6 +3022,31 @@ export declare const useCoreStore: () => {
|
|
3466
3022
|
}[]>;
|
3467
3023
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
3468
3024
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
3025
|
+
pickup?: {
|
3026
|
+
catalogId?: string | null | undefined;
|
3027
|
+
autoAccept?: boolean | null | undefined;
|
3028
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3029
|
+
offlinePaymentTypes?: {
|
3030
|
+
name: string;
|
3031
|
+
instruction: string;
|
3032
|
+
}[] | null | undefined;
|
3033
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3034
|
+
ignoreStock?: boolean | null | undefined;
|
3035
|
+
pickupTime?: {
|
3036
|
+
day: {
|
3037
|
+
max: number;
|
3038
|
+
min: number;
|
3039
|
+
};
|
3040
|
+
} | null | undefined;
|
3041
|
+
pickupPointConfig?: {
|
3042
|
+
restaurantEnable: boolean;
|
3043
|
+
points: {
|
3044
|
+
name: string;
|
3045
|
+
address: string;
|
3046
|
+
coordinates: number[];
|
3047
|
+
}[];
|
3048
|
+
} | null | undefined;
|
3049
|
+
} | null | undefined;
|
3469
3050
|
catalogId?: string | null | undefined;
|
3470
3051
|
takeaway?: {
|
3471
3052
|
catalogId?: string | null | undefined;
|
@@ -3564,31 +3145,6 @@ export declare const useCoreStore: () => {
|
|
3564
3145
|
}[];
|
3565
3146
|
term: string;
|
3566
3147
|
} | null | undefined;
|
3567
|
-
pickup?: {
|
3568
|
-
catalogId?: string | null | undefined;
|
3569
|
-
autoAccept?: boolean | null | undefined;
|
3570
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3571
|
-
offlinePaymentTypes?: {
|
3572
|
-
name: string;
|
3573
|
-
instruction: string;
|
3574
|
-
}[] | null | undefined;
|
3575
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
3576
|
-
ignoreStock?: boolean | null | undefined;
|
3577
|
-
pickupTime?: {
|
3578
|
-
day: {
|
3579
|
-
max: number;
|
3580
|
-
min: number;
|
3581
|
-
};
|
3582
|
-
} | null | undefined;
|
3583
|
-
pickupPointConfig?: {
|
3584
|
-
restaurantEnable: boolean;
|
3585
|
-
points: {
|
3586
|
-
name: string;
|
3587
|
-
address: string;
|
3588
|
-
coordinates: number[];
|
3589
|
-
}[];
|
3590
|
-
} | null | undefined;
|
3591
|
-
} | null | undefined;
|
3592
3148
|
dineIn?: {
|
3593
3149
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3594
3150
|
offlinePaymentTypes?: {
|
@@ -3691,6 +3247,12 @@ export declare const useCoreStore: () => {
|
|
3691
3247
|
taxCode: string;
|
3692
3248
|
systemCode: string;
|
3693
3249
|
}[] | null | undefined;
|
3250
|
+
reasonTemplates?: {
|
3251
|
+
action: string;
|
3252
|
+
reasons: string[];
|
3253
|
+
compulsory: boolean;
|
3254
|
+
allowOther: boolean;
|
3255
|
+
}[] | null | undefined;
|
3694
3256
|
_id: string;
|
3695
3257
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
3696
3258
|
printReceipt: boolean;
|
@@ -3701,107 +3263,6 @@ export declare const useCoreStore: () => {
|
|
3701
3263
|
} | null>;
|
3702
3264
|
readRestaurants: () => Promise<{
|
3703
3265
|
managable: boolean;
|
3704
|
-
channel?: string | null | undefined;
|
3705
|
-
machineId?: string | null | undefined;
|
3706
|
-
catalogId?: string | null | undefined;
|
3707
|
-
customAttributes?: Record<string, any> | null | undefined;
|
3708
|
-
takeaway?: {
|
3709
|
-
catalogId?: string | null | undefined;
|
3710
|
-
} | null | undefined;
|
3711
|
-
inHouseDelivery?: {
|
3712
|
-
taxes?: Record<string, {
|
3713
|
-
inclusive: boolean;
|
3714
|
-
taxCode: string;
|
3715
|
-
systemCode: string;
|
3716
|
-
}> | null | undefined;
|
3717
|
-
autoAccept?: boolean | null | undefined;
|
3718
|
-
deliveryTime?: {
|
3719
|
-
time?: string[] | null | undefined;
|
3720
|
-
custom?: {
|
3721
|
-
0: {
|
3722
|
-
hours: {
|
3723
|
-
end: string;
|
3724
|
-
start: string;
|
3725
|
-
}[];
|
3726
|
-
enable: boolean;
|
3727
|
-
};
|
3728
|
-
2: {
|
3729
|
-
hours: {
|
3730
|
-
end: string;
|
3731
|
-
start: string;
|
3732
|
-
}[];
|
3733
|
-
enable: boolean;
|
3734
|
-
};
|
3735
|
-
1: {
|
3736
|
-
hours: {
|
3737
|
-
end: string;
|
3738
|
-
start: string;
|
3739
|
-
}[];
|
3740
|
-
enable: boolean;
|
3741
|
-
};
|
3742
|
-
3: {
|
3743
|
-
hours: {
|
3744
|
-
end: string;
|
3745
|
-
start: string;
|
3746
|
-
}[];
|
3747
|
-
enable: boolean;
|
3748
|
-
};
|
3749
|
-
4: {
|
3750
|
-
hours: {
|
3751
|
-
end: string;
|
3752
|
-
start: string;
|
3753
|
-
}[];
|
3754
|
-
enable: boolean;
|
3755
|
-
};
|
3756
|
-
5: {
|
3757
|
-
hours: {
|
3758
|
-
end: string;
|
3759
|
-
start: string;
|
3760
|
-
}[];
|
3761
|
-
enable: boolean;
|
3762
|
-
};
|
3763
|
-
6: {
|
3764
|
-
hours: {
|
3765
|
-
end: string;
|
3766
|
-
start: string;
|
3767
|
-
}[];
|
3768
|
-
enable: boolean;
|
3769
|
-
};
|
3770
|
-
} | null | undefined;
|
3771
|
-
day: {
|
3772
|
-
max: number;
|
3773
|
-
min: number;
|
3774
|
-
};
|
3775
|
-
} | null | undefined;
|
3776
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3777
|
-
offlinePaymentTypes?: {
|
3778
|
-
name: string;
|
3779
|
-
instruction: string;
|
3780
|
-
}[] | null | undefined;
|
3781
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
3782
|
-
ignoreStock?: boolean | null | undefined;
|
3783
|
-
catalogId: string | null;
|
3784
|
-
enable: boolean;
|
3785
|
-
areas: {
|
3786
|
-
minPurchase?: {
|
3787
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3788
|
-
amount: number;
|
3789
|
-
precision: number;
|
3790
|
-
} | null | undefined;
|
3791
|
-
freeAfterTotal?: {
|
3792
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3793
|
-
amount: number;
|
3794
|
-
precision: number;
|
3795
|
-
} | null | undefined;
|
3796
|
-
polygon: number[][];
|
3797
|
-
deliveryFee: {
|
3798
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
3799
|
-
amount: number;
|
3800
|
-
precision: number;
|
3801
|
-
};
|
3802
|
-
}[];
|
3803
|
-
term: string;
|
3804
|
-
} | null | undefined;
|
3805
3266
|
pickup?: {
|
3806
3267
|
catalogId?: string | null | undefined;
|
3807
3268
|
autoAccept?: boolean | null | undefined;
|
@@ -3818,1046 +3279,15 @@ export declare const useCoreStore: () => {
|
|
3818
3279
|
min: number;
|
3819
3280
|
};
|
3820
3281
|
} | null | undefined;
|
3821
|
-
pickupPointConfig?: {
|
3822
|
-
restaurantEnable: boolean;
|
3823
|
-
points: {
|
3824
|
-
name: string;
|
3825
|
-
address: string;
|
3826
|
-
coordinates: number[];
|
3827
|
-
}[];
|
3828
|
-
} | null | undefined;
|
3829
|
-
} | null | undefined;
|
3830
|
-
dineIn?: {
|
3831
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3832
|
-
offlinePaymentTypes?: {
|
3833
|
-
name: string;
|
3834
|
-
instruction: string;
|
3835
|
-
}[] | null | undefined;
|
3836
|
-
ignoreStock?: boolean | null | undefined;
|
3837
|
-
staticQr?: boolean | null | undefined;
|
3838
|
-
disableItemRemark?: boolean | null | undefined;
|
3839
|
-
acceptQueue?: boolean | null | undefined;
|
3840
|
-
anonymousOrder: boolean;
|
3841
|
-
} | null | undefined;
|
3842
|
-
pf_business?: {
|
3843
|
-
internal?: boolean | null | undefined;
|
3844
|
-
url?: string | null | undefined;
|
3845
|
-
expiredAt?: string | null | undefined;
|
3846
|
-
agentId?: string | null | undefined;
|
3847
|
-
attributeSettings?: {
|
3848
|
-
type: "string" | "number" | "boolean" | "date";
|
3849
|
-
key: string;
|
3850
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3851
|
-
}[] | null | undefined;
|
3852
|
-
pf_agent?: {
|
3853
|
-
clickupId?: string | null | undefined;
|
3854
|
-
members?: {
|
3855
|
-
pf_user?: {
|
3856
|
-
email?: string | null | undefined;
|
3857
|
-
phoneNumber?: string | null | undefined;
|
3858
|
-
birthday?: string | null | undefined;
|
3859
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
3860
|
-
addresses?: {
|
3861
|
-
name: string;
|
3862
|
-
address: string;
|
3863
|
-
coordinates: number[];
|
3864
|
-
}[] | null | undefined;
|
3865
|
-
photoURL?: string | null | undefined;
|
3866
|
-
displayName?: string | null | undefined;
|
3867
|
-
imported?: {
|
3868
|
-
raw: Record<string, any>;
|
3869
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
3870
|
-
} | null | undefined;
|
3871
|
-
_id: string;
|
3872
|
-
} | null | undefined;
|
3873
|
-
role: "ADMIN";
|
3874
|
-
userId: string;
|
3875
|
-
}[] | null | undefined;
|
3876
|
-
code: string;
|
3877
|
-
name: string;
|
3878
|
-
_id: string;
|
3879
|
-
isReseller: boolean;
|
3880
|
-
} | null | undefined;
|
3881
|
-
thumbnail?: string | null | undefined;
|
3882
|
-
billingInfos?: {
|
3883
|
-
_id?: string | null | undefined;
|
3884
|
-
name: string;
|
3885
|
-
address: {
|
3886
|
-
coordinates?: number[] | null | undefined;
|
3887
|
-
line2?: string | null | undefined;
|
3888
|
-
state: string;
|
3889
|
-
country: string;
|
3890
|
-
line1: string;
|
3891
|
-
city: string;
|
3892
|
-
postcode: string;
|
3893
|
-
};
|
3894
|
-
email: string;
|
3895
|
-
companyName: string;
|
3896
|
-
contact: string;
|
3897
|
-
}[] | null | undefined;
|
3898
|
-
customerDisplayImages?: {
|
3899
|
-
url: string;
|
3900
|
-
restaurantIds: string[];
|
3901
|
-
}[] | null | undefined;
|
3902
|
-
name: string;
|
3903
|
-
_id: string;
|
3904
|
-
ownerId: string;
|
3905
|
-
restaurantQuota: number;
|
3906
|
-
warehouseQuota: number;
|
3907
|
-
menuVersion: string;
|
3908
|
-
} | null | undefined;
|
3909
|
-
features?: string[] | null | undefined;
|
3910
|
-
machineOtp?: string | null | undefined;
|
3911
|
-
machineOtpExpiredAt?: string | null | undefined;
|
3912
|
-
posVersion?: string | null | undefined;
|
3913
|
-
posHeartbeat?: string | null | undefined;
|
3914
|
-
posVersionHistory?: Record<string, string> | null | undefined;
|
3915
|
-
additionalCatalogs?: string[] | null | undefined;
|
3916
|
-
feedmeDelivery?: {
|
3917
|
-
instruction?: string | null | undefined;
|
3918
|
-
catalogId?: string | null | undefined;
|
3919
|
-
autoAccept?: boolean | null | undefined;
|
3920
|
-
term?: string | null | undefined;
|
3921
|
-
ignoreStock?: boolean | null | undefined;
|
3922
|
-
enable: boolean;
|
3923
|
-
} | null | undefined;
|
3924
|
-
foodpandaDelivery?: {
|
3925
|
-
_id?: string | undefined;
|
3926
|
-
ignoreDiscount?: boolean | null | undefined;
|
3927
|
-
catalogId?: string | null | undefined;
|
3928
|
-
commissionRate?: number | null | undefined;
|
3929
|
-
lastSynchronize?: string | null | undefined;
|
3930
|
-
showProductAddon?: boolean | null | undefined;
|
3931
|
-
autoAccept?: boolean | null | undefined;
|
3932
|
-
reportConfig?: {
|
3933
|
-
commissionRate: number;
|
3934
|
-
discountCampaigns: {
|
3935
|
-
name: string;
|
3936
|
-
date: {
|
3937
|
-
end: string;
|
3938
|
-
start: string;
|
3939
|
-
};
|
3940
|
-
vendorBearPercentage: number;
|
3941
|
-
}[];
|
3942
|
-
} | null | undefined;
|
3943
|
-
hasSst?: boolean | null | undefined;
|
3944
|
-
enable: boolean;
|
3945
|
-
remoteId: string;
|
3946
|
-
autoCloseBill: boolean;
|
3947
|
-
} | null | undefined;
|
3948
|
-
grabfoodDelivery?: {
|
3949
|
-
_id?: string | undefined;
|
3950
|
-
catalogId?: string | null | undefined;
|
3951
|
-
lastSynchronize?: string | null | undefined;
|
3952
|
-
showProductAddon?: boolean | null | undefined;
|
3953
|
-
enable: boolean;
|
3954
|
-
commissionRate: number;
|
3955
|
-
autoCloseBill: boolean;
|
3956
|
-
merchantID: string;
|
3957
|
-
} | null | undefined;
|
3958
|
-
shopeefoodDelivery?: {
|
3959
|
-
_id?: string | undefined;
|
3960
|
-
catalogId?: string | null | undefined;
|
3961
|
-
lastSynchronize?: string | null | undefined;
|
3962
|
-
showProductAddon?: boolean | null | undefined;
|
3963
|
-
enable: boolean;
|
3964
|
-
autoCloseBill: boolean;
|
3965
|
-
reportConfig: {
|
3966
|
-
commissionRate: number;
|
3967
|
-
discountCampaigns: {
|
3968
|
-
name: string;
|
3969
|
-
date: {
|
3970
|
-
end: string;
|
3971
|
-
start: string;
|
3972
|
-
};
|
3973
|
-
vendorBearPercentage: number;
|
3974
|
-
}[];
|
3975
|
-
};
|
3976
|
-
storeID: string;
|
3977
|
-
} | null | undefined;
|
3978
|
-
couchDbPassword?: string | null | undefined;
|
3979
|
-
apiToken?: string | null | undefined;
|
3980
|
-
remoteSupports?: {
|
3981
|
-
anydeskId?: string | null | undefined;
|
3982
|
-
anydeskPassword?: string | null | undefined;
|
3983
|
-
deviceName: string;
|
3984
|
-
}[] | null | undefined;
|
3985
|
-
payoutAccount?: Record<string, any> | null | undefined;
|
3986
|
-
clearCount?: number | null | undefined;
|
3987
|
-
queueSetting?: {
|
3988
|
-
duration?: number | null | undefined;
|
3989
|
-
enableOrder: boolean;
|
3990
|
-
initialNumber: number;
|
3991
|
-
endNumber: number;
|
3992
|
-
currentNumber: number;
|
3993
|
-
autoCalledLimit: number;
|
3994
|
-
} | null | undefined;
|
3995
|
-
tableMappingSetting?: {
|
3996
|
-
enable?: boolean | null | undefined;
|
3997
|
-
showSeat?: boolean | null | undefined;
|
3998
|
-
mapBorderColor?: number | null | undefined;
|
3999
|
-
mapLineColor?: number | null | undefined;
|
4000
|
-
} | null | undefined;
|
4001
|
-
_id: string;
|
4002
|
-
expiredAt: string;
|
4003
|
-
businessId: string;
|
4004
|
-
profile: {
|
4005
|
-
code?: string | null | undefined;
|
4006
|
-
url?: string | null | undefined;
|
4007
|
-
description?: string | null | undefined;
|
4008
|
-
_id?: string | null | undefined;
|
4009
|
-
legalName?: string | null | undefined;
|
4010
|
-
sstRegNo?: string | null | undefined;
|
4011
|
-
discovery?: boolean | null | undefined;
|
4012
|
-
coverPhoto?: string | null | undefined;
|
4013
|
-
thumbnailPhoto?: string | null | undefined;
|
4014
|
-
photos?: string[] | null | undefined;
|
4015
|
-
operatingHours?: {
|
4016
|
-
0: {
|
4017
|
-
hours: {
|
4018
|
-
end: string;
|
4019
|
-
start: string;
|
4020
|
-
}[];
|
4021
|
-
enable: boolean;
|
4022
|
-
};
|
4023
|
-
2: {
|
4024
|
-
hours: {
|
4025
|
-
end: string;
|
4026
|
-
start: string;
|
4027
|
-
}[];
|
4028
|
-
enable: boolean;
|
4029
|
-
};
|
4030
|
-
1: {
|
4031
|
-
hours: {
|
4032
|
-
end: string;
|
4033
|
-
start: string;
|
4034
|
-
}[];
|
4035
|
-
enable: boolean;
|
4036
|
-
};
|
4037
|
-
3: {
|
4038
|
-
hours: {
|
4039
|
-
end: string;
|
4040
|
-
start: string;
|
4041
|
-
}[];
|
4042
|
-
enable: boolean;
|
4043
|
-
};
|
4044
|
-
4: {
|
4045
|
-
hours: {
|
4046
|
-
end: string;
|
4047
|
-
start: string;
|
4048
|
-
}[];
|
4049
|
-
enable: boolean;
|
4050
|
-
};
|
4051
|
-
5: {
|
4052
|
-
hours: {
|
4053
|
-
end: string;
|
4054
|
-
start: string;
|
4055
|
-
}[];
|
4056
|
-
enable: boolean;
|
4057
|
-
};
|
4058
|
-
6: {
|
4059
|
-
hours: {
|
4060
|
-
end: string;
|
4061
|
-
start: string;
|
4062
|
-
}[];
|
4063
|
-
enable: boolean;
|
4064
|
-
};
|
4065
|
-
} | null | undefined;
|
4066
|
-
tags?: string[] | null | undefined;
|
4067
|
-
name: string;
|
4068
|
-
address: {
|
4069
|
-
coordinates?: number[] | null | undefined;
|
4070
|
-
line2?: string | null | undefined;
|
4071
|
-
state: string;
|
4072
|
-
country: string;
|
4073
|
-
line1: string;
|
4074
|
-
city: string;
|
4075
|
-
postcode: string;
|
4076
|
-
};
|
4077
|
-
email: string;
|
4078
|
-
phoneNo: string;
|
4079
|
-
regNo: string;
|
4080
|
-
};
|
4081
|
-
}[] | undefined>;
|
4082
|
-
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
4083
|
-
getApps: (_t?: ReturnType<typeof useI18n>["t"]) => PortalApp[];
|
4084
|
-
selectedApp: import("vue").Ref<PortalApp | undefined, PortalApp | undefined>;
|
4085
|
-
selectApp: (app: PortalApp) => void;
|
4086
|
-
isInternalOrAgent: import("vue").ComputedRef<boolean | undefined>;
|
4087
|
-
getDeveloperApps: (_t?: ReturnType<typeof useI18n>["t"]) => PortalApp[];
|
4088
|
-
/**
|
4089
|
-
* @description hide or show the menu **Desktop only**
|
4090
|
-
*/
|
4091
|
-
hideSidebar: import("vue").Ref<boolean, boolean>;
|
4092
|
-
/**
|
4093
|
-
* @description hide or show the menu **Desktop only**
|
4094
|
-
*/
|
4095
|
-
hideSidebarToggle: (hide?: boolean) => void;
|
4096
|
-
sidebarComponent: import("vue").ShallowRef<any, any>;
|
4097
|
-
registerSidebarComponent: (component: any) => void;
|
4098
|
-
/**
|
4099
|
-
* @description if is currently embedded as iframe in another app
|
4100
|
-
*/
|
4101
|
-
isEmbedded: import("vue").Ref<boolean, boolean>;
|
4102
|
-
setEmbdded: (value: boolean) => void;
|
4103
|
-
setEmbedded: (value: boolean) => void;
|
4104
|
-
publicSetting: import("vue").Ref<{
|
4105
|
-
delivery: {
|
4106
|
-
feedMe: {
|
4107
|
-
operatingHours?: {
|
4108
|
-
0: {
|
4109
|
-
hours: {
|
4110
|
-
end: string;
|
4111
|
-
start: string;
|
4112
|
-
}[];
|
4113
|
-
enable: boolean;
|
4114
|
-
};
|
4115
|
-
2: {
|
4116
|
-
hours: {
|
4117
|
-
end: string;
|
4118
|
-
start: string;
|
4119
|
-
}[];
|
4120
|
-
enable: boolean;
|
4121
|
-
};
|
4122
|
-
1: {
|
4123
|
-
hours: {
|
4124
|
-
end: string;
|
4125
|
-
start: string;
|
4126
|
-
}[];
|
4127
|
-
enable: boolean;
|
4128
|
-
};
|
4129
|
-
3: {
|
4130
|
-
hours: {
|
4131
|
-
end: string;
|
4132
|
-
start: string;
|
4133
|
-
}[];
|
4134
|
-
enable: boolean;
|
4135
|
-
};
|
4136
|
-
4: {
|
4137
|
-
hours: {
|
4138
|
-
end: string;
|
4139
|
-
start: string;
|
4140
|
-
}[];
|
4141
|
-
enable: boolean;
|
4142
|
-
};
|
4143
|
-
5: {
|
4144
|
-
hours: {
|
4145
|
-
end: string;
|
4146
|
-
start: string;
|
4147
|
-
}[];
|
4148
|
-
enable: boolean;
|
4149
|
-
};
|
4150
|
-
6: {
|
4151
|
-
hours: {
|
4152
|
-
end: string;
|
4153
|
-
start: string;
|
4154
|
-
}[];
|
4155
|
-
enable: boolean;
|
4156
|
-
};
|
4157
|
-
} | null | undefined;
|
4158
|
-
maxDistance: number;
|
4159
|
-
enable: boolean;
|
4160
|
-
areas: {
|
4161
|
-
polygon: number[][];
|
4162
|
-
}[];
|
4163
|
-
};
|
4164
|
-
};
|
4165
|
-
assets: {
|
4166
|
-
groups: {
|
4167
|
-
key: "pos" | "portal";
|
4168
|
-
assets: {
|
4169
|
-
type: "image" | "lottie";
|
4170
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
4171
|
-
path: string;
|
4172
|
-
files: {
|
4173
|
-
responsive?: {
|
4174
|
-
mobile?: string | null | undefined;
|
4175
|
-
tablet?: string | null | undefined;
|
4176
|
-
desktop?: string | null | undefined;
|
4177
|
-
} | null | undefined;
|
4178
|
-
url: string;
|
4179
|
-
createdAt: string;
|
4180
|
-
config: {
|
4181
|
-
useWhen: {
|
4182
|
-
end: string;
|
4183
|
-
start: string;
|
4184
|
-
};
|
4185
|
-
recurring: boolean;
|
4186
|
-
};
|
4187
|
-
lastUpdate: string;
|
4188
|
-
}[];
|
4189
|
-
}[];
|
4190
|
-
}[];
|
4191
|
-
};
|
4192
|
-
sms: {
|
4193
|
-
firebase: boolean;
|
4194
|
-
};
|
4195
|
-
aiSettings: {
|
4196
|
-
remy: {
|
4197
|
-
enable: boolean;
|
4198
|
-
};
|
4199
|
-
};
|
4200
|
-
} | null, PublicSettingApi | {
|
4201
|
-
delivery: {
|
4202
|
-
feedMe: {
|
4203
|
-
operatingHours?: {
|
4204
|
-
0: {
|
4205
|
-
hours: {
|
4206
|
-
end: string;
|
4207
|
-
start: string;
|
4208
|
-
}[];
|
4209
|
-
enable: boolean;
|
4210
|
-
};
|
4211
|
-
2: {
|
4212
|
-
hours: {
|
4213
|
-
end: string;
|
4214
|
-
start: string;
|
4215
|
-
}[];
|
4216
|
-
enable: boolean;
|
4217
|
-
};
|
4218
|
-
1: {
|
4219
|
-
hours: {
|
4220
|
-
end: string;
|
4221
|
-
start: string;
|
4222
|
-
}[];
|
4223
|
-
enable: boolean;
|
4224
|
-
};
|
4225
|
-
3: {
|
4226
|
-
hours: {
|
4227
|
-
end: string;
|
4228
|
-
start: string;
|
4229
|
-
}[];
|
4230
|
-
enable: boolean;
|
4231
|
-
};
|
4232
|
-
4: {
|
4233
|
-
hours: {
|
4234
|
-
end: string;
|
4235
|
-
start: string;
|
4236
|
-
}[];
|
4237
|
-
enable: boolean;
|
4238
|
-
};
|
4239
|
-
5: {
|
4240
|
-
hours: {
|
4241
|
-
end: string;
|
4242
|
-
start: string;
|
4243
|
-
}[];
|
4244
|
-
enable: boolean;
|
4245
|
-
};
|
4246
|
-
6: {
|
4247
|
-
hours: {
|
4248
|
-
end: string;
|
4249
|
-
start: string;
|
4250
|
-
}[];
|
4251
|
-
enable: boolean;
|
4252
|
-
};
|
4253
|
-
} | null | undefined;
|
4254
|
-
maxDistance: number;
|
4255
|
-
enable: boolean;
|
4256
|
-
areas: {
|
4257
|
-
polygon: number[][];
|
4258
|
-
}[];
|
4259
|
-
};
|
4260
|
-
};
|
4261
|
-
assets: {
|
4262
|
-
groups: {
|
4263
|
-
key: "pos" | "portal";
|
4264
|
-
assets: {
|
4265
|
-
type: "image" | "lottie";
|
4266
|
-
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
4267
|
-
path: string;
|
4268
|
-
files: {
|
4269
|
-
responsive?: {
|
4270
|
-
mobile?: string | null | undefined;
|
4271
|
-
tablet?: string | null | undefined;
|
4272
|
-
desktop?: string | null | undefined;
|
4273
|
-
} | null | undefined;
|
4274
|
-
url: string;
|
4275
|
-
createdAt: string;
|
4276
|
-
config: {
|
4277
|
-
useWhen: {
|
4278
|
-
end: string;
|
4279
|
-
start: string;
|
4280
|
-
};
|
4281
|
-
recurring: boolean;
|
4282
|
-
};
|
4283
|
-
lastUpdate: string;
|
4284
|
-
}[];
|
4285
|
-
}[];
|
4286
|
-
}[];
|
4287
|
-
};
|
4288
|
-
sms: {
|
4289
|
-
firebase: boolean;
|
4290
|
-
};
|
4291
|
-
aiSettings: {
|
4292
|
-
remy: {
|
4293
|
-
enable: boolean;
|
4294
|
-
};
|
4295
|
-
};
|
4296
|
-
} | null>;
|
4297
|
-
readPublicSetting: () => Promise<PublicSettingApi>;
|
4298
|
-
restaurantAttributeSettings: import("vue").ComputedRef<{
|
4299
|
-
type: "string" | "number" | "boolean" | "date";
|
4300
|
-
key: string;
|
4301
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4302
|
-
}[]>;
|
4303
|
-
itemAttributeSettings: import("vue").ComputedRef<{
|
4304
|
-
type: "string" | "number" | "boolean" | "date";
|
4305
|
-
key: string;
|
4306
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4307
|
-
}[]>;
|
4308
|
-
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
4309
|
-
pushDataLayer: typeof pushDataLayer;
|
4310
|
-
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting">>>;
|
4311
|
-
$patch(partialState: import("pinia")._DeepPartial<{
|
4312
|
-
sessionUser: {
|
4313
|
-
id: string;
|
4314
|
-
email?: string | null | undefined;
|
4315
|
-
photoURL?: string | null | undefined;
|
4316
|
-
displayName?: string | null | undefined;
|
4317
|
-
phoneNumber?: string | null | undefined;
|
4318
|
-
_role?: string | undefined;
|
4319
|
-
role: {
|
4320
|
-
isAdmin: boolean;
|
4321
|
-
isStaff: boolean;
|
4322
|
-
isDebug: boolean;
|
4323
|
-
isAgent: boolean;
|
4324
|
-
};
|
4325
|
-
readonly isInternal: boolean;
|
4326
|
-
readonly token: string | null;
|
4327
|
-
readonly permissions: {
|
4328
|
-
reason?: string | null | undefined;
|
4329
|
-
conditions?: any;
|
4330
|
-
fields?: string[] | null | undefined;
|
4331
|
-
inverted?: boolean | null | undefined;
|
4332
|
-
label: string;
|
4333
|
-
subject: string;
|
4334
|
-
actions: ("delete" | "manage" | "create" | "read" | "update")[];
|
4335
|
-
}[];
|
4336
|
-
getCustomToken: () => Promise<string>;
|
4337
|
-
setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
|
4338
|
-
setPermissions: (permissions: FdoPermissionRule[]) => void;
|
4339
|
-
} | null;
|
4340
|
-
namespace: FmNamespace;
|
4341
|
-
enabledCountries: string[];
|
4342
|
-
currentCountry: string | undefined;
|
4343
|
-
businesses: {
|
4344
|
-
id: string;
|
4345
|
-
internal?: boolean | null | undefined;
|
4346
|
-
url?: string | null | undefined;
|
4347
|
-
expiredAt?: string | null | undefined;
|
4348
|
-
agentId?: string | null | undefined;
|
4349
|
-
attributeSettings?: {
|
4350
|
-
type: "string" | "number" | "boolean" | "date";
|
4351
|
-
key: string;
|
4352
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4353
|
-
}[] | null | undefined;
|
4354
|
-
pf_agent?: {
|
4355
|
-
clickupId?: string | null | undefined;
|
4356
|
-
members?: {
|
4357
|
-
pf_user?: {
|
4358
|
-
email?: string | null | undefined;
|
4359
|
-
phoneNumber?: string | null | undefined;
|
4360
|
-
birthday?: string | null | undefined;
|
4361
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
4362
|
-
addresses?: {
|
4363
|
-
name: string;
|
4364
|
-
address: string;
|
4365
|
-
coordinates: number[];
|
4366
|
-
}[] | null | undefined;
|
4367
|
-
photoURL?: string | null | undefined;
|
4368
|
-
displayName?: string | null | undefined;
|
4369
|
-
imported?: {
|
4370
|
-
raw: Record<string, any>;
|
4371
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
4372
|
-
} | null | undefined;
|
4373
|
-
_id: string;
|
4374
|
-
} | null | undefined;
|
4375
|
-
role: "ADMIN";
|
4376
|
-
userId: string;
|
4377
|
-
}[] | null | undefined;
|
4378
|
-
code: string;
|
4379
|
-
name: string;
|
4380
|
-
_id: string;
|
4381
|
-
isReseller: boolean;
|
4382
|
-
} | null | undefined;
|
4383
|
-
thumbnail?: string | null | undefined;
|
4384
|
-
billingInfos?: {
|
4385
|
-
_id?: string | null | undefined;
|
4386
|
-
name: string;
|
4387
|
-
address: {
|
4388
|
-
coordinates?: number[] | null | undefined;
|
4389
|
-
line2?: string | null | undefined;
|
4390
|
-
state: string;
|
4391
|
-
country: string;
|
4392
|
-
line1: string;
|
4393
|
-
city: string;
|
4394
|
-
postcode: string;
|
4395
|
-
};
|
4396
|
-
email: string;
|
4397
|
-
companyName: string;
|
4398
|
-
contact: string;
|
4399
|
-
}[] | null | undefined;
|
4400
|
-
customerDisplayImages?: {
|
4401
|
-
url: string;
|
4402
|
-
restaurantIds: string[];
|
4403
|
-
}[] | null | undefined;
|
4404
|
-
name: string;
|
4405
|
-
_id: string;
|
4406
|
-
ownerId: string;
|
4407
|
-
restaurantQuota: number;
|
4408
|
-
warehouseQuota: number;
|
4409
|
-
menuVersion: string;
|
4410
|
-
}[];
|
4411
|
-
currentBusiness: {
|
4412
|
-
id: string;
|
4413
|
-
internal?: boolean | null | undefined;
|
4414
|
-
url?: string | null | undefined;
|
4415
|
-
expiredAt?: string | null | undefined;
|
4416
|
-
agentId?: string | null | undefined;
|
4417
|
-
attributeSettings?: {
|
4418
|
-
type: "string" | "number" | "boolean" | "date";
|
4419
|
-
key: string;
|
4420
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4421
|
-
}[] | null | undefined;
|
4422
|
-
pf_agent?: {
|
4423
|
-
clickupId?: string | null | undefined;
|
4424
|
-
members?: {
|
4425
|
-
pf_user?: {
|
4426
|
-
email?: string | null | undefined;
|
4427
|
-
phoneNumber?: string | null | undefined;
|
4428
|
-
birthday?: string | null | undefined;
|
4429
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
4430
|
-
addresses?: {
|
4431
|
-
name: string;
|
4432
|
-
address: string;
|
4433
|
-
coordinates: number[];
|
4434
|
-
}[] | null | undefined;
|
4435
|
-
photoURL?: string | null | undefined;
|
4436
|
-
displayName?: string | null | undefined;
|
4437
|
-
imported?: {
|
4438
|
-
raw: Record<string, any>;
|
4439
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
4440
|
-
} | null | undefined;
|
4441
|
-
_id: string;
|
4442
|
-
} | null | undefined;
|
4443
|
-
role: "ADMIN";
|
4444
|
-
userId: string;
|
4445
|
-
}[] | null | undefined;
|
4446
|
-
code: string;
|
4447
|
-
name: string;
|
4448
|
-
_id: string;
|
4449
|
-
isReseller: boolean;
|
4450
|
-
} | null | undefined;
|
4451
|
-
thumbnail?: string | null | undefined;
|
4452
|
-
billingInfos?: {
|
4453
|
-
_id?: string | null | undefined;
|
4454
|
-
name: string;
|
4455
|
-
address: {
|
4456
|
-
coordinates?: number[] | null | undefined;
|
4457
|
-
line2?: string | null | undefined;
|
4458
|
-
state: string;
|
4459
|
-
country: string;
|
4460
|
-
line1: string;
|
4461
|
-
city: string;
|
4462
|
-
postcode: string;
|
4463
|
-
};
|
4464
|
-
email: string;
|
4465
|
-
companyName: string;
|
4466
|
-
contact: string;
|
4467
|
-
}[] | null | undefined;
|
4468
|
-
customerDisplayImages?: {
|
4469
|
-
url: string;
|
4470
|
-
restaurantIds: string[];
|
4471
|
-
}[] | null | undefined;
|
4472
|
-
name: string;
|
4473
|
-
_id: string;
|
4474
|
-
ownerId: string;
|
4475
|
-
restaurantQuota: number;
|
4476
|
-
warehouseQuota: number;
|
4477
|
-
menuVersion: string;
|
4478
|
-
} | undefined;
|
4479
|
-
restaurants: {
|
4480
|
-
managable: boolean;
|
4481
|
-
channel?: string | null | undefined;
|
4482
|
-
machineId?: string | null | undefined;
|
4483
|
-
catalogId?: string | null | undefined;
|
4484
|
-
customAttributes?: Record<string, any> | null | undefined;
|
4485
|
-
takeaway?: {
|
4486
|
-
catalogId?: string | null | undefined;
|
4487
|
-
} | null | undefined;
|
4488
|
-
inHouseDelivery?: {
|
4489
|
-
taxes?: Record<string, {
|
4490
|
-
inclusive: boolean;
|
4491
|
-
taxCode: string;
|
4492
|
-
systemCode: string;
|
4493
|
-
}> | null | undefined;
|
4494
|
-
autoAccept?: boolean | null | undefined;
|
4495
|
-
deliveryTime?: {
|
4496
|
-
time?: string[] | null | undefined;
|
4497
|
-
custom?: {
|
4498
|
-
0: {
|
4499
|
-
hours: {
|
4500
|
-
end: string;
|
4501
|
-
start: string;
|
4502
|
-
}[];
|
4503
|
-
enable: boolean;
|
4504
|
-
};
|
4505
|
-
2: {
|
4506
|
-
hours: {
|
4507
|
-
end: string;
|
4508
|
-
start: string;
|
4509
|
-
}[];
|
4510
|
-
enable: boolean;
|
4511
|
-
};
|
4512
|
-
1: {
|
4513
|
-
hours: {
|
4514
|
-
end: string;
|
4515
|
-
start: string;
|
4516
|
-
}[];
|
4517
|
-
enable: boolean;
|
4518
|
-
};
|
4519
|
-
3: {
|
4520
|
-
hours: {
|
4521
|
-
end: string;
|
4522
|
-
start: string;
|
4523
|
-
}[];
|
4524
|
-
enable: boolean;
|
4525
|
-
};
|
4526
|
-
4: {
|
4527
|
-
hours: {
|
4528
|
-
end: string;
|
4529
|
-
start: string;
|
4530
|
-
}[];
|
4531
|
-
enable: boolean;
|
4532
|
-
};
|
4533
|
-
5: {
|
4534
|
-
hours: {
|
4535
|
-
end: string;
|
4536
|
-
start: string;
|
4537
|
-
}[];
|
4538
|
-
enable: boolean;
|
4539
|
-
};
|
4540
|
-
6: {
|
4541
|
-
hours: {
|
4542
|
-
end: string;
|
4543
|
-
start: string;
|
4544
|
-
}[];
|
4545
|
-
enable: boolean;
|
4546
|
-
};
|
4547
|
-
} | null | undefined;
|
4548
|
-
day: {
|
4549
|
-
max: number;
|
4550
|
-
min: number;
|
4551
|
-
};
|
4552
|
-
} | null | undefined;
|
4553
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4554
|
-
offlinePaymentTypes?: {
|
4555
|
-
name: string;
|
4556
|
-
instruction: string;
|
4557
|
-
}[] | null | undefined;
|
4558
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
4559
|
-
ignoreStock?: boolean | null | undefined;
|
4560
|
-
catalogId: string | null;
|
4561
|
-
enable: boolean;
|
4562
|
-
areas: {
|
4563
|
-
minPurchase?: {
|
4564
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
4565
|
-
amount: number;
|
4566
|
-
precision: number;
|
4567
|
-
} | null | undefined;
|
4568
|
-
freeAfterTotal?: {
|
4569
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
4570
|
-
amount: number;
|
4571
|
-
precision: number;
|
4572
|
-
} | null | undefined;
|
4573
|
-
polygon: number[][];
|
4574
|
-
deliveryFee: {
|
4575
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
4576
|
-
amount: number;
|
4577
|
-
precision: number;
|
4578
|
-
};
|
4579
|
-
}[];
|
4580
|
-
term: string;
|
4581
|
-
} | null | undefined;
|
4582
|
-
pickup?: {
|
4583
|
-
catalogId?: string | null | undefined;
|
4584
|
-
autoAccept?: boolean | null | undefined;
|
4585
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4586
|
-
offlinePaymentTypes?: {
|
4587
|
-
name: string;
|
4588
|
-
instruction: string;
|
4589
|
-
}[] | null | undefined;
|
4590
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
4591
|
-
ignoreStock?: boolean | null | undefined;
|
4592
|
-
pickupTime?: {
|
4593
|
-
day: {
|
4594
|
-
max: number;
|
4595
|
-
min: number;
|
4596
|
-
};
|
4597
|
-
} | null | undefined;
|
4598
|
-
pickupPointConfig?: {
|
4599
|
-
restaurantEnable: boolean;
|
4600
|
-
points: {
|
4601
|
-
name: string;
|
4602
|
-
address: string;
|
4603
|
-
coordinates: number[];
|
4604
|
-
}[];
|
4605
|
-
} | null | undefined;
|
4606
|
-
} | null | undefined;
|
4607
|
-
dineIn?: {
|
4608
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4609
|
-
offlinePaymentTypes?: {
|
4610
|
-
name: string;
|
4611
|
-
instruction: string;
|
4612
|
-
}[] | null | undefined;
|
4613
|
-
ignoreStock?: boolean | null | undefined;
|
4614
|
-
staticQr?: boolean | null | undefined;
|
4615
|
-
disableItemRemark?: boolean | null | undefined;
|
4616
|
-
acceptQueue?: boolean | null | undefined;
|
4617
|
-
anonymousOrder: boolean;
|
4618
|
-
} | null | undefined;
|
4619
|
-
pf_business?: {
|
4620
|
-
internal?: boolean | null | undefined;
|
4621
|
-
url?: string | null | undefined;
|
4622
|
-
expiredAt?: string | null | undefined;
|
4623
|
-
agentId?: string | null | undefined;
|
4624
|
-
attributeSettings?: {
|
4625
|
-
type: "string" | "number" | "boolean" | "date";
|
4626
|
-
key: string;
|
4627
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4628
|
-
}[] | null | undefined;
|
4629
|
-
pf_agent?: {
|
4630
|
-
clickupId?: string | null | undefined;
|
4631
|
-
members?: {
|
4632
|
-
pf_user?: {
|
4633
|
-
email?: string | null | undefined;
|
4634
|
-
phoneNumber?: string | null | undefined;
|
4635
|
-
birthday?: string | null | undefined;
|
4636
|
-
gender?: "MALE" | "FEMALE" | null | undefined;
|
4637
|
-
addresses?: {
|
4638
|
-
name: string;
|
4639
|
-
address: string;
|
4640
|
-
coordinates: number[];
|
4641
|
-
}[] | null | undefined;
|
4642
|
-
photoURL?: string | null | undefined;
|
4643
|
-
displayName?: string | null | undefined;
|
4644
|
-
imported?: {
|
4645
|
-
raw: Record<string, any>;
|
4646
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
4647
|
-
} | null | undefined;
|
4648
|
-
_id: string;
|
4649
|
-
} | null | undefined;
|
4650
|
-
role: "ADMIN";
|
4651
|
-
userId: string;
|
4652
|
-
}[] | null | undefined;
|
4653
|
-
code: string;
|
4654
|
-
name: string;
|
4655
|
-
_id: string;
|
4656
|
-
isReseller: boolean;
|
4657
|
-
} | null | undefined;
|
4658
|
-
thumbnail?: string | null | undefined;
|
4659
|
-
billingInfos?: {
|
4660
|
-
_id?: string | null | undefined;
|
4661
|
-
name: string;
|
4662
|
-
address: {
|
4663
|
-
coordinates?: number[] | null | undefined;
|
4664
|
-
line2?: string | null | undefined;
|
4665
|
-
state: string;
|
4666
|
-
country: string;
|
4667
|
-
line1: string;
|
4668
|
-
city: string;
|
4669
|
-
postcode: string;
|
4670
|
-
};
|
4671
|
-
email: string;
|
4672
|
-
companyName: string;
|
4673
|
-
contact: string;
|
4674
|
-
}[] | null | undefined;
|
4675
|
-
customerDisplayImages?: {
|
4676
|
-
url: string;
|
4677
|
-
restaurantIds: string[];
|
4678
|
-
}[] | null | undefined;
|
4679
|
-
name: string;
|
4680
|
-
_id: string;
|
4681
|
-
ownerId: string;
|
4682
|
-
restaurantQuota: number;
|
4683
|
-
warehouseQuota: number;
|
4684
|
-
menuVersion: string;
|
4685
|
-
} | null | undefined;
|
4686
|
-
features?: string[] | null | undefined;
|
4687
|
-
machineOtp?: string | null | undefined;
|
4688
|
-
machineOtpExpiredAt?: string | null | undefined;
|
4689
|
-
posVersion?: string | null | undefined;
|
4690
|
-
posHeartbeat?: string | null | undefined;
|
4691
|
-
posVersionHistory?: Record<string, string> | null | undefined;
|
4692
|
-
additionalCatalogs?: string[] | null | undefined;
|
4693
|
-
feedmeDelivery?: {
|
4694
|
-
instruction?: string | null | undefined;
|
4695
|
-
catalogId?: string | null | undefined;
|
4696
|
-
autoAccept?: boolean | null | undefined;
|
4697
|
-
term?: string | null | undefined;
|
4698
|
-
ignoreStock?: boolean | null | undefined;
|
4699
|
-
enable: boolean;
|
4700
|
-
} | null | undefined;
|
4701
|
-
foodpandaDelivery?: {
|
4702
|
-
_id?: string | undefined;
|
4703
|
-
ignoreDiscount?: boolean | null | undefined;
|
4704
|
-
catalogId?: string | null | undefined;
|
4705
|
-
commissionRate?: number | null | undefined;
|
4706
|
-
lastSynchronize?: string | null | undefined;
|
4707
|
-
showProductAddon?: boolean | null | undefined;
|
4708
|
-
autoAccept?: boolean | null | undefined;
|
4709
|
-
reportConfig?: {
|
4710
|
-
commissionRate: number;
|
4711
|
-
discountCampaigns: {
|
4712
|
-
name: string;
|
4713
|
-
date: {
|
4714
|
-
end: string;
|
4715
|
-
start: string;
|
4716
|
-
};
|
4717
|
-
vendorBearPercentage: number;
|
4718
|
-
}[];
|
4719
|
-
} | null | undefined;
|
4720
|
-
hasSst?: boolean | null | undefined;
|
4721
|
-
enable: boolean;
|
4722
|
-
remoteId: string;
|
4723
|
-
autoCloseBill: boolean;
|
4724
|
-
} | null | undefined;
|
4725
|
-
grabfoodDelivery?: {
|
4726
|
-
_id?: string | undefined;
|
4727
|
-
catalogId?: string | null | undefined;
|
4728
|
-
lastSynchronize?: string | null | undefined;
|
4729
|
-
showProductAddon?: boolean | null | undefined;
|
4730
|
-
enable: boolean;
|
4731
|
-
commissionRate: number;
|
4732
|
-
autoCloseBill: boolean;
|
4733
|
-
merchantID: string;
|
4734
|
-
} | null | undefined;
|
4735
|
-
shopeefoodDelivery?: {
|
4736
|
-
_id?: string | undefined;
|
4737
|
-
catalogId?: string | null | undefined;
|
4738
|
-
lastSynchronize?: string | null | undefined;
|
4739
|
-
showProductAddon?: boolean | null | undefined;
|
4740
|
-
enable: boolean;
|
4741
|
-
autoCloseBill: boolean;
|
4742
|
-
reportConfig: {
|
4743
|
-
commissionRate: number;
|
4744
|
-
discountCampaigns: {
|
4745
|
-
name: string;
|
4746
|
-
date: {
|
4747
|
-
end: string;
|
4748
|
-
start: string;
|
4749
|
-
};
|
4750
|
-
vendorBearPercentage: number;
|
4751
|
-
}[];
|
4752
|
-
};
|
4753
|
-
storeID: string;
|
4754
|
-
} | null | undefined;
|
4755
|
-
couchDbPassword?: string | null | undefined;
|
4756
|
-
apiToken?: string | null | undefined;
|
4757
|
-
remoteSupports?: {
|
4758
|
-
anydeskId?: string | null | undefined;
|
4759
|
-
anydeskPassword?: string | null | undefined;
|
4760
|
-
deviceName: string;
|
4761
|
-
}[] | null | undefined;
|
4762
|
-
payoutAccount?: Record<string, any> | null | undefined;
|
4763
|
-
clearCount?: number | null | undefined;
|
4764
|
-
queueSetting?: {
|
4765
|
-
duration?: number | null | undefined;
|
4766
|
-
enableOrder: boolean;
|
4767
|
-
initialNumber: number;
|
4768
|
-
endNumber: number;
|
4769
|
-
currentNumber: number;
|
4770
|
-
autoCalledLimit: number;
|
4771
|
-
} | null | undefined;
|
4772
|
-
tableMappingSetting?: {
|
4773
|
-
enable?: boolean | null | undefined;
|
4774
|
-
showSeat?: boolean | null | undefined;
|
4775
|
-
mapBorderColor?: number | null | undefined;
|
4776
|
-
mapLineColor?: number | null | undefined;
|
4777
|
-
} | null | undefined;
|
4778
|
-
_id: string;
|
4779
|
-
expiredAt: string;
|
4780
|
-
businessId: string;
|
4781
|
-
profile: {
|
4782
|
-
code?: string | null | undefined;
|
4783
|
-
url?: string | null | undefined;
|
4784
|
-
description?: string | null | undefined;
|
4785
|
-
_id?: string | null | undefined;
|
4786
|
-
legalName?: string | null | undefined;
|
4787
|
-
sstRegNo?: string | null | undefined;
|
4788
|
-
discovery?: boolean | null | undefined;
|
4789
|
-
coverPhoto?: string | null | undefined;
|
4790
|
-
thumbnailPhoto?: string | null | undefined;
|
4791
|
-
photos?: string[] | null | undefined;
|
4792
|
-
operatingHours?: {
|
4793
|
-
0: {
|
4794
|
-
hours: {
|
4795
|
-
end: string;
|
4796
|
-
start: string;
|
4797
|
-
}[];
|
4798
|
-
enable: boolean;
|
4799
|
-
};
|
4800
|
-
2: {
|
4801
|
-
hours: {
|
4802
|
-
end: string;
|
4803
|
-
start: string;
|
4804
|
-
}[];
|
4805
|
-
enable: boolean;
|
4806
|
-
};
|
4807
|
-
1: {
|
4808
|
-
hours: {
|
4809
|
-
end: string;
|
4810
|
-
start: string;
|
4811
|
-
}[];
|
4812
|
-
enable: boolean;
|
4813
|
-
};
|
4814
|
-
3: {
|
4815
|
-
hours: {
|
4816
|
-
end: string;
|
4817
|
-
start: string;
|
4818
|
-
}[];
|
4819
|
-
enable: boolean;
|
4820
|
-
};
|
4821
|
-
4: {
|
4822
|
-
hours: {
|
4823
|
-
end: string;
|
4824
|
-
start: string;
|
4825
|
-
}[];
|
4826
|
-
enable: boolean;
|
4827
|
-
};
|
4828
|
-
5: {
|
4829
|
-
hours: {
|
4830
|
-
end: string;
|
4831
|
-
start: string;
|
4832
|
-
}[];
|
4833
|
-
enable: boolean;
|
4834
|
-
};
|
4835
|
-
6: {
|
4836
|
-
hours: {
|
4837
|
-
end: string;
|
4838
|
-
start: string;
|
4839
|
-
}[];
|
4840
|
-
enable: boolean;
|
4841
|
-
};
|
4842
|
-
} | null | undefined;
|
4843
|
-
tags?: string[] | null | undefined;
|
4844
|
-
name: string;
|
4845
|
-
address: {
|
4846
|
-
coordinates?: number[] | null | undefined;
|
4847
|
-
line2?: string | null | undefined;
|
4848
|
-
state: string;
|
4849
|
-
country: string;
|
4850
|
-
line1: string;
|
4851
|
-
city: string;
|
4852
|
-
postcode: string;
|
4853
|
-
};
|
4854
|
-
email: string;
|
4855
|
-
phoneNo: string;
|
4856
|
-
regNo: string;
|
4857
|
-
};
|
4858
|
-
}[];
|
4859
|
-
currentRestaurant: {
|
4860
|
-
managable: boolean;
|
3282
|
+
pickupPointConfig?: {
|
3283
|
+
restaurantEnable: boolean;
|
3284
|
+
points: {
|
3285
|
+
name: string;
|
3286
|
+
address: string;
|
3287
|
+
coordinates: number[];
|
3288
|
+
}[];
|
3289
|
+
} | null | undefined;
|
3290
|
+
} | null | undefined;
|
4861
3291
|
channel?: string | null | undefined;
|
4862
3292
|
machineId?: string | null | undefined;
|
4863
3293
|
catalogId?: string | null | undefined;
|
@@ -4959,31 +3389,6 @@ export declare const useCoreStore: () => {
|
|
4959
3389
|
}[];
|
4960
3390
|
term: string;
|
4961
3391
|
} | null | undefined;
|
4962
|
-
pickup?: {
|
4963
|
-
catalogId?: string | null | undefined;
|
4964
|
-
autoAccept?: boolean | null | undefined;
|
4965
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4966
|
-
offlinePaymentTypes?: {
|
4967
|
-
name: string;
|
4968
|
-
instruction: string;
|
4969
|
-
}[] | null | undefined;
|
4970
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
4971
|
-
ignoreStock?: boolean | null | undefined;
|
4972
|
-
pickupTime?: {
|
4973
|
-
day: {
|
4974
|
-
max: number;
|
4975
|
-
min: number;
|
4976
|
-
};
|
4977
|
-
} | null | undefined;
|
4978
|
-
pickupPointConfig?: {
|
4979
|
-
restaurantEnable: boolean;
|
4980
|
-
points: {
|
4981
|
-
name: string;
|
4982
|
-
address: string;
|
4983
|
-
coordinates: number[];
|
4984
|
-
}[];
|
4985
|
-
} | null | undefined;
|
4986
|
-
} | null | undefined;
|
4987
3392
|
dineIn?: {
|
4988
3393
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4989
3394
|
offlinePaymentTypes?: {
|
@@ -5004,7 +3409,7 @@ export declare const useCoreStore: () => {
|
|
5004
3409
|
attributeSettings?: {
|
5005
3410
|
type: "string" | "number" | "boolean" | "date";
|
5006
3411
|
key: string;
|
5007
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3412
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5008
3413
|
}[] | null | undefined;
|
5009
3414
|
pf_agent?: {
|
5010
3415
|
clickupId?: string | null | undefined;
|
@@ -5235,21 +3640,30 @@ export declare const useCoreStore: () => {
|
|
5235
3640
|
phoneNo: string;
|
5236
3641
|
regNo: string;
|
5237
3642
|
};
|
5238
|
-
} | undefined
|
5239
|
-
|
5240
|
-
|
5241
|
-
|
5242
|
-
|
5243
|
-
|
5244
|
-
|
5245
|
-
|
5246
|
-
|
5247
|
-
|
5248
|
-
|
5249
|
-
|
5250
|
-
|
5251
|
-
|
5252
|
-
|
3643
|
+
}[] | undefined>;
|
3644
|
+
changeRestaurant: (restaurant: FmpRestaurant | undefined) => Promise<void>;
|
3645
|
+
getApps: (_t?: ReturnType<typeof useI18n>["t"]) => PortalApp[];
|
3646
|
+
selectedApp: import("vue").Ref<PortalApp | undefined, PortalApp | undefined>;
|
3647
|
+
selectApp: (app: PortalApp) => void;
|
3648
|
+
isInternalOrAgent: import("vue").ComputedRef<boolean | undefined>;
|
3649
|
+
getDeveloperApps: (_t?: ReturnType<typeof useI18n>["t"]) => PortalApp[];
|
3650
|
+
/**
|
3651
|
+
* @description hide or show the menu **Desktop only**
|
3652
|
+
*/
|
3653
|
+
hideSidebar: import("vue").Ref<boolean, boolean>;
|
3654
|
+
/**
|
3655
|
+
* @description hide or show the menu **Desktop only**
|
3656
|
+
*/
|
3657
|
+
hideSidebarToggle: (hide?: boolean) => void;
|
3658
|
+
sidebarComponent: import("vue").ShallowRef<any, any>;
|
3659
|
+
registerSidebarComponent: (component: any) => void;
|
3660
|
+
/**
|
3661
|
+
* @description if is currently embedded as iframe in another app
|
3662
|
+
*/
|
3663
|
+
isEmbedded: import("vue").Ref<boolean, boolean>;
|
3664
|
+
setEmbdded: (value: boolean) => void;
|
3665
|
+
setEmbedded: (value: boolean) => void;
|
3666
|
+
publicSetting: import("vue").Ref<{
|
5253
3667
|
delivery: {
|
5254
3668
|
feedMe: {
|
5255
3669
|
operatingHours?: {
|
@@ -5345,109 +3759,155 @@ export declare const useCoreStore: () => {
|
|
5345
3759
|
enable: boolean;
|
5346
3760
|
};
|
5347
3761
|
};
|
5348
|
-
} | null
|
5349
|
-
|
5350
|
-
|
5351
|
-
|
5352
|
-
|
5353
|
-
|
5354
|
-
|
5355
|
-
|
5356
|
-
|
5357
|
-
|
5358
|
-
|
5359
|
-
|
5360
|
-
|
5361
|
-
|
5362
|
-
|
5363
|
-
|
5364
|
-
|
5365
|
-
|
5366
|
-
|
5367
|
-
|
5368
|
-
|
5369
|
-
|
5370
|
-
|
5371
|
-
|
5372
|
-
|
5373
|
-
|
5374
|
-
|
5375
|
-
|
5376
|
-
|
5377
|
-
|
5378
|
-
|
5379
|
-
|
5380
|
-
|
5381
|
-
|
5382
|
-
|
5383
|
-
|
5384
|
-
|
5385
|
-
|
5386
|
-
|
5387
|
-
|
5388
|
-
|
5389
|
-
|
5390
|
-
|
5391
|
-
|
5392
|
-
|
5393
|
-
|
5394
|
-
|
5395
|
-
|
5396
|
-
|
5397
|
-
|
5398
|
-
|
5399
|
-
|
5400
|
-
|
5401
|
-
addresses?: {
|
5402
|
-
name: string;
|
5403
|
-
address: string;
|
5404
|
-
coordinates: number[];
|
5405
|
-
}[] | null | undefined;
|
5406
|
-
photoURL?: string | null | undefined;
|
5407
|
-
displayName?: string | null | undefined;
|
5408
|
-
imported?: {
|
5409
|
-
raw: Record<string, any>;
|
5410
|
-
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
5411
|
-
} | null | undefined;
|
5412
|
-
_id: string;
|
3762
|
+
} | null, PublicSettingApi | {
|
3763
|
+
delivery: {
|
3764
|
+
feedMe: {
|
3765
|
+
operatingHours?: {
|
3766
|
+
0: {
|
3767
|
+
hours: {
|
3768
|
+
end: string;
|
3769
|
+
start: string;
|
3770
|
+
}[];
|
3771
|
+
enable: boolean;
|
3772
|
+
};
|
3773
|
+
2: {
|
3774
|
+
hours: {
|
3775
|
+
end: string;
|
3776
|
+
start: string;
|
3777
|
+
}[];
|
3778
|
+
enable: boolean;
|
3779
|
+
};
|
3780
|
+
1: {
|
3781
|
+
hours: {
|
3782
|
+
end: string;
|
3783
|
+
start: string;
|
3784
|
+
}[];
|
3785
|
+
enable: boolean;
|
3786
|
+
};
|
3787
|
+
3: {
|
3788
|
+
hours: {
|
3789
|
+
end: string;
|
3790
|
+
start: string;
|
3791
|
+
}[];
|
3792
|
+
enable: boolean;
|
3793
|
+
};
|
3794
|
+
4: {
|
3795
|
+
hours: {
|
3796
|
+
end: string;
|
3797
|
+
start: string;
|
3798
|
+
}[];
|
3799
|
+
enable: boolean;
|
3800
|
+
};
|
3801
|
+
5: {
|
3802
|
+
hours: {
|
3803
|
+
end: string;
|
3804
|
+
start: string;
|
3805
|
+
}[];
|
3806
|
+
enable: boolean;
|
3807
|
+
};
|
3808
|
+
6: {
|
3809
|
+
hours: {
|
3810
|
+
end: string;
|
3811
|
+
start: string;
|
3812
|
+
}[];
|
3813
|
+
enable: boolean;
|
3814
|
+
};
|
5413
3815
|
} | null | undefined;
|
5414
|
-
|
5415
|
-
|
5416
|
-
|
5417
|
-
|
5418
|
-
|
5419
|
-
_id: string;
|
5420
|
-
isReseller: boolean;
|
5421
|
-
} | null | undefined;
|
5422
|
-
thumbnail?: string | null | undefined;
|
5423
|
-
billingInfos?: {
|
5424
|
-
_id?: string | null | undefined;
|
5425
|
-
name: string;
|
5426
|
-
address: {
|
5427
|
-
coordinates?: number[] | null | undefined;
|
5428
|
-
line2?: string | null | undefined;
|
5429
|
-
state: string;
|
5430
|
-
country: string;
|
5431
|
-
line1: string;
|
5432
|
-
city: string;
|
5433
|
-
postcode: string;
|
3816
|
+
maxDistance: number;
|
3817
|
+
enable: boolean;
|
3818
|
+
areas: {
|
3819
|
+
polygon: number[][];
|
3820
|
+
}[];
|
5434
3821
|
};
|
5435
|
-
|
5436
|
-
|
5437
|
-
|
5438
|
-
|
5439
|
-
|
5440
|
-
|
5441
|
-
|
5442
|
-
|
5443
|
-
|
5444
|
-
|
5445
|
-
|
5446
|
-
|
5447
|
-
|
5448
|
-
|
5449
|
-
|
5450
|
-
|
3822
|
+
};
|
3823
|
+
assets: {
|
3824
|
+
groups: {
|
3825
|
+
key: "pos" | "portal";
|
3826
|
+
assets: {
|
3827
|
+
type: "image" | "lottie";
|
3828
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
3829
|
+
path: string;
|
3830
|
+
files: {
|
3831
|
+
responsive?: {
|
3832
|
+
mobile?: string | null | undefined;
|
3833
|
+
tablet?: string | null | undefined;
|
3834
|
+
desktop?: string | null | undefined;
|
3835
|
+
} | null | undefined;
|
3836
|
+
url: string;
|
3837
|
+
createdAt: string;
|
3838
|
+
config: {
|
3839
|
+
useWhen: {
|
3840
|
+
end: string;
|
3841
|
+
start: string;
|
3842
|
+
};
|
3843
|
+
recurring: boolean;
|
3844
|
+
};
|
3845
|
+
lastUpdate: string;
|
3846
|
+
}[];
|
3847
|
+
}[];
|
3848
|
+
}[];
|
3849
|
+
};
|
3850
|
+
sms: {
|
3851
|
+
firebase: boolean;
|
3852
|
+
};
|
3853
|
+
aiSettings: {
|
3854
|
+
remy: {
|
3855
|
+
enable: boolean;
|
3856
|
+
};
|
3857
|
+
};
|
3858
|
+
} | null>;
|
3859
|
+
readPublicSetting: () => Promise<PublicSettingApi>;
|
3860
|
+
restaurantAttributeSettings: import("vue").ComputedRef<{
|
3861
|
+
type: "string" | "number" | "boolean" | "date";
|
3862
|
+
key: string;
|
3863
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3864
|
+
}[]>;
|
3865
|
+
itemAttributeSettings: import("vue").ComputedRef<{
|
3866
|
+
type: "string" | "number" | "boolean" | "date";
|
3867
|
+
key: string;
|
3868
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3869
|
+
}[]>;
|
3870
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
3871
|
+
type: "string" | "number" | "boolean" | "date";
|
3872
|
+
key: string;
|
3873
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3874
|
+
}[]>;
|
3875
|
+
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
3876
|
+
pushDataLayer: typeof pushDataLayer;
|
3877
|
+
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting">>;
|
3878
|
+
$patch(partialState: import("pinia")._DeepPartial<{
|
3879
|
+
sessionUser: {
|
3880
|
+
id: string;
|
3881
|
+
email?: string | null | undefined;
|
3882
|
+
photoURL?: string | null | undefined;
|
3883
|
+
displayName?: string | null | undefined;
|
3884
|
+
phoneNumber?: string | null | undefined;
|
3885
|
+
_role?: string | undefined;
|
3886
|
+
role: {
|
3887
|
+
isAdmin: boolean;
|
3888
|
+
isStaff: boolean;
|
3889
|
+
isDebug: boolean;
|
3890
|
+
isAgent: boolean;
|
3891
|
+
};
|
3892
|
+
readonly isInternal: boolean;
|
3893
|
+
readonly token: string | null;
|
3894
|
+
readonly permissions: {
|
3895
|
+
reason?: string | null | undefined;
|
3896
|
+
conditions?: any;
|
3897
|
+
fields?: string[] | null | undefined;
|
3898
|
+
inverted?: boolean | null | undefined;
|
3899
|
+
label: string;
|
3900
|
+
subject: string;
|
3901
|
+
actions: ("delete" | "manage" | "create" | "read" | "update")[];
|
3902
|
+
}[];
|
3903
|
+
getCustomToken: () => Promise<string>;
|
3904
|
+
setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
|
3905
|
+
setPermissions: (permissions: FdoPermissionRule[]) => void;
|
3906
|
+
} | null;
|
3907
|
+
namespace: FmNamespace;
|
3908
|
+
enabledCountries: string[];
|
3909
|
+
currentCountry: string | undefined;
|
3910
|
+
businesses: {
|
5451
3911
|
id: string;
|
5452
3912
|
internal?: boolean | null | undefined;
|
5453
3913
|
url?: string | null | undefined;
|
@@ -5456,7 +3916,7 @@ export declare const useCoreStore: () => {
|
|
5456
3916
|
attributeSettings?: {
|
5457
3917
|
type: "string" | "number" | "boolean" | "date";
|
5458
3918
|
key: string;
|
5459
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
3919
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5460
3920
|
}[] | null | undefined;
|
5461
3921
|
pf_agent?: {
|
5462
3922
|
clickupId?: string | null | undefined;
|
@@ -5514,9 +3974,35 @@ export declare const useCoreStore: () => {
|
|
5514
3974
|
restaurantQuota: number;
|
5515
3975
|
warehouseQuota: number;
|
5516
3976
|
menuVersion: string;
|
5517
|
-
}
|
3977
|
+
}[];
|
3978
|
+
currentBusiness: FmpBusiness | undefined;
|
5518
3979
|
restaurants: {
|
5519
3980
|
managable: boolean;
|
3981
|
+
pickup?: {
|
3982
|
+
catalogId?: string | null | undefined;
|
3983
|
+
autoAccept?: boolean | null | undefined;
|
3984
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
3985
|
+
offlinePaymentTypes?: {
|
3986
|
+
name: string;
|
3987
|
+
instruction: string;
|
3988
|
+
}[] | null | undefined;
|
3989
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
3990
|
+
ignoreStock?: boolean | null | undefined;
|
3991
|
+
pickupTime?: {
|
3992
|
+
day: {
|
3993
|
+
max: number;
|
3994
|
+
min: number;
|
3995
|
+
};
|
3996
|
+
} | null | undefined;
|
3997
|
+
pickupPointConfig?: {
|
3998
|
+
restaurantEnable: boolean;
|
3999
|
+
points: {
|
4000
|
+
name: string;
|
4001
|
+
address: string;
|
4002
|
+
coordinates: number[];
|
4003
|
+
}[];
|
4004
|
+
} | null | undefined;
|
4005
|
+
} | null | undefined;
|
5520
4006
|
channel?: string | null | undefined;
|
5521
4007
|
machineId?: string | null | undefined;
|
5522
4008
|
catalogId?: string | null | undefined;
|
@@ -5618,31 +4104,6 @@ export declare const useCoreStore: () => {
|
|
5618
4104
|
}[];
|
5619
4105
|
term: string;
|
5620
4106
|
} | null | undefined;
|
5621
|
-
pickup?: {
|
5622
|
-
catalogId?: string | null | undefined;
|
5623
|
-
autoAccept?: boolean | null | undefined;
|
5624
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5625
|
-
offlinePaymentTypes?: {
|
5626
|
-
name: string;
|
5627
|
-
instruction: string;
|
5628
|
-
}[] | null | undefined;
|
5629
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
5630
|
-
ignoreStock?: boolean | null | undefined;
|
5631
|
-
pickupTime?: {
|
5632
|
-
day: {
|
5633
|
-
max: number;
|
5634
|
-
min: number;
|
5635
|
-
};
|
5636
|
-
} | null | undefined;
|
5637
|
-
pickupPointConfig?: {
|
5638
|
-
restaurantEnable: boolean;
|
5639
|
-
points: {
|
5640
|
-
name: string;
|
5641
|
-
address: string;
|
5642
|
-
coordinates: number[];
|
5643
|
-
}[];
|
5644
|
-
} | null | undefined;
|
5645
|
-
} | null | undefined;
|
5646
4107
|
dineIn?: {
|
5647
4108
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5648
4109
|
offlinePaymentTypes?: {
|
@@ -5663,7 +4124,7 @@ export declare const useCoreStore: () => {
|
|
5663
4124
|
attributeSettings?: {
|
5664
4125
|
type: "string" | "number" | "boolean" | "date";
|
5665
4126
|
key: string;
|
5666
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4127
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5667
4128
|
}[] | null | undefined;
|
5668
4129
|
pf_agent?: {
|
5669
4130
|
clickupId?: string | null | undefined;
|
@@ -5891,12 +4352,241 @@ export declare const useCoreStore: () => {
|
|
5891
4352
|
postcode: string;
|
5892
4353
|
};
|
5893
4354
|
email: string;
|
5894
|
-
phoneNo: string;
|
5895
|
-
regNo: string;
|
5896
|
-
};
|
4355
|
+
phoneNo: string;
|
4356
|
+
regNo: string;
|
4357
|
+
};
|
4358
|
+
}[];
|
4359
|
+
currentRestaurant: FmpRestaurant | undefined;
|
4360
|
+
selectedApp: PortalApp | undefined;
|
4361
|
+
hideSidebar: boolean;
|
4362
|
+
sidebarComponent: any;
|
4363
|
+
isEmbedded: boolean;
|
4364
|
+
publicSetting: {
|
4365
|
+
delivery: {
|
4366
|
+
feedMe: {
|
4367
|
+
operatingHours?: {
|
4368
|
+
0: {
|
4369
|
+
hours: {
|
4370
|
+
end: string;
|
4371
|
+
start: string;
|
4372
|
+
}[];
|
4373
|
+
enable: boolean;
|
4374
|
+
};
|
4375
|
+
2: {
|
4376
|
+
hours: {
|
4377
|
+
end: string;
|
4378
|
+
start: string;
|
4379
|
+
}[];
|
4380
|
+
enable: boolean;
|
4381
|
+
};
|
4382
|
+
1: {
|
4383
|
+
hours: {
|
4384
|
+
end: string;
|
4385
|
+
start: string;
|
4386
|
+
}[];
|
4387
|
+
enable: boolean;
|
4388
|
+
};
|
4389
|
+
3: {
|
4390
|
+
hours: {
|
4391
|
+
end: string;
|
4392
|
+
start: string;
|
4393
|
+
}[];
|
4394
|
+
enable: boolean;
|
4395
|
+
};
|
4396
|
+
4: {
|
4397
|
+
hours: {
|
4398
|
+
end: string;
|
4399
|
+
start: string;
|
4400
|
+
}[];
|
4401
|
+
enable: boolean;
|
4402
|
+
};
|
4403
|
+
5: {
|
4404
|
+
hours: {
|
4405
|
+
end: string;
|
4406
|
+
start: string;
|
4407
|
+
}[];
|
4408
|
+
enable: boolean;
|
4409
|
+
};
|
4410
|
+
6: {
|
4411
|
+
hours: {
|
4412
|
+
end: string;
|
4413
|
+
start: string;
|
4414
|
+
}[];
|
4415
|
+
enable: boolean;
|
4416
|
+
};
|
4417
|
+
} | null | undefined;
|
4418
|
+
maxDistance: number;
|
4419
|
+
enable: boolean;
|
4420
|
+
areas: {
|
4421
|
+
polygon: number[][];
|
4422
|
+
}[];
|
4423
|
+
};
|
4424
|
+
};
|
4425
|
+
assets: {
|
4426
|
+
groups: {
|
4427
|
+
key: "pos" | "portal";
|
4428
|
+
assets: {
|
4429
|
+
type: "image" | "lottie";
|
4430
|
+
key: "activeMascotDark" | "activeMascotLight" | "inactiveMascotDark" | "inactiveMascotLight" | "odsMascot" | "advertisement";
|
4431
|
+
path: string;
|
4432
|
+
files: {
|
4433
|
+
responsive?: {
|
4434
|
+
mobile?: string | null | undefined;
|
4435
|
+
tablet?: string | null | undefined;
|
4436
|
+
desktop?: string | null | undefined;
|
4437
|
+
} | null | undefined;
|
4438
|
+
url: string;
|
4439
|
+
createdAt: string;
|
4440
|
+
config: {
|
4441
|
+
useWhen: {
|
4442
|
+
end: string;
|
4443
|
+
start: string;
|
4444
|
+
};
|
4445
|
+
recurring: boolean;
|
4446
|
+
};
|
4447
|
+
lastUpdate: string;
|
4448
|
+
}[];
|
4449
|
+
}[];
|
4450
|
+
}[];
|
4451
|
+
};
|
4452
|
+
sms: {
|
4453
|
+
firebase: boolean;
|
4454
|
+
};
|
4455
|
+
aiSettings: {
|
4456
|
+
remy: {
|
4457
|
+
enable: boolean;
|
4458
|
+
};
|
4459
|
+
};
|
4460
|
+
} | null;
|
4461
|
+
}>): void;
|
4462
|
+
$patch<F extends (state: {
|
4463
|
+
sessionUser: {
|
4464
|
+
id: string;
|
4465
|
+
email?: string | null | undefined;
|
4466
|
+
photoURL?: string | null | undefined;
|
4467
|
+
displayName?: string | null | undefined;
|
4468
|
+
phoneNumber?: string | null | undefined;
|
4469
|
+
_role?: string | undefined;
|
4470
|
+
role: {
|
4471
|
+
isAdmin: boolean;
|
4472
|
+
isStaff: boolean;
|
4473
|
+
isDebug: boolean;
|
4474
|
+
isAgent: boolean;
|
4475
|
+
};
|
4476
|
+
readonly isInternal: boolean;
|
4477
|
+
readonly token: string | null;
|
4478
|
+
readonly permissions: {
|
4479
|
+
reason?: string | null | undefined;
|
4480
|
+
conditions?: any;
|
4481
|
+
fields?: string[] | null | undefined;
|
4482
|
+
inverted?: boolean | null | undefined;
|
4483
|
+
label: string;
|
4484
|
+
subject: string;
|
4485
|
+
actions: ("delete" | "manage" | "create" | "read" | "update")[];
|
4486
|
+
}[];
|
4487
|
+
getCustomToken: () => Promise<string>;
|
4488
|
+
setAdminPermisssions: (permissions: FdoPermissionRule[]) => void;
|
4489
|
+
setPermissions: (permissions: FdoPermissionRule[]) => void;
|
4490
|
+
} | null;
|
4491
|
+
namespace: FmNamespace;
|
4492
|
+
enabledCountries: string[];
|
4493
|
+
currentCountry: string | undefined;
|
4494
|
+
businesses: {
|
4495
|
+
id: string;
|
4496
|
+
internal?: boolean | null | undefined;
|
4497
|
+
url?: string | null | undefined;
|
4498
|
+
expiredAt?: string | null | undefined;
|
4499
|
+
agentId?: string | null | undefined;
|
4500
|
+
attributeSettings?: {
|
4501
|
+
type: "string" | "number" | "boolean" | "date";
|
4502
|
+
key: string;
|
4503
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4504
|
+
}[] | null | undefined;
|
4505
|
+
pf_agent?: {
|
4506
|
+
clickupId?: string | null | undefined;
|
4507
|
+
members?: {
|
4508
|
+
pf_user?: {
|
4509
|
+
email?: string | null | undefined;
|
4510
|
+
phoneNumber?: string | null | undefined;
|
4511
|
+
birthday?: string | null | undefined;
|
4512
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
4513
|
+
addresses?: {
|
4514
|
+
name: string;
|
4515
|
+
address: string;
|
4516
|
+
coordinates: number[];
|
4517
|
+
}[] | null | undefined;
|
4518
|
+
photoURL?: string | null | undefined;
|
4519
|
+
displayName?: string | null | undefined;
|
4520
|
+
imported?: {
|
4521
|
+
raw: Record<string, any>;
|
4522
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
4523
|
+
} | null | undefined;
|
4524
|
+
_id: string;
|
4525
|
+
} | null | undefined;
|
4526
|
+
role: "ADMIN";
|
4527
|
+
userId: string;
|
4528
|
+
}[] | null | undefined;
|
4529
|
+
code: string;
|
4530
|
+
name: string;
|
4531
|
+
_id: string;
|
4532
|
+
isReseller: boolean;
|
4533
|
+
} | null | undefined;
|
4534
|
+
thumbnail?: string | null | undefined;
|
4535
|
+
billingInfos?: {
|
4536
|
+
_id?: string | null | undefined;
|
4537
|
+
name: string;
|
4538
|
+
address: {
|
4539
|
+
coordinates?: number[] | null | undefined;
|
4540
|
+
line2?: string | null | undefined;
|
4541
|
+
state: string;
|
4542
|
+
country: string;
|
4543
|
+
line1: string;
|
4544
|
+
city: string;
|
4545
|
+
postcode: string;
|
4546
|
+
};
|
4547
|
+
email: string;
|
4548
|
+
companyName: string;
|
4549
|
+
contact: string;
|
4550
|
+
}[] | null | undefined;
|
4551
|
+
customerDisplayImages?: {
|
4552
|
+
url: string;
|
4553
|
+
restaurantIds: string[];
|
4554
|
+
}[] | null | undefined;
|
4555
|
+
name: string;
|
4556
|
+
_id: string;
|
4557
|
+
ownerId: string;
|
4558
|
+
restaurantQuota: number;
|
4559
|
+
warehouseQuota: number;
|
4560
|
+
menuVersion: string;
|
5897
4561
|
}[];
|
5898
|
-
|
4562
|
+
currentBusiness: FmpBusiness | undefined;
|
4563
|
+
restaurants: {
|
5899
4564
|
managable: boolean;
|
4565
|
+
pickup?: {
|
4566
|
+
catalogId?: string | null | undefined;
|
4567
|
+
autoAccept?: boolean | null | undefined;
|
4568
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
4569
|
+
offlinePaymentTypes?: {
|
4570
|
+
name: string;
|
4571
|
+
instruction: string;
|
4572
|
+
}[] | null | undefined;
|
4573
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
4574
|
+
ignoreStock?: boolean | null | undefined;
|
4575
|
+
pickupTime?: {
|
4576
|
+
day: {
|
4577
|
+
max: number;
|
4578
|
+
min: number;
|
4579
|
+
};
|
4580
|
+
} | null | undefined;
|
4581
|
+
pickupPointConfig?: {
|
4582
|
+
restaurantEnable: boolean;
|
4583
|
+
points: {
|
4584
|
+
name: string;
|
4585
|
+
address: string;
|
4586
|
+
coordinates: number[];
|
4587
|
+
}[];
|
4588
|
+
} | null | undefined;
|
4589
|
+
} | null | undefined;
|
5900
4590
|
channel?: string | null | undefined;
|
5901
4591
|
machineId?: string | null | undefined;
|
5902
4592
|
catalogId?: string | null | undefined;
|
@@ -5998,31 +4688,6 @@ export declare const useCoreStore: () => {
|
|
5998
4688
|
}[];
|
5999
4689
|
term: string;
|
6000
4690
|
} | null | undefined;
|
6001
|
-
pickup?: {
|
6002
|
-
catalogId?: string | null | undefined;
|
6003
|
-
autoAccept?: boolean | null | undefined;
|
6004
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6005
|
-
offlinePaymentTypes?: {
|
6006
|
-
name: string;
|
6007
|
-
instruction: string;
|
6008
|
-
}[] | null | undefined;
|
6009
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
6010
|
-
ignoreStock?: boolean | null | undefined;
|
6011
|
-
pickupTime?: {
|
6012
|
-
day: {
|
6013
|
-
max: number;
|
6014
|
-
min: number;
|
6015
|
-
};
|
6016
|
-
} | null | undefined;
|
6017
|
-
pickupPointConfig?: {
|
6018
|
-
restaurantEnable: boolean;
|
6019
|
-
points: {
|
6020
|
-
name: string;
|
6021
|
-
address: string;
|
6022
|
-
coordinates: number[];
|
6023
|
-
}[];
|
6024
|
-
} | null | undefined;
|
6025
|
-
} | null | undefined;
|
6026
4691
|
dineIn?: {
|
6027
4692
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6028
4693
|
offlinePaymentTypes?: {
|
@@ -6043,7 +4708,7 @@ export declare const useCoreStore: () => {
|
|
6043
4708
|
attributeSettings?: {
|
6044
4709
|
type: "string" | "number" | "boolean" | "date";
|
6045
4710
|
key: string;
|
6046
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
4711
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6047
4712
|
}[] | null | undefined;
|
6048
4713
|
pf_agent?: {
|
6049
4714
|
clickupId?: string | null | undefined;
|
@@ -6274,17 +4939,9 @@ export declare const useCoreStore: () => {
|
|
6274
4939
|
phoneNo: string;
|
6275
4940
|
regNo: string;
|
6276
4941
|
};
|
6277
|
-
}
|
6278
|
-
|
6279
|
-
|
6280
|
-
icon?: string | undefined;
|
6281
|
-
name: string;
|
6282
|
-
description?: string | undefined;
|
6283
|
-
path: string;
|
6284
|
-
breakpoints?: any[] | undefined;
|
6285
|
-
hasPlatformLevelNavigation: boolean;
|
6286
|
-
external?: boolean | undefined;
|
6287
|
-
} | undefined;
|
4942
|
+
}[];
|
4943
|
+
currentRestaurant: FmpRestaurant | undefined;
|
4944
|
+
selectedApp: PortalApp | undefined;
|
6288
4945
|
hideSidebar: boolean;
|
6289
4946
|
sidebarComponent: any;
|
6290
4947
|
isEmbedded: boolean;
|
@@ -6387,7 +5044,7 @@ export declare const useCoreStore: () => {
|
|
6387
5044
|
} | null;
|
6388
5045
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
6389
5046
|
$reset(): void;
|
6390
|
-
$subscribe(callback: import("pinia").SubscriptionCallback<
|
5047
|
+
$subscribe(callback: import("pinia").SubscriptionCallback<Pick<{
|
6391
5048
|
signIn: () => Promise<void>;
|
6392
5049
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
6393
5050
|
signOut: () => Promise<void>;
|
@@ -6465,7 +5122,7 @@ export declare const useCoreStore: () => {
|
|
6465
5122
|
attributeSettings?: {
|
6466
5123
|
type: "string" | "number" | "boolean" | "date";
|
6467
5124
|
key: string;
|
6468
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5125
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6469
5126
|
}[] | null | undefined;
|
6470
5127
|
pf_agent?: {
|
6471
5128
|
clickupId?: string | null | undefined;
|
@@ -6532,7 +5189,7 @@ export declare const useCoreStore: () => {
|
|
6532
5189
|
attributeSettings?: {
|
6533
5190
|
type: "string" | "number" | "boolean" | "date";
|
6534
5191
|
key: string;
|
6535
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5192
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6536
5193
|
}[] | null | undefined;
|
6537
5194
|
pf_agent?: {
|
6538
5195
|
clickupId?: string | null | undefined;
|
@@ -6597,6 +5254,31 @@ export declare const useCoreStore: () => {
|
|
6597
5254
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
6598
5255
|
restaurants: import("vue").Ref<{
|
6599
5256
|
managable: boolean;
|
5257
|
+
pickup?: {
|
5258
|
+
catalogId?: string | null | undefined;
|
5259
|
+
autoAccept?: boolean | null | undefined;
|
5260
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5261
|
+
offlinePaymentTypes?: {
|
5262
|
+
name: string;
|
5263
|
+
instruction: string;
|
5264
|
+
}[] | null | undefined;
|
5265
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
5266
|
+
ignoreStock?: boolean | null | undefined;
|
5267
|
+
pickupTime?: {
|
5268
|
+
day: {
|
5269
|
+
max: number;
|
5270
|
+
min: number;
|
5271
|
+
};
|
5272
|
+
} | null | undefined;
|
5273
|
+
pickupPointConfig?: {
|
5274
|
+
restaurantEnable: boolean;
|
5275
|
+
points: {
|
5276
|
+
name: string;
|
5277
|
+
address: string;
|
5278
|
+
coordinates: number[];
|
5279
|
+
}[];
|
5280
|
+
} | null | undefined;
|
5281
|
+
} | null | undefined;
|
6600
5282
|
channel?: string | null | undefined;
|
6601
5283
|
machineId?: string | null | undefined;
|
6602
5284
|
catalogId?: string | null | undefined;
|
@@ -6698,31 +5380,6 @@ export declare const useCoreStore: () => {
|
|
6698
5380
|
}[];
|
6699
5381
|
term: string;
|
6700
5382
|
} | null | undefined;
|
6701
|
-
pickup?: {
|
6702
|
-
catalogId?: string | null | undefined;
|
6703
|
-
autoAccept?: boolean | null | undefined;
|
6704
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6705
|
-
offlinePaymentTypes?: {
|
6706
|
-
name: string;
|
6707
|
-
instruction: string;
|
6708
|
-
}[] | null | undefined;
|
6709
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
6710
|
-
ignoreStock?: boolean | null | undefined;
|
6711
|
-
pickupTime?: {
|
6712
|
-
day: {
|
6713
|
-
max: number;
|
6714
|
-
min: number;
|
6715
|
-
};
|
6716
|
-
} | null | undefined;
|
6717
|
-
pickupPointConfig?: {
|
6718
|
-
restaurantEnable: boolean;
|
6719
|
-
points: {
|
6720
|
-
name: string;
|
6721
|
-
address: string;
|
6722
|
-
coordinates: number[];
|
6723
|
-
}[];
|
6724
|
-
} | null | undefined;
|
6725
|
-
} | null | undefined;
|
6726
5383
|
dineIn?: {
|
6727
5384
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6728
5385
|
offlinePaymentTypes?: {
|
@@ -6743,7 +5400,7 @@ export declare const useCoreStore: () => {
|
|
6743
5400
|
attributeSettings?: {
|
6744
5401
|
type: "string" | "number" | "boolean" | "date";
|
6745
5402
|
key: string;
|
6746
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5403
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6747
5404
|
}[] | null | undefined;
|
6748
5405
|
pf_agent?: {
|
6749
5406
|
clickupId?: string | null | undefined;
|
@@ -6976,6 +5633,31 @@ export declare const useCoreStore: () => {
|
|
6976
5633
|
};
|
6977
5634
|
}[], FmpRestaurant[] | {
|
6978
5635
|
managable: boolean;
|
5636
|
+
pickup?: {
|
5637
|
+
catalogId?: string | null | undefined;
|
5638
|
+
autoAccept?: boolean | null | undefined;
|
5639
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
5640
|
+
offlinePaymentTypes?: {
|
5641
|
+
name: string;
|
5642
|
+
instruction: string;
|
5643
|
+
}[] | null | undefined;
|
5644
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
5645
|
+
ignoreStock?: boolean | null | undefined;
|
5646
|
+
pickupTime?: {
|
5647
|
+
day: {
|
5648
|
+
max: number;
|
5649
|
+
min: number;
|
5650
|
+
};
|
5651
|
+
} | null | undefined;
|
5652
|
+
pickupPointConfig?: {
|
5653
|
+
restaurantEnable: boolean;
|
5654
|
+
points: {
|
5655
|
+
name: string;
|
5656
|
+
address: string;
|
5657
|
+
coordinates: number[];
|
5658
|
+
}[];
|
5659
|
+
} | null | undefined;
|
5660
|
+
} | null | undefined;
|
6979
5661
|
channel?: string | null | undefined;
|
6980
5662
|
machineId?: string | null | undefined;
|
6981
5663
|
catalogId?: string | null | undefined;
|
@@ -7077,31 +5759,6 @@ export declare const useCoreStore: () => {
|
|
7077
5759
|
}[];
|
7078
5760
|
term: string;
|
7079
5761
|
} | null | undefined;
|
7080
|
-
pickup?: {
|
7081
|
-
catalogId?: string | null | undefined;
|
7082
|
-
autoAccept?: boolean | null | undefined;
|
7083
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7084
|
-
offlinePaymentTypes?: {
|
7085
|
-
name: string;
|
7086
|
-
instruction: string;
|
7087
|
-
}[] | null | undefined;
|
7088
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7089
|
-
ignoreStock?: boolean | null | undefined;
|
7090
|
-
pickupTime?: {
|
7091
|
-
day: {
|
7092
|
-
max: number;
|
7093
|
-
min: number;
|
7094
|
-
};
|
7095
|
-
} | null | undefined;
|
7096
|
-
pickupPointConfig?: {
|
7097
|
-
restaurantEnable: boolean;
|
7098
|
-
points: {
|
7099
|
-
name: string;
|
7100
|
-
address: string;
|
7101
|
-
coordinates: number[];
|
7102
|
-
}[];
|
7103
|
-
} | null | undefined;
|
7104
|
-
} | null | undefined;
|
7105
5762
|
dineIn?: {
|
7106
5763
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7107
5764
|
offlinePaymentTypes?: {
|
@@ -7122,7 +5779,7 @@ export declare const useCoreStore: () => {
|
|
7122
5779
|
attributeSettings?: {
|
7123
5780
|
type: "string" | "number" | "boolean" | "date";
|
7124
5781
|
key: string;
|
7125
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
5782
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
7126
5783
|
}[] | null | undefined;
|
7127
5784
|
pf_agent?: {
|
7128
5785
|
clickupId?: string | null | undefined;
|
@@ -7356,6 +6013,31 @@ export declare const useCoreStore: () => {
|
|
7356
6013
|
}[]>;
|
7357
6014
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
7358
6015
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
6016
|
+
pickup?: {
|
6017
|
+
catalogId?: string | null | undefined;
|
6018
|
+
autoAccept?: boolean | null | undefined;
|
6019
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6020
|
+
offlinePaymentTypes?: {
|
6021
|
+
name: string;
|
6022
|
+
instruction: string;
|
6023
|
+
}[] | null | undefined;
|
6024
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
6025
|
+
ignoreStock?: boolean | null | undefined;
|
6026
|
+
pickupTime?: {
|
6027
|
+
day: {
|
6028
|
+
max: number;
|
6029
|
+
min: number;
|
6030
|
+
};
|
6031
|
+
} | null | undefined;
|
6032
|
+
pickupPointConfig?: {
|
6033
|
+
restaurantEnable: boolean;
|
6034
|
+
points: {
|
6035
|
+
name: string;
|
6036
|
+
address: string;
|
6037
|
+
coordinates: number[];
|
6038
|
+
}[];
|
6039
|
+
} | null | undefined;
|
6040
|
+
} | null | undefined;
|
7359
6041
|
catalogId?: string | null | undefined;
|
7360
6042
|
takeaway?: {
|
7361
6043
|
catalogId?: string | null | undefined;
|
@@ -7441,43 +6123,18 @@ export declare const useCoreStore: () => {
|
|
7441
6123
|
precision: number;
|
7442
6124
|
} | null | undefined;
|
7443
6125
|
freeAfterTotal?: {
|
7444
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
7445
|
-
amount: number;
|
7446
|
-
precision: number;
|
7447
|
-
} | null | undefined;
|
7448
|
-
polygon: number[][];
|
7449
|
-
deliveryFee: {
|
7450
|
-
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
7451
|
-
amount: number;
|
7452
|
-
precision: number;
|
7453
|
-
};
|
7454
|
-
}[];
|
7455
|
-
term: string;
|
7456
|
-
} | null | undefined;
|
7457
|
-
pickup?: {
|
7458
|
-
catalogId?: string | null | undefined;
|
7459
|
-
autoAccept?: boolean | null | undefined;
|
7460
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7461
|
-
offlinePaymentTypes?: {
|
7462
|
-
name: string;
|
7463
|
-
instruction: string;
|
7464
|
-
}[] | null | undefined;
|
7465
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7466
|
-
ignoreStock?: boolean | null | undefined;
|
7467
|
-
pickupTime?: {
|
7468
|
-
day: {
|
7469
|
-
max: number;
|
7470
|
-
min: number;
|
6126
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
6127
|
+
amount: number;
|
6128
|
+
precision: number;
|
6129
|
+
} | null | undefined;
|
6130
|
+
polygon: number[][];
|
6131
|
+
deliveryFee: {
|
6132
|
+
currency: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZN" | "BAM" | "BBD" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYN" | "BZD" | "CAD" | "CDF" | "CHE" | "CHF" | "CHW" | "CLF" | "CLP" | "CNY" | "COP" | "COU" | "CRC" | "CUC" | "CUP" | "CVE" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LYD" | "MAD" | "MDL" | "MGA" | "MKD" | "MMK" | "MNT" | "MOP" | "MRU" | "MUR" | "MVR" | "MWK" | "MXN" | "MXV" | "MYR" | "MZN" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "RSD" | "RUB" | "RWF" | "SAR" | "SBD" | "SCR" | "SDG" | "SEK" | "SGD" | "SHP" | "SLL" | "SOS" | "SRD" | "SSP" | "STN" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMT" | "TND" | "TOP" | "TRY" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYI" | "UYU" | "UYW" | "UZS" | "VES" | "VND" | "VUV" | "WST" | "XAF" | "XAG" | "XAU" | "XBA" | "XBB" | "XBC" | "XBD" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XTS" | "XUA" | "XXX" | "YER" | "ZAR" | "ZMW" | "ZWL";
|
6133
|
+
amount: number;
|
6134
|
+
precision: number;
|
7471
6135
|
};
|
7472
|
-
}
|
7473
|
-
|
7474
|
-
restaurantEnable: boolean;
|
7475
|
-
points: {
|
7476
|
-
name: string;
|
7477
|
-
address: string;
|
7478
|
-
coordinates: number[];
|
7479
|
-
}[];
|
7480
|
-
} | null | undefined;
|
6136
|
+
}[];
|
6137
|
+
term: string;
|
7481
6138
|
} | null | undefined;
|
7482
6139
|
dineIn?: {
|
7483
6140
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
@@ -7581,6 +6238,12 @@ export declare const useCoreStore: () => {
|
|
7581
6238
|
taxCode: string;
|
7582
6239
|
systemCode: string;
|
7583
6240
|
}[] | null | undefined;
|
6241
|
+
reasonTemplates?: {
|
6242
|
+
action: string;
|
6243
|
+
reasons: string[];
|
6244
|
+
compulsory: boolean;
|
6245
|
+
allowOther: boolean;
|
6246
|
+
}[] | null | undefined;
|
7584
6247
|
_id: string;
|
7585
6248
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
7586
6249
|
printReceipt: boolean;
|
@@ -7591,6 +6254,31 @@ export declare const useCoreStore: () => {
|
|
7591
6254
|
} | null>;
|
7592
6255
|
readRestaurants: () => Promise<{
|
7593
6256
|
managable: boolean;
|
6257
|
+
pickup?: {
|
6258
|
+
catalogId?: string | null | undefined;
|
6259
|
+
autoAccept?: boolean | null | undefined;
|
6260
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
6261
|
+
offlinePaymentTypes?: {
|
6262
|
+
name: string;
|
6263
|
+
instruction: string;
|
6264
|
+
}[] | null | undefined;
|
6265
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
6266
|
+
ignoreStock?: boolean | null | undefined;
|
6267
|
+
pickupTime?: {
|
6268
|
+
day: {
|
6269
|
+
max: number;
|
6270
|
+
min: number;
|
6271
|
+
};
|
6272
|
+
} | null | undefined;
|
6273
|
+
pickupPointConfig?: {
|
6274
|
+
restaurantEnable: boolean;
|
6275
|
+
points: {
|
6276
|
+
name: string;
|
6277
|
+
address: string;
|
6278
|
+
coordinates: number[];
|
6279
|
+
}[];
|
6280
|
+
} | null | undefined;
|
6281
|
+
} | null | undefined;
|
7594
6282
|
channel?: string | null | undefined;
|
7595
6283
|
machineId?: string | null | undefined;
|
7596
6284
|
catalogId?: string | null | undefined;
|
@@ -7692,31 +6380,6 @@ export declare const useCoreStore: () => {
|
|
7692
6380
|
}[];
|
7693
6381
|
term: string;
|
7694
6382
|
} | null | undefined;
|
7695
|
-
pickup?: {
|
7696
|
-
catalogId?: string | null | undefined;
|
7697
|
-
autoAccept?: boolean | null | undefined;
|
7698
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7699
|
-
offlinePaymentTypes?: {
|
7700
|
-
name: string;
|
7701
|
-
instruction: string;
|
7702
|
-
}[] | null | undefined;
|
7703
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
7704
|
-
ignoreStock?: boolean | null | undefined;
|
7705
|
-
pickupTime?: {
|
7706
|
-
day: {
|
7707
|
-
max: number;
|
7708
|
-
min: number;
|
7709
|
-
};
|
7710
|
-
} | null | undefined;
|
7711
|
-
pickupPointConfig?: {
|
7712
|
-
restaurantEnable: boolean;
|
7713
|
-
points: {
|
7714
|
-
name: string;
|
7715
|
-
address: string;
|
7716
|
-
coordinates: number[];
|
7717
|
-
}[];
|
7718
|
-
} | null | undefined;
|
7719
|
-
} | null | undefined;
|
7720
6383
|
dineIn?: {
|
7721
6384
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7722
6385
|
offlinePaymentTypes?: {
|
@@ -7737,7 +6400,7 @@ export declare const useCoreStore: () => {
|
|
7737
6400
|
attributeSettings?: {
|
7738
6401
|
type: "string" | "number" | "boolean" | "date";
|
7739
6402
|
key: string;
|
7740
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6403
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
7741
6404
|
}[] | null | undefined;
|
7742
6405
|
pf_agent?: {
|
7743
6406
|
clickupId?: string | null | undefined;
|
@@ -8188,19 +6851,24 @@ export declare const useCoreStore: () => {
|
|
8188
6851
|
restaurantAttributeSettings: import("vue").ComputedRef<{
|
8189
6852
|
type: "string" | "number" | "boolean" | "date";
|
8190
6853
|
key: string;
|
8191
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6854
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8192
6855
|
}[]>;
|
8193
6856
|
itemAttributeSettings: import("vue").ComputedRef<{
|
8194
6857
|
type: "string" | "number" | "boolean" | "date";
|
8195
6858
|
key: string;
|
8196
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6859
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6860
|
+
}[]>;
|
6861
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
6862
|
+
type: "string" | "number" | "boolean" | "date";
|
6863
|
+
key: string;
|
6864
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8197
6865
|
}[]>;
|
8198
6866
|
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
8199
6867
|
pushDataLayer: typeof pushDataLayer;
|
8200
|
-
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting"
|
6868
|
+
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting">>, options?: ({
|
8201
6869
|
detached?: boolean | undefined;
|
8202
6870
|
} & import("vue").WatchOptions<boolean>) | undefined): () => void;
|
8203
|
-
$onAction(callback: import("pinia").StoreOnActionListener<"portal-core",
|
6871
|
+
$onAction(callback: import("pinia").StoreOnActionListener<"portal-core", Pick<{
|
8204
6872
|
signIn: () => Promise<void>;
|
8205
6873
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
8206
6874
|
signOut: () => Promise<void>;
|
@@ -8278,7 +6946,7 @@ export declare const useCoreStore: () => {
|
|
8278
6946
|
attributeSettings?: {
|
8279
6947
|
type: "string" | "number" | "boolean" | "date";
|
8280
6948
|
key: string;
|
8281
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
6949
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8282
6950
|
}[] | null | undefined;
|
8283
6951
|
pf_agent?: {
|
8284
6952
|
clickupId?: string | null | undefined;
|
@@ -8345,7 +7013,7 @@ export declare const useCoreStore: () => {
|
|
8345
7013
|
attributeSettings?: {
|
8346
7014
|
type: "string" | "number" | "boolean" | "date";
|
8347
7015
|
key: string;
|
8348
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
7016
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8349
7017
|
}[] | null | undefined;
|
8350
7018
|
pf_agent?: {
|
8351
7019
|
clickupId?: string | null | undefined;
|
@@ -8410,6 +7078,31 @@ export declare const useCoreStore: () => {
|
|
8410
7078
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
8411
7079
|
restaurants: import("vue").Ref<{
|
8412
7080
|
managable: boolean;
|
7081
|
+
pickup?: {
|
7082
|
+
catalogId?: string | null | undefined;
|
7083
|
+
autoAccept?: boolean | null | undefined;
|
7084
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7085
|
+
offlinePaymentTypes?: {
|
7086
|
+
name: string;
|
7087
|
+
instruction: string;
|
7088
|
+
}[] | null | undefined;
|
7089
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7090
|
+
ignoreStock?: boolean | null | undefined;
|
7091
|
+
pickupTime?: {
|
7092
|
+
day: {
|
7093
|
+
max: number;
|
7094
|
+
min: number;
|
7095
|
+
};
|
7096
|
+
} | null | undefined;
|
7097
|
+
pickupPointConfig?: {
|
7098
|
+
restaurantEnable: boolean;
|
7099
|
+
points: {
|
7100
|
+
name: string;
|
7101
|
+
address: string;
|
7102
|
+
coordinates: number[];
|
7103
|
+
}[];
|
7104
|
+
} | null | undefined;
|
7105
|
+
} | null | undefined;
|
8413
7106
|
channel?: string | null | undefined;
|
8414
7107
|
machineId?: string | null | undefined;
|
8415
7108
|
catalogId?: string | null | undefined;
|
@@ -8511,31 +7204,6 @@ export declare const useCoreStore: () => {
|
|
8511
7204
|
}[];
|
8512
7205
|
term: string;
|
8513
7206
|
} | null | undefined;
|
8514
|
-
pickup?: {
|
8515
|
-
catalogId?: string | null | undefined;
|
8516
|
-
autoAccept?: boolean | null | undefined;
|
8517
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8518
|
-
offlinePaymentTypes?: {
|
8519
|
-
name: string;
|
8520
|
-
instruction: string;
|
8521
|
-
}[] | null | undefined;
|
8522
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
8523
|
-
ignoreStock?: boolean | null | undefined;
|
8524
|
-
pickupTime?: {
|
8525
|
-
day: {
|
8526
|
-
max: number;
|
8527
|
-
min: number;
|
8528
|
-
};
|
8529
|
-
} | null | undefined;
|
8530
|
-
pickupPointConfig?: {
|
8531
|
-
restaurantEnable: boolean;
|
8532
|
-
points: {
|
8533
|
-
name: string;
|
8534
|
-
address: string;
|
8535
|
-
coordinates: number[];
|
8536
|
-
}[];
|
8537
|
-
} | null | undefined;
|
8538
|
-
} | null | undefined;
|
8539
7207
|
dineIn?: {
|
8540
7208
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8541
7209
|
offlinePaymentTypes?: {
|
@@ -8556,7 +7224,7 @@ export declare const useCoreStore: () => {
|
|
8556
7224
|
attributeSettings?: {
|
8557
7225
|
type: "string" | "number" | "boolean" | "date";
|
8558
7226
|
key: string;
|
8559
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
7227
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8560
7228
|
}[] | null | undefined;
|
8561
7229
|
pf_agent?: {
|
8562
7230
|
clickupId?: string | null | undefined;
|
@@ -8789,6 +7457,31 @@ export declare const useCoreStore: () => {
|
|
8789
7457
|
};
|
8790
7458
|
}[], FmpRestaurant[] | {
|
8791
7459
|
managable: boolean;
|
7460
|
+
pickup?: {
|
7461
|
+
catalogId?: string | null | undefined;
|
7462
|
+
autoAccept?: boolean | null | undefined;
|
7463
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7464
|
+
offlinePaymentTypes?: {
|
7465
|
+
name: string;
|
7466
|
+
instruction: string;
|
7467
|
+
}[] | null | undefined;
|
7468
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7469
|
+
ignoreStock?: boolean | null | undefined;
|
7470
|
+
pickupTime?: {
|
7471
|
+
day: {
|
7472
|
+
max: number;
|
7473
|
+
min: number;
|
7474
|
+
};
|
7475
|
+
} | null | undefined;
|
7476
|
+
pickupPointConfig?: {
|
7477
|
+
restaurantEnable: boolean;
|
7478
|
+
points: {
|
7479
|
+
name: string;
|
7480
|
+
address: string;
|
7481
|
+
coordinates: number[];
|
7482
|
+
}[];
|
7483
|
+
} | null | undefined;
|
7484
|
+
} | null | undefined;
|
8792
7485
|
channel?: string | null | undefined;
|
8793
7486
|
machineId?: string | null | undefined;
|
8794
7487
|
catalogId?: string | null | undefined;
|
@@ -8890,31 +7583,6 @@ export declare const useCoreStore: () => {
|
|
8890
7583
|
}[];
|
8891
7584
|
term: string;
|
8892
7585
|
} | null | undefined;
|
8893
|
-
pickup?: {
|
8894
|
-
catalogId?: string | null | undefined;
|
8895
|
-
autoAccept?: boolean | null | undefined;
|
8896
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8897
|
-
offlinePaymentTypes?: {
|
8898
|
-
name: string;
|
8899
|
-
instruction: string;
|
8900
|
-
}[] | null | undefined;
|
8901
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
8902
|
-
ignoreStock?: boolean | null | undefined;
|
8903
|
-
pickupTime?: {
|
8904
|
-
day: {
|
8905
|
-
max: number;
|
8906
|
-
min: number;
|
8907
|
-
};
|
8908
|
-
} | null | undefined;
|
8909
|
-
pickupPointConfig?: {
|
8910
|
-
restaurantEnable: boolean;
|
8911
|
-
points: {
|
8912
|
-
name: string;
|
8913
|
-
address: string;
|
8914
|
-
coordinates: number[];
|
8915
|
-
}[];
|
8916
|
-
} | null | undefined;
|
8917
|
-
} | null | undefined;
|
8918
7586
|
dineIn?: {
|
8919
7587
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8920
7588
|
offlinePaymentTypes?: {
|
@@ -8935,7 +7603,7 @@ export declare const useCoreStore: () => {
|
|
8935
7603
|
attributeSettings?: {
|
8936
7604
|
type: "string" | "number" | "boolean" | "date";
|
8937
7605
|
key: string;
|
8938
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
7606
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8939
7607
|
}[] | null | undefined;
|
8940
7608
|
pf_agent?: {
|
8941
7609
|
clickupId?: string | null | undefined;
|
@@ -9169,6 +7837,31 @@ export declare const useCoreStore: () => {
|
|
9169
7837
|
}[]>;
|
9170
7838
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
9171
7839
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
7840
|
+
pickup?: {
|
7841
|
+
catalogId?: string | null | undefined;
|
7842
|
+
autoAccept?: boolean | null | undefined;
|
7843
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
7844
|
+
offlinePaymentTypes?: {
|
7845
|
+
name: string;
|
7846
|
+
instruction: string;
|
7847
|
+
}[] | null | undefined;
|
7848
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
7849
|
+
ignoreStock?: boolean | null | undefined;
|
7850
|
+
pickupTime?: {
|
7851
|
+
day: {
|
7852
|
+
max: number;
|
7853
|
+
min: number;
|
7854
|
+
};
|
7855
|
+
} | null | undefined;
|
7856
|
+
pickupPointConfig?: {
|
7857
|
+
restaurantEnable: boolean;
|
7858
|
+
points: {
|
7859
|
+
name: string;
|
7860
|
+
address: string;
|
7861
|
+
coordinates: number[];
|
7862
|
+
}[];
|
7863
|
+
} | null | undefined;
|
7864
|
+
} | null | undefined;
|
9172
7865
|
catalogId?: string | null | undefined;
|
9173
7866
|
takeaway?: {
|
9174
7867
|
catalogId?: string | null | undefined;
|
@@ -9267,31 +7960,6 @@ export declare const useCoreStore: () => {
|
|
9267
7960
|
}[];
|
9268
7961
|
term: string;
|
9269
7962
|
} | null | undefined;
|
9270
|
-
pickup?: {
|
9271
|
-
catalogId?: string | null | undefined;
|
9272
|
-
autoAccept?: boolean | null | undefined;
|
9273
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9274
|
-
offlinePaymentTypes?: {
|
9275
|
-
name: string;
|
9276
|
-
instruction: string;
|
9277
|
-
}[] | null | undefined;
|
9278
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
9279
|
-
ignoreStock?: boolean | null | undefined;
|
9280
|
-
pickupTime?: {
|
9281
|
-
day: {
|
9282
|
-
max: number;
|
9283
|
-
min: number;
|
9284
|
-
};
|
9285
|
-
} | null | undefined;
|
9286
|
-
pickupPointConfig?: {
|
9287
|
-
restaurantEnable: boolean;
|
9288
|
-
points: {
|
9289
|
-
name: string;
|
9290
|
-
address: string;
|
9291
|
-
coordinates: number[];
|
9292
|
-
}[];
|
9293
|
-
} | null | undefined;
|
9294
|
-
} | null | undefined;
|
9295
7963
|
dineIn?: {
|
9296
7964
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9297
7965
|
offlinePaymentTypes?: {
|
@@ -9389,21 +8057,52 @@ export declare const useCoreStore: () => {
|
|
9389
8057
|
feedmeTerminal?: {
|
9390
8058
|
ipAddress: string;
|
9391
8059
|
} | null | undefined;
|
9392
|
-
showCustomItem?: boolean | null | undefined;
|
9393
|
-
customItemTaxSetting?: {
|
9394
|
-
taxCode: string;
|
9395
|
-
systemCode: string;
|
9396
|
-
}[] | null | undefined;
|
9397
|
-
|
9398
|
-
|
9399
|
-
|
9400
|
-
|
9401
|
-
|
9402
|
-
|
9403
|
-
|
9404
|
-
|
9405
|
-
|
9406
|
-
|
8060
|
+
showCustomItem?: boolean | null | undefined;
|
8061
|
+
customItemTaxSetting?: {
|
8062
|
+
taxCode: string;
|
8063
|
+
systemCode: string;
|
8064
|
+
}[] | null | undefined;
|
8065
|
+
reasonTemplates?: {
|
8066
|
+
action: string;
|
8067
|
+
reasons: string[];
|
8068
|
+
compulsory: boolean;
|
8069
|
+
allowOther: boolean;
|
8070
|
+
}[] | null | undefined;
|
8071
|
+
_id: string;
|
8072
|
+
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
8073
|
+
printReceipt: boolean;
|
8074
|
+
paxDialog: boolean;
|
8075
|
+
acceptDineIn: boolean;
|
8076
|
+
acceptDelivery: boolean;
|
8077
|
+
acceptPickup: boolean;
|
8078
|
+
} | null>;
|
8079
|
+
readRestaurants: () => Promise<{
|
8080
|
+
managable: boolean;
|
8081
|
+
pickup?: {
|
8082
|
+
catalogId?: string | null | undefined;
|
8083
|
+
autoAccept?: boolean | null | undefined;
|
8084
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8085
|
+
offlinePaymentTypes?: {
|
8086
|
+
name: string;
|
8087
|
+
instruction: string;
|
8088
|
+
}[] | null | undefined;
|
8089
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8090
|
+
ignoreStock?: boolean | null | undefined;
|
8091
|
+
pickupTime?: {
|
8092
|
+
day: {
|
8093
|
+
max: number;
|
8094
|
+
min: number;
|
8095
|
+
};
|
8096
|
+
} | null | undefined;
|
8097
|
+
pickupPointConfig?: {
|
8098
|
+
restaurantEnable: boolean;
|
8099
|
+
points: {
|
8100
|
+
name: string;
|
8101
|
+
address: string;
|
8102
|
+
coordinates: number[];
|
8103
|
+
}[];
|
8104
|
+
} | null | undefined;
|
8105
|
+
} | null | undefined;
|
9407
8106
|
channel?: string | null | undefined;
|
9408
8107
|
machineId?: string | null | undefined;
|
9409
8108
|
catalogId?: string | null | undefined;
|
@@ -9505,31 +8204,6 @@ export declare const useCoreStore: () => {
|
|
9505
8204
|
}[];
|
9506
8205
|
term: string;
|
9507
8206
|
} | null | undefined;
|
9508
|
-
pickup?: {
|
9509
|
-
catalogId?: string | null | undefined;
|
9510
|
-
autoAccept?: boolean | null | undefined;
|
9511
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9512
|
-
offlinePaymentTypes?: {
|
9513
|
-
name: string;
|
9514
|
-
instruction: string;
|
9515
|
-
}[] | null | undefined;
|
9516
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
9517
|
-
ignoreStock?: boolean | null | undefined;
|
9518
|
-
pickupTime?: {
|
9519
|
-
day: {
|
9520
|
-
max: number;
|
9521
|
-
min: number;
|
9522
|
-
};
|
9523
|
-
} | null | undefined;
|
9524
|
-
pickupPointConfig?: {
|
9525
|
-
restaurantEnable: boolean;
|
9526
|
-
points: {
|
9527
|
-
name: string;
|
9528
|
-
address: string;
|
9529
|
-
coordinates: number[];
|
9530
|
-
}[];
|
9531
|
-
} | null | undefined;
|
9532
|
-
} | null | undefined;
|
9533
8207
|
dineIn?: {
|
9534
8208
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9535
8209
|
offlinePaymentTypes?: {
|
@@ -9550,7 +8224,7 @@ export declare const useCoreStore: () => {
|
|
9550
8224
|
attributeSettings?: {
|
9551
8225
|
type: "string" | "number" | "boolean" | "date";
|
9552
8226
|
key: string;
|
9553
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8227
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
9554
8228
|
}[] | null | undefined;
|
9555
8229
|
pf_agent?: {
|
9556
8230
|
clickupId?: string | null | undefined;
|
@@ -10001,16 +8675,21 @@ export declare const useCoreStore: () => {
|
|
10001
8675
|
restaurantAttributeSettings: import("vue").ComputedRef<{
|
10002
8676
|
type: "string" | "number" | "boolean" | "date";
|
10003
8677
|
key: string;
|
10004
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8678
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10005
8679
|
}[]>;
|
10006
8680
|
itemAttributeSettings: import("vue").ComputedRef<{
|
10007
8681
|
type: "string" | "number" | "boolean" | "date";
|
10008
8682
|
key: string;
|
10009
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8683
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8684
|
+
}[]>;
|
8685
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
8686
|
+
type: "string" | "number" | "boolean" | "date";
|
8687
|
+
key: string;
|
8688
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10010
8689
|
}[]>;
|
10011
8690
|
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
10012
8691
|
pushDataLayer: typeof pushDataLayer;
|
10013
|
-
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting"
|
8692
|
+
}, "sessionUser" | "namespace" | "enabledCountries" | "currentCountry" | "businesses" | "currentBusiness" | "restaurants" | "currentRestaurant" | "selectedApp" | "hideSidebar" | "sidebarComponent" | "isEmbedded" | "publicSetting">, Pick<{
|
10014
8693
|
signIn: () => Promise<void>;
|
10015
8694
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
10016
8695
|
signOut: () => Promise<void>;
|
@@ -10088,7 +8767,7 @@ export declare const useCoreStore: () => {
|
|
10088
8767
|
attributeSettings?: {
|
10089
8768
|
type: "string" | "number" | "boolean" | "date";
|
10090
8769
|
key: string;
|
10091
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8770
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10092
8771
|
}[] | null | undefined;
|
10093
8772
|
pf_agent?: {
|
10094
8773
|
clickupId?: string | null | undefined;
|
@@ -10155,7 +8834,7 @@ export declare const useCoreStore: () => {
|
|
10155
8834
|
attributeSettings?: {
|
10156
8835
|
type: "string" | "number" | "boolean" | "date";
|
10157
8836
|
key: string;
|
10158
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
8837
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10159
8838
|
}[] | null | undefined;
|
10160
8839
|
pf_agent?: {
|
10161
8840
|
clickupId?: string | null | undefined;
|
@@ -10220,6 +8899,31 @@ export declare const useCoreStore: () => {
|
|
10220
8899
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
10221
8900
|
restaurants: import("vue").Ref<{
|
10222
8901
|
managable: boolean;
|
8902
|
+
pickup?: {
|
8903
|
+
catalogId?: string | null | undefined;
|
8904
|
+
autoAccept?: boolean | null | undefined;
|
8905
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
8906
|
+
offlinePaymentTypes?: {
|
8907
|
+
name: string;
|
8908
|
+
instruction: string;
|
8909
|
+
}[] | null | undefined;
|
8910
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
8911
|
+
ignoreStock?: boolean | null | undefined;
|
8912
|
+
pickupTime?: {
|
8913
|
+
day: {
|
8914
|
+
max: number;
|
8915
|
+
min: number;
|
8916
|
+
};
|
8917
|
+
} | null | undefined;
|
8918
|
+
pickupPointConfig?: {
|
8919
|
+
restaurantEnable: boolean;
|
8920
|
+
points: {
|
8921
|
+
name: string;
|
8922
|
+
address: string;
|
8923
|
+
coordinates: number[];
|
8924
|
+
}[];
|
8925
|
+
} | null | undefined;
|
8926
|
+
} | null | undefined;
|
10223
8927
|
channel?: string | null | undefined;
|
10224
8928
|
machineId?: string | null | undefined;
|
10225
8929
|
catalogId?: string | null | undefined;
|
@@ -10321,31 +9025,6 @@ export declare const useCoreStore: () => {
|
|
10321
9025
|
}[];
|
10322
9026
|
term: string;
|
10323
9027
|
} | null | undefined;
|
10324
|
-
pickup?: {
|
10325
|
-
catalogId?: string | null | undefined;
|
10326
|
-
autoAccept?: boolean | null | undefined;
|
10327
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10328
|
-
offlinePaymentTypes?: {
|
10329
|
-
name: string;
|
10330
|
-
instruction: string;
|
10331
|
-
}[] | null | undefined;
|
10332
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
10333
|
-
ignoreStock?: boolean | null | undefined;
|
10334
|
-
pickupTime?: {
|
10335
|
-
day: {
|
10336
|
-
max: number;
|
10337
|
-
min: number;
|
10338
|
-
};
|
10339
|
-
} | null | undefined;
|
10340
|
-
pickupPointConfig?: {
|
10341
|
-
restaurantEnable: boolean;
|
10342
|
-
points: {
|
10343
|
-
name: string;
|
10344
|
-
address: string;
|
10345
|
-
coordinates: number[];
|
10346
|
-
}[];
|
10347
|
-
} | null | undefined;
|
10348
|
-
} | null | undefined;
|
10349
9028
|
dineIn?: {
|
10350
9029
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10351
9030
|
offlinePaymentTypes?: {
|
@@ -10366,7 +9045,7 @@ export declare const useCoreStore: () => {
|
|
10366
9045
|
attributeSettings?: {
|
10367
9046
|
type: "string" | "number" | "boolean" | "date";
|
10368
9047
|
key: string;
|
10369
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
9048
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10370
9049
|
}[] | null | undefined;
|
10371
9050
|
pf_agent?: {
|
10372
9051
|
clickupId?: string | null | undefined;
|
@@ -10599,6 +9278,31 @@ export declare const useCoreStore: () => {
|
|
10599
9278
|
};
|
10600
9279
|
}[], FmpRestaurant[] | {
|
10601
9280
|
managable: boolean;
|
9281
|
+
pickup?: {
|
9282
|
+
catalogId?: string | null | undefined;
|
9283
|
+
autoAccept?: boolean | null | undefined;
|
9284
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9285
|
+
offlinePaymentTypes?: {
|
9286
|
+
name: string;
|
9287
|
+
instruction: string;
|
9288
|
+
}[] | null | undefined;
|
9289
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9290
|
+
ignoreStock?: boolean | null | undefined;
|
9291
|
+
pickupTime?: {
|
9292
|
+
day: {
|
9293
|
+
max: number;
|
9294
|
+
min: number;
|
9295
|
+
};
|
9296
|
+
} | null | undefined;
|
9297
|
+
pickupPointConfig?: {
|
9298
|
+
restaurantEnable: boolean;
|
9299
|
+
points: {
|
9300
|
+
name: string;
|
9301
|
+
address: string;
|
9302
|
+
coordinates: number[];
|
9303
|
+
}[];
|
9304
|
+
} | null | undefined;
|
9305
|
+
} | null | undefined;
|
10602
9306
|
channel?: string | null | undefined;
|
10603
9307
|
machineId?: string | null | undefined;
|
10604
9308
|
catalogId?: string | null | undefined;
|
@@ -10700,31 +9404,6 @@ export declare const useCoreStore: () => {
|
|
10700
9404
|
}[];
|
10701
9405
|
term: string;
|
10702
9406
|
} | null | undefined;
|
10703
|
-
pickup?: {
|
10704
|
-
catalogId?: string | null | undefined;
|
10705
|
-
autoAccept?: boolean | null | undefined;
|
10706
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10707
|
-
offlinePaymentTypes?: {
|
10708
|
-
name: string;
|
10709
|
-
instruction: string;
|
10710
|
-
}[] | null | undefined;
|
10711
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
10712
|
-
ignoreStock?: boolean | null | undefined;
|
10713
|
-
pickupTime?: {
|
10714
|
-
day: {
|
10715
|
-
max: number;
|
10716
|
-
min: number;
|
10717
|
-
};
|
10718
|
-
} | null | undefined;
|
10719
|
-
pickupPointConfig?: {
|
10720
|
-
restaurantEnable: boolean;
|
10721
|
-
points: {
|
10722
|
-
name: string;
|
10723
|
-
address: string;
|
10724
|
-
coordinates: number[];
|
10725
|
-
}[];
|
10726
|
-
} | null | undefined;
|
10727
|
-
} | null | undefined;
|
10728
9407
|
dineIn?: {
|
10729
9408
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10730
9409
|
offlinePaymentTypes?: {
|
@@ -10745,7 +9424,7 @@ export declare const useCoreStore: () => {
|
|
10745
9424
|
attributeSettings?: {
|
10746
9425
|
type: "string" | "number" | "boolean" | "date";
|
10747
9426
|
key: string;
|
10748
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
9427
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10749
9428
|
}[] | null | undefined;
|
10750
9429
|
pf_agent?: {
|
10751
9430
|
clickupId?: string | null | undefined;
|
@@ -10979,6 +9658,31 @@ export declare const useCoreStore: () => {
|
|
10979
9658
|
}[]>;
|
10980
9659
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
10981
9660
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
9661
|
+
pickup?: {
|
9662
|
+
catalogId?: string | null | undefined;
|
9663
|
+
autoAccept?: boolean | null | undefined;
|
9664
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9665
|
+
offlinePaymentTypes?: {
|
9666
|
+
name: string;
|
9667
|
+
instruction: string;
|
9668
|
+
}[] | null | undefined;
|
9669
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9670
|
+
ignoreStock?: boolean | null | undefined;
|
9671
|
+
pickupTime?: {
|
9672
|
+
day: {
|
9673
|
+
max: number;
|
9674
|
+
min: number;
|
9675
|
+
};
|
9676
|
+
} | null | undefined;
|
9677
|
+
pickupPointConfig?: {
|
9678
|
+
restaurantEnable: boolean;
|
9679
|
+
points: {
|
9680
|
+
name: string;
|
9681
|
+
address: string;
|
9682
|
+
coordinates: number[];
|
9683
|
+
}[];
|
9684
|
+
} | null | undefined;
|
9685
|
+
} | null | undefined;
|
10982
9686
|
catalogId?: string | null | undefined;
|
10983
9687
|
takeaway?: {
|
10984
9688
|
catalogId?: string | null | undefined;
|
@@ -11077,31 +9781,6 @@ export declare const useCoreStore: () => {
|
|
11077
9781
|
}[];
|
11078
9782
|
term: string;
|
11079
9783
|
} | null | undefined;
|
11080
|
-
pickup?: {
|
11081
|
-
catalogId?: string | null | undefined;
|
11082
|
-
autoAccept?: boolean | null | undefined;
|
11083
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11084
|
-
offlinePaymentTypes?: {
|
11085
|
-
name: string;
|
11086
|
-
instruction: string;
|
11087
|
-
}[] | null | undefined;
|
11088
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
11089
|
-
ignoreStock?: boolean | null | undefined;
|
11090
|
-
pickupTime?: {
|
11091
|
-
day: {
|
11092
|
-
max: number;
|
11093
|
-
min: number;
|
11094
|
-
};
|
11095
|
-
} | null | undefined;
|
11096
|
-
pickupPointConfig?: {
|
11097
|
-
restaurantEnable: boolean;
|
11098
|
-
points: {
|
11099
|
-
name: string;
|
11100
|
-
address: string;
|
11101
|
-
coordinates: number[];
|
11102
|
-
}[];
|
11103
|
-
} | null | undefined;
|
11104
|
-
} | null | undefined;
|
11105
9784
|
dineIn?: {
|
11106
9785
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11107
9786
|
offlinePaymentTypes?: {
|
@@ -11204,6 +9883,12 @@ export declare const useCoreStore: () => {
|
|
11204
9883
|
taxCode: string;
|
11205
9884
|
systemCode: string;
|
11206
9885
|
}[] | null | undefined;
|
9886
|
+
reasonTemplates?: {
|
9887
|
+
action: string;
|
9888
|
+
reasons: string[];
|
9889
|
+
compulsory: boolean;
|
9890
|
+
allowOther: boolean;
|
9891
|
+
}[] | null | undefined;
|
11207
9892
|
_id: string;
|
11208
9893
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
11209
9894
|
printReceipt: boolean;
|
@@ -11214,6 +9899,31 @@ export declare const useCoreStore: () => {
|
|
11214
9899
|
} | null>;
|
11215
9900
|
readRestaurants: () => Promise<{
|
11216
9901
|
managable: boolean;
|
9902
|
+
pickup?: {
|
9903
|
+
catalogId?: string | null | undefined;
|
9904
|
+
autoAccept?: boolean | null | undefined;
|
9905
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
9906
|
+
offlinePaymentTypes?: {
|
9907
|
+
name: string;
|
9908
|
+
instruction: string;
|
9909
|
+
}[] | null | undefined;
|
9910
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
9911
|
+
ignoreStock?: boolean | null | undefined;
|
9912
|
+
pickupTime?: {
|
9913
|
+
day: {
|
9914
|
+
max: number;
|
9915
|
+
min: number;
|
9916
|
+
};
|
9917
|
+
} | null | undefined;
|
9918
|
+
pickupPointConfig?: {
|
9919
|
+
restaurantEnable: boolean;
|
9920
|
+
points: {
|
9921
|
+
name: string;
|
9922
|
+
address: string;
|
9923
|
+
coordinates: number[];
|
9924
|
+
}[];
|
9925
|
+
} | null | undefined;
|
9926
|
+
} | null | undefined;
|
11217
9927
|
channel?: string | null | undefined;
|
11218
9928
|
machineId?: string | null | undefined;
|
11219
9929
|
catalogId?: string | null | undefined;
|
@@ -11315,31 +10025,6 @@ export declare const useCoreStore: () => {
|
|
11315
10025
|
}[];
|
11316
10026
|
term: string;
|
11317
10027
|
} | null | undefined;
|
11318
|
-
pickup?: {
|
11319
|
-
catalogId?: string | null | undefined;
|
11320
|
-
autoAccept?: boolean | null | undefined;
|
11321
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11322
|
-
offlinePaymentTypes?: {
|
11323
|
-
name: string;
|
11324
|
-
instruction: string;
|
11325
|
-
}[] | null | undefined;
|
11326
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
11327
|
-
ignoreStock?: boolean | null | undefined;
|
11328
|
-
pickupTime?: {
|
11329
|
-
day: {
|
11330
|
-
max: number;
|
11331
|
-
min: number;
|
11332
|
-
};
|
11333
|
-
} | null | undefined;
|
11334
|
-
pickupPointConfig?: {
|
11335
|
-
restaurantEnable: boolean;
|
11336
|
-
points: {
|
11337
|
-
name: string;
|
11338
|
-
address: string;
|
11339
|
-
coordinates: number[];
|
11340
|
-
}[];
|
11341
|
-
} | null | undefined;
|
11342
|
-
} | null | undefined;
|
11343
10028
|
dineIn?: {
|
11344
10029
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11345
10030
|
offlinePaymentTypes?: {
|
@@ -11360,7 +10045,7 @@ export declare const useCoreStore: () => {
|
|
11360
10045
|
attributeSettings?: {
|
11361
10046
|
type: "string" | "number" | "boolean" | "date";
|
11362
10047
|
key: string;
|
11363
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10048
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11364
10049
|
}[] | null | undefined;
|
11365
10050
|
pf_agent?: {
|
11366
10051
|
clickupId?: string | null | undefined;
|
@@ -11811,16 +10496,21 @@ export declare const useCoreStore: () => {
|
|
11811
10496
|
restaurantAttributeSettings: import("vue").ComputedRef<{
|
11812
10497
|
type: "string" | "number" | "boolean" | "date";
|
11813
10498
|
key: string;
|
11814
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10499
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10500
|
+
}[]>;
|
10501
|
+
itemAttributeSettings: import("vue").ComputedRef<{
|
10502
|
+
type: "string" | "number" | "boolean" | "date";
|
10503
|
+
key: string;
|
10504
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11815
10505
|
}[]>;
|
11816
|
-
|
10506
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
11817
10507
|
type: "string" | "number" | "boolean" | "date";
|
11818
10508
|
key: string;
|
11819
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10509
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11820
10510
|
}[]>;
|
11821
10511
|
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
11822
10512
|
pushDataLayer: typeof pushDataLayer;
|
11823
|
-
}, "currentRestaurantSetting" | "isInternalOrAgent" | "restaurantAttributeSettings" | "itemAttributeSettings">, Pick<{
|
10513
|
+
}, "currentRestaurantSetting" | "isInternalOrAgent" | "restaurantAttributeSettings" | "itemAttributeSettings" | "groupAttributeSettings">, Pick<{
|
11824
10514
|
signIn: () => Promise<void>;
|
11825
10515
|
signInWithToken: (user: FeedMeUser, token: string) => Promise<void>;
|
11826
10516
|
signOut: () => Promise<void>;
|
@@ -11898,7 +10588,7 @@ export declare const useCoreStore: () => {
|
|
11898
10588
|
attributeSettings?: {
|
11899
10589
|
type: "string" | "number" | "boolean" | "date";
|
11900
10590
|
key: string;
|
11901
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10591
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11902
10592
|
}[] | null | undefined;
|
11903
10593
|
pf_agent?: {
|
11904
10594
|
clickupId?: string | null | undefined;
|
@@ -11965,7 +10655,7 @@ export declare const useCoreStore: () => {
|
|
11965
10655
|
attributeSettings?: {
|
11966
10656
|
type: "string" | "number" | "boolean" | "date";
|
11967
10657
|
key: string;
|
11968
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10658
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11969
10659
|
}[] | null | undefined;
|
11970
10660
|
pf_agent?: {
|
11971
10661
|
clickupId?: string | null | undefined;
|
@@ -12030,6 +10720,31 @@ export declare const useCoreStore: () => {
|
|
12030
10720
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
12031
10721
|
restaurants: import("vue").Ref<{
|
12032
10722
|
managable: boolean;
|
10723
|
+
pickup?: {
|
10724
|
+
catalogId?: string | null | undefined;
|
10725
|
+
autoAccept?: boolean | null | undefined;
|
10726
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
10727
|
+
offlinePaymentTypes?: {
|
10728
|
+
name: string;
|
10729
|
+
instruction: string;
|
10730
|
+
}[] | null | undefined;
|
10731
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
10732
|
+
ignoreStock?: boolean | null | undefined;
|
10733
|
+
pickupTime?: {
|
10734
|
+
day: {
|
10735
|
+
max: number;
|
10736
|
+
min: number;
|
10737
|
+
};
|
10738
|
+
} | null | undefined;
|
10739
|
+
pickupPointConfig?: {
|
10740
|
+
restaurantEnable: boolean;
|
10741
|
+
points: {
|
10742
|
+
name: string;
|
10743
|
+
address: string;
|
10744
|
+
coordinates: number[];
|
10745
|
+
}[];
|
10746
|
+
} | null | undefined;
|
10747
|
+
} | null | undefined;
|
12033
10748
|
channel?: string | null | undefined;
|
12034
10749
|
machineId?: string | null | undefined;
|
12035
10750
|
catalogId?: string | null | undefined;
|
@@ -12131,31 +10846,6 @@ export declare const useCoreStore: () => {
|
|
12131
10846
|
}[];
|
12132
10847
|
term: string;
|
12133
10848
|
} | null | undefined;
|
12134
|
-
pickup?: {
|
12135
|
-
catalogId?: string | null | undefined;
|
12136
|
-
autoAccept?: boolean | null | undefined;
|
12137
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12138
|
-
offlinePaymentTypes?: {
|
12139
|
-
name: string;
|
12140
|
-
instruction: string;
|
12141
|
-
}[] | null | undefined;
|
12142
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
12143
|
-
ignoreStock?: boolean | null | undefined;
|
12144
|
-
pickupTime?: {
|
12145
|
-
day: {
|
12146
|
-
max: number;
|
12147
|
-
min: number;
|
12148
|
-
};
|
12149
|
-
} | null | undefined;
|
12150
|
-
pickupPointConfig?: {
|
12151
|
-
restaurantEnable: boolean;
|
12152
|
-
points: {
|
12153
|
-
name: string;
|
12154
|
-
address: string;
|
12155
|
-
coordinates: number[];
|
12156
|
-
}[];
|
12157
|
-
} | null | undefined;
|
12158
|
-
} | null | undefined;
|
12159
10849
|
dineIn?: {
|
12160
10850
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12161
10851
|
offlinePaymentTypes?: {
|
@@ -12176,7 +10866,7 @@ export declare const useCoreStore: () => {
|
|
12176
10866
|
attributeSettings?: {
|
12177
10867
|
type: "string" | "number" | "boolean" | "date";
|
12178
10868
|
key: string;
|
12179
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
10869
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12180
10870
|
}[] | null | undefined;
|
12181
10871
|
pf_agent?: {
|
12182
10872
|
clickupId?: string | null | undefined;
|
@@ -12409,6 +11099,31 @@ export declare const useCoreStore: () => {
|
|
12409
11099
|
};
|
12410
11100
|
}[], FmpRestaurant[] | {
|
12411
11101
|
managable: boolean;
|
11102
|
+
pickup?: {
|
11103
|
+
catalogId?: string | null | undefined;
|
11104
|
+
autoAccept?: boolean | null | undefined;
|
11105
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11106
|
+
offlinePaymentTypes?: {
|
11107
|
+
name: string;
|
11108
|
+
instruction: string;
|
11109
|
+
}[] | null | undefined;
|
11110
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11111
|
+
ignoreStock?: boolean | null | undefined;
|
11112
|
+
pickupTime?: {
|
11113
|
+
day: {
|
11114
|
+
max: number;
|
11115
|
+
min: number;
|
11116
|
+
};
|
11117
|
+
} | null | undefined;
|
11118
|
+
pickupPointConfig?: {
|
11119
|
+
restaurantEnable: boolean;
|
11120
|
+
points: {
|
11121
|
+
name: string;
|
11122
|
+
address: string;
|
11123
|
+
coordinates: number[];
|
11124
|
+
}[];
|
11125
|
+
} | null | undefined;
|
11126
|
+
} | null | undefined;
|
12412
11127
|
channel?: string | null | undefined;
|
12413
11128
|
machineId?: string | null | undefined;
|
12414
11129
|
catalogId?: string | null | undefined;
|
@@ -12510,31 +11225,6 @@ export declare const useCoreStore: () => {
|
|
12510
11225
|
}[];
|
12511
11226
|
term: string;
|
12512
11227
|
} | null | undefined;
|
12513
|
-
pickup?: {
|
12514
|
-
catalogId?: string | null | undefined;
|
12515
|
-
autoAccept?: boolean | null | undefined;
|
12516
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12517
|
-
offlinePaymentTypes?: {
|
12518
|
-
name: string;
|
12519
|
-
instruction: string;
|
12520
|
-
}[] | null | undefined;
|
12521
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
12522
|
-
ignoreStock?: boolean | null | undefined;
|
12523
|
-
pickupTime?: {
|
12524
|
-
day: {
|
12525
|
-
max: number;
|
12526
|
-
min: number;
|
12527
|
-
};
|
12528
|
-
} | null | undefined;
|
12529
|
-
pickupPointConfig?: {
|
12530
|
-
restaurantEnable: boolean;
|
12531
|
-
points: {
|
12532
|
-
name: string;
|
12533
|
-
address: string;
|
12534
|
-
coordinates: number[];
|
12535
|
-
}[];
|
12536
|
-
} | null | undefined;
|
12537
|
-
} | null | undefined;
|
12538
11228
|
dineIn?: {
|
12539
11229
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12540
11230
|
offlinePaymentTypes?: {
|
@@ -12555,7 +11245,7 @@ export declare const useCoreStore: () => {
|
|
12555
11245
|
attributeSettings?: {
|
12556
11246
|
type: "string" | "number" | "boolean" | "date";
|
12557
11247
|
key: string;
|
12558
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11248
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12559
11249
|
}[] | null | undefined;
|
12560
11250
|
pf_agent?: {
|
12561
11251
|
clickupId?: string | null | undefined;
|
@@ -12789,6 +11479,31 @@ export declare const useCoreStore: () => {
|
|
12789
11479
|
}[]>;
|
12790
11480
|
currentRestaurant: import("vue").Ref<FmpRestaurant | undefined, FmpRestaurant | undefined>;
|
12791
11481
|
currentRestaurantSetting: import("vue").ComputedRef<{
|
11482
|
+
pickup?: {
|
11483
|
+
catalogId?: string | null | undefined;
|
11484
|
+
autoAccept?: boolean | null | undefined;
|
11485
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11486
|
+
offlinePaymentTypes?: {
|
11487
|
+
name: string;
|
11488
|
+
instruction: string;
|
11489
|
+
}[] | null | undefined;
|
11490
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11491
|
+
ignoreStock?: boolean | null | undefined;
|
11492
|
+
pickupTime?: {
|
11493
|
+
day: {
|
11494
|
+
max: number;
|
11495
|
+
min: number;
|
11496
|
+
};
|
11497
|
+
} | null | undefined;
|
11498
|
+
pickupPointConfig?: {
|
11499
|
+
restaurantEnable: boolean;
|
11500
|
+
points: {
|
11501
|
+
name: string;
|
11502
|
+
address: string;
|
11503
|
+
coordinates: number[];
|
11504
|
+
}[];
|
11505
|
+
} | null | undefined;
|
11506
|
+
} | null | undefined;
|
12792
11507
|
catalogId?: string | null | undefined;
|
12793
11508
|
takeaway?: {
|
12794
11509
|
catalogId?: string | null | undefined;
|
@@ -12887,31 +11602,6 @@ export declare const useCoreStore: () => {
|
|
12887
11602
|
}[];
|
12888
11603
|
term: string;
|
12889
11604
|
} | null | undefined;
|
12890
|
-
pickup?: {
|
12891
|
-
catalogId?: string | null | undefined;
|
12892
|
-
autoAccept?: boolean | null | undefined;
|
12893
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12894
|
-
offlinePaymentTypes?: {
|
12895
|
-
name: string;
|
12896
|
-
instruction: string;
|
12897
|
-
}[] | null | undefined;
|
12898
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
12899
|
-
ignoreStock?: boolean | null | undefined;
|
12900
|
-
pickupTime?: {
|
12901
|
-
day: {
|
12902
|
-
max: number;
|
12903
|
-
min: number;
|
12904
|
-
};
|
12905
|
-
} | null | undefined;
|
12906
|
-
pickupPointConfig?: {
|
12907
|
-
restaurantEnable: boolean;
|
12908
|
-
points: {
|
12909
|
-
name: string;
|
12910
|
-
address: string;
|
12911
|
-
coordinates: number[];
|
12912
|
-
}[];
|
12913
|
-
} | null | undefined;
|
12914
|
-
} | null | undefined;
|
12915
11605
|
dineIn?: {
|
12916
11606
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12917
11607
|
offlinePaymentTypes?: {
|
@@ -13014,6 +11704,12 @@ export declare const useCoreStore: () => {
|
|
13014
11704
|
taxCode: string;
|
13015
11705
|
systemCode: string;
|
13016
11706
|
}[] | null | undefined;
|
11707
|
+
reasonTemplates?: {
|
11708
|
+
action: string;
|
11709
|
+
reasons: string[];
|
11710
|
+
compulsory: boolean;
|
11711
|
+
allowOther: boolean;
|
11712
|
+
}[] | null | undefined;
|
13017
11713
|
_id: string;
|
13018
11714
|
paymentMode: "PAY_FIRST" | "PAY_LATER";
|
13019
11715
|
printReceipt: boolean;
|
@@ -13024,6 +11720,31 @@ export declare const useCoreStore: () => {
|
|
13024
11720
|
} | null>;
|
13025
11721
|
readRestaurants: () => Promise<{
|
13026
11722
|
managable: boolean;
|
11723
|
+
pickup?: {
|
11724
|
+
catalogId?: string | null | undefined;
|
11725
|
+
autoAccept?: boolean | null | undefined;
|
11726
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
11727
|
+
offlinePaymentTypes?: {
|
11728
|
+
name: string;
|
11729
|
+
instruction: string;
|
11730
|
+
}[] | null | undefined;
|
11731
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
11732
|
+
ignoreStock?: boolean | null | undefined;
|
11733
|
+
pickupTime?: {
|
11734
|
+
day: {
|
11735
|
+
max: number;
|
11736
|
+
min: number;
|
11737
|
+
};
|
11738
|
+
} | null | undefined;
|
11739
|
+
pickupPointConfig?: {
|
11740
|
+
restaurantEnable: boolean;
|
11741
|
+
points: {
|
11742
|
+
name: string;
|
11743
|
+
address: string;
|
11744
|
+
coordinates: number[];
|
11745
|
+
}[];
|
11746
|
+
} | null | undefined;
|
11747
|
+
} | null | undefined;
|
13027
11748
|
channel?: string | null | undefined;
|
13028
11749
|
machineId?: string | null | undefined;
|
13029
11750
|
catalogId?: string | null | undefined;
|
@@ -13125,31 +11846,6 @@ export declare const useCoreStore: () => {
|
|
13125
11846
|
}[];
|
13126
11847
|
term: string;
|
13127
11848
|
} | null | undefined;
|
13128
|
-
pickup?: {
|
13129
|
-
catalogId?: string | null | undefined;
|
13130
|
-
autoAccept?: boolean | null | undefined;
|
13131
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
13132
|
-
offlinePaymentTypes?: {
|
13133
|
-
name: string;
|
13134
|
-
instruction: string;
|
13135
|
-
}[] | null | undefined;
|
13136
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
13137
|
-
ignoreStock?: boolean | null | undefined;
|
13138
|
-
pickupTime?: {
|
13139
|
-
day: {
|
13140
|
-
max: number;
|
13141
|
-
min: number;
|
13142
|
-
};
|
13143
|
-
} | null | undefined;
|
13144
|
-
pickupPointConfig?: {
|
13145
|
-
restaurantEnable: boolean;
|
13146
|
-
points: {
|
13147
|
-
name: string;
|
13148
|
-
address: string;
|
13149
|
-
coordinates: number[];
|
13150
|
-
}[];
|
13151
|
-
} | null | undefined;
|
13152
|
-
} | null | undefined;
|
13153
11849
|
dineIn?: {
|
13154
11850
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
13155
11851
|
offlinePaymentTypes?: {
|
@@ -13170,7 +11866,7 @@ export declare const useCoreStore: () => {
|
|
13170
11866
|
attributeSettings?: {
|
13171
11867
|
type: "string" | "number" | "boolean" | "date";
|
13172
11868
|
key: string;
|
13173
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
11869
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
13174
11870
|
}[] | null | undefined;
|
13175
11871
|
pf_agent?: {
|
13176
11872
|
clickupId?: string | null | undefined;
|
@@ -13621,12 +12317,17 @@ export declare const useCoreStore: () => {
|
|
13621
12317
|
restaurantAttributeSettings: import("vue").ComputedRef<{
|
13622
12318
|
type: "string" | "number" | "boolean" | "date";
|
13623
12319
|
key: string;
|
13624
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12320
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
13625
12321
|
}[]>;
|
13626
12322
|
itemAttributeSettings: import("vue").ComputedRef<{
|
13627
12323
|
type: "string" | "number" | "boolean" | "date";
|
13628
12324
|
key: string;
|
13629
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12325
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12326
|
+
}[]>;
|
12327
|
+
groupAttributeSettings: import("vue").ComputedRef<{
|
12328
|
+
type: "string" | "number" | "boolean" | "date";
|
12329
|
+
key: string;
|
12330
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
13630
12331
|
}[]>;
|
13631
12332
|
updateAttributeSettings: (attributes: FdoCustomAttribute[]) => void;
|
13632
12333
|
pushDataLayer: typeof pushDataLayer;
|
@@ -13649,6 +12350,31 @@ export declare const useCoreStore: () => {
|
|
13649
12350
|
changeBusiness: (business: FmpBusiness | undefined) => Promise<void>;
|
13650
12351
|
readRestaurants: () => Promise<{
|
13651
12352
|
managable: boolean;
|
12353
|
+
pickup?: {
|
12354
|
+
catalogId?: string | null | undefined;
|
12355
|
+
autoAccept?: boolean | null | undefined;
|
12356
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
12357
|
+
offlinePaymentTypes?: {
|
12358
|
+
name: string;
|
12359
|
+
instruction: string;
|
12360
|
+
}[] | null | undefined;
|
12361
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
12362
|
+
ignoreStock?: boolean | null | undefined;
|
12363
|
+
pickupTime?: {
|
12364
|
+
day: {
|
12365
|
+
max: number;
|
12366
|
+
min: number;
|
12367
|
+
};
|
12368
|
+
} | null | undefined;
|
12369
|
+
pickupPointConfig?: {
|
12370
|
+
restaurantEnable: boolean;
|
12371
|
+
points: {
|
12372
|
+
name: string;
|
12373
|
+
address: string;
|
12374
|
+
coordinates: number[];
|
12375
|
+
}[];
|
12376
|
+
} | null | undefined;
|
12377
|
+
} | null | undefined;
|
13652
12378
|
channel?: string | null | undefined;
|
13653
12379
|
machineId?: string | null | undefined;
|
13654
12380
|
catalogId?: string | null | undefined;
|
@@ -13750,31 +12476,6 @@ export declare const useCoreStore: () => {
|
|
13750
12476
|
}[];
|
13751
12477
|
term: string;
|
13752
12478
|
} | null | undefined;
|
13753
|
-
pickup?: {
|
13754
|
-
catalogId?: string | null | undefined;
|
13755
|
-
autoAccept?: boolean | null | undefined;
|
13756
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
13757
|
-
offlinePaymentTypes?: {
|
13758
|
-
name: string;
|
13759
|
-
instruction: string;
|
13760
|
-
}[] | null | undefined;
|
13761
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
13762
|
-
ignoreStock?: boolean | null | undefined;
|
13763
|
-
pickupTime?: {
|
13764
|
-
day: {
|
13765
|
-
max: number;
|
13766
|
-
min: number;
|
13767
|
-
};
|
13768
|
-
} | null | undefined;
|
13769
|
-
pickupPointConfig?: {
|
13770
|
-
restaurantEnable: boolean;
|
13771
|
-
points: {
|
13772
|
-
name: string;
|
13773
|
-
address: string;
|
13774
|
-
coordinates: number[];
|
13775
|
-
}[];
|
13776
|
-
} | null | undefined;
|
13777
|
-
} | null | undefined;
|
13778
12479
|
dineIn?: {
|
13779
12480
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
13780
12481
|
offlinePaymentTypes?: {
|
@@ -13795,7 +12496,7 @@ export declare const useCoreStore: () => {
|
|
13795
12496
|
attributeSettings?: {
|
13796
12497
|
type: "string" | "number" | "boolean" | "date";
|
13797
12498
|
key: string;
|
13798
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
12499
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
13799
12500
|
}[] | null | undefined;
|
13800
12501
|
pf_agent?: {
|
13801
12502
|
clickupId?: string | null | undefined;
|