@feedmepos/mf-inventory-portal 0.0.19-dev.9 → 0.0.20-dev.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/App.vue.d.ts +1 -1
- package/dist/{ApprovalView-Bcxk6B7K.js → ApprovalView-CF-RhtHH.js} +5 -5
- package/dist/{BindingsDialog-XDkcjW_c.js → BindingsDialog-0_fCmf7t.js} +26 -26
- package/dist/{BindingsPicker-CgbiqX72.js → BindingsPicker-CT-56t-W.js} +17 -17
- package/dist/BindingsTable-DEftAnTN.js +120 -0
- package/dist/Entry.vue.d.ts +1 -1
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-6yg6_JPe.js +308 -0
- package/dist/IngredientsView-Au6oRwF2.js +1663 -0
- package/dist/{IntegrationView-CErHEVAO.js → IntegrationView-D7hqf0P5.js} +278 -278
- package/dist/{NumberPrecisionInput.vue_vue_type_script_setup_true_lang-XXoPyhlc.js → NumberPrecisionInput.vue_vue_type_script_setup_true_lang-HcOKpAlW.js} +1 -1
- package/dist/{PremiumBadge.vue_vue_type_script_setup_true_lang-BpyUheXn.js → PremiumBadge.vue_vue_type_script_setup_true_lang-BTOE1vFl.js} +1 -1
- package/dist/PurchaseOrderPrintPreview-C92PdleC.js +152 -0
- package/dist/{ReceiveRequestView-BKbeFDxm.js → ReceiveRequestView-BaxEQWOD.js} +8 -8
- package/dist/{RecipeView-Drp4l4gL.js → RecipeView-CDgZpLPk.js} +181 -181
- package/dist/Standalone.vue.d.ts +1 -1
- package/dist/{StockView-Cj6fErwD.js → StockView-B77CrARl.js} +498 -502
- package/dist/SupplierView-DQ3hB7q2.js +819 -0
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-lsyakQIl.js +738 -0
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-DN7NCT72.js +1435 -0
- package/dist/TransferTemplateView-Dt04xMCK.js +1290 -0
- package/dist/{UnitView-C_tAxIpq.js → UnitView-DlmlVNOx.js} +242 -242
- package/dist/{WarehouseView-BAqVtbD6.js → WarehouseView-DXWls5vv.js} +360 -362
- package/dist/api/bill.d.ts +238 -84
- package/dist/api/inventory.d.ts +3 -3
- package/dist/api/purchase-order-template.d.ts +4 -0
- package/dist/api/stock.d.ts +0 -8
- package/dist/api/supplier.d.ts +2 -0
- package/dist/app-P7rGzGsF.js +68600 -0
- package/dist/app.d.ts +200 -7
- package/dist/app.js +3 -3
- package/dist/{array-AvWd53LI.js → array-ClJzD_Lt.js} +3 -3
- package/dist/components/ChangeLocationComponent.vue.d.ts +14 -1
- package/dist/components/DeferableLoading.vue.d.ts +1 -1
- package/dist/components/DeleteDialog.vue.d.ts +1 -1
- package/dist/components/FmCoordinateInput.vue.d.ts +3 -3
- package/dist/components/FmDroppableField.vue.d.ts +6 -6
- package/dist/components/FmFilterableSelect.vue.d.ts +3 -3
- package/dist/components/FmInventoryTableToolbar.vue.d.ts +19 -10
- package/dist/components/FmMinMaxInput.vue.d.ts +20 -0
- package/dist/components/FmMinMaxInputProps.d.ts +16 -0
- package/dist/components/FmMinMaxInputRules.d.ts +4 -0
- package/dist/components/FmMultiselectDialog.vue.d.ts +5 -5
- package/dist/components/FmMultiselectDialogProps.d.ts +14 -1
- package/dist/components/FmUnitInputRules.d.ts +1 -0
- package/dist/components/MultiSelectDialog.vue.d.ts +1 -1
- package/dist/components/NavigationTab.vue.d.ts +1 -1
- package/dist/components/NumberPrecisionInput.vue.d.ts +3 -3
- package/dist/components/PremiumBadge.vue.d.ts +3 -3
- package/dist/components/PreviewBadge.vue.d.ts +3 -3
- package/dist/components/StockForecast.vue.d.ts +1 -1
- package/dist/components/TableActionableRow.vue.d.ts +4 -4
- package/dist/components/UnitDisplayControl.vue.d.ts +1 -1
- package/dist/components/icons/IconCommunity.vue.d.ts +1 -1
- package/dist/components/icons/IconDocumentation.vue.d.ts +1 -1
- package/dist/components/icons/IconEcosystem.vue.d.ts +1 -1
- package/dist/components/icons/IconSupport.vue.d.ts +1 -1
- package/dist/components/icons/IconTooling.vue.d.ts +1 -1
- package/dist/components/inventory-binding/InventoryBinding.vue.d.ts +6 -6
- package/dist/components/map/CoordinateDialog.vue.d.ts +4 -4
- package/dist/components/map/GoogleMap.vue.d.ts +6 -6
- package/dist/components/nested-multiselect/FmNestedMultiselectDialog.vue.d.ts +3 -3
- package/dist/components/row-action.enum.d.ts +3 -1
- package/dist/components/shell/inventory/binding-dialog.vue.d.ts +3 -3
- package/dist/components/shell/inventory/binding-ui.vue.d.ts +6 -6
- package/dist/components/ui-library/FmDateRangePickerChip.vue.d.ts +5 -5
- package/dist/composable/useIframe.d.ts +1 -1
- package/dist/composable/useSearch.d.ts +1 -1
- package/dist/{decimal-D3KXLC4T.js → decimal-4ONRlhOO.js} +1 -1
- package/dist/format-unit-display-DJpElzu_.js +707 -0
- package/dist/helper/number.d.ts +2 -0
- package/dist/{id-to-date-Cj02m808.js → id-to-date-D8Ey2CVj.js} +1 -1
- package/dist/is-linked-ingredient-error-fJ2TJb3z.js +37 -0
- package/dist/layout/InventoryLayout.vue.d.ts +1 -1
- package/dist/layout/SingleColumnLayout.vue.d.ts +6 -5
- package/dist/layout/components/NavigationButton.vue.d.ts +4 -4
- package/dist/layout-D-zXtsSp.js +151 -0
- package/dist/row-action.enum-PMKMRrZR.js +50 -0
- package/dist/stores/feature.d.ts +5 -1
- package/dist/stores/inventory.d.ts +4 -4
- package/dist/stores/location.d.ts +185 -152
- package/dist/stores/supplier.d.ts +666 -12
- package/dist/stores/warehouse.d.ts +17 -5
- package/dist/supplier-DsUIjl-L.js +69 -0
- package/dist/tsconfig.app.tsbuildinfo +1 -1
- package/dist/views/InventoryView.vue.d.ts +1 -1
- package/dist/views/SelectBussinessDialog.vue.d.ts +1 -1
- package/dist/views/approval/ApprovalView.vue.d.ts +1 -1
- package/dist/views/dev/ComponentPreview.vue.d.ts +1 -1
- package/dist/views/dev/components/CoordinateTest.vue.d.ts +1 -1
- package/dist/views/dev/components/DateRange.vue.d.ts +1 -1
- package/dist/views/dev/components/FmDecimalInputTest.vue.d.ts +1 -1
- package/dist/views/dev/components/FmMultiselectDialogGrouped.vue.d.ts +2 -0
- package/dist/views/dev/components/FmSelectTest.vue.d.ts +1 -1
- package/dist/views/dev/components/InventoryIframe.vue.d.ts +1 -1
- package/dist/views/dev/components/LayoutDev.vue.d.ts +1 -1
- package/dist/views/dev/components/MfCommontTest.vue.d.ts +1 -1
- package/dist/views/dev/components/NestedSelection.vue.d.ts +1 -1
- package/dist/views/dev/components/NumberStepper.vue.d.ts +1 -1
- package/dist/views/dev/components/TabStorageTest.vue.d.ts +1 -1
- package/dist/views/dev/components/UnitInput.vue.d.ts +1 -1
- package/dist/views/dev/helpers/pinia-test.d.ts +1 -1
- package/dist/views/home/HomeView.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-dialog/BindingsDialog.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-picker/BindingsPicker.vue.d.ts +1 -1
- package/dist/views/iframe/inventory-bindings/bindings-table/BindingsTable.vue.d.ts +1 -1
- package/dist/views/ingredients/IngredientsView.vue.d.ts +1 -1
- package/dist/views/ingredients/components/cannot-delete/CannotDelete.vue.d.ts +4 -4
- package/dist/views/ingredients/components/convert/ConvertForm.vue.d.ts +3 -3
- package/dist/views/ingredients/components/import-ingredients/ImportIngredientItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/import-ingredients/ImportIngredients.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-binded-item/IngredientBindedItem.vue.d.ts +1 -1
- package/dist/views/ingredients/components/ingredient-dialog/IngredientDialog.vue.d.ts +5 -5
- package/dist/views/ingredients/components/ingredient-form/IngredientForm.vue.d.ts +6 -6
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingForm.vue.d.ts +5 -5
- package/dist/views/ingredients/components/inventory-binding/InventoryBindingSummary.vue.d.ts +3 -3
- package/dist/views/ingredients/composables/use-ingredient-form.d.ts +8 -8
- package/dist/views/ingredients/composables/use-ingredient-table.d.ts +1 -1
- package/dist/views/integration/IntegrationView.vue.d.ts +1 -1
- package/dist/views/integration/components/ApplyAddon.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProduct.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialog.vue.d.ts +5 -5
- package/dist/views/integration/components/ApplyProductDialogV4.vue.d.ts +5 -5
- package/dist/views/receive-request/ReceiveRequestView.vue.d.ts +1 -1
- package/dist/views/receive-request/components/select-template-dialog/SelectTemplateDialog.vue.d.ts +8 -0
- package/dist/views/receive-request/components/supplier-price-history/SupplierPriceHistory.vue.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-details/TransferDetails.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-dialog/TransferDialog.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-dialog/TransferDialogProps.d.ts +1 -1
- package/dist/views/receive-request/components/transfer-form/SparkIcon.vue.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/TransferForm.vue.d.ts +34 -32
- package/dist/views/receive-request/components/transfer-form/TransferForm2.vue.d.ts +8 -2
- package/dist/views/receive-request/components/transfer-form/TransferFormProps.d.ts +1 -0
- package/dist/views/receive-request/components/transfer-form/components/ForecastStock.vue.d.ts +6 -6
- package/dist/views/receive-request/components/transfer-form/components/TransferItem.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/components/TransferItemTable.vue.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-backdate-po.d.ts +4 -4
- package/dist/views/receive-request/components/transfer-form/composables/use-compare-price.d.ts +3 -3
- package/dist/views/receive-request/components/transfer-form/composables/use-transfer-items.d.ts +2 -9
- package/dist/views/receive-request/composables/use-receive-request-form.d.ts +1016 -70
- package/dist/views/receive-request/composables/use-receive-request-table.d.ts +36 -36
- package/dist/views/receive-request/print-preview/PurchaseOrderPrintPreview.vue.d.ts +1 -1
- package/dist/views/recipe/RecipeView.vue.d.ts +1 -1
- package/dist/views/recipe/components/recipe-dialog/RecipeDialog.vue.d.ts +5 -5
- package/dist/views/recipe/components/recipe-form/RecipeForm.vue.d.ts +4 -4
- package/dist/views/recipe/composables/use-recipe-form.d.ts +8 -8
- package/dist/views/stock/StockView.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHeaderPreview.vue.d.ts +1 -1
- package/dist/views/stock/components/StockHistory.vue.d.ts +3 -3
- package/dist/views/stock/components/StockRecordCard.vue.d.ts +123 -46
- package/dist/views/stock/components/dialog/AdjustSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/components/dialog/AdjustedItemForm.vue.d.ts +5 -5
- package/dist/views/stock/components/dialog/ConvertSkuDialog.vue.d.ts +4 -4
- package/dist/views/stock/composables/use-stock-action.d.ts +11 -11
- package/dist/views/stock/helper/stock-row-action.d.ts +4 -2
- package/dist/views/supplier/SupplierView.vue.d.ts +1 -1
- package/dist/views/supplier/components/SupplierDialog.vue.d.ts +4 -4
- package/dist/views/supplier/components/SupplierForm.vue.d.ts +10 -10
- package/dist/views/supplier/components/SupplierSupplyItemField.vue.d.ts +3 -3
- package/dist/views/supplier/composables/use-supplier-table.d.ts +3 -3
- package/dist/views/transfer-template/TransferTemplateView.vue.d.ts +1 -1
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetails.vue.d.ts +20 -0
- package/dist/views/transfer-template/components/transfer-template-details/TransferTemplateDetailsProps.d.ts +9 -0
- package/dist/views/transfer-template/components/transfer-template-dialog/TransferTemplateDialog.vue.d.ts +4 -4
- package/dist/views/transfer-template/components/transfer-template-form/TransferTemplateForm.vue.d.ts +2 -2
- package/dist/views/transfer-template/components/transfer-template-form/components/TransferTemplateItem.vue.d.ts +3 -3
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-locations.d.ts +7 -7
- package/dist/views/transfer-template/components/transfer-template-form/composables/use-transfer-template-items.d.ts +15 -9
- package/dist/views/transfer-template/composables/use-transfer-template-actions.d.ts +1428 -43
- package/dist/views/transfer-template/composables/use-transfer-template-table.d.ts +893 -13
- package/dist/views/unit/UnitView.vue.d.ts +1 -1
- package/dist/views/unit/components/unit-dialog/UnitDialog.vue.d.ts +5 -5
- package/dist/views/unit/components/unit-form/UnitForm.vue.d.ts +4 -4
- package/dist/views/unit/components/unit-summary/UnitSummary.vue.d.ts +3 -3
- package/dist/views/unit/components/unit-used-by/UnitUsedBy.vue.d.ts +1 -1
- package/dist/views/unit/composables/use-unit-form.d.ts +8 -8
- package/dist/views/warehouse/WarehouseView.vue.d.ts +1 -1
- package/dist/views/warehouse/components/WarehouseDialog.vue.d.ts +4 -4
- package/dist/views/warehouse/components/WarehouseForm.vue.d.ts +38 -14
- package/dist/{xlsx-B-2KyDJq.js → xlsx-zfERRe6K.js} +3383 -3383
- package/dist/{xlsx.util-D6EzRE71.js → xlsx.util-DnbiJzsk.js} +4 -4
- package/package.json +6 -5
- package/dist/BindingsTable-xNXNsBAd.js +0 -145
- package/dist/FmInventoryTableToolbar.vue_vue_type_script_setup_true_lang-DFPkUHl-.js +0 -272
- package/dist/IngredientsView-DD7ns3mP.js +0 -1751
- package/dist/PurchaseOrderPrintPreview-L_iaaURb.js +0 -152
- package/dist/SupplierView-EFsHWet-.js +0 -801
- package/dist/TransferDetails.vue_vue_type_script_setup_true_lang-kM5fyqq6.js +0 -745
- package/dist/TransferDialog.vue_vue_type_script_setup_true_lang-CyFMCmXw.js +0 -1605
- package/dist/TransferTemplateView-Cymhrayh.js +0 -933
- package/dist/app-CeUU5Gd8.js +0 -66938
- package/dist/is-linked-ingredient-error-C6AghEwR.js +0 -37
- package/dist/layout-2zzAZIVO.js +0 -147
- package/dist/purchase-order-transaction-type-Dz0YF5qh.js +0 -294
- package/dist/row-action.enum-7jVyol1k.js +0 -36
- package/dist/supplier-mDVKd7Ge.js +0 -54
- package/dist/views/stock/components/StockRecalculateDialog.vue.d.ts +0 -9
|
@@ -25,6 +25,14 @@ export declare function useLocationStore(): {
|
|
|
25
25
|
url?: string | null | undefined;
|
|
26
26
|
expiredAt?: string | null | undefined;
|
|
27
27
|
agentId?: string | null | undefined;
|
|
28
|
+
restaurantTagGroups?: {
|
|
29
|
+
name: string;
|
|
30
|
+
id: string;
|
|
31
|
+
tags: {
|
|
32
|
+
name: string;
|
|
33
|
+
id: string;
|
|
34
|
+
}[];
|
|
35
|
+
}[] | null | undefined;
|
|
28
36
|
pf_agent?: {
|
|
29
37
|
clickupId?: string | null | undefined;
|
|
30
38
|
members?: {
|
|
@@ -34,8 +42,8 @@ export declare function useLocationStore(): {
|
|
|
34
42
|
birthday?: string | null | undefined;
|
|
35
43
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
36
44
|
addresses?: {
|
|
37
|
-
address: string;
|
|
38
45
|
name: string;
|
|
46
|
+
address: string;
|
|
39
47
|
coordinates: number[];
|
|
40
48
|
}[] | null | undefined;
|
|
41
49
|
photoURL?: string | null | undefined;
|
|
@@ -57,20 +65,24 @@ export declare function useLocationStore(): {
|
|
|
57
65
|
thumbnail?: string | null | undefined;
|
|
58
66
|
billingInfos?: {
|
|
59
67
|
_id?: string | null | undefined;
|
|
68
|
+
name: string;
|
|
60
69
|
address: {
|
|
61
70
|
coordinates?: number[] | null | undefined;
|
|
62
71
|
line2?: string | null | undefined;
|
|
63
72
|
state: string;
|
|
73
|
+
country: string;
|
|
64
74
|
line1: string;
|
|
65
75
|
city: string;
|
|
66
76
|
postcode: string;
|
|
67
|
-
country: string;
|
|
68
77
|
};
|
|
69
|
-
name: string;
|
|
70
78
|
email: string;
|
|
71
79
|
companyName: string;
|
|
72
80
|
contact: string;
|
|
73
81
|
}[] | null | undefined;
|
|
82
|
+
customerDisplayImages?: {
|
|
83
|
+
url: string;
|
|
84
|
+
restaurantIds: string[];
|
|
85
|
+
}[] | null | undefined;
|
|
74
86
|
name: string;
|
|
75
87
|
_id: string;
|
|
76
88
|
ownerId: string;
|
|
@@ -79,6 +91,7 @@ export declare function useLocationStore(): {
|
|
|
79
91
|
menuVersion: string;
|
|
80
92
|
} | null | undefined;
|
|
81
93
|
_id: string;
|
|
94
|
+
businessId: string;
|
|
82
95
|
profile: {
|
|
83
96
|
email?: string | null | undefined;
|
|
84
97
|
phoneNo?: string | null | undefined;
|
|
@@ -87,14 +100,13 @@ export declare function useLocationStore(): {
|
|
|
87
100
|
coordinates?: number[] | null | undefined;
|
|
88
101
|
line2?: string | null | undefined;
|
|
89
102
|
state: string;
|
|
103
|
+
country: string;
|
|
90
104
|
line1: string;
|
|
91
105
|
city: string;
|
|
92
106
|
postcode: string;
|
|
93
|
-
country: string;
|
|
94
107
|
};
|
|
95
108
|
regNo: string;
|
|
96
109
|
};
|
|
97
|
-
businessId: string;
|
|
98
110
|
} | {
|
|
99
111
|
channel?: string | null | undefined;
|
|
100
112
|
machineId?: string | null | undefined;
|
|
@@ -103,6 +115,11 @@ export declare function useLocationStore(): {
|
|
|
103
115
|
catalogId?: string | null | undefined;
|
|
104
116
|
} | null | undefined;
|
|
105
117
|
inHouseDelivery?: {
|
|
118
|
+
taxes?: Record<string, {
|
|
119
|
+
inclusive: boolean;
|
|
120
|
+
taxCode: string;
|
|
121
|
+
systemCode: string;
|
|
122
|
+
}> | null | undefined;
|
|
106
123
|
autoAccept?: boolean | null | undefined;
|
|
107
124
|
deliveryTime?: {
|
|
108
125
|
time?: string[] | null | undefined;
|
|
@@ -210,8 +227,8 @@ export declare function useLocationStore(): {
|
|
|
210
227
|
pickupPointConfig?: {
|
|
211
228
|
restaurantEnable: boolean;
|
|
212
229
|
points: {
|
|
213
|
-
address: string;
|
|
214
230
|
name: string;
|
|
231
|
+
address: string;
|
|
215
232
|
coordinates: number[];
|
|
216
233
|
}[];
|
|
217
234
|
} | null | undefined;
|
|
@@ -228,6 +245,7 @@ export declare function useLocationStore(): {
|
|
|
228
245
|
acceptQueue?: boolean | null | undefined;
|
|
229
246
|
anonymousOrder: boolean;
|
|
230
247
|
} | null | undefined;
|
|
248
|
+
tags?: Record<string, string> | null | undefined;
|
|
231
249
|
features?: string[] | null | undefined;
|
|
232
250
|
machineOtp?: string | null | undefined;
|
|
233
251
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -240,12 +258,13 @@ export declare function useLocationStore(): {
|
|
|
240
258
|
catalogId?: string | null | undefined;
|
|
241
259
|
autoAccept?: boolean | null | undefined;
|
|
242
260
|
term?: string | null | undefined;
|
|
261
|
+
ignoreStock?: boolean | null | undefined;
|
|
243
262
|
enable: boolean;
|
|
244
263
|
} | null | undefined;
|
|
245
264
|
foodpandaDelivery?: {
|
|
246
265
|
_id?: string | undefined;
|
|
247
|
-
catalogId?: string | null | undefined;
|
|
248
266
|
ignoreDiscount?: boolean | null | undefined;
|
|
267
|
+
catalogId?: string | null | undefined;
|
|
249
268
|
commissionRate?: number | null | undefined;
|
|
250
269
|
lastSynchronize?: string | null | undefined;
|
|
251
270
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -303,31 +322,7 @@ export declare function useLocationStore(): {
|
|
|
303
322
|
anydeskPassword?: string | null | undefined;
|
|
304
323
|
deviceName: string;
|
|
305
324
|
}[] | null | undefined;
|
|
306
|
-
payoutAccount?:
|
|
307
|
-
bank?: {
|
|
308
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
309
|
-
accountNumber?: string | null | undefined;
|
|
310
|
-
holderName?: string | null | undefined;
|
|
311
|
-
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
|
312
|
-
} | null | undefined;
|
|
313
|
-
ssm?: string | null | undefined;
|
|
314
|
-
bankStatement?: string | null | undefined;
|
|
315
|
-
exteriorPhoto?: string | null | undefined;
|
|
316
|
-
keyPerson?: string | null | undefined;
|
|
317
|
-
keyPersonPhone?: string | null | undefined;
|
|
318
|
-
keyPersonEmail?: string | null | undefined;
|
|
319
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
320
|
-
enable: boolean;
|
|
321
|
-
methods: {
|
|
322
|
-
variant: string;
|
|
323
|
-
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
324
|
-
rate: {
|
|
325
|
-
amount: number;
|
|
326
|
-
precision: number;
|
|
327
|
-
};
|
|
328
|
-
tPlus: number;
|
|
329
|
-
}[];
|
|
330
|
-
} | null | undefined;
|
|
325
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
331
326
|
clearCount?: number | null | undefined;
|
|
332
327
|
queueSetting?: {
|
|
333
328
|
duration?: number | null | undefined;
|
|
@@ -350,6 +345,14 @@ export declare function useLocationStore(): {
|
|
|
350
345
|
url?: string | null | undefined;
|
|
351
346
|
expiredAt?: string | null | undefined;
|
|
352
347
|
agentId?: string | null | undefined;
|
|
348
|
+
restaurantTagGroups?: {
|
|
349
|
+
name: string;
|
|
350
|
+
id: string;
|
|
351
|
+
tags: {
|
|
352
|
+
name: string;
|
|
353
|
+
id: string;
|
|
354
|
+
}[];
|
|
355
|
+
}[] | null | undefined;
|
|
353
356
|
pf_agent?: {
|
|
354
357
|
clickupId?: string | null | undefined;
|
|
355
358
|
members?: {
|
|
@@ -359,8 +362,8 @@ export declare function useLocationStore(): {
|
|
|
359
362
|
birthday?: string | null | undefined;
|
|
360
363
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
361
364
|
addresses?: {
|
|
362
|
-
address: string;
|
|
363
365
|
name: string;
|
|
366
|
+
address: string;
|
|
364
367
|
coordinates: number[];
|
|
365
368
|
}[] | null | undefined;
|
|
366
369
|
photoURL?: string | null | undefined;
|
|
@@ -382,20 +385,24 @@ export declare function useLocationStore(): {
|
|
|
382
385
|
thumbnail?: string | null | undefined;
|
|
383
386
|
billingInfos?: {
|
|
384
387
|
_id?: string | null | undefined;
|
|
388
|
+
name: string;
|
|
385
389
|
address: {
|
|
386
390
|
coordinates?: number[] | null | undefined;
|
|
387
391
|
line2?: string | null | undefined;
|
|
388
392
|
state: string;
|
|
393
|
+
country: string;
|
|
389
394
|
line1: string;
|
|
390
395
|
city: string;
|
|
391
396
|
postcode: string;
|
|
392
|
-
country: string;
|
|
393
397
|
};
|
|
394
|
-
name: string;
|
|
395
398
|
email: string;
|
|
396
399
|
companyName: string;
|
|
397
400
|
contact: string;
|
|
398
401
|
}[] | null | undefined;
|
|
402
|
+
customerDisplayImages?: {
|
|
403
|
+
url: string;
|
|
404
|
+
restaurantIds: string[];
|
|
405
|
+
}[] | null | undefined;
|
|
399
406
|
name: string;
|
|
400
407
|
_id: string;
|
|
401
408
|
ownerId: string;
|
|
@@ -405,9 +412,11 @@ export declare function useLocationStore(): {
|
|
|
405
412
|
};
|
|
406
413
|
businessId: string;
|
|
407
414
|
profile: {
|
|
415
|
+
code?: string | null | undefined;
|
|
408
416
|
url?: string | null | undefined;
|
|
409
417
|
description?: string | null | undefined;
|
|
410
418
|
_id?: string | null | undefined;
|
|
419
|
+
tags?: string[] | null | undefined;
|
|
411
420
|
legalName?: string | null | undefined;
|
|
412
421
|
sstRegNo?: string | null | undefined;
|
|
413
422
|
discovery?: boolean | null | undefined;
|
|
@@ -465,17 +474,16 @@ export declare function useLocationStore(): {
|
|
|
465
474
|
enable: boolean;
|
|
466
475
|
};
|
|
467
476
|
} | null | undefined;
|
|
468
|
-
|
|
477
|
+
name: string;
|
|
469
478
|
address: {
|
|
470
479
|
coordinates?: number[] | null | undefined;
|
|
471
480
|
line2?: string | null | undefined;
|
|
472
481
|
state: string;
|
|
482
|
+
country: string;
|
|
473
483
|
line1: string;
|
|
474
484
|
city: string;
|
|
475
485
|
postcode: string;
|
|
476
|
-
country: string;
|
|
477
486
|
};
|
|
478
|
-
name: string;
|
|
479
487
|
email: string;
|
|
480
488
|
phoneNo: string;
|
|
481
489
|
regNo: string;
|
|
@@ -493,6 +501,14 @@ export declare function useLocationStore(): {
|
|
|
493
501
|
url?: string | null | undefined;
|
|
494
502
|
expiredAt?: string | null | undefined;
|
|
495
503
|
agentId?: string | null | undefined;
|
|
504
|
+
restaurantTagGroups?: {
|
|
505
|
+
name: string;
|
|
506
|
+
id: string;
|
|
507
|
+
tags: {
|
|
508
|
+
name: string;
|
|
509
|
+
id: string;
|
|
510
|
+
}[];
|
|
511
|
+
}[] | null | undefined;
|
|
496
512
|
pf_agent?: {
|
|
497
513
|
clickupId?: string | null | undefined;
|
|
498
514
|
members?: {
|
|
@@ -502,8 +518,8 @@ export declare function useLocationStore(): {
|
|
|
502
518
|
birthday?: string | null | undefined;
|
|
503
519
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
504
520
|
addresses?: {
|
|
505
|
-
address: string;
|
|
506
521
|
name: string;
|
|
522
|
+
address: string;
|
|
507
523
|
coordinates: number[];
|
|
508
524
|
}[] | null | undefined;
|
|
509
525
|
photoURL?: string | null | undefined;
|
|
@@ -525,20 +541,24 @@ export declare function useLocationStore(): {
|
|
|
525
541
|
thumbnail?: string | null | undefined;
|
|
526
542
|
billingInfos?: {
|
|
527
543
|
_id?: string | null | undefined;
|
|
544
|
+
name: string;
|
|
528
545
|
address: {
|
|
529
546
|
coordinates?: number[] | null | undefined;
|
|
530
547
|
line2?: string | null | undefined;
|
|
531
548
|
state: string;
|
|
549
|
+
country: string;
|
|
532
550
|
line1: string;
|
|
533
551
|
city: string;
|
|
534
552
|
postcode: string;
|
|
535
|
-
country: string;
|
|
536
553
|
};
|
|
537
|
-
name: string;
|
|
538
554
|
email: string;
|
|
539
555
|
companyName: string;
|
|
540
556
|
contact: string;
|
|
541
557
|
}[] | null | undefined;
|
|
558
|
+
customerDisplayImages?: {
|
|
559
|
+
url: string;
|
|
560
|
+
restaurantIds: string[];
|
|
561
|
+
}[] | null | undefined;
|
|
542
562
|
name: string;
|
|
543
563
|
_id: string;
|
|
544
564
|
ownerId: string;
|
|
@@ -547,6 +567,7 @@ export declare function useLocationStore(): {
|
|
|
547
567
|
menuVersion: string;
|
|
548
568
|
} | null | undefined;
|
|
549
569
|
_id: string;
|
|
570
|
+
businessId: string;
|
|
550
571
|
profile: {
|
|
551
572
|
email?: string | null | undefined;
|
|
552
573
|
phoneNo?: string | null | undefined;
|
|
@@ -555,14 +576,13 @@ export declare function useLocationStore(): {
|
|
|
555
576
|
coordinates?: number[] | null | undefined;
|
|
556
577
|
line2?: string | null | undefined;
|
|
557
578
|
state: string;
|
|
579
|
+
country: string;
|
|
558
580
|
line1: string;
|
|
559
581
|
city: string;
|
|
560
582
|
postcode: string;
|
|
561
|
-
country: string;
|
|
562
583
|
};
|
|
563
584
|
regNo: string;
|
|
564
585
|
};
|
|
565
|
-
businessId: string;
|
|
566
586
|
} | {
|
|
567
587
|
channel?: string | null | undefined;
|
|
568
588
|
machineId?: string | null | undefined;
|
|
@@ -571,6 +591,11 @@ export declare function useLocationStore(): {
|
|
|
571
591
|
catalogId?: string | null | undefined;
|
|
572
592
|
} | null | undefined;
|
|
573
593
|
inHouseDelivery?: {
|
|
594
|
+
taxes?: Record<string, {
|
|
595
|
+
inclusive: boolean;
|
|
596
|
+
taxCode: string;
|
|
597
|
+
systemCode: string;
|
|
598
|
+
}> | null | undefined;
|
|
574
599
|
autoAccept?: boolean | null | undefined;
|
|
575
600
|
deliveryTime?: {
|
|
576
601
|
time?: string[] | null | undefined;
|
|
@@ -678,8 +703,8 @@ export declare function useLocationStore(): {
|
|
|
678
703
|
pickupPointConfig?: {
|
|
679
704
|
restaurantEnable: boolean;
|
|
680
705
|
points: {
|
|
681
|
-
address: string;
|
|
682
706
|
name: string;
|
|
707
|
+
address: string;
|
|
683
708
|
coordinates: number[];
|
|
684
709
|
}[];
|
|
685
710
|
} | null | undefined;
|
|
@@ -696,6 +721,7 @@ export declare function useLocationStore(): {
|
|
|
696
721
|
acceptQueue?: boolean | null | undefined;
|
|
697
722
|
anonymousOrder: boolean;
|
|
698
723
|
} | null | undefined;
|
|
724
|
+
tags?: Record<string, string> | null | undefined;
|
|
699
725
|
features?: string[] | null | undefined;
|
|
700
726
|
machineOtp?: string | null | undefined;
|
|
701
727
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -708,12 +734,13 @@ export declare function useLocationStore(): {
|
|
|
708
734
|
catalogId?: string | null | undefined;
|
|
709
735
|
autoAccept?: boolean | null | undefined;
|
|
710
736
|
term?: string | null | undefined;
|
|
737
|
+
ignoreStock?: boolean | null | undefined;
|
|
711
738
|
enable: boolean;
|
|
712
739
|
} | null | undefined;
|
|
713
740
|
foodpandaDelivery?: {
|
|
714
741
|
_id?: string | undefined;
|
|
715
|
-
catalogId?: string | null | undefined;
|
|
716
742
|
ignoreDiscount?: boolean | null | undefined;
|
|
743
|
+
catalogId?: string | null | undefined;
|
|
717
744
|
commissionRate?: number | null | undefined;
|
|
718
745
|
lastSynchronize?: string | null | undefined;
|
|
719
746
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -771,31 +798,7 @@ export declare function useLocationStore(): {
|
|
|
771
798
|
anydeskPassword?: string | null | undefined;
|
|
772
799
|
deviceName: string;
|
|
773
800
|
}[] | null | undefined;
|
|
774
|
-
payoutAccount?:
|
|
775
|
-
bank?: {
|
|
776
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
777
|
-
accountNumber?: string | null | undefined;
|
|
778
|
-
holderName?: string | null | undefined;
|
|
779
|
-
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
|
780
|
-
} | null | undefined;
|
|
781
|
-
ssm?: string | null | undefined;
|
|
782
|
-
bankStatement?: string | null | undefined;
|
|
783
|
-
exteriorPhoto?: string | null | undefined;
|
|
784
|
-
keyPerson?: string | null | undefined;
|
|
785
|
-
keyPersonPhone?: string | null | undefined;
|
|
786
|
-
keyPersonEmail?: string | null | undefined;
|
|
787
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
788
|
-
enable: boolean;
|
|
789
|
-
methods: {
|
|
790
|
-
variant: string;
|
|
791
|
-
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
792
|
-
rate: {
|
|
793
|
-
amount: number;
|
|
794
|
-
precision: number;
|
|
795
|
-
};
|
|
796
|
-
tPlus: number;
|
|
797
|
-
}[];
|
|
798
|
-
} | null | undefined;
|
|
801
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
799
802
|
clearCount?: number | null | undefined;
|
|
800
803
|
queueSetting?: {
|
|
801
804
|
duration?: number | null | undefined;
|
|
@@ -818,6 +821,14 @@ export declare function useLocationStore(): {
|
|
|
818
821
|
url?: string | null | undefined;
|
|
819
822
|
expiredAt?: string | null | undefined;
|
|
820
823
|
agentId?: string | null | undefined;
|
|
824
|
+
restaurantTagGroups?: {
|
|
825
|
+
name: string;
|
|
826
|
+
id: string;
|
|
827
|
+
tags: {
|
|
828
|
+
name: string;
|
|
829
|
+
id: string;
|
|
830
|
+
}[];
|
|
831
|
+
}[] | null | undefined;
|
|
821
832
|
pf_agent?: {
|
|
822
833
|
clickupId?: string | null | undefined;
|
|
823
834
|
members?: {
|
|
@@ -827,8 +838,8 @@ export declare function useLocationStore(): {
|
|
|
827
838
|
birthday?: string | null | undefined;
|
|
828
839
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
829
840
|
addresses?: {
|
|
830
|
-
address: string;
|
|
831
841
|
name: string;
|
|
842
|
+
address: string;
|
|
832
843
|
coordinates: number[];
|
|
833
844
|
}[] | null | undefined;
|
|
834
845
|
photoURL?: string | null | undefined;
|
|
@@ -850,20 +861,24 @@ export declare function useLocationStore(): {
|
|
|
850
861
|
thumbnail?: string | null | undefined;
|
|
851
862
|
billingInfos?: {
|
|
852
863
|
_id?: string | null | undefined;
|
|
864
|
+
name: string;
|
|
853
865
|
address: {
|
|
854
866
|
coordinates?: number[] | null | undefined;
|
|
855
867
|
line2?: string | null | undefined;
|
|
856
868
|
state: string;
|
|
869
|
+
country: string;
|
|
857
870
|
line1: string;
|
|
858
871
|
city: string;
|
|
859
872
|
postcode: string;
|
|
860
|
-
country: string;
|
|
861
873
|
};
|
|
862
|
-
name: string;
|
|
863
874
|
email: string;
|
|
864
875
|
companyName: string;
|
|
865
876
|
contact: string;
|
|
866
877
|
}[] | null | undefined;
|
|
878
|
+
customerDisplayImages?: {
|
|
879
|
+
url: string;
|
|
880
|
+
restaurantIds: string[];
|
|
881
|
+
}[] | null | undefined;
|
|
867
882
|
name: string;
|
|
868
883
|
_id: string;
|
|
869
884
|
ownerId: string;
|
|
@@ -873,9 +888,11 @@ export declare function useLocationStore(): {
|
|
|
873
888
|
};
|
|
874
889
|
businessId: string;
|
|
875
890
|
profile: {
|
|
891
|
+
code?: string | null | undefined;
|
|
876
892
|
url?: string | null | undefined;
|
|
877
893
|
description?: string | null | undefined;
|
|
878
894
|
_id?: string | null | undefined;
|
|
895
|
+
tags?: string[] | null | undefined;
|
|
879
896
|
legalName?: string | null | undefined;
|
|
880
897
|
sstRegNo?: string | null | undefined;
|
|
881
898
|
discovery?: boolean | null | undefined;
|
|
@@ -933,17 +950,16 @@ export declare function useLocationStore(): {
|
|
|
933
950
|
enable: boolean;
|
|
934
951
|
};
|
|
935
952
|
} | null | undefined;
|
|
936
|
-
|
|
953
|
+
name: string;
|
|
937
954
|
address: {
|
|
938
955
|
coordinates?: number[] | null | undefined;
|
|
939
956
|
line2?: string | null | undefined;
|
|
940
957
|
state: string;
|
|
958
|
+
country: string;
|
|
941
959
|
line1: string;
|
|
942
960
|
city: string;
|
|
943
961
|
postcode: string;
|
|
944
|
-
country: string;
|
|
945
962
|
};
|
|
946
|
-
name: string;
|
|
947
963
|
email: string;
|
|
948
964
|
phoneNo: string;
|
|
949
965
|
regNo: string;
|
|
@@ -962,6 +978,14 @@ export declare function useLocationStore(): {
|
|
|
962
978
|
url?: string | null | undefined;
|
|
963
979
|
expiredAt?: string | null | undefined;
|
|
964
980
|
agentId?: string | null | undefined;
|
|
981
|
+
restaurantTagGroups?: {
|
|
982
|
+
name: string;
|
|
983
|
+
id: string;
|
|
984
|
+
tags: {
|
|
985
|
+
name: string;
|
|
986
|
+
id: string;
|
|
987
|
+
}[];
|
|
988
|
+
}[] | null | undefined;
|
|
965
989
|
pf_agent?: {
|
|
966
990
|
clickupId?: string | null | undefined;
|
|
967
991
|
members?: {
|
|
@@ -971,8 +995,8 @@ export declare function useLocationStore(): {
|
|
|
971
995
|
birthday?: string | null | undefined;
|
|
972
996
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
973
997
|
addresses?: {
|
|
974
|
-
address: string;
|
|
975
998
|
name: string;
|
|
999
|
+
address: string;
|
|
976
1000
|
coordinates: number[];
|
|
977
1001
|
}[] | null | undefined;
|
|
978
1002
|
photoURL?: string | null | undefined;
|
|
@@ -994,20 +1018,24 @@ export declare function useLocationStore(): {
|
|
|
994
1018
|
thumbnail?: string | null | undefined;
|
|
995
1019
|
billingInfos?: {
|
|
996
1020
|
_id?: string | null | undefined;
|
|
1021
|
+
name: string;
|
|
997
1022
|
address: {
|
|
998
1023
|
coordinates?: number[] | null | undefined;
|
|
999
1024
|
line2?: string | null | undefined;
|
|
1000
1025
|
state: string;
|
|
1026
|
+
country: string;
|
|
1001
1027
|
line1: string;
|
|
1002
1028
|
city: string;
|
|
1003
1029
|
postcode: string;
|
|
1004
|
-
country: string;
|
|
1005
1030
|
};
|
|
1006
|
-
name: string;
|
|
1007
1031
|
email: string;
|
|
1008
1032
|
companyName: string;
|
|
1009
1033
|
contact: string;
|
|
1010
1034
|
}[] | null | undefined;
|
|
1035
|
+
customerDisplayImages?: {
|
|
1036
|
+
url: string;
|
|
1037
|
+
restaurantIds: string[];
|
|
1038
|
+
}[] | null | undefined;
|
|
1011
1039
|
name: string;
|
|
1012
1040
|
_id: string;
|
|
1013
1041
|
ownerId: string;
|
|
@@ -1016,6 +1044,7 @@ export declare function useLocationStore(): {
|
|
|
1016
1044
|
menuVersion: string;
|
|
1017
1045
|
} | null | undefined;
|
|
1018
1046
|
_id: string;
|
|
1047
|
+
businessId: string;
|
|
1019
1048
|
profile: {
|
|
1020
1049
|
email?: string | null | undefined;
|
|
1021
1050
|
phoneNo?: string | null | undefined;
|
|
@@ -1024,14 +1053,13 @@ export declare function useLocationStore(): {
|
|
|
1024
1053
|
coordinates?: number[] | null | undefined;
|
|
1025
1054
|
line2?: string | null | undefined;
|
|
1026
1055
|
state: string;
|
|
1056
|
+
country: string;
|
|
1027
1057
|
line1: string;
|
|
1028
1058
|
city: string;
|
|
1029
1059
|
postcode: string;
|
|
1030
|
-
country: string;
|
|
1031
1060
|
};
|
|
1032
1061
|
regNo: string;
|
|
1033
1062
|
};
|
|
1034
|
-
businessId: string;
|
|
1035
1063
|
} | {
|
|
1036
1064
|
channel?: string | null | undefined;
|
|
1037
1065
|
machineId?: string | null | undefined;
|
|
@@ -1040,6 +1068,11 @@ export declare function useLocationStore(): {
|
|
|
1040
1068
|
catalogId?: string | null | undefined;
|
|
1041
1069
|
} | null | undefined;
|
|
1042
1070
|
inHouseDelivery?: {
|
|
1071
|
+
taxes?: Record<string, {
|
|
1072
|
+
inclusive: boolean;
|
|
1073
|
+
taxCode: string;
|
|
1074
|
+
systemCode: string;
|
|
1075
|
+
}> | null | undefined;
|
|
1043
1076
|
autoAccept?: boolean | null | undefined;
|
|
1044
1077
|
deliveryTime?: {
|
|
1045
1078
|
time?: string[] | null | undefined;
|
|
@@ -1147,8 +1180,8 @@ export declare function useLocationStore(): {
|
|
|
1147
1180
|
pickupPointConfig?: {
|
|
1148
1181
|
restaurantEnable: boolean;
|
|
1149
1182
|
points: {
|
|
1150
|
-
address: string;
|
|
1151
1183
|
name: string;
|
|
1184
|
+
address: string;
|
|
1152
1185
|
coordinates: number[];
|
|
1153
1186
|
}[];
|
|
1154
1187
|
} | null | undefined;
|
|
@@ -1165,6 +1198,7 @@ export declare function useLocationStore(): {
|
|
|
1165
1198
|
acceptQueue?: boolean | null | undefined;
|
|
1166
1199
|
anonymousOrder: boolean;
|
|
1167
1200
|
} | null | undefined;
|
|
1201
|
+
tags?: Record<string, string> | null | undefined;
|
|
1168
1202
|
features?: string[] | null | undefined;
|
|
1169
1203
|
machineOtp?: string | null | undefined;
|
|
1170
1204
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -1177,12 +1211,13 @@ export declare function useLocationStore(): {
|
|
|
1177
1211
|
catalogId?: string | null | undefined;
|
|
1178
1212
|
autoAccept?: boolean | null | undefined;
|
|
1179
1213
|
term?: string | null | undefined;
|
|
1214
|
+
ignoreStock?: boolean | null | undefined;
|
|
1180
1215
|
enable: boolean;
|
|
1181
1216
|
} | null | undefined;
|
|
1182
1217
|
foodpandaDelivery?: {
|
|
1183
1218
|
_id?: string | undefined;
|
|
1184
|
-
catalogId?: string | null | undefined;
|
|
1185
1219
|
ignoreDiscount?: boolean | null | undefined;
|
|
1220
|
+
catalogId?: string | null | undefined;
|
|
1186
1221
|
commissionRate?: number | null | undefined;
|
|
1187
1222
|
lastSynchronize?: string | null | undefined;
|
|
1188
1223
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -1240,31 +1275,7 @@ export declare function useLocationStore(): {
|
|
|
1240
1275
|
anydeskPassword?: string | null | undefined;
|
|
1241
1276
|
deviceName: string;
|
|
1242
1277
|
}[] | null | undefined;
|
|
1243
|
-
payoutAccount?:
|
|
1244
|
-
bank?: {
|
|
1245
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
1246
|
-
accountNumber?: string | null | undefined;
|
|
1247
|
-
holderName?: string | null | undefined;
|
|
1248
|
-
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
|
1249
|
-
} | null | undefined;
|
|
1250
|
-
ssm?: string | null | undefined;
|
|
1251
|
-
bankStatement?: string | null | undefined;
|
|
1252
|
-
exteriorPhoto?: string | null | undefined;
|
|
1253
|
-
keyPerson?: string | null | undefined;
|
|
1254
|
-
keyPersonPhone?: string | null | undefined;
|
|
1255
|
-
keyPersonEmail?: string | null | undefined;
|
|
1256
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
1257
|
-
enable: boolean;
|
|
1258
|
-
methods: {
|
|
1259
|
-
variant: string;
|
|
1260
|
-
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
1261
|
-
rate: {
|
|
1262
|
-
amount: number;
|
|
1263
|
-
precision: number;
|
|
1264
|
-
};
|
|
1265
|
-
tPlus: number;
|
|
1266
|
-
}[];
|
|
1267
|
-
} | null | undefined;
|
|
1278
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
1268
1279
|
clearCount?: number | null | undefined;
|
|
1269
1280
|
queueSetting?: {
|
|
1270
1281
|
duration?: number | null | undefined;
|
|
@@ -1287,6 +1298,14 @@ export declare function useLocationStore(): {
|
|
|
1287
1298
|
url?: string | null | undefined;
|
|
1288
1299
|
expiredAt?: string | null | undefined;
|
|
1289
1300
|
agentId?: string | null | undefined;
|
|
1301
|
+
restaurantTagGroups?: {
|
|
1302
|
+
name: string;
|
|
1303
|
+
id: string;
|
|
1304
|
+
tags: {
|
|
1305
|
+
name: string;
|
|
1306
|
+
id: string;
|
|
1307
|
+
}[];
|
|
1308
|
+
}[] | null | undefined;
|
|
1290
1309
|
pf_agent?: {
|
|
1291
1310
|
clickupId?: string | null | undefined;
|
|
1292
1311
|
members?: {
|
|
@@ -1296,8 +1315,8 @@ export declare function useLocationStore(): {
|
|
|
1296
1315
|
birthday?: string | null | undefined;
|
|
1297
1316
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1298
1317
|
addresses?: {
|
|
1299
|
-
address: string;
|
|
1300
1318
|
name: string;
|
|
1319
|
+
address: string;
|
|
1301
1320
|
coordinates: number[];
|
|
1302
1321
|
}[] | null | undefined;
|
|
1303
1322
|
photoURL?: string | null | undefined;
|
|
@@ -1319,20 +1338,24 @@ export declare function useLocationStore(): {
|
|
|
1319
1338
|
thumbnail?: string | null | undefined;
|
|
1320
1339
|
billingInfos?: {
|
|
1321
1340
|
_id?: string | null | undefined;
|
|
1341
|
+
name: string;
|
|
1322
1342
|
address: {
|
|
1323
1343
|
coordinates?: number[] | null | undefined;
|
|
1324
1344
|
line2?: string | null | undefined;
|
|
1325
1345
|
state: string;
|
|
1346
|
+
country: string;
|
|
1326
1347
|
line1: string;
|
|
1327
1348
|
city: string;
|
|
1328
1349
|
postcode: string;
|
|
1329
|
-
country: string;
|
|
1330
1350
|
};
|
|
1331
|
-
name: string;
|
|
1332
1351
|
email: string;
|
|
1333
1352
|
companyName: string;
|
|
1334
1353
|
contact: string;
|
|
1335
1354
|
}[] | null | undefined;
|
|
1355
|
+
customerDisplayImages?: {
|
|
1356
|
+
url: string;
|
|
1357
|
+
restaurantIds: string[];
|
|
1358
|
+
}[] | null | undefined;
|
|
1336
1359
|
name: string;
|
|
1337
1360
|
_id: string;
|
|
1338
1361
|
ownerId: string;
|
|
@@ -1342,9 +1365,11 @@ export declare function useLocationStore(): {
|
|
|
1342
1365
|
};
|
|
1343
1366
|
businessId: string;
|
|
1344
1367
|
profile: {
|
|
1368
|
+
code?: string | null | undefined;
|
|
1345
1369
|
url?: string | null | undefined;
|
|
1346
1370
|
description?: string | null | undefined;
|
|
1347
1371
|
_id?: string | null | undefined;
|
|
1372
|
+
tags?: string[] | null | undefined;
|
|
1348
1373
|
legalName?: string | null | undefined;
|
|
1349
1374
|
sstRegNo?: string | null | undefined;
|
|
1350
1375
|
discovery?: boolean | null | undefined;
|
|
@@ -1402,17 +1427,16 @@ export declare function useLocationStore(): {
|
|
|
1402
1427
|
enable: boolean;
|
|
1403
1428
|
};
|
|
1404
1429
|
} | null | undefined;
|
|
1405
|
-
|
|
1430
|
+
name: string;
|
|
1406
1431
|
address: {
|
|
1407
1432
|
coordinates?: number[] | null | undefined;
|
|
1408
1433
|
line2?: string | null | undefined;
|
|
1409
1434
|
state: string;
|
|
1435
|
+
country: string;
|
|
1410
1436
|
line1: string;
|
|
1411
1437
|
city: string;
|
|
1412
1438
|
postcode: string;
|
|
1413
|
-
country: string;
|
|
1414
1439
|
};
|
|
1415
|
-
name: string;
|
|
1416
1440
|
email: string;
|
|
1417
1441
|
phoneNo: string;
|
|
1418
1442
|
regNo: string;
|
|
@@ -1433,6 +1457,14 @@ export declare function useLocationStore(): {
|
|
|
1433
1457
|
url?: string | null | undefined;
|
|
1434
1458
|
expiredAt?: string | null | undefined;
|
|
1435
1459
|
agentId?: string | null | undefined;
|
|
1460
|
+
restaurantTagGroups?: {
|
|
1461
|
+
name: string;
|
|
1462
|
+
id: string;
|
|
1463
|
+
tags: {
|
|
1464
|
+
name: string;
|
|
1465
|
+
id: string;
|
|
1466
|
+
}[];
|
|
1467
|
+
}[] | null | undefined;
|
|
1436
1468
|
pf_agent?: {
|
|
1437
1469
|
clickupId?: string | null | undefined;
|
|
1438
1470
|
members?: {
|
|
@@ -1442,8 +1474,8 @@ export declare function useLocationStore(): {
|
|
|
1442
1474
|
birthday?: string | null | undefined;
|
|
1443
1475
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1444
1476
|
addresses?: {
|
|
1445
|
-
address: string;
|
|
1446
1477
|
name: string;
|
|
1478
|
+
address: string;
|
|
1447
1479
|
coordinates: number[];
|
|
1448
1480
|
}[] | null | undefined;
|
|
1449
1481
|
photoURL?: string | null | undefined;
|
|
@@ -1465,20 +1497,24 @@ export declare function useLocationStore(): {
|
|
|
1465
1497
|
thumbnail?: string | null | undefined;
|
|
1466
1498
|
billingInfos?: {
|
|
1467
1499
|
_id?: string | null | undefined;
|
|
1500
|
+
name: string;
|
|
1468
1501
|
address: {
|
|
1469
1502
|
coordinates?: number[] | null | undefined;
|
|
1470
1503
|
line2?: string | null | undefined;
|
|
1471
1504
|
state: string;
|
|
1505
|
+
country: string;
|
|
1472
1506
|
line1: string;
|
|
1473
1507
|
city: string;
|
|
1474
1508
|
postcode: string;
|
|
1475
|
-
country: string;
|
|
1476
1509
|
};
|
|
1477
|
-
name: string;
|
|
1478
1510
|
email: string;
|
|
1479
1511
|
companyName: string;
|
|
1480
1512
|
contact: string;
|
|
1481
1513
|
}[] | null | undefined;
|
|
1514
|
+
customerDisplayImages?: {
|
|
1515
|
+
url: string;
|
|
1516
|
+
restaurantIds: string[];
|
|
1517
|
+
}[] | null | undefined;
|
|
1482
1518
|
name: string;
|
|
1483
1519
|
_id: string;
|
|
1484
1520
|
ownerId: string;
|
|
@@ -1487,6 +1523,7 @@ export declare function useLocationStore(): {
|
|
|
1487
1523
|
menuVersion: string;
|
|
1488
1524
|
} | null | undefined;
|
|
1489
1525
|
_id: string;
|
|
1526
|
+
businessId: string;
|
|
1490
1527
|
profile: {
|
|
1491
1528
|
email?: string | null | undefined;
|
|
1492
1529
|
phoneNo?: string | null | undefined;
|
|
@@ -1495,14 +1532,13 @@ export declare function useLocationStore(): {
|
|
|
1495
1532
|
coordinates?: number[] | null | undefined;
|
|
1496
1533
|
line2?: string | null | undefined;
|
|
1497
1534
|
state: string;
|
|
1535
|
+
country: string;
|
|
1498
1536
|
line1: string;
|
|
1499
1537
|
city: string;
|
|
1500
1538
|
postcode: string;
|
|
1501
|
-
country: string;
|
|
1502
1539
|
};
|
|
1503
1540
|
regNo: string;
|
|
1504
1541
|
};
|
|
1505
|
-
businessId: string;
|
|
1506
1542
|
} | {
|
|
1507
1543
|
channel?: string | null | undefined;
|
|
1508
1544
|
machineId?: string | null | undefined;
|
|
@@ -1511,6 +1547,11 @@ export declare function useLocationStore(): {
|
|
|
1511
1547
|
catalogId?: string | null | undefined;
|
|
1512
1548
|
} | null | undefined;
|
|
1513
1549
|
inHouseDelivery?: {
|
|
1550
|
+
taxes?: Record<string, {
|
|
1551
|
+
inclusive: boolean;
|
|
1552
|
+
taxCode: string;
|
|
1553
|
+
systemCode: string;
|
|
1554
|
+
}> | null | undefined;
|
|
1514
1555
|
autoAccept?: boolean | null | undefined;
|
|
1515
1556
|
deliveryTime?: {
|
|
1516
1557
|
time?: string[] | null | undefined;
|
|
@@ -1618,8 +1659,8 @@ export declare function useLocationStore(): {
|
|
|
1618
1659
|
pickupPointConfig?: {
|
|
1619
1660
|
restaurantEnable: boolean;
|
|
1620
1661
|
points: {
|
|
1621
|
-
address: string;
|
|
1622
1662
|
name: string;
|
|
1663
|
+
address: string;
|
|
1623
1664
|
coordinates: number[];
|
|
1624
1665
|
}[];
|
|
1625
1666
|
} | null | undefined;
|
|
@@ -1636,6 +1677,7 @@ export declare function useLocationStore(): {
|
|
|
1636
1677
|
acceptQueue?: boolean | null | undefined;
|
|
1637
1678
|
anonymousOrder: boolean;
|
|
1638
1679
|
} | null | undefined;
|
|
1680
|
+
tags?: Record<string, string> | null | undefined;
|
|
1639
1681
|
features?: string[] | null | undefined;
|
|
1640
1682
|
machineOtp?: string | null | undefined;
|
|
1641
1683
|
machineOtpExpiredAt?: string | null | undefined;
|
|
@@ -1648,12 +1690,13 @@ export declare function useLocationStore(): {
|
|
|
1648
1690
|
catalogId?: string | null | undefined;
|
|
1649
1691
|
autoAccept?: boolean | null | undefined;
|
|
1650
1692
|
term?: string | null | undefined;
|
|
1693
|
+
ignoreStock?: boolean | null | undefined;
|
|
1651
1694
|
enable: boolean;
|
|
1652
1695
|
} | null | undefined;
|
|
1653
1696
|
foodpandaDelivery?: {
|
|
1654
1697
|
_id?: string | undefined;
|
|
1655
|
-
catalogId?: string | null | undefined;
|
|
1656
1698
|
ignoreDiscount?: boolean | null | undefined;
|
|
1699
|
+
catalogId?: string | null | undefined;
|
|
1657
1700
|
commissionRate?: number | null | undefined;
|
|
1658
1701
|
lastSynchronize?: string | null | undefined;
|
|
1659
1702
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -1711,31 +1754,7 @@ export declare function useLocationStore(): {
|
|
|
1711
1754
|
anydeskPassword?: string | null | undefined;
|
|
1712
1755
|
deviceName: string;
|
|
1713
1756
|
}[] | null | undefined;
|
|
1714
|
-
payoutAccount?:
|
|
1715
|
-
bank?: {
|
|
1716
|
-
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
1717
|
-
accountNumber?: string | null | undefined;
|
|
1718
|
-
holderName?: string | null | undefined;
|
|
1719
|
-
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
|
1720
|
-
} | null | undefined;
|
|
1721
|
-
ssm?: string | null | undefined;
|
|
1722
|
-
bankStatement?: string | null | undefined;
|
|
1723
|
-
exteriorPhoto?: string | null | undefined;
|
|
1724
|
-
keyPerson?: string | null | undefined;
|
|
1725
|
-
keyPersonPhone?: string | null | undefined;
|
|
1726
|
-
keyPersonEmail?: string | null | undefined;
|
|
1727
|
-
status: "NEW" | "PENDING" | "APPROVED";
|
|
1728
|
-
enable: boolean;
|
|
1729
|
-
methods: {
|
|
1730
|
-
variant: string;
|
|
1731
|
-
issuer: "FEEDME" | "WECHATPAY" | "ALIPAY" | "BOOST" | "GRABPAY" | "RAZERPAY" | "SHOPEEPAY" | "OTHER" | "MAYBANKQRPAY" | "PRESTOPAY" | "TOUCHNGO" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
1732
|
-
rate: {
|
|
1733
|
-
amount: number;
|
|
1734
|
-
precision: number;
|
|
1735
|
-
};
|
|
1736
|
-
tPlus: number;
|
|
1737
|
-
}[];
|
|
1738
|
-
} | null | undefined;
|
|
1757
|
+
payoutAccount?: Record<string, any> | null | undefined;
|
|
1739
1758
|
clearCount?: number | null | undefined;
|
|
1740
1759
|
queueSetting?: {
|
|
1741
1760
|
duration?: number | null | undefined;
|
|
@@ -1758,6 +1777,14 @@ export declare function useLocationStore(): {
|
|
|
1758
1777
|
url?: string | null | undefined;
|
|
1759
1778
|
expiredAt?: string | null | undefined;
|
|
1760
1779
|
agentId?: string | null | undefined;
|
|
1780
|
+
restaurantTagGroups?: {
|
|
1781
|
+
name: string;
|
|
1782
|
+
id: string;
|
|
1783
|
+
tags: {
|
|
1784
|
+
name: string;
|
|
1785
|
+
id: string;
|
|
1786
|
+
}[];
|
|
1787
|
+
}[] | null | undefined;
|
|
1761
1788
|
pf_agent?: {
|
|
1762
1789
|
clickupId?: string | null | undefined;
|
|
1763
1790
|
members?: {
|
|
@@ -1767,8 +1794,8 @@ export declare function useLocationStore(): {
|
|
|
1767
1794
|
birthday?: string | null | undefined;
|
|
1768
1795
|
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
1769
1796
|
addresses?: {
|
|
1770
|
-
address: string;
|
|
1771
1797
|
name: string;
|
|
1798
|
+
address: string;
|
|
1772
1799
|
coordinates: number[];
|
|
1773
1800
|
}[] | null | undefined;
|
|
1774
1801
|
photoURL?: string | null | undefined;
|
|
@@ -1790,20 +1817,24 @@ export declare function useLocationStore(): {
|
|
|
1790
1817
|
thumbnail?: string | null | undefined;
|
|
1791
1818
|
billingInfos?: {
|
|
1792
1819
|
_id?: string | null | undefined;
|
|
1820
|
+
name: string;
|
|
1793
1821
|
address: {
|
|
1794
1822
|
coordinates?: number[] | null | undefined;
|
|
1795
1823
|
line2?: string | null | undefined;
|
|
1796
1824
|
state: string;
|
|
1825
|
+
country: string;
|
|
1797
1826
|
line1: string;
|
|
1798
1827
|
city: string;
|
|
1799
1828
|
postcode: string;
|
|
1800
|
-
country: string;
|
|
1801
1829
|
};
|
|
1802
|
-
name: string;
|
|
1803
1830
|
email: string;
|
|
1804
1831
|
companyName: string;
|
|
1805
1832
|
contact: string;
|
|
1806
1833
|
}[] | null | undefined;
|
|
1834
|
+
customerDisplayImages?: {
|
|
1835
|
+
url: string;
|
|
1836
|
+
restaurantIds: string[];
|
|
1837
|
+
}[] | null | undefined;
|
|
1807
1838
|
name: string;
|
|
1808
1839
|
_id: string;
|
|
1809
1840
|
ownerId: string;
|
|
@@ -1813,9 +1844,11 @@ export declare function useLocationStore(): {
|
|
|
1813
1844
|
};
|
|
1814
1845
|
businessId: string;
|
|
1815
1846
|
profile: {
|
|
1847
|
+
code?: string | null | undefined;
|
|
1816
1848
|
url?: string | null | undefined;
|
|
1817
1849
|
description?: string | null | undefined;
|
|
1818
1850
|
_id?: string | null | undefined;
|
|
1851
|
+
tags?: string[] | null | undefined;
|
|
1819
1852
|
legalName?: string | null | undefined;
|
|
1820
1853
|
sstRegNo?: string | null | undefined;
|
|
1821
1854
|
discovery?: boolean | null | undefined;
|
|
@@ -1873,23 +1906,23 @@ export declare function useLocationStore(): {
|
|
|
1873
1906
|
enable: boolean;
|
|
1874
1907
|
};
|
|
1875
1908
|
} | null | undefined;
|
|
1876
|
-
|
|
1909
|
+
name: string;
|
|
1877
1910
|
address: {
|
|
1878
1911
|
coordinates?: number[] | null | undefined;
|
|
1879
1912
|
line2?: string | null | undefined;
|
|
1880
1913
|
state: string;
|
|
1914
|
+
country: string;
|
|
1881
1915
|
line1: string;
|
|
1882
1916
|
city: string;
|
|
1883
1917
|
postcode: string;
|
|
1884
|
-
country: string;
|
|
1885
1918
|
};
|
|
1886
|
-
name: string;
|
|
1887
1919
|
email: string;
|
|
1888
1920
|
phoneNo: string;
|
|
1889
1921
|
regNo: string;
|
|
1890
1922
|
};
|
|
1891
1923
|
};
|
|
1892
1924
|
}[];
|
|
1925
|
+
businessLevel: boolean;
|
|
1893
1926
|
watchLocation(callback: (location?: InventoryLocation | null) => Promise<void>): void;
|
|
1894
1927
|
readLocations(): Promise<void>;
|
|
1895
1928
|
setLocations(resp: InventoryLocation[]): void;
|