@feedmepos/mf-order-setting 0.0.48 → 0.0.50
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/{KioskDevicesView-iZTQ--DO.js → KioskDevicesView-u14hzPbE.js} +1 -1
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-DBgRDIoS.js +501 -0
- package/dist/{KioskSettingView-mN7UPNYu.js → KioskSettingView-DmvtZcV1.js} +34 -33
- package/dist/KioskView-M8V91gD5.js +474 -0
- package/dist/{OrderSettingsView-B5Nq_u9Z.js → OrderSettingsView-Bl3LshG3.js} +15016 -14688
- package/dist/{app-B3KtJhiw.js → app-CLewMjcd.js} +89 -25
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-GjkM9dM2.js → dayjs.min-DCTYRWyD.js} +1 -1
- package/dist/frontend/mf-order/src/api/restaurant-setting/index.d.ts +2 -1
- package/dist/frontend/mf-order/src/app.d.ts +64 -0
- package/dist/frontend/mf-order/src/main.d.ts +64 -0
- package/dist/frontend/mf-order/src/modules/kiosk/interface.d.ts +1 -0
- package/dist/frontend/mf-order/src/stores/kiosk/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +1 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +5 -2
- package/dist/frontend/mf-order/src/views/kiosk/devices/KioskDevicesView.vue.d.ts +6 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +8 -0
- package/dist/frontend/mf-order/src/views/order-settings/drive-thru/DriveThruSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/src/views/order-settings/servicecharge/ServiceChargeRule.vue.d.ts +2 -2
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-Dwzta1U-.js → index-B7LtJeBJ.js} +2 -2
- package/dist/{menu.dto-DgPhiIVk.js → menu.dto-Co7iXHNr.js} +25558 -25019
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +108 -16
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +63 -18
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +118 -18
- package/dist/package/entity/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +44 -0
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1071 -0
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +8 -0
- package/dist/package/entity/order/order.dto.d.ts +16 -8
- package/dist/package/entity/order/order.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +2 -2
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +2 -2
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +62 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +178 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +6 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +6 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +4 -4
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +5 -5
- package/dist/package/entity/order-platform/grabfood/grabfood-menu.do.d.ts +15 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-omni.do.d.ts +1834 -15
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +13 -13
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +5 -2
- package/dist/package/entity/order-platform/grabfood/grabfood-webhook.dto.d.ts +528 -805
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +14 -11
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +0 -20
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +2 -2
- package/dist/package/entity/queue/queue.do.d.ts +12 -0
- package/dist/package/entity/queue/queue.dto.d.ts +26 -6
- package/package.json +4 -4
- package/src/api/restaurant-setting/index.ts +6 -0
- package/src/locales/en-US.json +16 -0
- package/src/locales/ja-JP.json +16 -0
- package/src/locales/th-TH.json +16 -0
- package/src/locales/zh-CN.json +16 -0
- package/src/main.ts +2 -2
- package/src/modules/kiosk/interface.ts +1 -0
- package/src/stores/kiosk/mapper.ts +1 -0
- package/src/stores/restaurant/index.ts +6 -0
- package/src/views/kiosk/KioskSummary.vue +37 -31
- package/src/views/kiosk/KioskView.vue +4 -1
- package/src/views/kiosk/devices/KioskDeviceCard.vue +205 -89
- package/src/views/kiosk/devices/KioskDevicesView.vue +133 -17
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +8 -3
- package/src/views/order-settings/OrderSettingsView.vue +6 -1
- package/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue +22 -1
- package/src/views/order-settings/drive-thru/DriveThruSetting.vue +101 -0
- package/dist/KioskDevicesView.vue_vue_type_script_setup_true_lang-CPDemTBj.js +0 -306
- package/dist/KioskView-NEpc7Ivb.js +0 -452
|
@@ -1090,6 +1090,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1090
1090
|
target: "PAYMENT";
|
|
1091
1091
|
};
|
|
1092
1092
|
success: boolean;
|
|
1093
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1093
1094
|
adjustment: {
|
|
1094
1095
|
inclusive?: boolean | null | undefined;
|
|
1095
1096
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -1099,7 +1100,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1099
1100
|
};
|
|
1100
1101
|
};
|
|
1101
1102
|
referenceId: string;
|
|
1102
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1103
1103
|
}, {
|
|
1104
1104
|
reason?: string | null | undefined;
|
|
1105
1105
|
priority?: number | null | undefined;
|
|
@@ -1181,6 +1181,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1181
1181
|
target: "PAYMENT";
|
|
1182
1182
|
};
|
|
1183
1183
|
success: boolean;
|
|
1184
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1184
1185
|
adjustment: {
|
|
1185
1186
|
inclusive?: boolean | null | undefined;
|
|
1186
1187
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -1190,10 +1191,9 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1190
1191
|
};
|
|
1191
1192
|
};
|
|
1192
1193
|
referenceId: string;
|
|
1193
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
1194
1194
|
}>, "many">>>;
|
|
1195
1195
|
option: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
1196
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
1196
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1197
1197
|
}, {
|
|
1198
1198
|
type: z.ZodLiteral<"DELIVERY">;
|
|
1199
1199
|
option: z.ZodObject<{
|
|
@@ -1816,7 +1816,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
1816
1816
|
};
|
|
1817
1817
|
type: "DELIVERY";
|
|
1818
1818
|
}> | z.ZodObject<z.extendShape<{
|
|
1819
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
1819
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
1820
1820
|
}, {
|
|
1821
1821
|
type: z.ZodLiteral<"PICKUP">;
|
|
1822
1822
|
option: z.ZodObject<{
|
|
@@ -2106,7 +2106,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
2106
2106
|
};
|
|
2107
2107
|
type: "PICKUP";
|
|
2108
2108
|
}> | z.ZodObject<z.extendShape<{
|
|
2109
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
2109
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
2110
2110
|
}, {
|
|
2111
2111
|
type: z.ZodLiteral<"DINE_IN">;
|
|
2112
2112
|
option: z.ZodObject<{
|
|
@@ -2179,6 +2179,32 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
2179
2179
|
orderIds: string[];
|
|
2180
2180
|
};
|
|
2181
2181
|
type: "DINE_IN";
|
|
2182
|
+
}> | z.ZodObject<z.extendShape<{
|
|
2183
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
2184
|
+
}, {
|
|
2185
|
+
type: z.ZodLiteral<"DRIVE_THRU">;
|
|
2186
|
+
option: z.ZodObject<{
|
|
2187
|
+
platform: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2188
|
+
licensePlate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2189
|
+
}, "strip", z.ZodTypeAny, {
|
|
2190
|
+
platform?: string | null | undefined;
|
|
2191
|
+
licensePlate?: string | null | undefined;
|
|
2192
|
+
}, {
|
|
2193
|
+
platform?: string | null | undefined;
|
|
2194
|
+
licensePlate?: string | null | undefined;
|
|
2195
|
+
}>;
|
|
2196
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2197
|
+
option: {
|
|
2198
|
+
platform?: string | null | undefined;
|
|
2199
|
+
licensePlate?: string | null | undefined;
|
|
2200
|
+
};
|
|
2201
|
+
type: "DRIVE_THRU";
|
|
2202
|
+
}, {
|
|
2203
|
+
option: {
|
|
2204
|
+
platform?: string | null | undefined;
|
|
2205
|
+
licensePlate?: string | null | undefined;
|
|
2206
|
+
};
|
|
2207
|
+
type: "DRIVE_THRU";
|
|
2182
2208
|
}>>;
|
|
2183
2209
|
person: z.ZodNumber;
|
|
2184
2210
|
slot: z.ZodString;
|
|
@@ -3371,6 +3397,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3371
3397
|
target: "PAYMENT";
|
|
3372
3398
|
};
|
|
3373
3399
|
success: boolean;
|
|
3400
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3374
3401
|
adjustment: {
|
|
3375
3402
|
inclusive?: boolean | null | undefined;
|
|
3376
3403
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3380,7 +3407,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3380
3407
|
};
|
|
3381
3408
|
};
|
|
3382
3409
|
referenceId: string;
|
|
3383
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3384
3410
|
}[] | null | undefined;
|
|
3385
3411
|
roundToNearest?: number | null | undefined;
|
|
3386
3412
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -3640,6 +3666,12 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3640
3666
|
orderIds: string[];
|
|
3641
3667
|
};
|
|
3642
3668
|
type: "DINE_IN";
|
|
3669
|
+
} | {
|
|
3670
|
+
option: {
|
|
3671
|
+
platform?: string | null | undefined;
|
|
3672
|
+
licensePlate?: string | null | undefined;
|
|
3673
|
+
};
|
|
3674
|
+
type: "DRIVE_THRU";
|
|
3643
3675
|
};
|
|
3644
3676
|
slot: string;
|
|
3645
3677
|
adjustments: Record<string, {
|
|
@@ -3928,6 +3960,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3928
3960
|
target: "PAYMENT";
|
|
3929
3961
|
};
|
|
3930
3962
|
success: boolean;
|
|
3963
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3931
3964
|
adjustment: {
|
|
3932
3965
|
inclusive?: boolean | null | undefined;
|
|
3933
3966
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -3937,7 +3970,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
3937
3970
|
};
|
|
3938
3971
|
};
|
|
3939
3972
|
referenceId: string;
|
|
3940
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
3941
3973
|
}[] | null | undefined;
|
|
3942
3974
|
roundToNearest?: number | null | undefined;
|
|
3943
3975
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -4197,6 +4229,12 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4197
4229
|
orderIds: string[];
|
|
4198
4230
|
};
|
|
4199
4231
|
type: "DINE_IN";
|
|
4232
|
+
} | {
|
|
4233
|
+
option: {
|
|
4234
|
+
platform?: string | null | undefined;
|
|
4235
|
+
licensePlate?: string | null | undefined;
|
|
4236
|
+
};
|
|
4237
|
+
type: "DRIVE_THRU";
|
|
4200
4238
|
};
|
|
4201
4239
|
slot: string;
|
|
4202
4240
|
adjustments: Record<string, {
|
|
@@ -4532,6 +4570,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4532
4570
|
target: "PAYMENT";
|
|
4533
4571
|
};
|
|
4534
4572
|
success: boolean;
|
|
4573
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4535
4574
|
adjustment: {
|
|
4536
4575
|
inclusive?: boolean | null | undefined;
|
|
4537
4576
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -4541,7 +4580,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4541
4580
|
};
|
|
4542
4581
|
};
|
|
4543
4582
|
referenceId: string;
|
|
4544
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
4545
4583
|
}[] | null | undefined;
|
|
4546
4584
|
roundToNearest?: number | null | undefined;
|
|
4547
4585
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -4801,6 +4839,12 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
4801
4839
|
orderIds: string[];
|
|
4802
4840
|
};
|
|
4803
4841
|
type: "DINE_IN";
|
|
4842
|
+
} | {
|
|
4843
|
+
option: {
|
|
4844
|
+
platform?: string | null | undefined;
|
|
4845
|
+
licensePlate?: string | null | undefined;
|
|
4846
|
+
};
|
|
4847
|
+
type: "DRIVE_THRU";
|
|
4804
4848
|
};
|
|
4805
4849
|
slot: string;
|
|
4806
4850
|
adjustments: Record<string, {
|
|
@@ -5106,6 +5150,7 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5106
5150
|
target: "PAYMENT";
|
|
5107
5151
|
};
|
|
5108
5152
|
success: boolean;
|
|
5153
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5109
5154
|
adjustment: {
|
|
5110
5155
|
inclusive?: boolean | null | undefined;
|
|
5111
5156
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -5115,7 +5160,6 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5115
5160
|
};
|
|
5116
5161
|
};
|
|
5117
5162
|
referenceId: string;
|
|
5118
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
5119
5163
|
}[] | null | undefined;
|
|
5120
5164
|
roundToNearest?: number | null | undefined;
|
|
5121
5165
|
isTakeaway?: boolean | null | undefined;
|
|
@@ -5375,6 +5419,12 @@ export declare const FdtoCreateIncomingOrder: z.ZodObject<{
|
|
|
5375
5419
|
orderIds: string[];
|
|
5376
5420
|
};
|
|
5377
5421
|
type: "DINE_IN";
|
|
5422
|
+
} | {
|
|
5423
|
+
option: {
|
|
5424
|
+
platform?: string | null | undefined;
|
|
5425
|
+
licensePlate?: string | null | undefined;
|
|
5426
|
+
};
|
|
5427
|
+
type: "DRIVE_THRU";
|
|
5378
5428
|
};
|
|
5379
5429
|
slot: string;
|
|
5380
5430
|
adjustments: Record<string, {
|
|
@@ -6712,6 +6762,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6712
6762
|
target: "PAYMENT";
|
|
6713
6763
|
};
|
|
6714
6764
|
success: boolean;
|
|
6765
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6715
6766
|
adjustment: {
|
|
6716
6767
|
inclusive?: boolean | null | undefined;
|
|
6717
6768
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6721,7 +6772,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6721
6772
|
};
|
|
6722
6773
|
};
|
|
6723
6774
|
referenceId: string;
|
|
6724
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6725
6775
|
}, {
|
|
6726
6776
|
reason?: string | null | undefined;
|
|
6727
6777
|
priority?: number | null | undefined;
|
|
@@ -6803,6 +6853,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6803
6853
|
target: "PAYMENT";
|
|
6804
6854
|
};
|
|
6805
6855
|
success: boolean;
|
|
6856
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6806
6857
|
adjustment: {
|
|
6807
6858
|
inclusive?: boolean | null | undefined;
|
|
6808
6859
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -6812,10 +6863,9 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
6812
6863
|
};
|
|
6813
6864
|
};
|
|
6814
6865
|
referenceId: string;
|
|
6815
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
6816
6866
|
}>, "many">>>>;
|
|
6817
6867
|
option: z.ZodOptional<z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
6818
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
6868
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
6819
6869
|
}, {
|
|
6820
6870
|
type: z.ZodLiteral<"DELIVERY">;
|
|
6821
6871
|
option: z.ZodObject<{
|
|
@@ -7438,7 +7488,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7438
7488
|
};
|
|
7439
7489
|
type: "DELIVERY";
|
|
7440
7490
|
}> | z.ZodObject<z.extendShape<{
|
|
7441
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
7491
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
7442
7492
|
}, {
|
|
7443
7493
|
type: z.ZodLiteral<"PICKUP">;
|
|
7444
7494
|
option: z.ZodObject<{
|
|
@@ -7728,7 +7778,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7728
7778
|
};
|
|
7729
7779
|
type: "PICKUP";
|
|
7730
7780
|
}> | z.ZodObject<z.extendShape<{
|
|
7731
|
-
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
7781
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
7732
7782
|
}, {
|
|
7733
7783
|
type: z.ZodLiteral<"DINE_IN">;
|
|
7734
7784
|
option: z.ZodObject<{
|
|
@@ -7801,6 +7851,32 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
7801
7851
|
orderIds: string[];
|
|
7802
7852
|
};
|
|
7803
7853
|
type: "DINE_IN";
|
|
7854
|
+
}> | z.ZodObject<z.extendShape<{
|
|
7855
|
+
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY", "DRIVE_THRU"]>;
|
|
7856
|
+
}, {
|
|
7857
|
+
type: z.ZodLiteral<"DRIVE_THRU">;
|
|
7858
|
+
option: z.ZodObject<{
|
|
7859
|
+
platform: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7860
|
+
licensePlate: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
7861
|
+
}, "strip", z.ZodTypeAny, {
|
|
7862
|
+
platform?: string | null | undefined;
|
|
7863
|
+
licensePlate?: string | null | undefined;
|
|
7864
|
+
}, {
|
|
7865
|
+
platform?: string | null | undefined;
|
|
7866
|
+
licensePlate?: string | null | undefined;
|
|
7867
|
+
}>;
|
|
7868
|
+
}>, "strip", z.ZodTypeAny, {
|
|
7869
|
+
option: {
|
|
7870
|
+
platform?: string | null | undefined;
|
|
7871
|
+
licensePlate?: string | null | undefined;
|
|
7872
|
+
};
|
|
7873
|
+
type: "DRIVE_THRU";
|
|
7874
|
+
}, {
|
|
7875
|
+
option: {
|
|
7876
|
+
platform?: string | null | undefined;
|
|
7877
|
+
licensePlate?: string | null | undefined;
|
|
7878
|
+
};
|
|
7879
|
+
type: "DRIVE_THRU";
|
|
7804
7880
|
}>>>;
|
|
7805
7881
|
person: z.ZodOptional<z.ZodNumber>;
|
|
7806
7882
|
slot: z.ZodOptional<z.ZodString>;
|
|
@@ -9035,6 +9111,12 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9035
9111
|
orderIds: string[];
|
|
9036
9112
|
};
|
|
9037
9113
|
type: "DINE_IN";
|
|
9114
|
+
} | {
|
|
9115
|
+
option: {
|
|
9116
|
+
platform?: string | null | undefined;
|
|
9117
|
+
licensePlate?: string | null | undefined;
|
|
9118
|
+
};
|
|
9119
|
+
type: "DRIVE_THRU";
|
|
9038
9120
|
} | undefined;
|
|
9039
9121
|
slot?: string | undefined;
|
|
9040
9122
|
remark?: string | null | undefined;
|
|
@@ -9274,6 +9356,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9274
9356
|
target: "PAYMENT";
|
|
9275
9357
|
};
|
|
9276
9358
|
success: boolean;
|
|
9359
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
9277
9360
|
adjustment: {
|
|
9278
9361
|
inclusive?: boolean | null | undefined;
|
|
9279
9362
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -9283,7 +9366,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9283
9366
|
};
|
|
9284
9367
|
};
|
|
9285
9368
|
referenceId: string;
|
|
9286
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
9287
9369
|
}[] | null | undefined;
|
|
9288
9370
|
orderAt?: string | undefined;
|
|
9289
9371
|
roundToNearest?: number | null | undefined;
|
|
@@ -9592,6 +9674,12 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9592
9674
|
orderIds: string[];
|
|
9593
9675
|
};
|
|
9594
9676
|
type: "DINE_IN";
|
|
9677
|
+
} | {
|
|
9678
|
+
option: {
|
|
9679
|
+
platform?: string | null | undefined;
|
|
9680
|
+
licensePlate?: string | null | undefined;
|
|
9681
|
+
};
|
|
9682
|
+
type: "DRIVE_THRU";
|
|
9595
9683
|
} | undefined;
|
|
9596
9684
|
slot?: string | undefined;
|
|
9597
9685
|
remark?: string | null | undefined;
|
|
@@ -9831,6 +9919,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9831
9919
|
target: "PAYMENT";
|
|
9832
9920
|
};
|
|
9833
9921
|
success: boolean;
|
|
9922
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
9834
9923
|
adjustment: {
|
|
9835
9924
|
inclusive?: boolean | null | undefined;
|
|
9836
9925
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -9840,7 +9929,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
9840
9929
|
};
|
|
9841
9930
|
};
|
|
9842
9931
|
referenceId: string;
|
|
9843
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
9844
9932
|
}[] | null | undefined;
|
|
9845
9933
|
orderAt?: string | undefined;
|
|
9846
9934
|
roundToNearest?: number | null | undefined;
|
|
@@ -10167,6 +10255,12 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10167
10255
|
orderIds: string[];
|
|
10168
10256
|
};
|
|
10169
10257
|
type: "DINE_IN";
|
|
10258
|
+
} | {
|
|
10259
|
+
option: {
|
|
10260
|
+
platform?: string | null | undefined;
|
|
10261
|
+
licensePlate?: string | null | undefined;
|
|
10262
|
+
};
|
|
10263
|
+
type: "DRIVE_THRU";
|
|
10170
10264
|
} | undefined;
|
|
10171
10265
|
slot?: string | undefined;
|
|
10172
10266
|
remark?: string | null | undefined;
|
|
@@ -10406,6 +10500,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10406
10500
|
target: "PAYMENT";
|
|
10407
10501
|
};
|
|
10408
10502
|
success: boolean;
|
|
10503
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
10409
10504
|
adjustment: {
|
|
10410
10505
|
inclusive?: boolean | null | undefined;
|
|
10411
10506
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -10415,7 +10510,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10415
10510
|
};
|
|
10416
10511
|
};
|
|
10417
10512
|
referenceId: string;
|
|
10418
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
10419
10513
|
}[] | null | undefined;
|
|
10420
10514
|
orderAt?: string | undefined;
|
|
10421
10515
|
roundToNearest?: number | null | undefined;
|
|
@@ -10742,6 +10836,12 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10742
10836
|
orderIds: string[];
|
|
10743
10837
|
};
|
|
10744
10838
|
type: "DINE_IN";
|
|
10839
|
+
} | {
|
|
10840
|
+
option: {
|
|
10841
|
+
platform?: string | null | undefined;
|
|
10842
|
+
licensePlate?: string | null | undefined;
|
|
10843
|
+
};
|
|
10844
|
+
type: "DRIVE_THRU";
|
|
10745
10845
|
} | undefined;
|
|
10746
10846
|
slot?: string | undefined;
|
|
10747
10847
|
remark?: string | null | undefined;
|
|
@@ -10981,6 +11081,7 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10981
11081
|
target: "PAYMENT";
|
|
10982
11082
|
};
|
|
10983
11083
|
success: boolean;
|
|
11084
|
+
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
10984
11085
|
adjustment: {
|
|
10985
11086
|
inclusive?: boolean | null | undefined;
|
|
10986
11087
|
type: "BY_PERCENTAGE" | "BY_AMOUNT" | "TO_AMOUNT";
|
|
@@ -10990,7 +11091,6 @@ export declare const FdtoUpdateIncomingOrder: z.ZodObject<{
|
|
|
10990
11091
|
};
|
|
10991
11092
|
};
|
|
10992
11093
|
referenceId: string;
|
|
10993
|
-
from: "COUNTER" | "PROMOTION" | "VOUCHER" | "MEMBERSHIP" | "FREE_CREDIT";
|
|
10994
11094
|
}[] | null | undefined;
|
|
10995
11095
|
orderAt?: string | undefined;
|
|
10996
11096
|
roundToNearest?: number | null | undefined;
|
|
@@ -446,6 +446,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
446
446
|
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
447
447
|
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
448
448
|
deviceAppOTAVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
449
|
+
webviewVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
450
|
+
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
449
451
|
}, "strip", z.ZodTypeAny, {
|
|
450
452
|
name?: string | null | undefined;
|
|
451
453
|
scannerInfo?: {
|
|
@@ -526,6 +528,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
526
528
|
pinInfo?: string | null | undefined;
|
|
527
529
|
deviceAppVersion?: string | null | undefined;
|
|
528
530
|
deviceAppOTAVersion?: string | null | undefined;
|
|
531
|
+
webviewVersion?: string | null | undefined;
|
|
532
|
+
lastStartup?: string | null | undefined;
|
|
529
533
|
machineId: string;
|
|
530
534
|
token: string;
|
|
531
535
|
}, {
|
|
@@ -608,6 +612,8 @@ export declare const FdoKioskDevice: z.ZodObject<{
|
|
|
608
612
|
pinInfo?: string | null | undefined;
|
|
609
613
|
deviceAppVersion?: string | null | undefined;
|
|
610
614
|
deviceAppOTAVersion?: string | null | undefined;
|
|
615
|
+
webviewVersion?: string | null | undefined;
|
|
616
|
+
lastStartup?: string | null | undefined;
|
|
611
617
|
machineId: string;
|
|
612
618
|
token: string;
|
|
613
619
|
}>;
|
|
@@ -1037,6 +1043,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1037
1043
|
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1038
1044
|
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1039
1045
|
deviceAppOTAVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1046
|
+
webviewVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1047
|
+
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1040
1048
|
}, "strip", z.ZodTypeAny, {
|
|
1041
1049
|
name?: string | null | undefined;
|
|
1042
1050
|
scannerInfo?: {
|
|
@@ -1117,6 +1125,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1117
1125
|
pinInfo?: string | null | undefined;
|
|
1118
1126
|
deviceAppVersion?: string | null | undefined;
|
|
1119
1127
|
deviceAppOTAVersion?: string | null | undefined;
|
|
1128
|
+
webviewVersion?: string | null | undefined;
|
|
1129
|
+
lastStartup?: string | null | undefined;
|
|
1120
1130
|
machineId: string;
|
|
1121
1131
|
token: string;
|
|
1122
1132
|
}, {
|
|
@@ -1199,6 +1209,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1199
1209
|
pinInfo?: string | null | undefined;
|
|
1200
1210
|
deviceAppVersion?: string | null | undefined;
|
|
1201
1211
|
deviceAppOTAVersion?: string | null | undefined;
|
|
1212
|
+
webviewVersion?: string | null | undefined;
|
|
1213
|
+
lastStartup?: string | null | undefined;
|
|
1202
1214
|
machineId: string;
|
|
1203
1215
|
token: string;
|
|
1204
1216
|
}>, "many">>>;
|
|
@@ -1297,6 +1309,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1297
1309
|
pinInfo?: string | null | undefined;
|
|
1298
1310
|
deviceAppVersion?: string | null | undefined;
|
|
1299
1311
|
deviceAppOTAVersion?: string | null | undefined;
|
|
1312
|
+
webviewVersion?: string | null | undefined;
|
|
1313
|
+
lastStartup?: string | null | undefined;
|
|
1300
1314
|
machineId: string;
|
|
1301
1315
|
token: string;
|
|
1302
1316
|
}[] | null | undefined;
|
|
@@ -1386,6 +1400,8 @@ export declare const FdoRestaurantKioskSettings: z.ZodObject<{
|
|
|
1386
1400
|
pinInfo?: string | null | undefined;
|
|
1387
1401
|
deviceAppVersion?: string | null | undefined;
|
|
1388
1402
|
deviceAppOTAVersion?: string | null | undefined;
|
|
1403
|
+
webviewVersion?: string | null | undefined;
|
|
1404
|
+
lastStartup?: string | null | undefined;
|
|
1389
1405
|
machineId: string;
|
|
1390
1406
|
token: string;
|
|
1391
1407
|
}[] | null | undefined;
|
|
@@ -1817,6 +1833,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
1817
1833
|
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1818
1834
|
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1819
1835
|
deviceAppOTAVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1836
|
+
webviewVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1837
|
+
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
1820
1838
|
}, "strip", z.ZodTypeAny, {
|
|
1821
1839
|
name?: string | null | undefined;
|
|
1822
1840
|
scannerInfo?: {
|
|
@@ -1897,6 +1915,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
1897
1915
|
pinInfo?: string | null | undefined;
|
|
1898
1916
|
deviceAppVersion?: string | null | undefined;
|
|
1899
1917
|
deviceAppOTAVersion?: string | null | undefined;
|
|
1918
|
+
webviewVersion?: string | null | undefined;
|
|
1919
|
+
lastStartup?: string | null | undefined;
|
|
1900
1920
|
machineId: string;
|
|
1901
1921
|
token: string;
|
|
1902
1922
|
}, {
|
|
@@ -1979,6 +1999,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
1979
1999
|
pinInfo?: string | null | undefined;
|
|
1980
2000
|
deviceAppVersion?: string | null | undefined;
|
|
1981
2001
|
deviceAppOTAVersion?: string | null | undefined;
|
|
2002
|
+
webviewVersion?: string | null | undefined;
|
|
2003
|
+
lastStartup?: string | null | undefined;
|
|
1982
2004
|
machineId: string;
|
|
1983
2005
|
token: string;
|
|
1984
2006
|
}>, "many">>>;
|
|
@@ -2417,6 +2439,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2417
2439
|
pinInfo: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2418
2440
|
deviceAppVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2419
2441
|
deviceAppOTAVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2442
|
+
webviewVersion: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2443
|
+
lastStartup: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>>;
|
|
2420
2444
|
}, "strip", z.ZodTypeAny, {
|
|
2421
2445
|
name?: string | null | undefined;
|
|
2422
2446
|
scannerInfo?: {
|
|
@@ -2497,6 +2521,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2497
2521
|
pinInfo?: string | null | undefined;
|
|
2498
2522
|
deviceAppVersion?: string | null | undefined;
|
|
2499
2523
|
deviceAppOTAVersion?: string | null | undefined;
|
|
2524
|
+
webviewVersion?: string | null | undefined;
|
|
2525
|
+
lastStartup?: string | null | undefined;
|
|
2500
2526
|
machineId: string;
|
|
2501
2527
|
token: string;
|
|
2502
2528
|
}, {
|
|
@@ -2579,6 +2605,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2579
2605
|
pinInfo?: string | null | undefined;
|
|
2580
2606
|
deviceAppVersion?: string | null | undefined;
|
|
2581
2607
|
deviceAppOTAVersion?: string | null | undefined;
|
|
2608
|
+
webviewVersion?: string | null | undefined;
|
|
2609
|
+
lastStartup?: string | null | undefined;
|
|
2582
2610
|
machineId: string;
|
|
2583
2611
|
token: string;
|
|
2584
2612
|
}>;
|
|
@@ -2664,6 +2692,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2664
2692
|
pinInfo?: string | null | undefined;
|
|
2665
2693
|
deviceAppVersion?: string | null | undefined;
|
|
2666
2694
|
deviceAppOTAVersion?: string | null | undefined;
|
|
2695
|
+
webviewVersion?: string | null | undefined;
|
|
2696
|
+
lastStartup?: string | null | undefined;
|
|
2667
2697
|
machineId: string;
|
|
2668
2698
|
token: string;
|
|
2669
2699
|
};
|
|
@@ -2749,6 +2779,8 @@ export declare const FdoRestaurantKioskSettingByToken: z.ZodObject<z.extendShape
|
|
|
2749
2779
|
pinInfo?: string | null | undefined;
|
|
2750
2780
|
deviceAppVersion?: string | null | undefined;
|
|
2751
2781
|
deviceAppOTAVersion?: string | null | undefined;
|
|
2782
|
+
webviewVersion?: string | null | undefined;
|
|
2783
|
+
lastStartup?: string | null | undefined;
|
|
2752
2784
|
machineId: string;
|
|
2753
2785
|
token: string;
|
|
2754
2786
|
};
|