@feedmepos/mf-order-setting 0.0.27 → 0.0.28
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-BgXkmJ7v.js} +1 -1
- package/dist/{KioskDevicesView.vue_vue_type_script_setup_true_lang-Cx8VMyNB.js → KioskDevicesView.vue_vue_type_script_setup_true_lang-DZT0BuUN.js} +2 -2
- package/dist/{KioskSettingView-equ5EIvU.js → KioskSettingView-DyX3Wv_2.js} +1 -1
- package/dist/{KioskView-CsE7BGtA.js → KioskView-Bgff7QPc.js} +4 -4
- package/dist/OrderSettingsView-C63s4uCD.js +74334 -0
- package/dist/{app-D-zQN9_E.js → app-Dp79Gu_F.js} +97 -25
- package/dist/app.js +1 -1
- package/dist/{dayjs.min-CWQSmujV.js → dayjs.min-B2ZkfNUH.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/app.d.ts +72 -0
- package/dist/frontend/mf-order/src/main.d.ts +72 -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 +138 -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-DzQn92Tp.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 +728 -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-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 +112 -2
- 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/queue.do-BUtcyDk3.js +125578 -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/locales/en-US.json +24 -1
- package/src/locales/th-TH.json +24 -1
- package/src/locales/zh-CN.json +27 -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/discount-rule/DiscountRuleSetting.vue +434 -0
- package/dist/OrderSettingsView-BpLXyk_0.js +0 -49013
- package/dist/queue.do-F110q0_J.js +0 -100389
|
@@ -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>;
|