@feedmepos/mf-order-setting 0.0.15 → 0.0.16
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/KioskSettingView-DGfS1NzO.js +4 -0
- package/dist/{app-CoLf05s5.js → app-9Q-zRVKD.js} +1256 -1259
- package/dist/app.js +2 -3
- package/dist/frontend/mf-order/src/app.d.ts +4 -4
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +396 -1
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/package/entity/food-court/order.dto.d.ts +4 -36235
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +52 -0
- package/dist/package/entity/order/order.dto.d.ts +456 -0
- package/package.json +1 -1
- package/src/Entry.vue +2 -2
- package/src/app.ts +3 -7
- package/src/main.ts +5 -6
- package/src/stores/restaurant/index.ts +2 -2
- package/src/views/order-settings/delivery/DeliverySetting.vue +11 -12
- package/src/views/order-settings/servicecharge/ServiceChargeSetting.vue +4 -1
- package/vite.config.ts +3 -3
- package/dist/KioskSettingView-D75QMFoF.js +0 -4
package/dist/app.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
export { routes as routers } from '../src/router/routes';
|
|
1
|
+
import enUS from "./locales/en-US.json";
|
|
2
|
+
export type AppMessagesSchema = typeof enUS;
|
|
4
3
|
export declare const i18nMessages: {
|
|
5
4
|
"en-US": {
|
|
6
5
|
order: {
|
|
@@ -473,4 +472,5 @@ export declare const i18nMessages: {
|
|
|
473
472
|
};
|
|
474
473
|
};
|
|
475
474
|
};
|
|
476
|
-
export
|
|
475
|
+
export { default as FmApp } from './App.vue';
|
|
476
|
+
export { routes as routers } from '../src/router/routes';
|
|
@@ -2864,7 +2864,402 @@ export declare const useRestaurantStore: import("pinia").StoreDefinition<"restau
|
|
|
2864
2864
|
updateDineInSetting(setting: FdoRestaurantDineIn): Promise<void>;
|
|
2865
2865
|
updatePickupSetting(setting: FdoRestaurantPickup): Promise<void>;
|
|
2866
2866
|
updateInhouseDelivery(restaurantId: string, dto: FdoRestaurantInHouseDelivery): Promise<void>;
|
|
2867
|
-
updateFeedmeDelivery(restaurantId: string, dto: FdoRestaurantFeedmeDelivery): Promise<
|
|
2867
|
+
updateFeedmeDelivery(restaurantId: string, dto: FdoRestaurantFeedmeDelivery): Promise<{
|
|
2868
|
+
channel?: string | null | undefined;
|
|
2869
|
+
machineId?: string | null | undefined;
|
|
2870
|
+
catalogId?: string | null | undefined;
|
|
2871
|
+
takeaway?: {
|
|
2872
|
+
catalogId?: string | null | undefined;
|
|
2873
|
+
} | null | undefined;
|
|
2874
|
+
inHouseDelivery?: {
|
|
2875
|
+
taxes?: Record<string, {
|
|
2876
|
+
inclusive: boolean;
|
|
2877
|
+
taxCode: string;
|
|
2878
|
+
systemCode: string;
|
|
2879
|
+
}> | null | undefined;
|
|
2880
|
+
autoAccept?: boolean | null | undefined;
|
|
2881
|
+
deliveryTime?: {
|
|
2882
|
+
time?: string[] | null | undefined;
|
|
2883
|
+
custom?: {
|
|
2884
|
+
0: {
|
|
2885
|
+
hours: {
|
|
2886
|
+
end: string;
|
|
2887
|
+
start: string;
|
|
2888
|
+
}[];
|
|
2889
|
+
enable: boolean;
|
|
2890
|
+
};
|
|
2891
|
+
2: {
|
|
2892
|
+
hours: {
|
|
2893
|
+
end: string;
|
|
2894
|
+
start: string;
|
|
2895
|
+
}[];
|
|
2896
|
+
enable: boolean;
|
|
2897
|
+
};
|
|
2898
|
+
1: {
|
|
2899
|
+
hours: {
|
|
2900
|
+
end: string;
|
|
2901
|
+
start: string;
|
|
2902
|
+
}[];
|
|
2903
|
+
enable: boolean;
|
|
2904
|
+
};
|
|
2905
|
+
3: {
|
|
2906
|
+
hours: {
|
|
2907
|
+
end: string;
|
|
2908
|
+
start: string;
|
|
2909
|
+
}[];
|
|
2910
|
+
enable: boolean;
|
|
2911
|
+
};
|
|
2912
|
+
4: {
|
|
2913
|
+
hours: {
|
|
2914
|
+
end: string;
|
|
2915
|
+
start: string;
|
|
2916
|
+
}[];
|
|
2917
|
+
enable: boolean;
|
|
2918
|
+
};
|
|
2919
|
+
5: {
|
|
2920
|
+
hours: {
|
|
2921
|
+
end: string;
|
|
2922
|
+
start: string;
|
|
2923
|
+
}[];
|
|
2924
|
+
enable: boolean;
|
|
2925
|
+
};
|
|
2926
|
+
6: {
|
|
2927
|
+
hours: {
|
|
2928
|
+
end: string;
|
|
2929
|
+
start: string;
|
|
2930
|
+
}[];
|
|
2931
|
+
enable: boolean;
|
|
2932
|
+
};
|
|
2933
|
+
} | null | undefined;
|
|
2934
|
+
day: {
|
|
2935
|
+
max: number;
|
|
2936
|
+
min: number;
|
|
2937
|
+
};
|
|
2938
|
+
} | null | undefined;
|
|
2939
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2940
|
+
offlinePaymentTypes?: {
|
|
2941
|
+
name: string;
|
|
2942
|
+
instruction: string;
|
|
2943
|
+
}[] | null | undefined;
|
|
2944
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
2945
|
+
ignoreStock?: boolean | null | undefined;
|
|
2946
|
+
catalogId: string | null;
|
|
2947
|
+
enable: boolean;
|
|
2948
|
+
areas: {
|
|
2949
|
+
minPurchase?: {
|
|
2950
|
+
currency: "ALL" | "MYR" | "AED" | "AFN" | "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" | "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";
|
|
2951
|
+
amount: number;
|
|
2952
|
+
precision: number;
|
|
2953
|
+
} | null | undefined;
|
|
2954
|
+
freeAfterTotal?: {
|
|
2955
|
+
currency: "ALL" | "MYR" | "AED" | "AFN" | "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" | "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";
|
|
2956
|
+
amount: number;
|
|
2957
|
+
precision: number;
|
|
2958
|
+
} | null | undefined;
|
|
2959
|
+
polygon: number[][];
|
|
2960
|
+
deliveryFee: {
|
|
2961
|
+
currency: "ALL" | "MYR" | "AED" | "AFN" | "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" | "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";
|
|
2962
|
+
amount: number;
|
|
2963
|
+
precision: number;
|
|
2964
|
+
};
|
|
2965
|
+
}[];
|
|
2966
|
+
term: string;
|
|
2967
|
+
} | null | undefined;
|
|
2968
|
+
pickup?: {
|
|
2969
|
+
catalogId?: string | null | undefined;
|
|
2970
|
+
autoAccept?: boolean | null | undefined;
|
|
2971
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2972
|
+
offlinePaymentTypes?: {
|
|
2973
|
+
name: string;
|
|
2974
|
+
instruction: string;
|
|
2975
|
+
}[] | null | undefined;
|
|
2976
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
2977
|
+
ignoreStock?: boolean | null | undefined;
|
|
2978
|
+
pickupTime?: {
|
|
2979
|
+
day: {
|
|
2980
|
+
max: number;
|
|
2981
|
+
min: number;
|
|
2982
|
+
};
|
|
2983
|
+
} | null | undefined;
|
|
2984
|
+
pickupPointConfig?: {
|
|
2985
|
+
restaurantEnable: boolean;
|
|
2986
|
+
points: {
|
|
2987
|
+
name: string;
|
|
2988
|
+
address: string;
|
|
2989
|
+
coordinates: number[];
|
|
2990
|
+
}[];
|
|
2991
|
+
} | null | undefined;
|
|
2992
|
+
} | null | undefined;
|
|
2993
|
+
dineIn?: {
|
|
2994
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2995
|
+
offlinePaymentTypes?: {
|
|
2996
|
+
name: string;
|
|
2997
|
+
instruction: string;
|
|
2998
|
+
}[] | null | undefined;
|
|
2999
|
+
ignoreStock?: boolean | null | undefined;
|
|
3000
|
+
staticQr?: boolean | null | undefined;
|
|
3001
|
+
disableItemRemark?: boolean | null | undefined;
|
|
3002
|
+
acceptQueue?: boolean | null | undefined;
|
|
3003
|
+
anonymousOrder: boolean;
|
|
3004
|
+
} | null | undefined;
|
|
3005
|
+
features?: string[] | null | undefined;
|
|
3006
|
+
machineOtp?: string | null | undefined;
|
|
3007
|
+
machineOtpExpiredAt?: string | null | undefined;
|
|
3008
|
+
posVersion?: string | null | undefined;
|
|
3009
|
+
posHeartbeat?: string | null | undefined;
|
|
3010
|
+
posVersionHistory?: Record<string, string> | null | undefined;
|
|
3011
|
+
additionalCatalogs?: string[] | null | undefined;
|
|
3012
|
+
feedmeDelivery?: {
|
|
3013
|
+
instruction?: string | null | undefined;
|
|
3014
|
+
catalogId?: string | null | undefined;
|
|
3015
|
+
autoAccept?: boolean | null | undefined;
|
|
3016
|
+
term?: string | null | undefined;
|
|
3017
|
+
enable: boolean;
|
|
3018
|
+
} | null | undefined;
|
|
3019
|
+
foodpandaDelivery?: {
|
|
3020
|
+
_id?: string | undefined;
|
|
3021
|
+
ignoreDiscount?: boolean | null | undefined;
|
|
3022
|
+
catalogId?: string | null | undefined;
|
|
3023
|
+
commissionRate?: number | null | undefined;
|
|
3024
|
+
lastSynchronize?: string | null | undefined;
|
|
3025
|
+
showProductAddon?: boolean | null | undefined;
|
|
3026
|
+
autoAccept?: boolean | null | undefined;
|
|
3027
|
+
reportConfig?: {
|
|
3028
|
+
commissionRate: number;
|
|
3029
|
+
discountCampaigns: {
|
|
3030
|
+
name: string;
|
|
3031
|
+
date: {
|
|
3032
|
+
end: string;
|
|
3033
|
+
start: string;
|
|
3034
|
+
};
|
|
3035
|
+
vendorBearPercentage: number;
|
|
3036
|
+
}[];
|
|
3037
|
+
} | null | undefined;
|
|
3038
|
+
hasSst?: boolean | null | undefined;
|
|
3039
|
+
enable: boolean;
|
|
3040
|
+
remoteId: string;
|
|
3041
|
+
autoCloseBill: boolean;
|
|
3042
|
+
} | null | undefined;
|
|
3043
|
+
grabfoodDelivery?: {
|
|
3044
|
+
_id?: string | undefined;
|
|
3045
|
+
catalogId?: string | null | undefined;
|
|
3046
|
+
lastSynchronize?: string | null | undefined;
|
|
3047
|
+
showProductAddon?: boolean | null | undefined;
|
|
3048
|
+
enable: boolean;
|
|
3049
|
+
commissionRate: number;
|
|
3050
|
+
autoCloseBill: boolean;
|
|
3051
|
+
merchantID: string;
|
|
3052
|
+
} | null | undefined;
|
|
3053
|
+
shopeefoodDelivery?: {
|
|
3054
|
+
_id?: string | undefined;
|
|
3055
|
+
catalogId?: string | null | undefined;
|
|
3056
|
+
lastSynchronize?: string | null | undefined;
|
|
3057
|
+
showProductAddon?: boolean | null | undefined;
|
|
3058
|
+
enable: boolean;
|
|
3059
|
+
autoCloseBill: boolean;
|
|
3060
|
+
reportConfig: {
|
|
3061
|
+
commissionRate: number;
|
|
3062
|
+
discountCampaigns: {
|
|
3063
|
+
name: string;
|
|
3064
|
+
date: {
|
|
3065
|
+
end: string;
|
|
3066
|
+
start: string;
|
|
3067
|
+
};
|
|
3068
|
+
vendorBearPercentage: number;
|
|
3069
|
+
}[];
|
|
3070
|
+
};
|
|
3071
|
+
storeID: string;
|
|
3072
|
+
} | null | undefined;
|
|
3073
|
+
couchDbPassword?: string | null | undefined;
|
|
3074
|
+
apiToken?: string | null | undefined;
|
|
3075
|
+
remoteSupports?: {
|
|
3076
|
+
anydeskId?: string | null | undefined;
|
|
3077
|
+
anydeskPassword?: string | null | undefined;
|
|
3078
|
+
deviceName: string;
|
|
3079
|
+
}[] | null | undefined;
|
|
3080
|
+
payoutAccount?: {
|
|
3081
|
+
bank?: {
|
|
3082
|
+
type?: "CURRENT_ACCOUNT" | "SAVING_ACCOUNT" | null | undefined;
|
|
3083
|
+
accountNumber?: string | null | undefined;
|
|
3084
|
+
holderName?: string | null | undefined;
|
|
3085
|
+
name: "MAYBANK" | "CIMB_BANK" | "RHB_BANK" | "BANK_ISLAM" | "BANK_MUAMALAT" | "BANK_RAKYAT" | "BANK_SIMPANAN_NASIONAL" | "CITIBANK" | "HONG_LEONG_BANK" | "HSBC_BANK" | "OCBC_BANK" | "PUBLIC_BANK" | "AFFIN_BANK" | "AMBANK" | "AGRO_BANK" | "ALLIANCE_BANK" | "AL_RAJHI_BANK" | "BANK_OF_CHINA" | "BANK_OF_AMERICA" | "BANK_OF_TOKYO_MITSUBISHI_UFJ" | "BNP_PARIBAS" | "DEUTSCHE_BANK" | "INDUSTRIAL_COMMERCIAL_BANK_OF_CHINA" | "JP_MORGAN_CHASE_BANK" | "KUWAIT_FINANCE_HOUSE" | "MIZUHO_BANK" | "STANDARD_CHARTERED_BANK" | "SUMITOMO_MITSUI_BANKING_CORPORATION" | "THE_ROYAL_BANK_OF_SCOTLAND" | "UNITED_OVERSEAS_BANK";
|
|
3086
|
+
} | null | undefined;
|
|
3087
|
+
ssm?: string | null | undefined;
|
|
3088
|
+
bankStatement?: string | null | undefined;
|
|
3089
|
+
exteriorPhoto?: string | null | undefined;
|
|
3090
|
+
keyPerson?: string | null | undefined;
|
|
3091
|
+
keyPersonPhone?: string | null | undefined;
|
|
3092
|
+
keyPersonEmail?: string | null | undefined;
|
|
3093
|
+
status: "NEW" | "PENDING" | "APPROVED";
|
|
3094
|
+
enable: boolean;
|
|
3095
|
+
methods: {
|
|
3096
|
+
variant: string;
|
|
3097
|
+
issuer: "FEEDME" | "OTHER" | "ALIPAY" | "BOOST" | "GRABPAY" | "MAYBANKQRPAY" | "PRESTOPAY" | "RAZERPAY" | "SHOPEEPAY" | "TOUCHNGO" | "WECHATPAY" | "CARD" | "DUITNOW" | "FPX" | "DEBITCARD" | "CREDITCARD" | "UNIONPAY" | "ATOME";
|
|
3098
|
+
rate: {
|
|
3099
|
+
amount: number;
|
|
3100
|
+
precision: number;
|
|
3101
|
+
};
|
|
3102
|
+
tPlus: number;
|
|
3103
|
+
}[];
|
|
3104
|
+
} | null | undefined;
|
|
3105
|
+
clearCount?: number | null | undefined;
|
|
3106
|
+
queueSetting?: {
|
|
3107
|
+
duration?: number | null | undefined;
|
|
3108
|
+
enableOrder: boolean;
|
|
3109
|
+
initialNumber: number;
|
|
3110
|
+
endNumber: number;
|
|
3111
|
+
currentNumber: number;
|
|
3112
|
+
autoCalledLimit: number;
|
|
3113
|
+
} | null | undefined;
|
|
3114
|
+
tableMappingSetting?: {
|
|
3115
|
+
enable?: boolean | null | undefined;
|
|
3116
|
+
showSeat?: boolean | null | undefined;
|
|
3117
|
+
mapBorderColor?: number | null | undefined;
|
|
3118
|
+
mapLineColor?: number | null | undefined;
|
|
3119
|
+
} | null | undefined;
|
|
3120
|
+
_id: string;
|
|
3121
|
+
expiredAt: string;
|
|
3122
|
+
pf_business: {
|
|
3123
|
+
internal?: boolean | null | undefined;
|
|
3124
|
+
url?: string | null | undefined;
|
|
3125
|
+
expiredAt?: string | null | undefined;
|
|
3126
|
+
agentId?: string | null | undefined;
|
|
3127
|
+
pf_agent?: {
|
|
3128
|
+
clickupId?: string | null | undefined;
|
|
3129
|
+
members?: {
|
|
3130
|
+
pf_user?: {
|
|
3131
|
+
email?: string | null | undefined;
|
|
3132
|
+
phoneNumber?: string | null | undefined;
|
|
3133
|
+
birthday?: string | null | undefined;
|
|
3134
|
+
gender?: "MALE" | "FEMALE" | null | undefined;
|
|
3135
|
+
addresses?: {
|
|
3136
|
+
name: string;
|
|
3137
|
+
address: string;
|
|
3138
|
+
coordinates: number[];
|
|
3139
|
+
}[] | null | undefined;
|
|
3140
|
+
photoURL?: string | null | undefined;
|
|
3141
|
+
displayName?: string | null | undefined;
|
|
3142
|
+
imported?: {
|
|
3143
|
+
raw: Record<string, any>;
|
|
3144
|
+
source: "FEEDME" | "CITY_POS" | "STOREHUB" | "KERUYUn" | "QISOFT" | "WECHAT" | "TEABAR" | "NULL_MEMBER" | "UMAI_POS" | "QASHIER" | "XILNET" | "GENIUSPOS" | "YHOFOODIE";
|
|
3145
|
+
} | null | undefined;
|
|
3146
|
+
_id: string;
|
|
3147
|
+
} | null | undefined;
|
|
3148
|
+
role: "ADMIN";
|
|
3149
|
+
userId: string;
|
|
3150
|
+
}[] | null | undefined;
|
|
3151
|
+
code: string;
|
|
3152
|
+
name: string;
|
|
3153
|
+
_id: string;
|
|
3154
|
+
isReseller: boolean;
|
|
3155
|
+
} | null | undefined;
|
|
3156
|
+
thumbnail?: string | null | undefined;
|
|
3157
|
+
billingInfos?: {
|
|
3158
|
+
_id?: string | null | undefined;
|
|
3159
|
+
name: string;
|
|
3160
|
+
address: {
|
|
3161
|
+
coordinates?: number[] | null | undefined;
|
|
3162
|
+
line2?: string | null | undefined;
|
|
3163
|
+
state: string;
|
|
3164
|
+
country: string;
|
|
3165
|
+
line1: string;
|
|
3166
|
+
city: string;
|
|
3167
|
+
postcode: string;
|
|
3168
|
+
};
|
|
3169
|
+
email: string;
|
|
3170
|
+
companyName: string;
|
|
3171
|
+
contact: string;
|
|
3172
|
+
}[] | null | undefined;
|
|
3173
|
+
customerDisplayImages?: {
|
|
3174
|
+
url: string;
|
|
3175
|
+
restaurantIds: string[];
|
|
3176
|
+
}[] | null | undefined;
|
|
3177
|
+
name: string;
|
|
3178
|
+
_id: string;
|
|
3179
|
+
ownerId: string;
|
|
3180
|
+
restaurantQuota: number;
|
|
3181
|
+
warehouseQuota: number;
|
|
3182
|
+
menuVersion: string;
|
|
3183
|
+
};
|
|
3184
|
+
businessId: string;
|
|
3185
|
+
profile: {
|
|
3186
|
+
code?: string | null | undefined;
|
|
3187
|
+
url?: string | null | undefined;
|
|
3188
|
+
description?: string | null | undefined;
|
|
3189
|
+
_id?: string | null | undefined;
|
|
3190
|
+
legalName?: string | null | undefined;
|
|
3191
|
+
sstRegNo?: string | null | undefined;
|
|
3192
|
+
discovery?: boolean | null | undefined;
|
|
3193
|
+
coverPhoto?: string | null | undefined;
|
|
3194
|
+
thumbnailPhoto?: string | null | undefined;
|
|
3195
|
+
photos?: string[] | null | undefined;
|
|
3196
|
+
operatingHours?: {
|
|
3197
|
+
0: {
|
|
3198
|
+
hours: {
|
|
3199
|
+
end: string;
|
|
3200
|
+
start: string;
|
|
3201
|
+
}[];
|
|
3202
|
+
enable: boolean;
|
|
3203
|
+
};
|
|
3204
|
+
2: {
|
|
3205
|
+
hours: {
|
|
3206
|
+
end: string;
|
|
3207
|
+
start: string;
|
|
3208
|
+
}[];
|
|
3209
|
+
enable: boolean;
|
|
3210
|
+
};
|
|
3211
|
+
1: {
|
|
3212
|
+
hours: {
|
|
3213
|
+
end: string;
|
|
3214
|
+
start: string;
|
|
3215
|
+
}[];
|
|
3216
|
+
enable: boolean;
|
|
3217
|
+
};
|
|
3218
|
+
3: {
|
|
3219
|
+
hours: {
|
|
3220
|
+
end: string;
|
|
3221
|
+
start: string;
|
|
3222
|
+
}[];
|
|
3223
|
+
enable: boolean;
|
|
3224
|
+
};
|
|
3225
|
+
4: {
|
|
3226
|
+
hours: {
|
|
3227
|
+
end: string;
|
|
3228
|
+
start: string;
|
|
3229
|
+
}[];
|
|
3230
|
+
enable: boolean;
|
|
3231
|
+
};
|
|
3232
|
+
5: {
|
|
3233
|
+
hours: {
|
|
3234
|
+
end: string;
|
|
3235
|
+
start: string;
|
|
3236
|
+
}[];
|
|
3237
|
+
enable: boolean;
|
|
3238
|
+
};
|
|
3239
|
+
6: {
|
|
3240
|
+
hours: {
|
|
3241
|
+
end: string;
|
|
3242
|
+
start: string;
|
|
3243
|
+
}[];
|
|
3244
|
+
enable: boolean;
|
|
3245
|
+
};
|
|
3246
|
+
} | null | undefined;
|
|
3247
|
+
tags?: string[] | null | undefined;
|
|
3248
|
+
name: string;
|
|
3249
|
+
address: {
|
|
3250
|
+
coordinates?: number[] | null | undefined;
|
|
3251
|
+
line2?: string | null | undefined;
|
|
3252
|
+
state: string;
|
|
3253
|
+
country: string;
|
|
3254
|
+
line1: string;
|
|
3255
|
+
city: string;
|
|
3256
|
+
postcode: string;
|
|
3257
|
+
};
|
|
3258
|
+
email: string;
|
|
3259
|
+
phoneNo: string;
|
|
3260
|
+
regNo: string;
|
|
3261
|
+
};
|
|
3262
|
+
}>;
|
|
2868
3263
|
updateIntegratedFoodpandaDelivery(restaurantId: string, dto: FdoFoodpandaSettings): Promise<void>;
|
|
2869
3264
|
updateIntegratedGrabfoodDelivery(restaurantId: string, dto: FdoGrabfoodSettings): Promise<void>;
|
|
2870
3265
|
updateIntegratedShopeefoodDelivery(restaurantId: string, dto: FdoShopeeFoodSettings): Promise<void>;
|