@feedmepos/mf-order-setting 0.0.85 → 0.0.86
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/{DisplaySystemView-hmlT9gsb.js → DisplaySystemView-DjFBEWoq.js} +1 -1
- package/dist/{KioskDevicesView-fW6M9Hao.js → KioskDevicesView-RKMdLuB3.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-GrsnYo80.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-BrG6Au5z.js} +3 -3
- package/dist/{KioskSettingView-BdEPftHH.js → KioskSettingView-CzelEig6.js} +3 -3
- package/dist/{KioskView-Bwk9S0tc.js → KioskView-Bi5Kc4cS.js} +35 -30
- package/dist/OrderSettingsView-BfxrjGAi.js +68958 -0
- package/dist/{app-BnrruYco.js → app-Bg-n-Eug.js} +8316 -7952
- package/dist/app.js +1 -1
- package/dist/common/index.d.ts +6 -7
- package/dist/frontend/mf-order/src/app.d.ts +24 -8
- package/dist/frontend/mf-order/src/main.d.ts +24 -8
- package/dist/frontend/mf-order/src/modules/order-setting/kiosk/interface.d.ts +2 -0
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +18 -99
- package/dist/frontend/mf-order/src/views/order-settings/delivery/delivery.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/inhouse/InHouseDelivery.vue.d.ts +3 -0
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue.d.ts +12 -1
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue.d.ts +12 -0
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PickUpSettingDialogContent.vue.d.ts +3 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-LyvBqKnv.js → index-0eYg6XEb.js} +1 -1
- package/dist/{index-D5wABuUx.js → index-C7Ug4fCi.js} +1 -1
- package/dist/{index-D7IWjZdy.js → index-g_rocKrp.js} +2 -2
- package/dist/order.dto-MKeJAj6d.js +39215 -0
- package/dist/package/entity/alert/investigation.dto.d.ts +3 -0
- package/dist/package/entity/alert/suggestion.dto.d.ts +3 -0
- package/dist/package/entity/delivery/delivery.dto.d.ts +1 -11
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +89 -51
- package/dist/package/entity/index.d.ts +0 -7
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +6 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +26 -0
- package/dist/package/entity/member/member.dto.d.ts +12 -12
- package/dist/package/entity/order/dine-in/dine-in.do.d.ts +9 -159
- package/dist/package/entity/order/dine-in/dine-in.dto.d.ts +3 -17
- package/dist/package/entity/order/effects/effect.dto.d.ts +32 -0
- package/dist/package/entity/order/menu/menu.dto.d.ts +6 -144
- package/dist/package/entity/order/order.do.d.ts +109 -269
- package/dist/package/entity/order/order.dto.d.ts +408 -782
- package/dist/package/entity/order/order.enum.d.ts +1 -1
- package/dist/package/entity/order/timeslot/timeslot.dto.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +1 -11
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +278 -234
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +1 -11
- package/dist/package/entity/order-platform/tng/tng-menu.do.d.ts +6 -6
- package/dist/package/entity/order-setting/delivery/inhouse-delivery.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/dine-in/dine-in.dto.d.ts +65 -0
- package/dist/package/entity/order-setting/kiosk/kiosk.dto.d.ts +1004 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +5 -337
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +879 -678
- package/dist/package/entity/order-setting/pickup/pickup.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/sequence/sequence.do.d.ts +0 -41
- package/dist/package/entity/order-setting/sequence/sequence.dto.d.ts +0 -43
- package/dist/package/entity/order-setting/sms/sms.do.d.ts +3 -3
- package/dist/package/entity/order-setting/sms/sms.dto.d.ts +3 -3
- package/dist/package/entity/queue/queue.do.d.ts +2 -2
- package/dist/package/entity/queue/queue.dto.d.ts +49 -65
- package/dist/package/entity/restaurant/restaurant.dto.d.ts +11 -0
- package/dist/package/entity/websocket/websocket.dto.d.ts +33 -161
- package/dist/package/entity/websocket/websocket.enum.d.ts +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/src/locales/en-US.json +6 -2
- package/src/locales/ja-JP.json +6 -2
- package/src/locales/th-TH.json +6 -2
- package/src/locales/zh-CN.json +6 -2
- package/src/modules/order-setting/kiosk/interface.ts +12 -0
- package/src/stores/order-setting/mapper.spec.ts +36 -0
- package/src/stores/order-setting/mapper.ts +5 -0
- package/src/views/order-settings/delivery/DeliverySetting.vue +5 -5
- package/src/views/order-settings/delivery/delivery.spec.ts +34 -0
- package/src/views/order-settings/delivery/delivery.ts +14 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegratedDelivery.vue +10 -1
- package/src/views/order-settings/delivery/integrated-delivery/IntegrationIdentityDetails.vue +121 -22
- package/src/views/order-settings/delivery/integrated-delivery/LinemanSetting.vue +161 -10
- package/dist/OrderSettingsView-DVXfVdXj.js +0 -94831
- package/dist/common/booking/index.d.ts +0 -38
- package/dist/order.dto-D7HGiueX.js +0 -43514
- package/dist/package/entity/booking/booking.do.d.ts +0 -17197
- package/dist/package/entity/booking/booking.dto.d.ts +0 -305
- package/dist/package/entity/booking/booking.enum.d.ts +0 -7
- package/dist/package/entity/order/dine-in/reservation.do.d.ts +0 -75
- package/dist/package/entity/order/dine-in/reservation.dto.d.ts +0 -15
- package/dist/package/entity/order-setting/reservation/reservation.do.d.ts +0 -662
- package/dist/package/entity/order-setting/reservation/reservation.dto.d.ts +0 -527
|
@@ -639,15 +639,39 @@ export declare const FdoOrderItem: z.ZodObject<{
|
|
|
639
639
|
ignoreMinPrice: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
640
640
|
afterTaxLevel: z.ZodNumber;
|
|
641
641
|
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
642
|
+
targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
|
|
643
|
+
calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
|
|
644
|
+
calculationOrder: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
645
|
+
subItemAllocations: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
646
|
+
path: z.ZodArray<z.ZodNumber, "many">;
|
|
647
|
+
selection: z.ZodString;
|
|
648
|
+
unitIndexes: z.ZodArray<z.ZodNumber, "many">;
|
|
649
|
+
}, "strip", z.ZodTypeAny, {
|
|
650
|
+
path: number[];
|
|
651
|
+
selection: string;
|
|
652
|
+
unitIndexes: number[];
|
|
653
|
+
}, {
|
|
654
|
+
path: number[];
|
|
655
|
+
selection: string;
|
|
656
|
+
unitIndexes: number[];
|
|
657
|
+
}>, "many">>>;
|
|
642
658
|
}, "strip", z.ZodTypeAny, {
|
|
643
659
|
reason?: string | null | undefined;
|
|
660
|
+
referenceId?: string | null | undefined;
|
|
644
661
|
remark?: string | null | undefined;
|
|
645
662
|
excludeAddonPrice?: boolean | null | undefined;
|
|
646
|
-
referenceId?: string | null | undefined;
|
|
647
663
|
adjustmentRule?: {
|
|
648
664
|
type: "CAPPED_AT";
|
|
649
665
|
} | null | undefined;
|
|
650
666
|
ignoreMinPrice?: boolean | null | undefined;
|
|
667
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
668
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
669
|
+
calculationOrder?: number | null | undefined;
|
|
670
|
+
subItemAllocations?: {
|
|
671
|
+
path: number[];
|
|
672
|
+
selection: string;
|
|
673
|
+
unitIndexes: number[];
|
|
674
|
+
}[] | null | undefined;
|
|
651
675
|
total: {
|
|
652
676
|
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";
|
|
653
677
|
amount: number;
|
|
@@ -673,13 +697,21 @@ export declare const FdoOrderItem: z.ZodObject<{
|
|
|
673
697
|
afterTaxLevel: number;
|
|
674
698
|
}, {
|
|
675
699
|
reason?: string | null | undefined;
|
|
700
|
+
referenceId?: string | null | undefined;
|
|
676
701
|
remark?: string | null | undefined;
|
|
677
702
|
excludeAddonPrice?: boolean | null | undefined;
|
|
678
|
-
referenceId?: string | null | undefined;
|
|
679
703
|
adjustmentRule?: {
|
|
680
704
|
type: "CAPPED_AT";
|
|
681
705
|
} | null | undefined;
|
|
682
706
|
ignoreMinPrice?: boolean | null | undefined;
|
|
707
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
708
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
709
|
+
calculationOrder?: number | null | undefined;
|
|
710
|
+
subItemAllocations?: {
|
|
711
|
+
path: number[];
|
|
712
|
+
selection: string;
|
|
713
|
+
unitIndexes: number[];
|
|
714
|
+
}[] | null | undefined;
|
|
683
715
|
total: {
|
|
684
716
|
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";
|
|
685
717
|
amount: number;
|
|
@@ -912,13 +944,21 @@ export declare const FdoOrderItem: z.ZodObject<{
|
|
|
912
944
|
subItems: FdoOrderSubItem[];
|
|
913
945
|
adjustments: Record<string, {
|
|
914
946
|
reason?: string | null | undefined;
|
|
947
|
+
referenceId?: string | null | undefined;
|
|
915
948
|
remark?: string | null | undefined;
|
|
916
949
|
excludeAddonPrice?: boolean | null | undefined;
|
|
917
|
-
referenceId?: string | null | undefined;
|
|
918
950
|
adjustmentRule?: {
|
|
919
951
|
type: "CAPPED_AT";
|
|
920
952
|
} | null | undefined;
|
|
921
953
|
ignoreMinPrice?: boolean | null | undefined;
|
|
954
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
955
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
956
|
+
calculationOrder?: number | null | undefined;
|
|
957
|
+
subItemAllocations?: {
|
|
958
|
+
path: number[];
|
|
959
|
+
selection: string;
|
|
960
|
+
unitIndexes: number[];
|
|
961
|
+
}[] | null | undefined;
|
|
922
962
|
total: {
|
|
923
963
|
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";
|
|
924
964
|
amount: number;
|
|
@@ -1049,13 +1089,21 @@ export declare const FdoOrderItem: z.ZodObject<{
|
|
|
1049
1089
|
subItems: FdoOrderSubItem[];
|
|
1050
1090
|
adjustments: Record<string, {
|
|
1051
1091
|
reason?: string | null | undefined;
|
|
1092
|
+
referenceId?: string | null | undefined;
|
|
1052
1093
|
remark?: string | null | undefined;
|
|
1053
1094
|
excludeAddonPrice?: boolean | null | undefined;
|
|
1054
|
-
referenceId?: string | null | undefined;
|
|
1055
1095
|
adjustmentRule?: {
|
|
1056
1096
|
type: "CAPPED_AT";
|
|
1057
1097
|
} | null | undefined;
|
|
1058
1098
|
ignoreMinPrice?: boolean | null | undefined;
|
|
1099
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
1100
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
1101
|
+
calculationOrder?: number | null | undefined;
|
|
1102
|
+
subItemAllocations?: {
|
|
1103
|
+
path: number[];
|
|
1104
|
+
selection: string;
|
|
1105
|
+
unitIndexes: number[];
|
|
1106
|
+
}[] | null | undefined;
|
|
1059
1107
|
total: {
|
|
1060
1108
|
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";
|
|
1061
1109
|
amount: number;
|
|
@@ -1132,7 +1180,7 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
|
|
|
1132
1180
|
}>;
|
|
1133
1181
|
}>>>;
|
|
1134
1182
|
sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
1135
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
1183
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
1136
1184
|
}, {
|
|
1137
1185
|
type: z.ZodLiteral<"QR">;
|
|
1138
1186
|
session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -1146,7 +1194,7 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
|
|
|
1146
1194
|
slot: string;
|
|
1147
1195
|
type: "QR";
|
|
1148
1196
|
}> | z.ZodObject<z.extendShape<{
|
|
1149
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
1197
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
1150
1198
|
}, {
|
|
1151
1199
|
type: z.ZodLiteral<"QUEUE">;
|
|
1152
1200
|
queueId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1160,81 +1208,7 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
|
|
|
1160
1208
|
type: "QUEUE";
|
|
1161
1209
|
queueId: string;
|
|
1162
1210
|
}> | z.ZodObject<z.extendShape<{
|
|
1163
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
1164
|
-
}, {
|
|
1165
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
1166
|
-
reservationId: z.ZodEffects<z.ZodString, string, string>;
|
|
1167
|
-
pf_booking: z.ZodOptional<z.ZodLazy<z.ZodObject<z.extendShape<{
|
|
1168
|
-
_id: z.ZodString;
|
|
1169
|
-
type: z.ZodEnum<["QUEUE", "RESERVATION"]>;
|
|
1170
|
-
restaurantId: z.ZodString;
|
|
1171
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
1172
|
-
seqNumber: z.ZodOptional<z.ZodString>;
|
|
1173
|
-
pax: z.ZodNumber;
|
|
1174
|
-
rejectReason: z.ZodOptional<z.ZodString>;
|
|
1175
|
-
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
1176
|
-
pf_user: z.ZodOptional<z.ZodAny>;
|
|
1177
|
-
}, {
|
|
1178
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
1179
|
-
reserveAt: z.ZodString;
|
|
1180
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1181
|
-
rejectReason?: string | undefined;
|
|
1182
|
-
pf_restaurant?: any;
|
|
1183
|
-
seqNumber?: string | undefined;
|
|
1184
|
-
userId?: string | undefined;
|
|
1185
|
-
pf_user?: any;
|
|
1186
|
-
type: "RESERVATION";
|
|
1187
|
-
restaurantId: string;
|
|
1188
|
-
_id: string;
|
|
1189
|
-
pax: number;
|
|
1190
|
-
reserveAt: string;
|
|
1191
|
-
}, {
|
|
1192
|
-
rejectReason?: string | undefined;
|
|
1193
|
-
pf_restaurant?: any;
|
|
1194
|
-
seqNumber?: string | undefined;
|
|
1195
|
-
userId?: string | undefined;
|
|
1196
|
-
pf_user?: any;
|
|
1197
|
-
type: "RESERVATION";
|
|
1198
|
-
restaurantId: string;
|
|
1199
|
-
_id: string;
|
|
1200
|
-
pax: number;
|
|
1201
|
-
reserveAt: string;
|
|
1202
|
-
}>>>;
|
|
1203
|
-
slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1204
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1205
|
-
slot?: string | null | undefined;
|
|
1206
|
-
pf_booking?: {
|
|
1207
|
-
rejectReason?: string | undefined;
|
|
1208
|
-
pf_restaurant?: any;
|
|
1209
|
-
seqNumber?: string | undefined;
|
|
1210
|
-
userId?: string | undefined;
|
|
1211
|
-
pf_user?: any;
|
|
1212
|
-
type: "RESERVATION";
|
|
1213
|
-
restaurantId: string;
|
|
1214
|
-
_id: string;
|
|
1215
|
-
pax: number;
|
|
1216
|
-
reserveAt: string;
|
|
1217
|
-
} | undefined;
|
|
1218
|
-
type: "RESERVATION";
|
|
1219
|
-
reservationId: string;
|
|
1220
|
-
}, {
|
|
1221
|
-
slot?: string | null | undefined;
|
|
1222
|
-
pf_booking?: {
|
|
1223
|
-
rejectReason?: string | undefined;
|
|
1224
|
-
pf_restaurant?: any;
|
|
1225
|
-
seqNumber?: string | undefined;
|
|
1226
|
-
userId?: string | undefined;
|
|
1227
|
-
pf_user?: any;
|
|
1228
|
-
type: "RESERVATION";
|
|
1229
|
-
restaurantId: string;
|
|
1230
|
-
_id: string;
|
|
1231
|
-
pax: number;
|
|
1232
|
-
reserveAt: string;
|
|
1233
|
-
} | undefined;
|
|
1234
|
-
type: "RESERVATION";
|
|
1235
|
-
reservationId: string;
|
|
1236
|
-
}> | z.ZodObject<z.extendShape<{
|
|
1237
|
-
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
1211
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
1238
1212
|
}, {
|
|
1239
1213
|
type: z.ZodLiteral<"TAKEAWAY">;
|
|
1240
1214
|
slot: z.ZodString;
|
|
@@ -1264,22 +1238,6 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
|
|
|
1264
1238
|
slot?: string | null | undefined;
|
|
1265
1239
|
type: "QUEUE";
|
|
1266
1240
|
queueId: string;
|
|
1267
|
-
} | {
|
|
1268
|
-
slot?: string | null | undefined;
|
|
1269
|
-
pf_booking?: {
|
|
1270
|
-
rejectReason?: string | undefined;
|
|
1271
|
-
pf_restaurant?: any;
|
|
1272
|
-
seqNumber?: string | undefined;
|
|
1273
|
-
userId?: string | undefined;
|
|
1274
|
-
pf_user?: any;
|
|
1275
|
-
type: "RESERVATION";
|
|
1276
|
-
restaurantId: string;
|
|
1277
|
-
_id: string;
|
|
1278
|
-
pax: number;
|
|
1279
|
-
reserveAt: string;
|
|
1280
|
-
} | undefined;
|
|
1281
|
-
type: "RESERVATION";
|
|
1282
|
-
reservationId: string;
|
|
1283
1241
|
} | {
|
|
1284
1242
|
seqNumber?: string | null | undefined;
|
|
1285
1243
|
slot: string;
|
|
@@ -1302,22 +1260,6 @@ export declare const FdoDineInOption: z.ZodObject<z.extendShape<{
|
|
|
1302
1260
|
slot?: string | null | undefined;
|
|
1303
1261
|
type: "QUEUE";
|
|
1304
1262
|
queueId: string;
|
|
1305
|
-
} | {
|
|
1306
|
-
slot?: string | null | undefined;
|
|
1307
|
-
pf_booking?: {
|
|
1308
|
-
rejectReason?: string | undefined;
|
|
1309
|
-
pf_restaurant?: any;
|
|
1310
|
-
seqNumber?: string | undefined;
|
|
1311
|
-
userId?: string | undefined;
|
|
1312
|
-
pf_user?: any;
|
|
1313
|
-
type: "RESERVATION";
|
|
1314
|
-
restaurantId: string;
|
|
1315
|
-
_id: string;
|
|
1316
|
-
pax: number;
|
|
1317
|
-
reserveAt: string;
|
|
1318
|
-
} | undefined;
|
|
1319
|
-
type: "RESERVATION";
|
|
1320
|
-
reservationId: string;
|
|
1321
1263
|
} | {
|
|
1322
1264
|
seqNumber?: string | null | undefined;
|
|
1323
1265
|
slot: string;
|
|
@@ -2660,7 +2602,7 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
|
|
|
2660
2602
|
}>;
|
|
2661
2603
|
}>>>;
|
|
2662
2604
|
sub: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
2663
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
2605
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
2664
2606
|
}, {
|
|
2665
2607
|
type: z.ZodLiteral<"QR">;
|
|
2666
2608
|
session: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -2674,7 +2616,7 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
|
|
|
2674
2616
|
slot: string;
|
|
2675
2617
|
type: "QR";
|
|
2676
2618
|
}> | z.ZodObject<z.extendShape<{
|
|
2677
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
2619
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
2678
2620
|
}, {
|
|
2679
2621
|
type: z.ZodLiteral<"QUEUE">;
|
|
2680
2622
|
queueId: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -2688,81 +2630,7 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
|
|
|
2688
2630
|
type: "QUEUE";
|
|
2689
2631
|
queueId: string;
|
|
2690
2632
|
}> | z.ZodObject<z.extendShape<{
|
|
2691
|
-
type: z.ZodEnum<["QR", "QUEUE", "
|
|
2692
|
-
}, {
|
|
2693
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
2694
|
-
reservationId: z.ZodEffects<z.ZodString, string, string>;
|
|
2695
|
-
pf_booking: z.ZodOptional<z.ZodLazy<z.ZodObject<z.extendShape<{
|
|
2696
|
-
_id: z.ZodString;
|
|
2697
|
-
type: z.ZodEnum<["QUEUE", "RESERVATION"]>;
|
|
2698
|
-
restaurantId: z.ZodString;
|
|
2699
|
-
userId: z.ZodOptional<z.ZodString>;
|
|
2700
|
-
seqNumber: z.ZodOptional<z.ZodString>;
|
|
2701
|
-
pax: z.ZodNumber;
|
|
2702
|
-
rejectReason: z.ZodOptional<z.ZodString>;
|
|
2703
|
-
pf_restaurant: z.ZodOptional<z.ZodAny>;
|
|
2704
|
-
pf_user: z.ZodOptional<z.ZodAny>;
|
|
2705
|
-
}, {
|
|
2706
|
-
type: z.ZodLiteral<"RESERVATION">;
|
|
2707
|
-
reserveAt: z.ZodString;
|
|
2708
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2709
|
-
rejectReason?: string | undefined;
|
|
2710
|
-
pf_restaurant?: any;
|
|
2711
|
-
seqNumber?: string | undefined;
|
|
2712
|
-
userId?: string | undefined;
|
|
2713
|
-
pf_user?: any;
|
|
2714
|
-
type: "RESERVATION";
|
|
2715
|
-
restaurantId: string;
|
|
2716
|
-
_id: string;
|
|
2717
|
-
pax: number;
|
|
2718
|
-
reserveAt: string;
|
|
2719
|
-
}, {
|
|
2720
|
-
rejectReason?: string | undefined;
|
|
2721
|
-
pf_restaurant?: any;
|
|
2722
|
-
seqNumber?: string | undefined;
|
|
2723
|
-
userId?: string | undefined;
|
|
2724
|
-
pf_user?: any;
|
|
2725
|
-
type: "RESERVATION";
|
|
2726
|
-
restaurantId: string;
|
|
2727
|
-
_id: string;
|
|
2728
|
-
pax: number;
|
|
2729
|
-
reserveAt: string;
|
|
2730
|
-
}>>>;
|
|
2731
|
-
slot: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2732
|
-
}>, "strip", z.ZodTypeAny, {
|
|
2733
|
-
slot?: string | null | undefined;
|
|
2734
|
-
pf_booking?: {
|
|
2735
|
-
rejectReason?: string | undefined;
|
|
2736
|
-
pf_restaurant?: any;
|
|
2737
|
-
seqNumber?: string | undefined;
|
|
2738
|
-
userId?: string | undefined;
|
|
2739
|
-
pf_user?: any;
|
|
2740
|
-
type: "RESERVATION";
|
|
2741
|
-
restaurantId: string;
|
|
2742
|
-
_id: string;
|
|
2743
|
-
pax: number;
|
|
2744
|
-
reserveAt: string;
|
|
2745
|
-
} | undefined;
|
|
2746
|
-
type: "RESERVATION";
|
|
2747
|
-
reservationId: string;
|
|
2748
|
-
}, {
|
|
2749
|
-
slot?: string | null | undefined;
|
|
2750
|
-
pf_booking?: {
|
|
2751
|
-
rejectReason?: string | undefined;
|
|
2752
|
-
pf_restaurant?: any;
|
|
2753
|
-
seqNumber?: string | undefined;
|
|
2754
|
-
userId?: string | undefined;
|
|
2755
|
-
pf_user?: any;
|
|
2756
|
-
type: "RESERVATION";
|
|
2757
|
-
restaurantId: string;
|
|
2758
|
-
_id: string;
|
|
2759
|
-
pax: number;
|
|
2760
|
-
reserveAt: string;
|
|
2761
|
-
} | undefined;
|
|
2762
|
-
type: "RESERVATION";
|
|
2763
|
-
reservationId: string;
|
|
2764
|
-
}> | z.ZodObject<z.extendShape<{
|
|
2765
|
-
type: z.ZodEnum<["QR", "QUEUE", "RESERVATION", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
2633
|
+
type: z.ZodEnum<["QR", "QUEUE", "TAKEAWAY", "KIOSK", "COUNTER"]>;
|
|
2766
2634
|
}, {
|
|
2767
2635
|
type: z.ZodLiteral<"TAKEAWAY">;
|
|
2768
2636
|
slot: z.ZodString;
|
|
@@ -2792,22 +2660,6 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
|
|
|
2792
2660
|
slot?: string | null | undefined;
|
|
2793
2661
|
type: "QUEUE";
|
|
2794
2662
|
queueId: string;
|
|
2795
|
-
} | {
|
|
2796
|
-
slot?: string | null | undefined;
|
|
2797
|
-
pf_booking?: {
|
|
2798
|
-
rejectReason?: string | undefined;
|
|
2799
|
-
pf_restaurant?: any;
|
|
2800
|
-
seqNumber?: string | undefined;
|
|
2801
|
-
userId?: string | undefined;
|
|
2802
|
-
pf_user?: any;
|
|
2803
|
-
type: "RESERVATION";
|
|
2804
|
-
restaurantId: string;
|
|
2805
|
-
_id: string;
|
|
2806
|
-
pax: number;
|
|
2807
|
-
reserveAt: string;
|
|
2808
|
-
} | undefined;
|
|
2809
|
-
type: "RESERVATION";
|
|
2810
|
-
reservationId: string;
|
|
2811
2663
|
} | {
|
|
2812
2664
|
seqNumber?: string | null | undefined;
|
|
2813
2665
|
slot: string;
|
|
@@ -2830,22 +2682,6 @@ export declare const FdoOrderOption: z.ZodDiscriminatedUnion<"type", z.Primitive
|
|
|
2830
2682
|
slot?: string | null | undefined;
|
|
2831
2683
|
type: "QUEUE";
|
|
2832
2684
|
queueId: string;
|
|
2833
|
-
} | {
|
|
2834
|
-
slot?: string | null | undefined;
|
|
2835
|
-
pf_booking?: {
|
|
2836
|
-
rejectReason?: string | undefined;
|
|
2837
|
-
pf_restaurant?: any;
|
|
2838
|
-
seqNumber?: string | undefined;
|
|
2839
|
-
userId?: string | undefined;
|
|
2840
|
-
pf_user?: any;
|
|
2841
|
-
type: "RESERVATION";
|
|
2842
|
-
restaurantId: string;
|
|
2843
|
-
_id: string;
|
|
2844
|
-
pax: number;
|
|
2845
|
-
reserveAt: string;
|
|
2846
|
-
} | undefined;
|
|
2847
|
-
type: "RESERVATION";
|
|
2848
|
-
reservationId: string;
|
|
2849
2685
|
} | {
|
|
2850
2686
|
seqNumber?: string | null | undefined;
|
|
2851
2687
|
slot: string;
|
|
@@ -5570,26 +5406,26 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5570
5406
|
amount: z.ZodNumber;
|
|
5571
5407
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
5572
5408
|
}, "strip", z.ZodTypeAny, {
|
|
5573
|
-
_id: string;
|
|
5574
5409
|
amount: number;
|
|
5410
|
+
_id: string;
|
|
5575
5411
|
expiredAt: string;
|
|
5576
5412
|
}, {
|
|
5577
|
-
_id: string;
|
|
5578
5413
|
amount: number;
|
|
5414
|
+
_id: string;
|
|
5579
5415
|
expiredAt: string;
|
|
5580
5416
|
}>, "many">;
|
|
5581
5417
|
}, "strip", z.ZodTypeAny, {
|
|
5582
5418
|
normal: number;
|
|
5583
5419
|
free: {
|
|
5584
|
-
_id: string;
|
|
5585
5420
|
amount: number;
|
|
5421
|
+
_id: string;
|
|
5586
5422
|
expiredAt: string;
|
|
5587
5423
|
}[];
|
|
5588
5424
|
}, {
|
|
5589
5425
|
normal: number;
|
|
5590
5426
|
free: {
|
|
5591
|
-
_id: string;
|
|
5592
5427
|
amount: number;
|
|
5428
|
+
_id: string;
|
|
5593
5429
|
expiredAt: string;
|
|
5594
5430
|
}[];
|
|
5595
5431
|
}>;
|
|
@@ -5710,8 +5546,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5710
5546
|
creditBalance: {
|
|
5711
5547
|
normal: number;
|
|
5712
5548
|
free: {
|
|
5713
|
-
_id: string;
|
|
5714
5549
|
amount: number;
|
|
5550
|
+
_id: string;
|
|
5715
5551
|
expiredAt: string;
|
|
5716
5552
|
}[];
|
|
5717
5553
|
};
|
|
@@ -5824,8 +5660,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5824
5660
|
creditBalance: {
|
|
5825
5661
|
normal: number;
|
|
5826
5662
|
free: {
|
|
5827
|
-
_id: string;
|
|
5828
5663
|
amount: number;
|
|
5664
|
+
_id: string;
|
|
5829
5665
|
expiredAt: string;
|
|
5830
5666
|
}[];
|
|
5831
5667
|
};
|
|
@@ -5845,26 +5681,26 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5845
5681
|
amount: z.ZodNumber;
|
|
5846
5682
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
5847
5683
|
}, "strip", z.ZodTypeAny, {
|
|
5848
|
-
_id: string;
|
|
5849
5684
|
amount: number;
|
|
5685
|
+
_id: string;
|
|
5850
5686
|
expiredAt: string;
|
|
5851
5687
|
}, {
|
|
5852
|
-
_id: string;
|
|
5853
5688
|
amount: number;
|
|
5689
|
+
_id: string;
|
|
5854
5690
|
expiredAt: string;
|
|
5855
5691
|
}>, "many">;
|
|
5856
5692
|
}, "strip", z.ZodTypeAny, {
|
|
5857
5693
|
normal: number;
|
|
5858
5694
|
free: {
|
|
5859
|
-
_id: string;
|
|
5860
5695
|
amount: number;
|
|
5696
|
+
_id: string;
|
|
5861
5697
|
expiredAt: string;
|
|
5862
5698
|
}[];
|
|
5863
5699
|
}, {
|
|
5864
5700
|
normal: number;
|
|
5865
5701
|
free: {
|
|
5866
|
-
_id: string;
|
|
5867
5702
|
amount: number;
|
|
5703
|
+
_id: string;
|
|
5868
5704
|
expiredAt: string;
|
|
5869
5705
|
}[];
|
|
5870
5706
|
}>;
|
|
@@ -5875,26 +5711,26 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5875
5711
|
amount: z.ZodNumber;
|
|
5876
5712
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
5877
5713
|
}, "strip", z.ZodTypeAny, {
|
|
5878
|
-
_id: string;
|
|
5879
5714
|
amount: number;
|
|
5715
|
+
_id: string;
|
|
5880
5716
|
expiredAt: string;
|
|
5881
5717
|
}, {
|
|
5882
|
-
_id: string;
|
|
5883
5718
|
amount: number;
|
|
5719
|
+
_id: string;
|
|
5884
5720
|
expiredAt: string;
|
|
5885
5721
|
}>, "many">;
|
|
5886
5722
|
}, "strip", z.ZodTypeAny, {
|
|
5887
5723
|
normal: number;
|
|
5888
5724
|
free: {
|
|
5889
|
-
_id: string;
|
|
5890
5725
|
amount: number;
|
|
5726
|
+
_id: string;
|
|
5891
5727
|
expiredAt: string;
|
|
5892
5728
|
}[];
|
|
5893
5729
|
}, {
|
|
5894
5730
|
normal: number;
|
|
5895
5731
|
free: {
|
|
5896
|
-
_id: string;
|
|
5897
5732
|
amount: number;
|
|
5733
|
+
_id: string;
|
|
5898
5734
|
expiredAt: string;
|
|
5899
5735
|
}[];
|
|
5900
5736
|
}>;
|
|
@@ -5904,12 +5740,12 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
5904
5740
|
amount: z.ZodNumber;
|
|
5905
5741
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
5906
5742
|
}, "strip", z.ZodTypeAny, {
|
|
5907
|
-
_id: string;
|
|
5908
5743
|
amount: number;
|
|
5744
|
+
_id: string;
|
|
5909
5745
|
expiredAt: string;
|
|
5910
5746
|
}, {
|
|
5911
|
-
_id: string;
|
|
5912
5747
|
amount: number;
|
|
5748
|
+
_id: string;
|
|
5913
5749
|
expiredAt: string;
|
|
5914
5750
|
}>, "many">;
|
|
5915
5751
|
createdAt: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -6399,17 +6235,7 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
6399
6235
|
warehouseQuota: number;
|
|
6400
6236
|
menuVersion: string;
|
|
6401
6237
|
}>>>;
|
|
6402
|
-
features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.
|
|
6403
|
-
stock: string;
|
|
6404
|
-
discovery: string;
|
|
6405
|
-
pickup: string;
|
|
6406
|
-
delivery: string;
|
|
6407
|
-
foodpanda: string;
|
|
6408
|
-
deliveryIntegration: string;
|
|
6409
|
-
kds: string;
|
|
6410
|
-
ods: string;
|
|
6411
|
-
queue: string;
|
|
6412
|
-
}>, "many">>>;
|
|
6238
|
+
features: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
6413
6239
|
expiredAt: z.ZodEffects<z.ZodString, string, string>;
|
|
6414
6240
|
machineOtp: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6415
6241
|
machineOtpExpiredAt: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
@@ -9068,8 +8894,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
9068
8894
|
creditBalance: {
|
|
9069
8895
|
normal: number;
|
|
9070
8896
|
free: {
|
|
9071
|
-
_id: string;
|
|
9072
8897
|
amount: number;
|
|
8898
|
+
_id: string;
|
|
9073
8899
|
expiredAt: string;
|
|
9074
8900
|
}[];
|
|
9075
8901
|
};
|
|
@@ -9085,28 +8911,28 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
9085
8911
|
from: {
|
|
9086
8912
|
normal: number;
|
|
9087
8913
|
free: {
|
|
9088
|
-
_id: string;
|
|
9089
8914
|
amount: number;
|
|
8915
|
+
_id: string;
|
|
9090
8916
|
expiredAt: string;
|
|
9091
8917
|
}[];
|
|
9092
8918
|
};
|
|
9093
8919
|
to: {
|
|
9094
8920
|
normal: number;
|
|
9095
8921
|
free: {
|
|
9096
|
-
_id: string;
|
|
9097
8922
|
amount: number;
|
|
8923
|
+
_id: string;
|
|
9098
8924
|
expiredAt: string;
|
|
9099
8925
|
}[];
|
|
9100
8926
|
};
|
|
8927
|
+
member: string;
|
|
9101
8928
|
createdAt: string;
|
|
9102
8929
|
free: {
|
|
9103
|
-
_id: string;
|
|
9104
8930
|
amount: number;
|
|
8931
|
+
_id: string;
|
|
9105
8932
|
expiredAt: string;
|
|
9106
8933
|
}[];
|
|
9107
8934
|
ref: string;
|
|
9108
8935
|
business: string;
|
|
9109
|
-
member: string;
|
|
9110
8936
|
refunded: boolean;
|
|
9111
8937
|
}, {
|
|
9112
8938
|
remark?: string | null | undefined;
|
|
@@ -9641,8 +9467,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
9641
9467
|
creditBalance: {
|
|
9642
9468
|
normal: number;
|
|
9643
9469
|
free: {
|
|
9644
|
-
_id: string;
|
|
9645
9470
|
amount: number;
|
|
9471
|
+
_id: string;
|
|
9646
9472
|
expiredAt: string;
|
|
9647
9473
|
}[];
|
|
9648
9474
|
};
|
|
@@ -9658,28 +9484,28 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
9658
9484
|
from: {
|
|
9659
9485
|
normal: number;
|
|
9660
9486
|
free: {
|
|
9661
|
-
_id: string;
|
|
9662
9487
|
amount: number;
|
|
9488
|
+
_id: string;
|
|
9663
9489
|
expiredAt: string;
|
|
9664
9490
|
}[];
|
|
9665
9491
|
};
|
|
9666
9492
|
to: {
|
|
9667
9493
|
normal: number;
|
|
9668
9494
|
free: {
|
|
9669
|
-
_id: string;
|
|
9670
9495
|
amount: number;
|
|
9496
|
+
_id: string;
|
|
9671
9497
|
expiredAt: string;
|
|
9672
9498
|
}[];
|
|
9673
9499
|
};
|
|
9500
|
+
member: string;
|
|
9674
9501
|
createdAt: string;
|
|
9675
9502
|
free: {
|
|
9676
|
-
_id: string;
|
|
9677
9503
|
amount: number;
|
|
9504
|
+
_id: string;
|
|
9678
9505
|
expiredAt: string;
|
|
9679
9506
|
}[];
|
|
9680
9507
|
ref: string;
|
|
9681
9508
|
business: string;
|
|
9682
|
-
member: string;
|
|
9683
9509
|
refunded: boolean;
|
|
9684
9510
|
}>, "many">>>;
|
|
9685
9511
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -10305,8 +10131,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
10305
10131
|
creditBalance: {
|
|
10306
10132
|
normal: number;
|
|
10307
10133
|
free: {
|
|
10308
|
-
_id: string;
|
|
10309
10134
|
amount: number;
|
|
10135
|
+
_id: string;
|
|
10310
10136
|
expiredAt: string;
|
|
10311
10137
|
}[];
|
|
10312
10138
|
};
|
|
@@ -10322,28 +10148,28 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
10322
10148
|
from: {
|
|
10323
10149
|
normal: number;
|
|
10324
10150
|
free: {
|
|
10325
|
-
_id: string;
|
|
10326
10151
|
amount: number;
|
|
10152
|
+
_id: string;
|
|
10327
10153
|
expiredAt: string;
|
|
10328
10154
|
}[];
|
|
10329
10155
|
};
|
|
10330
10156
|
to: {
|
|
10331
10157
|
normal: number;
|
|
10332
10158
|
free: {
|
|
10333
|
-
_id: string;
|
|
10334
10159
|
amount: number;
|
|
10160
|
+
_id: string;
|
|
10335
10161
|
expiredAt: string;
|
|
10336
10162
|
}[];
|
|
10337
10163
|
};
|
|
10164
|
+
member: string;
|
|
10338
10165
|
createdAt: string;
|
|
10339
10166
|
free: {
|
|
10340
|
-
_id: string;
|
|
10341
10167
|
amount: number;
|
|
10168
|
+
_id: string;
|
|
10342
10169
|
expiredAt: string;
|
|
10343
10170
|
}[];
|
|
10344
10171
|
ref: string;
|
|
10345
10172
|
business: string;
|
|
10346
|
-
member: string;
|
|
10347
10173
|
refunded: boolean;
|
|
10348
10174
|
}[] | null | undefined;
|
|
10349
10175
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
@@ -10970,8 +10796,8 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
10970
10796
|
creditBalance: {
|
|
10971
10797
|
normal: number;
|
|
10972
10798
|
free: {
|
|
10973
|
-
_id: string;
|
|
10974
10799
|
amount: number;
|
|
10800
|
+
_id: string;
|
|
10975
10801
|
expiredAt: string;
|
|
10976
10802
|
}[];
|
|
10977
10803
|
};
|
|
@@ -10987,28 +10813,28 @@ export declare const FdoOrderPayment: z.ZodObject<{
|
|
|
10987
10813
|
from: {
|
|
10988
10814
|
normal: number;
|
|
10989
10815
|
free: {
|
|
10990
|
-
_id: string;
|
|
10991
10816
|
amount: number;
|
|
10817
|
+
_id: string;
|
|
10992
10818
|
expiredAt: string;
|
|
10993
10819
|
}[];
|
|
10994
10820
|
};
|
|
10995
10821
|
to: {
|
|
10996
10822
|
normal: number;
|
|
10997
10823
|
free: {
|
|
10998
|
-
_id: string;
|
|
10999
10824
|
amount: number;
|
|
10825
|
+
_id: string;
|
|
11000
10826
|
expiredAt: string;
|
|
11001
10827
|
}[];
|
|
11002
10828
|
};
|
|
10829
|
+
member: string;
|
|
11003
10830
|
createdAt: string;
|
|
11004
10831
|
free: {
|
|
11005
|
-
_id: string;
|
|
11006
10832
|
amount: number;
|
|
10833
|
+
_id: string;
|
|
11007
10834
|
expiredAt: string;
|
|
11008
10835
|
}[];
|
|
11009
10836
|
ref: string;
|
|
11010
10837
|
business: string;
|
|
11011
|
-
member: string;
|
|
11012
10838
|
refunded: boolean;
|
|
11013
10839
|
}[] | null | undefined;
|
|
11014
10840
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
@@ -11118,10 +10944,16 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
|
|
|
11118
10944
|
}, {
|
|
11119
10945
|
type: z.ZodLiteral<"SIMPLE">;
|
|
11120
10946
|
withAddons: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
10947
|
+
targetScope: z.ZodNullable<z.ZodOptional<z.ZodEnum<["ITEM", "SUB_ITEM"]>>>;
|
|
10948
|
+
calculationBase: z.ZodNullable<z.ZodOptional<z.ZodEnum<["SUB_ITEM", "BASE_ITEM"]>>>;
|
|
11121
10949
|
}>, "strip", z.ZodTypeAny, {
|
|
10950
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
10951
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11122
10952
|
withAddons?: string[] | null | undefined;
|
|
11123
10953
|
type: "SIMPLE";
|
|
11124
10954
|
}, {
|
|
10955
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
10956
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11125
10957
|
withAddons?: string[] | null | undefined;
|
|
11126
10958
|
type: "SIMPLE";
|
|
11127
10959
|
}> | z.ZodObject<z.extendShape<{
|
|
@@ -11231,6 +11063,8 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
|
|
|
11231
11063
|
maxQuantity?: number | null | undefined;
|
|
11232
11064
|
target: "ITEM";
|
|
11233
11065
|
strategy: {
|
|
11066
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
11067
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11234
11068
|
withAddons?: string[] | null | undefined;
|
|
11235
11069
|
type: "SIMPLE";
|
|
11236
11070
|
} | {
|
|
@@ -11272,6 +11106,8 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
|
|
|
11272
11106
|
maxQuantity?: number | null | undefined;
|
|
11273
11107
|
target: "ITEM";
|
|
11274
11108
|
strategy: {
|
|
11109
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
11110
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11275
11111
|
withAddons?: string[] | null | undefined;
|
|
11276
11112
|
type: "SIMPLE";
|
|
11277
11113
|
} | {
|
|
@@ -11421,6 +11257,8 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
|
|
|
11421
11257
|
maxQuantity?: number | null | undefined;
|
|
11422
11258
|
target: "ITEM";
|
|
11423
11259
|
strategy: {
|
|
11260
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
11261
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11424
11262
|
withAddons?: string[] | null | undefined;
|
|
11425
11263
|
type: "SIMPLE";
|
|
11426
11264
|
} | {
|
|
@@ -11516,6 +11354,8 @@ export declare const FdoOrderEffect: z.ZodLazy<z.ZodObject<z.extendShape<z.exten
|
|
|
11516
11354
|
maxQuantity?: number | null | undefined;
|
|
11517
11355
|
target: "ITEM";
|
|
11518
11356
|
strategy: {
|
|
11357
|
+
targetScope?: "ITEM" | "SUB_ITEM" | null | undefined;
|
|
11358
|
+
calculationBase?: "SUB_ITEM" | "BASE_ITEM" | null | undefined;
|
|
11519
11359
|
withAddons?: string[] | null | undefined;
|
|
11520
11360
|
type: "SIMPLE";
|
|
11521
11361
|
} | {
|