@feedmepos/mf-order-setting 0.0.27 → 0.0.29
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-AKvyDF3w.js → KioskDevicesView-Dvr4RUmt.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-CJ-xAR8i.js} +2 -2
- package/dist/{KioskSettingView-equ5EIvU.js → KioskSettingView-DaJz8ZZi.js} +1 -1
- package/dist/{KioskView-CsE7BGtA.js → KioskView-v8Yl4x4R.js} +4 -4
- package/dist/OrderSettingsView-CN1PFwX_.js +74545 -0
- package/dist/{app-D-zQN9_E.js → app-d1Lptg6A.js} +123 -30
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CWQSmujV.js → dayjs.min-BLlPHZkl.js} +278 -267
- package/dist/frontend/mf-order/src/api/business/index.d.ts +5 -0
- package/dist/frontend/mf-order/src/api/effects/index.d.ts +3 -0
- package/dist/frontend/mf-order/src/api/index.d.ts +2 -0
- package/dist/frontend/mf-order/src/api/remoteOrder/index.d.ts +1 -0
- package/dist/frontend/mf-order/src/app.d.ts +93 -0
- package/dist/frontend/mf-order/src/main.d.ts +93 -0
- package/dist/frontend/mf-order/src/stores/business/index.d.ts +62 -0
- package/dist/frontend/mf-order/src/stores/menu/menu.d.ts +139 -125
- package/dist/frontend/mf-order/src/stores/restaurant/index.d.ts +81 -78
- package/dist/frontend/mf-order/src/views/all-orders/ReflowOrder.vue.d.ts +54 -52
- package/dist/frontend/mf-order/src/views/order-settings/delivery/integrated-delivery/ExternalSetting.vue.d.ts +4 -0
- package/dist/frontend/mf-order/src/views/order-settings/discount-rule/DiscountRuleSetting.vue.d.ts +2 -0
- package/dist/frontend/mf-order/tsconfig.app.tsbuildinfo +1 -1
- package/dist/{index-BwrMcIf2.js → index-Cg9kSeyn.js} +2 -2
- package/dist/package/entity/booking/booking.do.d.ts +596 -551
- package/dist/package/entity/delivery/delivery.dto.d.ts +118 -109
- package/dist/package/entity/incoming-order/incoming-order-to-bill.dto.d.ts +342 -652
- package/dist/package/entity/incoming-order/incoming-order.do.d.ts +13778 -478
- package/dist/package/entity/incoming-order/incoming-order.dto.d.ts +731 -1227
- 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/kiosk/kiosk.do.d.ts +32 -0
- package/dist/package/entity/kiosk/kiosk.dto.d.ts +14 -14
- package/dist/package/entity/kiosk/marketing/marketing.dto.d.ts +1469 -621
- package/dist/package/entity/member/member.dto.d.ts +14 -7
- package/dist/package/entity/order/effects/effect.dto.d.ts +154 -6
- package/dist/package/entity/order/order-item/order-item.dto.d.ts +87 -34
- package/dist/package/entity/order/order.do.d.ts +177 -572
- package/dist/package/entity/order/order.dto.d.ts +902 -1412
- package/dist/package/entity/order/pickup/pickup.dto.d.ts +37 -0
- package/dist/package/entity/order-platform/external/menu/external-menu.dto.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.do.d.ts +8 -0
- package/dist/package/entity/order-platform/external/order/external-order.dto.d.ts +22 -3
- package/dist/package/entity/order-platform/external/order/external-order.enum.d.ts +1 -1
- package/dist/package/entity/order-platform/external/setting/external-setting.do.d.ts +5 -0
- package/dist/package/entity/order-platform/external/setting/external-setting.dto.d.ts +5 -0
- package/dist/package/entity/order-platform/external/zus/zus-menu.dto.d.ts +192 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.do.d.ts +104 -0
- package/dist/package/entity/order-platform/foodpanda/foodpanda-order.dto.d.ts +152 -109
- 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/foodpanda/foodpanda.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/grabfood/grabfood-order.do.d.ts +139 -109
- package/dist/package/entity/order-platform/grabfood/grabfood-settings.do.d.ts +3 -0
- package/dist/package/entity/order-platform/grabfood/grabfood.dto.d.ts +152 -2
- package/dist/package/entity/order-platform/grabfood/grabfood.enum.d.ts +2 -0
- package/dist/package/entity/order-platform/order-platform.dto.d.ts +6 -3
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.do.d.ts +164 -109
- package/dist/package/entity/order-platform/shopeefood/shopeefood-order.dto.d.ts +22 -0
- 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/queue/queue.dto.d.ts +11446 -93
- package/dist/package/entity/user/user.do.d.ts +129 -18
- package/dist/queue.do-zk6sqriQ.js +125612 -0
- package/package.json +4 -3
- package/src/api/business/index.ts +16 -0
- package/src/api/effects/index.ts +7 -0
- package/src/api/index.ts +9 -1
- package/src/api/remoteOrder/index.ts +3 -0
- package/src/locales/en-US.json +31 -1
- package/src/locales/th-TH.json +31 -1
- package/src/locales/zh-CN.json +34 -1
- package/src/stores/business/index.ts +45 -0
- package/src/stores/restaurant/index.ts +3 -1
- package/src/views/order-settings/OrderSettingsView.vue +17 -5
- package/src/views/order-settings/delivery/integrated-delivery/GrabfoodSetting.vue +38 -1
- package/src/views/order-settings/discount-rule/DiscountRuleSetting.vue +452 -0
- package/dist/OrderSettingsView-BpLXyk_0.js +0 -49013
- package/dist/queue.do-F110q0_J.js +0 -100389
|
@@ -281,11 +281,29 @@ export declare const FPDiscount: z.ZodObject<{
|
|
|
281
281
|
name: z.ZodString;
|
|
282
282
|
amount: z.ZodString;
|
|
283
283
|
type: z.ZodString;
|
|
284
|
+
sponsorships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
285
|
+
sponsor: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
286
|
+
amount: z.ZodString;
|
|
287
|
+
}, "strip", z.ZodTypeAny, {
|
|
288
|
+
amount: string;
|
|
289
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
290
|
+
}, {
|
|
291
|
+
amount: string;
|
|
292
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
293
|
+
}>, "many">>>;
|
|
284
294
|
}, "strip", z.ZodTypeAny, {
|
|
295
|
+
sponsorships?: {
|
|
296
|
+
amount: string;
|
|
297
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
298
|
+
}[] | null | undefined;
|
|
285
299
|
name: string;
|
|
286
300
|
type: string;
|
|
287
301
|
amount: string;
|
|
288
302
|
}, {
|
|
303
|
+
sponsorships?: {
|
|
304
|
+
amount: string;
|
|
305
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
306
|
+
}[] | null | undefined;
|
|
289
307
|
name: string;
|
|
290
308
|
type: string;
|
|
291
309
|
amount: string;
|
|
@@ -742,11 +760,29 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
742
760
|
name: z.ZodString;
|
|
743
761
|
amount: z.ZodString;
|
|
744
762
|
type: z.ZodString;
|
|
763
|
+
sponsorships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
764
|
+
sponsor: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
765
|
+
amount: z.ZodString;
|
|
766
|
+
}, "strip", z.ZodTypeAny, {
|
|
767
|
+
amount: string;
|
|
768
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
769
|
+
}, {
|
|
770
|
+
amount: string;
|
|
771
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
772
|
+
}>, "many">>>;
|
|
745
773
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
+
sponsorships?: {
|
|
775
|
+
amount: string;
|
|
776
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
777
|
+
}[] | null | undefined;
|
|
746
778
|
name: string;
|
|
747
779
|
type: string;
|
|
748
780
|
amount: string;
|
|
749
781
|
}, {
|
|
782
|
+
sponsorships?: {
|
|
783
|
+
amount: string;
|
|
784
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
785
|
+
}[] | null | undefined;
|
|
750
786
|
name: string;
|
|
751
787
|
type: string;
|
|
752
788
|
amount: string;
|
|
@@ -1112,6 +1148,10 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1112
1148
|
};
|
|
1113
1149
|
vouchers: string[];
|
|
1114
1150
|
discounts: {
|
|
1151
|
+
sponsorships?: {
|
|
1152
|
+
amount: string;
|
|
1153
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1154
|
+
}[] | null | undefined;
|
|
1115
1155
|
name: string;
|
|
1116
1156
|
type: string;
|
|
1117
1157
|
amount: string;
|
|
@@ -1258,6 +1298,10 @@ export declare const FPOrder: z.ZodObject<{
|
|
|
1258
1298
|
};
|
|
1259
1299
|
vouchers: string[];
|
|
1260
1300
|
discounts: {
|
|
1301
|
+
sponsorships?: {
|
|
1302
|
+
amount: string;
|
|
1303
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1304
|
+
}[] | null | undefined;
|
|
1261
1305
|
name: string;
|
|
1262
1306
|
type: string;
|
|
1263
1307
|
amount: string;
|
|
@@ -1496,11 +1540,29 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1496
1540
|
name: z.ZodString;
|
|
1497
1541
|
amount: z.ZodString;
|
|
1498
1542
|
type: z.ZodString;
|
|
1543
|
+
sponsorships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1544
|
+
sponsor: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
1545
|
+
amount: z.ZodString;
|
|
1546
|
+
}, "strip", z.ZodTypeAny, {
|
|
1547
|
+
amount: string;
|
|
1548
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1549
|
+
}, {
|
|
1550
|
+
amount: string;
|
|
1551
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1552
|
+
}>, "many">>>;
|
|
1499
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
sponsorships?: {
|
|
1555
|
+
amount: string;
|
|
1556
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1557
|
+
}[] | null | undefined;
|
|
1500
1558
|
name: string;
|
|
1501
1559
|
type: string;
|
|
1502
1560
|
amount: string;
|
|
1503
1561
|
}, {
|
|
1562
|
+
sponsorships?: {
|
|
1563
|
+
amount: string;
|
|
1564
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1565
|
+
}[] | null | undefined;
|
|
1504
1566
|
name: string;
|
|
1505
1567
|
type: string;
|
|
1506
1568
|
amount: string;
|
|
@@ -1866,6 +1928,10 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
1866
1928
|
};
|
|
1867
1929
|
vouchers: string[];
|
|
1868
1930
|
discounts: {
|
|
1931
|
+
sponsorships?: {
|
|
1932
|
+
amount: string;
|
|
1933
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
1934
|
+
}[] | null | undefined;
|
|
1869
1935
|
name: string;
|
|
1870
1936
|
type: string;
|
|
1871
1937
|
amount: string;
|
|
@@ -2012,6 +2078,10 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2012
2078
|
};
|
|
2013
2079
|
vouchers: string[];
|
|
2014
2080
|
discounts: {
|
|
2081
|
+
sponsorships?: {
|
|
2082
|
+
amount: string;
|
|
2083
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
2084
|
+
}[] | null | undefined;
|
|
2015
2085
|
name: string;
|
|
2016
2086
|
type: string;
|
|
2017
2087
|
amount: string;
|
|
@@ -2165,6 +2235,10 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2165
2235
|
};
|
|
2166
2236
|
vouchers: string[];
|
|
2167
2237
|
discounts: {
|
|
2238
|
+
sponsorships?: {
|
|
2239
|
+
amount: string;
|
|
2240
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
2241
|
+
}[] | null | undefined;
|
|
2168
2242
|
name: string;
|
|
2169
2243
|
type: string;
|
|
2170
2244
|
amount: string;
|
|
@@ -2319,6 +2393,10 @@ export declare const FdoFoodpandaOrder: z.ZodObject<{
|
|
|
2319
2393
|
};
|
|
2320
2394
|
vouchers: string[];
|
|
2321
2395
|
discounts: {
|
|
2396
|
+
sponsorships?: {
|
|
2397
|
+
amount: string;
|
|
2398
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
2399
|
+
}[] | null | undefined;
|
|
2322
2400
|
name: string;
|
|
2323
2401
|
type: string;
|
|
2324
2402
|
amount: string;
|
|
@@ -3163,11 +3241,29 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3163
3241
|
name: z.ZodString;
|
|
3164
3242
|
amount: z.ZodString;
|
|
3165
3243
|
type: z.ZodString;
|
|
3244
|
+
sponsorships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3245
|
+
sponsor: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
3246
|
+
amount: z.ZodString;
|
|
3247
|
+
}, "strip", z.ZodTypeAny, {
|
|
3248
|
+
amount: string;
|
|
3249
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3250
|
+
}, {
|
|
3251
|
+
amount: string;
|
|
3252
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3253
|
+
}>, "many">>>;
|
|
3166
3254
|
}, "strip", z.ZodTypeAny, {
|
|
3255
|
+
sponsorships?: {
|
|
3256
|
+
amount: string;
|
|
3257
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3258
|
+
}[] | null | undefined;
|
|
3167
3259
|
name: string;
|
|
3168
3260
|
type: string;
|
|
3169
3261
|
amount: string;
|
|
3170
3262
|
}, {
|
|
3263
|
+
sponsorships?: {
|
|
3264
|
+
amount: string;
|
|
3265
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3266
|
+
}[] | null | undefined;
|
|
3171
3267
|
name: string;
|
|
3172
3268
|
type: string;
|
|
3173
3269
|
amount: string;
|
|
@@ -3538,6 +3634,10 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3538
3634
|
};
|
|
3539
3635
|
vouchers: string[];
|
|
3540
3636
|
discounts: {
|
|
3637
|
+
sponsorships?: {
|
|
3638
|
+
amount: string;
|
|
3639
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3640
|
+
}[] | null | undefined;
|
|
3541
3641
|
name: string;
|
|
3542
3642
|
type: string;
|
|
3543
3643
|
amount: string;
|
|
@@ -3686,6 +3786,10 @@ declare const FPOrderDetailRes: z.ZodObject<z.extendShape<{
|
|
|
3686
3786
|
};
|
|
3687
3787
|
vouchers: string[];
|
|
3688
3788
|
discounts: {
|
|
3789
|
+
sponsorships?: {
|
|
3790
|
+
amount: string;
|
|
3791
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
3792
|
+
}[] | null | undefined;
|
|
3689
3793
|
name: string;
|
|
3690
3794
|
type: string;
|
|
3691
3795
|
amount: string;
|
|
@@ -237,11 +237,29 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
237
237
|
name: z.ZodString;
|
|
238
238
|
amount: z.ZodString;
|
|
239
239
|
type: z.ZodString;
|
|
240
|
+
sponsorships: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
241
|
+
sponsor: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
242
|
+
amount: z.ZodString;
|
|
243
|
+
}, "strip", z.ZodTypeAny, {
|
|
244
|
+
amount: string;
|
|
245
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
246
|
+
}, {
|
|
247
|
+
amount: string;
|
|
248
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
249
|
+
}>, "many">>>;
|
|
240
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
+
sponsorships?: {
|
|
252
|
+
amount: string;
|
|
253
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
254
|
+
}[] | null | undefined;
|
|
241
255
|
name: string;
|
|
242
256
|
type: string;
|
|
243
257
|
amount: string;
|
|
244
258
|
}, {
|
|
259
|
+
sponsorships?: {
|
|
260
|
+
amount: string;
|
|
261
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
262
|
+
}[] | null | undefined;
|
|
245
263
|
name: string;
|
|
246
264
|
type: string;
|
|
247
265
|
amount: string;
|
|
@@ -607,6 +625,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
607
625
|
};
|
|
608
626
|
vouchers: string[];
|
|
609
627
|
discounts: {
|
|
628
|
+
sponsorships?: {
|
|
629
|
+
amount: string;
|
|
630
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
631
|
+
}[] | null | undefined;
|
|
610
632
|
name: string;
|
|
611
633
|
type: string;
|
|
612
634
|
amount: string;
|
|
@@ -753,6 +775,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
753
775
|
};
|
|
754
776
|
vouchers: string[];
|
|
755
777
|
discounts: {
|
|
778
|
+
sponsorships?: {
|
|
779
|
+
amount: string;
|
|
780
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
781
|
+
}[] | null | undefined;
|
|
756
782
|
name: string;
|
|
757
783
|
type: string;
|
|
758
784
|
amount: string;
|
|
@@ -802,15 +828,18 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
802
828
|
attributeSettings: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
803
829
|
key: z.ZodString;
|
|
804
830
|
type: z.ZodUnion<[z.ZodLiteral<"string">, z.ZodLiteral<"number">, z.ZodLiteral<"date">, z.ZodLiteral<"boolean">]>;
|
|
805
|
-
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
831
|
+
entity: z.ZodUnion<[z.ZodLiteral<"restaurant">, z.ZodLiteral<"item">, z.ZodLiteral<"group">, z.ZodLiteral<"inventorySku">, z.ZodLiteral<"inventoryRecipe">, z.ZodLiteral<"warehouse">]>;
|
|
832
|
+
options: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodAny, "many">>>;
|
|
806
833
|
}, "strip", z.ZodTypeAny, {
|
|
834
|
+
options?: any[] | null | undefined;
|
|
807
835
|
type: "string" | "number" | "boolean" | "date";
|
|
808
836
|
key: string;
|
|
809
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
837
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
810
838
|
}, {
|
|
839
|
+
options?: any[] | null | undefined;
|
|
811
840
|
type: "string" | "number" | "boolean" | "date";
|
|
812
841
|
key: string;
|
|
813
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
842
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
814
843
|
}>, "many">>>;
|
|
815
844
|
pf_agent: z.ZodNullable<z.ZodOptional<z.ZodLazy<z.ZodObject<{
|
|
816
845
|
_id: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -1066,9 +1095,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1066
1095
|
expiredAt?: string | null | undefined;
|
|
1067
1096
|
agentId?: string | null | undefined;
|
|
1068
1097
|
attributeSettings?: {
|
|
1098
|
+
options?: any[] | null | undefined;
|
|
1069
1099
|
type: "string" | "number" | "boolean" | "date";
|
|
1070
1100
|
key: string;
|
|
1071
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1101
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1072
1102
|
}[] | null | undefined;
|
|
1073
1103
|
pf_agent?: {
|
|
1074
1104
|
clickupId?: string | null | undefined;
|
|
@@ -1132,9 +1162,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
1132
1162
|
expiredAt?: string | null | undefined;
|
|
1133
1163
|
agentId?: string | null | undefined;
|
|
1134
1164
|
attributeSettings?: {
|
|
1165
|
+
options?: any[] | null | undefined;
|
|
1135
1166
|
type: "string" | "number" | "boolean" | "date";
|
|
1136
1167
|
key: string;
|
|
1137
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1168
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
1138
1169
|
}[] | null | undefined;
|
|
1139
1170
|
pf_agent?: {
|
|
1140
1171
|
clickupId?: string | null | undefined;
|
|
@@ -2864,6 +2895,31 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2864
2895
|
}>>>;
|
|
2865
2896
|
customAttributes: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2866
2897
|
}, "strip", z.ZodTypeAny, {
|
|
2898
|
+
pickup?: {
|
|
2899
|
+
catalogId?: string | null | undefined;
|
|
2900
|
+
autoAccept?: boolean | null | undefined;
|
|
2901
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2902
|
+
offlinePaymentTypes?: {
|
|
2903
|
+
name: string;
|
|
2904
|
+
instruction: string;
|
|
2905
|
+
}[] | null | undefined;
|
|
2906
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
2907
|
+
ignoreStock?: boolean | null | undefined;
|
|
2908
|
+
pickupTime?: {
|
|
2909
|
+
day: {
|
|
2910
|
+
max: number;
|
|
2911
|
+
min: number;
|
|
2912
|
+
};
|
|
2913
|
+
} | null | undefined;
|
|
2914
|
+
pickupPointConfig?: {
|
|
2915
|
+
restaurantEnable: boolean;
|
|
2916
|
+
points: {
|
|
2917
|
+
name: string;
|
|
2918
|
+
address: string;
|
|
2919
|
+
coordinates: number[];
|
|
2920
|
+
}[];
|
|
2921
|
+
} | null | undefined;
|
|
2922
|
+
} | null | undefined;
|
|
2867
2923
|
channel?: string | null | undefined;
|
|
2868
2924
|
machineId?: string | null | undefined;
|
|
2869
2925
|
catalogId?: string | null | undefined;
|
|
@@ -2965,31 +3021,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
2965
3021
|
}[];
|
|
2966
3022
|
term: string;
|
|
2967
3023
|
} | null | undefined;
|
|
2968
|
-
pickup?: {
|
|
2969
|
-
catalogId?: string | null | undefined;
|
|
2970
|
-
autoAccept?: boolean | null | undefined;
|
|
2971
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2972
|
-
offlinePaymentTypes?: {
|
|
2973
|
-
name: string;
|
|
2974
|
-
instruction: string;
|
|
2975
|
-
}[] | null | undefined;
|
|
2976
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
2977
|
-
ignoreStock?: boolean | null | undefined;
|
|
2978
|
-
pickupTime?: {
|
|
2979
|
-
day: {
|
|
2980
|
-
max: number;
|
|
2981
|
-
min: number;
|
|
2982
|
-
};
|
|
2983
|
-
} | null | undefined;
|
|
2984
|
-
pickupPointConfig?: {
|
|
2985
|
-
restaurantEnable: boolean;
|
|
2986
|
-
points: {
|
|
2987
|
-
name: string;
|
|
2988
|
-
address: string;
|
|
2989
|
-
coordinates: number[];
|
|
2990
|
-
}[];
|
|
2991
|
-
} | null | undefined;
|
|
2992
|
-
} | null | undefined;
|
|
2993
3024
|
dineIn?: {
|
|
2994
3025
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
2995
3026
|
offlinePaymentTypes?: {
|
|
@@ -3008,9 +3039,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3008
3039
|
expiredAt?: string | null | undefined;
|
|
3009
3040
|
agentId?: string | null | undefined;
|
|
3010
3041
|
attributeSettings?: {
|
|
3042
|
+
options?: any[] | null | undefined;
|
|
3011
3043
|
type: "string" | "number" | "boolean" | "date";
|
|
3012
3044
|
key: string;
|
|
3013
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3045
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3014
3046
|
}[] | null | undefined;
|
|
3015
3047
|
pf_agent?: {
|
|
3016
3048
|
clickupId?: string | null | undefined;
|
|
@@ -3242,6 +3274,31 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3242
3274
|
regNo: string;
|
|
3243
3275
|
};
|
|
3244
3276
|
}, {
|
|
3277
|
+
pickup?: {
|
|
3278
|
+
catalogId?: string | null | undefined;
|
|
3279
|
+
autoAccept?: boolean | null | undefined;
|
|
3280
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3281
|
+
offlinePaymentTypes?: {
|
|
3282
|
+
name: string;
|
|
3283
|
+
instruction: string;
|
|
3284
|
+
}[] | null | undefined;
|
|
3285
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
3286
|
+
ignoreStock?: boolean | null | undefined;
|
|
3287
|
+
pickupTime?: {
|
|
3288
|
+
day: {
|
|
3289
|
+
max: number;
|
|
3290
|
+
min: number;
|
|
3291
|
+
};
|
|
3292
|
+
} | null | undefined;
|
|
3293
|
+
pickupPointConfig?: {
|
|
3294
|
+
restaurantEnable: boolean;
|
|
3295
|
+
points: {
|
|
3296
|
+
name: string;
|
|
3297
|
+
address: string;
|
|
3298
|
+
coordinates: number[];
|
|
3299
|
+
}[];
|
|
3300
|
+
} | null | undefined;
|
|
3301
|
+
} | null | undefined;
|
|
3245
3302
|
channel?: string | null | undefined;
|
|
3246
3303
|
machineId?: string | null | undefined;
|
|
3247
3304
|
catalogId?: string | null | undefined;
|
|
@@ -3343,31 +3400,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3343
3400
|
}[];
|
|
3344
3401
|
term: string;
|
|
3345
3402
|
} | null | undefined;
|
|
3346
|
-
pickup?: {
|
|
3347
|
-
catalogId?: string | null | undefined;
|
|
3348
|
-
autoAccept?: boolean | null | undefined;
|
|
3349
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3350
|
-
offlinePaymentTypes?: {
|
|
3351
|
-
name: string;
|
|
3352
|
-
instruction: string;
|
|
3353
|
-
}[] | null | undefined;
|
|
3354
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
3355
|
-
ignoreStock?: boolean | null | undefined;
|
|
3356
|
-
pickupTime?: {
|
|
3357
|
-
day: {
|
|
3358
|
-
max: number;
|
|
3359
|
-
min: number;
|
|
3360
|
-
};
|
|
3361
|
-
} | null | undefined;
|
|
3362
|
-
pickupPointConfig?: {
|
|
3363
|
-
restaurantEnable: boolean;
|
|
3364
|
-
points: {
|
|
3365
|
-
name: string;
|
|
3366
|
-
address: string;
|
|
3367
|
-
coordinates: number[];
|
|
3368
|
-
}[];
|
|
3369
|
-
} | null | undefined;
|
|
3370
|
-
} | null | undefined;
|
|
3371
3403
|
dineIn?: {
|
|
3372
3404
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3373
3405
|
offlinePaymentTypes?: {
|
|
@@ -3386,9 +3418,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3386
3418
|
expiredAt?: string | null | undefined;
|
|
3387
3419
|
agentId?: string | null | undefined;
|
|
3388
3420
|
attributeSettings?: {
|
|
3421
|
+
options?: any[] | null | undefined;
|
|
3389
3422
|
type: "string" | "number" | "boolean" | "date";
|
|
3390
3423
|
key: string;
|
|
3391
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3424
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3392
3425
|
}[] | null | undefined;
|
|
3393
3426
|
pf_agent?: {
|
|
3394
3427
|
clickupId?: string | null | undefined;
|
|
@@ -3622,6 +3655,31 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3622
3655
|
}>>>;
|
|
3623
3656
|
}>, "strip", z.ZodTypeAny, {
|
|
3624
3657
|
pf_restaurant?: {
|
|
3658
|
+
pickup?: {
|
|
3659
|
+
catalogId?: string | null | undefined;
|
|
3660
|
+
autoAccept?: boolean | null | undefined;
|
|
3661
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3662
|
+
offlinePaymentTypes?: {
|
|
3663
|
+
name: string;
|
|
3664
|
+
instruction: string;
|
|
3665
|
+
}[] | null | undefined;
|
|
3666
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
3667
|
+
ignoreStock?: boolean | null | undefined;
|
|
3668
|
+
pickupTime?: {
|
|
3669
|
+
day: {
|
|
3670
|
+
max: number;
|
|
3671
|
+
min: number;
|
|
3672
|
+
};
|
|
3673
|
+
} | null | undefined;
|
|
3674
|
+
pickupPointConfig?: {
|
|
3675
|
+
restaurantEnable: boolean;
|
|
3676
|
+
points: {
|
|
3677
|
+
name: string;
|
|
3678
|
+
address: string;
|
|
3679
|
+
coordinates: number[];
|
|
3680
|
+
}[];
|
|
3681
|
+
} | null | undefined;
|
|
3682
|
+
} | null | undefined;
|
|
3625
3683
|
channel?: string | null | undefined;
|
|
3626
3684
|
machineId?: string | null | undefined;
|
|
3627
3685
|
catalogId?: string | null | undefined;
|
|
@@ -3723,31 +3781,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3723
3781
|
}[];
|
|
3724
3782
|
term: string;
|
|
3725
3783
|
} | null | undefined;
|
|
3726
|
-
pickup?: {
|
|
3727
|
-
catalogId?: string | null | undefined;
|
|
3728
|
-
autoAccept?: boolean | null | undefined;
|
|
3729
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3730
|
-
offlinePaymentTypes?: {
|
|
3731
|
-
name: string;
|
|
3732
|
-
instruction: string;
|
|
3733
|
-
}[] | null | undefined;
|
|
3734
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
3735
|
-
ignoreStock?: boolean | null | undefined;
|
|
3736
|
-
pickupTime?: {
|
|
3737
|
-
day: {
|
|
3738
|
-
max: number;
|
|
3739
|
-
min: number;
|
|
3740
|
-
};
|
|
3741
|
-
} | null | undefined;
|
|
3742
|
-
pickupPointConfig?: {
|
|
3743
|
-
restaurantEnable: boolean;
|
|
3744
|
-
points: {
|
|
3745
|
-
name: string;
|
|
3746
|
-
address: string;
|
|
3747
|
-
coordinates: number[];
|
|
3748
|
-
}[];
|
|
3749
|
-
} | null | undefined;
|
|
3750
|
-
} | null | undefined;
|
|
3751
3784
|
dineIn?: {
|
|
3752
3785
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
3753
3786
|
offlinePaymentTypes?: {
|
|
@@ -3766,9 +3799,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
3766
3799
|
expiredAt?: string | null | undefined;
|
|
3767
3800
|
agentId?: string | null | undefined;
|
|
3768
3801
|
attributeSettings?: {
|
|
3802
|
+
options?: any[] | null | undefined;
|
|
3769
3803
|
type: "string" | "number" | "boolean" | "date";
|
|
3770
3804
|
key: string;
|
|
3771
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3805
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
3772
3806
|
}[] | null | undefined;
|
|
3773
3807
|
pf_agent?: {
|
|
3774
3808
|
clickupId?: string | null | undefined;
|
|
@@ -4121,6 +4155,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4121
4155
|
};
|
|
4122
4156
|
vouchers: string[];
|
|
4123
4157
|
discounts: {
|
|
4158
|
+
sponsorships?: {
|
|
4159
|
+
amount: string;
|
|
4160
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
4161
|
+
}[] | null | undefined;
|
|
4124
4162
|
name: string;
|
|
4125
4163
|
type: string;
|
|
4126
4164
|
amount: string;
|
|
@@ -4155,6 +4193,31 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4155
4193
|
remoteId: string;
|
|
4156
4194
|
}, {
|
|
4157
4195
|
pf_restaurant?: {
|
|
4196
|
+
pickup?: {
|
|
4197
|
+
catalogId?: string | null | undefined;
|
|
4198
|
+
autoAccept?: boolean | null | undefined;
|
|
4199
|
+
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4200
|
+
offlinePaymentTypes?: {
|
|
4201
|
+
name: string;
|
|
4202
|
+
instruction: string;
|
|
4203
|
+
}[] | null | undefined;
|
|
4204
|
+
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4205
|
+
ignoreStock?: boolean | null | undefined;
|
|
4206
|
+
pickupTime?: {
|
|
4207
|
+
day: {
|
|
4208
|
+
max: number;
|
|
4209
|
+
min: number;
|
|
4210
|
+
};
|
|
4211
|
+
} | null | undefined;
|
|
4212
|
+
pickupPointConfig?: {
|
|
4213
|
+
restaurantEnable: boolean;
|
|
4214
|
+
points: {
|
|
4215
|
+
name: string;
|
|
4216
|
+
address: string;
|
|
4217
|
+
coordinates: number[];
|
|
4218
|
+
}[];
|
|
4219
|
+
} | null | undefined;
|
|
4220
|
+
} | null | undefined;
|
|
4158
4221
|
channel?: string | null | undefined;
|
|
4159
4222
|
machineId?: string | null | undefined;
|
|
4160
4223
|
catalogId?: string | null | undefined;
|
|
@@ -4256,31 +4319,6 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4256
4319
|
}[];
|
|
4257
4320
|
term: string;
|
|
4258
4321
|
} | null | undefined;
|
|
4259
|
-
pickup?: {
|
|
4260
|
-
catalogId?: string | null | undefined;
|
|
4261
|
-
autoAccept?: boolean | null | undefined;
|
|
4262
|
-
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4263
|
-
offlinePaymentTypes?: {
|
|
4264
|
-
name: string;
|
|
4265
|
-
instruction: string;
|
|
4266
|
-
}[] | null | undefined;
|
|
4267
|
-
autoAcceptPaidOnly?: boolean | null | undefined;
|
|
4268
|
-
ignoreStock?: boolean | null | undefined;
|
|
4269
|
-
pickupTime?: {
|
|
4270
|
-
day: {
|
|
4271
|
-
max: number;
|
|
4272
|
-
min: number;
|
|
4273
|
-
};
|
|
4274
|
-
} | null | undefined;
|
|
4275
|
-
pickupPointConfig?: {
|
|
4276
|
-
restaurantEnable: boolean;
|
|
4277
|
-
points: {
|
|
4278
|
-
name: string;
|
|
4279
|
-
address: string;
|
|
4280
|
-
coordinates: number[];
|
|
4281
|
-
}[];
|
|
4282
|
-
} | null | undefined;
|
|
4283
|
-
} | null | undefined;
|
|
4284
4322
|
dineIn?: {
|
|
4285
4323
|
paymentTypes?: ("cash" | "ePayment" | "credit" | "ePaymentSandbox")[] | null | undefined;
|
|
4286
4324
|
offlinePaymentTypes?: {
|
|
@@ -4299,9 +4337,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4299
4337
|
expiredAt?: string | null | undefined;
|
|
4300
4338
|
agentId?: string | null | undefined;
|
|
4301
4339
|
attributeSettings?: {
|
|
4340
|
+
options?: any[] | null | undefined;
|
|
4302
4341
|
type: "string" | "number" | "boolean" | "date";
|
|
4303
4342
|
key: string;
|
|
4304
|
-
entity: "restaurant" | "item" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4343
|
+
entity: "restaurant" | "item" | "group" | "inventorySku" | "inventoryRecipe" | "warehouse";
|
|
4305
4344
|
}[] | null | undefined;
|
|
4306
4345
|
pf_agent?: {
|
|
4307
4346
|
clickupId?: string | null | undefined;
|
|
@@ -4654,6 +4693,10 @@ export declare const FdoFoodpandaOrderOutput: z.ZodObject<z.extendShape<{
|
|
|
4654
4693
|
};
|
|
4655
4694
|
vouchers: string[];
|
|
4656
4695
|
discounts: {
|
|
4696
|
+
sponsorships?: {
|
|
4697
|
+
amount: string;
|
|
4698
|
+
sponsor: "PLATFORM" | "VENDOR" | "THIRD_PARTY";
|
|
4699
|
+
}[] | null | undefined;
|
|
4657
4700
|
name: string;
|
|
4658
4701
|
type: string;
|
|
4659
4702
|
amount: string;
|
|
@@ -88,6 +88,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
88
88
|
commissionRate: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
89
89
|
autoCloseBill: z.ZodBoolean;
|
|
90
90
|
showProductAddon: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
91
|
+
printReceiptAfterClose: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
91
92
|
autoAccept: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
92
93
|
reportConfig: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
93
94
|
commissionRate: z.ZodNumber;
|
|
@@ -151,6 +152,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
151
152
|
_id?: string | undefined;
|
|
152
153
|
catalogId?: string | null | undefined;
|
|
153
154
|
autoAccept?: boolean | null | undefined;
|
|
155
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
154
156
|
commissionRate?: number | null | undefined;
|
|
155
157
|
lastSynchronize?: string | null | undefined;
|
|
156
158
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -178,6 +180,7 @@ export declare const FdoFoodpandaSettings: z.ZodObject<z.extendShape<{
|
|
|
178
180
|
_id?: string | undefined;
|
|
179
181
|
catalogId?: string | null | undefined;
|
|
180
182
|
autoAccept?: boolean | null | undefined;
|
|
183
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
181
184
|
commissionRate?: number | null | undefined;
|
|
182
185
|
lastSynchronize?: string | null | undefined;
|
|
183
186
|
showProductAddon?: boolean | null | undefined;
|
|
@@ -4,6 +4,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
4
4
|
catalogId: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
5
5
|
enable: z.ZodOptional<z.ZodBoolean>;
|
|
6
6
|
autoCloseBill: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
+
printReceiptAfterClose: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodBoolean>>>;
|
|
7
8
|
commissionRate: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
|
|
8
9
|
remoteId: z.ZodOptional<z.ZodString>;
|
|
9
10
|
lastSynchronize: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
|
|
@@ -71,6 +72,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
71
72
|
catalogId?: string | null | undefined;
|
|
72
73
|
enable?: boolean | undefined;
|
|
73
74
|
autoCloseBill?: boolean | undefined;
|
|
75
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
74
76
|
commissionRate?: number | null | undefined;
|
|
75
77
|
remoteId?: string | undefined;
|
|
76
78
|
lastSynchronize?: string | null | undefined;
|
|
@@ -97,6 +99,7 @@ export declare const FPdtoCreateOrUpdateSetting: z.ZodObject<{
|
|
|
97
99
|
catalogId?: string | null | undefined;
|
|
98
100
|
enable?: boolean | undefined;
|
|
99
101
|
autoCloseBill?: boolean | undefined;
|
|
102
|
+
printReceiptAfterClose?: boolean | null | undefined;
|
|
100
103
|
commissionRate?: number | null | undefined;
|
|
101
104
|
remoteId?: string | undefined;
|
|
102
105
|
lastSynchronize?: string | null | undefined;
|
|
@@ -16,6 +16,7 @@ export declare const FP_GET_ORDER_LIST_STATUS: z.ZodEnum<["cancelled", "accepted
|
|
|
16
16
|
export declare const FP_CATALOG_V2_TYPE: z.ZodEnum<["ScheduleEntry", "Menu", "Product", "Category", "Topping", "Image"]>;
|
|
17
17
|
export declare const FP_MENU_TYPE_V2: z.ZodEnum<["DELIVERY", "DINE_IN", "PICK_UP"]>;
|
|
18
18
|
export declare const FP_WEEKDAYS: z.ZodEnum<["MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", "SUNDAY"]>;
|
|
19
|
+
export declare const FP_SPONSOR: z.ZodEnum<["PLATFORM", "VENDOR", "THIRD_PARTY"]>;
|
|
19
20
|
export type FP_ORDER_TYPE = z.infer<typeof FP_ORDER_TYPE>;
|
|
20
21
|
export type FP_EXPEDITION_TYPE = z.infer<typeof FP_EXPEDITION_TYPE>;
|
|
21
22
|
export type FP_VENDOR_AVAILABILITY_STATE = z.infer<typeof FP_VENDOR_AVAILABILITY_STATE>;
|
|
@@ -29,3 +30,4 @@ export type FP_GET_ORDER_LIST_STATUS = z.infer<typeof FP_GET_ORDER_LIST_STATUS>;
|
|
|
29
30
|
export type FP_CATALOG_V2_TYPE = z.infer<typeof FP_CATALOG_V2_TYPE>;
|
|
30
31
|
export type FP_MENU_TYPE_V2 = z.infer<typeof FP_MENU_TYPE_V2>;
|
|
31
32
|
export type FP_WEEKDAYS = z.infer<typeof FP_WEEKDAYS>;
|
|
33
|
+
export type FP_SPONSOR = z.infer<typeof FP_SPONSOR>;
|