@feedmepos/mf-order-setting 0.0.56-dev.1 → 0.0.56-dev.2
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/.tsbuildinfo +1 -1
- package/dist/{KioskDevicesView-CccsAZqK.js → KioskDevicesView-Qv-xd_kZ.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-dF1jgi53.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CCF1mKni.js} +2 -2
- package/dist/KioskSettingView-CvvrK6Bv.js +643 -0
- package/dist/{KioskView-DmaCjLcw.js → KioskView-CppTVBv-.js} +117 -117
- package/dist/OrderSettingsView-C38N61dM.js +36564 -0
- package/dist/{app-EGmxrjDM.js → app-Bss1GkKY.js} +4 -4
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-lCwCAXUZ.js → dayjs.min-DZfxGUk4.js} +1 -1
- package/dist/frontend/mf-order/src/stores/order-setting/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +1 -1
- package/dist/frontend/mf-order/src/views/kiosk/settings/KioskPaymentTypeSection.vue.d.ts +13 -3
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +12 -4
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue.d.ts +4 -4
- package/dist/frontend/mf-order/src/views/order-settings/dine-in/PaymentType.vue.d.ts +38 -4
- package/dist/frontend/mf-order/src/views/order-settings/pickup/PaymentSidesheet.vue.d.ts +1 -0
- package/dist/frontend/mf-order/src/views/order-settings/reservation/CustomTimePicker.vue.d.ts +1 -0
- package/dist/{index-CWrX79Jg.js → index-B6AGCsrw.js} +6 -6
- package/dist/index-BpKR-Cxd.js +19757 -0
- package/dist/{menu.dto-CgymySda.js → menu.dto-C_B3M2fs.js} +44222 -46755
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +22443 -3
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +3 -3
- package/dist/package/entity/incoming-order/incoming-order.enum.d.ts +1 -1
- package/dist/package/entity/index.d.ts +1 -0
- package/dist/package/entity/marketing/marketing.dto.d.ts +1 -1
- package/dist/package/entity/order/dine-in/qr.dto.d.ts +38 -0
- package/dist/package/entity/order/order.do.d.ts +6358 -2
- package/dist/package/entity/order/order.dto.d.ts +22 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-dto.d.ts +3 -0
- package/dist/package/entity/order-platform/deliveroo/deliveroo-setting.do.d.ts +3 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +12 -12
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +32 -32
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +21 -3
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +12 -2
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-edit-order.do.d.ts +9 -1
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +2 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +3 -3
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +2 -2
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/shopeefood/shopeefood-settings.dto.d.ts +3 -0
- package/dist/package/entity/order-setting/order-setting.do.d.ts +3 -0
- package/dist/package/entity/order-setting/order-setting.dto.d.ts +6 -0
- package/dist/package/entity/queue/queue.do.d.ts +3 -8
- package/dist/package/entity/queue/queue.dto.d.ts +10 -0
- package/dist/package/entity/reservation/reservation.do.d.ts +4 -0
- package/dist/package/entity/reservation/reservation.dto.d.ts +10 -0
- package/dist/package/entity/reservation/reservation.utils.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/views/kiosk/KioskSummary.vue +3 -0
- package/src/views/kiosk/settings/KioskPaymentTypeSection.vue +99 -211
- package/src/views/kiosk/settings/KioskSettingView.vue +27 -11
- package/src/views/order-settings/dine-in/DineInSetting.vue +1 -0
- package/src/views/order-settings/dine-in/OfflinePaymentTypeDialog.vue +2 -3
- package/src/views/order-settings/dine-in/PaymentType.vue +151 -43
- package/src/views/order-settings/pickup/PaymentSidesheet.vue +33 -172
- package/src/views/order-settings/pickup/PickUpSettingDialogContent.vue +1 -0
- package/src/views/order-settings/reservation/CustomTimePicker.vue +129 -49
- package/src/views/order-settings/reservation/ReservationSetting.vue +547 -303
- package/dist/KioskSettingView-8GY7AT-N.js +0 -722
- package/dist/OrderSettingsView-BZcU4t9L.js +0 -56240
- package/dist/index-BXsnV_eO.js +0 -150
|
@@ -13068,6 +13068,8 @@ export declare const OrderDto: z.ZodObject<{
|
|
|
13068
13068
|
}[] | null | undefined;
|
|
13069
13069
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
13070
13070
|
}>>>;
|
|
13071
|
+
freeCreditAsDiscount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
13072
|
+
creditDiscountTransaction: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
13071
13073
|
effects: z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
13072
13074
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13073
13075
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -15234,6 +15236,8 @@ export declare const OrderDto: z.ZodObject<{
|
|
|
15234
15236
|
}[] | null | undefined;
|
|
15235
15237
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
15236
15238
|
} | null | undefined;
|
|
15239
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
15240
|
+
creditDiscountTransaction?: any;
|
|
15237
15241
|
option: {
|
|
15238
15242
|
remark?: string | null | undefined;
|
|
15239
15243
|
pax?: number | null | undefined;
|
|
@@ -15927,6 +15931,8 @@ export declare const OrderDto: z.ZodObject<{
|
|
|
15927
15931
|
}[] | null | undefined;
|
|
15928
15932
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
15929
15933
|
} | null | undefined;
|
|
15934
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
15935
|
+
creditDiscountTransaction?: any;
|
|
15930
15936
|
effects?: ({
|
|
15931
15937
|
id?: string | null | undefined;
|
|
15932
15938
|
} & {
|
|
@@ -18138,6 +18144,8 @@ export declare const OrderKioskDto: z.ZodObject<{
|
|
|
18138
18144
|
pf_transactions?: any[] | null | undefined;
|
|
18139
18145
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
18140
18146
|
}>>>;
|
|
18147
|
+
freeCreditAsDiscount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
18148
|
+
creditDiscountTransaction: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
18141
18149
|
effects: z.ZodDefault<z.ZodArray<z.ZodIntersection<z.ZodObject<{
|
|
18142
18150
|
id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
18143
18151
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -20256,6 +20264,8 @@ export declare const OrderKioskDto: z.ZodObject<{
|
|
|
20256
20264
|
pf_transactions?: any[] | null | undefined;
|
|
20257
20265
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
20258
20266
|
} | null | undefined;
|
|
20267
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
20268
|
+
creditDiscountTransaction?: any;
|
|
20259
20269
|
option: {
|
|
20260
20270
|
remark?: string | null | undefined;
|
|
20261
20271
|
pax?: number | null | undefined;
|
|
@@ -20901,6 +20911,8 @@ export declare const OrderKioskDto: z.ZodObject<{
|
|
|
20901
20911
|
pf_transactions?: any[] | null | undefined;
|
|
20902
20912
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
20903
20913
|
} | null | undefined;
|
|
20914
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
20915
|
+
creditDiscountTransaction?: any;
|
|
20904
20916
|
effects?: ({
|
|
20905
20917
|
id?: string | null | undefined;
|
|
20906
20918
|
} & {
|
|
@@ -21681,6 +21693,8 @@ export declare const OrderPOSDto: z.ZodEffects<z.ZodObject<{
|
|
|
21681
21693
|
userName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21682
21694
|
restaurant: z.ZodString;
|
|
21683
21695
|
effects: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodAny>, "many">>>;
|
|
21696
|
+
freeCreditAsDiscount: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
21697
|
+
creditDiscountTransaction: z.ZodNullable<z.ZodOptional<z.ZodAny>>;
|
|
21684
21698
|
option: z.ZodDiscriminatedUnion<"type", z.Primitive, z.ZodObject<z.extendShape<{
|
|
21685
21699
|
type: z.ZodEnum<["DINE_IN", "PICKUP", "DELIVERY"]>;
|
|
21686
21700
|
remark: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -23295,6 +23309,8 @@ export declare const OrderPOSDto: z.ZodEffects<z.ZodObject<{
|
|
|
23295
23309
|
}[] | null | undefined;
|
|
23296
23310
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
23297
23311
|
} | null | undefined;
|
|
23312
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
23313
|
+
creditDiscountTransaction?: any;
|
|
23298
23314
|
effects?: any[] | null | undefined;
|
|
23299
23315
|
option: {
|
|
23300
23316
|
slot?: string | null | undefined;
|
|
@@ -23608,6 +23624,8 @@ export declare const OrderPOSDto: z.ZodEffects<z.ZodObject<{
|
|
|
23608
23624
|
}[] | null | undefined;
|
|
23609
23625
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
23610
23626
|
} | null | undefined;
|
|
23627
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
23628
|
+
creditDiscountTransaction?: any;
|
|
23611
23629
|
effects?: any[] | null | undefined;
|
|
23612
23630
|
option: {
|
|
23613
23631
|
slot?: string | null | undefined;
|
|
@@ -23917,6 +23935,8 @@ export declare const OrderPOSDto: z.ZodEffects<z.ZodObject<{
|
|
|
23917
23935
|
}[] | null | undefined;
|
|
23918
23936
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
23919
23937
|
} | null | undefined;
|
|
23938
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
23939
|
+
creditDiscountTransaction?: any;
|
|
23920
23940
|
effects?: any[] | null | undefined;
|
|
23921
23941
|
option: {
|
|
23922
23942
|
slot?: string | null | undefined;
|
|
@@ -24230,6 +24250,8 @@ export declare const OrderPOSDto: z.ZodEffects<z.ZodObject<{
|
|
|
24230
24250
|
}[] | null | undefined;
|
|
24231
24251
|
type: "cash" | "ePayment" | "ePaymentNonPayout" | "credit" | "ePaymentSandbox";
|
|
24232
24252
|
} | null | undefined;
|
|
24253
|
+
freeCreditAsDiscount?: boolean | null | undefined;
|
|
24254
|
+
creditDiscountTransaction?: any;
|
|
24233
24255
|
effects?: any[] | null | undefined;
|
|
24234
24256
|
option: {
|
|
24235
24257
|
slot?: string | null | undefined;
|
|
@@ -10,6 +10,7 @@ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendSh
|
|
|
10
10
|
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
11
11
|
menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
12
12
|
printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
13
|
+
syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
13
14
|
}, {
|
|
14
15
|
enable: z.ZodBoolean;
|
|
15
16
|
merchantID: z.ZodString;
|
|
@@ -22,6 +23,7 @@ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendSh
|
|
|
22
23
|
updatedAt?: string | null | undefined;
|
|
23
24
|
lastSynchronize?: string | null | undefined;
|
|
24
25
|
menuSyncError?: string | null | undefined;
|
|
26
|
+
syncIGI?: boolean | null | undefined;
|
|
25
27
|
enable: boolean;
|
|
26
28
|
autoCloseBill: boolean;
|
|
27
29
|
merchantID: string;
|
|
@@ -33,6 +35,7 @@ export declare const FdtoDeliverooCreateOrUpdateSettings: z.ZodObject<z.extendSh
|
|
|
33
35
|
updatedAt?: string | null | undefined;
|
|
34
36
|
lastSynchronize?: string | null | undefined;
|
|
35
37
|
menuSyncError?: string | null | undefined;
|
|
38
|
+
syncIGI?: boolean | null | undefined;
|
|
36
39
|
enable: boolean;
|
|
37
40
|
autoCloseBill: boolean;
|
|
38
41
|
merchantID: string;
|
|
@@ -11,6 +11,7 @@ export declare const FdoDeliverooSettings: z.ZodObject<z.extendShape<{
|
|
|
11
11
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
12
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13
13
|
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
14
|
+
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
14
15
|
}>, "strip", z.ZodTypeAny, {
|
|
15
16
|
status?: string | null | undefined;
|
|
16
17
|
_id?: string | undefined;
|
|
@@ -19,6 +20,7 @@ export declare const FdoDeliverooSettings: z.ZodObject<z.extendShape<{
|
|
|
19
20
|
updatedAt?: string | null | undefined;
|
|
20
21
|
lastSynchronize?: string | null | undefined;
|
|
21
22
|
menuSyncError?: string | null | undefined;
|
|
23
|
+
syncIGI?: boolean | null | undefined;
|
|
22
24
|
enable: boolean;
|
|
23
25
|
autoCloseBill: boolean;
|
|
24
26
|
merchantID: string;
|
|
@@ -30,6 +32,7 @@ export declare const FdoDeliverooSettings: z.ZodObject<z.extendShape<{
|
|
|
30
32
|
updatedAt?: string | null | undefined;
|
|
31
33
|
lastSynchronize?: string | null | undefined;
|
|
32
34
|
menuSyncError?: string | null | undefined;
|
|
35
|
+
syncIGI?: boolean | null | undefined;
|
|
33
36
|
enable: boolean;
|
|
34
37
|
autoCloseBill: boolean;
|
|
35
38
|
merchantID: string;
|
|
@@ -223,22 +223,22 @@ export declare const FdoExternalOrderPickup: z.ZodObject<{
|
|
|
223
223
|
contactNumber: z.ZodString;
|
|
224
224
|
customerName: z.ZodString;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
|
+
contactNumber: string;
|
|
227
|
+
pickupAt: string;
|
|
226
228
|
pickupPoint: {
|
|
227
229
|
name: string;
|
|
228
230
|
address: string;
|
|
229
231
|
coordinates: number[];
|
|
230
232
|
};
|
|
231
|
-
contactNumber: string;
|
|
232
|
-
pickupAt: string;
|
|
233
233
|
customerName: string;
|
|
234
234
|
}, {
|
|
235
|
+
contactNumber: string;
|
|
236
|
+
pickupAt: string;
|
|
235
237
|
pickupPoint: {
|
|
236
238
|
name: string;
|
|
237
239
|
address: string;
|
|
238
240
|
coordinates: number[];
|
|
239
241
|
};
|
|
240
|
-
contactNumber: string;
|
|
241
|
-
pickupAt: string;
|
|
242
242
|
customerName: string;
|
|
243
243
|
}>;
|
|
244
244
|
export declare const FdoExternalOrderPrice: z.ZodObject<{
|
|
@@ -744,22 +744,22 @@ export declare const FdoExternalOrder: z.ZodObject<{
|
|
|
744
744
|
contactNumber: z.ZodString;
|
|
745
745
|
customerName: z.ZodString;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
|
+
contactNumber: string;
|
|
748
|
+
pickupAt: string;
|
|
747
749
|
pickupPoint: {
|
|
748
750
|
name: string;
|
|
749
751
|
address: string;
|
|
750
752
|
coordinates: number[];
|
|
751
753
|
};
|
|
752
|
-
contactNumber: string;
|
|
753
|
-
pickupAt: string;
|
|
754
754
|
customerName: string;
|
|
755
755
|
}, {
|
|
756
|
+
contactNumber: string;
|
|
757
|
+
pickupAt: string;
|
|
756
758
|
pickupPoint: {
|
|
757
759
|
name: string;
|
|
758
760
|
address: string;
|
|
759
761
|
coordinates: number[];
|
|
760
762
|
};
|
|
761
|
-
contactNumber: string;
|
|
762
|
-
pickupAt: string;
|
|
763
763
|
customerName: string;
|
|
764
764
|
}>>>;
|
|
765
765
|
dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -1150,13 +1150,13 @@ export declare const FdoExternalOrder: z.ZodObject<{
|
|
|
1150
1150
|
billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
1151
1151
|
}, "strip", z.ZodTypeAny, {
|
|
1152
1152
|
pickup?: {
|
|
1153
|
+
contactNumber: string;
|
|
1154
|
+
pickupAt: string;
|
|
1153
1155
|
pickupPoint: {
|
|
1154
1156
|
name: string;
|
|
1155
1157
|
address: string;
|
|
1156
1158
|
coordinates: number[];
|
|
1157
1159
|
};
|
|
1158
|
-
contactNumber: string;
|
|
1159
|
-
pickupAt: string;
|
|
1160
1160
|
customerName: string;
|
|
1161
1161
|
} | null | undefined;
|
|
1162
1162
|
remark?: string | null | undefined;
|
|
@@ -1287,13 +1287,13 @@ export declare const FdoExternalOrder: z.ZodObject<{
|
|
|
1287
1287
|
};
|
|
1288
1288
|
}, {
|
|
1289
1289
|
pickup?: {
|
|
1290
|
+
contactNumber: string;
|
|
1291
|
+
pickupAt: string;
|
|
1290
1292
|
pickupPoint: {
|
|
1291
1293
|
name: string;
|
|
1292
1294
|
address: string;
|
|
1293
1295
|
coordinates: number[];
|
|
1294
1296
|
};
|
|
1295
|
-
contactNumber: string;
|
|
1296
|
-
pickupAt: string;
|
|
1297
1297
|
customerName: string;
|
|
1298
1298
|
} | null | undefined;
|
|
1299
1299
|
remark?: string | null | undefined;
|
|
@@ -124,22 +124,22 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
|
|
|
124
124
|
contactNumber: z.ZodString;
|
|
125
125
|
customerName: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
+
contactNumber: string;
|
|
128
|
+
pickupAt: string;
|
|
127
129
|
pickupPoint: {
|
|
128
130
|
name: string;
|
|
129
131
|
address: string;
|
|
130
132
|
coordinates: number[];
|
|
131
133
|
};
|
|
132
|
-
contactNumber: string;
|
|
133
|
-
pickupAt: string;
|
|
134
134
|
customerName: string;
|
|
135
135
|
}, {
|
|
136
|
+
contactNumber: string;
|
|
137
|
+
pickupAt: string;
|
|
136
138
|
pickupPoint: {
|
|
137
139
|
name: string;
|
|
138
140
|
address: string;
|
|
139
141
|
coordinates: number[];
|
|
140
142
|
};
|
|
141
|
-
contactNumber: string;
|
|
142
|
-
pickupAt: string;
|
|
143
143
|
customerName: string;
|
|
144
144
|
}>>>;
|
|
145
145
|
dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -530,13 +530,13 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
|
|
|
530
530
|
billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
531
531
|
}, "_id" | "orderStatus" | "billId" | "eInvoiceUrl">, "strip", z.ZodTypeAny, {
|
|
532
532
|
pickup?: {
|
|
533
|
+
contactNumber: string;
|
|
534
|
+
pickupAt: string;
|
|
533
535
|
pickupPoint: {
|
|
534
536
|
name: string;
|
|
535
537
|
address: string;
|
|
536
538
|
coordinates: number[];
|
|
537
539
|
};
|
|
538
|
-
contactNumber: string;
|
|
539
|
-
pickupAt: string;
|
|
540
540
|
customerName: string;
|
|
541
541
|
} | null | undefined;
|
|
542
542
|
remark?: string | null | undefined;
|
|
@@ -660,13 +660,13 @@ export declare const FdtoExternalOrderCreate: z.ZodObject<Omit<{
|
|
|
660
660
|
};
|
|
661
661
|
}, {
|
|
662
662
|
pickup?: {
|
|
663
|
+
contactNumber: string;
|
|
664
|
+
pickupAt: string;
|
|
663
665
|
pickupPoint: {
|
|
664
666
|
name: string;
|
|
665
667
|
address: string;
|
|
666
668
|
coordinates: number[];
|
|
667
669
|
};
|
|
668
|
-
contactNumber: string;
|
|
669
|
-
pickupAt: string;
|
|
670
670
|
customerName: string;
|
|
671
671
|
} | null | undefined;
|
|
672
672
|
remark?: string | null | undefined;
|
|
@@ -915,22 +915,22 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
|
|
|
915
915
|
contactNumber: z.ZodString;
|
|
916
916
|
customerName: z.ZodString;
|
|
917
917
|
}, "strip", z.ZodTypeAny, {
|
|
918
|
+
contactNumber: string;
|
|
919
|
+
pickupAt: string;
|
|
918
920
|
pickupPoint: {
|
|
919
921
|
name: string;
|
|
920
922
|
address: string;
|
|
921
923
|
coordinates: number[];
|
|
922
924
|
};
|
|
923
|
-
contactNumber: string;
|
|
924
|
-
pickupAt: string;
|
|
925
925
|
customerName: string;
|
|
926
926
|
}, {
|
|
927
|
+
contactNumber: string;
|
|
928
|
+
pickupAt: string;
|
|
927
929
|
pickupPoint: {
|
|
928
930
|
name: string;
|
|
929
931
|
address: string;
|
|
930
932
|
coordinates: number[];
|
|
931
933
|
};
|
|
932
|
-
contactNumber: string;
|
|
933
|
-
pickupAt: string;
|
|
934
934
|
customerName: string;
|
|
935
935
|
}>>>>;
|
|
936
936
|
orderId: z.ZodOptional<z.ZodString>;
|
|
@@ -1340,13 +1340,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
|
|
|
1340
1340
|
};
|
|
1341
1341
|
} | undefined;
|
|
1342
1342
|
pickup?: {
|
|
1343
|
+
contactNumber: string;
|
|
1344
|
+
pickupAt: string;
|
|
1343
1345
|
pickupPoint: {
|
|
1344
1346
|
name: string;
|
|
1345
1347
|
address: string;
|
|
1346
1348
|
coordinates: number[];
|
|
1347
1349
|
};
|
|
1348
|
-
contactNumber: string;
|
|
1349
|
-
pickupAt: string;
|
|
1350
1350
|
customerName: string;
|
|
1351
1351
|
} | null | undefined;
|
|
1352
1352
|
orderId?: string | undefined;
|
|
@@ -1470,13 +1470,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
|
|
|
1470
1470
|
};
|
|
1471
1471
|
} | undefined;
|
|
1472
1472
|
pickup?: {
|
|
1473
|
+
contactNumber: string;
|
|
1474
|
+
pickupAt: string;
|
|
1473
1475
|
pickupPoint: {
|
|
1474
1476
|
name: string;
|
|
1475
1477
|
address: string;
|
|
1476
1478
|
coordinates: number[];
|
|
1477
1479
|
};
|
|
1478
|
-
contactNumber: string;
|
|
1479
|
-
pickupAt: string;
|
|
1480
1480
|
customerName: string;
|
|
1481
1481
|
} | null | undefined;
|
|
1482
1482
|
orderId?: string | undefined;
|
|
@@ -1603,13 +1603,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
|
|
|
1603
1603
|
};
|
|
1604
1604
|
} | undefined;
|
|
1605
1605
|
pickup?: {
|
|
1606
|
+
contactNumber: string;
|
|
1607
|
+
pickupAt: string;
|
|
1606
1608
|
pickupPoint: {
|
|
1607
1609
|
name: string;
|
|
1608
1610
|
address: string;
|
|
1609
1611
|
coordinates: number[];
|
|
1610
1612
|
};
|
|
1611
|
-
contactNumber: string;
|
|
1612
|
-
pickupAt: string;
|
|
1613
1613
|
customerName: string;
|
|
1614
1614
|
} | null | undefined;
|
|
1615
1615
|
orderId?: string | undefined;
|
|
@@ -1736,13 +1736,13 @@ export declare const FdtoExternalOrderUpdate: z.ZodObject<{
|
|
|
1736
1736
|
};
|
|
1737
1737
|
} | undefined;
|
|
1738
1738
|
pickup?: {
|
|
1739
|
+
contactNumber: string;
|
|
1740
|
+
pickupAt: string;
|
|
1739
1741
|
pickupPoint: {
|
|
1740
1742
|
name: string;
|
|
1741
1743
|
address: string;
|
|
1742
1744
|
coordinates: number[];
|
|
1743
1745
|
};
|
|
1744
|
-
contactNumber: string;
|
|
1745
|
-
pickupAt: string;
|
|
1746
1746
|
customerName: string;
|
|
1747
1747
|
} | null | undefined;
|
|
1748
1748
|
orderId?: string | undefined;
|
|
@@ -2029,22 +2029,22 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
|
2029
2029
|
contactNumber: z.ZodString;
|
|
2030
2030
|
customerName: z.ZodString;
|
|
2031
2031
|
}, "strip", z.ZodTypeAny, {
|
|
2032
|
+
contactNumber: string;
|
|
2033
|
+
pickupAt: string;
|
|
2032
2034
|
pickupPoint: {
|
|
2033
2035
|
name: string;
|
|
2034
2036
|
address: string;
|
|
2035
2037
|
coordinates: number[];
|
|
2036
2038
|
};
|
|
2037
|
-
contactNumber: string;
|
|
2038
|
-
pickupAt: string;
|
|
2039
2039
|
customerName: string;
|
|
2040
2040
|
}, {
|
|
2041
|
+
contactNumber: string;
|
|
2042
|
+
pickupAt: string;
|
|
2041
2043
|
pickupPoint: {
|
|
2042
2044
|
name: string;
|
|
2043
2045
|
address: string;
|
|
2044
2046
|
coordinates: number[];
|
|
2045
2047
|
};
|
|
2046
|
-
contactNumber: string;
|
|
2047
|
-
pickupAt: string;
|
|
2048
2048
|
customerName: string;
|
|
2049
2049
|
}>>>;
|
|
2050
2050
|
dineIn: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -2435,13 +2435,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
|
2435
2435
|
billId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2436
2436
|
}, "strip", z.ZodTypeAny, {
|
|
2437
2437
|
pickup?: {
|
|
2438
|
+
contactNumber: string;
|
|
2439
|
+
pickupAt: string;
|
|
2438
2440
|
pickupPoint: {
|
|
2439
2441
|
name: string;
|
|
2440
2442
|
address: string;
|
|
2441
2443
|
coordinates: number[];
|
|
2442
2444
|
};
|
|
2443
|
-
contactNumber: string;
|
|
2444
|
-
pickupAt: string;
|
|
2445
2445
|
customerName: string;
|
|
2446
2446
|
} | null | undefined;
|
|
2447
2447
|
remark?: string | null | undefined;
|
|
@@ -2572,13 +2572,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
|
2572
2572
|
};
|
|
2573
2573
|
}, {
|
|
2574
2574
|
pickup?: {
|
|
2575
|
+
contactNumber: string;
|
|
2576
|
+
pickupAt: string;
|
|
2575
2577
|
pickupPoint: {
|
|
2576
2578
|
name: string;
|
|
2577
2579
|
address: string;
|
|
2578
2580
|
coordinates: number[];
|
|
2579
2581
|
};
|
|
2580
|
-
contactNumber: string;
|
|
2581
|
-
pickupAt: string;
|
|
2582
2582
|
customerName: string;
|
|
2583
2583
|
} | null | undefined;
|
|
2584
2584
|
remark?: string | null | undefined;
|
|
@@ -2712,13 +2712,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
|
2712
2712
|
}, "strip", z.ZodTypeAny, {
|
|
2713
2713
|
orders: {
|
|
2714
2714
|
pickup?: {
|
|
2715
|
+
contactNumber: string;
|
|
2716
|
+
pickupAt: string;
|
|
2715
2717
|
pickupPoint: {
|
|
2716
2718
|
name: string;
|
|
2717
2719
|
address: string;
|
|
2718
2720
|
coordinates: number[];
|
|
2719
2721
|
};
|
|
2720
|
-
contactNumber: string;
|
|
2721
|
-
pickupAt: string;
|
|
2722
2722
|
customerName: string;
|
|
2723
2723
|
} | null | undefined;
|
|
2724
2724
|
remark?: string | null | undefined;
|
|
@@ -2852,13 +2852,13 @@ export declare const FdtoExternalOrderGetRes: z.ZodObject<{
|
|
|
2852
2852
|
}, {
|
|
2853
2853
|
orders: {
|
|
2854
2854
|
pickup?: {
|
|
2855
|
+
contactNumber: string;
|
|
2856
|
+
pickupAt: string;
|
|
2855
2857
|
pickupPoint: {
|
|
2856
2858
|
name: string;
|
|
2857
2859
|
address: string;
|
|
2858
2860
|
coordinates: number[];
|
|
2859
2861
|
};
|
|
2860
|
-
contactNumber: string;
|
|
2861
|
-
pickupAt: string;
|
|
2862
2862
|
customerName: string;
|
|
2863
2863
|
} | null | undefined;
|
|
2864
2864
|
remark?: string | null | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { z } from
|
|
1
|
+
import { z } from 'zod';
|
|
2
2
|
export declare const FdoExternalDeliverySettings: z.ZodObject<{
|
|
3
3
|
catalogId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
4
4
|
deliveryFeeTax: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -37,13 +37,27 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
37
37
|
autoSend: z.ZodBoolean;
|
|
38
38
|
autoCloseBill: z.ZodBoolean;
|
|
39
39
|
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
40
|
+
/**
|
|
41
|
+
* To allow order to bypass the validation and directly move to accepted status.
|
|
42
|
+
* Zus Gift card store - want to bypass Pos flow, directly create in remote
|
|
43
|
+
*/
|
|
44
|
+
bypass: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
45
|
+
/**
|
|
46
|
+
* By default, DPI will ignore Feedme product tax setting and follow its own order tax
|
|
47
|
+
* For zus also same, but for the giftcard store, they would like to follow product tax setting
|
|
48
|
+
*/
|
|
49
|
+
skipAllocateTax: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
40
50
|
}, "strip", z.ZodTypeAny, {
|
|
41
51
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
52
|
+
bypass?: boolean | null | undefined;
|
|
53
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
42
54
|
autoAccept: boolean;
|
|
43
55
|
autoSend: boolean;
|
|
44
56
|
autoCloseBill: boolean;
|
|
45
57
|
}, {
|
|
46
58
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
59
|
+
bypass?: boolean | null | undefined;
|
|
60
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
47
61
|
autoAccept: boolean;
|
|
48
62
|
autoSend: boolean;
|
|
49
63
|
autoCloseBill: boolean;
|
|
@@ -104,13 +118,15 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
104
118
|
lastSynchronize?: string | null | undefined;
|
|
105
119
|
_id: string;
|
|
106
120
|
enable: boolean;
|
|
107
|
-
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
108
121
|
config: {
|
|
109
122
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
123
|
+
bypass?: boolean | null | undefined;
|
|
124
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
110
125
|
autoAccept: boolean;
|
|
111
126
|
autoSend: boolean;
|
|
112
127
|
autoCloseBill: boolean;
|
|
113
128
|
};
|
|
129
|
+
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
114
130
|
}, {
|
|
115
131
|
pickup?: {
|
|
116
132
|
catalogId?: string | null | undefined;
|
|
@@ -127,12 +143,14 @@ export declare const FdoExternalSetting: z.ZodObject<{
|
|
|
127
143
|
lastSynchronize?: string | null | undefined;
|
|
128
144
|
_id: string;
|
|
129
145
|
enable: boolean;
|
|
130
|
-
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
131
146
|
config: {
|
|
132
147
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
148
|
+
bypass?: boolean | null | undefined;
|
|
149
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
133
150
|
autoAccept: boolean;
|
|
134
151
|
autoSend: boolean;
|
|
135
152
|
autoCloseBill: boolean;
|
|
136
153
|
};
|
|
154
|
+
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
137
155
|
}>;
|
|
138
156
|
export type FdoExternalSetting = z.infer<typeof FdoExternalSetting>;
|
|
@@ -7,13 +7,19 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
7
7
|
autoSend: z.ZodBoolean;
|
|
8
8
|
autoCloseBill: z.ZodBoolean;
|
|
9
9
|
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
10
|
+
bypass: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
11
|
+
skipAllocateTax: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
10
12
|
}, "strip", z.ZodTypeAny, {
|
|
11
13
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
14
|
+
bypass?: boolean | null | undefined;
|
|
15
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
12
16
|
autoAccept: boolean;
|
|
13
17
|
autoSend: boolean;
|
|
14
18
|
autoCloseBill: boolean;
|
|
15
19
|
}, {
|
|
16
20
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
21
|
+
bypass?: boolean | null | undefined;
|
|
22
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
17
23
|
autoAccept: boolean;
|
|
18
24
|
autoSend: boolean;
|
|
19
25
|
autoCloseBill: boolean;
|
|
@@ -73,13 +79,15 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
73
79
|
updatedAt?: string | null | undefined;
|
|
74
80
|
lastSynchronize?: string | null | undefined;
|
|
75
81
|
enable: boolean;
|
|
76
|
-
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
77
82
|
config: {
|
|
78
83
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
84
|
+
bypass?: boolean | null | undefined;
|
|
85
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
79
86
|
autoAccept: boolean;
|
|
80
87
|
autoSend: boolean;
|
|
81
88
|
autoCloseBill: boolean;
|
|
82
89
|
};
|
|
90
|
+
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
83
91
|
}, {
|
|
84
92
|
pickup?: {
|
|
85
93
|
catalogId?: string | null | undefined;
|
|
@@ -95,12 +103,14 @@ export declare const FdtoExternalSettingCreateOrUpdate: z.ZodObject<Omit<{
|
|
|
95
103
|
updatedAt?: string | null | undefined;
|
|
96
104
|
lastSynchronize?: string | null | undefined;
|
|
97
105
|
enable: boolean;
|
|
98
|
-
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
99
106
|
config: {
|
|
100
107
|
printReceiptAfterClose?: boolean | null | undefined;
|
|
108
|
+
bypass?: boolean | null | undefined;
|
|
109
|
+
skipAllocateTax?: boolean | null | undefined;
|
|
101
110
|
autoAccept: boolean;
|
|
102
111
|
autoSend: boolean;
|
|
103
112
|
autoCloseBill: boolean;
|
|
104
113
|
};
|
|
114
|
+
platform: "IN_HOUSE" | "FEEDME" | "DELIVEROO" | "FOOD_PANDA" | "GRAB_FOOD" | "SHOPEE_FOOD" | "ZUS";
|
|
105
115
|
}>;
|
|
106
116
|
export type FdtoExternalSettingCreateOrUpdate = z.infer<typeof FdtoExternalSettingCreateOrUpdate>;
|
|
@@ -147,6 +147,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
147
147
|
updatedAt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
148
148
|
menuSyncError: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
149
149
|
sstInclusive: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
150
|
+
syncIGI: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
150
151
|
}>, "strip", z.ZodTypeAny, {
|
|
151
152
|
status?: string | null | undefined;
|
|
152
153
|
_id?: string | undefined;
|
|
@@ -172,6 +173,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
172
173
|
ignoreDiscount?: boolean | null | undefined;
|
|
173
174
|
menuSyncError?: string | null | undefined;
|
|
174
175
|
sstInclusive?: boolean | null | undefined;
|
|
176
|
+
syncIGI?: boolean | null | undefined;
|
|
175
177
|
enable: boolean;
|
|
176
178
|
autoCloseBill: boolean;
|
|
177
179
|
remoteId: string;
|
|
@@ -200,6 +202,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
200
202
|
ignoreDiscount?: boolean | null | undefined;
|
|
201
203
|
menuSyncError?: string | null | undefined;
|
|
202
204
|
sstInclusive?: boolean | null | undefined;
|
|
205
|
+
syncIGI?: boolean | null | undefined;
|
|
203
206
|
enable: boolean;
|
|
204
207
|
autoCloseBill: boolean;
|
|
205
208
|
remoteId: string;
|
|
@@ -10,6 +10,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
10
10
|
remoteId: z.ZodOptional<z.ZodString>;
|
|
11
11
|
showProductAddon: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
12
12
|
menuSyncError: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
13
|
+
syncIGI: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
13
14
|
partnerMerchantID: z.ZodOptional<z.ZodString>;
|
|
14
15
|
reportConfig: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
16
|
commissionRate: z.ZodNumber;
|
|
@@ -92,6 +93,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
92
93
|
ignoreDiscount?: boolean | null | undefined;
|
|
93
94
|
menuSyncError?: string | null | undefined;
|
|
94
95
|
sstInclusive?: boolean | null | undefined;
|
|
96
|
+
syncIGI?: boolean | null | undefined;
|
|
95
97
|
partnerMerchantID?: string | undefined;
|
|
96
98
|
}, {
|
|
97
99
|
status?: string | null | undefined;
|
|
@@ -119,6 +121,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
119
121
|
ignoreDiscount?: boolean | null | undefined;
|
|
120
122
|
menuSyncError?: string | null | undefined;
|
|
121
123
|
sstInclusive?: boolean | null | undefined;
|
|
124
|
+
syncIGI?: boolean | null | undefined;
|
|
122
125
|
partnerMerchantID?: string | undefined;
|
|
123
126
|
}>;
|
|
124
127
|
export type FPdtoCreateOrUpdateSetting = z.infer<typeof FPdtoCreateOrUpdateSetting>;
|